Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove some useless comments at top of files #410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions contrib/pg_tde/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# contrib/pg_tde/Makefile

PGFILEDESC = "pg_tde access method"
MODULE_big = pg_tde
EXTENSION = pg_tde
Expand Down
2 changes: 0 additions & 2 deletions contrib/pg_tde/pg_tde--1.0-rc.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* contrib/pg_tde/pg_tde--1.0-rc.sql */

-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "CREATE EXTENSION pg_tde" to load this file. \quit

Expand Down
1 change: 0 additions & 1 deletion contrib/pg_tde/pg_tde.control
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# pg_tde extension
comment = 'pg_tde access method'
default_version = '1.0-rc'
module_pathname = '$libdir/pg_tde'
Expand Down
12 changes: 2 additions & 10 deletions contrib/pg_tde/src/access/pg_tde_xlog.c
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
/*-------------------------------------------------------------------------
*
* tdeheap_xlog.c
* TDE XLog resource manager
*
*
* IDENTIFICATION
* src/access/pg_tde_xlog.c
*
*-------------------------------------------------------------------------
/*
* TDE XLog resource manager
*/

#include "postgres.h"
Expand Down
12 changes: 2 additions & 10 deletions contrib/pg_tde/src/access/pg_tde_xlog_smgr.c
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
/*-------------------------------------------------------------------------
*
* pg_tde_xlog_smgr.c
* Encrypted XLog storage manager
*
*
* IDENTIFICATION
* src/access/pg_tde_xlog_smgr.c
*
*-------------------------------------------------------------------------
/*
* Encrypted XLog storage manager
*/

#include "postgres.h"
Expand Down
12 changes: 2 additions & 10 deletions contrib/pg_tde/src/catalog/tde_keyring.c
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
/*-------------------------------------------------------------------------
*
* tde_keyring.c
* Deals with the tde keyring configuration
* routines.
*
* IDENTIFICATION
* contrib/pg_tde/src/catalog/tde_keyring.c
*
*-------------------------------------------------------------------------
/*
* Deals with the tde keyring configuration routines.
*/

#include "postgres.h"
Expand Down
11 changes: 2 additions & 9 deletions contrib/pg_tde/src/catalog/tde_keyring_parse_opts.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
/*-------------------------------------------------------------------------
*
* tde_keyring_parse_opts.c
* Parser routines for the keyring JSON options
/*
* Parser routines for the keyring JSON options
*
* We expect one-dimentional JSON object with scalar fields
*
* IDENTIFICATION
* contrib/pg_tde/src/catalog/tde_keyring_parse_opts.c
*
*-------------------------------------------------------------------------
*/

#include "postgres.h"
Expand Down
12 changes: 2 additions & 10 deletions contrib/pg_tde/src/catalog/tde_principal_key.c
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
/*-------------------------------------------------------------------------
*
* tde_principal_key.c
* Deals with the tde principal key configuration catalog
* routines.
*
* IDENTIFICATION
* contrib/pg_tde/src/catalog/tde_principal_key.c
*
*-------------------------------------------------------------------------
/*
* Deals with the tde principal key configuration catalog routines.
*/

#include "postgres.h"
Expand Down
11 changes: 0 additions & 11 deletions contrib/pg_tde/src/common/pg_tde_utils.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
/*-------------------------------------------------------------------------
*
* pg_tde_utils.c
* Utility functions.
*
* IDENTIFICATION
* contrib/pg_tde/src/pg_tde_utils.c
*
*-------------------------------------------------------------------------
*/

#include "postgres.h"

#include "common/pg_tde_utils.h"
Expand Down
8 changes: 2 additions & 6 deletions contrib/pg_tde/src/include/access/pg_tde_fe_init.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/*-------------------------------------------------------------------------
*
* pg_tde_fe.h
* Frontened definitions for encrypted XLog storage manager
*
*-------------------------------------------------------------------------
/*
* Frontened definitions for encrypted XLog storage manager
*/

