8000 Remove some useless comments at top of files · percona/postgres@e8f99b6 · GitHub
[go: up one dir, main page]

Skip to content

Commit e8f99b6

Browse files
committed
Remove some useless comments at top of files
We're long past the years where someone is gonna read a print-out of these files and thus need a reminder of what the file name is. And even if someone wanted to do that it's easy to have your printer program automatically add the file name to the header or footer of each page now-a-days.
1 parent 8084e6a commit e8f99b6

40 files changed

+67
-316
lines changed

contrib/pg_tde/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# contrib/pg_tde/Makefile
2-
31
PGFILEDESC = "pg_tde access method"
42
MODULE_big = pg_tde
53
EXTENSION = pg_tde

contrib/pg_tde/pg_tde--1.0-rc.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* contrib/pg_tde/pg_tde--1.0-rc.sql */
2-
31
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
42
\echo Use "CREATE EXTENSION pg_tde" to load this file. \quit
53

contrib/pg_tde/pg_tde.control

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# pg_tde extension
21
comment = 'pg_tde access method'
32
default_version = '1.0-rc'
43
module_pathname = '$libdir/pg_tde'

contrib/pg_tde/src/access/pg_tde_xlog.c

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* tdeheap_xlog.c
4-
* TDE XLog resource manager
5-
*
6-
*
7-
* IDENTIFICATION
8-
* src/access/pg_tde_xlog.c
9-
*
10-
*-------------------------------------------------------------------------
1+
/*
2+
* TDE XLog resource manager
113
*/
124

135
#include "postgres.h"

contrib/pg_tde/src/access/pg_tde_xlog_smgr.c

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* pg_tde_xlog_smgr.c
4-
* Encrypted XLog storage manager
5-
*
6-
*
7-
* IDENTIFICATION
8-
* src/access/pg_tde_xlog_smgr.c
9-
*
10-
*-------------------------------------------------------------------------
1+
/*
2+
* Encrypted XLog storage manager
113
*/
124

135
#include "postgres.h"

contrib/pg_tde/src/catalog/tde_keyring.c

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* tde_keyring.c
4-
* Deals with the tde keyring configuration
5-
* routines.
6-
*
7-
* IDENTIFICATION
8-
* contrib/pg_tde/src/catalog/tde_keyring.c
9-
*
10-
*-------------------------------------------------------------------------
1+
/*
2+
* Deals with the tde keyring configuration routines.
113
*/
4+
125
#include "postgres.h"
136
#include "access/xlog.h"
147
#include "access/xloginsert.h"

contrib/pg_tde/src/catalog/tde_keyring_parse_opts.c

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* tde_keyring_parse_opts.c
4-
* Parser routines for the keyring JSON options
1+
/*
2+
* Parser routines for the keyring JSON options
53
*
64
* We expect one-dimentional JSON object with scalar fields
7-
*
8-
* IDENTIFICATION
9-
* contrib/pg_tde/src/catalog/tde_keyring_parse_opts.c
10-
*
11-
*-------------------------------------------------------------------------
125
*/
136

147
#include "postgres.h"

contrib/pg_tde/src/catalog/tde_principal_key.c

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* tde_principal_key.c
4-
* Deals with the tde principal key configuration catalog
5-
* routines.
6-
*
7-
* IDENTIFICATION
8-
* contrib/pg_tde/src/catalog/tde_principal_key.c
9-
*
10-
*-------------------------------------------------------------------------
1+
/*
2+
* Deals with the tde principal key configuration catalog routines.
113
*/
4+
125
#include "postgres.h"
136
#include "access/xlog.h"
147
#include "access/xloginsert.h"

contrib/pg_tde/src/common/pg_tde_shmem.c

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* pg_tde_shmem.c
4-
* Shared memory area to manage cache and locks.
5-
*
6-
* IDENTIFICATION
7-
* contrib/pg_tde/src/pg_tde_shmem.c
8-
*
9-
*-------------------------------------------------------------------------
1+
/*
2+
* Shared memory area to manage cache and locks.
103
*/
114

