Alvaro Herrera wrote: > It is possible to replace many occurrences of builtins.h with > fmgrprotos.h. I just tried this > git grep -l 'include.*utils/builtins.h' -- *.c | xargs perl -pi -e > 's{utils/builtins.h}{utils/fmgrprotos.h}' > There's a large number of changes that the oneliner produces that must > be reverted for the compile to be silent, but a large portion can > remain. (I only tried src/backend/access).
92 files are changed, 241 files still require builtins.h. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
commit 36f1297a9214702f8c67ad96dfc28cb99a66722b[m Author: Alvaro Herrera <alvhe...@alvh.no-ip.org> AuthorDate: Tue Jan 17 18:32:20 2017 -0300 CommitDate: Tue Jan 17 18:34:20 2017 -0300 remove builtins when fmgrprotos is enough diff --git a/contrib/btree_gist/btree_bit.c b/contrib/btree_gist/btree_bit.c index f34fa87..9ce06c9 100644 --- a/contrib/btree_gist/btree_bit.c +++ b/contrib/btree_gist/btree_bit.c @@ -5,7 +5,7 @@ #include "btree_gist.h" #include "btree_utils_var.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/bytea.h" #include "utils/varbit.h" diff --git a/contrib/btree_gist/btree_bytea.c b/contrib/btree_gist/btree_bytea.c index df6c960..1be494d 100644 --- a/contrib/btree_gist/btree_bytea.c +++ b/contrib/btree_gist/btree_bytea.c @@ -5,7 +5,7 @@ #include "btree_gist.h" #include "btree_utils_var.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/bytea.h" diff --git a/contrib/btree_gist/btree_date.c b/contrib/btree_gist/btree_date.c index 56031d4..dc55582 100644 --- a/contrib/btree_gist/btree_date.c +++ b/contrib/btree_gist/btree_date.c @@ -5,7 +5,7 @@ #include "btree_gist.h" #include "btree_utils_num.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/date.h" typedef struct diff --git a/contrib/btree_gist/btree_gist.c b/contrib/btree_gist/btree_gist.c index e1dc253..d3f13d6 100644 --- a/contrib/btree_gist/btree_gist.c +++ b/contrib/btree_gist/btree_gist.c @@ -27,7 +27,7 @@ gbtreekey_in(PG_FUNCTION_ARGS) } #include "btree_utils_var.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" Datum gbtreekey_out(PG_FUNCTION_ARGS) { diff --git a/contrib/btree_gist/btree_interval.c b/contrib/btree_gist/btree_interval.c index e5cd0a2..afb205e 100644 --- a/contrib/btree_gist/btree_interval.c +++ b/contrib/btree_gist/btree_interval.c @@ -5,7 +5,7 @@ #include "btree_gist.h" #include "btree_utils_num.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/timestamp.h" typedef struct diff --git a/contrib/btree_gist/btree_macaddr.c b/contrib/btree_gist/btree_macaddr.c index 87d96c0..5a545ac 100644 --- a/contrib/btree_gist/btree_macaddr.c +++ b/contrib/btree_gist/btree_macaddr.c @@ -5,7 +5,7 @@ #include "btree_gist.h" #include "btree_utils_num.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/inet.h" typedef struct diff --git a/contrib/btree_gist/btree_text.c b/contrib/btree_gist/btree_text.c index 2e00cb6..751e165 100644 --- a/contrib/btree_gist/btree_text.c +++ b/contrib/btree_gist/btree_text.c @@ -5,7 +5,7 @@ #include "btree_gist.h" #include "btree_utils_var.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" /* ** Text ops diff --git a/contrib/btree_gist/btree_time.c b/contrib/btree_gist/btree_time.c index 27f30bc..9d19a10 100644 --- a/contrib/btree_gist/btree_time.c +++ b/contrib/btree_gist/btree_time.c @@ -5,7 +5,7 @@ #include "btree_gist.h" #include "btree_utils_num.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/date.h" #include "utils/timestamp.h" diff --git a/contrib/btree_gist/btree_utils_var.c b/contrib/btree_gist/btree_utils_var.c index 70b3794..5af5164 100644 --- a/contrib/btree_gist/btree_utils_var.c +++ b/contrib/btree_gist/btree_utils_var.c @@ -11,7 +11,7 @@ #include "btree_utils_var.h" #include "utils/pg_locale.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/rel.h" /* used for key sorting */ diff --git a/contrib/intarray/_int_bool.c b/contrib/intarray/_int_bool.c index 5d9e676..4973ce6 100644 --- a/contrib/intarray/_int_bool.c +++ b/contrib/intarray/_int_bool.c @@ -4,7 +4,7 @@ #include "postgres.h" #include "miscadmin.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "_int.h" diff --git a/contrib/intarray/_int_selfuncs.c b/contrib/intarray/_int_selfuncs.c index 9b4a22f..a89eb57 100644 --- a/contrib/intarray/_int_selfuncs.c +++ b/contrib/intarray/_int_selfuncs.c @@ -19,7 +19,7 @@ #include "catalog/pg_operator.h" #include "catalog/pg_statistic.h" #include "catalog/pg_type.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/selfuncs.h" #include "utils/syscache.h" #include "utils/lsyscache.h" diff --git a/contrib/isn/isn.c b/contrib/isn/isn.c index 9e125b8..df62189 100644 --- a/contrib/isn/isn.c +++ b/contrib/isn/isn.c @@ -15,7 +15,7 @@ #include "postgres.h" #include "fmgr.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "isn.h" #include "EAN13.h" diff --git a/contrib/lo/lo.c b/contrib/lo/lo.c index 050bd8a..7440058 100644 --- a/contrib/lo/lo.c +++ b/contrib/lo/lo.c @@ -9,7 +9,7 @@ #include "commands/trigger.h" #include "executor/spi.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/rel.h" PG_MODULE_MAGIC; diff --git a/contrib/pgstattuple/pgstatapprox.c b/contrib/pgstattuple/pgstatapprox.c index 8db1e20..990c480 100644 --- a/contrib/pgstattuple/pgstatapprox.c +++ b/contrib/pgstattuple/pgstatapprox.c @@ -24,7 +24,7 @@ #include "storage/freespace.h" #include "storage/procarray.h" #include "storage/lmgr.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/tqual.h" #include "commands/vacuum.h" diff --git a/contrib/sepgsql/database.c b/contrib/sepgsql/database.c index 69dd290..1f59350 100644 --- a/contrib/sepgsql/database.c +++ b/contrib/sepgsql/database.c @@ -19,7 +19,7 @@ #include "catalog/indexing.h" #include "commands/dbcommands.h" #include "commands/seclabel.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/fmgroids.h" #include "utils/tqual.h" #include "sepgsql.h" diff --git a/contrib/sepgsql/label.c b/contrib/sepgsql/label.c index 82deb93..3534595 100644 --- a/contrib/sepgsql/label.c +++ b/contrib/sepgsql/label.c @@ -27,7 +27,7 @@ #include "libpq/auth.h" #include "libpq/libpq-be.h" #include "miscadmin.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/fmgroids.h" #include "utils/guc.h" #include "utils/lsyscache.h" diff --git a/contrib/sepgsql/proc.c b/contrib/sepgsql/proc.c index 4ccf4a5..9fb0a4d 100644 --- a/contrib/sepgsql/proc.c +++ b/contrib/sepgsql/proc.c @@ -21,7 +21,7 @@ #include "catalog/pg_type.h" #include "commands/seclabel.h" #include "lib/stringinfo.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/fmgroids.h" #include "utils/lsyscache.h" #include "utils/syscache.h" diff --git a/contrib/sepgsql/relation.c b/contrib/sepgsql/relation.c index ab98a9b..d75350b 100644 --- a/contrib/sepgsql/relation.c +++ b/contrib/sepgsql/relation.c @@ -21,7 +21,7 @@ #include "catalog/pg_namespace.h" #include "commands/seclabel.h" #include "lib/stringinfo.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/fmgroids.h" #include "utils/catcache.h" #include "utils/lsyscache.h" diff --git a/contrib/sepgsql/schema.c b/contrib/sepgsql/schema.c index 940384b..1cc8c98 100644 --- a/contrib/sepgsql/schema.c +++ b/contrib/sepgsql/schema.c @@ -21,7 +21,7 @@ #include "commands/seclabel.h" #include "lib/stringinfo.h" #include "miscadmin.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/fmgroids.h" #include "utils/lsyscache.h" #include "utils/tqual.h" diff --git a/contrib/spi/moddatetime.c b/contrib/spi/moddatetime.c index 70476f7..32ec477 100644 --- a/contrib/spi/moddatetime.c +++ b/contrib/spi/moddatetime.c @@ -19,7 +19,7 @@ OH, me, I'm Terry Mackintosh <te...@terrym.com> #include "catalog/pg_type.h" #include "executor/spi.h" #include "commands/trigger.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/rel.h" PG_MODULE_MAGIC; diff --git a/contrib/uuid-ossp/uuid-ossp.c b/contrib/uuid-ossp/uuid-ossp.c index 57bdf4d..44a544a 100644 --- a/contrib/uuid-ossp/uuid-ossp.c +++ b/contrib/uuid-ossp/uuid-ossp.c @@ -14,7 +14,7 @@ #include "postgres.h" #include "fmgr.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/uuid.h" /* for ntohl/htonl */ diff --git a/contrib/xml2/xslt_proc.c b/contrib/xml2/xslt_proc.c index 343924e..3559d2f 100644 --- a/contrib/xml2/xslt_proc.c +++ b/contrib/xml2/xslt_proc.c @@ -11,7 +11,7 @@ #include "fmgr.h" #include "funcapi.h" #include "miscadmin.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/xml.h" #ifdef USE_LIBXSLT diff --git a/src/backend/access/brin/brin.c b/src/backend/access/brin/brin.c index d60ddd2..cc2e240 100644 --- a/src/backend/access/brin/brin.c +++ b/src/backend/access/brin/brin.c @@ -28,7 +28,7 @@ #include "pgstat.h" #include "storage/bufmgr.h" #include "storage/freespace.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/index_selfuncs.h" #include "utils/memutils.h" #include "utils/rel.h" diff --git a/src/backend/access/brin/brin_inclusion.c b/src/backend/access/brin/brin_inclusion.c index bc16dd7..35c68aa 100644 --- a/src/backend/access/brin/brin_inclusion.c +++ b/src/backend/access/brin/brin_inclusion.c @@ -30,7 +30,7 @@ #include "access/skey.h" #include "catalog/pg_amop.h" #include "catalog/pg_type.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/datum.h" #include "utils/lsyscache.h" #include "utils/rel.h" diff --git a/src/backend/access/brin/brin_minmax.c b/src/backend/access/brin/brin_minmax.c index 8f7a0c7..14b4386 100644 --- a/src/backend/access/brin/brin_minmax.c +++ b/src/backend/access/brin/brin_minmax.c @@ -16,7 +16,7 @@ #include "access/stratnum.h" #include "catalog/pg_type.h" #include "catalog/pg_amop.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/datum.h" #include "utils/lsyscache.h" #include "utils/rel.h" diff --git a/src/backend/access/gin/ginarrayproc.c b/src/backend/access/gin/ginarrayproc.c index cc7435e..eff07c9 100644 --- a/src/backend/access/gin/ginarrayproc.c +++ b/src/backend/access/gin/ginarrayproc.c @@ -16,7 +16,7 @@ #include "access/gin.h" #include "access/stratnum.h" #include "utils/array.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/lsyscache.h" diff --git a/src/backend/access/gin/ginfast.c b/src/backend/access/gin/ginfast.c index 85031e2..2751ba1 100644 --- a/src/backend/access/gin/ginfast.c +++ b/src/backend/access/gin/ginfast.c @@ -30,7 +30,7 @@ #include "postmaster/autovacuum.h" #include "storage/indexfsm.h" #include "storage/lmgr.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" /* GUC parameter */ int gin_pending_list_limit = 0; diff --git a/src/backend/access/gist/gist.c b/src/backend/access/gist/gist.c index 597056a..b0bf320 100644 --- a/src/backend/access/gist/gist.c +++ b/src/backend/access/gist/gist.c @@ -18,7 +18,7 @@ #include "access/gistscan.h" #include "catalog/pg_collation.h" #include "miscadmin.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/index_selfuncs.h" #include "utils/memutils.h" #include "utils/rel.h" diff --git a/src/backend/access/hash/hash.c b/src/backend/access/hash/hash.c index a64a9b9..6ad9257 100644 --- a/src/backend/access/hash/hash.c +++ b/src/backend/access/hash/hash.c @@ -25,7 +25,7 @@ #include "commands/vacuum.h" #include "miscadmin.h" #include "optimizer/plancat.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/index_selfuncs.h" #include "utils/rel.h" diff --git a/src/backend/access/hash/hashfunc.c b/src/backend/access/hash/hashfunc.c index 289d766..3e353d6 100644 --- a/src/backend/access/hash/hashfunc.c +++ b/src/backend/access/hash/hashfunc.c @@ -27,7 +27,7 @@ #include "postgres.h" #include "access/hash.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" /* * Datatype-specific hash functions. diff --git a/src/backend/access/index/amapi.c b/src/backend/access/index/amapi.c index 7b597a0..7915c71 100644 --- a/src/backend/access/index/amapi.c +++ b/src/backend/access/index/amapi.c @@ -17,7 +17,7 @@ #include "access/htup_details.h" #include "catalog/pg_am.h" #include "catalog/pg_opclass.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/syscache.h" diff --git a/src/backend/access/index/genam.c b/src/backend/access/index/genam.c index c4a393f..214cd92 100644 --- a/src/backend/access/index/genam.c +++ b/src/backend/access/index/genam.c @@ -26,7 +26,7 @@ #include "miscadmin.h" #include "storage/bufmgr.h" #include "utils/acl.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/lsyscache.h" #include "utils/rel.h" #include "utils/rls.h" diff --git a/src/backend/access/nbtree/nbtcompare.c b/src/backend/access/nbtree/nbtcompare.c index 4b131ef..22efd2f 100644 --- a/src/backend/access/nbtree/nbtcompare.c +++ b/src/backend/access/nbtree/nbtcompare.c @@ -48,7 +48,7 @@ */ #include "postgres.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/sortsupport.h" diff --git a/src/backend/access/nbtree/nbtree.c b/src/backend/access/nbtree/nbtree.c index 1bb1acf..aad1205 100644 --- a/src/backend/access/nbtree/nbtree.c +++ b/src/backend/access/nbtree/nbtree.c @@ -28,7 +28,7 @@ #include "storage/lmgr.h" #include "storage/smgr.h" #include "tcop/tcopprot.h" /* pgrminclude ignore */ -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/index_selfuncs.h" #include "utils/memutils.h" diff --git a/src/backend/access/spgist/spgkdtreeproc.c b/src/backend/access/spgist/spgkdtreeproc.c index 9a2649b..8085346 100644 --- a/src/backend/access/spgist/spgkdtreeproc.c +++ b/src/backend/access/spgist/spgkdtreeproc.c @@ -18,7 +18,7 @@ #include "access/spgist.h" #include "access/stratnum.h" #include "catalog/pg_type.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/geo_decls.h" diff --git a/src/backend/access/spgist/spgquadtreeproc.c b/src/backend/access/spgist/spgquadtreeproc.c index 6ad73f4..ce048bc 100644 --- a/src/backend/access/spgist/spgquadtreeproc.c +++ b/src/backend/access/spgist/spgquadtreeproc.c @@ -18,7 +18,7 @@ #include "access/spgist.h" #include "access/stratnum.h" #include "catalog/pg_type.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/geo_decls.h" diff --git a/src/backend/access/spgist/spgutils.c b/src/backend/access/spgist/spgutils.c index ca4b0bd..e62f85e 100644 --- a/src/backend/access/spgist/spgutils.c +++ b/src/backend/access/spgist/spgutils.c @@ -22,7 +22,7 @@ #include "storage/bufmgr.h" #include "storage/indexfsm.h" #include "storage/lmgr.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/index_selfuncs.h" #include "utils/lsyscache.h" diff --git a/src/backend/access/tablesample/bernoulli.c b/src/backend/access/tablesample/bernoulli.c index 5f6d478..67e508c 100644 --- a/src/backend/access/tablesample/bernoulli.c +++ b/src/backend/access/tablesample/bernoulli.c @@ -34,7 +34,7 @@ #include "catalog/pg_type.h" #include "optimizer/clauses.h" #include "optimizer/cost.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" /* Private state */ diff --git a/src/backend/access/tablesample/system.c b/src/backend/access/tablesample/system.c index e270cbc..914a6b6 100644 --- a/src/backend/access/tablesample/system.c +++ b/src/backend/access/tablesample/system.c @@ -35,7 +35,7 @@ #include "catalog/pg_type.h" #include "optimizer/clauses.h" #include "optimizer/cost.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" /* Private state */ diff --git a/src/backend/access/transam/commit_ts.c b/src/backend/access/transam/commit_ts.c index 2403de3..c5ead1b 100644 --- a/src/backend/access/transam/commit_ts.c +++ b/src/backend/access/transam/commit_ts.c @@ -33,7 +33,7 @@ #include "miscadmin.h" #include "pg_trace.h" #include "storage/shmem.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/snapmgr.h" #include "utils/timestamp.h" diff --git a/src/backend/access/transam/multixact.c b/src/backend/access/transam/multixact.c index 59d1252..b49e8c6 100644 --- a/src/backend/access/transam/multixact.c +++ b/src/backend/access/transam/multixact.c @@ -87,7 +87,7 @@ #include "storage/pmsignal.h" #include "storage/proc.h" #include "storage/procarray.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/memutils.h" #include "utils/snapmgr.h" diff --git a/src/backend/commands/amcmds.c b/src/backend/commands/amcmds.c index 29061b8..36e77ef 100644 --- a/src/backend/commands/amcmds.c +++ b/src/backend/commands/amcmds.c @@ -23,7 +23,7 @@ #include "commands/defrem.h" #include "miscadmin.h" #include "parser/parse_func.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/lsyscache.h" #include "utils/rel.h" #include "utils/syscache.h" diff --git a/src/backend/commands/collationcmds.c b/src/backend/commands/collationcmds.c index ccadfc2..cfccb7f 100644 --- a/src/backend/commands/collationcmds.c +++ b/src/backend/commands/collationcmds.c @@ -27,7 +27,7 @@ #include "commands/defrem.h" #include "mb/pg_wchar.h" #include "miscadmin.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/lsyscache.h" #include "utils/pg_locale.h" #include "utils/rel.h" diff --git a/src/backend/commands/constraint.c b/src/backend/commands/constraint.c index 77cf8ce..f8d4636 100644 --- a/src/backend/commands/constraint.c +++ b/src/backend/commands/constraint.c @@ -16,7 +16,7 @@ #include "catalog/index.h" #include "commands/trigger.h" #include "executor/executor.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/rel.h" #include "utils/tqual.h" diff --git a/src/backend/commands/conversioncmds.c b/src/backend/commands/conversioncmds.c index 9861d3d..fc7baee 100644 --- a/src/backend/commands/conversioncmds.c +++ b/src/backend/commands/conversioncmds.c @@ -25,7 +25,7 @@ #include "mb/pg_wchar.h" #include "miscadmin.h" #include "parser/parse_func.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/lsyscache.h" #include "utils/rel.h" #include "utils/syscache.h" diff --git a/src/backend/commands/define.c b/src/backend/commands/define.c index 714b525..37df0ca 100644 --- a/src/backend/commands/define.c +++ b/src/backend/commands/define.c @@ -40,7 +40,7 @@ #include "nodes/makefuncs.h" #include "parser/parse_type.h" #include "parser/scansup.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" /* * Extract a string value (otherwise uninterpreted) from a DefElem. diff --git a/src/backend/commands/dropcmds.c b/src/backend/commands/dropcmds.c index 96436c0..47c8c94 100644 --- a/src/backend/commands/dropcmds.c +++ b/src/backend/commands/dropcmds.c @@ -25,7 +25,7 @@ #include "miscadmin.h" #include "nodes/makefuncs.h" #include "parser/parse_type.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/syscache.h" diff --git a/src/backend/commands/operatorcmds.c b/src/backend/commands/operatorcmds.c index a273376..c071c01 100644 --- a/src/backend/commands/operatorcmds.c +++ b/src/backend/commands/operatorcmds.c @@ -48,7 +48,7 @@ #include "parser/parse_func.h" #include "parser/parse_oper.h" #include "parser/parse_type.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/lsyscache.h" #include "utils/rel.h" #include "utils/syscache.h" diff --git a/src/backend/executor/nodeFunctionscan.c b/src/backend/executor/nodeFunctionscan.c index 1b593dc..90d86ef 100644 --- a/src/backend/executor/nodeFunctionscan.c +++ b/src/backend/executor/nodeFunctionscan.c @@ -26,7 +26,7 @@ #include "executor/nodeFunctionscan.h" #include "funcapi.h" #include "nodes/nodeFuncs.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/memutils.h" diff --git a/src/backend/executor/nodeSamplescan.c b/src/backend/executor/nodeSamplescan.c index 8db5469..996e9c1 100644 --- a/src/backend/executor/nodeSamplescan.c +++ b/src/backend/executor/nodeSamplescan.c @@ -22,7 +22,7 @@ #include "miscadmin.h" #include "pgstat.h" #include "storage/predicate.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/rel.h" #include "utils/tqual.h" diff --git a/src/backend/parser/parse_agg.c b/src/backend/parser/parse_agg.c index 7be7fe9..db815b3 100644 --- a/src/backend/parser/parse_agg.c +++ b/src/backend/parser/parse_agg.c @@ -27,7 +27,7 @@ #include "parser/parse_expr.h" #include "parser/parsetree.h" #include "rewrite/rewriteManip.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/lsyscache.h" diff --git a/src/backend/replication/basebackup.c b/src/backend/replication/basebackup.c index 09ecc15..8bd9da1 100644 --- a/src/backend/replication/basebackup.c +++ b/src/backend/replication/basebackup.c @@ -33,7 +33,7 @@ #include "storage/dsm_impl.h" #include "storage/fd.h" #include "storage/ipc.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/elog.h" #include "utils/ps_status.h" #include "utils/timestamp.h" diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c index 10d69d0..66ce947 100644 --- a/src/backend/replication/slot.c +++ b/src/backend/replication/slot.c @@ -47,7 +47,7 @@ #include "storage/fd.h" #include "storage/proc.h" #include "storage/procarray.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" /* * Replication slot on-disk data structure. diff --git a/src/backend/replication/syncrep.c b/src/backend/replication/syncrep.c index 20a1441..9c2fc99 100644 --- a/src/backend/replication/syncrep.c +++ b/src/backend/replication/syncrep.c @@ -79,7 +79,7 @@ #include "storage/pmsignal.h" #include "storage/proc.h" #include "tcop/tcopprot.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/ps_status.h" /* User-settable parameters for sync rep */ diff --git a/src/backend/storage/smgr/smgrtype.c b/src/backend/storage/smgr/smgrtype.c index dc81fe8..6c2b409 100644 --- a/src/backend/storage/smgr/smgrtype.c +++ b/src/backend/storage/smgr/smgrtype.c @@ -15,7 +15,7 @@ #include "postgres.h" #include "storage/smgr.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" typedef struct smgrid diff --git a/src/backend/tsearch/dict_ispell.c b/src/backend/tsearch/dict_ispell.c index b4576bf..6f57a83 100644 --- a/src/backend/tsearch/dict_ispell.c +++ b/src/backend/tsearch/dict_ispell.c @@ -17,7 +17,7 @@ #include "tsearch/dicts/spell.h" #include "tsearch/ts_locale.h" #include "tsearch/ts_utils.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" typedef struct diff --git a/src/backend/tsearch/dict_simple.c b/src/backend/tsearch/dict_simple.c index c361362..9643e21 100644 --- a/src/backend/tsearch/dict_simple.c +++ b/src/backend/tsearch/dict_simple.c @@ -16,7 +16,7 @@ #include "commands/defrem.h" #include "tsearch/ts_locale.h" #include "tsearch/ts_utils.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" typedef struct diff --git a/src/backend/tsearch/dict_synonym.c b/src/backend/tsearch/dict_synonym.c index e67d2e6..8651204 100644 --- a/src/backend/tsearch/dict_synonym.c +++ b/src/backend/tsearch/dict_synonym.c @@ -16,7 +16,7 @@ #include "commands/defrem.h" #include "tsearch/ts_locale.h" #include "tsearch/ts_utils.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" typedef struct { diff --git a/src/backend/tsearch/ts_selfuncs.c b/src/backend/tsearch/ts_selfuncs.c index 904d884..bff2c60 100644 --- a/src/backend/tsearch/ts_selfuncs.c +++ b/src/backend/tsearch/ts_selfuncs.c @@ -19,7 +19,7 @@ #include "miscadmin.h" #include "nodes/nodes.h" #include "tsearch/ts_type.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/lsyscache.h" #include "utils/selfuncs.h" #include "utils/syscache.h" diff --git a/src/backend/utils/adt/array_selfuncs.c b/src/backend/utils/adt/array_selfuncs.c index 50e8145..0e3111c 100644 --- a/src/backend/utils/adt/array_selfuncs.c +++ b/src/backend/utils/adt/array_selfuncs.c @@ -22,7 +22,7 @@ #include "catalog/pg_statistic.h" #include "optimizer/clauses.h" #include "utils/array.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/lsyscache.h" #include "utils/selfuncs.h" #include "utils/typcache.h" diff --git a/src/backend/utils/adt/array_typanalyze.c b/src/backend/utils/adt/array_typanalyze.c index 85b7a43..ed4c685 100644 --- a/src/backend/utils/adt/array_typanalyze.c +++ b/src/backend/utils/adt/array_typanalyze.c @@ -18,7 +18,7 @@ #include "catalog/pg_collation.h" #include "commands/vacuum.h" #include "utils/array.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/datum.h" #include "utils/lsyscache.h" #include "utils/typcache.h" diff --git a/src/backend/utils/adt/ascii.c b/src/backend/utils/adt/ascii.c index e219d4b..20d033d 100644 --- a/src/backend/utils/adt/ascii.c +++ b/src/backend/utils/adt/ascii.c @@ -13,7 +13,7 @@ #include "mb/pg_wchar.h" #include "utils/ascii.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" static void pg_to_ascii(unsigned char *src, unsigned char *src_end, unsigned char *dest, int enc); diff --git a/src/backend/utils/adt/char.c b/src/backend/utils/adt/char.c index f0c4d25..2ffd021 100644 --- a/src/backend/utils/adt/char.c +++ b/src/backend/utils/adt/char.c @@ -18,7 +18,7 @@ #include <limits.h> #include "libpq/pqformat.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" /***************************************************************************** * USER I/O ROUTINES * diff --git a/src/backend/utils/adt/geo_selfuncs.c b/src/backend/utils/adt/geo_selfuncs.c index 774063e..82fcb58 100644 --- a/src/backend/utils/adt/geo_selfuncs.c +++ b/src/backend/utils/adt/geo_selfuncs.c @@ -18,7 +18,7 @@ */ #include "postgres.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/geo_decls.h" diff --git a/src/backend/utils/adt/jsonb_op.c b/src/backend/utils/adt/jsonb_op.c index d4c490e..4b27b62 100644 --- a/src/backend/utils/adt/jsonb_op.c +++ b/src/backend/utils/adt/jsonb_op.c @@ -15,7 +15,7 @@ #include "catalog/pg_type.h" #include "miscadmin.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/jsonb.h" Datum diff --git a/src/backend/utils/adt/like.c b/src/backend/utils/adt/like.c index 91fe109..67b1a87 100644 --- a/src/backend/utils/adt/like.c +++ b/src/backend/utils/adt/like.c @@ -22,7 +22,7 @@ #include "catalog/pg_collation.h" #include "mb/pg_wchar.h" #include "miscadmin.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/pg_locale.h" diff --git a/src/backend/utils/adt/mac.c b/src/backend/utils/adt/mac.c index 509315a..e93fa5f 100644 --- a/src/backend/utils/adt/mac.c +++ b/src/backend/utils/adt/mac.c @@ -8,7 +8,7 @@ #include "access/hash.h" #include "libpq/pqformat.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/inet.h" diff --git a/src/backend/utils/adt/network_gist.c b/src/backend/utils/adt/network_gist.c index a0097da..83f655d 100644 --- a/src/backend/utils/adt/network_gist.c +++ b/src/backend/utils/adt/network_gist.c @@ -49,7 +49,7 @@ #include "access/gist.h" #include "access/stratnum.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/inet.h" /* diff --git a/src/backend/utils/adt/network_selfuncs.c b/src/backend/utils/adt/network_selfuncs.c index bcdd902..cbf496d 100644 --- a/src/backend/utils/adt/network_selfuncs.c +++ b/src/backend/utils/adt/network_selfuncs.c @@ -23,7 +23,7 @@ #include "access/htup_details.h" #include "catalog/pg_operator.h" #include "catalog/pg_statistic.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/inet.h" #include "utils/lsyscache.h" #include "utils/selfuncs.h" diff --git a/src/backend/utils/adt/network_spgist.c b/src/backend/utils/adt/network_spgist.c index c48f45f..7b2ef3a 100644 --- a/src/backend/utils/adt/network_spgist.c +++ b/src/backend/utils/adt/network_spgist.c @@ -35,7 +35,7 @@ #include "access/spgist.h" #include "catalog/pg_type.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/inet.h" diff --git a/src/backend/utils/adt/orderedsetaggs.c b/src/backend/utils/adt/orderedsetaggs.c index f9f18f2..75d4ca4 100644 --- a/src/backend/utils/adt/orderedsetaggs.c +++ b/src/backend/utils/adt/orderedsetaggs.c @@ -24,7 +24,7 @@ #include "nodes/nodeFuncs.h" #include "optimizer/tlist.h" #include "utils/array.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/lsyscache.h" #include "utils/timestamp.h" #include "utils/tuplesort.h" diff --git a/src/backend/utils/adt/pg_lsn.c b/src/backend/utils/adt/pg_lsn.c index 16c9a07..27fb346 100644 --- a/src/backend/utils/adt/pg_lsn.c +++ b/src/backend/utils/adt/pg_lsn.c @@ -16,7 +16,7 @@ #include "access/hash.h" #include "funcapi.h" #include "libpq/pqformat.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/pg_lsn.h" #define MAXPG_LSNLEN 17 diff --git a/src/backend/utils/adt/pseudotypes.c b/src/backend/utils/adt/pseudotypes.c index be79353..0ca18ca 100644 --- a/src/backend/utils/adt/pseudotypes.c +++ b/src/backend/utils/adt/pseudotypes.c @@ -24,7 +24,7 @@ #include "libpq/pqformat.h" #include "utils/array.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/rangetypes.h" diff --git a/src/backend/utils/adt/rangetypes_spgist.c b/src/backend/utils/adt/rangetypes_spgist.c index a887e55..e884135 100644 --- a/src/backend/utils/adt/rangetypes_spgist.c +++ b/src/backend/utils/adt/rangetypes_spgist.c @@ -39,7 +39,7 @@ #include "access/spgist.h" #include "access/stratnum.h" #include "catalog/pg_type.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/datum.h" #include "utils/rangetypes.h" diff --git a/src/backend/utils/adt/trigfuncs.c b/src/backend/utils/adt/trigfuncs.c index 50ea6d9..e30df49 100644 --- a/src/backend/utils/adt/trigfuncs.c +++ b/src/backend/utils/adt/trigfuncs.c @@ -15,7 +15,7 @@ #include "access/htup_details.h" #include "commands/trigger.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/rel.h" diff --git a/src/backend/utils/adt/tsgistidx.c b/src/backend/utils/adt/tsgistidx.c index 7ce2699..ccd3bc5 100644 --- a/src/backend/utils/adt/tsgistidx.c +++ b/src/backend/utils/adt/tsgistidx.c @@ -17,7 +17,7 @@ #include "access/gist.h" #include "access/tuptoaster.h" #include "tsearch/ts_utils.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/pg_crc.h" diff --git a/src/backend/utils/adt/tsquery_gist.c b/src/backend/utils/adt/tsquery_gist.c index 85518dc..4d56860 100644 --- a/src/backend/utils/adt/tsquery_gist.c +++ b/src/backend/utils/adt/tsquery_gist.c @@ -17,7 +17,7 @@ #include "access/stratnum.h" #include "access/gist.h" #include "tsearch/ts_utils.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #define GETENTRY(vec,pos) DatumGetTSQuerySign((vec)->vector[pos].key) diff --git a/src/backend/utils/adt/tsquery_op.c b/src/backend/utils/adt/tsquery_op.c index 755c3e9..5cd7e0d 100644 --- a/src/backend/utils/adt/tsquery_op.c +++ b/src/backend/utils/adt/tsquery_op.c @@ -15,7 +15,7 @@ #include "postgres.h" #include "tsearch/ts_utils.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" Datum tsquery_numnode(PG_FUNCTION_ARGS) diff --git a/src/backend/utils/adt/tsrank.c b/src/backend/utils/adt/tsrank.c index 9b2cd6d..aa3415a 100644 --- a/src/backend/utils/adt/tsrank.c +++ b/src/backend/utils/adt/tsrank.c @@ -18,7 +18,7 @@ #include "tsearch/ts_utils.h" #include "utils/array.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "miscadmin.h" diff --git a/src/backend/utils/adt/tsvector.c b/src/backend/utils/adt/tsvector.c index 6f66c1f..86025ae 100644 --- a/src/backend/utils/adt/tsvector.c +++ b/src/backend/utils/adt/tsvector.c @@ -17,7 +17,7 @@ #include "libpq/pqformat.h" #include "tsearch/ts_locale.h" #include "tsearch/ts_utils.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/memutils.h" typedef struct diff --git a/src/backend/utils/adt/txid.c b/src/backend/utils/adt/txid.c index 4945c43..18fc3c5 100644 --- a/src/backend/utils/adt/txid.c +++ b/src/backend/utils/adt/txid.c @@ -28,7 +28,7 @@ #include "miscadmin.h" #include "libpq/pqformat.h" #include "postmaster/postmaster.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/memutils.h" #include "utils/snapmgr.h" diff --git a/src/backend/utils/adt/uuid.c b/src/backend/utils/adt/uuid.c index 3221166..ab36966 100644 --- a/src/backend/utils/adt/uuid.c +++ b/src/backend/utils/adt/uuid.c @@ -17,7 +17,7 @@ #include "lib/hyperloglog.h" #include "libpq/pqformat.h" #include "port/pg_bswap.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/guc.h" #include "utils/sortsupport.h" #include "utils/uuid.h" diff --git a/src/backend/utils/adt/varbit.c b/src/backend/utils/adt/varbit.c index af39d4c..342af7c 100644 --- a/src/backend/utils/adt/varbit.c +++ b/src/backend/utils/adt/varbit.c @@ -20,7 +20,7 @@ #include "libpq/pqformat.h" #include "nodes/nodeFuncs.h" #include "utils/array.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/varbit.h" #define HEXDIG(z) ((z)<10 ? ((z)+'0') : ((z)-10+'A')) diff --git a/src/backend/utils/adt/windowfuncs.c b/src/backend/utils/adt/windowfuncs.c index 4e714cd..a029604 100644 --- a/src/backend/utils/adt/windowfuncs.c +++ b/src/backend/utils/adt/windowfuncs.c @@ -13,7 +13,7 @@ */ #include "postgres.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "windowapi.h" /* diff --git a/src/backend/utils/cache/relfilenodemap.c b/src/backend/utils/cache/relfilenodemap.c index c790309..c268025 100644 --- a/src/backend/utils/cache/relfilenodemap.c +++ b/src/backend/utils/cache/relfilenodemap.c @@ -20,7 +20,7 @@ #include "catalog/pg_class.h" #include "catalog/pg_tablespace.h" #include "miscadmin.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/catcache.h" #include "utils/hsearch.h" #include "utils/inval.h" diff --git a/src/backend/utils/mb/encnames.c b/src/backend/utils/mb/encnames.c index 11099b8..5b41c5e 100644 --- a/src/backend/utils/mb/encnames.c +++ b/src/backend/utils/mb/encnames.c @@ -8,7 +8,7 @@ #include "postgres_fe.h" #else #include "postgres.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #endif #include <ctype.h> diff --git a/src/backend/utils/mb/mbutils.c b/src/backend/utils/mb/mbutils.c index 95644e3..1e1e861 100644 --- a/src/backend/utils/mb/mbutils.c +++ b/src/backend/utils/mb/mbutils.c @@ -37,7 +37,7 @@ #include "access/xact.h" #include "catalog/namespace.h" #include "mb/pg_wchar.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/memutils.h" #include "utils/syscache.h" diff --git a/src/backend/utils/misc/pg_config.c b/src/backend/utils/misc/pg_config.c index 468c7cc..8e7f3b9 100644 --- a/src/backend/utils/misc/pg_config.c +++ b/src/backend/utils/misc/pg_config.c @@ -18,7 +18,7 @@ #include "miscadmin.h" #include "catalog/pg_type.h" #include "common/config_info.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/elog.h" #include "port.h" diff --git a/src/pl/plpython/plpy_exec.c b/src/pl/plpython/plpy_exec.c index 697a0e1..1743837 100644 --- a/src/pl/plpython/plpy_exec.c +++ b/src/pl/plpython/plpy_exec.c @@ -12,7 +12,7 @@ #include "commands/trigger.h" #include "executor/spi.h" #include "funcapi.h" -#include "utils/builtins.h" +#include "utils/fmgrprotos.h" #include "utils/rel.h" #include "utils/typcache.h"
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers