index f9fe57fb84538df5ee9c6be9425b7b075f45e76b..b2cd64999847bcbd4bac68b8c7d6d40a0e659057 100644 (file)
*/
#include "postgres.h"
+#include "bloom.h"
#include "fmgr.h"
#include "utils/selfuncs.h"
-#include "bloom.h"
-
/*
* Estimate cost of bloom index scan.
*/
index 4b2186b8ddaf47f721587f309a310548c7ff3b0d..30d17f501dbda52277bab8c665325fb9d3428364 100644 (file)
#include "access/genam.h"
#include "access/generic_xlog.h"
#include "access/tableam.h"
+#include "bloom.h"
#include "catalog/index.h"
#include "miscadmin.h"
#include "storage/bufmgr.h"
#include "utils/memutils.h"
#include "utils/rel.h"
-#include "bloom.h"
-
PG_MODULE_MAGIC;
/*
index 49e364ac12d6a8baf56d3d09d878fe9920f22a54..30fa20619bb05f46bfe9a49b672c5e1a15f900c7 100644 (file)
#include "postgres.h"
#include "access/relscan.h"
-#include "pgstat.h"
+#include "bloom.h"
#include "miscadmin.h"
+#include "pgstat.h"
#include "storage/bufmgr.h"
#include "storage/lmgr.h"
#include "utils/memutils.h"
#include "utils/rel.h"
-#include "bloom.h"
-
/*
* Begin scan of bloom index.
*/
index dbb24cb5b249b48f41db32ccf1e467e00e6f77c4..3d44616adcf1b78218c785d4d05a56638737a737 100644 (file)
#include "access/amapi.h"
#include "access/generic_xlog.h"
+#include "access/reloptions.h"
+#include "bloom.h"
#include "catalog/index.h"
-#include "storage/lmgr.h"
#include "miscadmin.h"
#include "storage/bufmgr.h"
-#include "storage/indexfsm.h"
-#include "utils/memutils.h"
-#include "access/reloptions.h"
#include "storage/freespace.h"
#include "storage/indexfsm.h"
-
-#include "bloom.h"
+#include "storage/lmgr.h"
+#include "utils/memutils.h"
/* Signature dealing macros - note i is assumed to be of type int */
#define GETWORD(x,i) ( *( (BloomSignatureWord *)(x) + ( (i) / SIGNWORDBITS ) ) )
index e9bd1b4f03edf8d6e09838ce27364d382adcc576..b3dfe030226359601e8744fe5268419c36665f0a 100644 (file)
#include "access/amvalidate.h"
#include "access/htup_details.h"
+#include "bloom.h"
#include "catalog/pg_amop.h"
#include "catalog/pg_amproc.h"
#include "catalog/pg_opclass.h"
#include "utils/regproc.h"
#include "utils/syscache.h"
-#include "bloom.h"
-
/*
* Validator for a bloom opclass.
*/
index 2ecf7a2d87ccb73587e2321619e6bdfe6c2ee31e..0ed3d580df11300fa63ab534dc59e0b3aca85589 100644 (file)
#include "utils/inet.h"
#include "utils/numeric.h"
#include "utils/timestamp.h"
-#include "utils/varbit.h"
#include "utils/uuid.h"
+#include "utils/varbit.h"
PG_MODULE_MAGIC;
index 0ec7d8bf884b958abe2d7d7864a7a618cc2ea2ad..b56301270f7e7ea6f6c9628d1256c9630e7b4eed 100644 (file)
* contrib/btree_gist/btree_enum.c
*/
#include "postgres.h"
-#include "fmgr.h"
-#include "utils/builtins.h"
#include "btree_gist.h"
#include "btree_utils_num.h"
+#include "fmgr.h"
+#include "utils/builtins.h"
/* enums are really Oids, so we just use the same structure */
index 34308cc6408cce7c4c4f73d207be347b0c4c1ecb..a3b4301c49a94e97a1273836e5892347cd3fdf64 100644 (file)
#include "btree_gist.h"
#include "btree_utils_num.h"
+#include "catalog/pg_type.h"
#include "utils/builtins.h"
#include "utils/inet.h"
-#include "catalog/pg_type.h"
typedef struct inetkey
{
index b72060cdb6ed58efbca0be3a3a9d6cd7e8ed8324..d43612a87349620402784f71e57c1593ef338ee8 100644 (file)
*/
#include "postgres.h"
-#include "btree_gist.h"
-
#include <math.h>
#include <float.h>
+#include "btree_gist.h"
#include "btree_utils_var.h"
#include "utils/builtins.h"
#include "utils/numeric.h"
index 670c879e775e4d3bf4dcc3315dd2bd9087df259f..452241f697709546b715f1ba1cea6b30931a42e0 100644 (file)
*/
#include "postgres.h"
-#include "btree_gist.h"
-
#include <math.h>
#include <limits.h>
#include <float.h>
+#include "btree_gist.h"
#include "btree_utils_var.h"
-#include "utils/pg_locale.h"
#include "utils/builtins.h"
+#include "utils/pg_locale.h"
#include "utils/rel.h"
/* used for key sorting */
index b720366876083b4bfcc618d60cf5ec8b1c386843..b98118e367bc40f1261fe5b40d4c6128d06fc563 100644 (file)
#include "access/gist.h"
#include "access/stratnum.h"
+#include "cubedata.h"
#include "utils/array.h"
#include "utils/float.h"
-#include "cubedata.h"
-
PG_MODULE_MAGIC;
/*
index e432457e2d534e6124f4dd7d7920b5e4855463b3..54b7bf952f3b2c10fb97405cc6be5bbdb09803f5 100644 (file)
#include <limits.h>
-#include "libpq-fe.h"
-
#include "access/htup_details.h"
#include "access/relation.h"
#include "access/reloptions.h"
#include "foreign/foreign.h"
#include "funcapi.h"
#include "lib/stringinfo.h"
+#include "libpq-fe.h"
#include "mb/pg_wchar.h"
#include "miscadmin.h"
#include "parser/scansup.h"
index 6a885f2926f38be94daec77a7f48bd4eda28bbe0..e860f1e4d357b0aa052492b5572931ae0171d1f5 100644 (file)
#include "access/gist.h"
#include "access/stratnum.h"
#include "catalog/pg_type.h"
-#include "utils/pg_crc.h"
-
#include "hstore.h"
+#include "utils/pg_crc.h"
/* bigint defines */
#define BITBYTE 8
index 745497c76f07746416a3c6341b76929527ddb9d6..be3cce4f74000d9bbea8c90090d028912ee482c4 100644 (file)
#include "access/htup_details.h"
#include "catalog/pg_type.h"
#include "funcapi.h"
+#include "hstore.h"
#include "lib/stringinfo.h"
#include "libpq/pqformat.h"
#include "utils/builtins.h"
#include "utils/memutils.h"
#include "utils/typcache.h"
-#include "hstore.h"
-
PG_MODULE_MAGIC;
/* old names for C functions */
index a3a8a918274eb71db8905d3ca1223cb63d4c43b9..c54071b1a88bdf9ff661d629f23c35bf97c65d46 100644 (file)
#include "access/htup_details.h"
#include "catalog/pg_type.h"
#include "funcapi.h"
+#include "hstore.h"
#include "utils/builtins.h"
#include "utils/hashutils.h"
#include "utils/memutils.h"
-#include "hstore.h"
-
/* old names for C functions */
HSTORE_POLLUTE(hstore_fetchval, fetchval);
HSTORE_POLLUTE(hstore_exists, exists);
index 93705f0d54cb4b809261bf1d80f694a49976de1b..4dee56974039695567f32f8118b4003fd1b0cdd1 100644 (file)
#include "postgres.h"
#include "fmgr.h"
-#include "plpython.h"
-#include "plpy_typeio.h"
#include "hstore/hstore.h"
+#include "plpy_typeio.h"
+#include "plpython.h"
PG_MODULE_MAGIC;
index 91e2a804f2b8b990b06c3369080d3fb7f42b6936..fd976900b8af5aef648eb8e6f4af3dbdf55bdaa2 100644 (file)
*/
#include "postgres.h"
+#include "_int.h"
#include "miscadmin.h"
#include "utils/builtins.h"
-#include "_int.h"
-
PG_FUNCTION_INFO_V1(bqarr_in);
PG_FUNCTION_INFO_V1(bqarr_out);
PG_FUNCTION_INFO_V1(boolop);
index 7aebfec54b202e580961b506e0127c515f46ae30..b7958d8eca5fb49a3bca477a223e37ead0b9bcfe 100644 (file)
*/
#include "postgres.h"
+#include "_int.h"
#include "access/gin.h"
#include "access/stratnum.h"
-#include "_int.h"
-
PG_FUNCTION_INFO_V1(ginint4_queryextract);
Datum
index e5a8011daf814b247141b53312e65a55035e67c6..50effc3ca57b647e45bc876f41bab97c86696616 100644 (file)
#include <limits.h>
+#include "_int.h"
#include "access/gist.h"
#include "access/stratnum.h"
-#include "_int.h"
-
#define GETENTRY(vec,pos) ((ArrayType *) DatumGetPointer((vec)->vector[(pos)].key))
/*
index fe7fcc4662e25ab9d41f9866721734f891588cd7..0e3dcb467f60bc241ef9ffd3bfdc44bfcc29ea23 100644 (file)
*/
#include "postgres.h"
-
#include "_int.h"
PG_MODULE_MAGIC;
index aebffae66c2c85af6aae21a460a593cfcdc0c948..8fb05d169729703c21b4cb149d760fab76d4ef52 100644 (file)
*-------------------------------------------------------------------------
*/
#include "postgres.h"
-#include "_int.h"
+#include "_int.h"
#include "access/htup_details.h"
#include "catalog/pg_operator.h"
#include "catalog/pg_statistic.h"
#include "catalog/pg_type.h"
+#include "miscadmin.h"
#include "utils/builtins.h"
+#include "utils/lsyscache.h"
#include "utils/selfuncs.h"
#include "utils/syscache.h"
-#include "utils/lsyscache.h"
-#include "miscadmin.h"
PG_FUNCTION_INFO_V1(_int_overlap_sel);
PG_FUNCTION_INFO_V1(_int_contains_sel);
index fde8d15e2c2e5faeb635a17842f0867a06a5305a..efff81d77dcd28d4304f38a83373a7a6d90f7c13 100644 (file)
#include <limits.h>
-#include "catalog/pg_type.h"
-
#include "_int.h"
-
+#include "catalog/pg_type.h"
/* arguments are assumed sorted & unique-ified */
bool
index 2a20abecc6cc7f4bc70b471d24f5f3bac7cdf0f9..be51dac1fa7f303dd473094980b995eb2ffd21bd 100644 (file)
*/
#include "postgres.h"
+#include "_int.h"
#include "access/gist.h"
#include "access/stratnum.h"
#include "port/pg_bitutils.h"
-#include "_int.h"
-
#define GETENTRY(vec,pos) ((GISTTYPE *) DatumGetPointer((vec)->vector[(pos)].key))
/*
** _intbig methods
index 0c2cac7d52bfa9850f5edafc8285137ce7c539bd..f4d933ced7387c8d42212e3ab1573b3ac5fdcd21 100644 (file)
#include "postgres.h"
-#include "fmgr.h"
-#include "utils/builtins.h"
-
-#include "isn.h"
#include "EAN13.h"
#include "ISBN.h"
#include "ISMN.h"
#include "ISSN.h"
#include "UPC.h"
+#include "fmgr.h"
+#include "isn.h"
+#include "utils/builtins.h"
PG_MODULE_MAGIC;
index 04b04df953fc6fe9c712aa583b157baafff0e50c..4ae13532d13df699d8e2918b0f1f1b0b1887d9d7 100644 (file)
#include "fmgr.h"
#include "plperl.h"
#include "plperl_helpers.h"
-#include "utils/jsonb.h"
#include "utils/fmgrprotos.h"
+#include "utils/jsonb.h"
PG_MODULE_MAGIC;
index 776cf7c8b9bb180544c3a3c1498488f44f690cd0..ecaa4c6f92b3009dae26a8b22b20c617efc865d8 100644 (file)
#include "postgres.h"
-#include "plpython.h"
#include "plpy_elog.h"
#include "plpy_typeio.h"
-#include "utils/jsonb.h"
+#include "plpython.h"
#include "utils/fmgrprotos.h"
+#include "utils/jsonb.h"
#include "utils/numeric.h"
PG_MODULE_MAGIC;
index c33ac4eedd263bc4e025b51b18490d71ec915363..6b14ed5150a92122c28920045f28696e788d2333 100644 (file)
#include "access/gist.h"
#include "access/stratnum.h"
-#include "port/pg_bitutils.h"
-
#include "crc32.h"
#include "ltree.h"
-
+#include "port/pg_bitutils.h"
PG_FUNCTION_INFO_V1(_ltree_compress);
PG_FUNCTION_INFO_V1(_ltree_same);
index 447e4b29602d7d6aee428a5f2d21d44cf0a81c25..0c3e45923b2e4f6d7b2fd5bd85a5d9912e9341e4 100644 (file)
#define TOLOWER(x) (x)
#endif
-#include "utils/pg_crc.h"
#include "crc32.h"
+#include "utils/pg_crc.h"
unsigned int
ltree_crc32_sz(char *buf, int size)
index 62172d5ea148f8647cb8ff8030a1f3458dc57264..fa47710439b28744ce156eaa79d46f9ecc7d4c82 100644 (file)
#include <ctype.h>
#include "catalog/pg_collation.h"
-#include "utils/formatting.h"
#include "ltree.h"
+#include "utils/formatting.h"
PG_FUNCTION_INFO_V1(ltq_regex);
PG_FUNCTION_INFO_V1(ltq_rregex);
index f54f03744365b0202f2ea325e8fb9589bb97b6ae..900a46a9e7d072905697f692e79c6f957bdee50f 100644 (file)
#include <ctype.h>
+#include "crc32.h"
#include "ltree.h"
#include "utils/memutils.h"
-#include "crc32.h"
PG_FUNCTION_INFO_V1(ltree_in);
PG_FUNCTION_INFO_V1(ltree_out);
index df61c63180c261deb4c9712c93f079f9b53a62a5..070868f25af9577d80145b7fa7fecda00c7b4cc3 100644 (file)
#include "access/htup_details.h"
#include "catalog/pg_statistic.h"
+#include "ltree.h"
#include "utils/builtins.h"
#include "utils/lsyscache.h"
#include "utils/selfuncs.h"
-#include "ltree.h"
PG_MODULE_MAGIC;
index b254aa558d131e85e3834c41c7c8c4039808d75d..1570e77dd9ff8bc0aac73cb0f953a98afed1a15b 100644 (file)
#include "postgres.h"
#include "fmgr.h"
-#include "plpython.h"
#include "ltree/ltree.h"
+#include "plpython.h"
PG_MODULE_MAGIC;
index fa1e7959e7722b5ea4929151b575936da28c8feb..9a3eac2ae6db88533bf4a8829bb4d8e7feaa13b6 100644 (file)
#include "postgres_fe.h"
#include "catalog/pg_class_d.h"
-
#include "common/logging.h"
#include "fe_utils/connect.h"
+#include "getopt_long.h"
#include "libpq-fe.h"
#include "pg_getopt.h"
-#include "getopt_long.h"
-
/* an extensible array to keep track of elements to show */
typedef struct
index 04140eccb84087db4839f69b37806845253bc8d8..d0a12f1fc9b16044f22156d3b6e518a7663bc216 100644 (file)
*/
#include "postgres.h"
-#include "pageinspect.h"
-
-#include "access/htup_details.h"
#include "access/brin.h"
#include "access/brin_internal.h"
#include "access/brin_page.h"
#include "access/brin_revmap.h"
#include "access/brin_tuple.h"
+#include "access/htup_details.h"
#include "catalog/index.h"
#include "catalog/pg_type.h"
#include "funcapi.h"
#include "lib/stringinfo.h"
+#include "miscadmin.h"
+#include "pageinspect.h"
#include "utils/array.h"
#include "utils/builtins.h"
#include "utils/lsyscache.h"
#include "utils/rel.h"
-#include "miscadmin.h"
-
PG_FUNCTION_INFO_V1(brin_page_type);
PG_FUNCTION_INFO_V1(brin_page_items);
index 8d27c9b0f6fd0236330d73759b97a9c0c6f5dc10..78cdc69ec7edaa034d5ecaf626cd1fde2afcd7d0 100644 (file)
#include "postgres.h"
-#include "pageinspect.h"
-
#include "access/nbtree.h"
#include "access/relation.h"
#include "catalog/namespace.h"
#include "catalog/pg_am.h"
#include "funcapi.h"
#include "miscadmin.h"
+#include "pageinspect.h"
#include "utils/builtins.h"
#include "utils/rel.h"
#include "utils/varlena.h"
-
PG_FUNCTION_INFO_V1(bt_metap);
PG_FUNCTION_INFO_V1(bt_page_items);
PG_FUNCTION_INFO_V1(bt_page_items_bytea);
index 4b3c59681845b75cf29361d58bef77457c6b2a82..8567a382b64e468034aeedc535e2cd8a57b69237 100644 (file)
#include "postgres.h"
-#include "pageinspect.h"
-
#include "funcapi.h"
#include "lib/stringinfo.h"
#include "miscadmin.h"
+#include "pageinspect.h"
#include "storage/fsm_internals.h"
#include "utils/builtins.h"
index 229f9f9a2eee548742a6aa6d854b035ae1c05691..a2cd9edc07c6a0ba236c8e4389d6e3b6d01c063a 100644 (file)
*/
#include "postgres.h"
-#include "pageinspect.h"
-
#include "access/gin.h"
#include "access/gin_private.h"
#include "access/htup_details.h"
#include "catalog/pg_type.h"
#include "funcapi.h"
#include "miscadmin.h"
+#include "pageinspect.h"
#include "utils/array.h"
#include "utils/builtins.h"
#include "utils/rel.h"
index 9374c4aabc4c41445abfe4e3adb3a77034deea27..bcc39a8a89cccadd481f35349e6f1a99c61b0d40 100644 (file)
#include "postgres.h"
-#include "pageinspect.h"
-
#include "access/hash.h"
#include "access/htup_details.h"
-#include "catalog/pg_type.h"
#include "catalog/pg_am.h"
+#include "catalog/pg_type.h"
#include "funcapi.h"
#include "miscadmin.h"
+#include "pageinspect.h"
#include "utils/array.h"
#include "utils/builtins.h"
#include "utils/rel.h"
index 02e2ab9997a9ad429ee18a90abeffa1f54750737..8e69cb3fbdbf3bcc89903fe4459ff5da65347c32 100644 (file)
#include "postgres.h"
-#include "pageinspect.h"
-
#include "access/htup_details.h"
#include "access/relation.h"
-#include "funcapi.h"
#include "catalog/pg_am_d.h"
#include "catalog/pg_type.h"
+#include "funcapi.h"
#include "miscadmin.h"
+#include "pageinspect.h"
#include "port/pg_bitutils.h"
#include "utils/array.h"
#include "utils/builtins.h"
index f08f62f72da43dc063181e0e683ffdfa073398be..ffb4418b1e06d52d851249117d02d511fd29ddab 100644 (file)
#include "postgres.h"
-#include "pageinspect.h"
-
#include "access/htup_details.h"
#include "access/relation.h"
#include "catalog/namespace.h"
#include "catalog/pg_type.h"
#include "funcapi.h"
#include "miscadmin.h"
+#include "pageinspect.h"
#include "storage/bufmgr.h"
#include "storage/checksum.h"
#include "utils/builtins.h"
index c3fb5a9c085abd0e29ff8f1b23f4534a1276c9ed..6810cabc93bfb9555cda2a15de26b6e50659443e 100644 (file)
#endif
#include "commands/user.h"
-#include "libpq/crypt.h"
#include "fmgr.h"
+#include "libpq/crypt.h"
PG_MODULE_MAGIC;
index 9fae146dd6419d3a30c4190803655a4cee8cd08d..c6beea707057bf40e5a88218280532a85b7d2020 100644 (file)
#include <signal.h>
#include <sys/time.h>
-#include "pg_getopt.h"
-
#include "access/xlog_internal.h"
+#include "pg_getopt.h"
const char *progname;
index 1b9809b565a3481c0b100278766de74a0057afb8..4dbf0ffb68ad61a2beeb8fc5bf3c68cbb1d01d27 100644 (file)
*/
#include "postgres.h"
-#include "trgm.h"
-
#include "access/gin.h"
#include "access/stratnum.h"
#include "fmgr.h"
-
+#include "trgm.h"
PG_FUNCTION_INFO_V1(gin_extract_trgm);
PG_FUNCTION_INFO_V1(gin_extract_value_trgm);
index e79db8a4f0388882a7e08f4a13703ee062ff6978..e022d0b7993217e1359c11251652697bbd2f452f 100644 (file)
*/
#include "postgres.h"
-#include "trgm.h"
-
#include "access/stratnum.h"
#include "fmgr.h"
#include "port/pg_bitutils.h"
-
+#include "trgm.h"
typedef struct
{
index 0d4614e9c8a72d16eeeb271888a933dbf5da1670..4679efe6568b41111fedb33d7ce2c6ac505bcfb3 100644 (file)
#include <ctype.h>
-#include "trgm.h"
-
#include "catalog/pg_type.h"
+#include "trgm.h"
#include "tsearch/ts_locale.h"
#include "utils/lsyscache.h"
#include "utils/memutils.h"
index 3ad5731ae8014d7172fd237800d12174eaa5fca0..7965a29c9f963c312b247fdb5b062218117f5d02 100644 (file)
*/
#include "postgres.h"
-#include "trgm.h"
-
#include "regex/regexport.h"
+#include "trgm.h"
#include "tsearch/ts_locale.h"
#include "utils/hsearch.h"
#include "utils/memutils.h"
-
/*
* Uncomment (or use -DTRGM_REGEXP_DEBUG) to print debug info,
* for exploring and debugging the algorithm implementation.
index 6a09d76989ff3049b4720e8b86fca9ac3045f87d..b6466d3e3178b5697cfe049cd8a47ce072b7c81a 100644 (file)
#include "postgres.h"
-#include "px.h"
#include "px-crypt.h"
+#include "px.h"
#define MD5_SIZE 16
index db58408d4c718f2cd616931990b85c8f5cd04364..a12d7b4178322404fefacb509e4bea4860103400 100644 (file)
#include <time.h>
-#include "px.h"
-#include "md5.h"
-#include "sha1.h"
#include "blf.h"
+#include "md5.h"
+#include "px.h"
#include "rijndael.h"
+#include "sha1.h"
#ifndef MD5_DIGEST_LENGTH
#define MD5_DIGEST_LENGTH 16
index 73dbfbd08fc65db6f9d6e7e706e0218003b93a03..0467212a281bcbd486ab48be53c8a0b71a8f7a15 100644 (file)
#include "postgres.h"
-#include "px.h"
#include "mbuf.h"
+#include "px.h"
#define STEP (16*1024)
index 7d686f39402b2f78b9620698c8a83cc5260bb007..3057afb339097e68e82cff426111bc6acbc2fd09 100644 (file)
#include "postgres.h"
-#include "px.h"
-
#include <openssl/evp.h>
#include <openssl/err.h>
#include <openssl/rand.h>
+#include "px.h"
#include "utils/memutils.h"
#include "utils/resowner.h"
index f69ae107c3a741e3543f866d28adc1a570c526e4..f0ac625040e753c5ce4908d71f40f64714c69698 100644 (file)
#include <ctype.h>
#include "parser/scansup.h"
+#include "pgcrypto.h"
+#include "px-crypt.h"
+#include "px.h"
#include "utils/builtins.h"
#include "utils/uuid.h"
-#include "px.h"
-#include "px-crypt.h"
-#include "pgcrypto.h"
-
PG_MODULE_MAGIC;
/* private stuff */
index aa5b563a31a32033906a467559721b42f0b0eb57..679779a6ac26c6bcd55a1842bcace3f8df8f069f 100644 (file)
#include "postgres.h"
-#include "px.h"
#include "pgp.h"
+#include "px.h"
/*
* BASE64 - duplicated :(
index 1d99915f9db7c14ce49eed542f5b75e47ffffff2..8ae7c8608fb5cdb886063942863169b8be4ee5fe 100644 (file)
#include "postgres.h"
-#include "px.h"
#include "pgp.h"
+#include "px.h"
typedef int (*mix_data_t) (PGP_CFB *ctx, const uint8 *data, int len, uint8 *dst);
index 2adaf2c8755fe6ddeb5f8ad8b01730438391915b..0505bdee9237f79a04a19fd92ccca486ab2ea673 100644 (file)
#include "postgres.h"
-#include "px.h"
#include "pgp.h"
-
+#include "px.h"
/*
* Compressed pkt writer
index 4c43eb7e3efe60f847d0be39e9dd2b87af58b04d..3ecbf9c0c259659dd523331edd3cf31d5ae0d5ad 100644 (file)
#include "postgres.h"
-#include "px.h"
#include "mbuf.h"
#include "pgp.h"
+#include "px.h"
#define NO_CTX_SIZE 0
#define ALLOW_CTX_SIZE 1
index 2938b4b3f5ec46f01f8dd73c17ac8f1fb2f8a8b5..46518942ac2a3a91cf90587eec0fe8d104dc838c 100644 (file)
#include <time.h>
#include "mbuf.h"
-#include "px.h"
#include "pgp.h"
-
+#include "px.h"
#define MDC_DIGEST_LEN 20
#define STREAM_ID 0xE0
index 9bfbbe6d0c986771f59f36f245b4ebb8df283229..b2300ea65683037e9fcdf26a6d1f004e8c58ffbc 100644 (file)
*/
#include "postgres.h"
-#include "px.h"
#include "mbuf.h"
#include "pgp.h"
+#include "px.h"
static int
read_pubkey_keyid(PullFilter *pkt, uint8 *keyid_buf)
index c73f086b0be5755f35e64ebe56efdf79950f3568..2353a48a074bfa74645eb6936750c833af473941 100644 (file)
#include "postgres.h"
#include "imath.h"
-
-#include "px.h"
#include "pgp.h"
+#include "px.h"
static mpz_t *
mp_new()
index afece26918653142ab0111d90519623a0b8da41e..75e4c8b3004e1482d2b8151b643c4bca9778812b 100644 (file)
#include <openssl/bn.h>
-#include "px.h"
#include "pgp.h"
+#include "px.h"
static BIGNUM *
mpi_to_bn(PGP_MPI *n)
index 1da52acc9ad5a6ea98afb30dca72bf26ab0f9d12..36a6d361ab316ea3cc7b500b66eea651ba07f6a4 100644 (file)
*/
#include "postgres.h"
-#include "px.h"
#include "pgp.h"
+#include "px.h"
int
pgp_mpi_alloc(int bits, PGP_MPI **mpi)
index 3feadf7b702ab75da316c79110854f53c1637e4f..8be895df80f03074a637e151eb79cf11d1fcf9e5 100644 (file)
#include "postgres.h"
-#include "lib/stringinfo.h"
#include "catalog/pg_type.h"
-#include "mb/pg_wchar.h"
-#include "utils/builtins.h"
-#include "utils/array.h"
#include "funcapi.h"
-
+#include "lib/stringinfo.h"
+#include "mb/pg_wchar.h"
#include "mbuf.h"
-#include "px.h"
#include "pgp.h"
+#include "px.h"
+#include "utils/array.h"
+#include "utils/builtins.h"
/*
* public functions
index b925ff8599f3e0f0b57caaaf69c60b02da615d2d..a0a5738a40e893e4c2f65fd57f4b0894bf12880f 100644 (file)
*/
#include "postgres.h"
-#include "px.h"
#include "pgp.h"
+#include "px.h"
/*
* padded msg = 02 || PS || 00 || M
index 08599f09786796ce69a503d0a3dad89bcff7975c..9fdcf7c31c775303608bbe1ec4b949907bfc0dd5 100644 (file)
*/
#include "postgres.h"
-#include "px.h"
#include "pgp.h"
+#include "px.h"
/*
* padded msg: 02 || non-zero pad bytes || 00 || msg
index f898d72ae99ae5cd128b91644d00d05a1087cdbb..d447e5fd4fed8bf5ffdb091213e72e3a29fc61eb 100644 (file)
*/
#include "postgres.h"
-#include "px.h"
#include "mbuf.h"
#include "pgp.h"
+#include "px.h"
int
pgp_key_alloc(PGP_PubKey **pk_p)
index 3f2f442ffccde53a09a7b7736dd5bd129441d3de..81ca1f094a16f5a0e145692d94e96d2f4014976e 100644 (file)
#include "postgres.h"
-#include "px.h"
#include "pgp.h"
-
+#include "px.h"
static int
calc_s2k_simple(PGP_S2K *s2k, PX_MD *md, const uint8 *key,
index dd8dae1b8459f6ed37bfbd94180fca350c55ca20..9b245fee61bbd9b59aeab5963ae3a8017384cadb 100644 (file)
#include "postgres.h"
-#include "px.h"
#include "pgp.h"
+#include "px.h"
/*
* Defaults.
index 51be0b7da1776584f46cc22ca42fff0b76f9180b..0913ff2c1bc2e48325fbe375f7a7fd754b218855 100644 (file)
#include "postgres.h"
-#include "px.h"
#include "px-crypt.h"
-
+#include "px.h"
static char *
run_crypt_des(const char *psw, const char *salt,
index 636c8d40aca3b4d91966d7174a872fdae829ab84..c17f244f8367409d62be9dd4f7d2758907d6f109 100644 (file)
#include "postgres.h"
#include "access/heapam.h"
+#include "access/htup_details.h"
+#include "access/multixact.h"
#include "access/relation.h"
#include "access/transam.h"
#include "access/visibilitymap.h"
#include "access/xact.h"
-#include "access/multixact.h"
-#include "access/htup_details.h"
#include "catalog/namespace.h"
#include "catalog/pg_am_d.h"
#include "commands/vacuum.h"
#include "miscadmin.h"
#include "storage/bufmgr.h"
#include "storage/freespace.h"
-#include "storage/procarray.h"
#include "storage/lmgr.h"
+#include "storage/procarray.h"
#include "utils/builtins.h"
PG_FUNCTION_INFO_V1(pgstattuple_approx);
index 57ed5f4b90599e6799d61f29fe50f1d9d4412792..12f9dd35be85354d98861c231e2b9e01e72e6c88 100644 (file)
*/
#include "postgres.h"
-#include "postgres_fdw.h"
-
#include "access/htup_details.h"
#include "access/xact.h"
#include "catalog/pg_user_mapping.h"
#include "mb/pg_wchar.h"
#include "miscadmin.h"
#include "pgstat.h"
+#include "postgres_fdw.h"
#include "storage/latch.h"
#include "utils/hsearch.h"
#include "utils/inval.h"
#include "utils/memutils.h"
#include "utils/syscache.h"
-
/*
* Connection cache hash table entry
*
index 431c34a424629d846e620eae8b571df9cf4e255a..e803997be6c83d587203d2a2cd2b33b73d43aeac 100644 (file)
*/
#include "postgres.h"
-#include "postgres_fdw.h"
-
#include "access/htup_details.h"
#include "access/sysattr.h"
#include "access/table.h"
#include "optimizer/prep.h"
#include "optimizer/tlist.h"
#include "parser/parsetree.h"
+#include "postgres_fdw.h"
#include "utils/builtins.h"
#include "utils/lsyscache.h"
#include "utils/rel.h"
#include "utils/syscache.h"
#include "utils/typcache.h"
-
/*
* Global context for foreign_expr_walker's search of an expression tree.
*/
index 7ea68c3ce3d29d9f3ae9f643e1a634d587e57c64..da175a626f28fd54e132a9d9fae8ffd1d529ab91 100644 (file)
*/
#include "postgres.h"
-#include "postgres_fdw.h"
-
#include "access/reloptions.h"
#include "catalog/pg_foreign_server.h"
#include "catalog/pg_foreign_table.h"
#include "catalog/pg_user_mapping.h"
#include "commands/defrem.h"
#include "commands/extension.h"
+#include "postgres_fdw.h"
#include "utils/builtins.h"
#include "utils/varlena.h"
-
/*
* Describes the valid options for objects that this wrapper uses.
*/
index 82d8140ba255eab61e2149601daa24fec1f645ce..32366641a3eb2df370bd578c34f02c51b4cfc681 100644 (file)
*/
#include "postgres.h"
-#include "postgres_fdw.h"
-
#include "access/htup_details.h"
#include "access/sysattr.h"
#include "access/table.h"
#include "optimizer/restrictinfo.h"
#include "optimizer/tlist.h"
#include "parser/parsetree.h"
+#include "postgres_fdw.h"
#include "utils/builtins.h"
#include "utils/float.h"
#include "utils/guc.h"
index 2b55a40db36b27727cea80fe3ede08cccae21a50..14d6d092121da9ca21c0b0124161c0366f9610be 100644 (file)
#include "postgres.h"
-#include "postgres_fdw.h"
-
#include "access/transam.h"
#include "catalog/dependency.h"
+#include "postgres_fdw.h"
#include "utils/hsearch.h"
#include "utils/inval.h"
#include "utils/syscache.h"
-
/* Hash table for caching the results of shippability lookups */
static HTAB *ShippableCacheHash = NULL;
index 8edd3df643c7a53e9f0c055943dbb6847cdf87c2..0190d381a90592182a19e6f244633fb23956ac39 100644 (file)
#include "access/sysattr.h"
#include "access/table.h"
#include "catalog/dependency.h"
-#include "catalog/pg_database.h"
#include "catalog/indexing.h"
+#include "catalog/pg_database.h"
#include "commands/dbcommands.h"
#include "commands/seclabel.h"
+#include "sepgsql.h"
#include "utils/builtins.h"
#include "utils/fmgroids.h"
#include "utils/snapmgr.h"
-#include "sepgsql.h"
/*
* sepgsql_database_post_create
index 2892346f8002cc66e0e76e156a7e3d1970558911..14198799990d122e2279125c82c9cab5f9ce60ac 100644 (file)
#include "access/sysattr.h"
#include "access/tupdesc.h"
#include "catalog/catalog.h"
-#include "catalog/heap.h"
#include "catalog/dependency.h"
+#include "catalog/heap.h"
#include "catalog/pg_attribute.h"
#include "catalog/pg_class.h"
#include "catalog/pg_inherits.h"
#include "commands/tablecmds.h"
#include "executor/executor.h"
#include "nodes/bitmapset.h"
+#include "sepgsql.h"
#include "utils/lsyscache.h"
#include "utils/syscache.h"
-#include "sepgsql.h"
-
/*
* fixup_whole_row_references
*
index ebfa441b47ac630a43ec89ab6c8d7b0c4474d16f..992c70e8a062b77d31bf1a270d3f176230a7e438 100644 (file)
#include "executor/executor.h"
#include "fmgr.h"
#include "miscadmin.h"
+#include "sepgsql.h"
#include "tcop/utility.h"
#include "utils/guc.h"
#include "utils/queryenvironment.h"
-#include "sepgsql.h"
-
PG_MODULE_MAGIC;
/*
index 63a2dd5cc1ba43496e4e6d40af4426e4a5abbc1c..d2505f7f34353854afff66588345ea3852f4d55b 100644 (file)
#include <selinux/label.h>
-#include "access/htup_details.h"
#include "access/genam.h"
+#include "access/htup_details.h"
#include "access/table.h"
#include "access/xact.h"
#include "catalog/catalog.h"
#include "libpq/auth.h"
#include "libpq/libpq-be.h"
#include "miscadmin.h"
+#include "sepgsql.h"
#include "utils/builtins.h"
#include "utils/fmgroids.h"
#include "utils/guc.h"
#include "utils/memutils.h"
#include "utils/rel.h"
-#include "sepgsql.h"
-
/*
* Saved hook entries (if stacked)
*/
index aa12dbe2367836414e334043ec67ad5d0374df67..345a4c253d81763756dbfeb8d1f90c149b4ec2d3 100644 (file)
#include "catalog/pg_type.h"
#include "commands/seclabel.h"
#include "lib/stringinfo.h"
+#include "sepgsql.h"
#include "utils/builtins.h"
#include "utils/fmgroids.h"
#include "utils/lsyscache.h"
#include "utils/snapmgr.h"
#include "utils/syscache.h"
-#include "sepgsql.h"
-
/*
* sepgsql_proc_post_create
*
index 061527559c1ffcd9f329ec5f4f05e76764cc4ef5..714cffed9737f3009611eab3b1a116fe9bacd57c 100644 (file)
#include "access/htup_details.h"
#include "access/sysattr.h"
#include "access/table.h"
-#include "catalog/indexing.h"
#include "catalog/dependency.h"
+#include "catalog/indexing.h"
#include "catalog/pg_attribute.h"
#include "catalog/pg_class.h"
#include "catalog/pg_namespace.h"
#include "commands/seclabel.h"
#include "lib/stringinfo.h"
+#include "sepgsql.h"
#include "utils/builtins.h"
-#include "utils/fmgroids.h"
#include "utils/catcache.h"
+#include "utils/fmgroids.h"
#include "utils/lsyscache.h"
#include "utils/rel.h"
#include "utils/snapmgr.h"
#include "utils/syscache.h"
-#include "sepgsql.h"
-
static void sepgsql_index_modify(Oid indexOid);
/*
index 4c4a90f9781eed36fa0d9fc3af1d85bdc1e2626b..92ef156ff57ddbdf35a3e713f729808c3dc9db0f 100644 (file)
#include "commands/seclabel.h"
#include "lib/stringinfo.h"
#include "miscadmin.h"
+#include "sepgsql.h"
#include "utils/builtins.h"
#include "utils/fmgroids.h"
#include "utils/lsyscache.h"
#include "utils/snapmgr.h"
-#include "sepgsql.h"
-
/*
* sepgsql_schema_post_create
*
index 60fcf996539b5f0d97e64acae13ae39b4f443b84..8ce0bc631b7fa0626b1fa17ccd6f168c50a5d44c 100644 (file)
#include "catalog/pg_proc.h"
#include "commands/seclabel.h"
+#include "sepgsql.h"
#include "storage/ipc.h"
#include "utils/guc.h"
#include "utils/hashutils.h"
#include "utils/memutils.h"
-#include "sepgsql.h"
-
/*
* avc_cache
*
index 70476f77c2f6b9f30be5be4118e3635b9d2ab4fc..3eb7004de97d70d61309831a879a56dba87369f9 100644 (file)
@@ -17,8 +17,8 @@ OH, me, I'm Terry Mackintosh <terry@terrym.com>
#include "access/htup_details.h"
#include "catalog/pg_type.h"
-#include "executor/spi.h"
#include "commands/trigger.h"
+#include "executor/spi.h"
#include "utils/builtins.h"
#include "utils/rel.h"
index e31be80828e3a1e0397785c8f2a87c59719d7ee4..256d52fc6291486515ee1f682fb63e1f30bdd566 100644 (file)
#include "funcapi.h"
#include "lib/stringinfo.h"
#include "miscadmin.h"
-#include "utils/builtins.h"
-
#include "tablefunc.h"
+#include "utils/builtins.h"
PG_MODULE_MAGIC;
index 5355a64c5e64b2a0788bb689faf641e2b65b0cb0..45687687b0c87d411c745729d40427b9cf0e6a0c 100644 (file)
#include "postgres.h"
#include "access/htup_details.h"
-#include "executor/spi.h"
#include "commands/async.h"
#include "commands/trigger.h"
+#include "executor/spi.h"
#include "lib/stringinfo.h"
#include "utils/rel.h"
#include "utils/syscache.h"
index 533e2ce33c58909f42d54d9cfa8d57003f2160f5..55b42e3565e66056dd1776fccfd0283d0eac45ce 100644 (file)
#endif
#include "catalog/pg_class_d.h"
-
#include "common/logging.h"
#include "fe_utils/connect.h"
+#include "getopt_long.h"
#include "libpq-fe.h"
#include "pg_getopt.h"
-#include "getopt_long.h"
#define BUFSIZE 1024