125
#include "postgres.h"

contrib/pg_tde/src/common/pg_tde_utils.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* pg_tde_utils.c
4-
* Utility functions.
5-
*
6-
* IDENTIFICATION
7-
* contrib/pg_tde/src/pg_tde_utils.c
8-
*
9-
*-------------------------------------------------------------------------
10-
*/
11-
121
#include "postgres.h"
132

143
#include "common/pg_tde_utils.h"

contrib/pg_tde/src/include/access/pg_tde_fe_init.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* pg_tde_fe.h
4-
* Frontened definitions for encrypted XLog storage manager
5-
*
6-
*-------------------------------------------------------------------------
1+
/*
2+
* Frontened definitions for encrypted XLog storage manager
73
*/
84

95
#ifndef PG_TDE_FE_INIT_H

contrib/pg_tde/src/include/access/pg_tde_tdemap.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* pg_tde_tdemap.h
4-
* TDE relation fork manapulation.
5-
*
6-
*-------------------------------------------------------------------------
7-
*/
81
#ifndef PG_TDE_MAP_H
92
#define PG_TDE_MAP_H
103

contrib/pg_tde/src/include/access/pg_tde_xlog.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* tdeheap_xlog.h
4-
* TDE XLog resource manager
5-
*
6-
*-------------------------------------------------------------------------
1+
/*
2+
* TDE XLog resource manager
73
*/
84

95
#ifndef PG_TDE_XLOG_H

contrib/pg_tde/src/include/access/pg_tde_xlog_smgr.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* pg_tde_xlog_smgr.h
4-
* Encrypted XLog storage manager
5-
*
6-
*-------------------------------------------------------------------------
1+
/*
2+
* Encrypted XLog storage manager
73
*/
84

95
#ifndef PG_TDE_XLOGSMGR_H

contrib/pg_tde/src/include/catalog/tde_global_space.h

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* tde_global_space.h
4-
* Global catalog key management
5-
*
6-
* src/include/catalog/tde_global_space.h
7-
*
8-
*-------------------------------------------------------------------------
1+
/*
2+
* Global catalog key management
93
*/
104

115
#ifndef TDE_GLOBAL_CATALOG_H

contrib/pg_tde/src/include/catalog/tde_keyring.h

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* tde_keyring.h
4-
* TDE catalog handling
5-
*
6-
* src/include/catalog/tde_keyring.h
7-
*
8-
*-------------------------------------------------------------------------
1+
/*
2+
* TDE catalog handling
93
*/
4+
105
#ifndef TDE_KEYRING_H
116
#define TDE_KEYRING_H
127

contrib/pg_tde/src/include/catalog/tde_principal_key.h

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* tde_principal_key.h
4-
* TDE principal key handling
5-
*
6-
* src/include/catalog/tde_principal_key.h
7-
*
8-
*-------------------------------------------------------------------------
1+
/*
2+
* TDE principal key handling
93
*/
4+
105
#ifndef PG_TDE_PRINCIPAL_KEY_H
116
#define PG_TDE_PRINCIPAL_KEY_H
127

contrib/pg_tde/src/include/common/pg_tde_shmem.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* pg_tde_shmem.h
4-
* src/include/common/pg_tde_shmem.h
5-
*
6-
*-------------------------------------------------------------------------
7-
*/
81
#ifndef PG_TDE_SHMEM_H
92
#define PG_TDE_SHMEM_H
103

contrib/pg_tde/src/include/common/pg_tde_utils.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* pg_tde_utils.h
4-
* src/include/common/pg_tde_utils.h
5-
*
6-
*-------------------------------------------------------------------------
7-
*/
81
#ifndef PG_TDE_UTILS_H
92
#define PG_TDE_UTILS_H
103