#ifndef PG_TDE_FE_INIT_H
Expand Down
7 changes: 0 additions & 7 deletions contrib/pg_tde/src/include/access/pg_tde_tdemap.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*-------------------------------------------------------------------------
*
* pg_tde_tdemap.h
* TDE relation fork manapulation.
*
*-------------------------------------------------------------------------
*/
#ifndef PG_TDE_MAP_H
#define PG_TDE_MAP_H

Expand Down
8 changes: 2 additions & 6 deletions contrib/pg_tde/src/include/access/pg_tde_xlog.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/*-------------------------------------------------------------------------
*
* tdeheap_xlog.h
* TDE XLog resource manager
*
*-------------------------------------------------------------------------
/*
* TDE XLog resource manager
*/

#ifndef PG_TDE_XLOG_H
Expand Down
8 changes: 2 additions & 6 deletions contrib/pg_tde/src/include/access/pg_tde_xlog_smgr.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/*-------------------------------------------------------------------------
*
* pg_tde_xlog_smgr.h
* Encrypted XLog storage manager
*
*-------------------------------------------------------------------------
/*
* Encrypted XLog storage manager
*/

#ifndef PG_TDE_XLOGSMGR_H
Expand Down
10 changes: 2 additions & 8 deletions contrib/pg_tde/src/include/catalog/tde_global_space.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
/*-------------------------------------------------------------------------
*
* tde_global_space.h
* Global catalog key management
*
* src/include/catalog/tde_global_space.h
*
*-------------------------------------------------------------------------
/*
* Global catalog key management
*/

#ifndef TDE_GLOBAL_CATALOG_H
Expand Down
11 changes: 3 additions & 8 deletions contrib/pg_tde/src/include/catalog/tde_keyring.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*-------------------------------------------------------------------------
*
* tde_keyring.h
* TDE catalog handling
*
* src/include/catalog/tde_keyring.h
*
*-------------------------------------------------------------------------
/*
* TDE catalog handling
*/

#ifndef TDE_KEYRING_H
#define TDE_KEYRING_H

Expand Down
11 changes: 3 additions & 8 deletions contrib/pg_tde/src/include/catalog/tde_principal_key.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*-------------------------------------------------------------------------
*
* tde_principal_key.h
* TDE principal key handling
*
* src/include/catalog/tde_principal_key.h
*
*-------------------------------------------------------------------------
/*
* TDE principal key handling
*/

#ifndef PG_TDE_PRINCIPAL_KEY_H
#define PG_TDE_PRINCIPAL_KEY_H

Expand Down
7 changes: 0 additions & 7 deletions contrib/pg_tde/src/include/common/pg_tde_utils.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*-------------------------------------------------------------------------
*
* pg_tde_utils.h
* src/include/common/pg_tde_utils.h
*
*-------------------------------------------------------------------------
*/
#ifndef PG_TDE_UTILS_H
#define PG_TDE_UTILS_H

Expand Down
11 changes: 3 additions & 8 deletions contrib/pg_tde/src/include/encryption/enc_aes.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*-------------------------------------------------------------------------
*
* end_aes.h
* AES Encryption / Decryption routines using OpenSSL
*
* src/include/encryption/enc_aes.h
*
*-------------------------------------------------------------------------
/*
* AES Encryption / Decryption routines using OpenSSL
*/

#ifndef ENC_AES_H
#define ENC_AES_H

Expand Down
11 changes: 3 additions & 8 deletions contrib/pg_tde/src/include/encryption/enc_tde.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*-------------------------------------------------------------------------
*
* enc_tde.h
* Encryption / Decryption of functions for TDE
*
* src/include/encryption/enc_tde.h
*
*-------------------------------------------------------------------------
/*
* Encryption / Decryption of functions for TDE
*/

#ifndef ENC_TDE_H
#define ENC_TDE_H

Expand Down
8 changes: 0 additions & 8 deletions contrib/pg_tde/src/include/keyring/keyring_api.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/*-------------------------------------------------------------------------
*
* keyring_api.h
* src/include/keyring/keyring_api.h
*
*-------------------------------------------------------------------------
*/

