postgresql/src/include
Tom Lane 5602265f77 Convert unused_oids and duplicate_oids to use Catalog.pm infrastructure.
unused_oids was previously a shell script, which of course didn't work at
all on Windows.  Also, commit 372728b0d introduced some other portability
problems, as complained of by Stas Kelvich.  We can improve matters by
converting it to Perl.

While we're at it, let's future-proof both this script and duplicate_oids
to use Catalog.pm rather than having a bunch of ad-hoc logic for parsing
catalog headers and .dat files.  These scripts are thereby a bit slower,
which doesn't seem like a problem for typical manual use.  It is a little
annoying for buildfarm purposes, but we should be able to fix that case
by having genbki.pl make the check instead of parsing the headers twice.
(That's not done in this commit, though.)

Stas Kelvich, adjusted a bit by me

Discussion: https://postgr.es/m/37D774E4-FE1F-437E-B3D2-593F314B7505@postgrespro.ru
2018-04-25 16:01:58 -04:00
..
access Fix wrong validation of top-parent pointer during page deletion in Btree. 2018-04-23 15:55:10 +03:00
bootstrap Rationalize handling of array type names in bootstrap data. 2018-04-17 18:29:11 -04:00
catalog Convert unused_oids and duplicate_oids to use Catalog.pm infrastructure. 2018-04-25 16:01:58 -04:00
commands Reorganize partitioning code 2018-04-14 21:12:14 -03:00
common Further cleanup of client dependencies on src/include/catalog headers. 2018-04-09 14:39:58 -04:00
datatype Update copyright for 2018 2018-01-02 23:30:12 -05:00
executor Reorganize partitioning code 2018-04-14 21:12:14 -03:00
fe_utils Add \if support to pgbench 2018-03-22 17:42:03 +03:00
foreign Allow insert and update tuple routing and COPY for foreign tables. 2018-04-06 19:22:03 -04:00
jit Make PGJIT_* macros safer. 2018-04-23 04:48:08 -04:00
lib Fix a boatload of typos in C comments. 2018-04-01 15:01:28 -04:00
libpq Make be-secure-common.c more consistent for future SSL implementations 2018-04-02 11:37:40 -04:00
mb Fix a boatload of typos in C comments. 2018-04-01 15:01:28 -04:00
nodes Add GUC enable_partition_pruning 2018-04-23 17:57:43 -03:00
optimizer Add GUC enable_partition_pruning 2018-04-23 17:57:43 -03:00
parser Revert MERGE patch 2018-04-12 11:22:56 +01:00
partitioning Initialize ExprStates once in run-time partition pruning 2018-04-24 14:03:10 -03:00
port Remove overzeleous assertions in pg_atomic_flag code. 2018-04-07 18:30:15 -07:00
portability Update copyright for 2018 2018-01-02 23:30:12 -05:00
postmaster Add comment explaining BGWORKER_BYPASS_ALLOWCONN 2018-04-23 10:31:22 +02:00
regex Update copyright for 2018 2018-01-02 23:30:12 -05:00
replication Logical replication support for TRUNCATE 2018-04-07 11:34:11 -04:00
rewrite Revert MERGE patch 2018-04-12 11:22:56 +01:00
snowball Update copyright for 2018 2018-01-02 23:30:12 -05:00
statistics Update copyright for 2018 2018-01-02 23:30:12 -05:00
storage Revert "Allow on-line enabling and disabling of data checksums" 2018-04-09 19:03:42 +02:00
tcop PL/pgSQL: Nested CALL with transactions 2018-03-28 13:31:27 -04:00
tsearch Add websearch_to_tsquery 2018-04-05 19:55:11 +03:00
utils Reorganize partitioning code 2018-04-14 21:12:14 -03:00
.gitignore Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
c.h Fix interaction of Perl and stdbool.h 2018-03-23 10:31:10 -04:00
fmgr.h Add expression compilation support to LLVM JIT provider. 2018-03-22 14:45:59 -07:00
funcapi.h Support INOUT arguments in procedures 2018-03-14 12:07:28 -04:00
getaddrinfo.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
getopt_long.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
Makefile List src/include/partitioning in src/include/Makefile 2018-04-14 21:33:32 -03:00
miscadmin.h Allow group access on PGDATA 2018-04-07 17:45:39 -04:00
pg_config_ext.h.in Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
pg_config_ext.h.win32 Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
pg_config_manual.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
pg_config.h.in Use ARMv8 CRC instructions where available. 2018-04-04 12:22:45 +03:00
pg_config.h.win32 Also fix the descriptions in pg_config.h.win32. 2018-04-04 11:33:39 +03:00
pg_getopt.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
pg_trace.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
pgstat.h Revert "Allow on-line enabling and disabling of data checksums" 2018-04-09 19:03:42 +02:00
pgtar.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
pgtime.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
port.h Fix a boatload of typos in C comments. 2018-04-01 15:01:28 -04:00
postgres_ext.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
postgres_fe.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
postgres.h Move the extern declaration for ExceptionalCondition into c.h. 2018-02-14 19:43:33 -05:00
rusagestub.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
windowapi.h Update copyright for 2018 2018-01-02 23:30:12 -05:00