contrib/pg_tde/src/include/encryption/enc_aes.h

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* end_aes.h
4-
* AES Encryption / Decryption routines using OpenSSL
5-
*
6-
* src/include/encryption/enc_aes.h
7-
*
8-
*-------------------------------------------------------------------------
1+
/*
2+
* AES Encryption / Decryption routines using OpenSSL
93
*/
4+
105
#ifndef ENC_AES_H
116
#define ENC_AES_H
127

contrib/pg_tde/src/include/encryption/enc_tde.h

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* enc_tde.h
4-
* Encryption / Decryption of functions for TDE
5-
*
6-
* src/include/encryption/enc_tde.h
7-
*
8-
*-------------------------------------------------------------------------
1+
/*
2+
* Encryption / Decryption of functions for TDE
93
*/
4+
105
#ifndef ENC_TDE_H
116
#define ENC_TDE_H
127

contrib/pg_tde/src/include/keyring/keyring_api.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* keyring_api.h
4-
* src/include/keyring/keyring_api.h
5-
*
6-
*-------------------------------------------------------------------------
7-
*/
8-
91
#ifndef KEYRING_API_H
102
#define KEYRING_API_H
113

contrib/pg_tde/src/include/keyring/keyring_curl.h

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* keyring_curl.h
4-
* Contains common curl related methods.
5-
*
6-
* IDENTIFICATION
7-
* src/include/keyring/keyring_curl.h
8-
*
9-
*-------------------------------------------------------------------------
1+
/*
2+
* Contains common curl related methods.
103
*/
114

125
#ifndef KEYRING_CURL_H

contrib/pg_tde/src/include/keyring/keyring_file.h

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* keyring_file.h
4-
* File vault implementation
5-
*
6-
* src/include/keyring/keyring_file.h
7-
*
8-
*-------------------------------------------------------------------------
1+
/*
2+
* File vault implementation
93
*/
104

115
#ifndef KEYRING_FILE_H

contrib/pg_tde/src/include/keyring/keyring_kmip.h

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* keyring_kmip.h
4-
* KMIP based keyring provider
5-
*
6-
* IDENTIFICATION
7-
* src/include/keyring/keyring_kmip.h
8-
*
9-
*-------------------------------------------------------------------------
1+
/*
2+
* KMIP based keyring provider
103
*/
114

125
#ifndef KEYRING_KMIP_H

contrib/pg_tde/src/include/keyring/keyring_kmip_impl.h

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* keyring_kmip_impl.h
4-
* Intenrals for the KMIP based keyring provider
5-
*
6-
* IDENTIFICATION
7-
* src/include/keyring/keyring_kmip_impl.h
8-
*
9-
*-------------------------------------------------------------------------
1+
/*
2+
* Internals for the KMIP based keyring provider
103
*/
114

125
#ifndef KEYRING_KMIP_IMPL_H

contrib/pg_tde/src/include/keyring/keyring_vault.h

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* keyring_vault.h
4-
* HashiCorp Vault 2 based keyring provider
5-
*
6-
* IDENTIFICATION
7-
* src/include/keyring/keyring_vault.h
8-
*
9-
*-------------------------------------------------------------------------
1+
/*
2+
* HashiCorp Vault 2 based keyring provider
103
*/
114

125
#ifndef KEYRING_VAULT_H

contrib/pg_tde/src/include/pg_tde.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* pg_tde.h
4-
* src/include/pg_tde.h
5-
*
6-
*-------------------------------------------------------------------------
7-
*/
81
#ifndef PG_TDE_H
92
#define PG_TDE_H
103

contrib/pg_tde/src/include/pg_tde_defines.h

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
/*-------------------------------------------------------------------------
2-
*
3-
* pg_tde_defines.h
4-
* Debug definitions for pg_tde
5-
*
6-
* src/include/pg_tde_defines.h
7-
*
8-
*-------------------------------------------------------------------------
1+
/*
2+
* Debug definitions for pg_tde
93
*/
4+
105
#ifndef PG_TDE_DEFINES_H
116
#define PG_TDE_DEFINES_H
127

0 commit comments

Comments
 (0)
0