mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-17 19:30:00 +08:00
Adjust blank lines around PG_MODULE_MAGIC defines, for consistency
Report by Robert Haas
This commit is contained in:
parent
5b214c5dd1
commit
6a605cd6bd
@ -17,7 +17,6 @@
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int maxlen;
|
||||
|
@ -10,7 +10,6 @@
|
||||
#define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
/* Earth's radius is in statute miles. */
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
#include "_int.h"
|
||||
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
PG_FUNCTION_INFO_V1(_int_different);
|
||||
|
@ -12,7 +12,6 @@
|
||||
#include "libpq/be-fsstubs.h"
|
||||
#include "utils/rel.h"
|
||||
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
#define atooid(x) ((Oid) strtoul((x), NULL, 10))
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include "fmgr.h"
|
||||
#include "libpq/md5.h"
|
||||
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
/* passwords shorter than this will be rejected */
|
||||
|
@ -19,7 +19,6 @@
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
|
||||
/*
|
||||
* Record structure holding the to be exposed cache data.
|
||||
*/
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include "funcapi.h"
|
||||
#include "storage/freespace.h"
|
||||
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
/*
|
||||
|
@ -76,7 +76,6 @@
|
||||
#include "utils/builtins.h"
|
||||
#include "utils/memutils.h"
|
||||
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
/* Location of permanent stats file (valid when database is shut down) */
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include "tsearch/ts_locale.h"
|
||||
#include "utils/memutils.h"
|
||||
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
float4 trgm_limit = 0.3f;
|
||||
|
@ -38,7 +38,6 @@
|
||||
#include "utils/snapmgr.h"
|
||||
#include "utils/tqual.h"
|
||||
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
PG_FUNCTION_INFO_V1(pgrowlocks);
|
||||
|
@ -36,7 +36,6 @@
|
||||
#include "utils/builtins.h"
|
||||
#include "utils/tqual.h"
|
||||
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
PG_FUNCTION_INFO_V1(pgstattuple);
|
||||
|
@ -37,7 +37,6 @@
|
||||
#include "utils/lsyscache.h"
|
||||
#include "utils/memutils.h"
|
||||
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
/* Default CPU cost to start up a foreign query. */
|
||||
|
@ -18,10 +18,8 @@
|
||||
#include <openssl/x509.h>
|
||||
#include <openssl/asn1.h>
|
||||
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
|
||||
static Datum X509_NAME_field_to_text(X509_NAME *name, text *fieldName);
|
||||
static Datum X509_NAME_to_text(X509_NAME *name);
|
||||
static Datum ASN1_STRING_to_text(ASN1_STRING *str);
|
||||
|
@ -23,10 +23,8 @@
|
||||
#include "utils/rel.h"
|
||||
#include "utils/syscache.h"
|
||||
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
|
||||
/*
|
||||
* Copy from s (for source) to r (for result), wrapping with q (quote)
|
||||
* characters and doubling any quote characters found.
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include "utils/syscache.h"
|
||||
#include "utils/typcache.h"
|
||||
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
/* These must be available to pg_dlsym() */
|
||||
|
@ -16,7 +16,6 @@
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
|
||||
/*
|
||||
* types
|
||||
*/
|
||||
|
@ -18,7 +18,9 @@
|
||||
|
||||
#include "test_shm_mq.h"
|
||||
|
||||
PG_MODULE_MAGIC; PG_FUNCTION_INFO_V1(test_shm_mq);
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
PG_FUNCTION_INFO_V1(test_shm_mq);
|
||||
PG_FUNCTION_INFO_V1(test_shm_mq_pipelined);
|
||||
|
||||
void _PG_init(void);
|
||||
|
@ -108,10 +108,8 @@ do { \
|
||||
|
||||
#endif /* !HAVE_UUID_OSSP */
|
||||
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
|
||||
PG_FUNCTION_INFO_V1(uuid_nil);
|
||||
PG_FUNCTION_INFO_V1(uuid_ns_dns);
|
||||
PG_FUNCTION_INFO_V1(uuid_ns_url);
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include <libxml/xmlerror.h>
|
||||
#include <libxml/parserInternals.h>
|
||||
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
/* exported for use by xslt_proc.c */
|
||||
|
@ -58,7 +58,6 @@
|
||||
#include "snowball/libstemmer/stem_UTF_8_swedish.h"
|
||||
#include "snowball/libstemmer/stem_UTF_8_turkish.h"
|
||||
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
PG_FUNCTION_INFO_V1(dsnowball_init);
|
||||
|
@ -60,7 +60,6 @@ EXTERN_C void boot_PostgreSQL__InServer__SPI(pTHX_ CV *cv);
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
* Information associated with a Perl interpreter. We have one interpreter
|
||||
* that is used for all plperlu (untrusted) functions. For plperl (trusted)
|
||||
|
@ -12,7 +12,6 @@
|
||||
#include "fmgr.h"
|
||||
#include "libpq/pqformat.h" /* needed for send/recv functions */
|
||||
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
typedef struct Complex
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
|
||||
/* These prototypes just prevent possible warnings from gcc. */
|
||||
|
||||
int add_one(int arg);
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include "executor/executor.h" /* for GetAttributeByName() */
|
||||
#include "utils/geo_decls.h" /* for point type */
|
||||
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
/* These prototypes just prevent possible warnings from gcc. */
|
||||
|
Loading…
Reference in New Issue
Block a user