#ifndef KEYRING_API_H
#define KEYRING_API_H

Expand Down
11 changes: 2 additions & 9 deletions contrib/pg_tde/src/include/keyring/keyring_curl.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
/*-------------------------------------------------------------------------
*
* keyring_curl.h
* Contains common curl related methods.
*
* IDENTIFICATION
* src/include/keyring/keyring_curl.h
*
*-------------------------------------------------------------------------
/*
* Contains common curl related methods.
*/

#ifndef KEYRING_CURL_H
Expand Down
10 changes: 2 additions & 8 deletions contrib/pg_tde/src/include/keyring/keyring_file.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
/*-------------------------------------------------------------------------
*
* keyring_file.h
* File vault implementation
*
* src/include/keyring/keyring_file.h
*
*-------------------------------------------------------------------------
/*
* File vault implementation
*/

#ifndef KEYRING_FILE_H
Expand Down
11 changes: 2 additions & 9 deletions contrib/pg_tde/src/include/keyring/keyring_kmip.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
/*-------------------------------------------------------------------------
*
* keyring_kmip.h
* KMIP based keyring provider
*
* IDENTIFICATION
* src/include/keyring/keyring_kmip.h
*
*-------------------------------------------------------------------------
/*
* KMIP based keyring provider
*/

#ifndef KEYRING_KMIP_H
Expand Down
11 changes: 2 additions & 9 deletions contrib/pg_tde/src/include/keyring/keyring_kmip_impl.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
/*-------------------------------------------------------------------------
*
* keyring_kmip_impl.h
* Intenrals for the KMIP based keyring provider
*
* IDENTIFICATION
* src/include/keyring/keyring_kmip_impl.h
*
*-------------------------------------------------------------------------
/*
* Internals for the KMIP based keyring provider
*/

#ifndef KEYRING_KMIP_IMPL_H
Expand Down
11 changes: 2 additions & 9 deletions contrib/pg_tde/src/include/keyring/keyring_vault.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
/*-------------------------------------------------------------------------
*
* keyring_vault.h
* HashiCorp Vault 2 based keyring provider
*
* IDENTIFICATION
* src/include/keyring/keyring_vault.h
*
*-------------------------------------------------------------------------
/*
* HashiCorp Vault 2 based keyring provider
*/

#ifndef KEYRING_VAULT_H
Expand Down
7 changes: 0 additions & 7 deletions contrib/pg_tde/src/include/pg_tde.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*-------------------------------------------------------------------------
*
* pg_tde.h
* src/include/pg_tde.h
*
*-------------------------------------------------------------------------
*/
#ifndef PG_TDE_H
#define PG_TDE_H

Expand Down
11 changes: 3 additions & 8 deletions contrib/pg_tde/src/include/pg_tde_defines.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*-------------------------------------------------------------------------
*
* pg_tde_defines.h
* Debug definitions for pg_tde
*
* src/include/pg_tde_defines.h
*
*-------------------------------------------------------------------------
/*
* Debug definitions for pg_tde
*/

#ifndef PG_TDE_DEFINES_H
#define PG_TDE_DEFINES_H

Expand Down
6 changes: 0 additions & 6 deletions contrib/pg_tde/src/include/pg_tde_event_capture.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/*-------------------------------------------------------------------------
*
* pg_tde_event_capture.h
*
*-------------------------------------------------------------------------
*/
#ifndef PG_TDE_EVENT_CAPTURE_H
#define PG_TDE_EVENT_CAPTURE_H

Expand Down
11 changes: 3 additions & 8 deletions contrib/pg_tde/src/include/pg_tde_fe.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/*-------------------------------------------------------------------------
*
* pg_tde_fe.h
* TDE redefinitions for frontend included code
*
* src/include/pg_tde_fe.h
*
*-------------------------------------------------------------------------
/*
* TDE redefinitions for frontend included code
*/

#ifndef PG_TDE_EREPORT_H
#define PG_TDE_EREPORT_H

Expand Down
Loading