diff --git a/pgsql/StackBuilder/share/.DS_Store b/pgsql/StackBuilder/share/.DS_Store
new file mode 100644
index 0000000000000000000000000000000000000000..f1a733ca8301f72a32e4b477ebc1457a6a0d4c43
Binary files /dev/null and b/pgsql/StackBuilder/share/.DS_Store differ
diff --git a/pgsql/StackBuilder/share/._.DS_Store b/pgsql/StackBuilder/share/._.DS_Store
new file mode 100644
index 0000000000000000000000000000000000000000..794d3215f40e4babede1fc1cc75c6e77a74f5f13
Binary files /dev/null and b/pgsql/StackBuilder/share/._.DS_Store differ
diff --git a/pgsql/StackBuilder/share/._i18n b/pgsql/StackBuilder/share/._i18n
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/._i18n differ
diff --git a/pgsql/StackBuilder/share/i18n/._de_DE b/pgsql/StackBuilder/share/i18n/._de_DE
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/._de_DE differ
diff --git a/pgsql/StackBuilder/share/i18n/._fr_FR b/pgsql/StackBuilder/share/i18n/._fr_FR
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/._fr_FR differ
diff --git a/pgsql/StackBuilder/share/i18n/._ja_JP b/pgsql/StackBuilder/share/i18n/._ja_JP
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/._ja_JP differ
diff --git a/pgsql/StackBuilder/share/i18n/._ru_RU b/pgsql/StackBuilder/share/i18n/._ru_RU
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/._ru_RU differ
diff --git a/pgsql/StackBuilder/share/i18n/._sv_SE b/pgsql/StackBuilder/share/i18n/._sv_SE
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/._sv_SE differ
diff --git a/pgsql/StackBuilder/share/i18n/._tr_TR b/pgsql/StackBuilder/share/i18n/._tr_TR
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/._tr_TR differ
diff --git a/pgsql/StackBuilder/share/i18n/._zh_CN b/pgsql/StackBuilder/share/i18n/._zh_CN
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/._zh_CN differ
diff --git a/pgsql/StackBuilder/share/i18n/de_DE/._StackBuilder.mo b/pgsql/StackBuilder/share/i18n/de_DE/._StackBuilder.mo
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/de_DE/._StackBuilder.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/de_DE/._wxstd.mo b/pgsql/StackBuilder/share/i18n/de_DE/._wxstd.mo
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/de_DE/._wxstd.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/de_DE/StackBuilder.mo b/pgsql/StackBuilder/share/i18n/de_DE/StackBuilder.mo
new file mode 100644
index 0000000000000000000000000000000000000000..db4ddbb587f82c3384f16563d2d9af35d83948e1
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/de_DE/StackBuilder.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/de_DE/wxstd.mo b/pgsql/StackBuilder/share/i18n/de_DE/wxstd.mo
new file mode 100644
index 0000000000000000000000000000000000000000..d99829207291cc74bc4320b6a385fee12acc15a7
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/de_DE/wxstd.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/fr_FR/._StackBuilder.mo b/pgsql/StackBuilder/share/i18n/fr_FR/._StackBuilder.mo
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/fr_FR/._StackBuilder.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/fr_FR/._wxstd.mo b/pgsql/StackBuilder/share/i18n/fr_FR/._wxstd.mo
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/fr_FR/._wxstd.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/fr_FR/StackBuilder.mo b/pgsql/StackBuilder/share/i18n/fr_FR/StackBuilder.mo
new file mode 100644
index 0000000000000000000000000000000000000000..7f2a40aa997f7298c269c6c8072231cd72d2cba7
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/fr_FR/StackBuilder.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/ja_JP/._StackBuilder.mo b/pgsql/StackBuilder/share/i18n/ja_JP/._StackBuilder.mo
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/ja_JP/._StackBuilder.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/ja_JP/._wxstd.mo b/pgsql/StackBuilder/share/i18n/ja_JP/._wxstd.mo
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/ja_JP/._wxstd.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/ja_JP/StackBuilder.mo b/pgsql/StackBuilder/share/i18n/ja_JP/StackBuilder.mo
new file mode 100644
index 0000000000000000000000000000000000000000..dcf0e5c580e90ceac6914664d68e5a4ee354b5d7
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/ja_JP/StackBuilder.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/ru_RU/._StackBuilder.mo b/pgsql/StackBuilder/share/i18n/ru_RU/._StackBuilder.mo
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/ru_RU/._StackBuilder.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/ru_RU/._wxstd.mo b/pgsql/StackBuilder/share/i18n/ru_RU/._wxstd.mo
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/ru_RU/._wxstd.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/ru_RU/StackBuilder.mo b/pgsql/StackBuilder/share/i18n/ru_RU/StackBuilder.mo
new file mode 100644
index 0000000000000000000000000000000000000000..b2870508796db9d404ff16b0203d60dcc076dbed
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/ru_RU/StackBuilder.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/ru_RU/wxstd.mo b/pgsql/StackBuilder/share/i18n/ru_RU/wxstd.mo
new file mode 100644
index 0000000000000000000000000000000000000000..9c942268aabd13577d04ca19d80cde694a2dd328
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/ru_RU/wxstd.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/sv_SE/._StackBuilder.mo b/pgsql/StackBuilder/share/i18n/sv_SE/._StackBuilder.mo
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/sv_SE/._StackBuilder.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/sv_SE/._wxstd.mo b/pgsql/StackBuilder/share/i18n/sv_SE/._wxstd.mo
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/sv_SE/._wxstd.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/sv_SE/StackBuilder.mo b/pgsql/StackBuilder/share/i18n/sv_SE/StackBuilder.mo
new file mode 100644
index 0000000000000000000000000000000000000000..6f03e31ec25072acfa7ce9f031118c53dc9ef003
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/sv_SE/StackBuilder.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/tr_TR/._StackBuilder.mo b/pgsql/StackBuilder/share/i18n/tr_TR/._StackBuilder.mo
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/tr_TR/._StackBuilder.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/tr_TR/._wxstd.mo b/pgsql/StackBuilder/share/i18n/tr_TR/._wxstd.mo
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/tr_TR/._wxstd.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/tr_TR/StackBuilder.mo b/pgsql/StackBuilder/share/i18n/tr_TR/StackBuilder.mo
new file mode 100644
index 0000000000000000000000000000000000000000..0650212ff8234781405f77703607fb2f8efed50d
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/tr_TR/StackBuilder.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/tr_TR/wxstd.mo b/pgsql/StackBuilder/share/i18n/tr_TR/wxstd.mo
new file mode 100644
index 0000000000000000000000000000000000000000..211f8d21d6e6f16f15afa7568ced2bb790e224b3
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/tr_TR/wxstd.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/zh_CN/._StackBuilder.mo b/pgsql/StackBuilder/share/i18n/zh_CN/._StackBuilder.mo
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/zh_CN/._StackBuilder.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/zh_CN/._wxstd.mo b/pgsql/StackBuilder/share/i18n/zh_CN/._wxstd.mo
new file mode 100644
index 0000000000000000000000000000000000000000..2dc5d2394f40ba233247692438e687ee3bec5b8f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/zh_CN/._wxstd.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/zh_CN/StackBuilder.mo b/pgsql/StackBuilder/share/i18n/zh_CN/StackBuilder.mo
new file mode 100644
index 0000000000000000000000000000000000000000..b0421c3af9006479fccdaf25033ce771eeb21a04
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/zh_CN/StackBuilder.mo differ
diff --git a/pgsql/StackBuilder/share/i18n/zh_CN/wxstd.mo b/pgsql/StackBuilder/share/i18n/zh_CN/wxstd.mo
new file mode 100644
index 0000000000000000000000000000000000000000..df0f4da773f6e7929b06c18e31ba7399df17e55f
Binary files /dev/null and b/pgsql/StackBuilder/share/i18n/zh_CN/wxstd.mo differ
diff --git a/pgsql/bin/._libzstd.dll b/pgsql/bin/._libzstd.dll
new file mode 100644
index 0000000000000000000000000000000000000000..749593a18f8992e97ad9f7a61647c58db68beb35
Binary files /dev/null and b/pgsql/bin/._libzstd.dll differ
diff --git a/pgsql/bin/icuio67.dll b/pgsql/bin/icuio67.dll
new file mode 100644
index 0000000000000000000000000000000000000000..c10922b0290004e4d617c94a14d67ec326efc4c5
Binary files /dev/null and b/pgsql/bin/icuio67.dll differ
diff --git a/pgsql/bin/isolationtester.exe b/pgsql/bin/isolationtester.exe
new file mode 100644
index 0000000000000000000000000000000000000000..b0768bdd7a008bc60db30cce09abff92eb89e871
Binary files /dev/null and b/pgsql/bin/isolationtester.exe differ
diff --git a/pgsql/bin/libecpg.dll b/pgsql/bin/libecpg.dll
new file mode 100644
index 0000000000000000000000000000000000000000..ea4f33eed7f83ed784b23e76efecbae3158fe14a
Binary files /dev/null and b/pgsql/bin/libecpg.dll differ
diff --git a/pgsql/bin/libecpg_compat.dll b/pgsql/bin/libecpg_compat.dll
new file mode 100644
index 0000000000000000000000000000000000000000..44248e1e6fb0ee220724672fec686e87e7da67f5
Binary files /dev/null and b/pgsql/bin/libecpg_compat.dll differ
diff --git a/pgsql/bin/libpgtypes.dll b/pgsql/bin/libpgtypes.dll
new file mode 100644
index 0000000000000000000000000000000000000000..710c5b6148ef1a6285a97e88b23c32e07892823a
Binary files /dev/null and b/pgsql/bin/libpgtypes.dll differ
diff --git a/pgsql/bin/libpq_pipeline.exe b/pgsql/bin/libpq_pipeline.exe
new file mode 100644
index 0000000000000000000000000000000000000000..9bb5cdcb657ab4eda1e7164169e95f25902f5c14
Binary files /dev/null and b/pgsql/bin/libpq_pipeline.exe differ
diff --git a/pgsql/bin/libpq_testclient.exe b/pgsql/bin/libpq_testclient.exe
new file mode 100644
index 0000000000000000000000000000000000000000..e5740da1b45b209b04bc2dfd08a6ddfba46b262c
Binary files /dev/null and b/pgsql/bin/libpq_testclient.exe differ
diff --git a/pgsql/bin/libpq_uri_regress.exe b/pgsql/bin/libpq_uri_regress.exe
new file mode 100644
index 0000000000000000000000000000000000000000..2d5a9b0878d7d8369aa82010b233d96dd9f810a1
Binary files /dev/null and b/pgsql/bin/libpq_uri_regress.exe differ
diff --git a/pgsql/bin/libwinpthread-1.dll b/pgsql/bin/libwinpthread-1.dll
new file mode 100644
index 0000000000000000000000000000000000000000..2d5ecc2eb2aeab0c2c183a5b97014285ea6b2df2
Binary files /dev/null and b/pgsql/bin/libwinpthread-1.dll differ
diff --git a/pgsql/bin/oid2name.exe b/pgsql/bin/oid2name.exe
new file mode 100644
index 0000000000000000000000000000000000000000..3caa79465163e43250cb900685e5c74c78fb14be
Binary files /dev/null and b/pgsql/bin/oid2name.exe differ
diff --git a/pgsql/bin/pg_archivecleanup.exe b/pgsql/bin/pg_archivecleanup.exe
new file mode 100644
index 0000000000000000000000000000000000000000..8a80b41f984b37e1c4c73e17851551995040b8ea
Binary files /dev/null and b/pgsql/bin/pg_archivecleanup.exe differ
diff --git a/pgsql/bin/pg_config.exe b/pgsql/bin/pg_config.exe
new file mode 100644
index 0000000000000000000000000000000000000000..127d551f04f2ec5931ba488b6eed5b9ec48c4dd3
Binary files /dev/null and b/pgsql/bin/pg_config.exe differ
diff --git a/pgsql/bin/pg_controldata.exe b/pgsql/bin/pg_controldata.exe
new file mode 100644
index 0000000000000000000000000000000000000000..3063826ffa4f53ccd118497479b7dc72a0c6e246
Binary files /dev/null and b/pgsql/bin/pg_controldata.exe differ
diff --git a/pgsql/bin/pg_test_fsync.exe b/pgsql/bin/pg_test_fsync.exe
new file mode 100644
index 0000000000000000000000000000000000000000..b0a588bf11e0fbe4d5205d10e4c3be47ac2f7a19
Binary files /dev/null and b/pgsql/bin/pg_test_fsync.exe differ
diff --git a/pgsql/bin/pg_test_timing.exe b/pgsql/bin/pg_test_timing.exe
new file mode 100644
index 0000000000000000000000000000000000000000..d100727d98e0d47185c3ed51f106ea1d90023161
Binary files /dev/null and b/pgsql/bin/pg_test_timing.exe differ
diff --git a/pgsql/bin/vacuumlo.exe b/pgsql/bin/vacuumlo.exe
new file mode 100644
index 0000000000000000000000000000000000000000..accad84e2051c61e3782e96f8b5765b1e2384868
Binary files /dev/null and b/pgsql/bin/vacuumlo.exe differ
diff --git a/pgsql/bin/wxmsw32u_adv_vc_custom.dll b/pgsql/bin/wxmsw32u_adv_vc_custom.dll
new file mode 100644
index 0000000000000000000000000000000000000000..73967a6d446535f391c8bff4f5736ccc02dd5a4e
Binary files /dev/null and b/pgsql/bin/wxmsw32u_adv_vc_custom.dll differ
diff --git a/pgsql/bin/zlib1.dll b/pgsql/bin/zlib1.dll
new file mode 100644
index 0000000000000000000000000000000000000000..fb7f9c617f56bc0e37b355a951f4c994f1f3bfae
Binary files /dev/null and b/pgsql/bin/zlib1.dll differ
diff --git a/pgsql/doc/README.pldebugger b/pgsql/doc/README.pldebugger
new file mode 100644
index 0000000000000000000000000000000000000000..20c0e79f9cc2a58d308d0f37ed45acffc57b3355
--- /dev/null
+++ b/pgsql/doc/README.pldebugger
@@ -0,0 +1,113 @@
+PostgreSQL pl/pgsql Debugger API
+================================
+
+This module is a set of shared libraries which implement an API for debugging
+pl/pgsql functions on PostgreSQL 8.4 and above. The pgAdmin project
+(http://www.pgadmin.org/) provides a client user interface as part of pgAdmin
+III v1.10.0 and above, and pgAdmin 4.
+
+If you wish to debug functions on PostgreSQL 8.4, 9.0 or 9.1, please checkout
+the PRE-9_2 branch from GIT.
+
+If you wish to debug functions on PostgreSQL 8.2 or 8.3, please checkout the
+PRE_8_4_SERVER branch from CVS.
+
+
+Installation
+------------
+
+- Copy this directory to contrib/ in your PostgreSQL source tree.
+
+- Run 'make; make install'
+
+- Edit your postgresql.conf file, and modify the shared_preload_libraries config
+ option to look like:
+
+ shared_preload_libraries = '$libdir/plugin_debugger'
+
+- Restart PostgreSQL for the new setting to take effect.
+
+- Run the following command in the database or databases that you wish to
+ debug functions in:
+
+ CREATE EXTENSION pldbgapi;
+
+ (on server versions older than 9.1, you must instead run the pldbgapi--1.1.sql
+ script directly using psql).
+
+
+Usage
+-----
+
+Connect pgAdmin to the database containing the functions you wish to debug.
+Right-click the function to debug, and select Debugging->Debug to execute and
+debug the function immediately, or select Debugging->Set Global Breakpoint to
+set a breakpoint on the function. This will cause the debugger to wait for
+another session (such as a backend servicing a web app) to execute the function
+and allow you to debug in-context.
+
+For further information, please see the pgAdmin documentation.
+
+
+Troubleshooting
+---------------
+
+The majority of problems we've encountered with the plugin are caused by
+failing to add (or incorrectly adding) the debugger plugin library to the
+shared_preload_libraries configuration directive in postgresql.conf (following
+which, the server *must* be restarted). This will prevent global breakpoints
+working on all platforms, and on some (notably Windows) may prevent the
+pldbgapi.sql script from executing correctly.
+
+
+Architecture
+------------
+
+The debugger consists of three parts:
+
+1. The client. This is typically a GUI displays the source code, current
+ stack frame, variables etc, and allows the user to set breakpoints and
+ step throught the code. The client can reside on a different host than
+ the database server.
+
+2. The target backend. This is the backend that runs the code being debugged.
+ The plugin_debugger.so library must be loaded into the target backend.
+
+3. Debugging proxy. This is another backend process that the client is
+ connected to. The API functions, pldbg_* in pldbgapi.so library, are
+ run in this backend.
+
+The client is to connected to the debugging proxy using a regular libpq
+connection. When a debugging session is active, the proxy is connected
+to the target via a socket. The protocol between the proxy and the target
+backend is not visible to others, and is subject to change. The pldbg_*
+API functions form the public interface to the debugging facility.
+
+
+debugger client *------ libpq --------* Proxy backend
+ (pgAdmin) *
+ |
+ pldebugger socket connection
+ |
+ *
+application client *----- libpq -------* Target backend
+
+
+Licence
+-------
+
+The pl/pgsql debugger API is released under the Artistic Licence v2.0.
+
+ https://opensource.org/licenses/artistic-license-2.0
+
+Copyright (c) 2004-2022 EnterpriseDB Corporation. All Rights Reserved.
+
+
+Contact
+-------
+
+For support, please email the pgAdmin support mailing list. See
+
+http://www.pgadmin.org/support/
+
+for more details.
diff --git a/pgsql/include/._uuid.h b/pgsql/include/._uuid.h
new file mode 100644
index 0000000000000000000000000000000000000000..76061f6185f6b484bfe88f9daa10e438b446feff
Binary files /dev/null and b/pgsql/include/._uuid.h differ
diff --git a/pgsql/include/._zstd.h b/pgsql/include/._zstd.h
new file mode 100644
index 0000000000000000000000000000000000000000..749593a18f8992e97ad9f7a61647c58db68beb35
Binary files /dev/null and b/pgsql/include/._zstd.h differ
diff --git a/pgsql/include/autosprintf.h b/pgsql/include/autosprintf.h
new file mode 100644
index 0000000000000000000000000000000000000000..1c9eb18a1571b40a83ce05c6a74e5344b0d96291
--- /dev/null
+++ b/pgsql/include/autosprintf.h
@@ -0,0 +1,67 @@
+/* Class autosprintf - formatted output to an ostream.
+ Copyright (C) 2002, 2012-2016 Free Software Foundation, Inc.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this program. If not, see . */
+
+#ifndef _AUTOSPRINTF_H
+#define _AUTOSPRINTF_H
+
+/* This feature is available in gcc versions 2.5 and later. */
+#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__
+# define _AUTOSPRINTF_ATTRIBUTE_FORMAT() /* empty */
+#else
+/* The __-protected variants of 'format' and 'printf' attributes
+ are accepted by gcc versions 2.6.4 (effectively 2.7) and later. */
+# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
+# define _AUTOSPRINTF_ATTRIBUTE_FORMAT() \
+ __attribute__ ((__format__ (__printf__, 2, 3)))
+# else
+# define _AUTOSPRINTF_ATTRIBUTE_FORMAT() \
+ __attribute__ ((format (printf, 2, 3)))
+# endif
+#endif
+
+#include
+#include
+
+namespace gnu
+{
+ /* A temporary object, usually allocated on the stack, representing
+ the result of an asprintf() call. */
+ class autosprintf
+ {
+ public:
+ /* Constructor: takes a format string and the printf arguments. */
+ autosprintf (const char *format, ...)
+ _AUTOSPRINTF_ATTRIBUTE_FORMAT();
+ /* Copy constructor. */
+ autosprintf (const autosprintf& src);
+ autosprintf& operator = (autosprintf copy);
+ /* Destructor: frees the temporarily allocated string. */
+ ~autosprintf ();
+ /* Conversion to string. */
+ operator char * () const;
+ operator std::string () const;
+ /* Output to an ostream. */
+ friend inline std::ostream& operator<< (std::ostream& stream, const autosprintf& tmp)
+ {
+ stream << (tmp.str ? tmp.str : "(error in autosprintf)");
+ return stream;
+ }
+ private:
+ char *str;
+ };
+}
+
+#endif /* _AUTOSPRINTF_H */
diff --git a/pgsql/include/ecpg_config.h b/pgsql/include/ecpg_config.h
new file mode 100644
index 0000000000000000000000000000000000000000..031010d9973f2b5744701db408347a609d52736d
--- /dev/null
+++ b/pgsql/include/ecpg_config.h
@@ -0,0 +1,19 @@
+/* src/interfaces/ecpg/include/ecpg_config.h. Generated from src/interfaces/ecpg/include/ecpg_config.h.in by src/tools/msvc/Solution.pm. */
+/* Define to 1 to build client libraries as thread-safe code.
+ * (--enable-thread-safety) */
+#define ENABLE_THREAD_SAFETY 1
+
+/* Define to 1 if the system has the type `int64'. */
+/* #undef HAVE_INT64 */
+
+/* Define to 1 if `long int' works and is 64 bits. */
+/* #undef HAVE_LONG_INT_64 */
+
+/* Define to 1 if the system has the type `long long int'. */
+#define HAVE_LONG_LONG_INT 1
+
+/* Define to 1 if `long long int' works and is 64 bits. */
+#define HAVE_LONG_LONG_INT_64 1
+
+/* Define to 1 to use to define type bool. */
+#define PG_USE_STDBOOL 1
diff --git a/pgsql/include/ecpg_informix.h b/pgsql/include/ecpg_informix.h
new file mode 100644
index 0000000000000000000000000000000000000000..5d918c37972f2e6a2ce46a2a633a40b529b7e9f0
--- /dev/null
+++ b/pgsql/include/ecpg_informix.h
@@ -0,0 +1,90 @@
+/*
+ * This file contains stuff needed to be as compatible to Informix as possible.
+ * src/interfaces/ecpg/include/ecpg_informix.h
+ */
+#ifndef _ECPG_INFORMIX_H
+#define _ECPG_INFORMIX_H
+
+#include
+#include
+#include
+#include
+#include
+
+#define SQLNOTFOUND 100
+
+#define ECPG_INFORMIX_NUM_OVERFLOW -1200
+#define ECPG_INFORMIX_NUM_UNDERFLOW -1201
+#define ECPG_INFORMIX_DIVIDE_ZERO -1202
+#define ECPG_INFORMIX_BAD_YEAR -1204
+#define ECPG_INFORMIX_BAD_MONTH -1205
+#define ECPG_INFORMIX_BAD_DAY -1206
+#define ECPG_INFORMIX_ENOSHORTDATE -1209
+#define ECPG_INFORMIX_DATE_CONVERT -1210
+#define ECPG_INFORMIX_OUT_OF_MEMORY -1211
+#define ECPG_INFORMIX_ENOTDMY -1212
+#define ECPG_INFORMIX_BAD_NUMERIC -1213
+#define ECPG_INFORMIX_BAD_EXPONENT -1216
+#define ECPG_INFORMIX_BAD_DATE -1218
+#define ECPG_INFORMIX_EXTRA_CHARS -1264
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+extern int rdatestr(date d, char *str);
+extern void rtoday(date * d);
+extern int rjulmdy(date d, short *mdy);
+extern int rdefmtdate(date * d, const char *fmt, const char *str);
+extern int rfmtdate(date d, const char *fmt, char *str);
+extern int rmdyjul(short *mdy, date * d);
+extern int rstrdate(const char *str, date * d);
+extern int rdayofweek(date d);
+
+extern int rfmtlong(long lng_val, const char *fmt, char *outbuf);
+extern int rgetmsg(int msgnum, char *s, int maxsize);
+extern int risnull(int t, const char *ptr);
+extern int rsetnull(int t, char *ptr);
+extern int rtypalign(int offset, int type);
+extern int rtypmsize(int type, int len);
+extern int rtypwidth(int sqltype, int sqllen);
+extern void rupshift(char *str);
+
+extern int byleng(char *str, int len);
+extern void ldchar(char *src, int len, char *dest);
+
+extern void ECPG_informix_set_var(int number, void *pointer, int lineno);
+extern void *ECPG_informix_get_var(int number);
+extern void ECPG_informix_reset_sqlca(void);
+
+/* Informix defines these in decimal.h */
+int decadd(decimal *arg1, decimal *arg2, decimal *sum);
+int deccmp(decimal *arg1, decimal *arg2);
+void deccopy(decimal *src, decimal *target);
+int deccvasc(const char *cp, int len, decimal *np);
+int deccvdbl(double dbl, decimal *np);
+int deccvint(int in, decimal *np);
+int deccvlong(long lng, decimal *np);
+int decdiv(decimal *n1, decimal *n2, decimal *result);
+int decmul(decimal *n1, decimal *n2, decimal *result);
+int decsub(decimal *n1, decimal *n2, decimal *result);
+int dectoasc(decimal *np, char *cp, int len, int right);
+int dectodbl(decimal *np, double *dblp);
+int dectoint(decimal *np, int *ip);
+int dectolong(decimal *np, long *lngp);
+
+/* Informix defines these in datetime.h */
+extern void dtcurrent(timestamp * ts);
+extern int dtcvasc(char *str, timestamp * ts);
+extern int dtsub(timestamp * ts1, timestamp * ts2, interval * iv);
+extern int dttoasc(timestamp * ts, char *output);
+extern int dttofmtasc(timestamp * ts, char *output, int str_len, char *fmtstr);
+extern int intoasc(interval * i, char *str);
+extern int dtcvfmtasc(char *inbuf, char *fmtstr, timestamp * dtvalue);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* ndef _ECPG_INFORMIX_H */
diff --git a/pgsql/include/ecpgerrno.h b/pgsql/include/ecpgerrno.h
new file mode 100644
index 0000000000000000000000000000000000000000..c4bc526463d99b44bcb221e52b0eeb4ab295f438
--- /dev/null
+++ b/pgsql/include/ecpgerrno.h
@@ -0,0 +1,79 @@
+/* src/interfaces/ecpg/include/ecpgerrno.h */
+
+#ifndef _ECPG_ERRNO_H
+#define _ECPG_ERRNO_H
+
+#include
+
+/* This is a list of all error codes the embedded SQL program can return */
+#define ECPG_NO_ERROR 0
+#define ECPG_NOT_FOUND 100
+
+/* system error codes returned by ecpglib get the correct number,
+ * but are made negative
+ */
+#define ECPG_OUT_OF_MEMORY -ENOMEM
+
+/* first we have a set of ecpg messages, they start at 200 */
+#define ECPG_UNSUPPORTED -200
+#define ECPG_TOO_MANY_ARGUMENTS -201
+#define ECPG_TOO_FEW_ARGUMENTS -202
+#define ECPG_TOO_MANY_MATCHES -203
+#define ECPG_INT_FORMAT -204
+#define ECPG_UINT_FORMAT -205
+#define ECPG_FLOAT_FORMAT -206
+#define ECPG_NUMERIC_FORMAT -207
+#define ECPG_INTERVAL_FORMAT -208
+#define ECPG_DATE_FORMAT -209
+#define ECPG_TIMESTAMP_FORMAT -210
+#define ECPG_CONVERT_BOOL -211
+#define ECPG_EMPTY -212
+#define ECPG_MISSING_INDICATOR -213
+#define ECPG_NO_ARRAY -214
+#define ECPG_DATA_NOT_ARRAY -215
+#define ECPG_ARRAY_INSERT -216
+
+#define ECPG_NO_CONN -220
+#define ECPG_NOT_CONN -221
+
+#define ECPG_INVALID_STMT -230
+
+/* dynamic SQL related */
+#define ECPG_UNKNOWN_DESCRIPTOR -240
+#define ECPG_INVALID_DESCRIPTOR_INDEX -241
+#define ECPG_UNKNOWN_DESCRIPTOR_ITEM -242
+#define ECPG_VAR_NOT_NUMERIC -243
+#define ECPG_VAR_NOT_CHAR -244
+
+/* finally the backend error messages, they start at 400 */
+#define ECPG_PGSQL -400
+#define ECPG_TRANS -401
+#define ECPG_CONNECT -402
+#define ECPG_DUPLICATE_KEY -403
+#define ECPG_SUBSELECT_NOT_ONE -404
+
+/* for compatibility we define some different error codes for the same error
+ * if adding a new one make sure to not double define it */
+#define ECPG_INFORMIX_DUPLICATE_KEY -239
+#define ECPG_INFORMIX_SUBSELECT_NOT_ONE -284
+
+/* backend WARNINGs, starting at 600 */
+#define ECPG_WARNING_UNRECOGNIZED -600
+ /* WARNING: (transaction aborted): queries ignored until END */
+
+ /*
+ * WARNING: current transaction is aborted, queries ignored until end of
+ * transaction block
+ */
+#define ECPG_WARNING_QUERY_IGNORED -601
+ /* WARNING: PerformPortalClose: portal "*" not found */
+#define ECPG_WARNING_UNKNOWN_PORTAL -602
+ /* WARNING: BEGIN: already a transaction in progress */
+#define ECPG_WARNING_IN_TRANSACTION -603
+ /* WARNING: AbortTransaction and not in in-progress state */
+ /* WARNING: COMMIT: no transaction in progress */
+#define ECPG_WARNING_NO_TRANSACTION -604
+ /* WARNING: BlankPortalAssignName: portal * already exists */
+#define ECPG_WARNING_PORTAL_EXISTS -605
+
+#endif /* !_ECPG_ERRNO_H */
diff --git a/pgsql/include/ecpglib.h b/pgsql/include/ecpglib.h
new file mode 100644
index 0000000000000000000000000000000000000000..21a213448306ce13e32c0821c7388bd295f90a90
--- /dev/null
+++ b/pgsql/include/ecpglib.h
@@ -0,0 +1,109 @@
+/*
+ * Client-visible declarations for ecpglib
+ *
+ * src/interfaces/ecpg/include/ecpglib.h
+ */
+
+#ifndef _ECPGLIB_H
+#define _ECPGLIB_H
+
+#include
+
+#include "ecpg_config.h"
+#include "ecpgtype.h"
+#include "libpq-fe.h"
+#include "sqlca.h"
+
+/*
+ * This is a small extract from c.h since we don't want to leak all postgres
+ * definitions into ecpg programs; but we need to know what bool is.
+ */
+#ifndef __cplusplus
+
+#ifdef PG_USE_STDBOOL
+#include
+#else
+
+/*
+ * We assume bool has been defined if true and false are. This avoids
+ * duplicate-typedef errors if this file is included after c.h.
+ */
+#if !(defined(true) && defined(false))
+typedef unsigned char bool;
+#endif
+
+#ifndef true
+#define true ((bool) 1)
+#endif
+
+#ifndef false
+#define false ((bool) 0)
+#endif
+
+#endif /* not PG_USE_STDBOOL */
+#endif /* not C++ */
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+void ECPGdebug(int n, FILE *dbgs);
+bool ECPGstatus(int lineno, const char *connection_name);
+bool ECPGsetcommit(int lineno, const char *mode, const char *connection_name);
+bool ECPGsetconn(int lineno, const char *connection_name);
+bool ECPGconnect(int lineno, int c, const char *name, const char *user,
+ const char *passwd, const char *connection_name, int autocommit);
+bool ECPGdo(const int lineno, const int compat, const int force_indicator,
+ const char *connection_name, const bool questionmarks,
+ const int st, const char *query,...);
+bool ECPGtrans(int lineno, const char *connection_name, const char *transaction);
+bool ECPGdisconnect(int lineno, const char *connection_name);
+bool ECPGprepare(int lineno, const char *connection_name, const bool questionmarks,
+ const char *name, const char *variable);
+bool ECPGdeallocate(int lineno, int c, const char *connection_name, const char *name);
+bool ECPGdeallocate_all(int lineno, int compat, const char *connection_name);
+char *ECPGprepared_statement(const char *connection_name, const char *name, int lineno);
+PGconn *ECPGget_PGconn(const char *connection_name);
+PGTransactionStatusType ECPGtransactionStatus(const char *connection_name);
+
+ /* print an error message */
+void sqlprint(void);
+
+/* define this for simplicity as well as compatibility */
+
+#define SQLCODE sqlca.sqlcode
+#define SQLSTATE sqlca.sqlstate
+
+/* dynamic SQL */
+
+bool ECPGdo_descriptor(int line, const char *connection,
+ const char *descriptor, const char *query);
+bool ECPGdeallocate_desc(int line, const char *name);
+bool ECPGallocate_desc(int line, const char *name);
+bool ECPGget_desc_header(int lineno, const char *desc_name, int *count);
+bool ECPGget_desc(int lineno, const char *desc_name, int index,...);
+bool ECPGset_desc_header(int lineno, const char *desc_name, int count);
+bool ECPGset_desc(int lineno, const char *desc_name, int index,...);
+
+void ECPGset_noind_null(enum ECPGttype type, void *ptr);
+bool ECPGis_noind_null(enum ECPGttype type, const void *ptr);
+bool ECPGdescribe(int line, int compat, bool input,
+ const char *connection_name, const char *stmt_name,...);
+
+void ECPGset_var(int number, void *pointer, int lineno);
+void *ECPGget_var(int number);
+
+/* dynamic result allocation */
+void ECPGfree_auto_mem(void);
+
+#ifdef ENABLE_THREAD_SAFETY
+void ecpg_pthreads_init(void);
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _ECPGLIB_H */
diff --git a/pgsql/include/ecpgtype.h b/pgsql/include/ecpgtype.h
new file mode 100644
index 0000000000000000000000000000000000000000..3a575081e4fac37d71e64a12ca6fe8ff1eedf596
--- /dev/null
+++ b/pgsql/include/ecpgtype.h
@@ -0,0 +1,109 @@
+/*
+ * This file implements a data structure that is built and maintained by the
+ * preprocessor.
+ *
+ * All types that can be handled for host variable declarations has to
+ * be handled eventually.
+ *
+ * src/interfaces/ecpg/include/ecpgtype.h
+ */
+
+/*
+ * Here are all the types that we are to handle. Note that it is the type
+ * that is registered and that has nothing whatsoever to do with the storage
+ * class.
+ *
+ * Simple types
+ * integers: char, short, int, long (signed and unsigned)
+ * floats: float, double
+ *
+ * Complex types:
+ * VARCHAR, VARCHAR2 - Strings with length (maxlen is given in the declaration)
+ * Arrays of simple types and of VARCHAR, VARCHAR2 (size given in declaration)
+ * Records build of simple types, arrays and other structs.
+ *
+ * Complicating things:
+ * typedefs and struct names!
+ *
+ * Conclusion:
+ * This is a typically recursive definition. A structure of typed list elements
+ * would probably work fine:
+ */
+
+#ifndef _ECPGTYPE_H
+#define _ECPGTYPE_H
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+enum ECPGttype
+{
+ ECPGt_char = 1, ECPGt_unsigned_char, ECPGt_short, ECPGt_unsigned_short,
+ ECPGt_int, ECPGt_unsigned_int, ECPGt_long, ECPGt_unsigned_long,
+ ECPGt_long_long, ECPGt_unsigned_long_long,
+ ECPGt_bool,
+ ECPGt_float, ECPGt_double,
+ ECPGt_varchar, ECPGt_varchar2,
+ ECPGt_numeric, /* this is a decimal that stores its digits in
+ * a malloced array */
+ ECPGt_decimal, /* this is a decimal that stores its digits in
+ * a fixed array */
+ ECPGt_date,
+ ECPGt_timestamp,
+ ECPGt_interval,
+ ECPGt_array,
+ ECPGt_struct,
+ ECPGt_union,
+ ECPGt_descriptor, /* sql descriptor, no C variable */
+ ECPGt_char_variable,
+ ECPGt_const, /* a constant is needed sometimes */
+ ECPGt_EOIT, /* End of insert types. */
+ ECPGt_EORT, /* End of result types. */
+ ECPGt_NO_INDICATOR, /* no indicator */
+ ECPGt_string, /* trimmed (char *) type */
+ ECPGt_sqlda, /* C struct descriptor */
+ ECPGt_bytea
+};
+
+ /* descriptor items */
+enum ECPGdtype
+{
+ ECPGd_count = 1,
+ ECPGd_data,
+ ECPGd_di_code,
+ ECPGd_di_precision,
+ ECPGd_indicator,
+ ECPGd_key_member,
+ ECPGd_length,
+ ECPGd_name,
+ ECPGd_nullable,
+ ECPGd_octet,
+ ECPGd_precision,
+ ECPGd_ret_length,
+ ECPGd_ret_octet,
+ ECPGd_scale,
+ ECPGd_type,
+ ECPGd_EODT, /* End of descriptor types. */
+ ECPGd_cardinality
+};
+
+#define IS_SIMPLE_TYPE(type) (((type) >= ECPGt_char && (type) <= ECPGt_interval) || ((type) == ECPGt_string) || ((type) == ECPGt_bytea))
+
+/* we also have to handle different statement types */
+enum ECPG_statement_type
+{
+ ECPGst_normal,
+ ECPGst_execute,
+ ECPGst_exec_immediate,
+ ECPGst_prepnormal,
+ ECPGst_prepare,
+ ECPGst_exec_with_exprlist
+};
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _ECPGTYPE_H */
diff --git a/pgsql/include/gettext-po.h b/pgsql/include/gettext-po.h
new file mode 100644
index 0000000000000000000000000000000000000000..248ff02b972cd0ee5c48ad86d322ca98c3f057bf
--- /dev/null
+++ b/pgsql/include/gettext-po.h
@@ -0,0 +1,357 @@
+/* Public API for GNU gettext PO files - contained in libgettextpo.
+ Copyright (C) 2003-2008, 2010, 2015-2016 Free Software Foundation, Inc.
+ Written by Bruno Haible , 2003.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see . */
+
+#ifndef _GETTEXT_PO_H
+#define _GETTEXT_PO_H 1
+
+#include
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* =========================== Meta Information ============================ */
+
+/* Version number: (major<<16) + (minor<<8) + subminor */
+#define LIBGETTEXTPO_VERSION 0x001308
+extern __declspec (dllimport) int libgettextpo_version;
+
+/* ================================= Types ================================= */
+
+/* A po_file_t represents the contents of a PO file. */
+typedef struct po_file *po_file_t;
+
+/* A po_message_iterator_t represents an iterator through a domain of a
+ PO file. */
+typedef struct po_message_iterator *po_message_iterator_t;
+
+/* A po_message_t represents a message in a PO file. */
+typedef struct po_message *po_message_t;
+
+/* A po_filepos_t represents a string's position within a source file. */
+typedef struct po_filepos *po_filepos_t;
+
+/* A po_error_handler handles error situations. */
+struct po_error_handler
+{
+ /* Signal an error. The error message is built from FORMAT and the following
+ arguments. ERRNUM, if nonzero, is an errno value.
+ Must increment the error_message_count variable declared in error.h.
+ Must not return if STATUS is nonzero. */
+ void (*error) (int status, int errnum,
+ const char *format, ...)
+#if ((__GNUC__ == 3 && __GNUC_MINOR__ >= 1) || __GNUC__ > 3) && !__STRICT_ANSI__
+ __attribute__ ((__format__ (__printf__, 3, 4)))
+#endif
+ ;
+
+ /* Signal an error. The error message is built from FORMAT and the following
+ arguments. The error location is at FILENAME line LINENO. ERRNUM, if
+ nonzero, is an errno value.
+ Must increment the error_message_count variable declared in error.h.
+ Must not return if STATUS is nonzero. */
+ void (*error_at_line) (int status, int errnum,
+ const char *filename, unsigned int lineno,
+ const char *format, ...)
+#if ((__GNUC__ == 3 && __GNUC_MINOR__ >= 1) || __GNUC__ > 3) && !__STRICT_ANSI__
+ __attribute__ ((__format__ (__printf__, 5, 6)))
+#endif
+ ;
+
+ /* Signal a multiline warning. The PREFIX applies to all lines of the
+ MESSAGE. Free the PREFIX and MESSAGE when done. */
+ void (*multiline_warning) (char *prefix, char *message);
+
+ /* Signal a multiline error. The PREFIX applies to all lines of the
+ MESSAGE. Free the PREFIX and MESSAGE when done.
+ Must increment the error_message_count variable declared in error.h if
+ PREFIX is non-NULL. */
+ void (*multiline_error) (char *prefix, char *message);
+};
+typedef const struct po_error_handler *po_error_handler_t;
+
+/* A po_xerror_handler handles warnings, error and fatal error situations. */
+#define PO_SEVERITY_WARNING 0 /* just a warning, tell the user */
+#define PO_SEVERITY_ERROR 1 /* an error, the operation cannot complete */
+#define PO_SEVERITY_FATAL_ERROR 2 /* an error, the operation must be aborted */
+struct po_xerror_handler
+{
+ /* Signal a problem of the given severity.
+ MESSAGE and/or FILENAME + LINENO indicate where the problem occurred.
+ If FILENAME is NULL, FILENAME and LINENO and COLUMN should be ignored.
+ If LINENO is (size_t)(-1), LINENO and COLUMN should be ignored.
+ If COLUMN is (size_t)(-1), it should be ignored.
+ MESSAGE_TEXT is the problem description (if MULTILINE_P is true,
+ multiple lines of text, each terminated with a newline, otherwise
+ usually a single line).
+ Must not return if SEVERITY is PO_SEVERITY_FATAL_ERROR. */
+ void (*xerror) (int severity,
+ po_message_t message,
+ const char *filename, size_t lineno, size_t column,
+ int multiline_p, const char *message_text);
+ /* Signal a problem that refers to two messages.
+ Similar to two calls to xerror.
+ If possible, a "..." can be appended to MESSAGE_TEXT1 and prepended to
+ MESSAGE_TEXT2. */
+ void (*xerror2) (int severity,
+ po_message_t message1,
+ const char *filename1, size_t lineno1, size_t column1,
+ int multiline_p1, const char *message_text1,
+ po_message_t message2,
+ const char *filename2, size_t lineno2, size_t column2,
+ int multiline_p2, const char *message_text2);
+};
+typedef const struct po_xerror_handler *po_xerror_handler_t;
+
+/* Memory allocation:
+ The memory allocations performed by these functions use xmalloc(),
+ therefore will cause a program exit if memory is exhausted.
+ The memory allocated by po_file_read, and implicitly returned through
+ the po_message_* functions, lasts until freed with po_file_free. */
+
+
+/* ============================= po_file_t API ============================= */
+
+/* Create an empty PO file representation in memory. */
+extern po_file_t po_file_create (void);
+
+/* Read a PO file into memory.
+ Return its contents. Upon failure, return NULL and set errno. */
+#define po_file_read po_file_read_v3
+extern po_file_t po_file_read (const char *filename,
+ po_xerror_handler_t handler);
+
+/* Write an in-memory PO file to a file.
+ Upon failure, return NULL and set errno. */
+#define po_file_write po_file_write_v2
+extern po_file_t po_file_write (po_file_t file, const char *filename,
+ po_xerror_handler_t handler);
+
+/* Free a PO file from memory. */
+extern void po_file_free (po_file_t file);
+
+/* Return the names of the domains covered by a PO file in memory. */
+extern const char * const * po_file_domains (po_file_t file);
+
+
+/* =========================== Header entry API ============================ */
+
+/* Return the header entry of a domain of a PO file in memory.
+ The domain NULL denotes the default domain.
+ Return NULL if there is no header entry. */
+extern const char * po_file_domain_header (po_file_t file, const char *domain);
+
+/* Return the value of a field in a header entry.
+ The return value is either a freshly allocated string, to be freed by the
+ caller, or NULL. */
+extern char * po_header_field (const char *header, const char *field);
+
+/* Return the header entry with a given field set to a given value. The field
+ is added if necessary.
+ The return value is a freshly allocated string. */
+extern char * po_header_set_field (const char *header, const char *field, const char *value);
+
+
+/* ======================= po_message_iterator_t API ======================= */
+
+/* Create an iterator for traversing a domain of a PO file in memory.
+ The domain NULL denotes the default domain. */
+extern po_message_iterator_t po_message_iterator (po_file_t file, const char *domain);
+
+/* Free an iterator. */
+extern void po_message_iterator_free (po_message_iterator_t iterator);
+
+/* Return the next message, and advance the iterator.
+ Return NULL at the end of the message list. */
+extern po_message_t po_next_message (po_message_iterator_t iterator);
+
+/* Insert a message in a PO file in memory, in the domain and at the position
+ indicated by the iterator. The iterator thereby advances past the freshly
+ inserted message. */
+extern void po_message_insert (po_message_iterator_t iterator, po_message_t message);
+
+
+/* =========================== po_message_t API ============================ */
+
+/* Return a freshly constructed message.
+ To finish initializing the message, you must set the msgid and msgstr. */
+extern po_message_t po_message_create (void);
+
+/* Return the context of a message, or NULL for a message not restricted to a
+ context. */
+extern const char * po_message_msgctxt (po_message_t message);
+
+/* Change the context of a message. NULL means a message not restricted to a
+ context. */
+extern void po_message_set_msgctxt (po_message_t message, const char *msgctxt);
+
+/* Return the msgid (untranslated English string) of a message. */
+extern const char * po_message_msgid (po_message_t message);
+
+/* Change the msgid (untranslated English string) of a message. */
+extern void po_message_set_msgid (po_message_t message, const char *msgid);
+
+/* Return the msgid_plural (untranslated English plural string) of a message,
+ or NULL for a message without plural. */
+extern const char * po_message_msgid_plural (po_message_t message);
+
+/* Change the msgid_plural (untranslated English plural string) of a message.
+ NULL means a message without plural. */
+extern void po_message_set_msgid_plural (po_message_t message, const char *msgid_plural);
+
+/* Return the msgstr (translation) of a message.
+ Return the empty string for an untranslated message. */
+extern const char * po_message_msgstr (po_message_t message);
+
+/* Change the msgstr (translation) of a message.
+ Use an empty string to denote an untranslated message. */
+extern void po_message_set_msgstr (po_message_t message, const char *msgstr);
+
+/* Return the msgstr[index] for a message with plural handling, or
+ NULL when the index is out of range or for a message without plural. */
+extern const char * po_message_msgstr_plural (po_message_t message, int index);
+
+/* Change the msgstr[index] for a message with plural handling.
+ Use a NULL value at the end to reduce the number of plural forms. */
+extern void po_message_set_msgstr_plural (po_message_t message, int index, const char *msgstr);
+
+/* Return the comments for a message. */
+extern const char * po_message_comments (po_message_t message);
+
+/* Change the comments for a message.
+ comments should be a multiline string, ending in a newline, or empty. */
+extern void po_message_set_comments (po_message_t message, const char *comments);
+
+/* Return the extracted comments for a message. */
+extern const char * po_message_extracted_comments (po_message_t message);
+
+/* Change the extracted comments for a message.
+ comments should be a multiline string, ending in a newline, or empty. */
+extern void po_message_set_extracted_comments (po_message_t message, const char *comments);
+
+/* Return the i-th file position for a message, or NULL if i is out of
+ range. */
+extern po_filepos_t po_message_filepos (po_message_t message, int i);
+
+/* Remove the i-th file position from a message.
+ The indices of all following file positions for the message are decremented
+ by one. */
+extern void po_message_remove_filepos (po_message_t message, int i);
+
+/* Add a file position to a message, if it is not already present for the
+ message.
+ file is the file name.
+ start_line is the line number where the string starts, or (size_t)(-1) if no
+ line number is available. */
+extern void po_message_add_filepos (po_message_t message, const char *file, size_t start_line);
+
+/* Return the previous context of a message, or NULL for none. */
+extern const char * po_message_prev_msgctxt (po_message_t message);
+
+/* Change the previous context of a message. NULL is allowed. */
+extern void po_message_set_prev_msgctxt (po_message_t message, const char *prev_msgctxt);
+
+/* Return the previous msgid (untranslated English string) of a message, or
+ NULL for none. */
+extern const char * po_message_prev_msgid (po_message_t message);
+
+/* Change the previous msgid (untranslated English string) of a message.
+ NULL is allowed. */
+extern void po_message_set_prev_msgid (po_message_t message, const char *prev_msgid);
+
+/* Return the previous msgid_plural (untranslated English plural string) of a
+ message, or NULL for none. */
+extern const char * po_message_prev_msgid_plural (po_message_t message);
+
+/* Change the previous msgid_plural (untranslated English plural string) of a
+ message. NULL is allowed. */
+extern void po_message_set_prev_msgid_plural (po_message_t message, const char *prev_msgid_plural);
+
+/* Return true if the message is marked obsolete. */
+extern int po_message_is_obsolete (po_message_t message);
+
+/* Change the obsolete mark of a message. */
+extern void po_message_set_obsolete (po_message_t message, int obsolete);
+
+/* Return true if the message is marked fuzzy. */
+extern int po_message_is_fuzzy (po_message_t message);
+
+/* Change the fuzzy mark of a message. */
+extern void po_message_set_fuzzy (po_message_t message, int fuzzy);
+
+/* Return true if the message is marked as being a format string of the given
+ type (e.g. "c-format"). */
+extern int po_message_is_format (po_message_t message, const char *format_type);
+
+/* Change the format string mark for a given type of a message. */
+extern void po_message_set_format (po_message_t message, const char *format_type, /*bool*/int value);
+
+/* If a numeric range of a message is set, return true and store the minimum
+ and maximum value in *MINP and *MAXP. */
+extern int po_message_is_range (po_message_t message, int *minp, int *maxp);
+
+/* Change the numeric range of a message. MIN and MAX must be non-negative,
+ with MIN < MAX. Use MIN = MAX = -1 to remove the numeric range of a
+ message. */
+extern void po_message_set_range (po_message_t message, int min, int max);
+
+
+/* =========================== po_filepos_t API ============================ */
+
+/* Return the file name. */
+extern const char * po_filepos_file (po_filepos_t filepos);
+
+/* Return the line number where the string starts, or (size_t)(-1) if no line
+ number is available. */
+extern size_t po_filepos_start_line (po_filepos_t filepos);
+
+
+/* ============================ Format type API ============================= */
+
+/* Return a NULL terminated array of the supported format types. */
+extern const char * const * po_format_list (void);
+
+/* Return the pretty name associated with a format type.
+ For example, for "csharp-format", return "C#".
+ Return NULL if the argument is not a supported format type. */
+extern const char * po_format_pretty_name (const char *format_type);
+
+
+/* ============================= Checking API ============================== */
+
+/* Test whether an entire file PO file is valid, like msgfmt does it.
+ If it is invalid, pass the reasons to the handler. */
+extern void po_file_check_all (po_file_t file, po_xerror_handler_t handler);
+
+/* Test a single message, to be inserted in a PO file in memory, like msgfmt
+ does it. If it is invalid, pass the reasons to the handler. The iterator
+ is not modified by this call; it only specifies the file and the domain. */
+extern void po_message_check_all (po_message_t message, po_message_iterator_t iterator, po_xerror_handler_t handler);
+
+/* Test whether the message translation is a valid format string if the message
+ is marked as being a format string. If it is invalid, pass the reasons to
+ the handler. */
+#define po_message_check_format po_message_check_format_v2
+extern void po_message_check_format (po_message_t message, po_xerror_handler_t handler);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _GETTEXT_PO_H */
diff --git a/pgsql/include/gettext.h b/pgsql/include/gettext.h
new file mode 100644
index 0000000000000000000000000000000000000000..f37d586326c60a8eba0937a9bae07e9940adfe8e
--- /dev/null
+++ b/pgsql/include/gettext.h
@@ -0,0 +1,288 @@
+/* Convenience header for conditional use of GNU .
+ Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009-2011, 2015 Free
+ Software Foundation, Inc.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see . */
+
+#ifndef _LIBGETTEXT_H
+#define _LIBGETTEXT_H 1
+
+/* NLS can be disabled through the configure --disable-nls option. */
+#if ENABLE_NLS
+
+/* Get declarations of GNU message catalog functions. */
+# include
+
+/* You can set the DEFAULT_TEXT_DOMAIN macro to specify the domain used by
+ the gettext() and ngettext() macros. This is an alternative to calling
+ textdomain(), and is useful for libraries. */
+# ifdef DEFAULT_TEXT_DOMAIN
+# undef gettext
+# define gettext(Msgid) \
+ dgettext (DEFAULT_TEXT_DOMAIN, Msgid)
+# undef ngettext
+# define ngettext(Msgid1, Msgid2, N) \
+ dngettext (DEFAULT_TEXT_DOMAIN, Msgid1, Msgid2, N)
+# endif
+
+#else
+
+/* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which
+ chokes if dcgettext is defined as a macro. So include it now, to make
+ later inclusions of a NOP. We don't include
+ as well because people using "gettext.h" will not include ,
+ and also including would fail on SunOS 4, whereas
+ is OK. */
+#if defined(__sun)
+# include
+#endif
+
+/* Many header files from the libstdc++ coming with g++ 3.3 or newer include
+ , which chokes if dcgettext is defined as a macro. So include
+ it now, to make later inclusions of a NOP. */
+#if defined(__cplusplus) && defined(__GNUG__) && (__GNUC__ >= 3)
+# include
+# if (__GLIBC__ >= 2 && !defined __UCLIBC__) || _GLIBCXX_HAVE_LIBINTL_H
+# include
+# endif
+#endif
+
+/* Disabled NLS.
+ The casts to 'const char *' serve the purpose of producing warnings
+ for invalid uses of the value returned from these functions.
+ On pre-ANSI systems without 'const', the config.h file is supposed to
+ contain "#define const". */
+# undef gettext
+# define gettext(Msgid) ((const char *) (Msgid))
+# undef dgettext
+# define dgettext(Domainname, Msgid) ((void) (Domainname), gettext (Msgid))
+# undef dcgettext
+# define dcgettext(Domainname, Msgid, Category) \
+ ((void) (Category), dgettext (Domainname, Msgid))
+# undef ngettext
+# define ngettext(Msgid1, Msgid2, N) \
+ ((N) == 1 \
+ ? ((void) (Msgid2), (const char *) (Msgid1)) \
+ : ((void) (Msgid1), (const char *) (Msgid2)))
+# undef dngettext
+# define dngettext(Domainname, Msgid1, Msgid2, N) \
+ ((void) (Domainname), ngettext (Msgid1, Msgid2, N))
+# undef dcngettext
+# define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \
+ ((void) (Category), dngettext (Domainname, Msgid1, Msgid2, N))
+# undef textdomain
+# define textdomain(Domainname) ((const char *) (Domainname))
+# undef bindtextdomain
+# define bindtextdomain(Domainname, Dirname) \
+ ((void) (Domainname), (const char *) (Dirname))
+# undef bind_textdomain_codeset
+# define bind_textdomain_codeset(Domainname, Codeset) \
+ ((void) (Domainname), (const char *) (Codeset))
+
+#endif
+
+/* Prefer gnulib's setlocale override over libintl's setlocale override. */
+#ifdef GNULIB_defined_setlocale
+# undef setlocale
+# define setlocale rpl_setlocale
+#endif
+
+/* A pseudo function call that serves as a marker for the automated
+ extraction of messages, but does not call gettext(). The run-time
+ translation is done at a different place in the code.
+ The argument, String, should be a literal string. Concatenated strings
+ and other string expressions won't work.
+ The macro's expansion is not parenthesized, so that it is suitable as
+ initializer for static 'char[]' or 'const char[]' variables. */
+#define gettext_noop(String) String
+
+/* The separator between msgctxt and msgid in a .mo file. */
+#define GETTEXT_CONTEXT_GLUE "\004"
+
+/* Pseudo function calls, taking a MSGCTXT and a MSGID instead of just a
+ MSGID. MSGCTXT and MSGID must be string literals. MSGCTXT should be
+ short and rarely need to change.
+ The letter 'p' stands for 'particular' or 'special'. */
+#ifdef DEFAULT_TEXT_DOMAIN
+# define pgettext(Msgctxt, Msgid) \
+ pgettext_aux (DEFAULT_TEXT_DOMAIN, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES)
+#else
+# define pgettext(Msgctxt, Msgid) \
+ pgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES)
+#endif
+#define dpgettext(Domainname, Msgctxt, Msgid) \
+ pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES)
+#define dcpgettext(Domainname, Msgctxt, Msgid, Category) \
+ pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, Category)
+#ifdef DEFAULT_TEXT_DOMAIN
+# define npgettext(Msgctxt, Msgid, MsgidPlural, N) \
+ npgettext_aux (DEFAULT_TEXT_DOMAIN, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES)
+#else
+# define npgettext(Msgctxt, Msgid, MsgidPlural, N) \
+ npgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES)
+#endif
+#define dnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N) \
+ npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES)
+#define dcnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N, Category) \
+ npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, Category)
+
+#ifdef __GNUC__
+__inline
+#else
+#ifdef __cplusplus
+inline
+#endif
+#endif
+static const char *
+pgettext_aux (const char *domain,
+ const char *msg_ctxt_id, const char *msgid,
+ int category)
+{
+ const char *translation = dcgettext (domain, msg_ctxt_id, category);
+ if (translation == msg_ctxt_id)
+ return msgid;
+ else
+ return translation;
+}
+
+#ifdef __GNUC__
+__inline
+#else
+#ifdef __cplusplus
+inline
+#endif
+#endif
+static const char *
+npgettext_aux (const char *domain,
+ const char *msg_ctxt_id, const char *msgid,
+ const char *msgid_plural, unsigned long int n,
+ int category)
+{
+ const char *translation =
+ dcngettext (domain, msg_ctxt_id, msgid_plural, n, category);
+ if (translation == msg_ctxt_id || translation == msgid_plural)
+ return (n == 1 ? msgid : msgid_plural);
+ else
+ return translation;
+}
+
+/* The same thing extended for non-constant arguments. Here MSGCTXT and MSGID
+ can be arbitrary expressions. But for string literals these macros are
+ less efficient than those above. */
+
+#include
+
+#if (((__GNUC__ >= 3 || __GNUG__ >= 2) && !defined __STRICT_ANSI__) \
+ /* || __STDC_VERSION__ >= 199901L */ )
+# define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 1
+#else
+# define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 0
+#endif
+
+#if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS
+#include
+#endif
+
+#define pgettext_expr(Msgctxt, Msgid) \
+ dcpgettext_expr (NULL, Msgctxt, Msgid, LC_MESSAGES)
+#define dpgettext_expr(Domainname, Msgctxt, Msgid) \
+ dcpgettext_expr (Domainname, Msgctxt, Msgid, LC_MESSAGES)
+
+#ifdef __GNUC__
+__inline
+#else
+#ifdef __cplusplus
+inline
+#endif
+#endif
+static const char *
+dcpgettext_expr (const char *domain,
+ const char *msgctxt, const char *msgid,
+ int category)
+{
+ size_t msgctxt_len = strlen (msgctxt) + 1;
+ size_t msgid_len = strlen (msgid) + 1;
+ const char *translation;
+#if _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS
+ char msg_ctxt_id[msgctxt_len + msgid_len];
+#else
+ char buf[1024];
+ char *msg_ctxt_id =
+ (msgctxt_len + msgid_len <= sizeof (buf)
+ ? buf
+ : (char *) malloc (msgctxt_len + msgid_len));
+ if (msg_ctxt_id != NULL)
+#endif
+ {
+ memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1);
+ msg_ctxt_id[msgctxt_len - 1] = '\004';
+ memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
+ translation = dcgettext (domain, msg_ctxt_id, category);
+#if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS
+ if (msg_ctxt_id != buf)
+ free (msg_ctxt_id);
+#endif
+ if (translation != msg_ctxt_id)
+ return translation;
+ }
+ return msgid;
+}
+
+#define npgettext_expr(Msgctxt, Msgid, MsgidPlural, N) \
+ dcnpgettext_expr (NULL, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES)
+#define dnpgettext_expr(Domainname, Msgctxt, Msgid, MsgidPlural, N) \
+ dcnpgettext_expr (Domainname, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES)
+
+#ifdef __GNUC__
+__inline
+#else
+#ifdef __cplusplus
+inline
+#endif
+#endif
+static const char *
+dcnpgettext_expr (const char *domain,
+ const char *msgctxt, const char *msgid,
+ const char *msgid_plural, unsigned long int n,
+ int category)
+{
+ size_t msgctxt_len = strlen (msgctxt) + 1;
+ size_t msgid_len = strlen (msgid) + 1;
+ const char *translation;
+#if _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS
+ char msg_ctxt_id[msgctxt_len + msgid_len];
+#else
+ char buf[1024];
+ char *msg_ctxt_id =
+ (msgctxt_len + msgid_len <= sizeof (buf)
+ ? buf
+ : (char *) malloc (msgctxt_len + msgid_len));
+ if (msg_ctxt_id != NULL)
+#endif
+ {
+ memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1);
+ msg_ctxt_id[msgctxt_len - 1] = '\004';
+ memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
+ translation = dcngettext (domain, msg_ctxt_id, msgid_plural, n, category);
+#if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS
+ if (msg_ctxt_id != buf)
+ free (msg_ctxt_id);
+#endif
+ if (!(translation == msg_ctxt_id || translation == msgid_plural))
+ return translation;
+ }
+ return (n == 1 ? msgid : msgid_plural);
+}
+
+#endif /* _LIBGETTEXT_H */
diff --git a/pgsql/include/iconv.h b/pgsql/include/iconv.h
new file mode 100644
index 0000000000000000000000000000000000000000..fdf3c537c2cbb2990c48a14ce0ba5f93b69d7f52
--- /dev/null
+++ b/pgsql/include/iconv.h
@@ -0,0 +1,241 @@
+/* Copyright (C) 1999-2022 Free Software Foundation, Inc.
+ This file is part of the GNU LIBICONV Library.
+
+ The GNU LIBICONV Library is free software; you can redistribute it
+ and/or modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either version 2.1
+ of the License, or (at your option) any later version.
+
+ The GNU LIBICONV Library is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU LIBICONV Library; see the file COPYING.LIB.
+ If not, see . */
+
+/* When installed, this file is called "iconv.h". */
+
+#ifndef _LIBICONV_H
+#define _LIBICONV_H
+
+#define _LIBICONV_VERSION 0x0111 /* version number: (major<<8) + minor */
+extern __declspec (dllimport) int _libiconv_version; /* Likewise */
+
+/* We would like to #include any system header file which could define
+ iconv_t, 1. in order to eliminate the risk that the user gets compilation
+ errors because some other system header file includes /usr/include/iconv.h
+ which defines iconv_t or declares iconv after this file, 2. when compiling
+ for LIBICONV_PLUG, we need the proper iconv_t type in order to produce
+ binary compatible code.
+ But gcc's #include_next is not portable. Thus, once libiconv's iconv.h
+ has been installed in /usr/local/include, there is no way any more to
+ include the original /usr/include/iconv.h. We simply have to get away
+ without it.
+ Ad 1. The risk that a system header file does
+ #include "iconv.h" or #include_next "iconv.h"
+ is small. They all do #include .
+ Ad 2. The iconv_t type is a pointer type in all cases I have seen. (It
+ has to be a scalar type because (iconv_t)(-1) is a possible return value
+ from iconv_open().) */
+
+/* Define iconv_t ourselves. */
+#undef iconv_t
+#define iconv_t libiconv_t
+typedef void* iconv_t;
+
+/* Get size_t declaration.
+ Get wchar_t declaration if it exists. */
+#include
+
+/* Get errno declaration and values. */
+#include
+/* Some systems, like SunOS 4, don't have EILSEQ. Some systems, like BSD/OS,
+ have EILSEQ in a different header. On these systems, define EILSEQ
+ ourselves. */
+#ifndef EILSEQ
+#define EILSEQ
+#endif
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* Allocates descriptor for code conversion from encoding ‘fromcode’ to
+ encoding ‘tocode’. */
+#ifndef LIBICONV_PLUG
+#define iconv_open libiconv_open
+#endif
+extern iconv_t iconv_open (const char* tocode, const char* fromcode);
+
+/* Converts, using conversion descriptor ‘cd’, at most ‘*inbytesleft’ bytes
+ starting at ‘*inbuf’, writing at most ‘*outbytesleft’ bytes starting at
+ ‘*outbuf’.
+ Decrements ‘*inbytesleft’ and increments ‘*inbuf’ by the same amount.
+ Decrements ‘*outbytesleft’ and increments ‘*outbuf’ by the same amount. */
+#ifndef LIBICONV_PLUG
+#define iconv libiconv
+#endif
+extern size_t iconv (iconv_t cd, char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
+
+/* Frees resources allocated for conversion descriptor ‘cd’. */
+#ifndef LIBICONV_PLUG
+#define iconv_close libiconv_close
+#endif
+extern int iconv_close (iconv_t cd);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#ifndef LIBICONV_PLUG
+
+/* Nonstandard extensions. */
+
+#if 1
+#if 0
+/* Tru64 with Desktop Toolkit C has a bug: must be included before
+ .
+ BSD/OS 4.0.1 has a bug: , and must be
+ included before . */
+#include
+#include
+#include
+#endif
+#include
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* A type that holds all memory needed by a conversion descriptor.
+ A pointer to such an object can be used as an iconv_t. */
+typedef struct {
+ void* dummy1[28];
+#if 1
+ mbstate_t dummy2;
+#endif
+} iconv_allocation_t;
+
+/* Allocates descriptor for code conversion from encoding ‘fromcode’ to
+ encoding ‘tocode’ into preallocated memory. Returns an error indicator
+ (0 or -1 with errno set). */
+#define iconv_open_into libiconv_open_into
+extern int iconv_open_into (const char* tocode, const char* fromcode,
+ iconv_allocation_t* resultp);
+
+/* Control of attributes. */
+#define iconvctl libiconvctl
+extern int iconvctl (iconv_t cd, int request, void* argument);
+
+/* Hook performed after every successful conversion of a Unicode character. */
+typedef void (*iconv_unicode_char_hook) (unsigned int uc, void* data);
+/* Hook performed after every successful conversion of a wide character. */
+typedef void (*iconv_wide_char_hook) (wchar_t wc, void* data);
+/* Set of hooks. */
+struct iconv_hooks {
+ iconv_unicode_char_hook uc_hook;
+ iconv_wide_char_hook wc_hook;
+ void* data;
+};
+
+/* Fallback function. Invoked when a small number of bytes could not be
+ converted to a Unicode character. This function should process all
+ bytes from inbuf and may produce replacement Unicode characters by calling
+ the write_replacement callback repeatedly. */
+typedef void (*iconv_unicode_mb_to_uc_fallback)
+ (const char* inbuf, size_t inbufsize,
+ void (*write_replacement) (const unsigned int *buf, size_t buflen,
+ void* callback_arg),
+ void* callback_arg,
+ void* data);
+/* Fallback function. Invoked when a Unicode character could not be converted
+ to the target encoding. This function should process the character and
+ may produce replacement bytes (in the target encoding) by calling the
+ write_replacement callback repeatedly. */
+typedef void (*iconv_unicode_uc_to_mb_fallback)
+ (unsigned int code,
+ void (*write_replacement) (const char *buf, size_t buflen,
+ void* callback_arg),
+ void* callback_arg,
+ void* data);
+#if 1
+/* Fallback function. Invoked when a number of bytes could not be converted to
+ a wide character. This function should process all bytes from inbuf and may
+ produce replacement wide characters by calling the write_replacement
+ callback repeatedly. */
+typedef void (*iconv_wchar_mb_to_wc_fallback)
+ (const char* inbuf, size_t inbufsize,
+ void (*write_replacement) (const wchar_t *buf, size_t buflen,
+ void* callback_arg),
+ void* callback_arg,
+ void* data);
+/* Fallback function. Invoked when a wide character could not be converted to
+ the target encoding. This function should process the character and may
+ produce replacement bytes (in the target encoding) by calling the
+ write_replacement callback repeatedly. */
+typedef void (*iconv_wchar_wc_to_mb_fallback)
+ (wchar_t code,
+ void (*write_replacement) (const char *buf, size_t buflen,
+ void* callback_arg),
+ void* callback_arg,
+ void* data);
+#else
+/* If the wchar_t type does not exist, these two fallback functions are never
+ invoked. Their argument list therefore does not matter. */
+typedef void (*iconv_wchar_mb_to_wc_fallback) ();
+typedef void (*iconv_wchar_wc_to_mb_fallback) ();
+#endif
+/* Set of fallbacks. */
+struct iconv_fallbacks {
+ iconv_unicode_mb_to_uc_fallback mb_to_uc_fallback;
+ iconv_unicode_uc_to_mb_fallback uc_to_mb_fallback;
+ iconv_wchar_mb_to_wc_fallback mb_to_wc_fallback;
+ iconv_wchar_wc_to_mb_fallback wc_to_mb_fallback;
+ void* data;
+};
+
+/* Requests for iconvctl. */
+#define ICONV_TRIVIALP 0 /* int *argument */
+#define ICONV_GET_TRANSLITERATE 1 /* int *argument */
+#define ICONV_SET_TRANSLITERATE 2 /* const int *argument */
+#define ICONV_GET_DISCARD_ILSEQ 3 /* int *argument */
+#define ICONV_SET_DISCARD_ILSEQ 4 /* const int *argument */
+#define ICONV_SET_HOOKS 5 /* const struct iconv_hooks *argument */
+#define ICONV_SET_FALLBACKS 6 /* const struct iconv_fallbacks *argument */
+
+/* Listing of locale independent encodings. */
+#define iconvlist libiconvlist
+extern void iconvlist (int (*do_one) (unsigned int namescount,
+ const char * const * names,
+ void* data),
+ void* data);
+
+/* Canonicalize an encoding name.
+ The result is either a canonical encoding name, or name itself. */
+extern const char * iconv_canonicalize (const char * name);
+
+/* Support for relocatable packages. */
+
+/* Sets the original and the current installation prefix of the package.
+ Relocation simply replaces a pathname starting with the original prefix
+ by the corresponding pathname with the current prefix instead. Both
+ prefixes should be directory names without trailing slash (i.e. use ""
+ instead of "/"). */
+extern void libiconv_set_relocation_prefix (const char *orig_prefix,
+ const char *curr_prefix);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+
+
+#endif /* _LIBICONV_H */
diff --git a/pgsql/include/libintl.h b/pgsql/include/libintl.h
new file mode 100644
index 0000000000000000000000000000000000000000..1598ade10eb1564b00a0328aa818d4e959398189
--- /dev/null
+++ b/pgsql/include/libintl.h
@@ -0,0 +1,464 @@
+/* Message catalogs for internationalization.
+ Copyright (C) 1995-1997, 2000-2016 Free Software Foundation, Inc.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this program. If not, see . */
+
+#ifndef _LIBINTL_H
+#define _LIBINTL_H 1
+
+#include
+#if (defined __APPLE__ && defined __MACH__) && 0
+# include
+#endif
+
+/* The LC_MESSAGES locale category is the category used by the functions
+ gettext() and dgettext(). It is specified in POSIX, but not in ANSI C.
+ On systems that don't define it, use an arbitrary value instead.
+ On Solaris, defines __LOCALE_H (or _LOCALE_H in Solaris 2.5)
+ then includes (i.e. this file!) and then only defines
+ LC_MESSAGES. To avoid a redefinition warning, don't define LC_MESSAGES
+ in this case. */
+#if !defined LC_MESSAGES && !(defined __LOCALE_H || (defined _LOCALE_H && defined __sun))
+# define LC_MESSAGES 1729
+#endif
+
+/* We define an additional symbol to signal that we use the GNU
+ implementation of gettext. */
+#define __USE_GNU_GETTEXT 1
+
+/* Provide information about the supported file formats. Returns the
+ maximum minor revision number supported for a given major revision. */
+#define __GNU_GETTEXT_SUPPORTED_REVISION(major) \
+ ((major) == 0 || (major) == 1 ? 1 : -1)
+
+/* Resolve a platform specific conflict on DJGPP. GNU gettext takes
+ precedence over _conio_gettext. */
+#ifdef __DJGPP__
+# undef gettext
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* Version number: (major<<16) + (minor<<8) + subminor */
+#define LIBINTL_VERSION 0x001308
+extern int libintl_version;
+
+
+/* We redirect the functions to those prefixed with "libintl_". This is
+ necessary, because some systems define gettext/textdomain/... in the C
+ library (namely, Solaris 2.4 and newer, and GNU libc 2.0 and newer).
+ If we used the unprefixed names, there would be cases where the
+ definition in the C library would override the one in the libintl.so
+ shared library. Recall that on ELF systems, the symbols are looked
+ up in the following order:
+ 1. in the executable,
+ 2. in the shared libraries specified on the link command line, in order,
+ 3. in the dependencies of the shared libraries specified on the link
+ command line,
+ 4. in the dlopen()ed shared libraries, in the order in which they were
+ dlopen()ed.
+ The definition in the C library would override the one in libintl.so if
+ either
+ * -lc is given on the link command line and -lintl isn't, or
+ * -lc is given on the link command line before -lintl, or
+ * libintl.so is a dependency of a dlopen()ed shared library but not
+ linked to the executable at link time.
+ Since Solaris gettext() behaves differently than GNU gettext(), this
+ would be unacceptable.
+
+ The redirection happens by default through macros in C, so that &gettext
+ is independent of the compilation unit, but through inline functions in
+ C++, in order not to interfere with the name mangling of class fields or
+ class methods called 'gettext'. */
+
+/* The user can define _INTL_REDIRECT_INLINE or _INTL_REDIRECT_MACROS.
+ If he doesn't, we choose the method. A third possible method is
+ _INTL_REDIRECT_ASM, supported only by GCC. */
+#if !(defined _INTL_REDIRECT_INLINE || defined _INTL_REDIRECT_MACROS)
+# if defined __GNUC__ && __GNUC__ >= 2 && !(defined __APPLE_CC__ && __APPLE_CC__ > 1) && !defined __MINGW32__ && !(__GNUC__ == 2 && defined _AIX) && (defined __STDC__ || defined __cplusplus)
+# define _INTL_REDIRECT_ASM
+# else
+# ifdef __cplusplus
+# define _INTL_REDIRECT_INLINE
+# else
+# define _INTL_REDIRECT_MACROS
+# endif
+# endif
+#endif
+/* Auxiliary macros. */
+#ifdef _INTL_REDIRECT_ASM
+# define _INTL_ASM(cname) __asm__ (_INTL_ASMNAME (__USER_LABEL_PREFIX__, #cname))
+# define _INTL_ASMNAME(prefix,cnamestring) _INTL_STRINGIFY (prefix) cnamestring
+# define _INTL_STRINGIFY(prefix) #prefix
+#else
+# define _INTL_ASM(cname)
+#endif
+
+/* _INTL_MAY_RETURN_STRING_ARG(n) declares that the given function may return
+ its n-th argument literally. This enables GCC to warn for example about
+ printf (gettext ("foo %y")). */
+#if defined __GNUC__ && __GNUC__ >= 3 && !(defined __APPLE_CC__ && __APPLE_CC__ > 1 && defined __cplusplus)
+# define _INTL_MAY_RETURN_STRING_ARG(n) __attribute__ ((__format_arg__ (n)))
+#else
+# define _INTL_MAY_RETURN_STRING_ARG(n)
+#endif
+
+/* Look up MSGID in the current default message catalog for the current
+ LC_MESSAGES locale. If not found, returns MSGID itself (the default
+ text). */
+#ifdef _INTL_REDIRECT_INLINE
+extern char *libintl_gettext (const char *__msgid)
+ _INTL_MAY_RETURN_STRING_ARG (1);
+static inline char *gettext (const char *__msgid)
+{
+ return libintl_gettext (__msgid);
+}
+#else
+#ifdef _INTL_REDIRECT_MACROS
+# define gettext libintl_gettext
+#endif
+extern char *gettext (const char *__msgid)
+ _INTL_ASM (libintl_gettext)
+ _INTL_MAY_RETURN_STRING_ARG (1);
+#endif
+
+/* Look up MSGID in the DOMAINNAME message catalog for the current
+ LC_MESSAGES locale. */
+#ifdef _INTL_REDIRECT_INLINE
+extern char *libintl_dgettext (const char *__domainname, const char *__msgid)
+ _INTL_MAY_RETURN_STRING_ARG (2);
+static inline char *dgettext (const char *__domainname, const char *__msgid)
+{
+ return libintl_dgettext (__domainname, __msgid);
+}
+#else
+#ifdef _INTL_REDIRECT_MACROS
+# define dgettext libintl_dgettext
+#endif
+extern char *dgettext (const char *__domainname, const char *__msgid)
+ _INTL_ASM (libintl_dgettext)
+ _INTL_MAY_RETURN_STRING_ARG (2);
+#endif
+
+/* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY
+ locale. */
+#ifdef _INTL_REDIRECT_INLINE
+extern char *libintl_dcgettext (const char *__domainname, const char *__msgid,
+ int __category)
+ _INTL_MAY_RETURN_STRING_ARG (2);
+static inline char *dcgettext (const char *__domainname, const char *__msgid,
+ int __category)
+{
+ return libintl_dcgettext (__domainname, __msgid, __category);
+}
+#else
+#ifdef _INTL_REDIRECT_MACROS
+# define dcgettext libintl_dcgettext
+#endif
+extern char *dcgettext (const char *__domainname, const char *__msgid,
+ int __category)
+ _INTL_ASM (libintl_dcgettext)
+ _INTL_MAY_RETURN_STRING_ARG (2);
+#endif
+
+
+/* Similar to 'gettext' but select the plural form corresponding to the
+ number N. */
+#ifdef _INTL_REDIRECT_INLINE
+extern char *libintl_ngettext (const char *__msgid1, const char *__msgid2,
+ unsigned long int __n)
+ _INTL_MAY_RETURN_STRING_ARG (1) _INTL_MAY_RETURN_STRING_ARG (2);
+static inline char *ngettext (const char *__msgid1, const char *__msgid2,
+ unsigned long int __n)
+{
+ return libintl_ngettext (__msgid1, __msgid2, __n);
+}
+#else
+#ifdef _INTL_REDIRECT_MACROS
+# define ngettext libintl_ngettext
+#endif
+extern char *ngettext (const char *__msgid1, const char *__msgid2,
+ unsigned long int __n)
+ _INTL_ASM (libintl_ngettext)
+ _INTL_MAY_RETURN_STRING_ARG (1) _INTL_MAY_RETURN_STRING_ARG (2);
+#endif
+
+/* Similar to 'dgettext' but select the plural form corresponding to the
+ number N. */
+#ifdef _INTL_REDIRECT_INLINE
+extern char *libintl_dngettext (const char *__domainname, const char *__msgid1,
+ const char *__msgid2, unsigned long int __n)
+ _INTL_MAY_RETURN_STRING_ARG (2) _INTL_MAY_RETURN_STRING_ARG (3);
+static inline char *dngettext (const char *__domainname, const char *__msgid1,
+ const char *__msgid2, unsigned long int __n)
+{
+ return libintl_dngettext (__domainname, __msgid1, __msgid2, __n);
+}
+#else
+#ifdef _INTL_REDIRECT_MACROS
+# define dngettext libintl_dngettext
+#endif
+extern char *dngettext (const char *__domainname,
+ const char *__msgid1, const char *__msgid2,
+ unsigned long int __n)
+ _INTL_ASM (libintl_dngettext)
+ _INTL_MAY_RETURN_STRING_ARG (2) _INTL_MAY_RETURN_STRING_ARG (3);
+#endif
+
+/* Similar to 'dcgettext' but select the plural form corresponding to the
+ number N. */
+#ifdef _INTL_REDIRECT_INLINE
+extern char *libintl_dcngettext (const char *__domainname,
+ const char *__msgid1, const char *__msgid2,
+ unsigned long int __n, int __category)
+ _INTL_MAY_RETURN_STRING_ARG (2) _INTL_MAY_RETURN_STRING_ARG (3);
+static inline char *dcngettext (const char *__domainname,
+ const char *__msgid1, const char *__msgid2,
+ unsigned long int __n, int __category)
+{
+ return libintl_dcngettext (__domainname, __msgid1, __msgid2, __n, __category);
+}
+#else
+#ifdef _INTL_REDIRECT_MACROS
+# define dcngettext libintl_dcngettext
+#endif
+extern char *dcngettext (const char *__domainname,
+ const char *__msgid1, const char *__msgid2,
+ unsigned long int __n, int __category)
+ _INTL_ASM (libintl_dcngettext)
+ _INTL_MAY_RETURN_STRING_ARG (2) _INTL_MAY_RETURN_STRING_ARG (3);
+#endif
+
+
+
+/* Set the current default message catalog to DOMAINNAME.
+ If DOMAINNAME is null, return the current default.
+ If DOMAINNAME is "", reset to the default of "messages". */
+#ifdef _INTL_REDIRECT_INLINE
+extern char *libintl_textdomain (const char *__domainname);
+static inline char *textdomain (const char *__domainname)
+{
+ return libintl_textdomain (__domainname);
+}
+#else
+#ifdef _INTL_REDIRECT_MACROS
+# define textdomain libintl_textdomain
+#endif
+extern char *textdomain (const char *__domainname)
+ _INTL_ASM (libintl_textdomain);
+#endif
+
+/* Specify that the DOMAINNAME message catalog will be found
+ in DIRNAME rather than in the system locale data base. */
+#ifdef _INTL_REDIRECT_INLINE
+extern char *libintl_bindtextdomain (const char *__domainname,
+ const char *__dirname);
+static inline char *bindtextdomain (const char *__domainname,
+ const char *__dirname)
+{
+ return libintl_bindtextdomain (__domainname, __dirname);
+}
+#else
+#ifdef _INTL_REDIRECT_MACROS
+# define bindtextdomain libintl_bindtextdomain
+#endif
+extern char *bindtextdomain (const char *__domainname, const char *__dirname)
+ _INTL_ASM (libintl_bindtextdomain);
+#endif
+
+/* Specify the character encoding in which the messages from the
+ DOMAINNAME message catalog will be returned. */
+#ifdef _INTL_REDIRECT_INLINE
+extern char *libintl_bind_textdomain_codeset (const char *__domainname,
+ const char *__codeset);
+static inline char *bind_textdomain_codeset (const char *__domainname,
+ const char *__codeset)
+{
+ return libintl_bind_textdomain_codeset (__domainname, __codeset);
+}
+#else
+#ifdef _INTL_REDIRECT_MACROS
+# define bind_textdomain_codeset libintl_bind_textdomain_codeset
+#endif
+extern char *bind_textdomain_codeset (const char *__domainname,
+ const char *__codeset)
+ _INTL_ASM (libintl_bind_textdomain_codeset);
+#endif
+
+
+
+/* Support for format strings with positions in *printf(), following the
+ POSIX/XSI specification.
+ Note: These replacements for the *printf() functions are visible only
+ in source files that #include or #include "gettext.h".
+ Packages that use *printf() in source files that don't refer to _()
+ or gettext() but for which the format string could be the return value
+ of _() or gettext() need to add this #include. Oh well. */
+
+#if !0
+
+#include
+#include
+
+/* Get va_list. */
+#if (defined __STDC__ && __STDC__) || defined __cplusplus || defined _MSC_VER
+# include
+#else
+# include
+#endif
+
+#if !(defined fprintf && defined _GL_STDIO_H) /* don't override gnulib */
+#undef fprintf
+#define fprintf libintl_fprintf
+extern int fprintf (FILE *, const char *, ...);
+#endif
+#if !(defined vfprintf && defined _GL_STDIO_H) /* don't override gnulib */
+#undef vfprintf
+#define vfprintf libintl_vfprintf
+extern int vfprintf (FILE *, const char *, va_list);
+#endif
+
+#if !(defined printf && defined _GL_STDIO_H) /* don't override gnulib */
+#undef printf
+#if defined __NetBSD__ || defined __BEOS__ || defined __CYGWIN__ || defined __MINGW32__
+/* Don't break __attribute__((format(printf,M,N))).
+ This redefinition is only possible because the libc in NetBSD, Cygwin,
+ mingw does not have a function __printf__.
+ Alternatively, we could have done this redirection only when compiling with
+ __GNUC__, together with a symbol redirection:
+ extern int printf (const char *, ...)
+ __asm__ (#__USER_LABEL_PREFIX__ "libintl_printf");
+ But doing it now would introduce a binary incompatibility with already
+ distributed versions of libintl on these systems. */
+# define libintl_printf __printf__
+#endif
+#define printf libintl_printf
+extern int printf (const char *, ...);
+#endif
+#if !(defined vprintf && defined _GL_STDIO_H) /* don't override gnulib */
+#undef vprintf
+#define vprintf libintl_vprintf
+extern int vprintf (const char *, va_list);
+#endif
+
+#if !(defined sprintf && defined _GL_STDIO_H) /* don't override gnulib */
+#undef sprintf
+#define sprintf libintl_sprintf
+extern int sprintf (char *, const char *, ...);
+#endif
+#if !(defined vsprintf && defined _GL_STDIO_H) /* don't override gnulib */
+#undef vsprintf
+#define vsprintf libintl_vsprintf
+extern int vsprintf (char *, const char *, va_list);
+#endif
+
+#if 1
+
+#if !(defined snprintf && defined _GL_STDIO_H) /* don't override gnulib */
+#undef snprintf
+#define snprintf libintl_snprintf
+extern int snprintf (char *, size_t, const char *, ...);
+#endif
+#if !(defined vsnprintf && defined _GL_STDIO_H) /* don't override gnulib */
+#undef vsnprintf
+#define vsnprintf libintl_vsnprintf
+extern int vsnprintf (char *, size_t, const char *, va_list);
+#endif
+
+#endif
+
+#if 1
+
+#if !(defined asprintf && defined _GL_STDIO_H) /* don't override gnulib */
+#undef asprintf
+#define asprintf libintl_asprintf
+extern int asprintf (char **, const char *, ...);
+#endif
+#if !(defined vasprintf && defined _GL_STDIO_H) /* don't override gnulib */
+#undef vasprintf
+#define vasprintf libintl_vasprintf
+extern int vasprintf (char **, const char *, va_list);
+#endif
+
+#endif
+
+#if 0
+
+#undef fwprintf
+#define fwprintf libintl_fwprintf
+extern int fwprintf (FILE *, const wchar_t *, ...);
+#undef vfwprintf
+#define vfwprintf libintl_vfwprintf
+extern int vfwprintf (FILE *, const wchar_t *, va_list);
+
+#undef wprintf
+#define wprintf libintl_wprintf
+extern int wprintf (const wchar_t *, ...);
+#undef vwprintf
+#define vwprintf libintl_vwprintf
+extern int vwprintf (const wchar_t *, va_list);
+
+#undef swprintf
+#define swprintf libintl_swprintf
+extern int swprintf (wchar_t *, size_t, const wchar_t *, ...);
+#undef vswprintf
+#define vswprintf libintl_vswprintf
+extern int vswprintf (wchar_t *, size_t, const wchar_t *, va_list);
+
+#endif
+
+#endif
+
+
+/* Support for the locale chosen by the user. */
+#if (defined __APPLE__ && defined __MACH__) || defined _WIN32 || defined __WIN32__ || defined __CYGWIN__
+
+#ifndef GNULIB_defined_setlocale /* don't override gnulib */
+#undef setlocale
+#define setlocale libintl_setlocale
+extern char *setlocale (int, const char *);
+#endif
+
+#if 0
+
+#undef newlocale
+#define newlocale libintl_newlocale
+extern locale_t newlocale (int, const char *, locale_t);
+
+#endif
+
+#endif
+
+
+/* Support for relocatable packages. */
+
+/* Sets the original and the current installation prefix of the package.
+ Relocation simply replaces a pathname starting with the original prefix
+ by the corresponding pathname with the current prefix instead. Both
+ prefixes should be directory names without trailing slash (i.e. use ""
+ instead of "/"). */
+#define libintl_set_relocation_prefix libintl_set_relocation_prefix
+extern void
+ libintl_set_relocation_prefix (const char *orig_prefix,
+ const char *curr_prefix);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* libintl.h */
diff --git a/pgsql/include/libpq-events.h b/pgsql/include/libpq-events.h
new file mode 100644
index 0000000000000000000000000000000000000000..b9d513763424c9626fcdb68adb123af5fef2255f
--- /dev/null
+++ b/pgsql/include/libpq-events.h
@@ -0,0 +1,94 @@
+/*-------------------------------------------------------------------------
+ *
+ * libpq-events.h
+ * This file contains definitions that are useful to applications
+ * that invoke the libpq "events" API, but are not interesting to
+ * ordinary users of libpq.
+ *
+ * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
+ * src/interfaces/libpq/libpq-events.h
+ *
+ *-------------------------------------------------------------------------
+ */
+
+#ifndef LIBPQ_EVENTS_H
+#define LIBPQ_EVENTS_H
+
+#include "libpq-fe.h"
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+/* Callback Event Ids */
+typedef enum
+{
+ PGEVT_REGISTER,
+ PGEVT_CONNRESET,
+ PGEVT_CONNDESTROY,
+ PGEVT_RESULTCREATE,
+ PGEVT_RESULTCOPY,
+ PGEVT_RESULTDESTROY
+} PGEventId;
+
+typedef struct
+{
+ PGconn *conn;
+} PGEventRegister;
+
+typedef struct
+{
+ PGconn *conn;
+} PGEventConnReset;
+
+typedef struct
+{
+ PGconn *conn;
+} PGEventConnDestroy;
+
+typedef struct
+{
+ PGconn *conn;
+ PGresult *result;
+} PGEventResultCreate;
+
+typedef struct
+{
+ const PGresult *src;
+ PGresult *dest;
+} PGEventResultCopy;
+
+typedef struct
+{
+ PGresult *result;
+} PGEventResultDestroy;
+
+typedef int (*PGEventProc) (PGEventId evtId, void *evtInfo, void *passThrough);
+
+/* Registers an event proc with the given PGconn. */
+extern int PQregisterEventProc(PGconn *conn, PGEventProc proc,
+ const char *name, void *passThrough);
+
+/* Sets the PGconn instance data for the provided proc to data. */
+extern int PQsetInstanceData(PGconn *conn, PGEventProc proc, void *data);
+
+/* Gets the PGconn instance data for the provided proc. */
+extern void *PQinstanceData(const PGconn *conn, PGEventProc proc);
+
+/* Sets the PGresult instance data for the provided proc to data. */
+extern int PQresultSetInstanceData(PGresult *result, PGEventProc proc, void *data);
+
+/* Gets the PGresult instance data for the provided proc. */
+extern void *PQresultInstanceData(const PGresult *result, PGEventProc proc);
+
+/* Fires RESULTCREATE events for an application-created PGresult. */
+extern int PQfireResultCreateEvents(PGconn *conn, PGresult *res);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* LIBPQ_EVENTS_H */
diff --git a/pgsql/include/libpq-fe.h b/pgsql/include/libpq-fe.h
new file mode 100644
index 0000000000000000000000000000000000000000..7476dbe0e90f51536cb6f640d311e24c4a54a1b4
--- /dev/null
+++ b/pgsql/include/libpq-fe.h
@@ -0,0 +1,675 @@
+/*-------------------------------------------------------------------------
+ *
+ * libpq-fe.h
+ * This file contains definitions for structures and
+ * externs for functions used by frontend postgres applications.
+ *
+ * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
+ * src/interfaces/libpq/libpq-fe.h
+ *
+ *-------------------------------------------------------------------------
+ */
+
+#ifndef LIBPQ_FE_H
+#define LIBPQ_FE_H
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+#include
+
+/*
+ * postgres_ext.h defines the backend's externally visible types,
+ * such as Oid.
+ */
+#include "postgres_ext.h"
+
+/*
+ * These symbols may be used in compile-time #ifdef tests for the availability
+ * of newer libpq features.
+ */
+/* Indicates presence of PQenterPipelineMode and friends */
+#define LIBPQ_HAS_PIPELINING 1
+/* Indicates presence of PQsetTraceFlags; also new PQtrace output format */
+#define LIBPQ_HAS_TRACE_FLAGS 1
+/* Indicates that PQsslAttribute(NULL, "library") is useful */
+#define LIBPQ_HAS_SSL_LIBRARY_DETECTION 1
+
+/*
+ * Option flags for PQcopyResult
+ */
+#define PG_COPYRES_ATTRS 0x01
+#define PG_COPYRES_TUPLES 0x02 /* Implies PG_COPYRES_ATTRS */
+#define PG_COPYRES_EVENTS 0x04
+#define PG_COPYRES_NOTICEHOOKS 0x08
+
+/* Application-visible enum types */
+
+/*
+ * Although it is okay to add to these lists, values which become unused
+ * should never be removed, nor should constants be redefined - that would
+ * break compatibility with existing code.
+ */
+
+typedef enum
+{
+ CONNECTION_OK,
+ CONNECTION_BAD,
+ /* Non-blocking mode only below here */
+
+ /*
+ * The existence of these should never be relied upon - they should only
+ * be used for user feedback or similar purposes.
+ */
+ CONNECTION_STARTED, /* Waiting for connection to be made. */
+ CONNECTION_MADE, /* Connection OK; waiting to send. */
+ CONNECTION_AWAITING_RESPONSE, /* Waiting for a response from the
+ * postmaster. */
+ CONNECTION_AUTH_OK, /* Received authentication; waiting for
+ * backend startup. */
+ CONNECTION_SETENV, /* This state is no longer used. */
+ CONNECTION_SSL_STARTUP, /* Negotiating SSL. */
+ CONNECTION_NEEDED, /* Internal state: connect() needed */
+ CONNECTION_CHECK_WRITABLE, /* Checking if session is read-write. */
+ CONNECTION_CONSUME, /* Consuming any extra messages. */
+ CONNECTION_GSS_STARTUP, /* Negotiating GSSAPI. */
+ CONNECTION_CHECK_TARGET, /* Checking target server properties. */
+ CONNECTION_CHECK_STANDBY /* Checking if server is in standby mode. */
+} ConnStatusType;
+
+typedef enum
+{
+ PGRES_POLLING_FAILED = 0,
+ PGRES_POLLING_READING, /* These two indicate that one may */
+ PGRES_POLLING_WRITING, /* use select before polling again. */
+ PGRES_POLLING_OK,
+ PGRES_POLLING_ACTIVE /* unused; keep for awhile for backwards
+ * compatibility */
+} PostgresPollingStatusType;
+
+typedef enum
+{
+ PGRES_EMPTY_QUERY = 0, /* empty query string was executed */
+ PGRES_COMMAND_OK, /* a query command that doesn't return
+ * anything was executed properly by the
+ * backend */
+ PGRES_TUPLES_OK, /* a query command that returns tuples was
+ * executed properly by the backend, PGresult
+ * contains the result tuples */
+ PGRES_COPY_OUT, /* Copy Out data transfer in progress */
+ PGRES_COPY_IN, /* Copy In data transfer in progress */
+ PGRES_BAD_RESPONSE, /* an unexpected response was recv'd from the
+ * backend */
+ PGRES_NONFATAL_ERROR, /* notice or warning message */
+ PGRES_FATAL_ERROR, /* query failed */
+ PGRES_COPY_BOTH, /* Copy In/Out data transfer in progress */
+ PGRES_SINGLE_TUPLE, /* single tuple from larger resultset */
+ PGRES_PIPELINE_SYNC, /* pipeline synchronization point */
+ PGRES_PIPELINE_ABORTED /* Command didn't run because of an abort
+ * earlier in a pipeline */
+} ExecStatusType;
+
+typedef enum
+{
+ PQTRANS_IDLE, /* connection idle */
+ PQTRANS_ACTIVE, /* command in progress */
+ PQTRANS_INTRANS, /* idle, within transaction block */
+ PQTRANS_INERROR, /* idle, within failed transaction */
+ PQTRANS_UNKNOWN /* cannot determine status */
+} PGTransactionStatusType;
+
+typedef enum
+{
+ PQERRORS_TERSE, /* single-line error messages */
+ PQERRORS_DEFAULT, /* recommended style */
+ PQERRORS_VERBOSE, /* all the facts, ma'am */
+ PQERRORS_SQLSTATE /* only error severity and SQLSTATE code */
+} PGVerbosity;
+
+typedef enum
+{
+ PQSHOW_CONTEXT_NEVER, /* never show CONTEXT field */
+ PQSHOW_CONTEXT_ERRORS, /* show CONTEXT for errors only (default) */
+ PQSHOW_CONTEXT_ALWAYS /* always show CONTEXT field */
+} PGContextVisibility;
+
+/*
+ * PGPing - The ordering of this enum should not be altered because the
+ * values are exposed externally via pg_isready.
+ */
+
+typedef enum
+{
+ PQPING_OK, /* server is accepting connections */
+ PQPING_REJECT, /* server is alive but rejecting connections */
+ PQPING_NO_RESPONSE, /* could not establish connection */
+ PQPING_NO_ATTEMPT /* connection not attempted (bad params) */
+} PGPing;
+
+/*
+ * PGpipelineStatus - Current status of pipeline mode
+ */
+typedef enum
+{
+ PQ_PIPELINE_OFF,
+ PQ_PIPELINE_ON,
+ PQ_PIPELINE_ABORTED
+} PGpipelineStatus;
+
+/* PGconn encapsulates a connection to the backend.
+ * The contents of this struct are not supposed to be known to applications.
+ */
+typedef struct pg_conn PGconn;
+
+/* PGresult encapsulates the result of a query (or more precisely, of a single
+ * SQL command --- a query string given to PQsendQuery can contain multiple
+ * commands and thus return multiple PGresult objects).
+ * The contents of this struct are not supposed to be known to applications.
+ */
+typedef struct pg_result PGresult;
+
+/* PGcancel encapsulates the information needed to cancel a running
+ * query on an existing connection.
+ * The contents of this struct are not supposed to be known to applications.
+ */
+typedef struct pg_cancel PGcancel;
+
+/* PGnotify represents the occurrence of a NOTIFY message.
+ * Ideally this would be an opaque typedef, but it's so simple that it's
+ * unlikely to change.
+ * NOTE: in Postgres 6.4 and later, the be_pid is the notifying backend's,
+ * whereas in earlier versions it was always your own backend's PID.
+ */
+typedef struct pgNotify
+{
+ char *relname; /* notification condition name */
+ int be_pid; /* process ID of notifying server process */
+ char *extra; /* notification parameter */
+ /* Fields below here are private to libpq; apps should not use 'em */
+ struct pgNotify *next; /* list link */
+} PGnotify;
+
+/* Function types for notice-handling callbacks */
+typedef void (*PQnoticeReceiver) (void *arg, const PGresult *res);
+typedef void (*PQnoticeProcessor) (void *arg, const char *message);
+
+/* Print options for PQprint() */
+typedef char pqbool;
+
+typedef struct _PQprintOpt
+{
+ pqbool header; /* print output field headings and row count */
+ pqbool align; /* fill align the fields */
+ pqbool standard; /* old brain dead format */
+ pqbool html3; /* output html tables */
+ pqbool expanded; /* expand tables */
+ pqbool pager; /* use pager for output if needed */
+ char *fieldSep; /* field separator */
+ char *tableOpt; /* insert to HTML
*/
+ char *caption; /* HTML
*/
+ char **fieldName; /* null terminated array of replacement field
+ * names */
+} PQprintOpt;
+
+/* ----------------
+ * Structure for the conninfo parameter definitions returned by PQconndefaults
+ * or PQconninfoParse.
+ *
+ * All fields except "val" point at static strings which must not be altered.
+ * "val" is either NULL or a malloc'd current-value string. PQconninfoFree()
+ * will release both the val strings and the PQconninfoOption array itself.
+ * ----------------
+ */
+typedef struct _PQconninfoOption
+{
+ char *keyword; /* The keyword of the option */
+ char *envvar; /* Fallback environment variable name */
+ char *compiled; /* Fallback compiled in default value */
+ char *val; /* Option's current value, or NULL */
+ char *label; /* Label for field in connect dialog */
+ char *dispchar; /* Indicates how to display this field in a
+ * connect dialog. Values are: "" Display
+ * entered value as is "*" Password field -
+ * hide value "D" Debug option - don't show
+ * by default */
+ int dispsize; /* Field size in characters for dialog */
+} PQconninfoOption;
+
+/* ----------------
+ * PQArgBlock -- structure for PQfn() arguments
+ * ----------------
+ */
+typedef struct
+{
+ int len;
+ int isint;
+ union
+ {
+ int *ptr; /* can't use void (dec compiler barfs) */
+ int integer;
+ } u;
+} PQArgBlock;
+
+/* ----------------
+ * PGresAttDesc -- Data about a single attribute (column) of a query result
+ * ----------------
+ */
+typedef struct pgresAttDesc
+{
+ char *name; /* column name */
+ Oid tableid; /* source table, if known */
+ int columnid; /* source column, if known */
+ int format; /* format code for value (text/binary) */
+ Oid typid; /* type id */
+ int typlen; /* type size */
+ int atttypmod; /* type-specific modifier info */
+} PGresAttDesc;
+
+/* ----------------
+ * Exported functions of libpq
+ * ----------------
+ */
+
+/* === in fe-connect.c === */
+
+/* make a new client connection to the backend */
+/* Asynchronous (non-blocking) */
+extern PGconn *PQconnectStart(const char *conninfo);
+extern PGconn *PQconnectStartParams(const char *const *keywords,
+ const char *const *values, int expand_dbname);
+extern PostgresPollingStatusType PQconnectPoll(PGconn *conn);
+
+/* Synchronous (blocking) */
+extern PGconn *PQconnectdb(const char *conninfo);
+extern PGconn *PQconnectdbParams(const char *const *keywords,
+ const char *const *values, int expand_dbname);
+extern PGconn *PQsetdbLogin(const char *pghost, const char *pgport,
+ const char *pgoptions, const char *pgtty,
+ const char *dbName,
+ const char *login, const char *pwd);
+
+#define PQsetdb(M_PGHOST,M_PGPORT,M_PGOPT,M_PGTTY,M_DBNAME) \
+ PQsetdbLogin(M_PGHOST, M_PGPORT, M_PGOPT, M_PGTTY, M_DBNAME, NULL, NULL)
+
+/* close the current connection and free the PGconn data structure */
+extern void PQfinish(PGconn *conn);
+
+/* get info about connection options known to PQconnectdb */
+extern PQconninfoOption *PQconndefaults(void);
+
+/* parse connection options in same way as PQconnectdb */
+extern PQconninfoOption *PQconninfoParse(const char *conninfo, char **errmsg);
+
+/* return the connection options used by a live connection */
+extern PQconninfoOption *PQconninfo(PGconn *conn);
+
+/* free the data structure returned by PQconndefaults() or PQconninfoParse() */
+extern void PQconninfoFree(PQconninfoOption *connOptions);
+
+/*
+ * close the current connection and reestablish a new one with the same
+ * parameters
+ */
+/* Asynchronous (non-blocking) */
+extern int PQresetStart(PGconn *conn);
+extern PostgresPollingStatusType PQresetPoll(PGconn *conn);
+
+/* Synchronous (blocking) */
+extern void PQreset(PGconn *conn);
+
+/* request a cancel structure */
+extern PGcancel *PQgetCancel(PGconn *conn);
+
+/* free a cancel structure */
+extern void PQfreeCancel(PGcancel *cancel);
+
+/* issue a cancel request */
+extern int PQcancel(PGcancel *cancel, char *errbuf, int errbufsize);
+
+/* backwards compatible version of PQcancel; not thread-safe */
+extern int PQrequestCancel(PGconn *conn);
+
+/* Accessor functions for PGconn objects */
+extern char *PQdb(const PGconn *conn);
+extern char *PQuser(const PGconn *conn);
+extern char *PQpass(const PGconn *conn);
+extern char *PQhost(const PGconn *conn);
+extern char *PQhostaddr(const PGconn *conn);
+extern char *PQport(const PGconn *conn);
+extern char *PQtty(const PGconn *conn);
+extern char *PQoptions(const PGconn *conn);
+extern ConnStatusType PQstatus(const PGconn *conn);
+extern PGTransactionStatusType PQtransactionStatus(const PGconn *conn);
+extern const char *PQparameterStatus(const PGconn *conn,
+ const char *paramName);
+extern int PQprotocolVersion(const PGconn *conn);
+extern int PQserverVersion(const PGconn *conn);
+extern char *PQerrorMessage(const PGconn *conn);
+extern int PQsocket(const PGconn *conn);
+extern int PQbackendPID(const PGconn *conn);
+extern PGpipelineStatus PQpipelineStatus(const PGconn *conn);
+extern int PQconnectionNeedsPassword(const PGconn *conn);
+extern int PQconnectionUsedPassword(const PGconn *conn);
+extern int PQconnectionUsedGSSAPI(const PGconn *conn);
+extern int PQclientEncoding(const PGconn *conn);
+extern int PQsetClientEncoding(PGconn *conn, const char *encoding);
+
+/* SSL information functions */
+extern int PQsslInUse(PGconn *conn);
+extern void *PQsslStruct(PGconn *conn, const char *struct_name);
+extern const char *PQsslAttribute(PGconn *conn, const char *attribute_name);
+extern const char *const *PQsslAttributeNames(PGconn *conn);
+
+/* Get the OpenSSL structure associated with a connection. Returns NULL for
+ * unencrypted connections or if any other TLS library is in use. */
+extern void *PQgetssl(PGconn *conn);
+
+/* Tell libpq whether it needs to initialize OpenSSL */
+extern void PQinitSSL(int do_init);
+
+/* More detailed way to tell libpq whether it needs to initialize OpenSSL */
+extern void PQinitOpenSSL(int do_ssl, int do_crypto);
+
+/* Return true if GSSAPI encryption is in use */
+extern int PQgssEncInUse(PGconn *conn);
+
+/* Returns GSSAPI context if GSSAPI is in use */
+extern void *PQgetgssctx(PGconn *conn);
+
+/* Set verbosity for PQerrorMessage and PQresultErrorMessage */
+extern PGVerbosity PQsetErrorVerbosity(PGconn *conn, PGVerbosity verbosity);
+
+/* Set CONTEXT visibility for PQerrorMessage and PQresultErrorMessage */
+extern PGContextVisibility PQsetErrorContextVisibility(PGconn *conn,
+ PGContextVisibility show_context);
+
+/* Override default notice handling routines */
+extern PQnoticeReceiver PQsetNoticeReceiver(PGconn *conn,
+ PQnoticeReceiver proc,
+ void *arg);
+extern PQnoticeProcessor PQsetNoticeProcessor(PGconn *conn,
+ PQnoticeProcessor proc,
+ void *arg);
+
+/*
+ * Used to set callback that prevents concurrent access to
+ * non-thread safe functions that libpq needs.
+ * The default implementation uses a libpq internal mutex.
+ * Only required for multithreaded apps that use kerberos
+ * both within their app and for postgresql connections.
+ */
+typedef void (*pgthreadlock_t) (int acquire);
+
+extern pgthreadlock_t PQregisterThreadLock(pgthreadlock_t newhandler);
+
+/* === in fe-trace.c === */
+extern void PQtrace(PGconn *conn, FILE *debug_port);
+extern void PQuntrace(PGconn *conn);
+
+/* flags controlling trace output: */
+/* omit timestamps from each line */
+#define PQTRACE_SUPPRESS_TIMESTAMPS (1<<0)
+/* redact portions of some messages, for testing frameworks */
+#define PQTRACE_REGRESS_MODE (1<<1)
+extern void PQsetTraceFlags(PGconn *conn, int flags);
+
+/* === in fe-exec.c === */
+
+/* Simple synchronous query */
+extern PGresult *PQexec(PGconn *conn, const char *query);
+extern PGresult *PQexecParams(PGconn *conn,
+ const char *command,
+ int nParams,
+ const Oid *paramTypes,
+ const char *const *paramValues,
+ const int *paramLengths,
+ const int *paramFormats,
+ int resultFormat);
+extern PGresult *PQprepare(PGconn *conn, const char *stmtName,
+ const char *query, int nParams,
+ const Oid *paramTypes);
+extern PGresult *PQexecPrepared(PGconn *conn,
+ const char *stmtName,
+ int nParams,
+ const char *const *paramValues,
+ const int *paramLengths,
+ const int *paramFormats,
+ int resultFormat);
+
+/* Interface for multiple-result or asynchronous queries */
+#define PQ_QUERY_PARAM_MAX_LIMIT 65535
+
+extern int PQsendQuery(PGconn *conn, const char *query);
+extern int PQsendQueryParams(PGconn *conn,
+ const char *command,
+ int nParams,
+ const Oid *paramTypes,
+ const char *const *paramValues,
+ const int *paramLengths,
+ const int *paramFormats,
+ int resultFormat);
+extern int PQsendPrepare(PGconn *conn, const char *stmtName,
+ const char *query, int nParams,
+ const Oid *paramTypes);
+extern int PQsendQueryPrepared(PGconn *conn,
+ const char *stmtName,
+ int nParams,
+ const char *const *paramValues,
+ const int *paramLengths,
+ const int *paramFormats,
+ int resultFormat);
+extern int PQsetSingleRowMode(PGconn *conn);
+extern PGresult *PQgetResult(PGconn *conn);
+
+/* Routines for managing an asynchronous query */
+extern int PQisBusy(PGconn *conn);
+extern int PQconsumeInput(PGconn *conn);
+
+/* Routines for pipeline mode management */
+extern int PQenterPipelineMode(PGconn *conn);
+extern int PQexitPipelineMode(PGconn *conn);
+extern int PQpipelineSync(PGconn *conn);
+extern int PQsendFlushRequest(PGconn *conn);
+
+/* LISTEN/NOTIFY support */
+extern PGnotify *PQnotifies(PGconn *conn);
+
+/* Routines for copy in/out */
+extern int PQputCopyData(PGconn *conn, const char *buffer, int nbytes);
+extern int PQputCopyEnd(PGconn *conn, const char *errormsg);
+extern int PQgetCopyData(PGconn *conn, char **buffer, int async);
+
+/* Deprecated routines for copy in/out */
+extern int PQgetline(PGconn *conn, char *buffer, int length);
+extern int PQputline(PGconn *conn, const char *string);
+extern int PQgetlineAsync(PGconn *conn, char *buffer, int bufsize);
+extern int PQputnbytes(PGconn *conn, const char *buffer, int nbytes);
+extern int PQendcopy(PGconn *conn);
+
+/* Set blocking/nonblocking connection to the backend */
+extern int PQsetnonblocking(PGconn *conn, int arg);
+extern int PQisnonblocking(const PGconn *conn);
+extern int PQisthreadsafe(void);
+extern PGPing PQping(const char *conninfo);
+extern PGPing PQpingParams(const char *const *keywords,
+ const char *const *values, int expand_dbname);
+
+/* Force the write buffer to be written (or at least try) */
+extern int PQflush(PGconn *conn);
+
+/*
+ * "Fast path" interface --- not really recommended for application
+ * use
+ */
+extern PGresult *PQfn(PGconn *conn,
+ int fnid,
+ int *result_buf,
+ int *result_len,
+ int result_is_int,
+ const PQArgBlock *args,
+ int nargs);
+
+/* Accessor functions for PGresult objects */
+extern ExecStatusType PQresultStatus(const PGresult *res);
+extern char *PQresStatus(ExecStatusType status);
+extern char *PQresultErrorMessage(const PGresult *res);
+extern char *PQresultVerboseErrorMessage(const PGresult *res,
+ PGVerbosity verbosity,
+ PGContextVisibility show_context);
+extern char *PQresultErrorField(const PGresult *res, int fieldcode);
+extern int PQntuples(const PGresult *res);
+extern int PQnfields(const PGresult *res);
+extern int PQbinaryTuples(const PGresult *res);
+extern char *PQfname(const PGresult *res, int field_num);
+extern int PQfnumber(const PGresult *res, const char *field_name);
+extern Oid PQftable(const PGresult *res, int field_num);
+extern int PQftablecol(const PGresult *res, int field_num);
+extern int PQfformat(const PGresult *res, int field_num);
+extern Oid PQftype(const PGresult *res, int field_num);
+extern int PQfsize(const PGresult *res, int field_num);
+extern int PQfmod(const PGresult *res, int field_num);
+extern char *PQcmdStatus(PGresult *res);
+extern char *PQoidStatus(const PGresult *res); /* old and ugly */
+extern Oid PQoidValue(const PGresult *res); /* new and improved */
+extern char *PQcmdTuples(PGresult *res);
+extern char *PQgetvalue(const PGresult *res, int tup_num, int field_num);
+extern int PQgetlength(const PGresult *res, int tup_num, int field_num);
+extern int PQgetisnull(const PGresult *res, int tup_num, int field_num);
+extern int PQnparams(const PGresult *res);
+extern Oid PQparamtype(const PGresult *res, int param_num);
+
+/* Describe prepared statements and portals */
+extern PGresult *PQdescribePrepared(PGconn *conn, const char *stmt);
+extern PGresult *PQdescribePortal(PGconn *conn, const char *portal);
+extern int PQsendDescribePrepared(PGconn *conn, const char *stmt);
+extern int PQsendDescribePortal(PGconn *conn, const char *portal);
+
+/* Delete a PGresult */
+extern void PQclear(PGresult *res);
+
+/* For freeing other alloc'd results, such as PGnotify structs */
+extern void PQfreemem(void *ptr);
+
+/* Exists for backward compatibility. bjm 2003-03-24 */
+#define PQfreeNotify(ptr) PQfreemem(ptr)
+
+/* Error when no password was given. */
+/* Note: depending on this is deprecated; use PQconnectionNeedsPassword(). */
+#define PQnoPasswordSupplied "fe_sendauth: no password supplied\n"
+
+/* Create and manipulate PGresults */
+extern PGresult *PQmakeEmptyPGresult(PGconn *conn, ExecStatusType status);
+extern PGresult *PQcopyResult(const PGresult *src, int flags);
+extern int PQsetResultAttrs(PGresult *res, int numAttributes, PGresAttDesc *attDescs);
+extern void *PQresultAlloc(PGresult *res, size_t nBytes);
+extern size_t PQresultMemorySize(const PGresult *res);
+extern int PQsetvalue(PGresult *res, int tup_num, int field_num, char *value, int len);
+
+/* Quoting strings before inclusion in queries. */
+extern size_t PQescapeStringConn(PGconn *conn,
+ char *to, const char *from, size_t length,
+ int *error);
+extern char *PQescapeLiteral(PGconn *conn, const char *str, size_t len);
+extern char *PQescapeIdentifier(PGconn *conn, const char *str, size_t len);
+extern unsigned char *PQescapeByteaConn(PGconn *conn,
+ const unsigned char *from, size_t from_length,
+ size_t *to_length);
+extern unsigned char *PQunescapeBytea(const unsigned char *strtext,
+ size_t *retbuflen);
+
+/* These forms are deprecated! */
+extern size_t PQescapeString(char *to, const char *from, size_t length);
+extern unsigned char *PQescapeBytea(const unsigned char *from, size_t from_length,
+ size_t *to_length);
+
+
+
+/* === in fe-print.c === */
+
+extern void PQprint(FILE *fout, /* output stream */
+ const PGresult *res,
+ const PQprintOpt *po); /* option structure */
+
+/*
+ * really old printing routines
+ */
+extern void PQdisplayTuples(const PGresult *res,
+ FILE *fp, /* where to send the output */
+ int fillAlign, /* pad the fields with spaces */
+ const char *fieldSep, /* field separator */
+ int printHeader, /* display headers? */
+ int quiet);
+
+extern void PQprintTuples(const PGresult *res,
+ FILE *fout, /* output stream */
+ int PrintAttNames, /* print attribute names */
+ int TerseOutput, /* delimiter bars */
+ int colWidth); /* width of column, if 0, use
+ * variable width */
+
+
+/* === in fe-lobj.c === */
+
+/* Large-object access routines */
+extern int lo_open(PGconn *conn, Oid lobjId, int mode);
+extern int lo_close(PGconn *conn, int fd);
+extern int lo_read(PGconn *conn, int fd, char *buf, size_t len);
+extern int lo_write(PGconn *conn, int fd, const char *buf, size_t len);
+extern int lo_lseek(PGconn *conn, int fd, int offset, int whence);
+extern pg_int64 lo_lseek64(PGconn *conn, int fd, pg_int64 offset, int whence);
+extern Oid lo_creat(PGconn *conn, int mode);
+extern Oid lo_create(PGconn *conn, Oid lobjId);
+extern int lo_tell(PGconn *conn, int fd);
+extern pg_int64 lo_tell64(PGconn *conn, int fd);
+extern int lo_truncate(PGconn *conn, int fd, size_t len);
+extern int lo_truncate64(PGconn *conn, int fd, pg_int64 len);
+extern int lo_unlink(PGconn *conn, Oid lobjId);
+extern Oid lo_import(PGconn *conn, const char *filename);
+extern Oid lo_import_with_oid(PGconn *conn, const char *filename, Oid lobjId);
+extern int lo_export(PGconn *conn, Oid lobjId, const char *filename);
+
+/* === in fe-misc.c === */
+
+/* Get the version of the libpq library in use */
+extern int PQlibVersion(void);
+
+/* Determine length of multibyte encoded char at *s */
+extern int PQmblen(const char *s, int encoding);
+
+/* Same, but not more than the distance to the end of string s */
+extern int PQmblenBounded(const char *s, int encoding);
+
+/* Determine display length of multibyte encoded char at *s */
+extern int PQdsplen(const char *s, int encoding);
+
+/* Get encoding id from environment variable PGCLIENTENCODING */
+extern int PQenv2encoding(void);
+
+/* === in fe-auth.c === */
+
+extern char *PQencryptPassword(const char *passwd, const char *user);
+extern char *PQencryptPasswordConn(PGconn *conn, const char *passwd, const char *user, const char *algorithm);
+
+/* === in encnames.c === */
+
+extern int pg_char_to_encoding(const char *name);
+extern const char *pg_encoding_to_char(int encoding);
+extern int pg_valid_server_encoding_id(int encoding);
+
+/* === in fe-secure-openssl.c === */
+
+/* Support for overriding sslpassword handling with a callback */
+typedef int (*PQsslKeyPassHook_OpenSSL_type) (char *buf, int size, PGconn *conn);
+extern PQsslKeyPassHook_OpenSSL_type PQgetSSLKeyPassHook_OpenSSL(void);
+extern void PQsetSSLKeyPassHook_OpenSSL(PQsslKeyPassHook_OpenSSL_type hook);
+extern int PQdefaultSSLKeyPassHook_OpenSSL(char *buf, int size, PGconn *conn);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* LIBPQ_FE_H */
diff --git a/pgsql/include/lz4.h b/pgsql/include/lz4.h
new file mode 100644
index 0000000000000000000000000000000000000000..491c6087c417754ff4662a02c1bfc9ddc13d43e1
--- /dev/null
+++ b/pgsql/include/lz4.h
@@ -0,0 +1,842 @@
+/*
+ * LZ4 - Fast LZ compression algorithm
+ * Header File
+ * Copyright (C) 2011-2020, Yann Collet.
+
+ BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following disclaimer
+ in the documentation and/or other materials provided with the
+ distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+ You can contact the author at :
+ - LZ4 homepage : http://www.lz4.org
+ - LZ4 source repository : https://github.com/lz4/lz4
+*/
+#if defined (__cplusplus)
+extern "C" {
+#endif
+
+#ifndef LZ4_H_2983827168210
+#define LZ4_H_2983827168210
+
+/* --- Dependency --- */
+#include /* size_t */
+
+
+/**
+ Introduction
+
+ LZ4 is lossless compression algorithm, providing compression speed >500 MB/s per core,
+ scalable with multi-cores CPU. It features an extremely fast decoder, with speed in
+ multiple GB/s per core, typically reaching RAM speed limits on multi-core systems.
+
+ The LZ4 compression library provides in-memory compression and decompression functions.
+ It gives full buffer control to user.
+ Compression can be done in:
+ - a single step (described as Simple Functions)
+ - a single step, reusing a context (described in Advanced Functions)
+ - unbounded multiple steps (described as Streaming compression)
+
+ lz4.h generates and decodes LZ4-compressed blocks (doc/lz4_Block_format.md).
+ Decompressing such a compressed block requires additional metadata.
+ Exact metadata depends on exact decompression function.
+ For the typical case of LZ4_decompress_safe(),
+ metadata includes block's compressed size, and maximum bound of decompressed size.
+ Each application is free to encode and pass such metadata in whichever way it wants.
+
+ lz4.h only handle blocks, it can not generate Frames.
+
+ Blocks are different from Frames (doc/lz4_Frame_format.md).
+ Frames bundle both blocks and metadata in a specified manner.
+ Embedding metadata is required for compressed data to be self-contained and portable.
+ Frame format is delivered through a companion API, declared in lz4frame.h.
+ The `lz4` CLI can only manage frames.
+*/
+
+/*^***************************************************************
+* Export parameters
+*****************************************************************/
+/*
+* LZ4_DLL_EXPORT :
+* Enable exporting of functions when building a Windows DLL
+* LZ4LIB_VISIBILITY :
+* Control library symbols visibility.
+*/
+#ifndef LZ4LIB_VISIBILITY
+# if defined(__GNUC__) && (__GNUC__ >= 4)
+# define LZ4LIB_VISIBILITY __attribute__ ((visibility ("default")))
+# else
+# define LZ4LIB_VISIBILITY
+# endif
+#endif
+#if defined(LZ4_DLL_EXPORT) && (LZ4_DLL_EXPORT==1)
+# define LZ4LIB_API __declspec(dllexport) LZ4LIB_VISIBILITY
+#elif defined(LZ4_DLL_IMPORT) && (LZ4_DLL_IMPORT==1)
+# define LZ4LIB_API __declspec(dllimport) LZ4LIB_VISIBILITY /* It isn't required but allows to generate better code, saving a function pointer load from the IAT and an indirect jump.*/
+#else
+# define LZ4LIB_API LZ4LIB_VISIBILITY
+#endif
+
+/*! LZ4_FREESTANDING :
+ * When this macro is set to 1, it enables "freestanding mode" that is
+ * suitable for typical freestanding environment which doesn't support
+ * standard C library.
+ *
+ * - LZ4_FREESTANDING is a compile-time switch.
+ * - It requires the following macros to be defined:
+ * LZ4_memcpy, LZ4_memmove, LZ4_memset.
+ * - It only enables LZ4/HC functions which don't use heap.
+ * All LZ4F_* functions are not supported.
+ * - See tests/freestanding.c to check its basic setup.
+ */
+#if defined(LZ4_FREESTANDING) && (LZ4_FREESTANDING == 1)
+# define LZ4_HEAPMODE 0
+# define LZ4HC_HEAPMODE 0
+# define LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION 1
+# if !defined(LZ4_memcpy)
+# error "LZ4_FREESTANDING requires macro 'LZ4_memcpy'."
+# endif
+# if !defined(LZ4_memset)
+# error "LZ4_FREESTANDING requires macro 'LZ4_memset'."
+# endif
+# if !defined(LZ4_memmove)
+# error "LZ4_FREESTANDING requires macro 'LZ4_memmove'."
+# endif
+#elif ! defined(LZ4_FREESTANDING)
+# define LZ4_FREESTANDING 0
+#endif
+
+
+/*------ Version ------*/
+#define LZ4_VERSION_MAJOR 1 /* for breaking interface changes */
+#define LZ4_VERSION_MINOR 9 /* for new (non-breaking) interface capabilities */
+#define LZ4_VERSION_RELEASE 4 /* for tweaks, bug-fixes, or development */
+
+#define LZ4_VERSION_NUMBER (LZ4_VERSION_MAJOR *100*100 + LZ4_VERSION_MINOR *100 + LZ4_VERSION_RELEASE)
+
+#define LZ4_LIB_VERSION LZ4_VERSION_MAJOR.LZ4_VERSION_MINOR.LZ4_VERSION_RELEASE
+#define LZ4_QUOTE(str) #str
+#define LZ4_EXPAND_AND_QUOTE(str) LZ4_QUOTE(str)
+#define LZ4_VERSION_STRING LZ4_EXPAND_AND_QUOTE(LZ4_LIB_VERSION) /* requires v1.7.3+ */
+
+LZ4LIB_API int LZ4_versionNumber (void); /**< library version number; useful to check dll version; requires v1.3.0+ */
+LZ4LIB_API const char* LZ4_versionString (void); /**< library version string; useful to check dll version; requires v1.7.5+ */
+
+
+/*-************************************
+* Tuning parameter
+**************************************/
+#define LZ4_MEMORY_USAGE_MIN 10
+#define LZ4_MEMORY_USAGE_DEFAULT 14
+#define LZ4_MEMORY_USAGE_MAX 20
+
+/*!
+ * LZ4_MEMORY_USAGE :
+ * Memory usage formula : N->2^N Bytes (examples : 10 -> 1KB; 12 -> 4KB ; 16 -> 64KB; 20 -> 1MB; )
+ * Increasing memory usage improves compression ratio, at the cost of speed.
+ * Reduced memory usage may improve speed at the cost of ratio, thanks to better cache locality.
+ * Default value is 14, for 16KB, which nicely fits into Intel x86 L1 cache
+ */
+#ifndef LZ4_MEMORY_USAGE
+# define LZ4_MEMORY_USAGE LZ4_MEMORY_USAGE_DEFAULT
+#endif
+
+#if (LZ4_MEMORY_USAGE < LZ4_MEMORY_USAGE_MIN)
+# error "LZ4_MEMORY_USAGE is too small !"
+#endif
+
+#if (LZ4_MEMORY_USAGE > LZ4_MEMORY_USAGE_MAX)
+# error "LZ4_MEMORY_USAGE is too large !"
+#endif
+
+/*-************************************
+* Simple Functions
+**************************************/
+/*! LZ4_compress_default() :
+ * Compresses 'srcSize' bytes from buffer 'src'
+ * into already allocated 'dst' buffer of size 'dstCapacity'.
+ * Compression is guaranteed to succeed if 'dstCapacity' >= LZ4_compressBound(srcSize).
+ * It also runs faster, so it's a recommended setting.
+ * If the function cannot compress 'src' into a more limited 'dst' budget,
+ * compression stops *immediately*, and the function result is zero.
+ * In which case, 'dst' content is undefined (invalid).
+ * srcSize : max supported value is LZ4_MAX_INPUT_SIZE.
+ * dstCapacity : size of buffer 'dst' (which must be already allocated)
+ * @return : the number of bytes written into buffer 'dst' (necessarily <= dstCapacity)
+ * or 0 if compression fails
+ * Note : This function is protected against buffer overflow scenarios (never writes outside 'dst' buffer, nor read outside 'source' buffer).
+ */
+LZ4LIB_API int LZ4_compress_default(const char* src, char* dst, int srcSize, int dstCapacity);
+
+/*! LZ4_decompress_safe() :
+ * compressedSize : is the exact complete size of the compressed block.
+ * dstCapacity : is the size of destination buffer (which must be already allocated), presumed an upper bound of decompressed size.
+ * @return : the number of bytes decompressed into destination buffer (necessarily <= dstCapacity)
+ * If destination buffer is not large enough, decoding will stop and output an error code (negative value).
+ * If the source stream is detected malformed, the function will stop decoding and return a negative result.
+ * Note 1 : This function is protected against malicious data packets :
+ * it will never writes outside 'dst' buffer, nor read outside 'source' buffer,
+ * even if the compressed block is maliciously modified to order the decoder to do these actions.
+ * In such case, the decoder stops immediately, and considers the compressed block malformed.
+ * Note 2 : compressedSize and dstCapacity must be provided to the function, the compressed block does not contain them.
+ * The implementation is free to send / store / derive this information in whichever way is most beneficial.
+ * If there is a need for a different format which bundles together both compressed data and its metadata, consider looking at lz4frame.h instead.
+ */
+LZ4LIB_API int LZ4_decompress_safe (const char* src, char* dst, int compressedSize, int dstCapacity);
+
+
+/*-************************************
+* Advanced Functions
+**************************************/
+#define LZ4_MAX_INPUT_SIZE 0x7E000000 /* 2 113 929 216 bytes */
+#define LZ4_COMPRESSBOUND(isize) ((unsigned)(isize) > (unsigned)LZ4_MAX_INPUT_SIZE ? 0 : (isize) + ((isize)/255) + 16)
+
+/*! LZ4_compressBound() :
+ Provides the maximum size that LZ4 compression may output in a "worst case" scenario (input data not compressible)
+ This function is primarily useful for memory allocation purposes (destination buffer size).
+ Macro LZ4_COMPRESSBOUND() is also provided for compilation-time evaluation (stack memory allocation for example).
+ Note that LZ4_compress_default() compresses faster when dstCapacity is >= LZ4_compressBound(srcSize)
+ inputSize : max supported value is LZ4_MAX_INPUT_SIZE
+ return : maximum output size in a "worst case" scenario
+ or 0, if input size is incorrect (too large or negative)
+*/
+LZ4LIB_API int LZ4_compressBound(int inputSize);
+
+/*! LZ4_compress_fast() :
+ Same as LZ4_compress_default(), but allows selection of "acceleration" factor.
+ The larger the acceleration value, the faster the algorithm, but also the lesser the compression.
+ It's a trade-off. It can be fine tuned, with each successive value providing roughly +~3% to speed.
+ An acceleration value of "1" is the same as regular LZ4_compress_default()
+ Values <= 0 will be replaced by LZ4_ACCELERATION_DEFAULT (currently == 1, see lz4.c).
+ Values > LZ4_ACCELERATION_MAX will be replaced by LZ4_ACCELERATION_MAX (currently == 65537, see lz4.c).
+*/
+LZ4LIB_API int LZ4_compress_fast (const char* src, char* dst, int srcSize, int dstCapacity, int acceleration);
+
+
+/*! LZ4_compress_fast_extState() :
+ * Same as LZ4_compress_fast(), using an externally allocated memory space for its state.
+ * Use LZ4_sizeofState() to know how much memory must be allocated,
+ * and allocate it on 8-bytes boundaries (using `malloc()` typically).
+ * Then, provide this buffer as `void* state` to compression function.
+ */
+LZ4LIB_API int LZ4_sizeofState(void);
+LZ4LIB_API int LZ4_compress_fast_extState (void* state, const char* src, char* dst, int srcSize, int dstCapacity, int acceleration);
+
+
+/*! LZ4_compress_destSize() :
+ * Reverse the logic : compresses as much data as possible from 'src' buffer
+ * into already allocated buffer 'dst', of size >= 'targetDestSize'.
+ * This function either compresses the entire 'src' content into 'dst' if it's large enough,
+ * or fill 'dst' buffer completely with as much data as possible from 'src'.
+ * note: acceleration parameter is fixed to "default".
+ *
+ * *srcSizePtr : will be modified to indicate how many bytes where read from 'src' to fill 'dst'.
+ * New value is necessarily <= input value.
+ * @return : Nb bytes written into 'dst' (necessarily <= targetDestSize)
+ * or 0 if compression fails.
+ *
+ * Note : from v1.8.2 to v1.9.1, this function had a bug (fixed un v1.9.2+):
+ * the produced compressed content could, in specific circumstances,
+ * require to be decompressed into a destination buffer larger
+ * by at least 1 byte than the content to decompress.
+ * If an application uses `LZ4_compress_destSize()`,
+ * it's highly recommended to update liblz4 to v1.9.2 or better.
+ * If this can't be done or ensured,
+ * the receiving decompression function should provide
+ * a dstCapacity which is > decompressedSize, by at least 1 byte.
+ * See https://github.com/lz4/lz4/issues/859 for details
+ */
+LZ4LIB_API int LZ4_compress_destSize (const char* src, char* dst, int* srcSizePtr, int targetDstSize);
+
+
+/*! LZ4_decompress_safe_partial() :
+ * Decompress an LZ4 compressed block, of size 'srcSize' at position 'src',
+ * into destination buffer 'dst' of size 'dstCapacity'.
+ * Up to 'targetOutputSize' bytes will be decoded.
+ * The function stops decoding on reaching this objective.
+ * This can be useful to boost performance
+ * whenever only the beginning of a block is required.
+ *
+ * @return : the number of bytes decoded in `dst` (necessarily <= targetOutputSize)
+ * If source stream is detected malformed, function returns a negative result.
+ *
+ * Note 1 : @return can be < targetOutputSize, if compressed block contains less data.
+ *
+ * Note 2 : targetOutputSize must be <= dstCapacity
+ *
+ * Note 3 : this function effectively stops decoding on reaching targetOutputSize,
+ * so dstCapacity is kind of redundant.
+ * This is because in older versions of this function,
+ * decoding operation would still write complete sequences.
+ * Therefore, there was no guarantee that it would stop writing at exactly targetOutputSize,
+ * it could write more bytes, though only up to dstCapacity.
+ * Some "margin" used to be required for this operation to work properly.
+ * Thankfully, this is no longer necessary.
+ * The function nonetheless keeps the same signature, in an effort to preserve API compatibility.
+ *
+ * Note 4 : If srcSize is the exact size of the block,
+ * then targetOutputSize can be any value,
+ * including larger than the block's decompressed size.
+ * The function will, at most, generate block's decompressed size.
+ *
+ * Note 5 : If srcSize is _larger_ than block's compressed size,
+ * then targetOutputSize **MUST** be <= block's decompressed size.
+ * Otherwise, *silent corruption will occur*.
+ */
+LZ4LIB_API int LZ4_decompress_safe_partial (const char* src, char* dst, int srcSize, int targetOutputSize, int dstCapacity);
+
+
+/*-*********************************************
+* Streaming Compression Functions
+***********************************************/
+typedef union LZ4_stream_u LZ4_stream_t; /* incomplete type (defined later) */
+
+/**
+ Note about RC_INVOKED
+
+ - RC_INVOKED is predefined symbol of rc.exe (the resource compiler which is part of MSVC/Visual Studio).
+ https://docs.microsoft.com/en-us/windows/win32/menurc/predefined-macros
+
+ - Since rc.exe is a legacy compiler, it truncates long symbol (> 30 chars)
+ and reports warning "RC4011: identifier truncated".
+
+ - To eliminate the warning, we surround long preprocessor symbol with
+ "#if !defined(RC_INVOKED) ... #endif" block that means
+ "skip this block when rc.exe is trying to read it".
+*/
+#if !defined(RC_INVOKED) /* https://docs.microsoft.com/en-us/windows/win32/menurc/predefined-macros */
+#if !defined(LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION)
+LZ4LIB_API LZ4_stream_t* LZ4_createStream(void);
+LZ4LIB_API int LZ4_freeStream (LZ4_stream_t* streamPtr);
+#endif /* !defined(LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION) */
+#endif
+
+/*! LZ4_resetStream_fast() : v1.9.0+
+ * Use this to prepare an LZ4_stream_t for a new chain of dependent blocks
+ * (e.g., LZ4_compress_fast_continue()).
+ *
+ * An LZ4_stream_t must be initialized once before usage.
+ * This is automatically done when created by LZ4_createStream().
+ * However, should the LZ4_stream_t be simply declared on stack (for example),
+ * it's necessary to initialize it first, using LZ4_initStream().
+ *
+ * After init, start any new stream with LZ4_resetStream_fast().
+ * A same LZ4_stream_t can be re-used multiple times consecutively
+ * and compress multiple streams,
+ * provided that it starts each new stream with LZ4_resetStream_fast().
+ *
+ * LZ4_resetStream_fast() is much faster than LZ4_initStream(),
+ * but is not compatible with memory regions containing garbage data.
+ *
+ * Note: it's only useful to call LZ4_resetStream_fast()
+ * in the context of streaming compression.
+ * The *extState* functions perform their own resets.
+ * Invoking LZ4_resetStream_fast() before is redundant, and even counterproductive.
+ */
+LZ4LIB_API void LZ4_resetStream_fast (LZ4_stream_t* streamPtr);
+
+/*! LZ4_loadDict() :
+ * Use this function to reference a static dictionary into LZ4_stream_t.
+ * The dictionary must remain available during compression.
+ * LZ4_loadDict() triggers a reset, so any previous data will be forgotten.
+ * The same dictionary will have to be loaded on decompression side for successful decoding.
+ * Dictionary are useful for better compression of small data (KB range).
+ * While LZ4 accept any input as dictionary,
+ * results are generally better when using Zstandard's Dictionary Builder.
+ * Loading a size of 0 is allowed, and is the same as reset.
+ * @return : loaded dictionary size, in bytes (necessarily <= 64 KB)
+ */
+LZ4LIB_API int LZ4_loadDict (LZ4_stream_t* streamPtr, const char* dictionary, int dictSize);
+
+/*! LZ4_compress_fast_continue() :
+ * Compress 'src' content using data from previously compressed blocks, for better compression ratio.
+ * 'dst' buffer must be already allocated.
+ * If dstCapacity >= LZ4_compressBound(srcSize), compression is guaranteed to succeed, and runs faster.
+ *
+ * @return : size of compressed block
+ * or 0 if there is an error (typically, cannot fit into 'dst').
+ *
+ * Note 1 : Each invocation to LZ4_compress_fast_continue() generates a new block.
+ * Each block has precise boundaries.
+ * Each block must be decompressed separately, calling LZ4_decompress_*() with relevant metadata.
+ * It's not possible to append blocks together and expect a single invocation of LZ4_decompress_*() to decompress them together.
+ *
+ * Note 2 : The previous 64KB of source data is __assumed__ to remain present, unmodified, at same address in memory !
+ *
+ * Note 3 : When input is structured as a double-buffer, each buffer can have any size, including < 64 KB.
+ * Make sure that buffers are separated, by at least one byte.
+ * This construction ensures that each block only depends on previous block.
+ *
+ * Note 4 : If input buffer is a ring-buffer, it can have any size, including < 64 KB.
+ *
+ * Note 5 : After an error, the stream status is undefined (invalid), it can only be reset or freed.
+ */
+LZ4LIB_API int LZ4_compress_fast_continue (LZ4_stream_t* streamPtr, const char* src, char* dst, int srcSize, int dstCapacity, int acceleration);
+
+/*! LZ4_saveDict() :
+ * If last 64KB data cannot be guaranteed to remain available at its current memory location,
+ * save it into a safer place (char* safeBuffer).
+ * This is schematically equivalent to a memcpy() followed by LZ4_loadDict(),
+ * but is much faster, because LZ4_saveDict() doesn't need to rebuild tables.
+ * @return : saved dictionary size in bytes (necessarily <= maxDictSize), or 0 if error.
+ */
+LZ4LIB_API int LZ4_saveDict (LZ4_stream_t* streamPtr, char* safeBuffer, int maxDictSize);
+
+
+/*-**********************************************
+* Streaming Decompression Functions
+* Bufferless synchronous API
+************************************************/
+typedef union LZ4_streamDecode_u LZ4_streamDecode_t; /* tracking context */
+
+/*! LZ4_createStreamDecode() and LZ4_freeStreamDecode() :
+ * creation / destruction of streaming decompression tracking context.
+ * A tracking context can be re-used multiple times.
+ */
+#if !defined(RC_INVOKED) /* https://docs.microsoft.com/en-us/windows/win32/menurc/predefined-macros */
+#if !defined(LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION)
+LZ4LIB_API LZ4_streamDecode_t* LZ4_createStreamDecode(void);
+LZ4LIB_API int LZ4_freeStreamDecode (LZ4_streamDecode_t* LZ4_stream);
+#endif /* !defined(LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION) */
+#endif
+
+/*! LZ4_setStreamDecode() :
+ * An LZ4_streamDecode_t context can be allocated once and re-used multiple times.
+ * Use this function to start decompression of a new stream of blocks.
+ * A dictionary can optionally be set. Use NULL or size 0 for a reset order.
+ * Dictionary is presumed stable : it must remain accessible and unmodified during next decompression.
+ * @return : 1 if OK, 0 if error
+ */
+LZ4LIB_API int LZ4_setStreamDecode (LZ4_streamDecode_t* LZ4_streamDecode, const char* dictionary, int dictSize);
+
+/*! LZ4_decoderRingBufferSize() : v1.8.2+
+ * Note : in a ring buffer scenario (optional),
+ * blocks are presumed decompressed next to each other
+ * up to the moment there is not enough remaining space for next block (remainingSize < maxBlockSize),
+ * at which stage it resumes from beginning of ring buffer.
+ * When setting such a ring buffer for streaming decompression,
+ * provides the minimum size of this ring buffer
+ * to be compatible with any source respecting maxBlockSize condition.
+ * @return : minimum ring buffer size,
+ * or 0 if there is an error (invalid maxBlockSize).
+ */
+LZ4LIB_API int LZ4_decoderRingBufferSize(int maxBlockSize);
+#define LZ4_DECODER_RING_BUFFER_SIZE(maxBlockSize) (65536 + 14 + (maxBlockSize)) /* for static allocation; maxBlockSize presumed valid */
+
+/*! LZ4_decompress_*_continue() :
+ * These decoding functions allow decompression of consecutive blocks in "streaming" mode.
+ * A block is an unsplittable entity, it must be presented entirely to a decompression function.
+ * Decompression functions only accepts one block at a time.
+ * The last 64KB of previously decoded data *must* remain available and unmodified at the memory position where they were decoded.
+ * If less than 64KB of data has been decoded, all the data must be present.
+ *
+ * Special : if decompression side sets a ring buffer, it must respect one of the following conditions :
+ * - Decompression buffer size is _at least_ LZ4_decoderRingBufferSize(maxBlockSize).
+ * maxBlockSize is the maximum size of any single block. It can have any value > 16 bytes.
+ * In which case, encoding and decoding buffers do not need to be synchronized.
+ * Actually, data can be produced by any source compliant with LZ4 format specification, and respecting maxBlockSize.
+ * - Synchronized mode :
+ * Decompression buffer size is _exactly_ the same as compression buffer size,
+ * and follows exactly same update rule (block boundaries at same positions),
+ * and decoding function is provided with exact decompressed size of each block (exception for last block of the stream),
+ * _then_ decoding & encoding ring buffer can have any size, including small ones ( < 64 KB).
+ * - Decompression buffer is larger than encoding buffer, by a minimum of maxBlockSize more bytes.
+ * In which case, encoding and decoding buffers do not need to be synchronized,
+ * and encoding ring buffer can have any size, including small ones ( < 64 KB).
+ *
+ * Whenever these conditions are not possible,
+ * save the last 64KB of decoded data into a safe buffer where it can't be modified during decompression,
+ * then indicate where this data is saved using LZ4_setStreamDecode(), before decompressing next block.
+*/
+LZ4LIB_API int
+LZ4_decompress_safe_continue (LZ4_streamDecode_t* LZ4_streamDecode,
+ const char* src, char* dst,
+ int srcSize, int dstCapacity);
+
+
+/*! LZ4_decompress_*_usingDict() :
+ * These decoding functions work the same as
+ * a combination of LZ4_setStreamDecode() followed by LZ4_decompress_*_continue()
+ * They are stand-alone, and don't need an LZ4_streamDecode_t structure.
+ * Dictionary is presumed stable : it must remain accessible and unmodified during decompression.
+ * Performance tip : Decompression speed can be substantially increased
+ * when dst == dictStart + dictSize.
+ */
+LZ4LIB_API int
+LZ4_decompress_safe_usingDict(const char* src, char* dst,
+ int srcSize, int dstCapacity,
+ const char* dictStart, int dictSize);
+
+LZ4LIB_API int
+LZ4_decompress_safe_partial_usingDict(const char* src, char* dst,
+ int compressedSize,
+ int targetOutputSize, int maxOutputSize,
+ const char* dictStart, int dictSize);
+
+#endif /* LZ4_H_2983827168210 */
+
+
+/*^*************************************
+ * !!!!!! STATIC LINKING ONLY !!!!!!
+ ***************************************/
+
+/*-****************************************************************************
+ * Experimental section
+ *
+ * Symbols declared in this section must be considered unstable. Their
+ * signatures or semantics may change, or they may be removed altogether in the
+ * future. They are therefore only safe to depend on when the caller is
+ * statically linked against the library.
+ *
+ * To protect against unsafe usage, not only are the declarations guarded,
+ * the definitions are hidden by default
+ * when building LZ4 as a shared/dynamic library.
+ *
+ * In order to access these declarations,
+ * define LZ4_STATIC_LINKING_ONLY in your application
+ * before including LZ4's headers.
+ *
+ * In order to make their implementations accessible dynamically, you must
+ * define LZ4_PUBLISH_STATIC_FUNCTIONS when building the LZ4 library.
+ ******************************************************************************/
+
+#ifdef LZ4_STATIC_LINKING_ONLY
+
+#ifndef LZ4_STATIC_3504398509
+#define LZ4_STATIC_3504398509
+
+#ifdef LZ4_PUBLISH_STATIC_FUNCTIONS
+#define LZ4LIB_STATIC_API LZ4LIB_API
+#else
+#define LZ4LIB_STATIC_API
+#endif
+
+
+/*! LZ4_compress_fast_extState_fastReset() :
+ * A variant of LZ4_compress_fast_extState().
+ *
+ * Using this variant avoids an expensive initialization step.
+ * It is only safe to call if the state buffer is known to be correctly initialized already
+ * (see above comment on LZ4_resetStream_fast() for a definition of "correctly initialized").
+ * From a high level, the difference is that
+ * this function initializes the provided state with a call to something like LZ4_resetStream_fast()
+ * while LZ4_compress_fast_extState() starts with a call to LZ4_resetStream().
+ */
+LZ4LIB_STATIC_API int LZ4_compress_fast_extState_fastReset (void* state, const char* src, char* dst, int srcSize, int dstCapacity, int acceleration);
+
+/*! LZ4_attach_dictionary() :
+ * This is an experimental API that allows
+ * efficient use of a static dictionary many times.
+ *
+ * Rather than re-loading the dictionary buffer into a working context before
+ * each compression, or copying a pre-loaded dictionary's LZ4_stream_t into a
+ * working LZ4_stream_t, this function introduces a no-copy setup mechanism,
+ * in which the working stream references the dictionary stream in-place.
+ *
+ * Several assumptions are made about the state of the dictionary stream.
+ * Currently, only streams which have been prepared by LZ4_loadDict() should
+ * be expected to work.
+ *
+ * Alternatively, the provided dictionaryStream may be NULL,
+ * in which case any existing dictionary stream is unset.
+ *
+ * If a dictionary is provided, it replaces any pre-existing stream history.
+ * The dictionary contents are the only history that can be referenced and
+ * logically immediately precede the data compressed in the first subsequent
+ * compression call.
+ *
+ * The dictionary will only remain attached to the working stream through the
+ * first compression call, at the end of which it is cleared. The dictionary
+ * stream (and source buffer) must remain in-place / accessible / unchanged
+ * through the completion of the first compression call on the stream.
+ */
+LZ4LIB_STATIC_API void
+LZ4_attach_dictionary(LZ4_stream_t* workingStream,
+ const LZ4_stream_t* dictionaryStream);
+
+
+/*! In-place compression and decompression
+ *
+ * It's possible to have input and output sharing the same buffer,
+ * for highly constrained memory environments.
+ * In both cases, it requires input to lay at the end of the buffer,
+ * and decompression to start at beginning of the buffer.
+ * Buffer size must feature some margin, hence be larger than final size.
+ *
+ * |<------------------------buffer--------------------------------->|
+ * |<-----------compressed data--------->|
+ * |<-----------decompressed size------------------>|
+ * |<----margin---->|
+ *
+ * This technique is more useful for decompression,
+ * since decompressed size is typically larger,
+ * and margin is short.
+ *
+ * In-place decompression will work inside any buffer
+ * which size is >= LZ4_DECOMPRESS_INPLACE_BUFFER_SIZE(decompressedSize).
+ * This presumes that decompressedSize > compressedSize.
+ * Otherwise, it means compression actually expanded data,
+ * and it would be more efficient to store such data with a flag indicating it's not compressed.
+ * This can happen when data is not compressible (already compressed, or encrypted).
+ *
+ * For in-place compression, margin is larger, as it must be able to cope with both
+ * history preservation, requiring input data to remain unmodified up to LZ4_DISTANCE_MAX,
+ * and data expansion, which can happen when input is not compressible.
+ * As a consequence, buffer size requirements are much higher,
+ * and memory savings offered by in-place compression are more limited.
+ *
+ * There are ways to limit this cost for compression :
+ * - Reduce history size, by modifying LZ4_DISTANCE_MAX.
+ * Note that it is a compile-time constant, so all compressions will apply this limit.
+ * Lower values will reduce compression ratio, except when input_size < LZ4_DISTANCE_MAX,
+ * so it's a reasonable trick when inputs are known to be small.
+ * - Require the compressor to deliver a "maximum compressed size".
+ * This is the `dstCapacity` parameter in `LZ4_compress*()`.
+ * When this size is < LZ4_COMPRESSBOUND(inputSize), then compression can fail,
+ * in which case, the return code will be 0 (zero).
+ * The caller must be ready for these cases to happen,
+ * and typically design a backup scheme to send data uncompressed.
+ * The combination of both techniques can significantly reduce
+ * the amount of margin required for in-place compression.
+ *
+ * In-place compression can work in any buffer
+ * which size is >= (maxCompressedSize)
+ * with maxCompressedSize == LZ4_COMPRESSBOUND(srcSize) for guaranteed compression success.
+ * LZ4_COMPRESS_INPLACE_BUFFER_SIZE() depends on both maxCompressedSize and LZ4_DISTANCE_MAX,
+ * so it's possible to reduce memory requirements by playing with them.
+ */
+
+#define LZ4_DECOMPRESS_INPLACE_MARGIN(compressedSize) (((compressedSize) >> 8) + 32)
+#define LZ4_DECOMPRESS_INPLACE_BUFFER_SIZE(decompressedSize) ((decompressedSize) + LZ4_DECOMPRESS_INPLACE_MARGIN(decompressedSize)) /**< note: presumes that compressedSize < decompressedSize. note2: margin is overestimated a bit, since it could use compressedSize instead */
+
+#ifndef LZ4_DISTANCE_MAX /* history window size; can be user-defined at compile time */
+# define LZ4_DISTANCE_MAX 65535 /* set to maximum value by default */
+#endif
+
+#define LZ4_COMPRESS_INPLACE_MARGIN (LZ4_DISTANCE_MAX + 32) /* LZ4_DISTANCE_MAX can be safely replaced by srcSize when it's smaller */
+#define LZ4_COMPRESS_INPLACE_BUFFER_SIZE(maxCompressedSize) ((maxCompressedSize) + LZ4_COMPRESS_INPLACE_MARGIN) /**< maxCompressedSize is generally LZ4_COMPRESSBOUND(inputSize), but can be set to any lower value, with the risk that compression can fail (return code 0(zero)) */
+
+#endif /* LZ4_STATIC_3504398509 */
+#endif /* LZ4_STATIC_LINKING_ONLY */
+
+
+
+#ifndef LZ4_H_98237428734687
+#define LZ4_H_98237428734687
+
+/*-************************************************************
+ * Private Definitions
+ **************************************************************
+ * Do not use these definitions directly.
+ * They are only exposed to allow static allocation of `LZ4_stream_t` and `LZ4_streamDecode_t`.
+ * Accessing members will expose user code to API and/or ABI break in future versions of the library.
+ **************************************************************/
+#define LZ4_HASHLOG (LZ4_MEMORY_USAGE-2)
+#define LZ4_HASHTABLESIZE (1 << LZ4_MEMORY_USAGE)
+#define LZ4_HASH_SIZE_U32 (1 << LZ4_HASHLOG) /* required as macro for static allocation */
+
+#if defined(__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */)
+# include
+ typedef int8_t LZ4_i8;
+ typedef uint8_t LZ4_byte;
+ typedef uint16_t LZ4_u16;
+ typedef uint32_t LZ4_u32;
+#else
+ typedef signed char LZ4_i8;
+ typedef unsigned char LZ4_byte;
+ typedef unsigned short LZ4_u16;
+ typedef unsigned int LZ4_u32;
+#endif
+
+/*! LZ4_stream_t :
+ * Never ever use below internal definitions directly !
+ * These definitions are not API/ABI safe, and may change in future versions.
+ * If you need static allocation, declare or allocate an LZ4_stream_t object.
+**/
+
+typedef struct LZ4_stream_t_internal LZ4_stream_t_internal;
+struct LZ4_stream_t_internal {
+ LZ4_u32 hashTable[LZ4_HASH_SIZE_U32];
+ const LZ4_byte* dictionary;
+ const LZ4_stream_t_internal* dictCtx;
+ LZ4_u32 currentOffset;
+ LZ4_u32 tableType;
+ LZ4_u32 dictSize;
+ /* Implicit padding to ensure structure is aligned */
+};
+
+#define LZ4_STREAM_MINSIZE ((1UL << LZ4_MEMORY_USAGE) + 32) /* static size, for inter-version compatibility */
+union LZ4_stream_u {
+ char minStateSize[LZ4_STREAM_MINSIZE];
+ LZ4_stream_t_internal internal_donotuse;
+}; /* previously typedef'd to LZ4_stream_t */
+
+
+/*! LZ4_initStream() : v1.9.0+
+ * An LZ4_stream_t structure must be initialized at least once.
+ * This is automatically done when invoking LZ4_createStream(),
+ * but it's not when the structure is simply declared on stack (for example).
+ *
+ * Use LZ4_initStream() to properly initialize a newly declared LZ4_stream_t.
+ * It can also initialize any arbitrary buffer of sufficient size,
+ * and will @return a pointer of proper type upon initialization.
+ *
+ * Note : initialization fails if size and alignment conditions are not respected.
+ * In which case, the function will @return NULL.
+ * Note2: An LZ4_stream_t structure guarantees correct alignment and size.
+ * Note3: Before v1.9.0, use LZ4_resetStream() instead
+**/
+LZ4LIB_API LZ4_stream_t* LZ4_initStream (void* buffer, size_t size);
+
+
+/*! LZ4_streamDecode_t :
+ * Never ever use below internal definitions directly !
+ * These definitions are not API/ABI safe, and may change in future versions.
+ * If you need static allocation, declare or allocate an LZ4_streamDecode_t object.
+**/
+typedef struct {
+ const LZ4_byte* externalDict;
+ const LZ4_byte* prefixEnd;
+ size_t extDictSize;
+ size_t prefixSize;
+} LZ4_streamDecode_t_internal;
+
+#define LZ4_STREAMDECODE_MINSIZE 32
+union LZ4_streamDecode_u {
+ char minStateSize[LZ4_STREAMDECODE_MINSIZE];
+ LZ4_streamDecode_t_internal internal_donotuse;
+} ; /* previously typedef'd to LZ4_streamDecode_t */
+
+
+
+/*-************************************
+* Obsolete Functions
+**************************************/
+
+/*! Deprecation warnings
+ *
+ * Deprecated functions make the compiler generate a warning when invoked.
+ * This is meant to invite users to update their source code.
+ * Should deprecation warnings be a problem, it is generally possible to disable them,
+ * typically with -Wno-deprecated-declarations for gcc
+ * or _CRT_SECURE_NO_WARNINGS in Visual.
+ *
+ * Another method is to define LZ4_DISABLE_DEPRECATE_WARNINGS
+ * before including the header file.
+ */
+#ifdef LZ4_DISABLE_DEPRECATE_WARNINGS
+# define LZ4_DEPRECATED(message) /* disable deprecation warnings */
+#else
+# if defined (__cplusplus) && (__cplusplus >= 201402) /* C++14 or greater */
+# define LZ4_DEPRECATED(message) [[deprecated(message)]]
+# elif defined(_MSC_VER)
+# define LZ4_DEPRECATED(message) __declspec(deprecated(message))
+# elif defined(__clang__) || (defined(__GNUC__) && (__GNUC__ * 10 + __GNUC_MINOR__ >= 45))
+# define LZ4_DEPRECATED(message) __attribute__((deprecated(message)))
+# elif defined(__GNUC__) && (__GNUC__ * 10 + __GNUC_MINOR__ >= 31)
+# define LZ4_DEPRECATED(message) __attribute__((deprecated))
+# else
+# pragma message("WARNING: LZ4_DEPRECATED needs custom implementation for this compiler")
+# define LZ4_DEPRECATED(message) /* disabled */
+# endif
+#endif /* LZ4_DISABLE_DEPRECATE_WARNINGS */
+
+/*! Obsolete compression functions (since v1.7.3) */
+LZ4_DEPRECATED("use LZ4_compress_default() instead") LZ4LIB_API int LZ4_compress (const char* src, char* dest, int srcSize);
+LZ4_DEPRECATED("use LZ4_compress_default() instead") LZ4LIB_API int LZ4_compress_limitedOutput (const char* src, char* dest, int srcSize, int maxOutputSize);
+LZ4_DEPRECATED("use LZ4_compress_fast_extState() instead") LZ4LIB_API int LZ4_compress_withState (void* state, const char* source, char* dest, int inputSize);
+LZ4_DEPRECATED("use LZ4_compress_fast_extState() instead") LZ4LIB_API int LZ4_compress_limitedOutput_withState (void* state, const char* source, char* dest, int inputSize, int maxOutputSize);
+LZ4_DEPRECATED("use LZ4_compress_fast_continue() instead") LZ4LIB_API int LZ4_compress_continue (LZ4_stream_t* LZ4_streamPtr, const char* source, char* dest, int inputSize);
+LZ4_DEPRECATED("use LZ4_compress_fast_continue() instead") LZ4LIB_API int LZ4_compress_limitedOutput_continue (LZ4_stream_t* LZ4_streamPtr, const char* source, char* dest, int inputSize, int maxOutputSize);
+
+/*! Obsolete decompression functions (since v1.8.0) */
+LZ4_DEPRECATED("use LZ4_decompress_fast() instead") LZ4LIB_API int LZ4_uncompress (const char* source, char* dest, int outputSize);
+LZ4_DEPRECATED("use LZ4_decompress_safe() instead") LZ4LIB_API int LZ4_uncompress_unknownOutputSize (const char* source, char* dest, int isize, int maxOutputSize);
+
+/* Obsolete streaming functions (since v1.7.0)
+ * degraded functionality; do not use!
+ *
+ * In order to perform streaming compression, these functions depended on data
+ * that is no longer tracked in the state. They have been preserved as well as
+ * possible: using them will still produce a correct output. However, they don't
+ * actually retain any history between compression calls. The compression ratio
+ * achieved will therefore be no better than compressing each chunk
+ * independently.
+ */
+LZ4_DEPRECATED("Use LZ4_createStream() instead") LZ4LIB_API void* LZ4_create (char* inputBuffer);
+LZ4_DEPRECATED("Use LZ4_createStream() instead") LZ4LIB_API int LZ4_sizeofStreamState(void);
+LZ4_DEPRECATED("Use LZ4_resetStream() instead") LZ4LIB_API int LZ4_resetStreamState(void* state, char* inputBuffer);
+LZ4_DEPRECATED("Use LZ4_saveDict() instead") LZ4LIB_API char* LZ4_slideInputBuffer (void* state);
+
+/*! Obsolete streaming decoding functions (since v1.7.0) */
+LZ4_DEPRECATED("use LZ4_decompress_safe_usingDict() instead") LZ4LIB_API int LZ4_decompress_safe_withPrefix64k (const char* src, char* dst, int compressedSize, int maxDstSize);
+LZ4_DEPRECATED("use LZ4_decompress_fast_usingDict() instead") LZ4LIB_API int LZ4_decompress_fast_withPrefix64k (const char* src, char* dst, int originalSize);
+
+/*! Obsolete LZ4_decompress_fast variants (since v1.9.0) :
+ * These functions used to be faster than LZ4_decompress_safe(),
+ * but this is no longer the case. They are now slower.
+ * This is because LZ4_decompress_fast() doesn't know the input size,
+ * and therefore must progress more cautiously into the input buffer to not read beyond the end of block.
+ * On top of that `LZ4_decompress_fast()` is not protected vs malformed or malicious inputs, making it a security liability.
+ * As a consequence, LZ4_decompress_fast() is strongly discouraged, and deprecated.
+ *
+ * The last remaining LZ4_decompress_fast() specificity is that
+ * it can decompress a block without knowing its compressed size.
+ * Such functionality can be achieved in a more secure manner
+ * by employing LZ4_decompress_safe_partial().
+ *
+ * Parameters:
+ * originalSize : is the uncompressed size to regenerate.
+ * `dst` must be already allocated, its size must be >= 'originalSize' bytes.
+ * @return : number of bytes read from source buffer (== compressed size).
+ * The function expects to finish at block's end exactly.
+ * If the source stream is detected malformed, the function stops decoding and returns a negative result.
+ * note : LZ4_decompress_fast*() requires originalSize. Thanks to this information, it never writes past the output buffer.
+ * However, since it doesn't know its 'src' size, it may read an unknown amount of input, past input buffer bounds.
+ * Also, since match offsets are not validated, match reads from 'src' may underflow too.
+ * These issues never happen if input (compressed) data is correct.
+ * But they may happen if input data is invalid (error or intentional tampering).
+ * As a consequence, use these functions in trusted environments with trusted data **only**.
+ */
+LZ4_DEPRECATED("This function is deprecated and unsafe. Consider using LZ4_decompress_safe() instead")
+LZ4LIB_API int LZ4_decompress_fast (const char* src, char* dst, int originalSize);
+LZ4_DEPRECATED("This function is deprecated and unsafe. Consider using LZ4_decompress_safe_continue() instead")
+LZ4LIB_API int LZ4_decompress_fast_continue (LZ4_streamDecode_t* LZ4_streamDecode, const char* src, char* dst, int originalSize);
+LZ4_DEPRECATED("This function is deprecated and unsafe. Consider using LZ4_decompress_safe_usingDict() instead")
+LZ4LIB_API int LZ4_decompress_fast_usingDict (const char* src, char* dst, int originalSize, const char* dictStart, int dictSize);
+
+/*! LZ4_resetStream() :
+ * An LZ4_stream_t structure must be initialized at least once.
+ * This is done with LZ4_initStream(), or LZ4_resetStream().
+ * Consider switching to LZ4_initStream(),
+ * invoking LZ4_resetStream() will trigger deprecation warnings in the future.
+ */
+LZ4LIB_API void LZ4_resetStream (LZ4_stream_t* streamPtr);
+
+
+#endif /* LZ4_H_98237428734687 */
+
+
+#if defined (__cplusplus)
+}
+#endif
diff --git a/pgsql/include/lz4frame.h b/pgsql/include/lz4frame.h
new file mode 100644
index 0000000000000000000000000000000000000000..1bdf6c4fcba57536ff3c97936e1217e5aebb6797
--- /dev/null
+++ b/pgsql/include/lz4frame.h
@@ -0,0 +1,692 @@
+/*
+ LZ4F - LZ4-Frame library
+ Header File
+ Copyright (C) 2011-2020, Yann Collet.
+ BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following disclaimer
+ in the documentation and/or other materials provided with the
+ distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+ You can contact the author at :
+ - LZ4 source repository : https://github.com/lz4/lz4
+ - LZ4 public forum : https://groups.google.com/forum/#!forum/lz4c
+*/
+
+/* LZ4F is a stand-alone API able to create and decode LZ4 frames
+ * conformant with specification v1.6.1 in doc/lz4_Frame_format.md .
+ * Generated frames are compatible with `lz4` CLI.
+ *
+ * LZ4F also offers streaming capabilities.
+ *
+ * lz4.h is not required when using lz4frame.h,
+ * except to extract common constants such as LZ4_VERSION_NUMBER.
+ * */
+
+#ifndef LZ4F_H_09782039843
+#define LZ4F_H_09782039843
+
+#if defined (__cplusplus)
+extern "C" {
+#endif
+
+/* --- Dependency --- */
+#include /* size_t */
+
+
+/**
+ * Introduction
+ *
+ * lz4frame.h implements LZ4 frame specification: see doc/lz4_Frame_format.md .
+ * LZ4 Frames are compatible with `lz4` CLI,
+ * and designed to be interoperable with any system.
+**/
+
+/*-***************************************************************
+ * Compiler specifics
+ *****************************************************************/
+/* LZ4_DLL_EXPORT :
+ * Enable exporting of functions when building a Windows DLL
+ * LZ4FLIB_VISIBILITY :
+ * Control library symbols visibility.
+ */
+#ifndef LZ4FLIB_VISIBILITY
+# if defined(__GNUC__) && (__GNUC__ >= 4)
+# define LZ4FLIB_VISIBILITY __attribute__ ((visibility ("default")))
+# else
+# define LZ4FLIB_VISIBILITY
+# endif
+#endif
+#if defined(LZ4_DLL_EXPORT) && (LZ4_DLL_EXPORT==1)
+# define LZ4FLIB_API __declspec(dllexport) LZ4FLIB_VISIBILITY
+#elif defined(LZ4_DLL_IMPORT) && (LZ4_DLL_IMPORT==1)
+# define LZ4FLIB_API __declspec(dllimport) LZ4FLIB_VISIBILITY
+#else
+# define LZ4FLIB_API LZ4FLIB_VISIBILITY
+#endif
+
+#ifdef LZ4F_DISABLE_DEPRECATE_WARNINGS
+# define LZ4F_DEPRECATE(x) x
+#else
+# if defined(_MSC_VER)
+# define LZ4F_DEPRECATE(x) x /* __declspec(deprecated) x - only works with C++ */
+# elif defined(__clang__) || (defined(__GNUC__) && (__GNUC__ >= 6))
+# define LZ4F_DEPRECATE(x) x __attribute__((deprecated))
+# else
+# define LZ4F_DEPRECATE(x) x /* no deprecation warning for this compiler */
+# endif
+#endif
+
+
+/*-************************************
+ * Error management
+ **************************************/
+typedef size_t LZ4F_errorCode_t;
+
+LZ4FLIB_API unsigned LZ4F_isError(LZ4F_errorCode_t code); /**< tells when a function result is an error code */
+LZ4FLIB_API const char* LZ4F_getErrorName(LZ4F_errorCode_t code); /**< return error code string; for debugging */
+
+
+/*-************************************
+ * Frame compression types
+ ************************************* */
+/* #define LZ4F_ENABLE_OBSOLETE_ENUMS // uncomment to enable obsolete enums */
+#ifdef LZ4F_ENABLE_OBSOLETE_ENUMS
+# define LZ4F_OBSOLETE_ENUM(x) , LZ4F_DEPRECATE(x) = LZ4F_##x
+#else
+# define LZ4F_OBSOLETE_ENUM(x)
+#endif
+
+/* The larger the block size, the (slightly) better the compression ratio,
+ * though there are diminishing returns.
+ * Larger blocks also increase memory usage on both compression and decompression sides.
+ */
+typedef enum {
+ LZ4F_default=0,
+ LZ4F_max64KB=4,
+ LZ4F_max256KB=5,
+ LZ4F_max1MB=6,
+ LZ4F_max4MB=7
+ LZ4F_OBSOLETE_ENUM(max64KB)
+ LZ4F_OBSOLETE_ENUM(max256KB)
+ LZ4F_OBSOLETE_ENUM(max1MB)
+ LZ4F_OBSOLETE_ENUM(max4MB)
+} LZ4F_blockSizeID_t;
+
+/* Linked blocks sharply reduce inefficiencies when using small blocks,
+ * they compress better.
+ * However, some LZ4 decoders are only compatible with independent blocks */
+typedef enum {
+ LZ4F_blockLinked=0,
+ LZ4F_blockIndependent
+ LZ4F_OBSOLETE_ENUM(blockLinked)
+ LZ4F_OBSOLETE_ENUM(blockIndependent)
+} LZ4F_blockMode_t;
+
+typedef enum {
+ LZ4F_noContentChecksum=0,
+ LZ4F_contentChecksumEnabled
+ LZ4F_OBSOLETE_ENUM(noContentChecksum)
+ LZ4F_OBSOLETE_ENUM(contentChecksumEnabled)
+} LZ4F_contentChecksum_t;
+
+typedef enum {
+ LZ4F_noBlockChecksum=0,
+ LZ4F_blockChecksumEnabled
+} LZ4F_blockChecksum_t;
+
+typedef enum {
+ LZ4F_frame=0,
+ LZ4F_skippableFrame
+ LZ4F_OBSOLETE_ENUM(skippableFrame)
+} LZ4F_frameType_t;
+
+#ifdef LZ4F_ENABLE_OBSOLETE_ENUMS
+typedef LZ4F_blockSizeID_t blockSizeID_t;
+typedef LZ4F_blockMode_t blockMode_t;
+typedef LZ4F_frameType_t frameType_t;
+typedef LZ4F_contentChecksum_t contentChecksum_t;
+#endif
+
+/*! LZ4F_frameInfo_t :
+ * makes it possible to set or read frame parameters.
+ * Structure must be first init to 0, using memset() or LZ4F_INIT_FRAMEINFO,
+ * setting all parameters to default.
+ * It's then possible to update selectively some parameters */
+typedef struct {
+ LZ4F_blockSizeID_t blockSizeID; /* max64KB, max256KB, max1MB, max4MB; 0 == default */
+ LZ4F_blockMode_t blockMode; /* LZ4F_blockLinked, LZ4F_blockIndependent; 0 == default */
+ LZ4F_contentChecksum_t contentChecksumFlag; /* 1: frame terminated with 32-bit checksum of decompressed data; 0: disabled (default) */
+ LZ4F_frameType_t frameType; /* read-only field : LZ4F_frame or LZ4F_skippableFrame */
+ unsigned long long contentSize; /* Size of uncompressed content ; 0 == unknown */
+ unsigned dictID; /* Dictionary ID, sent by compressor to help decoder select correct dictionary; 0 == no dictID provided */
+ LZ4F_blockChecksum_t blockChecksumFlag; /* 1: each block followed by a checksum of block's compressed data; 0: disabled (default) */
+} LZ4F_frameInfo_t;
+
+#define LZ4F_INIT_FRAMEINFO { LZ4F_default, LZ4F_blockLinked, LZ4F_noContentChecksum, LZ4F_frame, 0ULL, 0U, LZ4F_noBlockChecksum } /* v1.8.3+ */
+
+/*! LZ4F_preferences_t :
+ * makes it possible to supply advanced compression instructions to streaming interface.
+ * Structure must be first init to 0, using memset() or LZ4F_INIT_PREFERENCES,
+ * setting all parameters to default.
+ * All reserved fields must be set to zero. */
+typedef struct {
+ LZ4F_frameInfo_t frameInfo;
+ int compressionLevel; /* 0: default (fast mode); values > LZ4HC_CLEVEL_MAX count as LZ4HC_CLEVEL_MAX; values < 0 trigger "fast acceleration" */
+ unsigned autoFlush; /* 1: always flush; reduces usage of internal buffers */
+ unsigned favorDecSpeed; /* 1: parser favors decompression speed vs compression ratio. Only works for high compression modes (>= LZ4HC_CLEVEL_OPT_MIN) */ /* v1.8.2+ */
+ unsigned reserved[3]; /* must be zero for forward compatibility */
+} LZ4F_preferences_t;
+
+#define LZ4F_INIT_PREFERENCES { LZ4F_INIT_FRAMEINFO, 0, 0u, 0u, { 0u, 0u, 0u } } /* v1.8.3+ */
+
+
+/*-*********************************
+* Simple compression function
+***********************************/
+
+LZ4FLIB_API int LZ4F_compressionLevel_max(void); /* v1.8.0+ */
+
+/*! LZ4F_compressFrameBound() :
+ * Returns the maximum possible compressed size with LZ4F_compressFrame() given srcSize and preferences.
+ * `preferencesPtr` is optional. It can be replaced by NULL, in which case, the function will assume default preferences.
+ * Note : this result is only usable with LZ4F_compressFrame().
+ * It may also be relevant to LZ4F_compressUpdate() _only if_ no flush() operation is ever performed.
+ */
+LZ4FLIB_API size_t LZ4F_compressFrameBound(size_t srcSize, const LZ4F_preferences_t* preferencesPtr);
+
+/*! LZ4F_compressFrame() :
+ * Compress an entire srcBuffer into a valid LZ4 frame.
+ * dstCapacity MUST be >= LZ4F_compressFrameBound(srcSize, preferencesPtr).
+ * The LZ4F_preferences_t structure is optional : you can provide NULL as argument. All preferences will be set to default.
+ * @return : number of bytes written into dstBuffer.
+ * or an error code if it fails (can be tested using LZ4F_isError())
+ */
+LZ4FLIB_API size_t LZ4F_compressFrame(void* dstBuffer, size_t dstCapacity,
+ const void* srcBuffer, size_t srcSize,
+ const LZ4F_preferences_t* preferencesPtr);
+
+
+/*-***********************************
+* Advanced compression functions
+*************************************/
+typedef struct LZ4F_cctx_s LZ4F_cctx; /* incomplete type */
+typedef LZ4F_cctx* LZ4F_compressionContext_t; /* for compatibility with older APIs, prefer using LZ4F_cctx */
+
+typedef struct {
+ unsigned stableSrc; /* 1 == src content will remain present on future calls to LZ4F_compress(); skip copying src content within tmp buffer */
+ unsigned reserved[3];
+} LZ4F_compressOptions_t;
+
+/*--- Resource Management ---*/
+
+#define LZ4F_VERSION 100 /* This number can be used to check for an incompatible API breaking change */
+LZ4FLIB_API unsigned LZ4F_getVersion(void);
+
+/*! LZ4F_createCompressionContext() :
+ * The first thing to do is to create a compressionContext object,
+ * which will keep track of operation state during streaming compression.
+ * This is achieved using LZ4F_createCompressionContext(), which takes as argument a version,
+ * and a pointer to LZ4F_cctx*, to write the resulting pointer into.
+ * @version provided MUST be LZ4F_VERSION. It is intended to track potential version mismatch, notably when using DLL.
+ * The function provides a pointer to a fully allocated LZ4F_cctx object.
+ * @cctxPtr MUST be != NULL.
+ * If @return != zero, context creation failed.
+ * A created compression context can be employed multiple times for consecutive streaming operations.
+ * Once all streaming compression jobs are completed,
+ * the state object can be released using LZ4F_freeCompressionContext().
+ * Note1 : LZ4F_freeCompressionContext() is always successful. Its return value can be ignored.
+ * Note2 : LZ4F_freeCompressionContext() works fine with NULL input pointers (do nothing).
+**/
+LZ4FLIB_API LZ4F_errorCode_t LZ4F_createCompressionContext(LZ4F_cctx** cctxPtr, unsigned version);
+LZ4FLIB_API LZ4F_errorCode_t LZ4F_freeCompressionContext(LZ4F_cctx* cctx);
+
+
+/*---- Compression ----*/
+
+#define LZ4F_HEADER_SIZE_MIN 7 /* LZ4 Frame header size can vary, depending on selected parameters */
+#define LZ4F_HEADER_SIZE_MAX 19
+
+/* Size in bytes of a block header in little-endian format. Highest bit indicates if block data is uncompressed */
+#define LZ4F_BLOCK_HEADER_SIZE 4
+
+/* Size in bytes of a block checksum footer in little-endian format. */
+#define LZ4F_BLOCK_CHECKSUM_SIZE 4
+
+/* Size in bytes of the content checksum. */
+#define LZ4F_CONTENT_CHECKSUM_SIZE 4
+
+/*! LZ4F_compressBegin() :
+ * will write the frame header into dstBuffer.
+ * dstCapacity must be >= LZ4F_HEADER_SIZE_MAX bytes.
+ * `prefsPtr` is optional : you can provide NULL as argument, all preferences will then be set to default.
+ * @return : number of bytes written into dstBuffer for the header
+ * or an error code (which can be tested using LZ4F_isError())
+ */
+LZ4FLIB_API size_t LZ4F_compressBegin(LZ4F_cctx* cctx,
+ void* dstBuffer, size_t dstCapacity,
+ const LZ4F_preferences_t* prefsPtr);
+
+/*! LZ4F_compressBound() :
+ * Provides minimum dstCapacity required to guarantee success of
+ * LZ4F_compressUpdate(), given a srcSize and preferences, for a worst case scenario.
+ * When srcSize==0, LZ4F_compressBound() provides an upper bound for LZ4F_flush() and LZ4F_compressEnd() instead.
+ * Note that the result is only valid for a single invocation of LZ4F_compressUpdate().
+ * When invoking LZ4F_compressUpdate() multiple times,
+ * if the output buffer is gradually filled up instead of emptied and re-used from its start,
+ * one must check if there is enough remaining capacity before each invocation, using LZ4F_compressBound().
+ * @return is always the same for a srcSize and prefsPtr.
+ * prefsPtr is optional : when NULL is provided, preferences will be set to cover worst case scenario.
+ * tech details :
+ * @return if automatic flushing is not enabled, includes the possibility that internal buffer might already be filled by up to (blockSize-1) bytes.
+ * It also includes frame footer (ending + checksum), since it might be generated by LZ4F_compressEnd().
+ * @return doesn't include frame header, as it was already generated by LZ4F_compressBegin().
+ */
+LZ4FLIB_API size_t LZ4F_compressBound(size_t srcSize, const LZ4F_preferences_t* prefsPtr);
+
+/*! LZ4F_compressUpdate() :
+ * LZ4F_compressUpdate() can be called repetitively to compress as much data as necessary.
+ * Important rule: dstCapacity MUST be large enough to ensure operation success even in worst case situations.
+ * This value is provided by LZ4F_compressBound().
+ * If this condition is not respected, LZ4F_compress() will fail (result is an errorCode).
+ * After an error, the state is left in a UB state, and must be re-initialized or freed.
+ * If previously an uncompressed block was written, buffered data is flushed
+ * before appending compressed data is continued.
+ * `cOptPtr` is optional : NULL can be provided, in which case all options are set to default.
+ * @return : number of bytes written into `dstBuffer` (it can be zero, meaning input data was just buffered).
+ * or an error code if it fails (which can be tested using LZ4F_isError())
+ */
+LZ4FLIB_API size_t LZ4F_compressUpdate(LZ4F_cctx* cctx,
+ void* dstBuffer, size_t dstCapacity,
+ const void* srcBuffer, size_t srcSize,
+ const LZ4F_compressOptions_t* cOptPtr);
+
+/*! LZ4F_flush() :
+ * When data must be generated and sent immediately, without waiting for a block to be completely filled,
+ * it's possible to call LZ4_flush(). It will immediately compress any data buffered within cctx.
+ * `dstCapacity` must be large enough to ensure the operation will be successful.
+ * `cOptPtr` is optional : it's possible to provide NULL, all options will be set to default.
+ * @return : nb of bytes written into dstBuffer (can be zero, when there is no data stored within cctx)
+ * or an error code if it fails (which can be tested using LZ4F_isError())
+ * Note : LZ4F_flush() is guaranteed to be successful when dstCapacity >= LZ4F_compressBound(0, prefsPtr).
+ */
+LZ4FLIB_API size_t LZ4F_flush(LZ4F_cctx* cctx,
+ void* dstBuffer, size_t dstCapacity,
+ const LZ4F_compressOptions_t* cOptPtr);
+
+/*! LZ4F_compressEnd() :
+ * To properly finish an LZ4 frame, invoke LZ4F_compressEnd().
+ * It will flush whatever data remained within `cctx` (like LZ4_flush())
+ * and properly finalize the frame, with an endMark and a checksum.
+ * `cOptPtr` is optional : NULL can be provided, in which case all options will be set to default.
+ * @return : nb of bytes written into dstBuffer, necessarily >= 4 (endMark),
+ * or an error code if it fails (which can be tested using LZ4F_isError())
+ * Note : LZ4F_compressEnd() is guaranteed to be successful when dstCapacity >= LZ4F_compressBound(0, prefsPtr).
+ * A successful call to LZ4F_compressEnd() makes `cctx` available again for another compression task.
+ */
+LZ4FLIB_API size_t LZ4F_compressEnd(LZ4F_cctx* cctx,
+ void* dstBuffer, size_t dstCapacity,
+ const LZ4F_compressOptions_t* cOptPtr);
+
+
+/*-*********************************
+* Decompression functions
+***********************************/
+typedef struct LZ4F_dctx_s LZ4F_dctx; /* incomplete type */
+typedef LZ4F_dctx* LZ4F_decompressionContext_t; /* compatibility with previous API versions */
+
+typedef struct {
+ unsigned stableDst; /* pledges that last 64KB decompressed data will remain available unmodified between invocations.
+ * This optimization skips storage operations in tmp buffers. */
+ unsigned skipChecksums; /* disable checksum calculation and verification, even when one is present in frame, to save CPU time.
+ * Setting this option to 1 once disables all checksums for the rest of the frame. */
+ unsigned reserved1; /* must be set to zero for forward compatibility */
+ unsigned reserved0; /* idem */
+} LZ4F_decompressOptions_t;
+
+
+/* Resource management */
+
+/*! LZ4F_createDecompressionContext() :
+ * Create an LZ4F_dctx object, to track all decompression operations.
+ * @version provided MUST be LZ4F_VERSION.
+ * @dctxPtr MUST be valid.
+ * The function fills @dctxPtr with the value of a pointer to an allocated and initialized LZ4F_dctx object.
+ * The @return is an errorCode, which can be tested using LZ4F_isError().
+ * dctx memory can be released using LZ4F_freeDecompressionContext();
+ * Result of LZ4F_freeDecompressionContext() indicates current state of decompressionContext when being released.
+ * That is, it should be == 0 if decompression has been completed fully and correctly.
+ */
+LZ4FLIB_API LZ4F_errorCode_t LZ4F_createDecompressionContext(LZ4F_dctx** dctxPtr, unsigned version);
+LZ4FLIB_API LZ4F_errorCode_t LZ4F_freeDecompressionContext(LZ4F_dctx* dctx);
+
+
+/*-***********************************
+* Streaming decompression functions
+*************************************/
+
+#define LZ4F_MAGICNUMBER 0x184D2204U
+#define LZ4F_MAGIC_SKIPPABLE_START 0x184D2A50U
+#define LZ4F_MIN_SIZE_TO_KNOW_HEADER_LENGTH 5
+
+/*! LZ4F_headerSize() : v1.9.0+
+ * Provide the header size of a frame starting at `src`.
+ * `srcSize` must be >= LZ4F_MIN_SIZE_TO_KNOW_HEADER_LENGTH,
+ * which is enough to decode the header length.
+ * @return : size of frame header
+ * or an error code, which can be tested using LZ4F_isError()
+ * note : Frame header size is variable, but is guaranteed to be
+ * >= LZ4F_HEADER_SIZE_MIN bytes, and <= LZ4F_HEADER_SIZE_MAX bytes.
+ */
+LZ4FLIB_API size_t LZ4F_headerSize(const void* src, size_t srcSize);
+
+/*! LZ4F_getFrameInfo() :
+ * This function extracts frame parameters (max blockSize, dictID, etc.).
+ * Its usage is optional: user can also invoke LZ4F_decompress() directly.
+ *
+ * Extracted information will fill an existing LZ4F_frameInfo_t structure.
+ * This can be useful for allocation and dictionary identification purposes.
+ *
+ * LZ4F_getFrameInfo() can work in the following situations :
+ *
+ * 1) At the beginning of a new frame, before any invocation of LZ4F_decompress().
+ * It will decode header from `srcBuffer`,
+ * consuming the header and starting the decoding process.
+ *
+ * Input size must be large enough to contain the full frame header.
+ * Frame header size can be known beforehand by LZ4F_headerSize().
+ * Frame header size is variable, but is guaranteed to be >= LZ4F_HEADER_SIZE_MIN bytes,
+ * and not more than <= LZ4F_HEADER_SIZE_MAX bytes.
+ * Hence, blindly providing LZ4F_HEADER_SIZE_MAX bytes or more will always work.
+ * It's allowed to provide more input data than the header size,
+ * LZ4F_getFrameInfo() will only consume the header.
+ *
+ * If input size is not large enough,
+ * aka if it's smaller than header size,
+ * function will fail and return an error code.
+ *
+ * 2) After decoding has been started,
+ * it's possible to invoke LZ4F_getFrameInfo() anytime
+ * to extract already decoded frame parameters stored within dctx.
+ *
+ * Note that, if decoding has barely started,
+ * and not yet read enough information to decode the header,
+ * LZ4F_getFrameInfo() will fail.
+ *
+ * The number of bytes consumed from srcBuffer will be updated in *srcSizePtr (necessarily <= original value).
+ * LZ4F_getFrameInfo() only consumes bytes when decoding has not yet started,
+ * and when decoding the header has been successful.
+ * Decompression must then resume from (srcBuffer + *srcSizePtr).
+ *
+ * @return : a hint about how many srcSize bytes LZ4F_decompress() expects for next call,
+ * or an error code which can be tested using LZ4F_isError().
+ * note 1 : in case of error, dctx is not modified. Decoding operation can resume from beginning safely.
+ * note 2 : frame parameters are *copied into* an already allocated LZ4F_frameInfo_t structure.
+ */
+LZ4FLIB_API size_t
+LZ4F_getFrameInfo(LZ4F_dctx* dctx,
+ LZ4F_frameInfo_t* frameInfoPtr,
+ const void* srcBuffer, size_t* srcSizePtr);
+
+/*! LZ4F_decompress() :
+ * Call this function repetitively to regenerate data compressed in `srcBuffer`.
+ *
+ * The function requires a valid dctx state.
+ * It will read up to *srcSizePtr bytes from srcBuffer,
+ * and decompress data into dstBuffer, of capacity *dstSizePtr.
+ *
+ * The nb of bytes consumed from srcBuffer will be written into *srcSizePtr (necessarily <= original value).
+ * The nb of bytes decompressed into dstBuffer will be written into *dstSizePtr (necessarily <= original value).
+ *
+ * The function does not necessarily read all input bytes, so always check value in *srcSizePtr.
+ * Unconsumed source data must be presented again in subsequent invocations.
+ *
+ * `dstBuffer` can freely change between each consecutive function invocation.
+ * `dstBuffer` content will be overwritten.
+ *
+ * @return : an hint of how many `srcSize` bytes LZ4F_decompress() expects for next call.
+ * Schematically, it's the size of the current (or remaining) compressed block + header of next block.
+ * Respecting the hint provides some small speed benefit, because it skips intermediate buffers.
+ * This is just a hint though, it's always possible to provide any srcSize.
+ *
+ * When a frame is fully decoded, @return will be 0 (no more data expected).
+ * When provided with more bytes than necessary to decode a frame,
+ * LZ4F_decompress() will stop reading exactly at end of current frame, and @return 0.
+ *
+ * If decompression failed, @return is an error code, which can be tested using LZ4F_isError().
+ * After a decompression error, the `dctx` context is not resumable.
+ * Use LZ4F_resetDecompressionContext() to return to clean state.
+ *
+ * After a frame is fully decoded, dctx can be used again to decompress another frame.
+ */
+LZ4FLIB_API size_t
+LZ4F_decompress(LZ4F_dctx* dctx,
+ void* dstBuffer, size_t* dstSizePtr,
+ const void* srcBuffer, size_t* srcSizePtr,
+ const LZ4F_decompressOptions_t* dOptPtr);
+
+
+/*! LZ4F_resetDecompressionContext() : added in v1.8.0
+ * In case of an error, the context is left in "undefined" state.
+ * In which case, it's necessary to reset it, before re-using it.
+ * This method can also be used to abruptly stop any unfinished decompression,
+ * and start a new one using same context resources. */
+LZ4FLIB_API void LZ4F_resetDecompressionContext(LZ4F_dctx* dctx); /* always successful */
+
+
+
+#if defined (__cplusplus)
+}
+#endif
+
+#endif /* LZ4F_H_09782039843 */
+
+#if defined(LZ4F_STATIC_LINKING_ONLY) && !defined(LZ4F_H_STATIC_09782039843)
+#define LZ4F_H_STATIC_09782039843
+
+#if defined (__cplusplus)
+extern "C" {
+#endif
+
+/* These declarations are not stable and may change in the future.
+ * They are therefore only safe to depend on
+ * when the caller is statically linked against the library.
+ * To access their declarations, define LZ4F_STATIC_LINKING_ONLY.
+ *
+ * By default, these symbols aren't published into shared/dynamic libraries.
+ * You can override this behavior and force them to be published
+ * by defining LZ4F_PUBLISH_STATIC_FUNCTIONS.
+ * Use at your own risk.
+ */
+#ifdef LZ4F_PUBLISH_STATIC_FUNCTIONS
+# define LZ4FLIB_STATIC_API LZ4FLIB_API
+#else
+# define LZ4FLIB_STATIC_API
+#endif
+
+
+/* --- Error List --- */
+#define LZ4F_LIST_ERRORS(ITEM) \
+ ITEM(OK_NoError) \
+ ITEM(ERROR_GENERIC) \
+ ITEM(ERROR_maxBlockSize_invalid) \
+ ITEM(ERROR_blockMode_invalid) \
+ ITEM(ERROR_contentChecksumFlag_invalid) \
+ ITEM(ERROR_compressionLevel_invalid) \
+ ITEM(ERROR_headerVersion_wrong) \
+ ITEM(ERROR_blockChecksum_invalid) \
+ ITEM(ERROR_reservedFlag_set) \
+ ITEM(ERROR_allocation_failed) \
+ ITEM(ERROR_srcSize_tooLarge) \
+ ITEM(ERROR_dstMaxSize_tooSmall) \
+ ITEM(ERROR_frameHeader_incomplete) \
+ ITEM(ERROR_frameType_unknown) \
+ ITEM(ERROR_frameSize_wrong) \
+ ITEM(ERROR_srcPtr_wrong) \
+ ITEM(ERROR_decompressionFailed) \
+ ITEM(ERROR_headerChecksum_invalid) \
+ ITEM(ERROR_contentChecksum_invalid) \
+ ITEM(ERROR_frameDecoding_alreadyStarted) \
+ ITEM(ERROR_compressionState_uninitialized) \
+ ITEM(ERROR_parameter_null) \
+ ITEM(ERROR_maxCode)
+
+#define LZ4F_GENERATE_ENUM(ENUM) LZ4F_##ENUM,
+
+/* enum list is exposed, to handle specific errors */
+typedef enum { LZ4F_LIST_ERRORS(LZ4F_GENERATE_ENUM)
+ _LZ4F_dummy_error_enum_for_c89_never_used } LZ4F_errorCodes;
+
+LZ4FLIB_STATIC_API LZ4F_errorCodes LZ4F_getErrorCode(size_t functionResult);
+
+
+/*! LZ4F_getBlockSize() :
+ * Return, in scalar format (size_t),
+ * the maximum block size associated with blockSizeID.
+**/
+LZ4FLIB_STATIC_API size_t LZ4F_getBlockSize(LZ4F_blockSizeID_t blockSizeID);
+
+/*! LZ4F_uncompressedUpdate() :
+ * LZ4F_uncompressedUpdate() can be called repetitively to add as much data uncompressed data as necessary.
+ * Important rule: dstCapacity MUST be large enough to store the entire source buffer as
+ * no compression is done for this operation
+ * If this condition is not respected, LZ4F_uncompressedUpdate() will fail (result is an errorCode).
+ * After an error, the state is left in a UB state, and must be re-initialized or freed.
+ * If previously a compressed block was written, buffered data is flushed
+ * before appending uncompressed data is continued.
+ * This is only supported when LZ4F_blockIndependent is used
+ * `cOptPtr` is optional : NULL can be provided, in which case all options are set to default.
+ * @return : number of bytes written into `dstBuffer` (it can be zero, meaning input data was just buffered).
+ * or an error code if it fails (which can be tested using LZ4F_isError())
+ */
+LZ4FLIB_STATIC_API size_t
+LZ4F_uncompressedUpdate(LZ4F_cctx* cctx,
+ void* dstBuffer, size_t dstCapacity,
+ const void* srcBuffer, size_t srcSize,
+ const LZ4F_compressOptions_t* cOptPtr);
+
+/**********************************
+ * Bulk processing dictionary API
+ *********************************/
+
+/* A Dictionary is useful for the compression of small messages (KB range).
+ * It dramatically improves compression efficiency.
+ *
+ * LZ4 can ingest any input as dictionary, though only the last 64 KB are useful.
+ * Best results are generally achieved by using Zstandard's Dictionary Builder
+ * to generate a high-quality dictionary from a set of samples.
+ *
+ * Loading a dictionary has a cost, since it involves construction of tables.
+ * The Bulk processing dictionary API makes it possible to share this cost
+ * over an arbitrary number of compression jobs, even concurrently,
+ * markedly improving compression latency for these cases.
+ *
+ * The same dictionary will have to be used on the decompression side
+ * for decoding to be successful.
+ * To help identify the correct dictionary at decoding stage,
+ * the frame header allows optional embedding of a dictID field.
+ */
+typedef struct LZ4F_CDict_s LZ4F_CDict;
+
+/*! LZ4_createCDict() :
+ * When compressing multiple messages / blocks using the same dictionary, it's recommended to load it just once.
+ * LZ4_createCDict() will create a digested dictionary, ready to start future compression operations without startup delay.
+ * LZ4_CDict can be created once and shared by multiple threads concurrently, since its usage is read-only.
+ * `dictBuffer` can be released after LZ4_CDict creation, since its content is copied within CDict */
+LZ4FLIB_STATIC_API LZ4F_CDict* LZ4F_createCDict(const void* dictBuffer, size_t dictSize);
+LZ4FLIB_STATIC_API void LZ4F_freeCDict(LZ4F_CDict* CDict);
+
+
+/*! LZ4_compressFrame_usingCDict() :
+ * Compress an entire srcBuffer into a valid LZ4 frame using a digested Dictionary.
+ * cctx must point to a context created by LZ4F_createCompressionContext().
+ * If cdict==NULL, compress without a dictionary.
+ * dstBuffer MUST be >= LZ4F_compressFrameBound(srcSize, preferencesPtr).
+ * If this condition is not respected, function will fail (@return an errorCode).
+ * The LZ4F_preferences_t structure is optional : you may provide NULL as argument,
+ * but it's not recommended, as it's the only way to provide dictID in the frame header.
+ * @return : number of bytes written into dstBuffer.
+ * or an error code if it fails (can be tested using LZ4F_isError()) */
+LZ4FLIB_STATIC_API size_t
+LZ4F_compressFrame_usingCDict(LZ4F_cctx* cctx,
+ void* dst, size_t dstCapacity,
+ const void* src, size_t srcSize,
+ const LZ4F_CDict* cdict,
+ const LZ4F_preferences_t* preferencesPtr);
+
+
+/*! LZ4F_compressBegin_usingCDict() :
+ * Inits streaming dictionary compression, and writes the frame header into dstBuffer.
+ * dstCapacity must be >= LZ4F_HEADER_SIZE_MAX bytes.
+ * `prefsPtr` is optional : you may provide NULL as argument,
+ * however, it's the only way to provide dictID in the frame header.
+ * @return : number of bytes written into dstBuffer for the header,
+ * or an error code (which can be tested using LZ4F_isError()) */
+LZ4FLIB_STATIC_API size_t
+LZ4F_compressBegin_usingCDict(LZ4F_cctx* cctx,
+ void* dstBuffer, size_t dstCapacity,
+ const LZ4F_CDict* cdict,
+ const LZ4F_preferences_t* prefsPtr);
+
+
+/*! LZ4F_decompress_usingDict() :
+ * Same as LZ4F_decompress(), using a predefined dictionary.
+ * Dictionary is used "in place", without any preprocessing.
+** It must remain accessible throughout the entire frame decoding. */
+LZ4FLIB_STATIC_API size_t
+LZ4F_decompress_usingDict(LZ4F_dctx* dctxPtr,
+ void* dstBuffer, size_t* dstSizePtr,
+ const void* srcBuffer, size_t* srcSizePtr,
+ const void* dict, size_t dictSize,
+ const LZ4F_decompressOptions_t* decompressOptionsPtr);
+
+
+/*! Custom memory allocation :
+ * These prototypes make it possible to pass custom allocation/free functions.
+ * LZ4F_customMem is provided at state creation time, using LZ4F_create*_advanced() listed below.
+ * All allocation/free operations will be completed using these custom variants instead of regular ones.
+ */
+typedef void* (*LZ4F_AllocFunction) (void* opaqueState, size_t size);
+typedef void* (*LZ4F_CallocFunction) (void* opaqueState, size_t size);
+typedef void (*LZ4F_FreeFunction) (void* opaqueState, void* address);
+typedef struct {
+ LZ4F_AllocFunction customAlloc;
+ LZ4F_CallocFunction customCalloc; /* optional; when not defined, uses customAlloc + memset */
+ LZ4F_FreeFunction customFree;
+ void* opaqueState;
+} LZ4F_CustomMem;
+static
+#ifdef __GNUC__
+__attribute__((__unused__))
+#endif
+LZ4F_CustomMem const LZ4F_defaultCMem = { NULL, NULL, NULL, NULL }; /**< this constant defers to stdlib's functions */
+
+LZ4FLIB_STATIC_API LZ4F_cctx* LZ4F_createCompressionContext_advanced(LZ4F_CustomMem customMem, unsigned version);
+LZ4FLIB_STATIC_API LZ4F_dctx* LZ4F_createDecompressionContext_advanced(LZ4F_CustomMem customMem, unsigned version);
+LZ4FLIB_STATIC_API LZ4F_CDict* LZ4F_createCDict_advanced(LZ4F_CustomMem customMem, const void* dictBuffer, size_t dictSize);
+
+
+#if defined (__cplusplus)
+}
+#endif
+
+#endif /* defined(LZ4F_STATIC_LINKING_ONLY) && !defined(LZ4F_H_STATIC_09782039843) */
diff --git a/pgsql/include/lz4hc.h b/pgsql/include/lz4hc.h
new file mode 100644
index 0000000000000000000000000000000000000000..e937acfefd857f1b2be158cd3a5ba3a85a389f07
--- /dev/null
+++ b/pgsql/include/lz4hc.h
@@ -0,0 +1,413 @@
+/*
+ LZ4 HC - High Compression Mode of LZ4
+ Header File
+ Copyright (C) 2011-2020, Yann Collet.
+ BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following disclaimer
+ in the documentation and/or other materials provided with the
+ distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+ You can contact the author at :
+ - LZ4 source repository : https://github.com/lz4/lz4
+ - LZ4 public forum : https://groups.google.com/forum/#!forum/lz4c
+*/
+#ifndef LZ4_HC_H_19834876238432
+#define LZ4_HC_H_19834876238432
+
+#if defined (__cplusplus)
+extern "C" {
+#endif
+
+/* --- Dependency --- */
+/* note : lz4hc requires lz4.h/lz4.c for compilation */
+#include "lz4.h" /* stddef, LZ4LIB_API, LZ4_DEPRECATED */
+
+
+/* --- Useful constants --- */
+#define LZ4HC_CLEVEL_MIN 3
+#define LZ4HC_CLEVEL_DEFAULT 9
+#define LZ4HC_CLEVEL_OPT_MIN 10
+#define LZ4HC_CLEVEL_MAX 12
+
+
+/*-************************************
+ * Block Compression
+ **************************************/
+/*! LZ4_compress_HC() :
+ * Compress data from `src` into `dst`, using the powerful but slower "HC" algorithm.
+ * `dst` must be already allocated.
+ * Compression is guaranteed to succeed if `dstCapacity >= LZ4_compressBound(srcSize)` (see "lz4.h")
+ * Max supported `srcSize` value is LZ4_MAX_INPUT_SIZE (see "lz4.h")
+ * `compressionLevel` : any value between 1 and LZ4HC_CLEVEL_MAX will work.
+ * Values > LZ4HC_CLEVEL_MAX behave the same as LZ4HC_CLEVEL_MAX.
+ * @return : the number of bytes written into 'dst'
+ * or 0 if compression fails.
+ */
+LZ4LIB_API int LZ4_compress_HC (const char* src, char* dst, int srcSize, int dstCapacity, int compressionLevel);
+
+
+/* Note :
+ * Decompression functions are provided within "lz4.h" (BSD license)
+ */
+
+
+/*! LZ4_compress_HC_extStateHC() :
+ * Same as LZ4_compress_HC(), but using an externally allocated memory segment for `state`.
+ * `state` size is provided by LZ4_sizeofStateHC().
+ * Memory segment must be aligned on 8-bytes boundaries (which a normal malloc() should do properly).
+ */
+LZ4LIB_API int LZ4_sizeofStateHC(void);
+LZ4LIB_API int LZ4_compress_HC_extStateHC(void* stateHC, const char* src, char* dst, int srcSize, int maxDstSize, int compressionLevel);
+
+
+/*! LZ4_compress_HC_destSize() : v1.9.0+
+ * Will compress as much data as possible from `src`
+ * to fit into `targetDstSize` budget.
+ * Result is provided in 2 parts :
+ * @return : the number of bytes written into 'dst' (necessarily <= targetDstSize)
+ * or 0 if compression fails.
+ * `srcSizePtr` : on success, *srcSizePtr is updated to indicate how much bytes were read from `src`
+ */
+LZ4LIB_API int LZ4_compress_HC_destSize(void* stateHC,
+ const char* src, char* dst,
+ int* srcSizePtr, int targetDstSize,
+ int compressionLevel);
+
+
+/*-************************************
+ * Streaming Compression
+ * Bufferless synchronous API
+ **************************************/
+ typedef union LZ4_streamHC_u LZ4_streamHC_t; /* incomplete type (defined later) */
+
+/*! LZ4_createStreamHC() and LZ4_freeStreamHC() :
+ * These functions create and release memory for LZ4 HC streaming state.
+ * Newly created states are automatically initialized.
+ * A same state can be used multiple times consecutively,
+ * starting with LZ4_resetStreamHC_fast() to start a new stream of blocks.
+ */
+LZ4LIB_API LZ4_streamHC_t* LZ4_createStreamHC(void);
+LZ4LIB_API int LZ4_freeStreamHC (LZ4_streamHC_t* streamHCPtr);
+
+/*
+ These functions compress data in successive blocks of any size,
+ using previous blocks as dictionary, to improve compression ratio.
+ One key assumption is that previous blocks (up to 64 KB) remain read-accessible while compressing next blocks.
+ There is an exception for ring buffers, which can be smaller than 64 KB.
+ Ring-buffer scenario is automatically detected and handled within LZ4_compress_HC_continue().
+
+ Before starting compression, state must be allocated and properly initialized.
+ LZ4_createStreamHC() does both, though compression level is set to LZ4HC_CLEVEL_DEFAULT.
+
+ Selecting the compression level can be done with LZ4_resetStreamHC_fast() (starts a new stream)
+ or LZ4_setCompressionLevel() (anytime, between blocks in the same stream) (experimental).
+ LZ4_resetStreamHC_fast() only works on states which have been properly initialized at least once,
+ which is automatically the case when state is created using LZ4_createStreamHC().
+
+ After reset, a first "fictional block" can be designated as initial dictionary,
+ using LZ4_loadDictHC() (Optional).
+
+ Invoke LZ4_compress_HC_continue() to compress each successive block.
+ The number of blocks is unlimited.
+ Previous input blocks, including initial dictionary when present,
+ must remain accessible and unmodified during compression.
+
+ It's allowed to update compression level anytime between blocks,
+ using LZ4_setCompressionLevel() (experimental).
+
+ 'dst' buffer should be sized to handle worst case scenarios
+ (see LZ4_compressBound(), it ensures compression success).
+ In case of failure, the API does not guarantee recovery,
+ so the state _must_ be reset.
+ To ensure compression success
+ whenever `dst` buffer size cannot be made >= LZ4_compressBound(),
+ consider using LZ4_compress_HC_continue_destSize().
+
+ Whenever previous input blocks can't be preserved unmodified in-place during compression of next blocks,
+ it's possible to copy the last blocks into a more stable memory space, using LZ4_saveDictHC().
+ Return value of LZ4_saveDictHC() is the size of dictionary effectively saved into 'safeBuffer' (<= 64 KB)
+
+ After completing a streaming compression,
+ it's possible to start a new stream of blocks, using the same LZ4_streamHC_t state,
+ just by resetting it, using LZ4_resetStreamHC_fast().
+*/
+
+LZ4LIB_API void LZ4_resetStreamHC_fast(LZ4_streamHC_t* streamHCPtr, int compressionLevel); /* v1.9.0+ */
+LZ4LIB_API int LZ4_loadDictHC (LZ4_streamHC_t* streamHCPtr, const char* dictionary, int dictSize);
+
+LZ4LIB_API int LZ4_compress_HC_continue (LZ4_streamHC_t* streamHCPtr,
+ const char* src, char* dst,
+ int srcSize, int maxDstSize);
+
+/*! LZ4_compress_HC_continue_destSize() : v1.9.0+
+ * Similar to LZ4_compress_HC_continue(),
+ * but will read as much data as possible from `src`
+ * to fit into `targetDstSize` budget.
+ * Result is provided into 2 parts :
+ * @return : the number of bytes written into 'dst' (necessarily <= targetDstSize)
+ * or 0 if compression fails.
+ * `srcSizePtr` : on success, *srcSizePtr will be updated to indicate how much bytes were read from `src`.
+ * Note that this function may not consume the entire input.
+ */
+LZ4LIB_API int LZ4_compress_HC_continue_destSize(LZ4_streamHC_t* LZ4_streamHCPtr,
+ const char* src, char* dst,
+ int* srcSizePtr, int targetDstSize);
+
+LZ4LIB_API int LZ4_saveDictHC (LZ4_streamHC_t* streamHCPtr, char* safeBuffer, int maxDictSize);
+
+
+
+/*^**********************************************
+ * !!!!!! STATIC LINKING ONLY !!!!!!
+ ***********************************************/
+
+/*-******************************************************************
+ * PRIVATE DEFINITIONS :
+ * Do not use these definitions directly.
+ * They are merely exposed to allow static allocation of `LZ4_streamHC_t`.
+ * Declare an `LZ4_streamHC_t` directly, rather than any type below.
+ * Even then, only do so in the context of static linking, as definitions may change between versions.
+ ********************************************************************/
+
+#define LZ4HC_DICTIONARY_LOGSIZE 16
+#define LZ4HC_MAXD (1<= LZ4HC_CLEVEL_OPT_MIN.
+ */
+LZ4LIB_STATIC_API void LZ4_favorDecompressionSpeed(
+ LZ4_streamHC_t* LZ4_streamHCPtr, int favor);
+
+/*! LZ4_resetStreamHC_fast() : v1.9.0+
+ * When an LZ4_streamHC_t is known to be in a internally coherent state,
+ * it can often be prepared for a new compression with almost no work, only
+ * sometimes falling back to the full, expensive reset that is always required
+ * when the stream is in an indeterminate state (i.e., the reset performed by
+ * LZ4_resetStreamHC()).
+ *
+ * LZ4_streamHCs are guaranteed to be in a valid state when:
+ * - returned from LZ4_createStreamHC()
+ * - reset by LZ4_resetStreamHC()
+ * - memset(stream, 0, sizeof(LZ4_streamHC_t))
+ * - the stream was in a valid state and was reset by LZ4_resetStreamHC_fast()
+ * - the stream was in a valid state and was then used in any compression call
+ * that returned success
+ * - the stream was in an indeterminate state and was used in a compression
+ * call that fully reset the state (LZ4_compress_HC_extStateHC()) and that
+ * returned success
+ *
+ * Note:
+ * A stream that was last used in a compression call that returned an error
+ * may be passed to this function. However, it will be fully reset, which will
+ * clear any existing history and settings from the context.
+ */
+LZ4LIB_STATIC_API void LZ4_resetStreamHC_fast(
+ LZ4_streamHC_t* LZ4_streamHCPtr, int compressionLevel);
+
+/*! LZ4_compress_HC_extStateHC_fastReset() :
+ * A variant of LZ4_compress_HC_extStateHC().
+ *
+ * Using this variant avoids an expensive initialization step. It is only safe
+ * to call if the state buffer is known to be correctly initialized already
+ * (see above comment on LZ4_resetStreamHC_fast() for a definition of
+ * "correctly initialized"). From a high level, the difference is that this
+ * function initializes the provided state with a call to
+ * LZ4_resetStreamHC_fast() while LZ4_compress_HC_extStateHC() starts with a
+ * call to LZ4_resetStreamHC().
+ */
+LZ4LIB_STATIC_API int LZ4_compress_HC_extStateHC_fastReset (
+ void* state,
+ const char* src, char* dst,
+ int srcSize, int dstCapacity,
+ int compressionLevel);
+
+/*! LZ4_attach_HC_dictionary() :
+ * This is an experimental API that allows for the efficient use of a
+ * static dictionary many times.
+ *
+ * Rather than re-loading the dictionary buffer into a working context before
+ * each compression, or copying a pre-loaded dictionary's LZ4_streamHC_t into a
+ * working LZ4_streamHC_t, this function introduces a no-copy setup mechanism,
+ * in which the working stream references the dictionary stream in-place.
+ *
+ * Several assumptions are made about the state of the dictionary stream.
+ * Currently, only streams which have been prepared by LZ4_loadDictHC() should
+ * be expected to work.
+ *
+ * Alternatively, the provided dictionary stream pointer may be NULL, in which
+ * case any existing dictionary stream is unset.
+ *
+ * A dictionary should only be attached to a stream without any history (i.e.,
+ * a stream that has just been reset).
+ *
+ * The dictionary will remain attached to the working stream only for the
+ * current stream session. Calls to LZ4_resetStreamHC(_fast) will remove the
+ * dictionary context association from the working stream. The dictionary
+ * stream (and source buffer) must remain in-place / accessible / unchanged
+ * through the lifetime of the stream session.
+ */
+LZ4LIB_STATIC_API void LZ4_attach_HC_dictionary(
+ LZ4_streamHC_t *working_stream,
+ const LZ4_streamHC_t *dictionary_stream);
+
+#if defined (__cplusplus)
+}
+#endif
+
+#endif /* LZ4_HC_SLO_098092834 */
+#endif /* LZ4_HC_STATIC_LINKING_ONLY */
diff --git a/pgsql/include/pg_config.h b/pgsql/include/pg_config.h
new file mode 100644
index 0000000000000000000000000000000000000000..42c2ccfac9c3866f03b2c0c82f4ab0298589878d
--- /dev/null
+++ b/pgsql/include/pg_config.h
@@ -0,0 +1,825 @@
+/* src/include/pg_config.h. Generated from src/include/pg_config.h.in by src/tools/msvc/Solution.pm. */
+/* src/include/pg_config.h.in. Generated from configure.ac by autoheader. */
+
+/* Define if building universal (internal helper macro) */
+/* #undef AC_APPLE_UNIVERSAL_BUILD */
+
+/* The normal alignment of `double', in bytes. */
+#define ALIGNOF_DOUBLE 8
+
+/* The normal alignment of `int', in bytes. */
+#define ALIGNOF_INT 4
+
+/* The normal alignment of `long', in bytes. */
+#define ALIGNOF_LONG 4
+
+/* The normal alignment of `long long int', in bytes. */
+#define ALIGNOF_LONG_LONG_INT 8
+
+/* The normal alignment of `PG_INT128_TYPE', in bytes. */
+/* #undef ALIGNOF_PG_INT128_TYPE */
+
+/* The normal alignment of `short', in bytes. */
+#define ALIGNOF_SHORT 2
+
+/* Size of a disk block --- this also limits the size of a tuple. You can set
+ it bigger if you need bigger tuples (although TOAST should reduce the need
+ to have large tuples, since fields can be spread across multiple tuples).
+ BLCKSZ must be a power of 2. The maximum possible value of BLCKSZ is
+ currently 2^15 (32768). This is determined by the 15-bit widths of the
+ lp_off and lp_len fields in ItemIdData (see include/storage/itemid.h).
+ Changing BLCKSZ requires an initdb. */
+#define BLCKSZ 8192
+
+/* Saved arguments from configure */
+#define CONFIGURE_ARGS "--enable-thread-safety --enable-nls --with-ldap --with-ssl=openssl --with-uuid --with-libxml --with-libxslt --with-lz4 --with-zstd --with-icu --with-tcl --with-perl --with-python"
+
+/* Define to the default TCP port number on which the server listens and to
+ which clients will try to connect. This can be overridden at run-time, but
+ it's convenient if your clients have the right default compiled in.
+ (--with-pgport=PORTNUM) */
+#define DEF_PGPORT 5432
+
+/* Define to the default TCP port number as a string constant. */
+#define DEF_PGPORT_STR "5432"
+
+/* Define to the file name extension of dynamically-loadable modules. */
+#define DLSUFFIX ".dll"
+
+/* Define to build with GSSAPI support. (--with-gssapi) */
+/* #undef ENABLE_GSS */
+
+/* Define to 1 if you want National Language Support. (--enable-nls) */
+#define ENABLE_NLS 1
+
+/* Define to 1 to build client libraries as thread-safe code.
+ (--enable-thread-safety) */
+#define ENABLE_THREAD_SAFETY 1
+
+/* Define to 1 if you have the `append_history' function. */
+/* #undef HAVE_APPEND_HISTORY */
+
+/* Define to 1 if you have the `ASN1_STRING_get0_data' function. */
+#define HAVE_ASN1_STRING_GET0_DATA 1
+
+/* Define to 1 if you want to use atomics if available. */
+#define HAVE_ATOMICS 1
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_ATOMIC_H */
+
+/* Define to 1 if you have the `backtrace_symbols' function. */
+/* #undef HAVE_BACKTRACE_SYMBOLS */
+
+/* Define to 1 if you have the `BIO_meth_new' function. */
+#define HAVE_BIO_METH_NEW 1
+
+/* Define to 1 if your compiler handles computed gotos. */
+/* #undef HAVE_COMPUTED_GOTO */
+
+/* Define to 1 if you have the `copyfile' function. */
+/* #undef HAVE_COPYFILE */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_COPYFILE_H */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_CRTDEFS_H */
+
+/* Define to 1 if you have the `CRYPTO_lock' function. */
+/* #undef HAVE_CRYPTO_LOCK */
+
+/* Define to 1 if you have the declaration of `fdatasync', and to 0 if you
+ don't. */
+#define HAVE_DECL_FDATASYNC 0
+
+/* Define to 1 if you have the declaration of `F_FULLFSYNC', and to 0 if you
+ don't. */
+#define HAVE_DECL_F_FULLFSYNC 0
+
+/* Define to 1 if you have the declaration of
+ `LLVMCreateGDBRegistrationListener', and to 0 if you don't. */
+#define HAVE_DECL_LLVMCREATEGDBREGISTRATIONLISTENER 0
+
+/* Define to 1 if you have the declaration of
+ `LLVMCreatePerfJITEventListener', and to 0 if you don't. */
+#define HAVE_DECL_LLVMCREATEPERFJITEVENTLISTENER 0
+
+/* Define to 1 if you have the declaration of `LLVMGetHostCPUFeatures', and to
+ 0 if you don't. */
+#define HAVE_DECL_LLVMGETHOSTCPUFEATURES 0
+
+/* Define to 1 if you have the declaration of `LLVMGetHostCPUName', and to 0
+ if you don't. */
+#define HAVE_DECL_LLVMGETHOSTCPUNAME 0
+
+/* Define to 1 if you have the declaration of `LLVMOrcGetSymbolAddressIn', and
+ to 0 if you don't. */
+#define HAVE_DECL_LLVMORCGETSYMBOLADDRESSIN 0
+
+/* Define to 1 if you have the declaration of `posix_fadvise', and to 0 if you
+ don't. */
+#define HAVE_DECL_POSIX_FADVISE 0
+
+/* Define to 1 if you have the declaration of `preadv', and to 0 if you don't.
+ */
+#define HAVE_DECL_PREADV 0
+
+/* Define to 1 if you have the declaration of `pwritev', and to 0 if you
+ don't. */
+#define HAVE_DECL_PWRITEV 0
+
+/* Define to 1 if you have the declaration of `strlcat', and to 0 if you
+ don't. */
+#define HAVE_DECL_STRLCAT 0
+
+/* Define to 1 if you have the declaration of `strlcpy', and to 0 if you
+ don't. */
+#define HAVE_DECL_STRLCPY 0
+
+/* Define to 1 if you have the declaration of `strnlen', and to 0 if you
+ don't. */
+#define HAVE_DECL_STRNLEN 1
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_EDITLINE_HISTORY_H */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_EDITLINE_READLINE_H */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_EXECINFO_H */
+
+/* Define to 1 if you have the `explicit_bzero' function. */
+/* #undef HAVE_EXPLICIT_BZERO */
+
+/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
+#define HAVE_FSEEKO 1
+
+/* Define to 1 if you have __atomic_compare_exchange_n(int *, int *, int). */
+/* #undef HAVE_GCC__ATOMIC_INT32_CAS */
+
+/* Define to 1 if you have __atomic_compare_exchange_n(int64 *, int64 *,
+ int64). */
+/* #undef HAVE_GCC__ATOMIC_INT64_CAS */
+
+/* Define to 1 if you have __sync_lock_test_and_set(char *) and friends. */
+/* #undef HAVE_GCC__SYNC_CHAR_TAS */
+
+/* Define to 1 if you have __sync_val_compare_and_swap(int *, int, int). */
+/* #undef HAVE_GCC__SYNC_INT32_CAS */
+
+/* Define to 1 if you have __sync_lock_test_and_set(int *) and friends. */
+/* #undef HAVE_GCC__SYNC_INT32_TAS */
+
+/* Define to 1 if you have __sync_val_compare_and_swap(int64 *, int64, int64).
+ */
+/* #undef HAVE_GCC__SYNC_INT64_CAS */
+
+/* Define to 1 if you have the `getifaddrs' function. */
+/* #undef HAVE_GETIFADDRS */
+
+/* Define to 1 if you have the `getopt' function. */
+/* #undef HAVE_GETOPT */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_GETOPT_H */
+
+/* Define to 1 if you have the `getopt_long' function. */
+/* #undef HAVE_GETOPT_LONG */
+
+/* Define to 1 if you have the `getpeereid' function. */
+/* #undef HAVE_GETPEEREID */
+
+/* Define to 1 if you have the `getpeerucred' function. */
+/* #undef HAVE_GETPEERUCRED */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_GSSAPI_EXT_H */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_GSSAPI_GSSAPI_EXT_H */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_GSSAPI_GSSAPI_H */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_GSSAPI_H */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_HISTORY_H */
+
+/* Define to 1 if you have the `history_truncate_file' function. */
+/* #undef HAVE_HISTORY_TRUNCATE_FILE */
+
+/* Define to 1 if you have the `HMAC_CTX_free' function. */
+#define HAVE_HMAC_CTX_FREE 1
+
+/* Define to 1 if you have the `HMAC_CTX_new' function. */
+#define HAVE_HMAC_CTX_NEW 1
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_IFADDRS_H */
+
+/* Define to 1 if you have the `inet_aton' function. */
+/* #undef HAVE_INET_ATON */
+
+/* Define to 1 if you have the `inet_pton' function. */
+#define HAVE_INET_PTON 1
+
+/* Define to 1 if the system has the type `int64'. */
+/* #undef HAVE_INT64 */
+
+/* Define to 1 if the system has the type `int8'. */
+/* #undef HAVE_INT8 */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_INTTYPES_H */
+
+/* Define to 1 if you have the global variable 'int opterr'. */
+/* #undef HAVE_INT_OPTERR */
+
+/* Define to 1 if you have the global variable 'int optreset'. */
+/* #undef HAVE_INT_OPTRESET */
+
+/* Define to 1 if you have the global variable 'int timezone'. */
+#define HAVE_INT_TIMEZONE 1
+
+/* Define to 1 if __builtin_constant_p(x) implies "i"(x) acceptance. */
+/* #undef HAVE_I_CONSTRAINT__BUILTIN_CONSTANT_P */
+
+/* Define to 1 if you have the `kqueue' function. */
+/* #undef HAVE_KQUEUE */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_LANGINFO_H */
+
+/* Define to 1 if you have the `ldap_initialize' function. */
+/* #undef HAVE_LDAP_INITIALIZE */
+
+/* Define to 1 if you have the `crypto' library (-lcrypto). */
+/* #undef HAVE_LIBCRYPTO */
+
+/* Define to 1 if you have the `ldap' library (-lldap). */
+/* #undef HAVE_LIBLDAP */
+
+/* Define to 1 if you have the `lz4' library (-llz4). */
+#define HAVE_LIBLZ4 1
+
+/* Define to 1 if you have the `m' library (-lm). */
+/* #undef HAVE_LIBM */
+
+/* Define to 1 if you have the `pam' library (-lpam). */
+/* #undef HAVE_LIBPAM */
+
+/* Define if you have a function readline library */
+/* #undef HAVE_LIBREADLINE */
+
+/* Define to 1 if you have the `selinux' library (-lselinux). */
+/* #undef HAVE_LIBSELINUX */
+
+/* Define to 1 if you have the `ssl' library (-lssl). */
+/* #undef HAVE_LIBSSL */
+
+/* Define to 1 if you have the `wldap32' library (-lwldap32). */
+/* #undef HAVE_LIBWLDAP32 */
+
+/* Define to 1 if you have the `xml2' library (-lxml2). */
+#define HAVE_LIBXML2 1
+
+/* Define to 1 if you have the `xslt' library (-lxslt). */
+#define HAVE_LIBXSLT 1
+
+/* Define to 1 if you have the `z' library (-lz). */
+#define HAVE_LIBZ 1
+
+/* Define to 1 if you have the `zstd' library (-lzstd). */
+#define HAVE_LIBZSTD 1
+
+/* Define to 1 if the system has the type `locale_t'. */
+#define HAVE_LOCALE_T 1
+
+/* Define to 1 if `long int' works and is 64 bits. */
+/* #undef HAVE_LONG_INT_64 */
+
+/* Define to 1 if `long long int' works and is 64 bits. */
+#define HAVE_LONG_LONG_INT_64 1
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_MBARRIER_H */
+
+/* Define to 1 if you have the `mbstowcs_l' function. */
+#define HAVE_MBSTOWCS_L 1
+
+/* Define to 1 if you have the header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the `memset_s' function. */
+/* #undef HAVE_MEMSET_S */
+
+/* Define to 1 if you have the `mkdtemp' function. */
+/* #undef HAVE_MKDTEMP */
+
+/* Define to 1 if you have the `OPENSSL_init_ssl' function. */
+#define HAVE_OPENSSL_INIT_SSL 1
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_OSSP_UUID_H */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_PAM_PAM_APPL_H */
+
+/* Define to 1 if you have the `posix_fadvise' function. */
+/* #undef HAVE_POSIX_FADVISE */
+
+/* Define to 1 if you have the `posix_fallocate' function. */
+/* #undef HAVE_POSIX_FALLOCATE */
+
+/* Define to 1 if you have the `ppoll' function. */
+/* #undef HAVE_PPOLL */
+
+/* Define if you have POSIX threads libraries and header files. */
+/* #undef HAVE_PTHREAD */
+
+/* Define to 1 if you have the `pthread_barrier_wait' function. */
+/* #undef HAVE_PTHREAD_BARRIER_WAIT */
+
+/* Define to 1 if you have the `pthread_is_threaded_np' function. */
+/* #undef HAVE_PTHREAD_IS_THREADED_NP */
+
+/* Have PTHREAD_PRIO_INHERIT. */
+/* #undef HAVE_PTHREAD_PRIO_INHERIT */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_READLINE_H */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_READLINE_HISTORY_H */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_READLINE_READLINE_H */
+
+/* Define to 1 if you have the `rl_completion_matches' function. */
+/* #undef HAVE_RL_COMPLETION_MATCHES */
+
+/* Define to 1 if you have the global variable 'rl_completion_suppress_quote'.
+ */
+/* #undef HAVE_RL_COMPLETION_SUPPRESS_QUOTE */
+
+/* Define to 1 if you have the `rl_filename_completion_function' function. */
+/* #undef HAVE_RL_FILENAME_COMPLETION_FUNCTION */
+
+/* Define to 1 if you have the global variable 'rl_filename_quote_characters'.
+ */
+/* #undef HAVE_RL_FILENAME_QUOTE_CHARACTERS */
+
+/* Define to 1 if you have the global variable 'rl_filename_quoting_function'.
+ */
+/* #undef HAVE_RL_FILENAME_QUOTING_FUNCTION */
+
+/* Define to 1 if you have the `rl_reset_screen_size' function. */
+/* #undef HAVE_RL_RESET_SCREEN_SIZE */
+
+/* Define to 1 if you have the `rl_variable_bind' function. */
+/* #undef HAVE_RL_VARIABLE_BIND */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_SECURITY_PAM_APPL_H */
+
+/* Define to 1 if you have the `setproctitle' function. */
+/* #undef HAVE_SETPROCTITLE */
+
+/* Define to 1 if you have the `setproctitle_fast' function. */
+/* #undef HAVE_SETPROCTITLE_FAST */
+
+/* Define to 1 if the system has the type `socklen_t'. */
+#define HAVE_SOCKLEN_T 1
+
+/* Define to 1 if you have spinlocks. */
+#define HAVE_SPINLOCKS 1
+
+/* Define to 1 if you have the `SSL_CTX_set_cert_cb' function. */
+#define HAVE_SSL_CTX_SET_CERT_CB 1
+
+/* Define to 1 if stdbool.h conforms to C99. */
+#define HAVE_STDBOOL_H 1
+
+/* Define to 1 if you have the header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the `strchrnul' function. */
+/* #undef HAVE_STRCHRNUL */
+
+/* Define to 1 if you have the `strerror_r' function. */
+/* #undef HAVE_STRERROR_R */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_STRINGS_H */
+
+/* Define to 1 if you have the header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the `strlcat' function. */
+/* #undef HAVE_STRLCAT */
+
+/* Define to 1 if you have the `strlcpy' function. */
+/* #undef HAVE_STRLCPY */
+
+/* Define to 1 if you have the `strnlen' function. */
+#define HAVE_STRNLEN 1
+
+/* Define to 1 if you have the `strsignal' function. */
+/* #undef HAVE_STRSIGNAL */
+
+/* Define to 1 if the system has the type `struct option'. */
+/* #undef HAVE_STRUCT_OPTION */
+
+/* Define to 1 if `sa_len' is a member of `struct sockaddr'. */
+/* #undef HAVE_STRUCT_SOCKADDR_SA_LEN */
+
+/* Define to 1 if `tm_zone' is a member of `struct tm'. */
+/* #undef HAVE_STRUCT_TM_TM_ZONE */
+
+/* Define to 1 if you have the `syncfs' function. */
+/* #undef HAVE_SYNCFS */
+
+/* Define to 1 if you have the `sync_file_range' function. */
+/* #undef HAVE_SYNC_FILE_RANGE */
+
+/* Define to 1 if you have the syslog interface. */
+/* #undef HAVE_SYSLOG */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_SYS_EPOLL_H */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_SYS_EVENT_H */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_SYS_PERSONALITY_H */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_SYS_PRCTL_H */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_SYS_PROCCTL_H */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_SYS_SIGNALFD_H */
+
+/* Define to 1 if you have the header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_SYS_UCRED_H */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_TERMIOS_H */
+
+/* Define to 1 if your compiler understands `typeof' or something similar. */
+/* #undef HAVE_TYPEOF */
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_UCRED_H */
+
+/* Define to 1 if the system has the type `uint64'. */
+/* #undef HAVE_UINT64 */
+
+/* Define to 1 if the system has the type `uint8'. */
+/* #undef HAVE_UINT8 */
+
+/* Define to 1 if the system has the type `union semun'. */
+/* #undef HAVE_UNION_SEMUN */
+
+/* Define to 1 if you have the header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define to 1 if you have the `uselocale' function. */
+/* #undef HAVE_USELOCALE */
+
+/* Define to 1 if you have BSD UUID support. */
+/* #undef HAVE_UUID_BSD */
+
+/* Define to 1 if you have E2FS UUID support. */
+/* #undef HAVE_UUID_E2FS */
+
+/* Define to 1 if you have the header file. */
+#define HAVE_UUID_H 1
+
+/* Define to 1 if you have OSSP UUID support. */
+#define HAVE_UUID_OSSP 1
+
+/* Define to 1 if you have the header file. */
+/* #undef HAVE_UUID_UUID_H */
+
+/* Define to 1 if your compiler knows the visibility("hidden") attribute. */
+/* #undef HAVE_VISIBILITY_ATTRIBUTE */
+
+/* Define to 1 if you have the `wcstombs_l' function. */
+#define HAVE_WCSTOMBS_L 1
+
+/* Define to 1 if you have the `X509_get_signature_info' function. */
+#define HAVE_X509_GET_SIGNATURE_INFO 1
+
+/* Define to 1 if you have the `X509_get_signature_nid' function. */
+#define HAVE_X509_GET_SIGNATURE_NID 1
+
+/* Define to 1 if the assembler supports X86_64's POPCNTQ instruction. */
+/* #undef HAVE_X86_64_POPCNTQ */
+
+/* Define to 1 if the system has the type `_Bool'. */
+/* #undef HAVE__BOOL */
+
+/* Define to 1 if your compiler understands __builtin_bswap16. */
+/* #undef HAVE__BUILTIN_BSWAP16 */
+
+/* Define to 1 if your compiler understands __builtin_bswap32. */
+/* #undef HAVE__BUILTIN_BSWAP32 */
+
+/* Define to 1 if your compiler understands __builtin_bswap64. */
+/* #undef HAVE__BUILTIN_BSWAP64 */
+
+/* Define to 1 if your compiler understands __builtin_clz. */
+/* #undef HAVE__BUILTIN_CLZ */
+
+/* Define to 1 if your compiler understands __builtin_constant_p. */
+/* #undef HAVE__BUILTIN_CONSTANT_P */
+
+/* Define to 1 if your compiler understands __builtin_ctz. */
+/* #undef HAVE__BUILTIN_CTZ */
+
+/* Define to 1 if your compiler understands __builtin_frame_address. */
+/* #undef HAVE__BUILTIN_FRAME_ADDRESS */
+
+/* Define to 1 if your compiler understands __builtin_$op_overflow. */
+/* #undef HAVE__BUILTIN_OP_OVERFLOW */
+
+/* Define to 1 if your compiler understands __builtin_popcount. */
+/* #undef HAVE__BUILTIN_POPCOUNT */
+
+/* Define to 1 if your compiler understands __builtin_types_compatible_p. */
+/* #undef HAVE__BUILTIN_TYPES_COMPATIBLE_P */
+
+/* Define to 1 if your compiler understands __builtin_unreachable. */
+/* #undef HAVE__BUILTIN_UNREACHABLE */
+
+/* Define to 1 if you have the `_configthreadlocale' function. */
+#define HAVE__CONFIGTHREADLOCALE 1
+
+/* Define to 1 if you have __cpuid. */
+#define HAVE__CPUID 1
+
+/* Define to 1 if you have __get_cpuid. */
+/* #undef HAVE__GET_CPUID */
+
+/* Define to 1 if your compiler understands _Static_assert. */
+/* #undef HAVE__STATIC_ASSERT */
+
+/* Define to the appropriate printf length modifier for 64-bit ints. */
+#define INT64_MODIFIER "ll"
+
+/* Define to 1 if `locale_t' requires . */
+/* #undef LOCALE_T_IN_XLOCALE */
+
+/* Define as the maximum alignment requirement of any C data type. */
+#define MAXIMUM_ALIGNOF 8
+
+/* Define bytes to use libc memset(). */
+#define MEMSET_LOOP_LIMIT 1024
+
+/* Define to the OpenSSL API version in use. This avoids deprecation warnings
+ from newer OpenSSL versions. */
+#define OPENSSL_API_COMPAT 0x10001000L
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "PostgreSQL"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "PostgreSQL 16.3"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "postgresql"
+
+/* Define to the home page for this package. */
+#define PACKAGE_URL "https://www.postgresql.org/"
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "16.3"
+
+/* Define to the name of a signed 128-bit integer type. */
+/* #undef PG_INT128_TYPE */
+
+/* Define to the name of a signed 64-bit integer type. */
+#define PG_INT64_TYPE long long int
+
+/* Define to the name of the default PostgreSQL service principal in Kerberos
+ (GSSAPI). (--with-krb-srvnam=NAME) */
+#define PG_KRB_SRVNAM "postgres"
+
+/* PostgreSQL major version as a string */
+#define PG_MAJORVERSION "16"
+
+/* PostgreSQL major version number */
+#define PG_MAJORVERSION_NUM 16
+
+/* PostgreSQL minor version number */
+#define PG_MINORVERSION_NUM 3
+
+/* Define to best printf format archetype, usually gnu_printf if available. */
+/* #undef PG_PRINTF_ATTRIBUTE */
+
+/* Define to 1 to use to define type bool. */
+#define PG_USE_STDBOOL 1
+
+/* PostgreSQL version as a string */
+#define PG_VERSION "16.3"
+
+/* PostgreSQL version as a number */
+#define PG_VERSION_NUM 160003
+
+/* A string containing the version number, platform, and C compiler */
+#define PG_VERSION_STR "PostgreSQL 16.3, compiled by Visual C++ build " CppAsString2(_MSC_VER) ", 64-bit"
+
+/* Define to 1 to allow profiling output to be saved separately for each
+ process. */
+/* #undef PROFILE_PID_DIR */
+
+/* Define to necessary symbol if this constant uses a non-standard name on
+ your system. */
+/* #undef PTHREAD_CREATE_JOINABLE */
+
+/* RELSEG_SIZE is the maximum number of blocks allowed in one disk file. Thus,
+ the maximum size of a single file is RELSEG_SIZE * BLCKSZ; relations bigger
+ than that are divided into multiple files. RELSEG_SIZE * BLCKSZ must be
+ less than your OS' limit on file size. This is often 2 GB or 4GB in a
+ 32-bit operating system, unless you have large file support enabled. By
+ default, we make the limit 1 GB to avoid any possible integer-overflow
+ problems within the OS. A limit smaller than necessary only means we divide
+ a large relation into more chunks than necessary, so it seems best to err
+ in the direction of a small limit. A power-of-2 value is recommended to
+ save a few cycles in md.c, but is not absolutely required. Changing
+ RELSEG_SIZE requires an initdb. */
+#define RELSEG_SIZE 131072
+
+/* The size of `bool', as computed by sizeof. */
+#define SIZEOF_BOOL 1
+
+/* The size of `long', as computed by sizeof. */
+#define SIZEOF_LONG 4
+
+/* The size of `off_t', as computed by sizeof. */
+/* #undef SIZEOF_OFF_T */
+
+/* The size of `size_t', as computed by sizeof. */
+#define SIZEOF_SIZE_T 8
+
+/* The size of `void *', as computed by sizeof. */
+#define SIZEOF_VOID_P 8
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Define to 1 if strerror_r() returns int. */
+/* #undef STRERROR_R_INT */
+
+/* Define to 1 to use ARMv8 CRC Extension. */
+/* #undef USE_ARMV8_CRC32C */
+
+/* Define to 1 to use ARMv8 CRC Extension with a runtime check. */
+/* #undef USE_ARMV8_CRC32C_WITH_RUNTIME_CHECK */
+
+/* Define to 1 to build with assertion checks. (--enable-cassert) */
+/* #undef USE_ASSERT_CHECKING */
+
+/* Define to 1 to build with Bonjour support. (--with-bonjour) */
+/* #undef USE_BONJOUR */
+
+/* Define to 1 to build with BSD Authentication support. (--with-bsd-auth) */
+/* #undef USE_BSD_AUTH */
+
+/* Define to build with ICU support. (--with-icu) */
+#define USE_ICU 1
+
+/* Define to 1 to build with LDAP support. (--with-ldap) */
+#define USE_LDAP 1
+
+/* Define to 1 to build with XML support. (--with-libxml) */
+#define USE_LIBXML 1
+
+/* Define to 1 to use XSLT support when building contrib/xml2.
+ (--with-libxslt) */
+#define USE_LIBXSLT 1
+
+/* Define to 1 to build with LLVM based JIT support. (--with-llvm) */
+/* #undef USE_LLVM */
+
+/* Define to 1 to build with LZ4 support. (--with-lz4) */
+#define USE_LZ4 1
+
+/* Define to select named POSIX semaphores. */
+/* #undef USE_NAMED_POSIX_SEMAPHORES */
+
+/* Define to 1 to build with OpenSSL support. (--with-ssl=openssl) */
+#define USE_OPENSSL 1
+
+/* Define to 1 to build with PAM support. (--with-pam) */
+/* #undef USE_PAM */
+
+/* Define to 1 to use software CRC-32C implementation (slicing-by-8). */
+/* #undef USE_SLICING_BY_8_CRC32C */
+
+/* Define to 1 use Intel SSE 4.2 CRC instructions. */
+/* #undef USE_SSE42_CRC32C */
+
+/* Define to 1 to use Intel SSE 4.2 CRC instructions with a runtime check. */
+#define USE_SSE42_CRC32C_WITH_RUNTIME_CHECK 1
+
+/* Define to build with systemd support. (--with-systemd) */
+/* #undef USE_SYSTEMD */
+
+/* Define to select SysV-style semaphores. */
+/* #undef USE_SYSV_SEMAPHORES */
+
+/* Define to select SysV-style shared memory. */
+/* #undef USE_SYSV_SHARED_MEMORY */
+
+/* Define to select unnamed POSIX semaphores. */
+/* #undef USE_UNNAMED_POSIX_SEMAPHORES */
+
+/* Define to select Win32-style semaphores. */
+#define USE_WIN32_SEMAPHORES 1
+
+/* Define to select Win32-style shared memory. */
+#define USE_WIN32_SHARED_MEMORY 1
+
+/* Define to 1 to build with ZSTD support. (--with-zstd) */
+#define USE_ZSTD 1
+
+/* Define to 1 if `wcstombs_l' requires . */
+/* #undef WCSTOMBS_L_IN_XLOCALE */
+
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+ significant byte first (like Motorola and SPARC, unlike Intel). */
+#if defined AC_APPLE_UNIVERSAL_BUILD
+# if defined __BIG_ENDIAN__
+# define WORDS_BIGENDIAN 1
+# endif
+#else
+# ifndef WORDS_BIGENDIAN
+/* # undef WORDS_BIGENDIAN */
+# endif
+#endif
+
+/* Size of a WAL file block. This need have no particular relation to BLCKSZ.
+ XLOG_BLCKSZ must be a power of 2, and if your system supports O_DIRECT I/O,
+ XLOG_BLCKSZ must be a multiple of the alignment requirement for direct-I/O
+ buffers, else direct I/O may fail. Changing XLOG_BLCKSZ requires an initdb.
+ */
+#define XLOG_BLCKSZ 8192
+
+
+
+/* Number of bits in a file offset, on hosts where this is settable. */
+/* #undef _FILE_OFFSET_BITS */
+
+/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
+/* #undef _LARGEFILE_SOURCE */
+
+/* Define for large files, on AIX-style hosts. */
+/* #undef _LARGE_FILES */
+
+/* Define to `__inline__' or `__inline' if that's what the C compiler
+ calls it, or to nothing if 'inline' is not supported under any name. */
+#ifndef __cplusplus
+#define inline __inline
+#endif
+
+/* Define to keyword to use for C99 restrict support, or to nothing if not
+ supported */
+#define pg_restrict __restrict
+
+/* Define to the equivalent of the C99 'restrict' keyword, or to
+ nothing if this is not supported. Do not define if restrict is
+ supported directly. */
+/* #undef restrict */
+/* Work around a bug in Sun C++: it does not support _Restrict or
+ __restrict__, even though the corresponding Sun C compiler ends up with
+ "#define restrict _Restrict" or "#define restrict __restrict__" in the
+ previous line. Perhaps some future version of Sun C++ will work with
+ restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
+#if defined __SUNPRO_CC && !defined __RESTRICT
+# define _Restrict
+# define __restrict__
+#endif
+
+/* Define to how the compiler spells `typeof'. */
+/* #undef typeof */
diff --git a/pgsql/include/pg_config_ext.h b/pgsql/include/pg_config_ext.h
new file mode 100644
index 0000000000000000000000000000000000000000..1a56ec08ecdf1c072795838cfe1206bb15eb78d1
--- /dev/null
+++ b/pgsql/include/pg_config_ext.h
@@ -0,0 +1,8 @@
+/* src/include/pg_config_ext.h. Generated from src/include/pg_config_ext.h.in by src/tools/msvc/Solution.pm. */
+/*
+ * src/include/pg_config_ext.h.in. This is generated manually, not by
+ * autoheader, since we want to limit which symbols get defined here.
+ */
+
+/* Define to the name of a signed 64-bit integer type. */
+#define PG_INT64_TYPE long long int
diff --git a/pgsql/include/pg_config_manual.h b/pgsql/include/pg_config_manual.h
new file mode 100644
index 0000000000000000000000000000000000000000..a1a93ad706e8cd250644971b1bf5464bafa7ef8a
--- /dev/null
+++ b/pgsql/include/pg_config_manual.h
@@ -0,0 +1,372 @@
+/*------------------------------------------------------------------------
+ * PostgreSQL manual configuration settings
+ *
+ * This file contains various configuration symbols and limits. In
+ * all cases, changing them is only useful in very rare situations or
+ * for developers. If you edit any of these, be sure to do a *full*
+ * rebuild (and an initdb if noted).
+ *
+ * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
+ * src/include/pg_config_manual.h
+ *------------------------------------------------------------------------
+ */
+
+/*
+ * This is the default value for wal_segment_size to be used when initdb is run
+ * without the --wal-segsize option. It must be a valid segment size.
+ */
+#define DEFAULT_XLOG_SEG_SIZE (16*1024*1024)
+
+/*
+ * Maximum length for identifiers (e.g. table names, column names,
+ * function names). Names actually are limited to one fewer byte than this,
+ * because the length must include a trailing zero byte.
+ *
+ * Changing this requires an initdb.
+ */
+#define NAMEDATALEN 64
+
+/*
+ * Maximum number of arguments to a function.
+ *
+ * The minimum value is 8 (GIN indexes use 8-argument support functions).
+ * The maximum possible value is around 600 (limited by index tuple size in
+ * pg_proc's index; BLCKSZ larger than 8K would allow more). Values larger
+ * than needed will waste memory and processing time, but do not directly
+ * cost disk space.
+ *
+ * Changing this does not require an initdb, but it does require a full
+ * backend recompile (including any user-defined C functions).
+ */
+#define FUNC_MAX_ARGS 100
+
+/*
+ * When creating a product derived from PostgreSQL with changes that cause
+ * incompatibilities for loadable modules, it is recommended to change this
+ * string so that dfmgr.c can refuse to load incompatible modules with a clean
+ * error message. Typical examples that cause incompatibilities are any
+ * changes to node tags or node structures. (Note that dfmgr.c already
+ * detects common sources of incompatibilities due to major version
+ * differences and due to some changed compile-time constants. This setting
+ * is for catching anything that cannot be detected in a straightforward way.)
+ *
+ * There is no prescribed format for the string. The suggestion is to include
+ * product or company name, and optionally any internally-relevant ABI
+ * version. Example: "ACME Postgres/1.2". Note that the string will appear
+ * in a user-facing error message if an ABI mismatch is detected.
+ */
+#define FMGR_ABI_EXTRA "PostgreSQL"
+
+/*
+ * Maximum number of columns in an index. There is little point in making
+ * this anything but a multiple of 32, because the main cost is associated
+ * with index tuple header size (see access/itup.h).
+ *
+ * Changing this requires an initdb.
+ */
+#define INDEX_MAX_KEYS 32
+
+/*
+ * Maximum number of columns in a partition key
+ */
+#define PARTITION_MAX_KEYS 32
+
+/*
+ * Decide whether built-in 8-byte types, including float8, int8, and
+ * timestamp, are passed by value. This is on by default if sizeof(Datum) >=
+ * 8 (that is, on 64-bit platforms). If sizeof(Datum) < 8 (32-bit platforms),
+ * this must be off. We keep this here as an option so that it is easy to
+ * test the pass-by-reference code paths on 64-bit platforms.
+ *
+ * Changing this requires an initdb.
+ */
+#if SIZEOF_VOID_P >= 8
+#define USE_FLOAT8_BYVAL 1
+#endif
+
+/*
+ * When we don't have native spinlocks, we use semaphores to simulate them.
+ * Decreasing this value reduces consumption of OS resources; increasing it
+ * may improve performance, but supplying a real spinlock implementation is
+ * probably far better.
+ */
+#define NUM_SPINLOCK_SEMAPHORES 128
+
+/*
+ * When we have neither spinlocks nor atomic operations support we're
+ * implementing atomic operations on top of spinlock on top of semaphores. To
+ * be safe against atomic operations while holding a spinlock separate
+ * semaphores have to be used.
+ */
+#define NUM_ATOMICS_SEMAPHORES 64
+
+/*
+ * MAXPGPATH: standard size of a pathname buffer in PostgreSQL (hence,
+ * maximum usable pathname length is one less).
+ *
+ * We'd use a standard system header symbol for this, if there weren't
+ * so many to choose from: MAXPATHLEN, MAX_PATH, PATH_MAX are all
+ * defined by different "standards", and often have different values
+ * on the same platform! So we just punt and use a reasonably
+ * generous setting here.
+ */
+#define MAXPGPATH 1024
+
+/*
+ * You can try changing this if you have a machine with bytes of
+ * another size, but no guarantee...
+ */
+#define BITS_PER_BYTE 8
+
+/*
+ * Preferred alignment for disk I/O buffers. On some CPUs, copies between
+ * user space and kernel space are significantly faster if the user buffer
+ * is aligned on a larger-than-MAXALIGN boundary. Ideally this should be
+ * a platform-dependent value, but for now we just hard-wire it.
+ */
+#define ALIGNOF_BUFFER 32
+
+/*
+ * If EXEC_BACKEND is defined, the postmaster uses an alternative method for
+ * starting subprocesses: Instead of simply using fork(), as is standard on
+ * Unix platforms, it uses fork()+exec() or something equivalent on Windows,
+ * as well as lots of extra code to bring the required global state to those
+ * new processes. This must be enabled on Windows (because there is no
+ * fork()). On other platforms, it's only useful for verifying those
+ * otherwise Windows-specific code paths.
+ */
+#if defined(WIN32) && !defined(__CYGWIN__)
+#define EXEC_BACKEND
+#endif
+
+/*
+ * USE_POSIX_FADVISE controls whether Postgres will attempt to use the
+ * posix_fadvise() kernel call. Usually the automatic configure tests are
+ * sufficient, but some older Linux distributions had broken versions of
+ * posix_fadvise(). If necessary you can remove the #define here.
+ */
+#if HAVE_DECL_POSIX_FADVISE && defined(HAVE_POSIX_FADVISE)
+#define USE_POSIX_FADVISE
+#endif
+
+/*
+ * USE_PREFETCH code should be compiled only if we have a way to implement
+ * prefetching. (This is decoupled from USE_POSIX_FADVISE because there
+ * might in future be support for alternative low-level prefetch APIs.
+ * If you change this, you probably need to adjust the error message in
+ * check_effective_io_concurrency.)
+ */
+#ifdef USE_POSIX_FADVISE
+#define USE_PREFETCH
+#endif
+
+/*
+ * Default and maximum values for backend_flush_after, bgwriter_flush_after
+ * and checkpoint_flush_after; measured in blocks. Currently, these are
+ * enabled by default if sync_file_range() exists, ie, only on Linux. Perhaps
+ * we could also enable by default if we have mmap and msync(MS_ASYNC)?
+ */
+#ifdef HAVE_SYNC_FILE_RANGE
+#define DEFAULT_BACKEND_FLUSH_AFTER 0 /* never enabled by default */
+#define DEFAULT_BGWRITER_FLUSH_AFTER 64
+#define DEFAULT_CHECKPOINT_FLUSH_AFTER 32
+#else
+#define DEFAULT_BACKEND_FLUSH_AFTER 0
+#define DEFAULT_BGWRITER_FLUSH_AFTER 0
+#define DEFAULT_CHECKPOINT_FLUSH_AFTER 0
+#endif
+/* upper limit for all three variables */
+#define WRITEBACK_MAX_PENDING_FLUSHES 256
+
+/*
+ * USE_SSL code should be compiled only when compiling with an SSL
+ * implementation.
+ */
+#ifdef USE_OPENSSL
+#define USE_SSL
+#endif
+
+/*
+ * This is the default directory in which AF_UNIX socket files are
+ * placed. Caution: changing this risks breaking your existing client
+ * applications, which are likely to continue to look in the old
+ * directory. But if you just hate the idea of sockets in /tmp,
+ * here's where to twiddle it. You can also override this at runtime
+ * with the postmaster's -k switch.
+ *
+ * If set to an empty string, then AF_UNIX sockets are not used by default: A
+ * server will not create an AF_UNIX socket unless the run-time configuration
+ * is changed, a client will connect via TCP/IP by default and will only use
+ * an AF_UNIX socket if one is explicitly specified.
+ *
+ * This is done by default on Windows because there is no good standard
+ * location for AF_UNIX sockets and many installations on Windows don't
+ * support them yet.
+ */
+#ifndef WIN32
+#define DEFAULT_PGSOCKET_DIR "/tmp"
+#else
+#define DEFAULT_PGSOCKET_DIR ""
+#endif
+
+/*
+ * This is the default event source for Windows event log.
+ */
+#define DEFAULT_EVENT_SOURCE "PostgreSQL"
+
+/*
+ * Assumed cache line size. This doesn't affect correctness, but can be used
+ * for low-level optimizations. Currently, this is used to pad some data
+ * structures in xlog.c, to ensure that highly-contended fields are on
+ * different cache lines. Too small a value can hurt performance due to false
+ * sharing, while the only downside of too large a value is a few bytes of
+ * wasted memory. The default is 128, which should be large enough for all
+ * supported platforms.
+ */
+#define PG_CACHE_LINE_SIZE 128
+
+/*
+ * Assumed alignment requirement for direct I/O. 4K corresponds to common
+ * sector and memory page size.
+ */
+#define PG_IO_ALIGN_SIZE 4096
+
+/*
+ *------------------------------------------------------------------------
+ * The following symbols are for enabling debugging code, not for
+ * controlling user-visible features or resource limits.
+ *------------------------------------------------------------------------
+ */
+
+/*
+ * Include Valgrind "client requests", mostly in the memory allocator, so
+ * Valgrind understands PostgreSQL memory contexts. This permits detecting
+ * memory errors that Valgrind would not detect on a vanilla build. It also
+ * enables detection of buffer accesses that take place without holding a
+ * buffer pin (or without holding a buffer lock in the case of index access
+ * methods that superimpose their own custom client requests on top of the
+ * generic bufmgr.c requests).
+ *
+ * "make installcheck" is significantly slower under Valgrind. The client
+ * requests fall in hot code paths, so USE_VALGRIND slows execution by a few
+ * percentage points even when not run under Valgrind.
+ *
+ * Do not try to test the server under Valgrind without having built the
+ * server with USE_VALGRIND; else you will get false positives from sinval
+ * messaging (see comments in AddCatcacheInvalidationMessage). It's also
+ * important to use the suppression file src/tools/valgrind.supp to
+ * exclude other known false positives.
+ *
+ * You should normally use MEMORY_CONTEXT_CHECKING with USE_VALGRIND;
+ * instrumentation of repalloc() is inferior without it.
+ */
+/* #define USE_VALGRIND */
+
+/*
+ * Define this to cause pfree()'d memory to be cleared immediately, to
+ * facilitate catching bugs that refer to already-freed values.
+ * Right now, this gets defined automatically if --enable-cassert.
+ */
+#ifdef USE_ASSERT_CHECKING
+#define CLOBBER_FREED_MEMORY
+#endif
+
+/*
+ * Define this to check memory allocation errors (scribbling on more
+ * bytes than were allocated). Right now, this gets defined
+ * automatically if --enable-cassert or USE_VALGRIND.
+ */
+#if defined(USE_ASSERT_CHECKING) || defined(USE_VALGRIND)
+#define MEMORY_CONTEXT_CHECKING
+#endif
+
+/*
+ * Define this to cause palloc()'d memory to be filled with random data, to
+ * facilitate catching code that depends on the contents of uninitialized
+ * memory. Caution: this is horrendously expensive.
+ */
+/* #define RANDOMIZE_ALLOCATED_MEMORY */
+
+/*
+ * For cache-invalidation debugging, define DISCARD_CACHES_ENABLED to enable
+ * use of the debug_discard_caches GUC to aggressively flush syscache/relcache
+ * entries whenever it's possible to deliver invalidations. See
+ * AcceptInvalidationMessages() in src/backend/utils/cache/inval.c for
+ * details.
+ *
+ * USE_ASSERT_CHECKING builds default to enabling this. It's possible to use
+ * DISCARD_CACHES_ENABLED without a cassert build and the implied
+ * CLOBBER_FREED_MEMORY and MEMORY_CONTEXT_CHECKING options, but it's unlikely
+ * to be as effective at identifying problems.
+ */
+/* #define DISCARD_CACHES_ENABLED */
+
+#if defined(USE_ASSERT_CHECKING) && !defined(DISCARD_CACHES_ENABLED)
+#define DISCARD_CACHES_ENABLED
+#endif
+
+/*
+ * Backwards compatibility for the older compile-time-only clobber-cache
+ * macros.
+ */
+#if !defined(DISCARD_CACHES_ENABLED) && (defined(CLOBBER_CACHE_ALWAYS) || defined(CLOBBER_CACHE_RECURSIVELY))
+#define DISCARD_CACHES_ENABLED
+#endif
+
+/*
+ * Recover memory used for relcache entries when invalidated. See
+ * RelationBuildDesc() in src/backend/utils/cache/relcache.c.
+ *
+ * This is active automatically for clobber-cache builds when clobbering is
+ * active, but can be overridden here by explicitly defining
+ * RECOVER_RELATION_BUILD_MEMORY. Define to 1 to always free relation cache
+ * memory even when clobber is off, or to 0 to never free relation cache
+ * memory even when clobbering is on.
+ */
+ /* #define RECOVER_RELATION_BUILD_MEMORY 0 */ /* Force disable */
+ /* #define RECOVER_RELATION_BUILD_MEMORY 1 */ /* Force enable */
+
+/*
+ * Define this to force all parse and plan trees to be passed through
+ * copyObject(), to facilitate catching errors and omissions in
+ * copyObject().
+ */
+/* #define COPY_PARSE_PLAN_TREES */
+
+/*
+ * Define this to force all parse and plan trees to be passed through
+ * outfuncs.c/readfuncs.c, to facilitate catching errors and omissions in
+ * those modules.
+ */
+/* #define WRITE_READ_PARSE_PLAN_TREES */
+
+/*
+ * Define this to force all raw parse trees for DML statements to be scanned
+ * by raw_expression_tree_walker(), to facilitate catching errors and
+ * omissions in that function.
+ */
+/* #define RAW_EXPRESSION_COVERAGE_TEST */
+
+/*
+ * Enable debugging print statements for lock-related operations.
+ */
+/* #define LOCK_DEBUG */
+
+/*
+ * Enable debugging print statements for WAL-related operations; see
+ * also the wal_debug GUC var.
+ */
+/* #define WAL_DEBUG */
+
+/*
+ * Enable tracing of resource consumption during sort operations;
+ * see also the trace_sort GUC var. For 8.1 this is enabled by default.
+ */
+#define TRACE_SORT 1
+
+/*
+ * Enable tracing of syncscan operations (see also the trace_syncscan GUC var).
+ */
+/* #define TRACE_SYNCSCAN */
diff --git a/pgsql/include/pg_config_os.h b/pgsql/include/pg_config_os.h
new file mode 100644
index 0000000000000000000000000000000000000000..38cc02572df24fe5f4cccf28dcedd3bf64b1d4d0
--- /dev/null
+++ b/pgsql/include/pg_config_os.h
@@ -0,0 +1,59 @@
+/* src/include/port/win32.h */
+
+/*
+ * We always rely on the WIN32 macro being set by our build system,
+ * but _WIN32 is the compiler pre-defined macro. So make sure we define
+ * WIN32 whenever _WIN32 is set, to facilitate standalone building.
+ */
+#if defined(_WIN32) && !defined(WIN32)
+#define WIN32
+#endif
+
+/*
+ * Make sure _WIN32_WINNT has the minimum required value.
+ * Leave a higher value in place. The minimum requirement is Windows 10.
+ */
+#ifdef _WIN32_WINNT
+#undef _WIN32_WINNT
+#endif
+
+#define _WIN32_WINNT 0x0A00
+
+/*
+ * We need to prevent from defining a symbol conflicting with
+ * our errcode() function. Since it's likely to get included by standard
+ * system headers, pre-emptively include it now.
+ */
+#if defined(_MSC_VER) || defined(HAVE_CRTDEFS_H)
+#define errcode __msvc_errcode
+#include
+#undef errcode
+#endif
+
+/*
+ * defines for dynamic linking on Win32 platform
+ */
+
+/*
+ * Variables declared in the core backend and referenced by loadable
+ * modules need to be marked "dllimport" in the core build, but
+ * "dllexport" when the declaration is read in a loadable module.
+ * No special markings should be used when compiling frontend code.
+ */
+#ifndef FRONTEND
+#ifdef BUILDING_DLL
+#define PGDLLIMPORT __declspec (dllexport)
+#else
+#define PGDLLIMPORT __declspec (dllimport)
+#endif
+#endif
+
+/*
+ * Functions exported by a loadable module must be marked "dllexport".
+ *
+ * While mingw would otherwise fall back to
+ * __attribute__((visibility("default"))), that appears to only work as long
+ * as no symbols are declared with __declspec(dllexport). But we can end up
+ * with some, e.g. plpython's Py_Init.
+ */
+#define PGDLLEXPORT __declspec (dllexport)
diff --git a/pgsql/include/pgtypes.h b/pgsql/include/pgtypes.h
new file mode 100644
index 0000000000000000000000000000000000000000..dbf759b45f572568aab0860fd2b1028edbbded6d
--- /dev/null
+++ b/pgsql/include/pgtypes.h
@@ -0,0 +1,17 @@
+/* src/interfaces/ecpg/include/pgtypes.h */
+
+#ifndef PGTYPES_H
+#define PGTYPES_H
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+extern void PGTYPESchar_free(char *ptr);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* PGTYPES_H */
diff --git a/pgsql/include/pgtypes_date.h b/pgsql/include/pgtypes_date.h
new file mode 100644
index 0000000000000000000000000000000000000000..5490cf8217dacdfb4b7a88bd6494b5e7c8d7013b
--- /dev/null
+++ b/pgsql/include/pgtypes_date.h
@@ -0,0 +1,32 @@
+/* src/interfaces/ecpg/include/pgtypes_date.h */
+
+#ifndef PGTYPES_DATETIME
+#define PGTYPES_DATETIME
+
+#include
+#include
+
+typedef long date;
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+extern date * PGTYPESdate_new(void);
+extern void PGTYPESdate_free(date * d);
+extern date PGTYPESdate_from_asc(char *str, char **endptr);
+extern char *PGTYPESdate_to_asc(date dDate);
+extern date PGTYPESdate_from_timestamp(timestamp dt);
+extern void PGTYPESdate_julmdy(date jd, int *mdy);
+extern void PGTYPESdate_mdyjul(int *mdy, date * jdate);
+extern int PGTYPESdate_dayofweek(date dDate);
+extern void PGTYPESdate_today(date * d);
+extern int PGTYPESdate_defmt_asc(date * d, const char *fmt, const char *str);
+extern int PGTYPESdate_fmt_asc(date dDate, const char *fmtstring, char *outbuf);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* PGTYPES_DATETIME */
diff --git a/pgsql/include/pgtypes_error.h b/pgsql/include/pgtypes_error.h
new file mode 100644
index 0000000000000000000000000000000000000000..9fc22a26aafa990979d0f33ab0036499e6873b0e
--- /dev/null
+++ b/pgsql/include/pgtypes_error.h
@@ -0,0 +1,18 @@
+/* src/interfaces/ecpg/include/pgtypes_error.h */
+
+#define PGTYPES_NUM_OVERFLOW 301
+#define PGTYPES_NUM_BAD_NUMERIC 302
+#define PGTYPES_NUM_DIVIDE_ZERO 303
+#define PGTYPES_NUM_UNDERFLOW 304
+
+#define PGTYPES_DATE_BAD_DATE 310
+#define PGTYPES_DATE_ERR_EARGS 311
+#define PGTYPES_DATE_ERR_ENOSHORTDATE 312
+#define PGTYPES_DATE_ERR_ENOTDMY 313
+#define PGTYPES_DATE_BAD_DAY 314
+#define PGTYPES_DATE_BAD_MONTH 315
+
+#define PGTYPES_TS_BAD_TIMESTAMP 320
+#define PGTYPES_TS_ERR_EINFTIME 321
+
+#define PGTYPES_INTVL_BAD_INTERVAL 330
diff --git a/pgsql/include/pgtypes_interval.h b/pgsql/include/pgtypes_interval.h
new file mode 100644
index 0000000000000000000000000000000000000000..2809b356f73535bb0735a499b9423b395f00c414
--- /dev/null
+++ b/pgsql/include/pgtypes_interval.h
@@ -0,0 +1,48 @@
+/* src/interfaces/ecpg/include/pgtypes_interval.h */
+
+#ifndef PGTYPES_INTERVAL
+#define PGTYPES_INTERVAL
+
+#include
+#include
+
+#ifndef C_H
+
+#ifdef HAVE_LONG_INT_64
+#ifndef HAVE_INT64
+typedef long int int64;
+#endif
+#elif defined(HAVE_LONG_LONG_INT_64)
+#ifndef HAVE_INT64
+typedef long long int int64;
+#endif
+#else
+/* neither HAVE_LONG_INT_64 nor HAVE_LONG_LONG_INT_64 */
+#error must have a working 64-bit integer datatype
+#endif
+
+#define HAVE_INT64_TIMESTAMP
+#endif /* C_H */
+
+typedef struct
+{
+ int64 time; /* all time units other than months and years */
+ long month; /* months and years, after time for alignment */
+} interval;
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+extern interval * PGTYPESinterval_new(void);
+extern void PGTYPESinterval_free(interval * intvl);
+extern interval * PGTYPESinterval_from_asc(char *str, char **endptr);
+extern char *PGTYPESinterval_to_asc(interval * span);
+extern int PGTYPESinterval_copy(interval * intvlsrc, interval * intvldest);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* PGTYPES_INTERVAL */
diff --git a/pgsql/include/pgtypes_numeric.h b/pgsql/include/pgtypes_numeric.h
new file mode 100644
index 0000000000000000000000000000000000000000..61506f44ca851258207b2a2d93ee9ac05dc4548d
--- /dev/null
+++ b/pgsql/include/pgtypes_numeric.h
@@ -0,0 +1,69 @@
+#ifndef PGTYPES_NUMERIC
+#define PGTYPES_NUMERIC
+
+#include
+
+#define NUMERIC_POS 0x0000
+#define NUMERIC_NEG 0x4000
+#define NUMERIC_NAN 0xC000
+#define NUMERIC_NULL 0xF000
+#define NUMERIC_MAX_PRECISION 1000
+#define NUMERIC_MAX_DISPLAY_SCALE NUMERIC_MAX_PRECISION
+#define NUMERIC_MIN_DISPLAY_SCALE 0
+#define NUMERIC_MIN_SIG_DIGITS 16
+
+#define DECSIZE 30
+
+typedef unsigned char NumericDigit;
+typedef struct
+{
+ int ndigits; /* number of digits in digits[] - can be 0! */
+ int weight; /* weight of first digit */
+ int rscale; /* result scale */
+ int dscale; /* display scale */
+ int sign; /* NUMERIC_POS, NUMERIC_NEG, or NUMERIC_NAN */
+ NumericDigit *buf; /* start of alloc'd space for digits[] */
+ NumericDigit *digits; /* decimal digits */
+} numeric;
+
+typedef struct
+{
+ int ndigits; /* number of digits in digits[] - can be 0! */
+ int weight; /* weight of first digit */
+ int rscale; /* result scale */
+ int dscale; /* display scale */
+ int sign; /* NUMERIC_POS, NUMERIC_NEG, or NUMERIC_NAN */
+ NumericDigit digits[DECSIZE]; /* decimal digits */
+} decimal;
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+numeric *PGTYPESnumeric_new(void);
+decimal *PGTYPESdecimal_new(void);
+void PGTYPESnumeric_free(numeric *var);
+void PGTYPESdecimal_free(decimal *var);
+numeric *PGTYPESnumeric_from_asc(char *str, char **endptr);
+char *PGTYPESnumeric_to_asc(numeric *num, int dscale);
+int PGTYPESnumeric_add(numeric *var1, numeric *var2, numeric *result);
+int PGTYPESnumeric_sub(numeric *var1, numeric *var2, numeric *result);
+int PGTYPESnumeric_mul(numeric *var1, numeric *var2, numeric *result);
+int PGTYPESnumeric_div(numeric *var1, numeric *var2, numeric *result);
+int PGTYPESnumeric_cmp(numeric *var1, numeric *var2);
+int PGTYPESnumeric_from_int(signed int int_val, numeric *var);
+int PGTYPESnumeric_from_long(signed long int long_val, numeric *var);
+int PGTYPESnumeric_copy(numeric *src, numeric *dst);
+int PGTYPESnumeric_from_double(double d, numeric *dst);
+int PGTYPESnumeric_to_double(numeric *nv, double *dp);
+int PGTYPESnumeric_to_int(numeric *nv, int *ip);
+int PGTYPESnumeric_to_long(numeric *nv, long *lp);
+int PGTYPESnumeric_to_decimal(numeric *src, decimal *dst);
+int PGTYPESnumeric_from_decimal(decimal *src, numeric *dst);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* PGTYPES_NUMERIC */
diff --git a/pgsql/include/pgtypes_timestamp.h b/pgsql/include/pgtypes_timestamp.h
new file mode 100644
index 0000000000000000000000000000000000000000..412ecc2d41145ee1e769b96a24eebdd1d280b1fd
--- /dev/null
+++ b/pgsql/include/pgtypes_timestamp.h
@@ -0,0 +1,31 @@
+/* src/interfaces/ecpg/include/pgtypes_timestamp.h */
+
+#ifndef PGTYPES_TIMESTAMP
+#define PGTYPES_TIMESTAMP
+
+#include
+/* pgtypes_interval.h includes ecpg_config.h */
+#include
+
+typedef int64 timestamp;
+typedef int64 TimestampTz;
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+extern timestamp PGTYPEStimestamp_from_asc(char *str, char **endptr);
+extern char *PGTYPEStimestamp_to_asc(timestamp tstamp);
+extern int PGTYPEStimestamp_sub(timestamp * ts1, timestamp * ts2, interval * iv);
+extern int PGTYPEStimestamp_fmt_asc(timestamp * ts, char *output, int str_len, const char *fmtstr);
+extern void PGTYPEStimestamp_current(timestamp * ts);
+extern int PGTYPEStimestamp_defmt_asc(const char *str, const char *fmt, timestamp * d);
+extern int PGTYPEStimestamp_add_interval(timestamp * tin, interval * span, timestamp * tout);
+extern int PGTYPEStimestamp_sub_interval(timestamp * tin, interval * span, timestamp * tout);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* PGTYPES_TIMESTAMP */
diff --git a/pgsql/include/postgres_ext.h b/pgsql/include/postgres_ext.h
new file mode 100644
index 0000000000000000000000000000000000000000..240ad4e93bf1e63dba6e4445df4df67f29126509
--- /dev/null
+++ b/pgsql/include/postgres_ext.h
@@ -0,0 +1,73 @@
+/*-------------------------------------------------------------------------
+ *
+ * postgres_ext.h
+ *
+ * This file contains declarations of things that are visible everywhere
+ * in PostgreSQL *and* are visible to clients of frontend interface libraries.
+ * For example, the Oid type is part of the API of libpq and other libraries.
+ *
+ * Declarations which are specific to a particular interface should
+ * go in the header file for that interface (such as libpq-fe.h). This
+ * file is only for fundamental Postgres declarations.
+ *
+ * User-written C functions don't count as "external to Postgres."
+ * Those function much as local modifications to the backend itself, and
+ * use header files that are otherwise internal to Postgres to interface
+ * with the backend.
+ *
+ * src/include/postgres_ext.h
+ *
+ *-------------------------------------------------------------------------
+ */
+
+#ifndef POSTGRES_EXT_H
+#define POSTGRES_EXT_H
+
+#include "pg_config_ext.h"
+
+/*
+ * Object ID is a fundamental type in Postgres.
+ */
+typedef unsigned int Oid;
+
+#ifdef __cplusplus
+#define InvalidOid (Oid(0))
+#else
+#define InvalidOid ((Oid) 0)
+#endif
+
+#define OID_MAX UINT_MAX
+/* you will need to include to use the above #define */
+
+#define atooid(x) ((Oid) strtoul((x), NULL, 10))
+/* the above needs */
+
+
+/* Define a signed 64-bit integer type for use in client API declarations. */
+typedef PG_INT64_TYPE pg_int64;
+
+/*
+ * Identifiers of error message fields. Kept here to keep common
+ * between frontend and backend, and also to export them to libpq
+ * applications.
+ */
+#define PG_DIAG_SEVERITY 'S'
+#define PG_DIAG_SEVERITY_NONLOCALIZED 'V'
+#define PG_DIAG_SQLSTATE 'C'
+#define PG_DIAG_MESSAGE_PRIMARY 'M'
+#define PG_DIAG_MESSAGE_DETAIL 'D'
+#define PG_DIAG_MESSAGE_HINT 'H'
+#define PG_DIAG_STATEMENT_POSITION 'P'
+#define PG_DIAG_INTERNAL_POSITION 'p'
+#define PG_DIAG_INTERNAL_QUERY 'q'
+#define PG_DIAG_CONTEXT 'W'
+#define PG_DIAG_SCHEMA_NAME 's'
+#define PG_DIAG_TABLE_NAME 't'
+#define PG_DIAG_COLUMN_NAME 'c'
+#define PG_DIAG_DATATYPE_NAME 'd'
+#define PG_DIAG_CONSTRAINT_NAME 'n'
+#define PG_DIAG_SOURCE_FILE 'F'
+#define PG_DIAG_SOURCE_LINE 'L'
+#define PG_DIAG_SOURCE_FUNCTION 'R'
+
+#endif /* POSTGRES_EXT_H */
diff --git a/pgsql/include/sql3types.h b/pgsql/include/sql3types.h
new file mode 100644
index 0000000000000000000000000000000000000000..644b616cf877cc0b086de12f9cb21172920589f3
--- /dev/null
+++ b/pgsql/include/sql3types.h
@@ -0,0 +1,43 @@
+#ifndef _ECPG_SQL3TYPES_H
+#define _ECPG_SQL3TYPES_H
+
+/* SQL3 dynamic type codes */
+
+/* chapter 13.1 table 2: Codes used for SQL data types in Dynamic SQL */
+
+enum
+{
+ SQL3_CHARACTER = 1,
+ SQL3_NUMERIC,
+ SQL3_DECIMAL,
+ SQL3_INTEGER,
+ SQL3_SMALLINT,
+ SQL3_FLOAT,
+ SQL3_REAL,
+ SQL3_DOUBLE_PRECISION,
+ SQL3_DATE_TIME_TIMESTAMP,
+ SQL3_INTERVAL, /* 10 */
+ SQL3_CHARACTER_VARYING = 12,
+ SQL3_ENUMERATED,
+ SQL3_BIT,
+ SQL3_BIT_VARYING,
+ SQL3_BOOLEAN,
+ SQL3_abstract
+ /* the rest is xLOB stuff */
+};
+
+/* chapter 13.1 table 3: Codes associated with datetime data types in Dynamic SQL */
+
+enum
+{
+ SQL3_DDT_DATE = 1,
+ SQL3_DDT_TIME,
+ SQL3_DDT_TIMESTAMP,
+ SQL3_DDT_TIME_WITH_TIME_ZONE,
+ SQL3_DDT_TIMESTAMP_WITH_TIME_ZONE,
+
+ SQL3_DDT_ILLEGAL /* not a datetime data type (not part of
+ * standard) */
+};
+
+#endif /* !_ECPG_SQL3TYPES_H */
diff --git a/pgsql/include/sqlca.h b/pgsql/include/sqlca.h
new file mode 100644
index 0000000000000000000000000000000000000000..c5f107dd33c3b5c81d6e53e66b825e4d8bc9c241
--- /dev/null
+++ b/pgsql/include/sqlca.h
@@ -0,0 +1,66 @@
+#ifndef POSTGRES_SQLCA_H
+#define POSTGRES_SQLCA_H
+
+#ifndef PGDLLIMPORT
+#if defined(WIN32) || defined(__CYGWIN__)
+#define PGDLLIMPORT __declspec (dllimport)
+#else
+#define PGDLLIMPORT
+#endif /* __CYGWIN__ */
+#endif /* PGDLLIMPORT */
+
+#define SQLERRMC_LEN 150
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+struct sqlca_t
+{
+ char sqlcaid[8];
+ long sqlabc;
+ long sqlcode;
+ struct
+ {
+ int sqlerrml;
+ char sqlerrmc[SQLERRMC_LEN];
+ } sqlerrm;
+ char sqlerrp[8];
+ long sqlerrd[6];
+ /* Element 0: empty */
+ /* 1: OID of processed tuple if applicable */
+ /* 2: number of rows processed */
+ /* after an INSERT, UPDATE or */
+ /* DELETE statement */
+ /* 3: empty */
+ /* 4: empty */
+ /* 5: empty */
+ char sqlwarn[8];
+ /* Element 0: set to 'W' if at least one other is 'W' */
+ /* 1: if 'W' at least one character string */
+ /* value was truncated when it was */
+ /* stored into a host variable. */
+
+ /*
+ * 2: if 'W' a (hopefully) non-fatal notice occurred
+ */ /* 3: empty */
+ /* 4: empty */
+ /* 5: empty */
+ /* 6: empty */
+ /* 7: empty */
+
+ char sqlstate[5];
+};
+
+struct sqlca_t *ECPGget_sqlca(void);
+
+#ifndef POSTGRES_ECPG_INTERNAL
+#define sqlca (*ECPGget_sqlca())
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
diff --git a/pgsql/include/sqlda-compat.h b/pgsql/include/sqlda-compat.h
new file mode 100644
index 0000000000000000000000000000000000000000..7b0ac45c42f19ee3f41daa64f5a62b68dd448a1e
--- /dev/null
+++ b/pgsql/include/sqlda-compat.h
@@ -0,0 +1,47 @@
+/*
+ * src/interfaces/ecpg/include/sqlda-compat.h
+ */
+
+#ifndef ECPG_SQLDA_COMPAT_H
+#define ECPG_SQLDA_COMPAT_H
+
+struct sqlvar_compat
+{
+ short sqltype; /* variable type */
+ int sqllen; /* length in bytes */
+ char *sqldata; /* pointer to data */
+ short *sqlind; /* pointer to indicator */
+ char *sqlname; /* variable name */
+ char *sqlformat; /* reserved for future use */
+ short sqlitype; /* ind variable type */
+ short sqlilen; /* ind length in bytes */
+ char *sqlidata; /* ind data pointer */
+ int sqlxid; /* extended id type */
+ char *sqltypename; /* extended type name */
+ short sqltypelen; /* length of extended type name */
+ short sqlownerlen; /* length of owner name */
+ short sqlsourcetype; /* source type for distinct of built-ins */
+ char *sqlownername; /* owner name */
+ int sqlsourceid; /* extended id of source type */
+
+ /*
+ * sqlilongdata is new. It supports data that exceeds the 32k limit.
+ * sqlilen and sqlidata are for backward compatibility and they have
+ * maximum value of <32K.
+ */
+ char *sqlilongdata; /* for data field beyond 32K */
+ int sqlflags; /* for internal use only */
+ void *sqlreserved; /* reserved for future use */
+};
+
+struct sqlda_compat
+{
+ short sqld;
+ struct sqlvar_compat *sqlvar;
+ char desc_name[19]; /* descriptor name */
+ short desc_occ; /* size of sqlda structure */
+ struct sqlda_compat *desc_next; /* pointer to next sqlda struct */
+ void *reserved; /* reserved for future use */
+};
+
+#endif /* ECPG_SQLDA_COMPAT_H */
diff --git a/pgsql/include/sqlda-native.h b/pgsql/include/sqlda-native.h
new file mode 100644
index 0000000000000000000000000000000000000000..9e73f1f1b1182116ae516405628115c090993c32
--- /dev/null
+++ b/pgsql/include/sqlda-native.h
@@ -0,0 +1,43 @@
+/*
+ * src/interfaces/ecpg/include/sqlda-native.h
+ */
+
+#ifndef ECPG_SQLDA_NATIVE_H
+#define ECPG_SQLDA_NATIVE_H
+
+/*
+ * Maximum length for identifiers (e.g. table names, column names,
+ * function names). Names actually are limited to one fewer byte than this,
+ * because the length must include a trailing zero byte.
+ *
+ * This should be at least as much as NAMEDATALEN of the database the
+ * applications run against.
+ */
+#define NAMEDATALEN 64
+
+struct sqlname
+{
+ short length;
+ char data[NAMEDATALEN];
+};
+
+struct sqlvar_struct
+{
+ short sqltype;
+ short sqllen;
+ char *sqldata;
+ short *sqlind;
+ struct sqlname sqlname;
+};
+
+struct sqlda_struct
+{
+ char sqldaid[8];
+ long sqldabc;
+ short sqln;
+ short sqld;
+ struct sqlda_struct *desc_next;
+ struct sqlvar_struct sqlvar[1];
+};
+
+#endif /* ECPG_SQLDA_NATIVE_H */
diff --git a/pgsql/include/sqlda.h b/pgsql/include/sqlda.h
new file mode 100644
index 0000000000000000000000000000000000000000..d810e739e207ac99c87c6867c4b2410a5c78b006
--- /dev/null
+++ b/pgsql/include/sqlda.h
@@ -0,0 +1,18 @@
+#ifndef ECPG_SQLDA_H
+#define ECPG_SQLDA_H
+
+#ifdef _ECPG_INFORMIX_H
+
+#include "sqlda-compat.h"
+typedef struct sqlvar_compat sqlvar_t;
+typedef struct sqlda_compat sqlda_t;
+
+#else
+
+#include "sqlda-native.h"
+typedef struct sqlvar_struct sqlvar_t;
+typedef struct sqlda_struct sqlda_t;
+
+#endif
+
+#endif /* ECPG_SQLDA_H */
diff --git a/pgsql/include/uuid.h b/pgsql/include/uuid.h
new file mode 100644
index 0000000000000000000000000000000000000000..b52f3550ebecce29061d18a770f8a6de1339b411
--- /dev/null
+++ b/pgsql/include/uuid.h
@@ -0,0 +1,120 @@
+/*
+** OSSP uuid - Universally Unique Identifier
+** Copyright (c) 2004-2008 Ralf S. Engelschall
+** Copyright (c) 2004-2008 The OSSP Project
+**
+** This file is part of OSSP uuid, a library for the generation
+** of UUIDs which can found at http://www.ossp.org/pkg/lib/uuid/
+**
+** Permission to use, copy, modify, and distribute this software for
+** any purpose with or without fee is hereby granted, provided that
+** the above copyright notice and this permission notice appear in all
+** copies.
+**
+** THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+** WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+** MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+** IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+** CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+** USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+** ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+** OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+** OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+** SUCH DAMAGE.
+**
+** uuid.h: library API definition
+*/
+
+#ifndef __UUID_H__
+#define __UUID_H__
+
+/* workaround conflicts with system headers */
+#define uuid_t __vendor_uuid_t
+#define uuid_create __vendor_uuid_create
+#define uuid_compare __vendor_uuid_compare
+#include
+#include
+#undef uuid_t
+#undef uuid_create
+#undef uuid_compare
+
+/* required system headers */
+#include
+
+/* minimum C++ support */
+#ifdef __cplusplus
+#define DECLARATION_BEGIN extern "C" {
+#define DECLARATION_END }
+#else
+#define DECLARATION_BEGIN
+#define DECLARATION_END
+#endif
+
+DECLARATION_BEGIN
+
+/* OSSP uuid version (compile-time information) */
+#define UUID_VERSION 0x106202
+
+/* encoding octet stream lengths */
+#define UUID_LEN_BIN (128 /*bit*/ / 8 /*bytes*/)
+#define UUID_LEN_STR (128 /*bit*/ / 4 /*nibbles*/ + 4 /*hyphens*/)
+#define UUID_LEN_SIV (39 /*int(log(10,exp(2,128)-1)+1) digits*/)
+
+/* API return codes */
+typedef enum {
+ UUID_RC_OK = 0, /* everything ok */
+ UUID_RC_ARG = 1, /* invalid argument */
+ UUID_RC_MEM = 2, /* out of memory */
+ UUID_RC_SYS = 3, /* system error */
+ UUID_RC_INT = 4, /* internal error */
+ UUID_RC_IMP = 5 /* not implemented */
+} uuid_rc_t;
+
+/* UUID make modes */
+enum {
+ UUID_MAKE_V1 = (1 << 0), /* DCE 1.1 v1 UUID */
+ UUID_MAKE_V3 = (1 << 1), /* DCE 1.1 v3 UUID */
+ UUID_MAKE_V4 = (1 << 2), /* DCE 1.1 v4 UUID */
+ UUID_MAKE_V5 = (1 << 3), /* DCE 1.1 v5 UUID */
+ UUID_MAKE_MC = (1 << 4) /* enforce multi-cast MAC address */
+};
+
+/* UUID import/export formats */
+typedef enum {
+ UUID_FMT_BIN = 0, /* binary representation (import/export) */
+ UUID_FMT_STR = 1, /* string representation (import/export) */
+ UUID_FMT_SIV = 2, /* single integer value (import/export) */
+ UUID_FMT_TXT = 3 /* textual description (export only) */
+} uuid_fmt_t;
+
+/* UUID abstract data type */
+struct uuid_st;
+typedef struct uuid_st uuid_t;
+
+/* UUID object handling */
+extern uuid_rc_t uuid_create ( uuid_t **_uuid);
+extern uuid_rc_t uuid_destroy ( uuid_t *_uuid);
+extern uuid_rc_t uuid_clone (const uuid_t *_uuid, uuid_t **_clone);
+
+/* UUID generation */
+extern uuid_rc_t uuid_load ( uuid_t *_uuid, const char *_name);
+extern uuid_rc_t uuid_make ( uuid_t *_uuid, unsigned int _mode, ...);
+
+/* UUID comparison */
+extern uuid_rc_t uuid_isnil (const uuid_t *_uuid, int *_result);
+extern uuid_rc_t uuid_compare (const uuid_t *_uuid, const uuid_t *_uuid2, int *_result);
+
+/* UUID import/export */
+extern uuid_rc_t uuid_import ( uuid_t *_uuid, uuid_fmt_t _fmt, const void *_data_ptr, size_t _data_len);
+extern uuid_rc_t uuid_export (const uuid_t *_uuid, uuid_fmt_t _fmt, void *_data_ptr, size_t *_data_len);
+
+/* library utilities */
+extern char *uuid_error (uuid_rc_t _rc);
+extern unsigned long uuid_version (void);
+
+DECLARATION_END
+
+#endif /* __UUID_H__ */
+
diff --git a/pgsql/include/zconf.h b/pgsql/include/zconf.h
new file mode 100644
index 0000000000000000000000000000000000000000..62adc8d8431f2f9149ae0b1583915e21a28dd8b5
--- /dev/null
+++ b/pgsql/include/zconf.h
@@ -0,0 +1,543 @@
+/* zconf.h -- configuration of the zlib compression library
+ * Copyright (C) 1995-2024 Jean-loup Gailly, Mark Adler
+ * For conditions of distribution and use, see copyright notice in zlib.h
+ */
+
+/* @(#) $Id$ */
+
+#ifndef ZCONF_H
+#define ZCONF_H
+
+/*
+ * If you *really* need a unique prefix for all types and library functions,
+ * compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.
+ * Even better than compiling with -DZ_PREFIX would be to use configure to set
+ * this permanently in zconf.h using "./configure --zprefix".
+ */
+#ifdef Z_PREFIX /* may be set to #if 1 by ./configure */
+# define Z_PREFIX_SET
+
+/* all linked symbols and init macros */
+# define _dist_code z__dist_code
+# define _length_code z__length_code
+# define _tr_align z__tr_align
+# define _tr_flush_bits z__tr_flush_bits
+# define _tr_flush_block z__tr_flush_block
+# define _tr_init z__tr_init
+# define _tr_stored_block z__tr_stored_block
+# define _tr_tally z__tr_tally
+# define adler32 z_adler32
+# define adler32_combine z_adler32_combine
+# define adler32_combine64 z_adler32_combine64
+# define adler32_z z_adler32_z
+# ifndef Z_SOLO
+# define compress z_compress
+# define compress2 z_compress2
+# define compressBound z_compressBound
+# endif
+# define crc32 z_crc32
+# define crc32_combine z_crc32_combine
+# define crc32_combine64 z_crc32_combine64
+# define crc32_combine_gen z_crc32_combine_gen
+# define crc32_combine_gen64 z_crc32_combine_gen64
+# define crc32_combine_op z_crc32_combine_op
+# define crc32_z z_crc32_z
+# define deflate z_deflate
+# define deflateBound z_deflateBound
+# define deflateCopy z_deflateCopy
+# define deflateEnd z_deflateEnd
+# define deflateGetDictionary z_deflateGetDictionary
+# define deflateInit z_deflateInit
+# define deflateInit2 z_deflateInit2
+# define deflateInit2_ z_deflateInit2_
+# define deflateInit_ z_deflateInit_
+# define deflateParams z_deflateParams
+# define deflatePending z_deflatePending
+# define deflatePrime z_deflatePrime
+# define deflateReset z_deflateReset
+# define deflateResetKeep z_deflateResetKeep
+# define deflateSetDictionary z_deflateSetDictionary
+# define deflateSetHeader z_deflateSetHeader
+# define deflateTune z_deflateTune
+# define deflate_copyright z_deflate_copyright
+# define get_crc_table z_get_crc_table
+# ifndef Z_SOLO
+# define gz_error z_gz_error
+# define gz_intmax z_gz_intmax
+# define gz_strwinerror z_gz_strwinerror
+# define gzbuffer z_gzbuffer
+# define gzclearerr z_gzclearerr
+# define gzclose z_gzclose
+# define gzclose_r z_gzclose_r
+# define gzclose_w z_gzclose_w
+# define gzdirect z_gzdirect
+# define gzdopen z_gzdopen
+# define gzeof z_gzeof
+# define gzerror z_gzerror
+# define gzflush z_gzflush
+# define gzfread z_gzfread
+# define gzfwrite z_gzfwrite
+# define gzgetc z_gzgetc
+# define gzgetc_ z_gzgetc_
+# define gzgets z_gzgets
+# define gzoffset z_gzoffset
+# define gzoffset64 z_gzoffset64
+# define gzopen z_gzopen
+# define gzopen64 z_gzopen64
+# ifdef _WIN32
+# define gzopen_w z_gzopen_w
+# endif
+# define gzprintf z_gzprintf
+# define gzputc z_gzputc
+# define gzputs z_gzputs
+# define gzread z_gzread
+# define gzrewind z_gzrewind
+# define gzseek z_gzseek
+# define gzseek64 z_gzseek64
+# define gzsetparams z_gzsetparams
+# define gztell z_gztell
+# define gztell64 z_gztell64
+# define gzungetc z_gzungetc
+# define gzvprintf z_gzvprintf
+# define gzwrite z_gzwrite
+# endif
+# define inflate z_inflate
+# define inflateBack z_inflateBack
+# define inflateBackEnd z_inflateBackEnd
+# define inflateBackInit z_inflateBackInit
+# define inflateBackInit_ z_inflateBackInit_
+# define inflateCodesUsed z_inflateCodesUsed
+# define inflateCopy z_inflateCopy
+# define inflateEnd z_inflateEnd
+# define inflateGetDictionary z_inflateGetDictionary
+# define inflateGetHeader z_inflateGetHeader
+# define inflateInit z_inflateInit
+# define inflateInit2 z_inflateInit2
+# define inflateInit2_ z_inflateInit2_
+# define inflateInit_ z_inflateInit_
+# define inflateMark z_inflateMark
+# define inflatePrime z_inflatePrime
+# define inflateReset z_inflateReset
+# define inflateReset2 z_inflateReset2
+# define inflateResetKeep z_inflateResetKeep
+# define inflateSetDictionary z_inflateSetDictionary
+# define inflateSync z_inflateSync
+# define inflateSyncPoint z_inflateSyncPoint
+# define inflateUndermine z_inflateUndermine
+# define inflateValidate z_inflateValidate
+# define inflate_copyright z_inflate_copyright
+# define inflate_fast z_inflate_fast
+# define inflate_table z_inflate_table
+# ifndef Z_SOLO
+# define uncompress z_uncompress
+# define uncompress2 z_uncompress2
+# endif
+# define zError z_zError
+# ifndef Z_SOLO
+# define zcalloc z_zcalloc
+# define zcfree z_zcfree
+# endif
+# define zlibCompileFlags z_zlibCompileFlags
+# define zlibVersion z_zlibVersion
+
+/* all zlib typedefs in zlib.h and zconf.h */
+# define Byte z_Byte
+# define Bytef z_Bytef
+# define alloc_func z_alloc_func
+# define charf z_charf
+# define free_func z_free_func
+# ifndef Z_SOLO
+# define gzFile z_gzFile
+# endif
+# define gz_header z_gz_header
+# define gz_headerp z_gz_headerp
+# define in_func z_in_func
+# define intf z_intf
+# define out_func z_out_func
+# define uInt z_uInt
+# define uIntf z_uIntf
+# define uLong z_uLong
+# define uLongf z_uLongf
+# define voidp z_voidp
+# define voidpc z_voidpc
+# define voidpf z_voidpf
+
+/* all zlib structs in zlib.h and zconf.h */
+# define gz_header_s z_gz_header_s
+# define internal_state z_internal_state
+
+#endif
+
+#if defined(__MSDOS__) && !defined(MSDOS)
+# define MSDOS
+#endif
+#if (defined(OS_2) || defined(__OS2__)) && !defined(OS2)
+# define OS2
+#endif
+#if defined(_WINDOWS) && !defined(WINDOWS)
+# define WINDOWS
+#endif
+#if defined(_WIN32) || defined(_WIN32_WCE) || defined(__WIN32__)
+# ifndef WIN32
+# define WIN32
+# endif
+#endif
+#if (defined(MSDOS) || defined(OS2) || defined(WINDOWS)) && !defined(WIN32)
+# if !defined(__GNUC__) && !defined(__FLAT__) && !defined(__386__)
+# ifndef SYS16BIT
+# define SYS16BIT
+# endif
+# endif
+#endif
+
+/*
+ * Compile with -DMAXSEG_64K if the alloc function cannot allocate more
+ * than 64k bytes at a time (needed on systems with 16-bit int).
+ */
+#ifdef SYS16BIT
+# define MAXSEG_64K
+#endif
+#ifdef MSDOS
+# define UNALIGNED_OK
+#endif
+
+#ifdef __STDC_VERSION__
+# ifndef STDC
+# define STDC
+# endif
+# if __STDC_VERSION__ >= 199901L
+# ifndef STDC99
+# define STDC99
+# endif
+# endif
+#endif
+#if !defined(STDC) && (defined(__STDC__) || defined(__cplusplus))
+# define STDC
+#endif
+#if !defined(STDC) && (defined(__GNUC__) || defined(__BORLANDC__))
+# define STDC
+#endif
+#if !defined(STDC) && (defined(MSDOS) || defined(WINDOWS) || defined(WIN32))
+# define STDC
+#endif
+#if !defined(STDC) && (defined(OS2) || defined(__HOS_AIX__))
+# define STDC
+#endif
+
+#if defined(__OS400__) && !defined(STDC) /* iSeries (formerly AS/400). */
+# define STDC
+#endif
+
+#ifndef STDC
+# ifndef const /* cannot use !defined(STDC) && !defined(const) on Mac */
+# define const /* note: need a more gentle solution here */
+# endif
+#endif
+
+#if defined(ZLIB_CONST) && !defined(z_const)
+# define z_const const
+#else
+# define z_const
+#endif
+
+#ifdef Z_SOLO
+# ifdef _WIN64
+ typedef unsigned long long z_size_t;
+# else
+ typedef unsigned long z_size_t;
+# endif
+#else
+# define z_longlong long long
+# if defined(NO_SIZE_T)
+ typedef unsigned NO_SIZE_T z_size_t;
+# elif defined(STDC)
+# include
+ typedef size_t z_size_t;
+# else
+ typedef unsigned long z_size_t;
+# endif
+# undef z_longlong
+#endif
+
+/* Maximum value for memLevel in deflateInit2 */
+#ifndef MAX_MEM_LEVEL
+# ifdef MAXSEG_64K
+# define MAX_MEM_LEVEL 8
+# else
+# define MAX_MEM_LEVEL 9
+# endif
+#endif
+
+/* Maximum value for windowBits in deflateInit2 and inflateInit2.
+ * WARNING: reducing MAX_WBITS makes minigzip unable to extract .gz files
+ * created by gzip. (Files created by minigzip can still be extracted by
+ * gzip.)
+ */
+#ifndef MAX_WBITS
+# define MAX_WBITS 15 /* 32K LZ77 window */
+#endif
+
+/* The memory requirements for deflate are (in bytes):
+ (1 << (windowBits+2)) + (1 << (memLevel+9))
+ that is: 128K for windowBits=15 + 128K for memLevel = 8 (default values)
+ plus a few kilobytes for small objects. For example, if you want to reduce
+ the default memory requirements from 256K to 128K, compile with
+ make CFLAGS="-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7"
+ Of course this will generally degrade compression (there's no free lunch).
+
+ The memory requirements for inflate are (in bytes) 1 << windowBits
+ that is, 32K for windowBits=15 (default value) plus about 7 kilobytes
+ for small objects.
+*/
+
+ /* Type declarations */
+
+#ifndef OF /* function prototypes */
+# ifdef STDC
+# define OF(args) args
+# else
+# define OF(args) ()
+# endif
+#endif
+
+/* The following definitions for FAR are needed only for MSDOS mixed
+ * model programming (small or medium model with some far allocations).
+ * This was tested only with MSC; for other MSDOS compilers you may have
+ * to define NO_MEMCPY in zutil.h. If you don't need the mixed model,
+ * just define FAR to be empty.
+ */
+#ifdef SYS16BIT
+# if defined(M_I86SM) || defined(M_I86MM)
+ /* MSC small or medium model */
+# define SMALL_MEDIUM
+# ifdef _MSC_VER
+# define FAR _far
+# else
+# define FAR far
+# endif
+# endif
+# if (defined(__SMALL__) || defined(__MEDIUM__))
+ /* Turbo C small or medium model */
+# define SMALL_MEDIUM
+# ifdef __BORLANDC__
+# define FAR _far
+# else
+# define FAR far
+# endif
+# endif
+#endif
+
+#if defined(WINDOWS) || defined(WIN32)
+ /* If building or using zlib as a DLL, define ZLIB_DLL.
+ * This is not mandatory, but it offers a little performance increase.
+ */
+# ifdef ZLIB_DLL
+# if defined(WIN32) && (!defined(__BORLANDC__) || (__BORLANDC__ >= 0x500))
+# ifdef ZLIB_INTERNAL
+# define ZEXTERN extern __declspec(dllexport)
+# else
+# define ZEXTERN extern __declspec(dllimport)
+# endif
+# endif
+# endif /* ZLIB_DLL */
+ /* If building or using zlib with the WINAPI/WINAPIV calling convention,
+ * define ZLIB_WINAPI.
+ * Caution: the standard ZLIB1.DLL is NOT compiled using ZLIB_WINAPI.
+ */
+# ifdef ZLIB_WINAPI
+# ifdef FAR
+# undef FAR
+# endif
+# ifndef WIN32_LEAN_AND_MEAN
+# define WIN32_LEAN_AND_MEAN
+# endif
+# include
+ /* No need for _export, use ZLIB.DEF instead. */
+ /* For complete Windows compatibility, use WINAPI, not __stdcall. */
+# define ZEXPORT WINAPI
+# ifdef WIN32
+# define ZEXPORTVA WINAPIV
+# else
+# define ZEXPORTVA FAR CDECL
+# endif
+# endif
+#endif
+
+#if defined (__BEOS__)
+# ifdef ZLIB_DLL
+# ifdef ZLIB_INTERNAL
+# define ZEXPORT __declspec(dllexport)
+# define ZEXPORTVA __declspec(dllexport)
+# else
+# define ZEXPORT __declspec(dllimport)
+# define ZEXPORTVA __declspec(dllimport)
+# endif
+# endif
+#endif
+
+#ifndef ZEXTERN
+# define ZEXTERN extern
+#endif
+#ifndef ZEXPORT
+# define ZEXPORT
+#endif
+#ifndef ZEXPORTVA
+# define ZEXPORTVA
+#endif
+
+#ifndef FAR
+# define FAR
+#endif
+
+#if !defined(__MACTYPES__)
+typedef unsigned char Byte; /* 8 bits */
+#endif
+typedef unsigned int uInt; /* 16 bits or more */
+typedef unsigned long uLong; /* 32 bits or more */
+
+#ifdef SMALL_MEDIUM
+ /* Borland C/C++ and some old MSC versions ignore FAR inside typedef */
+# define Bytef Byte FAR
+#else
+ typedef Byte FAR Bytef;
+#endif
+typedef char FAR charf;
+typedef int FAR intf;
+typedef uInt FAR uIntf;
+typedef uLong FAR uLongf;
+
+#ifdef STDC
+ typedef void const *voidpc;
+ typedef void FAR *voidpf;
+ typedef void *voidp;
+#else
+ typedef Byte const *voidpc;
+ typedef Byte FAR *voidpf;
+ typedef Byte *voidp;
+#endif
+
+#if !defined(Z_U4) && !defined(Z_SOLO) && defined(STDC)
+# include
+# if (UINT_MAX == 0xffffffffUL)
+# define Z_U4 unsigned
+# elif (ULONG_MAX == 0xffffffffUL)
+# define Z_U4 unsigned long
+# elif (USHRT_MAX == 0xffffffffUL)
+# define Z_U4 unsigned short
+# endif
+#endif
+
+#ifdef Z_U4
+ typedef Z_U4 z_crc_t;
+#else
+ typedef unsigned long z_crc_t;
+#endif
+
+#ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */
+# define Z_HAVE_UNISTD_H
+#endif
+
+#ifdef HAVE_STDARG_H /* may be set to #if 1 by ./configure */
+# define Z_HAVE_STDARG_H
+#endif
+
+#ifdef STDC
+# ifndef Z_SOLO
+# include /* for off_t */
+# endif
+#endif
+
+#if defined(STDC) || defined(Z_HAVE_STDARG_H)
+# ifndef Z_SOLO
+# include /* for va_list */
+# endif
+#endif
+
+#ifdef _WIN32
+# ifndef Z_SOLO
+# include /* for wchar_t */
+# endif
+#endif
+
+/* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and
+ * "#define _LARGEFILE64_SOURCE 1" as requesting 64-bit operations, (even
+ * though the former does not conform to the LFS document), but considering
+ * both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as
+ * equivalently requesting no 64-bit operations
+ */
+#if defined(_LARGEFILE64_SOURCE) && -_LARGEFILE64_SOURCE - -1 == 1
+# undef _LARGEFILE64_SOURCE
+#endif
+
+#ifndef Z_HAVE_UNISTD_H
+# ifdef __WATCOMC__
+# define Z_HAVE_UNISTD_H
+# endif
+#endif
+#ifndef Z_HAVE_UNISTD_H
+# if defined(_LARGEFILE64_SOURCE) && !defined(_WIN32)
+# define Z_HAVE_UNISTD_H
+# endif
+#endif
+#ifndef Z_SOLO
+# if defined(Z_HAVE_UNISTD_H)
+# include /* for SEEK_*, off_t, and _LFS64_LARGEFILE */
+# ifdef VMS
+# include /* for off_t */
+# endif
+# ifndef z_off_t
+# define z_off_t off_t
+# endif
+# endif
+#endif
+
+#if defined(_LFS64_LARGEFILE) && _LFS64_LARGEFILE-0
+# define Z_LFS64
+#endif
+
+#if defined(_LARGEFILE64_SOURCE) && defined(Z_LFS64)
+# define Z_LARGE64
+#endif
+
+#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS-0 == 64 && defined(Z_LFS64)
+# define Z_WANT64
+#endif
+
+#if !defined(SEEK_SET) && !defined(Z_SOLO)
+# define SEEK_SET 0 /* Seek from beginning of file. */
+# define SEEK_CUR 1 /* Seek from current position. */
+# define SEEK_END 2 /* Set file pointer to EOF plus "offset" */
+#endif
+
+#ifndef z_off_t
+# define z_off_t long
+#endif
+
+#if !defined(_WIN32) && defined(Z_LARGE64)
+# define z_off64_t off64_t
+#else
+# if defined(_WIN32) && !defined(__GNUC__)
+# define z_off64_t __int64
+# else
+# define z_off64_t z_off_t
+# endif
+#endif
+
+/* MVS linker does not support external names larger than 8 bytes */
+#if defined(__MVS__)
+ #pragma map(deflateInit_,"DEIN")
+ #pragma map(deflateInit2_,"DEIN2")
+ #pragma map(deflateEnd,"DEEND")
+ #pragma map(deflateBound,"DEBND")
+ #pragma map(inflateInit_,"ININ")
+ #pragma map(inflateInit2_,"ININ2")
+ #pragma map(inflateEnd,"INEND")
+ #pragma map(inflateSync,"INSY")
+ #pragma map(inflateSetDictionary,"INSEDI")
+ #pragma map(compressBound,"CMBND")
+ #pragma map(inflate_table,"INTABL")
+ #pragma map(inflate_fast,"INFA")
+ #pragma map(inflate_copyright,"INCOPY")
+#endif
+
+#endif /* ZCONF_H */
diff --git a/pgsql/include/zlib.h b/pgsql/include/zlib.h
new file mode 100644
index 0000000000000000000000000000000000000000..8d4b932eaf6a0fbb8133b3ab49ba5ef587059fa0
--- /dev/null
+++ b/pgsql/include/zlib.h
@@ -0,0 +1,1938 @@
+/* zlib.h -- interface of the 'zlib' general purpose compression library
+ version 1.3.1, January 22nd, 2024
+
+ Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
+
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any damages
+ arising from the use of this software.
+
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+
+ 1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+ 3. This notice may not be removed or altered from any source distribution.
+
+ Jean-loup Gailly Mark Adler
+ jloup@gzip.org madler@alumni.caltech.edu
+
+
+ The data format used by the zlib library is described by RFCs (Request for
+ Comments) 1950 to 1952 in the files http://tools.ietf.org/html/rfc1950
+ (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format).
+*/
+
+#ifndef ZLIB_H
+#define ZLIB_H
+
+#include "zconf.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define ZLIB_VERSION "1.3.1"
+#define ZLIB_VERNUM 0x1310
+#define ZLIB_VER_MAJOR 1
+#define ZLIB_VER_MINOR 3
+#define ZLIB_VER_REVISION 1
+#define ZLIB_VER_SUBREVISION 0
+
+/*
+ The 'zlib' compression library provides in-memory compression and
+ decompression functions, including integrity checks of the uncompressed data.
+ This version of the library supports only one compression method (deflation)
+ but other algorithms will be added later and will have the same stream
+ interface.
+
+ Compression can be done in a single step if the buffers are large enough,
+ or can be done by repeated calls of the compression function. In the latter
+ case, the application must provide more input and/or consume the output
+ (providing more output space) before each call.
+
+ The compressed data format used by default by the in-memory functions is
+ the zlib format, which is a zlib wrapper documented in RFC 1950, wrapped
+ around a deflate stream, which is itself documented in RFC 1951.
+
+ The library also supports reading and writing files in gzip (.gz) format
+ with an interface similar to that of stdio using the functions that start
+ with "gz". The gzip format is different from the zlib format. gzip is a
+ gzip wrapper, documented in RFC 1952, wrapped around a deflate stream.
+
+ This library can optionally read and write gzip and raw deflate streams in
+ memory as well.
+
+ The zlib format was designed to be compact and fast for use in memory
+ and on communications channels. The gzip format was designed for single-
+ file compression on file systems, has a larger header than zlib to maintain
+ directory information, and uses a different, slower check method than zlib.
+
+ The library does not install any signal handler. The decoder checks
+ the consistency of the compressed data, so the library should never crash
+ even in the case of corrupted input.
+*/
+
+typedef voidpf (*alloc_func)(voidpf opaque, uInt items, uInt size);
+typedef void (*free_func)(voidpf opaque, voidpf address);
+
+struct internal_state;
+
+typedef struct z_stream_s {
+ z_const Bytef *next_in; /* next input byte */
+ uInt avail_in; /* number of bytes available at next_in */
+ uLong total_in; /* total number of input bytes read so far */
+
+ Bytef *next_out; /* next output byte will go here */
+ uInt avail_out; /* remaining free space at next_out */
+ uLong total_out; /* total number of bytes output so far */
+
+ z_const char *msg; /* last error message, NULL if no error */
+ struct internal_state FAR *state; /* not visible by applications */
+
+ alloc_func zalloc; /* used to allocate the internal state */
+ free_func zfree; /* used to free the internal state */
+ voidpf opaque; /* private data object passed to zalloc and zfree */
+
+ int data_type; /* best guess about the data type: binary or text
+ for deflate, or the decoding state for inflate */
+ uLong adler; /* Adler-32 or CRC-32 value of the uncompressed data */
+ uLong reserved; /* reserved for future use */
+} z_stream;
+
+typedef z_stream FAR *z_streamp;
+
+/*
+ gzip header information passed to and from zlib routines. See RFC 1952
+ for more details on the meanings of these fields.
+*/
+typedef struct gz_header_s {
+ int text; /* true if compressed data believed to be text */
+ uLong time; /* modification time */
+ int xflags; /* extra flags (not used when writing a gzip file) */
+ int os; /* operating system */
+ Bytef *extra; /* pointer to extra field or Z_NULL if none */
+ uInt extra_len; /* extra field length (valid if extra != Z_NULL) */
+ uInt extra_max; /* space at extra (only when reading header) */
+ Bytef *name; /* pointer to zero-terminated file name or Z_NULL */
+ uInt name_max; /* space at name (only when reading header) */
+ Bytef *comment; /* pointer to zero-terminated comment or Z_NULL */
+ uInt comm_max; /* space at comment (only when reading header) */
+ int hcrc; /* true if there was or will be a header crc */
+ int done; /* true when done reading gzip header (not used
+ when writing a gzip file) */
+} gz_header;
+
+typedef gz_header FAR *gz_headerp;
+
+/*
+ The application must update next_in and avail_in when avail_in has dropped
+ to zero. It must update next_out and avail_out when avail_out has dropped
+ to zero. The application must initialize zalloc, zfree and opaque before
+ calling the init function. All other fields are set by the compression
+ library and must not be updated by the application.
+
+ The opaque value provided by the application will be passed as the first
+ parameter for calls of zalloc and zfree. This can be useful for custom
+ memory management. The compression library attaches no meaning to the
+ opaque value.
+
+ zalloc must return Z_NULL if there is not enough memory for the object.
+ If zlib is used in a multi-threaded application, zalloc and zfree must be
+ thread safe. In that case, zlib is thread-safe. When zalloc and zfree are
+ Z_NULL on entry to the initialization function, they are set to internal
+ routines that use the standard library functions malloc() and free().
+
+ On 16-bit systems, the functions zalloc and zfree must be able to allocate
+ exactly 65536 bytes, but will not be required to allocate more than this if
+ the symbol MAXSEG_64K is defined (see zconf.h). WARNING: On MSDOS, pointers
+ returned by zalloc for objects of exactly 65536 bytes *must* have their
+ offset normalized to zero. The default allocation function provided by this
+ library ensures this (see zutil.c). To reduce memory requirements and avoid
+ any allocation of 64K objects, at the expense of compression ratio, compile
+ the library with -DMAX_WBITS=14 (see zconf.h).
+
+ The fields total_in and total_out can be used for statistics or progress
+ reports. After compression, total_in holds the total size of the
+ uncompressed data and may be saved for use by the decompressor (particularly
+ if the decompressor wants to decompress everything in a single step).
+*/
+
+ /* constants */
+
+#define Z_NO_FLUSH 0
+#define Z_PARTIAL_FLUSH 1
+#define Z_SYNC_FLUSH 2
+#define Z_FULL_FLUSH 3
+#define Z_FINISH 4
+#define Z_BLOCK 5
+#define Z_TREES 6
+/* Allowed flush values; see deflate() and inflate() below for details */
+
+#define Z_OK 0
+#define Z_STREAM_END 1
+#define Z_NEED_DICT 2
+#define Z_ERRNO (-1)
+#define Z_STREAM_ERROR (-2)
+#define Z_DATA_ERROR (-3)
+#define Z_MEM_ERROR (-4)
+#define Z_BUF_ERROR (-5)
+#define Z_VERSION_ERROR (-6)
+/* Return codes for the compression/decompression functions. Negative values
+ * are errors, positive values are used for special but normal events.
+ */
+
+#define Z_NO_COMPRESSION 0
+#define Z_BEST_SPEED 1
+#define Z_BEST_COMPRESSION 9
+#define Z_DEFAULT_COMPRESSION (-1)
+/* compression levels */
+
+#define Z_FILTERED 1
+#define Z_HUFFMAN_ONLY 2
+#define Z_RLE 3
+#define Z_FIXED 4
+#define Z_DEFAULT_STRATEGY 0
+/* compression strategy; see deflateInit2() below for details */
+
+#define Z_BINARY 0
+#define Z_TEXT 1
+#define Z_ASCII Z_TEXT /* for compatibility with 1.2.2 and earlier */
+#define Z_UNKNOWN 2
+/* Possible values of the data_type field for deflate() */
+
+#define Z_DEFLATED 8
+/* The deflate compression method (the only one supported in this version) */
+
+#define Z_NULL 0 /* for initializing zalloc, zfree, opaque */
+
+#define zlib_version zlibVersion()
+/* for compatibility with versions < 1.0.2 */
+
+
+ /* basic functions */
+
+ZEXTERN const char * ZEXPORT zlibVersion(void);
+/* The application can compare zlibVersion and ZLIB_VERSION for consistency.
+ If the first character differs, the library code actually used is not
+ compatible with the zlib.h header file used by the application. This check
+ is automatically made by deflateInit and inflateInit.
+ */
+
+/*
+ZEXTERN int ZEXPORT deflateInit(z_streamp strm, int level);
+
+ Initializes the internal stream state for compression. The fields
+ zalloc, zfree and opaque must be initialized before by the caller. If
+ zalloc and zfree are set to Z_NULL, deflateInit updates them to use default
+ allocation functions. total_in, total_out, adler, and msg are initialized.
+
+ The compression level must be Z_DEFAULT_COMPRESSION, or between 0 and 9:
+ 1 gives best speed, 9 gives best compression, 0 gives no compression at all
+ (the input data is simply copied a block at a time). Z_DEFAULT_COMPRESSION
+ requests a default compromise between speed and compression (currently
+ equivalent to level 6).
+
+ deflateInit returns Z_OK if success, Z_MEM_ERROR if there was not enough
+ memory, Z_STREAM_ERROR if level is not a valid compression level, or
+ Z_VERSION_ERROR if the zlib library version (zlib_version) is incompatible
+ with the version assumed by the caller (ZLIB_VERSION). msg is set to null
+ if there is no error message. deflateInit does not perform any compression:
+ this will be done by deflate().
+*/
+
+
+ZEXTERN int ZEXPORT deflate(z_streamp strm, int flush);
+/*
+ deflate compresses as much data as possible, and stops when the input
+ buffer becomes empty or the output buffer becomes full. It may introduce
+ some output latency (reading input without producing any output) except when
+ forced to flush.
+
+ The detailed semantics are as follows. deflate performs one or both of the
+ following actions:
+
+ - Compress more input starting at next_in and update next_in and avail_in
+ accordingly. If not all input can be processed (because there is not
+ enough room in the output buffer), next_in and avail_in are updated and
+ processing will resume at this point for the next call of deflate().
+
+ - Generate more output starting at next_out and update next_out and avail_out
+ accordingly. This action is forced if the parameter flush is non zero.
+ Forcing flush frequently degrades the compression ratio, so this parameter
+ should be set only when necessary. Some output may be provided even if
+ flush is zero.
+
+ Before the call of deflate(), the application should ensure that at least
+ one of the actions is possible, by providing more input and/or consuming more
+ output, and updating avail_in or avail_out accordingly; avail_out should
+ never be zero before the call. The application can consume the compressed
+ output when it wants, for example when the output buffer is full (avail_out
+ == 0), or after each call of deflate(). If deflate returns Z_OK and with
+ zero avail_out, it must be called again after making room in the output
+ buffer because there might be more output pending. See deflatePending(),
+ which can be used if desired to determine whether or not there is more output
+ in that case.
+
+ Normally the parameter flush is set to Z_NO_FLUSH, which allows deflate to
+ decide how much data to accumulate before producing output, in order to
+ maximize compression.
+
+ If the parameter flush is set to Z_SYNC_FLUSH, all pending output is
+ flushed to the output buffer and the output is aligned on a byte boundary, so
+ that the decompressor can get all input data available so far. (In
+ particular avail_in is zero after the call if enough output space has been
+ provided before the call.) Flushing may degrade compression for some
+ compression algorithms and so it should be used only when necessary. This
+ completes the current deflate block and follows it with an empty stored block
+ that is three bits plus filler bits to the next byte, followed by four bytes
+ (00 00 ff ff).
+
+ If flush is set to Z_PARTIAL_FLUSH, all pending output is flushed to the
+ output buffer, but the output is not aligned to a byte boundary. All of the
+ input data so far will be available to the decompressor, as for Z_SYNC_FLUSH.
+ This completes the current deflate block and follows it with an empty fixed
+ codes block that is 10 bits long. This assures that enough bytes are output
+ in order for the decompressor to finish the block before the empty fixed
+ codes block.
+
+ If flush is set to Z_BLOCK, a deflate block is completed and emitted, as
+ for Z_SYNC_FLUSH, but the output is not aligned on a byte boundary, and up to
+ seven bits of the current block are held to be written as the next byte after
+ the next deflate block is completed. In this case, the decompressor may not
+ be provided enough bits at this point in order to complete decompression of
+ the data provided so far to the compressor. It may need to wait for the next
+ block to be emitted. This is for advanced applications that need to control
+ the emission of deflate blocks.
+
+ If flush is set to Z_FULL_FLUSH, all output is flushed as with
+ Z_SYNC_FLUSH, and the compression state is reset so that decompression can
+ restart from this point if previous compressed data has been damaged or if
+ random access is desired. Using Z_FULL_FLUSH too often can seriously degrade
+ compression.
+
+ If deflate returns with avail_out == 0, this function must be called again
+ with the same value of the flush parameter and more output space (updated
+ avail_out), until the flush is complete (deflate returns with non-zero
+ avail_out). In the case of a Z_FULL_FLUSH or Z_SYNC_FLUSH, make sure that
+ avail_out is greater than six when the flush marker begins, in order to avoid
+ repeated flush markers upon calling deflate() again when avail_out == 0.
+
+ If the parameter flush is set to Z_FINISH, pending input is processed,
+ pending output is flushed and deflate returns with Z_STREAM_END if there was
+ enough output space. If deflate returns with Z_OK or Z_BUF_ERROR, this
+ function must be called again with Z_FINISH and more output space (updated
+ avail_out) but no more input data, until it returns with Z_STREAM_END or an
+ error. After deflate has returned Z_STREAM_END, the only possible operations
+ on the stream are deflateReset or deflateEnd.
+
+ Z_FINISH can be used in the first deflate call after deflateInit if all the
+ compression is to be done in a single step. In order to complete in one
+ call, avail_out must be at least the value returned by deflateBound (see
+ below). Then deflate is guaranteed to return Z_STREAM_END. If not enough
+ output space is provided, deflate will not return Z_STREAM_END, and it must
+ be called again as described above.
+
+ deflate() sets strm->adler to the Adler-32 checksum of all input read
+ so far (that is, total_in bytes). If a gzip stream is being generated, then
+ strm->adler will be the CRC-32 checksum of the input read so far. (See
+ deflateInit2 below.)
+
+ deflate() may update strm->data_type if it can make a good guess about
+ the input data type (Z_BINARY or Z_TEXT). If in doubt, the data is
+ considered binary. This field is only for information purposes and does not
+ affect the compression algorithm in any manner.
+
+ deflate() returns Z_OK if some progress has been made (more input
+ processed or more output produced), Z_STREAM_END if all input has been
+ consumed and all output has been produced (only when flush is set to
+ Z_FINISH), Z_STREAM_ERROR if the stream state was inconsistent (for example
+ if next_in or next_out was Z_NULL or the state was inadvertently written over
+ by the application), or Z_BUF_ERROR if no progress is possible (for example
+ avail_in or avail_out was zero). Note that Z_BUF_ERROR is not fatal, and
+ deflate() can be called again with more input and more output space to
+ continue compressing.
+*/
+
+
+ZEXTERN int ZEXPORT deflateEnd(z_streamp strm);
+/*
+ All dynamically allocated data structures for this stream are freed.
+ This function discards any unprocessed input and does not flush any pending
+ output.
+
+ deflateEnd returns Z_OK if success, Z_STREAM_ERROR if the
+ stream state was inconsistent, Z_DATA_ERROR if the stream was freed
+ prematurely (some input or output was discarded). In the error case, msg
+ may be set but then points to a static string (which must not be
+ deallocated).
+*/
+
+
+/*
+ZEXTERN int ZEXPORT inflateInit(z_streamp strm);
+
+ Initializes the internal stream state for decompression. The fields
+ next_in, avail_in, zalloc, zfree and opaque must be initialized before by
+ the caller. In the current version of inflate, the provided input is not
+ read or consumed. The allocation of a sliding window will be deferred to
+ the first call of inflate (if the decompression does not complete on the
+ first call). If zalloc and zfree are set to Z_NULL, inflateInit updates
+ them to use default allocation functions. total_in, total_out, adler, and
+ msg are initialized.
+
+ inflateInit returns Z_OK if success, Z_MEM_ERROR if there was not enough
+ memory, Z_VERSION_ERROR if the zlib library version is incompatible with the
+ version assumed by the caller, or Z_STREAM_ERROR if the parameters are
+ invalid, such as a null pointer to the structure. msg is set to null if
+ there is no error message. inflateInit does not perform any decompression.
+ Actual decompression will be done by inflate(). So next_in, and avail_in,
+ next_out, and avail_out are unused and unchanged. The current
+ implementation of inflateInit() does not process any header information --
+ that is deferred until inflate() is called.
+*/
+
+
+ZEXTERN int ZEXPORT inflate(z_streamp strm, int flush);
+/*
+ inflate decompresses as much data as possible, and stops when the input
+ buffer becomes empty or the output buffer becomes full. It may introduce
+ some output latency (reading input without producing any output) except when
+ forced to flush.
+
+ The detailed semantics are as follows. inflate performs one or both of the
+ following actions:
+
+ - Decompress more input starting at next_in and update next_in and avail_in
+ accordingly. If not all input can be processed (because there is not
+ enough room in the output buffer), then next_in and avail_in are updated
+ accordingly, and processing will resume at this point for the next call of
+ inflate().
+
+ - Generate more output starting at next_out and update next_out and avail_out
+ accordingly. inflate() provides as much output as possible, until there is
+ no more input data or no more space in the output buffer (see below about
+ the flush parameter).
+
+ Before the call of inflate(), the application should ensure that at least
+ one of the actions is possible, by providing more input and/or consuming more
+ output, and updating the next_* and avail_* values accordingly. If the
+ caller of inflate() does not provide both available input and available
+ output space, it is possible that there will be no progress made. The
+ application can consume the uncompressed output when it wants, for example
+ when the output buffer is full (avail_out == 0), or after each call of
+ inflate(). If inflate returns Z_OK and with zero avail_out, it must be
+ called again after making room in the output buffer because there might be
+ more output pending.
+
+ The flush parameter of inflate() can be Z_NO_FLUSH, Z_SYNC_FLUSH, Z_FINISH,
+ Z_BLOCK, or Z_TREES. Z_SYNC_FLUSH requests that inflate() flush as much
+ output as possible to the output buffer. Z_BLOCK requests that inflate()
+ stop if and when it gets to the next deflate block boundary. When decoding
+ the zlib or gzip format, this will cause inflate() to return immediately
+ after the header and before the first block. When doing a raw inflate,
+ inflate() will go ahead and process the first block, and will return when it
+ gets to the end of that block, or when it runs out of data.
+
+ The Z_BLOCK option assists in appending to or combining deflate streams.
+ To assist in this, on return inflate() always sets strm->data_type to the
+ number of unused bits in the last byte taken from strm->next_in, plus 64 if
+ inflate() is currently decoding the last block in the deflate stream, plus
+ 128 if inflate() returned immediately after decoding an end-of-block code or
+ decoding the complete header up to just before the first byte of the deflate
+ stream. The end-of-block will not be indicated until all of the uncompressed
+ data from that block has been written to strm->next_out. The number of
+ unused bits may in general be greater than seven, except when bit 7 of
+ data_type is set, in which case the number of unused bits will be less than
+ eight. data_type is set as noted here every time inflate() returns for all
+ flush options, and so can be used to determine the amount of currently
+ consumed input in bits.
+
+ The Z_TREES option behaves as Z_BLOCK does, but it also returns when the
+ end of each deflate block header is reached, before any actual data in that
+ block is decoded. This allows the caller to determine the length of the
+ deflate block header for later use in random access within a deflate block.
+ 256 is added to the value of strm->data_type when inflate() returns
+ immediately after reaching the end of the deflate block header.
+
+ inflate() should normally be called until it returns Z_STREAM_END or an
+ error. However if all decompression is to be performed in a single step (a
+ single call of inflate), the parameter flush should be set to Z_FINISH. In
+ this case all pending input is processed and all pending output is flushed;
+ avail_out must be large enough to hold all of the uncompressed data for the
+ operation to complete. (The size of the uncompressed data may have been
+ saved by the compressor for this purpose.) The use of Z_FINISH is not
+ required to perform an inflation in one step. However it may be used to
+ inform inflate that a faster approach can be used for the single inflate()
+ call. Z_FINISH also informs inflate to not maintain a sliding window if the
+ stream completes, which reduces inflate's memory footprint. If the stream
+ does not complete, either because not all of the stream is provided or not
+ enough output space is provided, then a sliding window will be allocated and
+ inflate() can be called again to continue the operation as if Z_NO_FLUSH had
+ been used.
+
+ In this implementation, inflate() always flushes as much output as
+ possible to the output buffer, and always uses the faster approach on the
+ first call. So the effects of the flush parameter in this implementation are
+ on the return value of inflate() as noted below, when inflate() returns early
+ when Z_BLOCK or Z_TREES is used, and when inflate() avoids the allocation of
+ memory for a sliding window when Z_FINISH is used.
+
+ If a preset dictionary is needed after this call (see inflateSetDictionary
+ below), inflate sets strm->adler to the Adler-32 checksum of the dictionary
+ chosen by the compressor and returns Z_NEED_DICT; otherwise it sets
+ strm->adler to the Adler-32 checksum of all output produced so far (that is,
+ total_out bytes) and returns Z_OK, Z_STREAM_END or an error code as described
+ below. At the end of the stream, inflate() checks that its computed Adler-32
+ checksum is equal to that saved by the compressor and returns Z_STREAM_END
+ only if the checksum is correct.
+
+ inflate() can decompress and check either zlib-wrapped or gzip-wrapped
+ deflate data. The header type is detected automatically, if requested when
+ initializing with inflateInit2(). Any information contained in the gzip
+ header is not retained unless inflateGetHeader() is used. When processing
+ gzip-wrapped deflate data, strm->adler32 is set to the CRC-32 of the output
+ produced so far. The CRC-32 is checked against the gzip trailer, as is the
+ uncompressed length, modulo 2^32.
+
+ inflate() returns Z_OK if some progress has been made (more input processed
+ or more output produced), Z_STREAM_END if the end of the compressed data has
+ been reached and all uncompressed output has been produced, Z_NEED_DICT if a
+ preset dictionary is needed at this point, Z_DATA_ERROR if the input data was
+ corrupted (input stream not conforming to the zlib format or incorrect check
+ value, in which case strm->msg points to a string with a more specific
+ error), Z_STREAM_ERROR if the stream structure was inconsistent (for example
+ next_in or next_out was Z_NULL, or the state was inadvertently written over
+ by the application), Z_MEM_ERROR if there was not enough memory, Z_BUF_ERROR
+ if no progress was possible or if there was not enough room in the output
+ buffer when Z_FINISH is used. Note that Z_BUF_ERROR is not fatal, and
+ inflate() can be called again with more input and more output space to
+ continue decompressing. If Z_DATA_ERROR is returned, the application may
+ then call inflateSync() to look for a good compression block if a partial
+ recovery of the data is to be attempted.
+*/
+
+
+ZEXTERN int ZEXPORT inflateEnd(z_streamp strm);
+/*
+ All dynamically allocated data structures for this stream are freed.
+ This function discards any unprocessed input and does not flush any pending
+ output.
+
+ inflateEnd returns Z_OK if success, or Z_STREAM_ERROR if the stream state
+ was inconsistent.
+*/
+
+
+ /* Advanced functions */
+
+/*
+ The following functions are needed only in some special applications.
+*/
+
+/*
+ZEXTERN int ZEXPORT deflateInit2(z_streamp strm,
+ int level,
+ int method,
+ int windowBits,
+ int memLevel,
+ int strategy);
+
+ This is another version of deflateInit with more compression options. The
+ fields zalloc, zfree and opaque must be initialized before by the caller.
+
+ The method parameter is the compression method. It must be Z_DEFLATED in
+ this version of the library.
+
+ The windowBits parameter is the base two logarithm of the window size
+ (the size of the history buffer). It should be in the range 8..15 for this
+ version of the library. Larger values of this parameter result in better
+ compression at the expense of memory usage. The default value is 15 if
+ deflateInit is used instead.
+
+ For the current implementation of deflate(), a windowBits value of 8 (a
+ window size of 256 bytes) is not supported. As a result, a request for 8
+ will result in 9 (a 512-byte window). In that case, providing 8 to
+ inflateInit2() will result in an error when the zlib header with 9 is
+ checked against the initialization of inflate(). The remedy is to not use 8
+ with deflateInit2() with this initialization, or at least in that case use 9
+ with inflateInit2().
+
+ windowBits can also be -8..-15 for raw deflate. In this case, -windowBits
+ determines the window size. deflate() will then generate raw deflate data
+ with no zlib header or trailer, and will not compute a check value.
+
+ windowBits can also be greater than 15 for optional gzip encoding. Add
+ 16 to windowBits to write a simple gzip header and trailer around the
+ compressed data instead of a zlib wrapper. The gzip header will have no
+ file name, no extra data, no comment, no modification time (set to zero), no
+ header crc, and the operating system will be set to the appropriate value,
+ if the operating system was determined at compile time. If a gzip stream is
+ being written, strm->adler is a CRC-32 instead of an Adler-32.
+
+ For raw deflate or gzip encoding, a request for a 256-byte window is
+ rejected as invalid, since only the zlib header provides a means of
+ transmitting the window size to the decompressor.
+
+ The memLevel parameter specifies how much memory should be allocated
+ for the internal compression state. memLevel=1 uses minimum memory but is
+ slow and reduces compression ratio; memLevel=9 uses maximum memory for
+ optimal speed. The default value is 8. See zconf.h for total memory usage
+ as a function of windowBits and memLevel.
+
+ The strategy parameter is used to tune the compression algorithm. Use the
+ value Z_DEFAULT_STRATEGY for normal data, Z_FILTERED for data produced by a
+ filter (or predictor), Z_HUFFMAN_ONLY to force Huffman encoding only (no
+ string match), or Z_RLE to limit match distances to one (run-length
+ encoding). Filtered data consists mostly of small values with a somewhat
+ random distribution. In this case, the compression algorithm is tuned to
+ compress them better. The effect of Z_FILTERED is to force more Huffman
+ coding and less string matching; it is somewhat intermediate between
+ Z_DEFAULT_STRATEGY and Z_HUFFMAN_ONLY. Z_RLE is designed to be almost as
+ fast as Z_HUFFMAN_ONLY, but give better compression for PNG image data. The
+ strategy parameter only affects the compression ratio but not the
+ correctness of the compressed output even if it is not set appropriately.
+ Z_FIXED prevents the use of dynamic Huffman codes, allowing for a simpler
+ decoder for special applications.
+
+ deflateInit2 returns Z_OK if success, Z_MEM_ERROR if there was not enough
+ memory, Z_STREAM_ERROR if any parameter is invalid (such as an invalid
+ method), or Z_VERSION_ERROR if the zlib library version (zlib_version) is
+ incompatible with the version assumed by the caller (ZLIB_VERSION). msg is
+ set to null if there is no error message. deflateInit2 does not perform any
+ compression: this will be done by deflate().
+*/
+
+ZEXTERN int ZEXPORT deflateSetDictionary(z_streamp strm,
+ const Bytef *dictionary,
+ uInt dictLength);
+/*
+ Initializes the compression dictionary from the given byte sequence
+ without producing any compressed output. When using the zlib format, this
+ function must be called immediately after deflateInit, deflateInit2 or
+ deflateReset, and before any call of deflate. When doing raw deflate, this
+ function must be called either before any call of deflate, or immediately
+ after the completion of a deflate block, i.e. after all input has been
+ consumed and all output has been delivered when using any of the flush
+ options Z_BLOCK, Z_PARTIAL_FLUSH, Z_SYNC_FLUSH, or Z_FULL_FLUSH. The
+ compressor and decompressor must use exactly the same dictionary (see
+ inflateSetDictionary).
+
+ The dictionary should consist of strings (byte sequences) that are likely
+ to be encountered later in the data to be compressed, with the most commonly
+ used strings preferably put towards the end of the dictionary. Using a
+ dictionary is most useful when the data to be compressed is short and can be
+ predicted with good accuracy; the data can then be compressed better than
+ with the default empty dictionary.
+
+ Depending on the size of the compression data structures selected by
+ deflateInit or deflateInit2, a part of the dictionary may in effect be
+ discarded, for example if the dictionary is larger than the window size
+ provided in deflateInit or deflateInit2. Thus the strings most likely to be
+ useful should be put at the end of the dictionary, not at the front. In
+ addition, the current implementation of deflate will use at most the window
+ size minus 262 bytes of the provided dictionary.
+
+ Upon return of this function, strm->adler is set to the Adler-32 value
+ of the dictionary; the decompressor may later use this value to determine
+ which dictionary has been used by the compressor. (The Adler-32 value
+ applies to the whole dictionary even if only a subset of the dictionary is
+ actually used by the compressor.) If a raw deflate was requested, then the
+ Adler-32 value is not computed and strm->adler is not set.
+
+ deflateSetDictionary returns Z_OK if success, or Z_STREAM_ERROR if a
+ parameter is invalid (e.g. dictionary being Z_NULL) or the stream state is
+ inconsistent (for example if deflate has already been called for this stream
+ or if not at a block boundary for raw deflate). deflateSetDictionary does
+ not perform any compression: this will be done by deflate().
+*/
+
+ZEXTERN int ZEXPORT deflateGetDictionary(z_streamp strm,
+ Bytef *dictionary,
+ uInt *dictLength);
+/*
+ Returns the sliding dictionary being maintained by deflate. dictLength is
+ set to the number of bytes in the dictionary, and that many bytes are copied
+ to dictionary. dictionary must have enough space, where 32768 bytes is
+ always enough. If deflateGetDictionary() is called with dictionary equal to
+ Z_NULL, then only the dictionary length is returned, and nothing is copied.
+ Similarly, if dictLength is Z_NULL, then it is not set.
+
+ deflateGetDictionary() may return a length less than the window size, even
+ when more than the window size in input has been provided. It may return up
+ to 258 bytes less in that case, due to how zlib's implementation of deflate
+ manages the sliding window and lookahead for matches, where matches can be
+ up to 258 bytes long. If the application needs the last window-size bytes of
+ input, then that would need to be saved by the application outside of zlib.
+
+ deflateGetDictionary returns Z_OK on success, or Z_STREAM_ERROR if the
+ stream state is inconsistent.
+*/
+
+ZEXTERN int ZEXPORT deflateCopy(z_streamp dest,
+ z_streamp source);
+/*
+ Sets the destination stream as a complete copy of the source stream.
+
+ This function can be useful when several compression strategies will be
+ tried, for example when there are several ways of pre-processing the input
+ data with a filter. The streams that will be discarded should then be freed
+ by calling deflateEnd. Note that deflateCopy duplicates the internal
+ compression state which can be quite large, so this strategy is slow and can
+ consume lots of memory.
+
+ deflateCopy returns Z_OK if success, Z_MEM_ERROR if there was not
+ enough memory, Z_STREAM_ERROR if the source stream state was inconsistent
+ (such as zalloc being Z_NULL). msg is left unchanged in both source and
+ destination.
+*/
+
+ZEXTERN int ZEXPORT deflateReset(z_streamp strm);
+/*
+ This function is equivalent to deflateEnd followed by deflateInit, but
+ does not free and reallocate the internal compression state. The stream
+ will leave the compression level and any other attributes that may have been
+ set unchanged. total_in, total_out, adler, and msg are initialized.
+
+ deflateReset returns Z_OK if success, or Z_STREAM_ERROR if the source
+ stream state was inconsistent (such as zalloc or state being Z_NULL).
+*/
+
+ZEXTERN int ZEXPORT deflateParams(z_streamp strm,
+ int level,
+ int strategy);
+/*
+ Dynamically update the compression level and compression strategy. The
+ interpretation of level and strategy is as in deflateInit2(). This can be
+ used to switch between compression and straight copy of the input data, or
+ to switch to a different kind of input data requiring a different strategy.
+ If the compression approach (which is a function of the level) or the
+ strategy is changed, and if there have been any deflate() calls since the
+ state was initialized or reset, then the input available so far is
+ compressed with the old level and strategy using deflate(strm, Z_BLOCK).
+ There are three approaches for the compression levels 0, 1..3, and 4..9
+ respectively. The new level and strategy will take effect at the next call
+ of deflate().
+
+ If a deflate(strm, Z_BLOCK) is performed by deflateParams(), and it does
+ not have enough output space to complete, then the parameter change will not
+ take effect. In this case, deflateParams() can be called again with the
+ same parameters and more output space to try again.
+
+ In order to assure a change in the parameters on the first try, the
+ deflate stream should be flushed using deflate() with Z_BLOCK or other flush
+ request until strm.avail_out is not zero, before calling deflateParams().
+ Then no more input data should be provided before the deflateParams() call.
+ If this is done, the old level and strategy will be applied to the data
+ compressed before deflateParams(), and the new level and strategy will be
+ applied to the data compressed after deflateParams().
+
+ deflateParams returns Z_OK on success, Z_STREAM_ERROR if the source stream
+ state was inconsistent or if a parameter was invalid, or Z_BUF_ERROR if
+ there was not enough output space to complete the compression of the
+ available input data before a change in the strategy or approach. Note that
+ in the case of a Z_BUF_ERROR, the parameters are not changed. A return
+ value of Z_BUF_ERROR is not fatal, in which case deflateParams() can be
+ retried with more output space.
+*/
+
+ZEXTERN int ZEXPORT deflateTune(z_streamp strm,
+ int good_length,
+ int max_lazy,
+ int nice_length,
+ int max_chain);
+/*
+ Fine tune deflate's internal compression parameters. This should only be
+ used by someone who understands the algorithm used by zlib's deflate for
+ searching for the best matching string, and even then only by the most
+ fanatic optimizer trying to squeeze out the last compressed bit for their
+ specific input data. Read the deflate.c source code for the meaning of the
+ max_lazy, good_length, nice_length, and max_chain parameters.
+
+ deflateTune() can be called after deflateInit() or deflateInit2(), and
+ returns Z_OK on success, or Z_STREAM_ERROR for an invalid deflate stream.
+ */
+
+ZEXTERN uLong ZEXPORT deflateBound(z_streamp strm,
+ uLong sourceLen);
+/*
+ deflateBound() returns an upper bound on the compressed size after
+ deflation of sourceLen bytes. It must be called after deflateInit() or
+ deflateInit2(), and after deflateSetHeader(), if used. This would be used
+ to allocate an output buffer for deflation in a single pass, and so would be
+ called before deflate(). If that first deflate() call is provided the
+ sourceLen input bytes, an output buffer allocated to the size returned by
+ deflateBound(), and the flush value Z_FINISH, then deflate() is guaranteed
+ to return Z_STREAM_END. Note that it is possible for the compressed size to
+ be larger than the value returned by deflateBound() if flush options other
+ than Z_FINISH or Z_NO_FLUSH are used.
+*/
+
+ZEXTERN int ZEXPORT deflatePending(z_streamp strm,
+ unsigned *pending,
+ int *bits);
+/*
+ deflatePending() returns the number of bytes and bits of output that have
+ been generated, but not yet provided in the available output. The bytes not
+ provided would be due to the available output space having being consumed.
+ The number of bits of output not provided are between 0 and 7, where they
+ await more bits to join them in order to fill out a full byte. If pending
+ or bits are Z_NULL, then those values are not set.
+
+ deflatePending returns Z_OK if success, or Z_STREAM_ERROR if the source
+ stream state was inconsistent.
+ */
+
+ZEXTERN int ZEXPORT deflatePrime(z_streamp strm,
+ int bits,
+ int value);
+/*
+ deflatePrime() inserts bits in the deflate output stream. The intent
+ is that this function is used to start off the deflate output with the bits
+ leftover from a previous deflate stream when appending to it. As such, this
+ function can only be used for raw deflate, and must be used before the first
+ deflate() call after a deflateInit2() or deflateReset(). bits must be less
+ than or equal to 16, and that many of the least significant bits of value
+ will be inserted in the output.
+
+ deflatePrime returns Z_OK if success, Z_BUF_ERROR if there was not enough
+ room in the internal buffer to insert the bits, or Z_STREAM_ERROR if the
+ source stream state was inconsistent.
+*/
+
+ZEXTERN int ZEXPORT deflateSetHeader(z_streamp strm,
+ gz_headerp head);
+/*
+ deflateSetHeader() provides gzip header information for when a gzip
+ stream is requested by deflateInit2(). deflateSetHeader() may be called
+ after deflateInit2() or deflateReset() and before the first call of
+ deflate(). The text, time, os, extra field, name, and comment information
+ in the provided gz_header structure are written to the gzip header (xflag is
+ ignored -- the extra flags are set according to the compression level). The
+ caller must assure that, if not Z_NULL, name and comment are terminated with
+ a zero byte, and that if extra is not Z_NULL, that extra_len bytes are
+ available there. If hcrc is true, a gzip header crc is included. Note that
+ the current versions of the command-line version of gzip (up through version
+ 1.3.x) do not support header crc's, and will report that it is a "multi-part
+ gzip file" and give up.
+
+ If deflateSetHeader is not used, the default gzip header has text false,
+ the time set to zero, and os set to the current operating system, with no
+ extra, name, or comment fields. The gzip header is returned to the default
+ state by deflateReset().
+
+ deflateSetHeader returns Z_OK if success, or Z_STREAM_ERROR if the source
+ stream state was inconsistent.
+*/
+
+/*
+ZEXTERN int ZEXPORT inflateInit2(z_streamp strm,
+ int windowBits);
+
+ This is another version of inflateInit with an extra parameter. The
+ fields next_in, avail_in, zalloc, zfree and opaque must be initialized
+ before by the caller.
+
+ The windowBits parameter is the base two logarithm of the maximum window
+ size (the size of the history buffer). It should be in the range 8..15 for
+ this version of the library. The default value is 15 if inflateInit is used
+ instead. windowBits must be greater than or equal to the windowBits value
+ provided to deflateInit2() while compressing, or it must be equal to 15 if
+ deflateInit2() was not used. If a compressed stream with a larger window
+ size is given as input, inflate() will return with the error code
+ Z_DATA_ERROR instead of trying to allocate a larger window.
+
+ windowBits can also be zero to request that inflate use the window size in
+ the zlib header of the compressed stream.
+
+ windowBits can also be -8..-15 for raw inflate. In this case, -windowBits
+ determines the window size. inflate() will then process raw deflate data,
+ not looking for a zlib or gzip header, not generating a check value, and not
+ looking for any check values for comparison at the end of the stream. This
+ is for use with other formats that use the deflate compressed data format
+ such as zip. Those formats provide their own check values. If a custom
+ format is developed using the raw deflate format for compressed data, it is
+ recommended that a check value such as an Adler-32 or a CRC-32 be applied to
+ the uncompressed data as is done in the zlib, gzip, and zip formats. For
+ most applications, the zlib format should be used as is. Note that comments
+ above on the use in deflateInit2() applies to the magnitude of windowBits.
+
+ windowBits can also be greater than 15 for optional gzip decoding. Add
+ 32 to windowBits to enable zlib and gzip decoding with automatic header
+ detection, or add 16 to decode only the gzip format (the zlib format will
+ return a Z_DATA_ERROR). If a gzip stream is being decoded, strm->adler is a
+ CRC-32 instead of an Adler-32. Unlike the gunzip utility and gzread() (see
+ below), inflate() will *not* automatically decode concatenated gzip members.
+ inflate() will return Z_STREAM_END at the end of the gzip member. The state
+ would need to be reset to continue decoding a subsequent gzip member. This
+ *must* be done if there is more data after a gzip member, in order for the
+ decompression to be compliant with the gzip standard (RFC 1952).
+
+ inflateInit2 returns Z_OK if success, Z_MEM_ERROR if there was not enough
+ memory, Z_VERSION_ERROR if the zlib library version is incompatible with the
+ version assumed by the caller, or Z_STREAM_ERROR if the parameters are
+ invalid, such as a null pointer to the structure. msg is set to null if
+ there is no error message. inflateInit2 does not perform any decompression
+ apart from possibly reading the zlib header if present: actual decompression
+ will be done by inflate(). (So next_in and avail_in may be modified, but
+ next_out and avail_out are unused and unchanged.) The current implementation
+ of inflateInit2() does not process any header information -- that is
+ deferred until inflate() is called.
+*/
+
+ZEXTERN int ZEXPORT inflateSetDictionary(z_streamp strm,
+ const Bytef *dictionary,
+ uInt dictLength);
+/*
+ Initializes the decompression dictionary from the given uncompressed byte
+ sequence. This function must be called immediately after a call of inflate,
+ if that call returned Z_NEED_DICT. The dictionary chosen by the compressor
+ can be determined from the Adler-32 value returned by that call of inflate.
+ The compressor and decompressor must use exactly the same dictionary (see
+ deflateSetDictionary). For raw inflate, this function can be called at any
+ time to set the dictionary. If the provided dictionary is smaller than the
+ window and there is already data in the window, then the provided dictionary
+ will amend what's there. The application must insure that the dictionary
+ that was used for compression is provided.
+
+ inflateSetDictionary returns Z_OK if success, Z_STREAM_ERROR if a
+ parameter is invalid (e.g. dictionary being Z_NULL) or the stream state is
+ inconsistent, Z_DATA_ERROR if the given dictionary doesn't match the
+ expected one (incorrect Adler-32 value). inflateSetDictionary does not
+ perform any decompression: this will be done by subsequent calls of
+ inflate().
+*/
+
+ZEXTERN int ZEXPORT inflateGetDictionary(z_streamp strm,
+ Bytef *dictionary,
+ uInt *dictLength);
+/*
+ Returns the sliding dictionary being maintained by inflate. dictLength is
+ set to the number of bytes in the dictionary, and that many bytes are copied
+ to dictionary. dictionary must have enough space, where 32768 bytes is
+ always enough. If inflateGetDictionary() is called with dictionary equal to
+ Z_NULL, then only the dictionary length is returned, and nothing is copied.
+ Similarly, if dictLength is Z_NULL, then it is not set.
+
+ inflateGetDictionary returns Z_OK on success, or Z_STREAM_ERROR if the
+ stream state is inconsistent.
+*/
+
+ZEXTERN int ZEXPORT inflateSync(z_streamp strm);
+/*
+ Skips invalid compressed data until a possible full flush point (see above
+ for the description of deflate with Z_FULL_FLUSH) can be found, or until all
+ available input is skipped. No output is provided.
+
+ inflateSync searches for a 00 00 FF FF pattern in the compressed data.
+ All full flush points have this pattern, but not all occurrences of this
+ pattern are full flush points.
+
+ inflateSync returns Z_OK if a possible full flush point has been found,
+ Z_BUF_ERROR if no more input was provided, Z_DATA_ERROR if no flush point
+ has been found, or Z_STREAM_ERROR if the stream structure was inconsistent.
+ In the success case, the application may save the current value of total_in
+ which indicates where valid compressed data was found. In the error case,
+ the application may repeatedly call inflateSync, providing more input each
+ time, until success or end of the input data.
+*/
+
+ZEXTERN int ZEXPORT inflateCopy(z_streamp dest,
+ z_streamp source);
+/*
+ Sets the destination stream as a complete copy of the source stream.
+
+ This function can be useful when randomly accessing a large stream. The
+ first pass through the stream can periodically record the inflate state,
+ allowing restarting inflate at those points when randomly accessing the
+ stream.
+
+ inflateCopy returns Z_OK if success, Z_MEM_ERROR if there was not
+ enough memory, Z_STREAM_ERROR if the source stream state was inconsistent
+ (such as zalloc being Z_NULL). msg is left unchanged in both source and
+ destination.
+*/
+
+ZEXTERN int ZEXPORT inflateReset(z_streamp strm);
+/*
+ This function is equivalent to inflateEnd followed by inflateInit,
+ but does not free and reallocate the internal decompression state. The
+ stream will keep attributes that may have been set by inflateInit2.
+ total_in, total_out, adler, and msg are initialized.
+
+ inflateReset returns Z_OK if success, or Z_STREAM_ERROR if the source
+ stream state was inconsistent (such as zalloc or state being Z_NULL).
+*/
+
+ZEXTERN int ZEXPORT inflateReset2(z_streamp strm,
+ int windowBits);
+/*
+ This function is the same as inflateReset, but it also permits changing
+ the wrap and window size requests. The windowBits parameter is interpreted
+ the same as it is for inflateInit2. If the window size is changed, then the
+ memory allocated for the window is freed, and the window will be reallocated
+ by inflate() if needed.
+
+ inflateReset2 returns Z_OK if success, or Z_STREAM_ERROR if the source
+ stream state was inconsistent (such as zalloc or state being Z_NULL), or if
+ the windowBits parameter is invalid.
+*/
+
+ZEXTERN int ZEXPORT inflatePrime(z_streamp strm,
+ int bits,
+ int value);
+/*
+ This function inserts bits in the inflate input stream. The intent is
+ that this function is used to start inflating at a bit position in the
+ middle of a byte. The provided bits will be used before any bytes are used
+ from next_in. This function should only be used with raw inflate, and
+ should be used before the first inflate() call after inflateInit2() or
+ inflateReset(). bits must be less than or equal to 16, and that many of the
+ least significant bits of value will be inserted in the input.
+
+ If bits is negative, then the input stream bit buffer is emptied. Then
+ inflatePrime() can be called again to put bits in the buffer. This is used
+ to clear out bits leftover after feeding inflate a block description prior
+ to feeding inflate codes.
+
+ inflatePrime returns Z_OK if success, or Z_STREAM_ERROR if the source
+ stream state was inconsistent.
+*/
+
+ZEXTERN long ZEXPORT inflateMark(z_streamp strm);
+/*
+ This function returns two values, one in the lower 16 bits of the return
+ value, and the other in the remaining upper bits, obtained by shifting the
+ return value down 16 bits. If the upper value is -1 and the lower value is
+ zero, then inflate() is currently decoding information outside of a block.
+ If the upper value is -1 and the lower value is non-zero, then inflate is in
+ the middle of a stored block, with the lower value equaling the number of
+ bytes from the input remaining to copy. If the upper value is not -1, then
+ it is the number of bits back from the current bit position in the input of
+ the code (literal or length/distance pair) currently being processed. In
+ that case the lower value is the number of bytes already emitted for that
+ code.
+
+ A code is being processed if inflate is waiting for more input to complete
+ decoding of the code, or if it has completed decoding but is waiting for
+ more output space to write the literal or match data.
+
+ inflateMark() is used to mark locations in the input data for random
+ access, which may be at bit positions, and to note those cases where the
+ output of a code may span boundaries of random access blocks. The current
+ location in the input stream can be determined from avail_in and data_type
+ as noted in the description for the Z_BLOCK flush parameter for inflate.
+
+ inflateMark returns the value noted above, or -65536 if the provided
+ source stream state was inconsistent.
+*/
+
+ZEXTERN int ZEXPORT inflateGetHeader(z_streamp strm,
+ gz_headerp head);
+/*
+ inflateGetHeader() requests that gzip header information be stored in the
+ provided gz_header structure. inflateGetHeader() may be called after
+ inflateInit2() or inflateReset(), and before the first call of inflate().
+ As inflate() processes the gzip stream, head->done is zero until the header
+ is completed, at which time head->done is set to one. If a zlib stream is
+ being decoded, then head->done is set to -1 to indicate that there will be
+ no gzip header information forthcoming. Note that Z_BLOCK or Z_TREES can be
+ used to force inflate() to return immediately after header processing is
+ complete and before any actual data is decompressed.
+
+ The text, time, xflags, and os fields are filled in with the gzip header
+ contents. hcrc is set to true if there is a header CRC. (The header CRC
+ was valid if done is set to one.) If extra is not Z_NULL, then extra_max
+ contains the maximum number of bytes to write to extra. Once done is true,
+ extra_len contains the actual extra field length, and extra contains the
+ extra field, or that field truncated if extra_max is less than extra_len.
+ If name is not Z_NULL, then up to name_max characters are written there,
+ terminated with a zero unless the length is greater than name_max. If
+ comment is not Z_NULL, then up to comm_max characters are written there,
+ terminated with a zero unless the length is greater than comm_max. When any
+ of extra, name, or comment are not Z_NULL and the respective field is not
+ present in the header, then that field is set to Z_NULL to signal its
+ absence. This allows the use of deflateSetHeader() with the returned
+ structure to duplicate the header. However if those fields are set to
+ allocated memory, then the application will need to save those pointers
+ elsewhere so that they can be eventually freed.
+
+ If inflateGetHeader is not used, then the header information is simply
+ discarded. The header is always checked for validity, including the header
+ CRC if present. inflateReset() will reset the process to discard the header
+ information. The application would need to call inflateGetHeader() again to
+ retrieve the header from the next gzip stream.
+
+ inflateGetHeader returns Z_OK if success, or Z_STREAM_ERROR if the source
+ stream state was inconsistent.
+*/
+
+/*
+ZEXTERN int ZEXPORT inflateBackInit(z_streamp strm, int windowBits,
+ unsigned char FAR *window);
+
+ Initialize the internal stream state for decompression using inflateBack()
+ calls. The fields zalloc, zfree and opaque in strm must be initialized
+ before the call. If zalloc and zfree are Z_NULL, then the default library-
+ derived memory allocation routines are used. windowBits is the base two
+ logarithm of the window size, in the range 8..15. window is a caller
+ supplied buffer of that size. Except for special applications where it is
+ assured that deflate was used with small window sizes, windowBits must be 15
+ and a 32K byte window must be supplied to be able to decompress general
+ deflate streams.
+
+ See inflateBack() for the usage of these routines.
+
+ inflateBackInit will return Z_OK on success, Z_STREAM_ERROR if any of
+ the parameters are invalid, Z_MEM_ERROR if the internal state could not be
+ allocated, or Z_VERSION_ERROR if the version of the library does not match
+ the version of the header file.
+*/
+
+typedef unsigned (*in_func)(void FAR *,
+ z_const unsigned char FAR * FAR *);
+typedef int (*out_func)(void FAR *, unsigned char FAR *, unsigned);
+
+ZEXTERN int ZEXPORT inflateBack(z_streamp strm,
+ in_func in, void FAR *in_desc,
+ out_func out, void FAR *out_desc);
+/*
+ inflateBack() does a raw inflate with a single call using a call-back
+ interface for input and output. This is potentially more efficient than
+ inflate() for file i/o applications, in that it avoids copying between the
+ output and the sliding window by simply making the window itself the output
+ buffer. inflate() can be faster on modern CPUs when used with large
+ buffers. inflateBack() trusts the application to not change the output
+ buffer passed by the output function, at least until inflateBack() returns.
+
+ inflateBackInit() must be called first to allocate the internal state
+ and to initialize the state with the user-provided window buffer.
+ inflateBack() may then be used multiple times to inflate a complete, raw
+ deflate stream with each call. inflateBackEnd() is then called to free the
+ allocated state.
+
+ A raw deflate stream is one with no zlib or gzip header or trailer.
+ This routine would normally be used in a utility that reads zip or gzip
+ files and writes out uncompressed files. The utility would decode the
+ header and process the trailer on its own, hence this routine expects only
+ the raw deflate stream to decompress. This is different from the default
+ behavior of inflate(), which expects a zlib header and trailer around the
+ deflate stream.
+
+ inflateBack() uses two subroutines supplied by the caller that are then
+ called by inflateBack() for input and output. inflateBack() calls those
+ routines until it reads a complete deflate stream and writes out all of the
+ uncompressed data, or until it encounters an error. The function's
+ parameters and return types are defined above in the in_func and out_func
+ typedefs. inflateBack() will call in(in_desc, &buf) which should return the
+ number of bytes of provided input, and a pointer to that input in buf. If
+ there is no input available, in() must return zero -- buf is ignored in that
+ case -- and inflateBack() will return a buffer error. inflateBack() will
+ call out(out_desc, buf, len) to write the uncompressed data buf[0..len-1].
+ out() should return zero on success, or non-zero on failure. If out()
+ returns non-zero, inflateBack() will return with an error. Neither in() nor
+ out() are permitted to change the contents of the window provided to
+ inflateBackInit(), which is also the buffer that out() uses to write from.
+ The length written by out() will be at most the window size. Any non-zero
+ amount of input may be provided by in().
+
+ For convenience, inflateBack() can be provided input on the first call by
+ setting strm->next_in and strm->avail_in. If that input is exhausted, then
+ in() will be called. Therefore strm->next_in must be initialized before
+ calling inflateBack(). If strm->next_in is Z_NULL, then in() will be called
+ immediately for input. If strm->next_in is not Z_NULL, then strm->avail_in
+ must also be initialized, and then if strm->avail_in is not zero, input will
+ initially be taken from strm->next_in[0 .. strm->avail_in - 1].
+
+ The in_desc and out_desc parameters of inflateBack() is passed as the
+ first parameter of in() and out() respectively when they are called. These
+ descriptors can be optionally used to pass any information that the caller-
+ supplied in() and out() functions need to do their job.
+
+ On return, inflateBack() will set strm->next_in and strm->avail_in to
+ pass back any unused input that was provided by the last in() call. The
+ return values of inflateBack() can be Z_STREAM_END on success, Z_BUF_ERROR
+ if in() or out() returned an error, Z_DATA_ERROR if there was a format error
+ in the deflate stream (in which case strm->msg is set to indicate the nature
+ of the error), or Z_STREAM_ERROR if the stream was not properly initialized.
+ In the case of Z_BUF_ERROR, an input or output error can be distinguished
+ using strm->next_in which will be Z_NULL only if in() returned an error. If
+ strm->next_in is not Z_NULL, then the Z_BUF_ERROR was due to out() returning
+ non-zero. (in() will always be called before out(), so strm->next_in is
+ assured to be defined if out() returns non-zero.) Note that inflateBack()
+ cannot return Z_OK.
+*/
+
+ZEXTERN int ZEXPORT inflateBackEnd(z_streamp strm);
+/*
+ All memory allocated by inflateBackInit() is freed.
+
+ inflateBackEnd() returns Z_OK on success, or Z_STREAM_ERROR if the stream
+ state was inconsistent.
+*/
+
+ZEXTERN uLong ZEXPORT zlibCompileFlags(void);
+/* Return flags indicating compile-time options.
+
+ Type sizes, two bits each, 00 = 16 bits, 01 = 32, 10 = 64, 11 = other:
+ 1.0: size of uInt
+ 3.2: size of uLong
+ 5.4: size of voidpf (pointer)
+ 7.6: size of z_off_t
+
+ Compiler, assembler, and debug options:
+ 8: ZLIB_DEBUG
+ 9: ASMV or ASMINF -- use ASM code
+ 10: ZLIB_WINAPI -- exported functions use the WINAPI calling convention
+ 11: 0 (reserved)
+
+ One-time table building (smaller code, but not thread-safe if true):
+ 12: BUILDFIXED -- build static block decoding tables when needed
+ 13: DYNAMIC_CRC_TABLE -- build CRC calculation tables when needed
+ 14,15: 0 (reserved)
+
+ Library content (indicates missing functionality):
+ 16: NO_GZCOMPRESS -- gz* functions cannot compress (to avoid linking
+ deflate code when not needed)
+ 17: NO_GZIP -- deflate can't write gzip streams, and inflate can't detect
+ and decode gzip streams (to avoid linking crc code)
+ 18-19: 0 (reserved)
+
+ Operation variations (changes in library functionality):
+ 20: PKZIP_BUG_WORKAROUND -- slightly more permissive inflate
+ 21: FASTEST -- deflate algorithm with only one, lowest compression level
+ 22,23: 0 (reserved)
+
+ The sprintf variant used by gzprintf (zero is best):
+ 24: 0 = vs*, 1 = s* -- 1 means limited to 20 arguments after the format
+ 25: 0 = *nprintf, 1 = *printf -- 1 means gzprintf() not secure!
+ 26: 0 = returns value, 1 = void -- 1 means inferred string length returned
+
+ Remainder:
+ 27-31: 0 (reserved)
+ */
+
+#ifndef Z_SOLO
+
+ /* utility functions */
+
+/*
+ The following utility functions are implemented on top of the basic
+ stream-oriented functions. To simplify the interface, some default options
+ are assumed (compression level and memory usage, standard memory allocation
+ functions). The source code of these utility functions can be modified if
+ you need special options.
+*/
+
+ZEXTERN int ZEXPORT compress(Bytef *dest, uLongf *destLen,
+ const Bytef *source, uLong sourceLen);
+/*
+ Compresses the source buffer into the destination buffer. sourceLen is
+ the byte length of the source buffer. Upon entry, destLen is the total size
+ of the destination buffer, which must be at least the value returned by
+ compressBound(sourceLen). Upon exit, destLen is the actual size of the
+ compressed data. compress() is equivalent to compress2() with a level
+ parameter of Z_DEFAULT_COMPRESSION.
+
+ compress returns Z_OK if success, Z_MEM_ERROR if there was not
+ enough memory, Z_BUF_ERROR if there was not enough room in the output
+ buffer.
+*/
+
+ZEXTERN int ZEXPORT compress2(Bytef *dest, uLongf *destLen,
+ const Bytef *source, uLong sourceLen,
+ int level);
+/*
+ Compresses the source buffer into the destination buffer. The level
+ parameter has the same meaning as in deflateInit. sourceLen is the byte
+ length of the source buffer. Upon entry, destLen is the total size of the
+ destination buffer, which must be at least the value returned by
+ compressBound(sourceLen). Upon exit, destLen is the actual size of the
+ compressed data.
+
+ compress2 returns Z_OK if success, Z_MEM_ERROR if there was not enough
+ memory, Z_BUF_ERROR if there was not enough room in the output buffer,
+ Z_STREAM_ERROR if the level parameter is invalid.
+*/
+
+ZEXTERN uLong ZEXPORT compressBound(uLong sourceLen);
+/*
+ compressBound() returns an upper bound on the compressed size after
+ compress() or compress2() on sourceLen bytes. It would be used before a
+ compress() or compress2() call to allocate the destination buffer.
+*/
+
+ZEXTERN int ZEXPORT uncompress(Bytef *dest, uLongf *destLen,
+ const Bytef *source, uLong sourceLen);
+/*
+ Decompresses the source buffer into the destination buffer. sourceLen is
+ the byte length of the source buffer. Upon entry, destLen is the total size
+ of the destination buffer, which must be large enough to hold the entire
+ uncompressed data. (The size of the uncompressed data must have been saved
+ previously by the compressor and transmitted to the decompressor by some
+ mechanism outside the scope of this compression library.) Upon exit, destLen
+ is the actual size of the uncompressed data.
+
+ uncompress returns Z_OK if success, Z_MEM_ERROR if there was not
+ enough memory, Z_BUF_ERROR if there was not enough room in the output
+ buffer, or Z_DATA_ERROR if the input data was corrupted or incomplete. In
+ the case where there is not enough room, uncompress() will fill the output
+ buffer with the uncompressed data up to that point.
+*/
+
+ZEXTERN int ZEXPORT uncompress2(Bytef *dest, uLongf *destLen,
+ const Bytef *source, uLong *sourceLen);
+/*
+ Same as uncompress, except that sourceLen is a pointer, where the
+ length of the source is *sourceLen. On return, *sourceLen is the number of
+ source bytes consumed.
+*/
+
+ /* gzip file access functions */
+
+/*
+ This library supports reading and writing files in gzip (.gz) format with
+ an interface similar to that of stdio, using the functions that start with
+ "gz". The gzip format is different from the zlib format. gzip is a gzip
+ wrapper, documented in RFC 1952, wrapped around a deflate stream.
+*/
+
+typedef struct gzFile_s *gzFile; /* semi-opaque gzip file descriptor */
+
+/*
+ZEXTERN gzFile ZEXPORT gzopen(const char *path, const char *mode);
+
+ Open the gzip (.gz) file at path for reading and decompressing, or
+ compressing and writing. The mode parameter is as in fopen ("rb" or "wb")
+ but can also include a compression level ("wb9") or a strategy: 'f' for
+ filtered data as in "wb6f", 'h' for Huffman-only compression as in "wb1h",
+ 'R' for run-length encoding as in "wb1R", or 'F' for fixed code compression
+ as in "wb9F". (See the description of deflateInit2 for more information
+ about the strategy parameter.) 'T' will request transparent writing or
+ appending with no compression and not using the gzip format.
+
+ "a" can be used instead of "w" to request that the gzip stream that will
+ be written be appended to the file. "+" will result in an error, since
+ reading and writing to the same gzip file is not supported. The addition of
+ "x" when writing will create the file exclusively, which fails if the file
+ already exists. On systems that support it, the addition of "e" when
+ reading or writing will set the flag to close the file on an execve() call.
+
+ These functions, as well as gzip, will read and decode a sequence of gzip
+ streams in a file. The append function of gzopen() can be used to create
+ such a file. (Also see gzflush() for another way to do this.) When
+ appending, gzopen does not test whether the file begins with a gzip stream,
+ nor does it look for the end of the gzip streams to begin appending. gzopen
+ will simply append a gzip stream to the existing file.
+
+ gzopen can be used to read a file which is not in gzip format; in this
+ case gzread will directly read from the file without decompression. When
+ reading, this will be detected automatically by looking for the magic two-
+ byte gzip header.
+
+ gzopen returns NULL if the file could not be opened, if there was
+ insufficient memory to allocate the gzFile state, or if an invalid mode was
+ specified (an 'r', 'w', or 'a' was not provided, or '+' was provided).
+ errno can be checked to determine if the reason gzopen failed was that the
+ file could not be opened.
+*/
+
+ZEXTERN gzFile ZEXPORT gzdopen(int fd, const char *mode);
+/*
+ Associate a gzFile with the file descriptor fd. File descriptors are
+ obtained from calls like open, dup, creat, pipe or fileno (if the file has
+ been previously opened with fopen). The mode parameter is as in gzopen.
+
+ The next call of gzclose on the returned gzFile will also close the file
+ descriptor fd, just like fclose(fdopen(fd, mode)) closes the file descriptor
+ fd. If you want to keep fd open, use fd = dup(fd_keep); gz = gzdopen(fd,
+ mode);. The duplicated descriptor should be saved to avoid a leak, since
+ gzdopen does not close fd if it fails. If you are using fileno() to get the
+ file descriptor from a FILE *, then you will have to use dup() to avoid
+ double-close()ing the file descriptor. Both gzclose() and fclose() will
+ close the associated file descriptor, so they need to have different file
+ descriptors.
+
+ gzdopen returns NULL if there was insufficient memory to allocate the
+ gzFile state, if an invalid mode was specified (an 'r', 'w', or 'a' was not
+ provided, or '+' was provided), or if fd is -1. The file descriptor is not
+ used until the next gz* read, write, seek, or close operation, so gzdopen
+ will not detect if fd is invalid (unless fd is -1).
+*/
+
+ZEXTERN int ZEXPORT gzbuffer(gzFile file, unsigned size);
+/*
+ Set the internal buffer size used by this library's functions for file to
+ size. The default buffer size is 8192 bytes. This function must be called
+ after gzopen() or gzdopen(), and before any other calls that read or write
+ the file. The buffer memory allocation is always deferred to the first read
+ or write. Three times that size in buffer space is allocated. A larger
+ buffer size of, for example, 64K or 128K bytes will noticeably increase the
+ speed of decompression (reading).
+
+ The new buffer size also affects the maximum length for gzprintf().
+
+ gzbuffer() returns 0 on success, or -1 on failure, such as being called
+ too late.
+*/
+
+ZEXTERN int ZEXPORT gzsetparams(gzFile file, int level, int strategy);
+/*
+ Dynamically update the compression level and strategy for file. See the
+ description of deflateInit2 for the meaning of these parameters. Previously
+ provided data is flushed before applying the parameter changes.
+
+ gzsetparams returns Z_OK if success, Z_STREAM_ERROR if the file was not
+ opened for writing, Z_ERRNO if there is an error writing the flushed data,
+ or Z_MEM_ERROR if there is a memory allocation error.
+*/
+
+ZEXTERN int ZEXPORT gzread(gzFile file, voidp buf, unsigned len);
+/*
+ Read and decompress up to len uncompressed bytes from file into buf. If
+ the input file is not in gzip format, gzread copies the given number of
+ bytes into the buffer directly from the file.
+
+ After reaching the end of a gzip stream in the input, gzread will continue
+ to read, looking for another gzip stream. Any number of gzip streams may be
+ concatenated in the input file, and will all be decompressed by gzread().
+ If something other than a gzip stream is encountered after a gzip stream,
+ that remaining trailing garbage is ignored (and no error is returned).
+
+ gzread can be used to read a gzip file that is being concurrently written.
+ Upon reaching the end of the input, gzread will return with the available
+ data. If the error code returned by gzerror is Z_OK or Z_BUF_ERROR, then
+ gzclearerr can be used to clear the end of file indicator in order to permit
+ gzread to be tried again. Z_OK indicates that a gzip stream was completed
+ on the last gzread. Z_BUF_ERROR indicates that the input file ended in the
+ middle of a gzip stream. Note that gzread does not return -1 in the event
+ of an incomplete gzip stream. This error is deferred until gzclose(), which
+ will return Z_BUF_ERROR if the last gzread ended in the middle of a gzip
+ stream. Alternatively, gzerror can be used before gzclose to detect this
+ case.
+
+ gzread returns the number of uncompressed bytes actually read, less than
+ len for end of file, or -1 for error. If len is too large to fit in an int,
+ then nothing is read, -1 is returned, and the error state is set to
+ Z_STREAM_ERROR.
+*/
+
+ZEXTERN z_size_t ZEXPORT gzfread(voidp buf, z_size_t size, z_size_t nitems,
+ gzFile file);
+/*
+ Read and decompress up to nitems items of size size from file into buf,
+ otherwise operating as gzread() does. This duplicates the interface of
+ stdio's fread(), with size_t request and return types. If the library
+ defines size_t, then z_size_t is identical to size_t. If not, then z_size_t
+ is an unsigned integer type that can contain a pointer.
+
+ gzfread() returns the number of full items read of size size, or zero if
+ the end of the file was reached and a full item could not be read, or if
+ there was an error. gzerror() must be consulted if zero is returned in
+ order to determine if there was an error. If the multiplication of size and
+ nitems overflows, i.e. the product does not fit in a z_size_t, then nothing
+ is read, zero is returned, and the error state is set to Z_STREAM_ERROR.
+
+ In the event that the end of file is reached and only a partial item is
+ available at the end, i.e. the remaining uncompressed data length is not a
+ multiple of size, then the final partial item is nevertheless read into buf
+ and the end-of-file flag is set. The length of the partial item read is not
+ provided, but could be inferred from the result of gztell(). This behavior
+ is the same as the behavior of fread() implementations in common libraries,
+ but it prevents the direct use of gzfread() to read a concurrently written
+ file, resetting and retrying on end-of-file, when size is not 1.
+*/
+
+ZEXTERN int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len);
+/*
+ Compress and write the len uncompressed bytes at buf to file. gzwrite
+ returns the number of uncompressed bytes written or 0 in case of error.
+*/
+
+ZEXTERN z_size_t ZEXPORT gzfwrite(voidpc buf, z_size_t size,
+ z_size_t nitems, gzFile file);
+/*
+ Compress and write nitems items of size size from buf to file, duplicating
+ the interface of stdio's fwrite(), with size_t request and return types. If
+ the library defines size_t, then z_size_t is identical to size_t. If not,
+ then z_size_t is an unsigned integer type that can contain a pointer.
+
+ gzfwrite() returns the number of full items written of size size, or zero
+ if there was an error. If the multiplication of size and nitems overflows,
+ i.e. the product does not fit in a z_size_t, then nothing is written, zero
+ is returned, and the error state is set to Z_STREAM_ERROR.
+*/
+
+ZEXTERN int ZEXPORTVA gzprintf(gzFile file, const char *format, ...);
+/*
+ Convert, format, compress, and write the arguments (...) to file under
+ control of the string format, as in fprintf. gzprintf returns the number of
+ uncompressed bytes actually written, or a negative zlib error code in case
+ of error. The number of uncompressed bytes written is limited to 8191, or
+ one less than the buffer size given to gzbuffer(). The caller should assure
+ that this limit is not exceeded. If it is exceeded, then gzprintf() will
+ return an error (0) with nothing written. In this case, there may also be a
+ buffer overflow with unpredictable consequences, which is possible only if
+ zlib was compiled with the insecure functions sprintf() or vsprintf(),
+ because the secure snprintf() or vsnprintf() functions were not available.
+ This can be determined using zlibCompileFlags().
+*/
+
+ZEXTERN int ZEXPORT gzputs(gzFile file, const char *s);
+/*
+ Compress and write the given null-terminated string s to file, excluding
+ the terminating null character.
+
+ gzputs returns the number of characters written, or -1 in case of error.
+*/
+
+ZEXTERN char * ZEXPORT gzgets(gzFile file, char *buf, int len);
+/*
+ Read and decompress bytes from file into buf, until len-1 characters are
+ read, or until a newline character is read and transferred to buf, or an
+ end-of-file condition is encountered. If any characters are read or if len
+ is one, the string is terminated with a null character. If no characters
+ are read due to an end-of-file or len is less than one, then the buffer is
+ left untouched.
+
+ gzgets returns buf which is a null-terminated string, or it returns NULL
+ for end-of-file or in case of error. If there was an error, the contents at
+ buf are indeterminate.
+*/
+
+ZEXTERN int ZEXPORT gzputc(gzFile file, int c);
+/*
+ Compress and write c, converted to an unsigned char, into file. gzputc
+ returns the value that was written, or -1 in case of error.
+*/
+
+ZEXTERN int ZEXPORT gzgetc(gzFile file);
+/*
+ Read and decompress one byte from file. gzgetc returns this byte or -1
+ in case of end of file or error. This is implemented as a macro for speed.
+ As such, it does not do all of the checking the other functions do. I.e.
+ it does not check to see if file is NULL, nor whether the structure file
+ points to has been clobbered or not.
+*/
+
+ZEXTERN int ZEXPORT gzungetc(int c, gzFile file);
+/*
+ Push c back onto the stream for file to be read as the first character on
+ the next read. At least one character of push-back is always allowed.
+ gzungetc() returns the character pushed, or -1 on failure. gzungetc() will
+ fail if c is -1, and may fail if a character has been pushed but not read
+ yet. If gzungetc is used immediately after gzopen or gzdopen, at least the
+ output buffer size of pushed characters is allowed. (See gzbuffer above.)
+ The pushed character will be discarded if the stream is repositioned with
+ gzseek() or gzrewind().
+*/
+
+ZEXTERN int ZEXPORT gzflush(gzFile file, int flush);
+/*
+ Flush all pending output to file. The parameter flush is as in the
+ deflate() function. The return value is the zlib error number (see function
+ gzerror below). gzflush is only permitted when writing.
+
+ If the flush parameter is Z_FINISH, the remaining data is written and the
+ gzip stream is completed in the output. If gzwrite() is called again, a new
+ gzip stream will be started in the output. gzread() is able to read such
+ concatenated gzip streams.
+
+ gzflush should be called only when strictly necessary because it will
+ degrade compression if called too often.
+*/
+
+/*
+ZEXTERN z_off_t ZEXPORT gzseek(gzFile file,
+ z_off_t offset, int whence);
+
+ Set the starting position to offset relative to whence for the next gzread
+ or gzwrite on file. The offset represents a number of bytes in the
+ uncompressed data stream. The whence parameter is defined as in lseek(2);
+ the value SEEK_END is not supported.
+
+ If the file is opened for reading, this function is emulated but can be
+ extremely slow. If the file is opened for writing, only forward seeks are
+ supported; gzseek then compresses a sequence of zeroes up to the new
+ starting position.
+
+ gzseek returns the resulting offset location as measured in bytes from
+ the beginning of the uncompressed stream, or -1 in case of error, in
+ particular if the file is opened for writing and the new starting position
+ would be before the current position.
+*/
+
+ZEXTERN int ZEXPORT gzrewind(gzFile file);
+/*
+ Rewind file. This function is supported only for reading.
+
+ gzrewind(file) is equivalent to (int)gzseek(file, 0L, SEEK_SET).
+*/
+
+/*
+ZEXTERN z_off_t ZEXPORT gztell(gzFile file);
+
+ Return the starting position for the next gzread or gzwrite on file.
+ This position represents a number of bytes in the uncompressed data stream,
+ and is zero when starting, even if appending or reading a gzip stream from
+ the middle of a file using gzdopen().
+
+ gztell(file) is equivalent to gzseek(file, 0L, SEEK_CUR)
+*/
+
+/*
+ZEXTERN z_off_t ZEXPORT gzoffset(gzFile file);
+
+ Return the current compressed (actual) read or write offset of file. This
+ offset includes the count of bytes that precede the gzip stream, for example
+ when appending or when using gzdopen() for reading. When reading, the
+ offset does not include as yet unused buffered input. This information can
+ be used for a progress indicator. On error, gzoffset() returns -1.
+*/
+
+ZEXTERN int ZEXPORT gzeof(gzFile file);
+/*
+ Return true (1) if the end-of-file indicator for file has been set while
+ reading, false (0) otherwise. Note that the end-of-file indicator is set
+ only if the read tried to go past the end of the input, but came up short.
+ Therefore, just like feof(), gzeof() may return false even if there is no
+ more data to read, in the event that the last read request was for the exact
+ number of bytes remaining in the input file. This will happen if the input
+ file size is an exact multiple of the buffer size.
+
+ If gzeof() returns true, then the read functions will return no more data,
+ unless the end-of-file indicator is reset by gzclearerr() and the input file
+ has grown since the previous end of file was detected.
+*/
+
+ZEXTERN int ZEXPORT gzdirect(gzFile file);
+/*
+ Return true (1) if file is being copied directly while reading, or false
+ (0) if file is a gzip stream being decompressed.
+
+ If the input file is empty, gzdirect() will return true, since the input
+ does not contain a gzip stream.
+
+ If gzdirect() is used immediately after gzopen() or gzdopen() it will
+ cause buffers to be allocated to allow reading the file to determine if it
+ is a gzip file. Therefore if gzbuffer() is used, it should be called before
+ gzdirect().
+
+ When writing, gzdirect() returns true (1) if transparent writing was
+ requested ("wT" for the gzopen() mode), or false (0) otherwise. (Note:
+ gzdirect() is not needed when writing. Transparent writing must be
+ explicitly requested, so the application already knows the answer. When
+ linking statically, using gzdirect() will include all of the zlib code for
+ gzip file reading and decompression, which may not be desired.)
+*/
+
+ZEXTERN int ZEXPORT gzclose(gzFile file);
+/*
+ Flush all pending output for file, if necessary, close file and
+ deallocate the (de)compression state. Note that once file is closed, you
+ cannot call gzerror with file, since its structures have been deallocated.
+ gzclose must not be called more than once on the same file, just as free
+ must not be called more than once on the same allocation.
+
+ gzclose will return Z_STREAM_ERROR if file is not valid, Z_ERRNO on a
+ file operation error, Z_MEM_ERROR if out of memory, Z_BUF_ERROR if the
+ last read ended in the middle of a gzip stream, or Z_OK on success.
+*/
+
+ZEXTERN int ZEXPORT gzclose_r(gzFile file);
+ZEXTERN int ZEXPORT gzclose_w(gzFile file);
+/*
+ Same as gzclose(), but gzclose_r() is only for use when reading, and
+ gzclose_w() is only for use when writing or appending. The advantage to
+ using these instead of gzclose() is that they avoid linking in zlib
+ compression or decompression code that is not used when only reading or only
+ writing respectively. If gzclose() is used, then both compression and
+ decompression code will be included the application when linking to a static
+ zlib library.
+*/
+
+ZEXTERN const char * ZEXPORT gzerror(gzFile file, int *errnum);
+/*
+ Return the error message for the last error which occurred on file.
+ errnum is set to zlib error number. If an error occurred in the file system
+ and not in the compression library, errnum is set to Z_ERRNO and the
+ application may consult errno to get the exact error code.
+
+ The application must not modify the returned string. Future calls to
+ this function may invalidate the previously returned string. If file is
+ closed, then the string previously returned by gzerror will no longer be
+ available.
+
+ gzerror() should be used to distinguish errors from end-of-file for those
+ functions above that do not distinguish those cases in their return values.
+*/
+
+ZEXTERN void ZEXPORT gzclearerr(gzFile file);
+/*
+ Clear the error and end-of-file flags for file. This is analogous to the
+ clearerr() function in stdio. This is useful for continuing to read a gzip
+ file that is being written concurrently.
+*/
+
+#endif /* !Z_SOLO */
+
+ /* checksum functions */
+
+/*
+ These functions are not related to compression but are exported
+ anyway because they might be useful in applications using the compression
+ library.
+*/
+
+ZEXTERN uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len);
+/*
+ Update a running Adler-32 checksum with the bytes buf[0..len-1] and
+ return the updated checksum. An Adler-32 value is in the range of a 32-bit
+ unsigned integer. If buf is Z_NULL, this function returns the required
+ initial value for the checksum.
+
+ An Adler-32 checksum is almost as reliable as a CRC-32 but can be computed
+ much faster.
+
+ Usage example:
+
+ uLong adler = adler32(0L, Z_NULL, 0);
+
+ while (read_buffer(buffer, length) != EOF) {
+ adler = adler32(adler, buffer, length);
+ }
+ if (adler != original_adler) error();
+*/
+
+ZEXTERN uLong ZEXPORT adler32_z(uLong adler, const Bytef *buf,
+ z_size_t len);
+/*
+ Same as adler32(), but with a size_t length.
+*/
+
+/*
+ZEXTERN uLong ZEXPORT adler32_combine(uLong adler1, uLong adler2,
+ z_off_t len2);
+
+ Combine two Adler-32 checksums into one. For two sequences of bytes, seq1
+ and seq2 with lengths len1 and len2, Adler-32 checksums were calculated for
+ each, adler1 and adler2. adler32_combine() returns the Adler-32 checksum of
+ seq1 and seq2 concatenated, requiring only adler1, adler2, and len2. Note
+ that the z_off_t type (like off_t) is a signed integer. If len2 is
+ negative, the result has no meaning or utility.
+*/
+
+ZEXTERN uLong ZEXPORT crc32(uLong crc, const Bytef *buf, uInt len);
+/*
+ Update a running CRC-32 with the bytes buf[0..len-1] and return the
+ updated CRC-32. A CRC-32 value is in the range of a 32-bit unsigned integer.
+ If buf is Z_NULL, this function returns the required initial value for the
+ crc. Pre- and post-conditioning (one's complement) is performed within this
+ function so it shouldn't be done by the application.
+
+ Usage example:
+
+ uLong crc = crc32(0L, Z_NULL, 0);
+
+ while (read_buffer(buffer, length) != EOF) {
+ crc = crc32(crc, buffer, length);
+ }
+ if (crc != original_crc) error();
+*/
+
+ZEXTERN uLong ZEXPORT crc32_z(uLong crc, const Bytef *buf,
+ z_size_t len);
+/*
+ Same as crc32(), but with a size_t length.
+*/
+
+/*
+ZEXTERN uLong ZEXPORT crc32_combine(uLong crc1, uLong crc2, z_off_t len2);
+
+ Combine two CRC-32 check values into one. For two sequences of bytes,
+ seq1 and seq2 with lengths len1 and len2, CRC-32 check values were
+ calculated for each, crc1 and crc2. crc32_combine() returns the CRC-32
+ check value of seq1 and seq2 concatenated, requiring only crc1, crc2, and
+ len2. len2 must be non-negative.
+*/
+
+/*
+ZEXTERN uLong ZEXPORT crc32_combine_gen(z_off_t len2);
+
+ Return the operator corresponding to length len2, to be used with
+ crc32_combine_op(). len2 must be non-negative.
+*/
+
+ZEXTERN uLong ZEXPORT crc32_combine_op(uLong crc1, uLong crc2, uLong op);
+/*
+ Give the same result as crc32_combine(), using op in place of len2. op is
+ is generated from len2 by crc32_combine_gen(). This will be faster than
+ crc32_combine() if the generated op is used more than once.
+*/
+
+
+ /* various hacks, don't look :) */
+
+/* deflateInit and inflateInit are macros to allow checking the zlib version
+ * and the compiler's view of z_stream:
+ */
+ZEXTERN int ZEXPORT deflateInit_(z_streamp strm, int level,
+ const char *version, int stream_size);
+ZEXTERN int ZEXPORT inflateInit_(z_streamp strm,
+ const char *version, int stream_size);
+ZEXTERN int ZEXPORT deflateInit2_(z_streamp strm, int level, int method,
+ int windowBits, int memLevel,
+ int strategy, const char *version,
+ int stream_size);
+ZEXTERN int ZEXPORT inflateInit2_(z_streamp strm, int windowBits,
+ const char *version, int stream_size);
+ZEXTERN int ZEXPORT inflateBackInit_(z_streamp strm, int windowBits,
+ unsigned char FAR *window,
+ const char *version,
+ int stream_size);
+#ifdef Z_PREFIX_SET
+# define z_deflateInit(strm, level) \
+ deflateInit_((strm), (level), ZLIB_VERSION, (int)sizeof(z_stream))
+# define z_inflateInit(strm) \
+ inflateInit_((strm), ZLIB_VERSION, (int)sizeof(z_stream))
+# define z_deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
+ deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
+ (strategy), ZLIB_VERSION, (int)sizeof(z_stream))
+# define z_inflateInit2(strm, windowBits) \
+ inflateInit2_((strm), (windowBits), ZLIB_VERSION, \
+ (int)sizeof(z_stream))
+# define z_inflateBackInit(strm, windowBits, window) \
+ inflateBackInit_((strm), (windowBits), (window), \
+ ZLIB_VERSION, (int)sizeof(z_stream))
+#else
+# define deflateInit(strm, level) \
+ deflateInit_((strm), (level), ZLIB_VERSION, (int)sizeof(z_stream))
+# define inflateInit(strm) \
+ inflateInit_((strm), ZLIB_VERSION, (int)sizeof(z_stream))
+# define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
+ deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
+ (strategy), ZLIB_VERSION, (int)sizeof(z_stream))
+# define inflateInit2(strm, windowBits) \
+ inflateInit2_((strm), (windowBits), ZLIB_VERSION, \
+ (int)sizeof(z_stream))
+# define inflateBackInit(strm, windowBits, window) \
+ inflateBackInit_((strm), (windowBits), (window), \
+ ZLIB_VERSION, (int)sizeof(z_stream))
+#endif
+
+#ifndef Z_SOLO
+
+/* gzgetc() macro and its supporting function and exposed data structure. Note
+ * that the real internal state is much larger than the exposed structure.
+ * This abbreviated structure exposes just enough for the gzgetc() macro. The
+ * user should not mess with these exposed elements, since their names or
+ * behavior could change in the future, perhaps even capriciously. They can
+ * only be used by the gzgetc() macro. You have been warned.
+ */
+struct gzFile_s {
+ unsigned have;
+ unsigned char *next;
+ z_off64_t pos;
+};
+ZEXTERN int ZEXPORT gzgetc_(gzFile file); /* backward compatibility */
+#ifdef Z_PREFIX_SET
+# undef z_gzgetc
+# define z_gzgetc(g) \
+ ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : (gzgetc)(g))
+#else
+# define gzgetc(g) \
+ ((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : (gzgetc)(g))
+#endif
+
+/* provide 64-bit offset functions if _LARGEFILE64_SOURCE defined, and/or
+ * change the regular functions to 64 bits if _FILE_OFFSET_BITS is 64 (if
+ * both are true, the application gets the *64 functions, and the regular
+ * functions are changed to 64 bits) -- in case these are set on systems
+ * without large file support, _LFS64_LARGEFILE must also be true
+ */
+#ifdef Z_LARGE64
+ ZEXTERN gzFile ZEXPORT gzopen64(const char *, const char *);
+ ZEXTERN z_off64_t ZEXPORT gzseek64(gzFile, z_off64_t, int);
+ ZEXTERN z_off64_t ZEXPORT gztell64(gzFile);
+ ZEXTERN z_off64_t ZEXPORT gzoffset64(gzFile);
+ ZEXTERN uLong ZEXPORT adler32_combine64(uLong, uLong, z_off64_t);
+ ZEXTERN uLong ZEXPORT crc32_combine64(uLong, uLong, z_off64_t);
+ ZEXTERN uLong ZEXPORT crc32_combine_gen64(z_off64_t);
+#endif
+
+#if !defined(ZLIB_INTERNAL) && defined(Z_WANT64)
+# ifdef Z_PREFIX_SET
+# define z_gzopen z_gzopen64
+# define z_gzseek z_gzseek64
+# define z_gztell z_gztell64
+# define z_gzoffset z_gzoffset64
+# define z_adler32_combine z_adler32_combine64
+# define z_crc32_combine z_crc32_combine64
+# define z_crc32_combine_gen z_crc32_combine_gen64
+# else
+# define gzopen gzopen64
+# define gzseek gzseek64
+# define gztell gztell64
+# define gzoffset gzoffset64
+# define adler32_combine adler32_combine64
+# define crc32_combine crc32_combine64
+# define crc32_combine_gen crc32_combine_gen64
+# endif
+# ifndef Z_LARGE64
+ ZEXTERN gzFile ZEXPORT gzopen64(const char *, const char *);
+ ZEXTERN z_off_t ZEXPORT gzseek64(gzFile, z_off_t, int);
+ ZEXTERN z_off_t ZEXPORT gztell64(gzFile);
+ ZEXTERN z_off_t ZEXPORT gzoffset64(gzFile);
+ ZEXTERN uLong ZEXPORT adler32_combine64(uLong, uLong, z_off_t);
+ ZEXTERN uLong ZEXPORT crc32_combine64(uLong, uLong, z_off_t);
+ ZEXTERN uLong ZEXPORT crc32_combine_gen64(z_off_t);
+# endif
+#else
+ ZEXTERN gzFile ZEXPORT gzopen(const char *, const char *);
+ ZEXTERN z_off_t ZEXPORT gzseek(gzFile, z_off_t, int);
+ ZEXTERN z_off_t ZEXPORT gztell(gzFile);
+ ZEXTERN z_off_t ZEXPORT gzoffset(gzFile);
+ ZEXTERN uLong ZEXPORT adler32_combine(uLong, uLong, z_off_t);
+ ZEXTERN uLong ZEXPORT crc32_combine(uLong, uLong, z_off_t);
+ ZEXTERN uLong ZEXPORT crc32_combine_gen(z_off_t);
+#endif
+
+#else /* Z_SOLO */
+
+ ZEXTERN uLong ZEXPORT adler32_combine(uLong, uLong, z_off_t);
+ ZEXTERN uLong ZEXPORT crc32_combine(uLong, uLong, z_off_t);
+ ZEXTERN uLong ZEXPORT crc32_combine_gen(z_off_t);
+
+#endif /* !Z_SOLO */
+
+/* undocumented functions */
+ZEXTERN const char * ZEXPORT zError(int);
+ZEXTERN int ZEXPORT inflateSyncPoint(z_streamp);
+ZEXTERN const z_crc_t FAR * ZEXPORT get_crc_table(void);
+ZEXTERN int ZEXPORT inflateUndermine(z_streamp, int);
+ZEXTERN int ZEXPORT inflateValidate(z_streamp, int);
+ZEXTERN unsigned long ZEXPORT inflateCodesUsed(z_streamp);
+ZEXTERN int ZEXPORT inflateResetKeep(z_streamp);
+ZEXTERN int ZEXPORT deflateResetKeep(z_streamp);
+#if defined(_WIN32) && !defined(Z_SOLO)
+ZEXTERN gzFile ZEXPORT gzopen_w(const wchar_t *path,
+ const char *mode);
+#endif
+#if defined(STDC) || defined(Z_HAVE_STDARG_H)
+# ifndef Z_SOLO
+ZEXTERN int ZEXPORTVA gzvprintf(gzFile file,
+ const char *format,
+ va_list va);
+# endif
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* ZLIB_H */
diff --git a/pgsql/include/zstd.h b/pgsql/include/zstd.h
new file mode 100644
index 0000000000000000000000000000000000000000..5d1fef8a6b47f6eef8695e42acc83ba706efe9ed
--- /dev/null
+++ b/pgsql/include/zstd.h
@@ -0,0 +1,3089 @@
+/*
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ * All rights reserved.
+ *
+ * This source code is licensed under both the BSD-style license (found in the
+ * LICENSE file in the root directory of this source tree) and the GPLv2 (found
+ * in the COPYING file in the root directory of this source tree).
+ * You may select, at your option, one of the above-listed licenses.
+ */
+#if defined (__cplusplus)
+extern "C" {
+#endif
+
+#ifndef ZSTD_H_235446
+#define ZSTD_H_235446
+
+/* ====== Dependencies ======*/
+#include /* INT_MAX */
+#include /* size_t */
+
+
+/* ===== ZSTDLIB_API : control library symbols visibility ===== */
+#ifndef ZSTDLIB_VISIBLE
+ /* Backwards compatibility with old macro name */
+# ifdef ZSTDLIB_VISIBILITY
+# define ZSTDLIB_VISIBLE ZSTDLIB_VISIBILITY
+# elif defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__MINGW32__)
+# define ZSTDLIB_VISIBLE __attribute__ ((visibility ("default")))
+# else
+# define ZSTDLIB_VISIBLE
+# endif
+#endif
+
+#ifndef ZSTDLIB_HIDDEN
+# if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__MINGW32__)
+# define ZSTDLIB_HIDDEN __attribute__ ((visibility ("hidden")))
+# else
+# define ZSTDLIB_HIDDEN
+# endif
+#endif
+
+#if defined(ZSTD_DLL_EXPORT) && (ZSTD_DLL_EXPORT==1)
+# define ZSTDLIB_API __declspec(dllexport) ZSTDLIB_VISIBLE
+#elif defined(ZSTD_DLL_IMPORT) && (ZSTD_DLL_IMPORT==1)
+# define ZSTDLIB_API __declspec(dllimport) ZSTDLIB_VISIBLE /* It isn't required but allows to generate better code, saving a function pointer load from the IAT and an indirect jump.*/
+#else
+# define ZSTDLIB_API ZSTDLIB_VISIBLE
+#endif
+
+/* Deprecation warnings :
+ * Should these warnings be a problem, it is generally possible to disable them,
+ * typically with -Wno-deprecated-declarations for gcc or _CRT_SECURE_NO_WARNINGS in Visual.
+ * Otherwise, it's also possible to define ZSTD_DISABLE_DEPRECATE_WARNINGS.
+ */
+#ifdef ZSTD_DISABLE_DEPRECATE_WARNINGS
+# define ZSTD_DEPRECATED(message) /* disable deprecation warnings */
+#else
+# if defined (__cplusplus) && (__cplusplus >= 201402) /* C++14 or greater */
+# define ZSTD_DEPRECATED(message) [[deprecated(message)]]
+# elif (defined(GNUC) && (GNUC > 4 || (GNUC == 4 && GNUC_MINOR >= 5))) || defined(__clang__)
+# define ZSTD_DEPRECATED(message) __attribute__((deprecated(message)))
+# elif defined(__GNUC__) && (__GNUC__ >= 3)
+# define ZSTD_DEPRECATED(message) __attribute__((deprecated))
+# elif defined(_MSC_VER)
+# define ZSTD_DEPRECATED(message) __declspec(deprecated(message))
+# else
+# pragma message("WARNING: You need to implement ZSTD_DEPRECATED for this compiler")
+# define ZSTD_DEPRECATED(message)
+# endif
+#endif /* ZSTD_DISABLE_DEPRECATE_WARNINGS */
+
+
+/*******************************************************************************
+ Introduction
+
+ zstd, short for Zstandard, is a fast lossless compression algorithm, targeting
+ real-time compression scenarios at zlib-level and better compression ratios.
+ The zstd compression library provides in-memory compression and decompression
+ functions.
+
+ The library supports regular compression levels from 1 up to ZSTD_maxCLevel(),
+ which is currently 22. Levels >= 20, labeled `--ultra`, should be used with
+ caution, as they require more memory. The library also offers negative
+ compression levels, which extend the range of speed vs. ratio preferences.
+ The lower the level, the faster the speed (at the cost of compression).
+
+ Compression can be done in:
+ - a single step (described as Simple API)
+ - a single step, reusing a context (described as Explicit context)
+ - unbounded multiple steps (described as Streaming compression)
+
+ The compression ratio achievable on small data can be highly improved using
+ a dictionary. Dictionary compression can be performed in:
+ - a single step (described as Simple dictionary API)
+ - a single step, reusing a dictionary (described as Bulk-processing
+ dictionary API)
+
+ Advanced experimental functions can be accessed using
+ `#define ZSTD_STATIC_LINKING_ONLY` before including zstd.h.
+
+ Advanced experimental APIs should never be used with a dynamically-linked
+ library. They are not "stable"; their definitions or signatures may change in
+ the future. Only static linking is allowed.
+*******************************************************************************/
+
+/*------ Version ------*/
+#define ZSTD_VERSION_MAJOR 1
+#define ZSTD_VERSION_MINOR 5
+#define ZSTD_VERSION_RELEASE 6
+#define ZSTD_VERSION_NUMBER (ZSTD_VERSION_MAJOR *100*100 + ZSTD_VERSION_MINOR *100 + ZSTD_VERSION_RELEASE)
+
+/*! ZSTD_versionNumber() :
+ * Return runtime library version, the value is (MAJOR*100*100 + MINOR*100 + RELEASE). */
+ZSTDLIB_API unsigned ZSTD_versionNumber(void);
+
+#define ZSTD_LIB_VERSION ZSTD_VERSION_MAJOR.ZSTD_VERSION_MINOR.ZSTD_VERSION_RELEASE
+#define ZSTD_QUOTE(str) #str
+#define ZSTD_EXPAND_AND_QUOTE(str) ZSTD_QUOTE(str)
+#define ZSTD_VERSION_STRING ZSTD_EXPAND_AND_QUOTE(ZSTD_LIB_VERSION)
+
+/*! ZSTD_versionString() :
+ * Return runtime library version, like "1.4.5". Requires v1.3.0+. */
+ZSTDLIB_API const char* ZSTD_versionString(void);
+
+/* *************************************
+ * Default constant
+ ***************************************/
+#ifndef ZSTD_CLEVEL_DEFAULT
+# define ZSTD_CLEVEL_DEFAULT 3
+#endif
+
+/* *************************************
+ * Constants
+ ***************************************/
+
+/* All magic numbers are supposed read/written to/from files/memory using little-endian convention */
+#define ZSTD_MAGICNUMBER 0xFD2FB528 /* valid since v0.8.0 */
+#define ZSTD_MAGIC_DICTIONARY 0xEC30A437 /* valid since v0.7.0 */
+#define ZSTD_MAGIC_SKIPPABLE_START 0x184D2A50 /* all 16 values, from 0x184D2A50 to 0x184D2A5F, signal the beginning of a skippable frame */
+#define ZSTD_MAGIC_SKIPPABLE_MASK 0xFFFFFFF0
+
+#define ZSTD_BLOCKSIZELOG_MAX 17
+#define ZSTD_BLOCKSIZE_MAX (1<= ZSTD_compressBound(srcSize)` guarantees that zstd will have
+ * enough space to successfully compress the data.
+ * @return : compressed size written into `dst` (<= `dstCapacity),
+ * or an error code if it fails (which can be tested using ZSTD_isError()). */
+ZSTDLIB_API size_t ZSTD_compress( void* dst, size_t dstCapacity,
+ const void* src, size_t srcSize,
+ int compressionLevel);
+
+/*! ZSTD_decompress() :
+ * `compressedSize` : must be the _exact_ size of some number of compressed and/or skippable frames.
+ * `dstCapacity` is an upper bound of originalSize to regenerate.
+ * If user cannot imply a maximum upper bound, it's better to use streaming mode to decompress data.
+ * @return : the number of bytes decompressed into `dst` (<= `dstCapacity`),
+ * or an errorCode if it fails (which can be tested using ZSTD_isError()). */
+ZSTDLIB_API size_t ZSTD_decompress( void* dst, size_t dstCapacity,
+ const void* src, size_t compressedSize);
+
+/*! ZSTD_getFrameContentSize() : requires v1.3.0+
+ * `src` should point to the start of a ZSTD encoded frame.
+ * `srcSize` must be at least as large as the frame header.
+ * hint : any size >= `ZSTD_frameHeaderSize_max` is large enough.
+ * @return : - decompressed size of `src` frame content, if known
+ * - ZSTD_CONTENTSIZE_UNKNOWN if the size cannot be determined
+ * - ZSTD_CONTENTSIZE_ERROR if an error occurred (e.g. invalid magic number, srcSize too small)
+ * note 1 : a 0 return value means the frame is valid but "empty".
+ * note 2 : decompressed size is an optional field, it may not be present, typically in streaming mode.
+ * When `return==ZSTD_CONTENTSIZE_UNKNOWN`, data to decompress could be any size.
+ * In which case, it's necessary to use streaming mode to decompress data.
+ * Optionally, application can rely on some implicit limit,
+ * as ZSTD_decompress() only needs an upper bound of decompressed size.
+ * (For example, data could be necessarily cut into blocks <= 16 KB).
+ * note 3 : decompressed size is always present when compression is completed using single-pass functions,
+ * such as ZSTD_compress(), ZSTD_compressCCtx() ZSTD_compress_usingDict() or ZSTD_compress_usingCDict().
+ * note 4 : decompressed size can be very large (64-bits value),
+ * potentially larger than what local system can handle as a single memory segment.
+ * In which case, it's necessary to use streaming mode to decompress data.
+ * note 5 : If source is untrusted, decompressed size could be wrong or intentionally modified.
+ * Always ensure return value fits within application's authorized limits.
+ * Each application can set its own limits.
+ * note 6 : This function replaces ZSTD_getDecompressedSize() */
+#define ZSTD_CONTENTSIZE_UNKNOWN (0ULL - 1)
+#define ZSTD_CONTENTSIZE_ERROR (0ULL - 2)
+ZSTDLIB_API unsigned long long ZSTD_getFrameContentSize(const void *src, size_t srcSize);
+
+/*! ZSTD_getDecompressedSize() :
+ * NOTE: This function is now obsolete, in favor of ZSTD_getFrameContentSize().
+ * Both functions work the same way, but ZSTD_getDecompressedSize() blends
+ * "empty", "unknown" and "error" results to the same return value (0),
+ * while ZSTD_getFrameContentSize() gives them separate return values.
+ * @return : decompressed size of `src` frame content _if known and not empty_, 0 otherwise. */
+ZSTD_DEPRECATED("Replaced by ZSTD_getFrameContentSize")
+ZSTDLIB_API
+unsigned long long ZSTD_getDecompressedSize(const void* src, size_t srcSize);
+
+/*! ZSTD_findFrameCompressedSize() : Requires v1.4.0+
+ * `src` should point to the start of a ZSTD frame or skippable frame.
+ * `srcSize` must be >= first frame size
+ * @return : the compressed size of the first frame starting at `src`,
+ * suitable to pass as `srcSize` to `ZSTD_decompress` or similar,
+ * or an error code if input is invalid */
+ZSTDLIB_API size_t ZSTD_findFrameCompressedSize(const void* src, size_t srcSize);
+
+
+/*====== Helper functions ======*/
+/* ZSTD_compressBound() :
+ * maximum compressed size in worst case single-pass scenario.
+ * When invoking `ZSTD_compress()` or any other one-pass compression function,
+ * it's recommended to provide @dstCapacity >= ZSTD_compressBound(srcSize)
+ * as it eliminates one potential failure scenario,
+ * aka not enough room in dst buffer to write the compressed frame.
+ * Note : ZSTD_compressBound() itself can fail, if @srcSize > ZSTD_MAX_INPUT_SIZE .
+ * In which case, ZSTD_compressBound() will return an error code
+ * which can be tested using ZSTD_isError().
+ *
+ * ZSTD_COMPRESSBOUND() :
+ * same as ZSTD_compressBound(), but as a macro.
+ * It can be used to produce constants, which can be useful for static allocation,
+ * for example to size a static array on stack.
+ * Will produce constant value 0 if srcSize too large.
+ */
+#define ZSTD_MAX_INPUT_SIZE ((sizeof(size_t)==8) ? 0xFF00FF00FF00FF00ULL : 0xFF00FF00U)
+#define ZSTD_COMPRESSBOUND(srcSize) (((size_t)(srcSize) >= ZSTD_MAX_INPUT_SIZE) ? 0 : (srcSize) + ((srcSize)>>8) + (((srcSize) < (128<<10)) ? (((128<<10) - (srcSize)) >> 11) /* margin, from 64 to 0 */ : 0)) /* this formula ensures that bound(A) + bound(B) <= bound(A+B) as long as A and B >= 128 KB */
+ZSTDLIB_API size_t ZSTD_compressBound(size_t srcSize); /*!< maximum compressed size in worst case single-pass scenario */
+/* ZSTD_isError() :
+ * Most ZSTD_* functions returning a size_t value can be tested for error,
+ * using ZSTD_isError().
+ * @return 1 if error, 0 otherwise
+ */
+ZSTDLIB_API unsigned ZSTD_isError(size_t code); /*!< tells if a `size_t` function result is an error code */
+ZSTDLIB_API const char* ZSTD_getErrorName(size_t code); /*!< provides readable string from an error code */
+ZSTDLIB_API int ZSTD_minCLevel(void); /*!< minimum negative compression level allowed, requires v1.4.0+ */
+ZSTDLIB_API int ZSTD_maxCLevel(void); /*!< maximum compression level available */
+ZSTDLIB_API int ZSTD_defaultCLevel(void); /*!< default compression level, specified by ZSTD_CLEVEL_DEFAULT, requires v1.5.0+ */
+
+
+/***************************************
+* Explicit context
+***************************************/
+/*= Compression context
+ * When compressing many times,
+ * it is recommended to allocate a context just once,
+ * and reuse it for each successive compression operation.
+ * This will make workload friendlier for system's memory.
+ * Note : re-using context is just a speed / resource optimization.
+ * It doesn't change the compression ratio, which remains identical.
+ * Note 2 : In multi-threaded environments,
+ * use one different context per thread for parallel execution.
+ */
+typedef struct ZSTD_CCtx_s ZSTD_CCtx;
+ZSTDLIB_API ZSTD_CCtx* ZSTD_createCCtx(void);
+ZSTDLIB_API size_t ZSTD_freeCCtx(ZSTD_CCtx* cctx); /* accept NULL pointer */
+
+/*! ZSTD_compressCCtx() :
+ * Same as ZSTD_compress(), using an explicit ZSTD_CCtx.
+ * Important : in order to mirror `ZSTD_compress()` behavior,
+ * this function compresses at the requested compression level,
+ * __ignoring any other advanced parameter__ .
+ * If any advanced parameter was set using the advanced API,
+ * they will all be reset. Only `compressionLevel` remains.
+ */
+ZSTDLIB_API size_t ZSTD_compressCCtx(ZSTD_CCtx* cctx,
+ void* dst, size_t dstCapacity,
+ const void* src, size_t srcSize,
+ int compressionLevel);
+
+/*= Decompression context
+ * When decompressing many times,
+ * it is recommended to allocate a context only once,
+ * and reuse it for each successive compression operation.
+ * This will make workload friendlier for system's memory.
+ * Use one context per thread for parallel execution. */
+typedef struct ZSTD_DCtx_s ZSTD_DCtx;
+ZSTDLIB_API ZSTD_DCtx* ZSTD_createDCtx(void);
+ZSTDLIB_API size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx); /* accept NULL pointer */
+
+/*! ZSTD_decompressDCtx() :
+ * Same as ZSTD_decompress(),
+ * requires an allocated ZSTD_DCtx.
+ * Compatible with sticky parameters (see below).
+ */
+ZSTDLIB_API size_t ZSTD_decompressDCtx(ZSTD_DCtx* dctx,
+ void* dst, size_t dstCapacity,
+ const void* src, size_t srcSize);
+
+
+/*********************************************
+* Advanced compression API (Requires v1.4.0+)
+**********************************************/
+
+/* API design :
+ * Parameters are pushed one by one into an existing context,
+ * using ZSTD_CCtx_set*() functions.
+ * Pushed parameters are sticky : they are valid for next compressed frame, and any subsequent frame.
+ * "sticky" parameters are applicable to `ZSTD_compress2()` and `ZSTD_compressStream*()` !
+ * __They do not apply to one-shot variants such as ZSTD_compressCCtx()__ .
+ *
+ * It's possible to reset all parameters to "default" using ZSTD_CCtx_reset().
+ *
+ * This API supersedes all other "advanced" API entry points in the experimental section.
+ * In the future, we expect to remove API entry points from experimental which are redundant with this API.
+ */
+
+
+/* Compression strategies, listed from fastest to strongest */
+typedef enum { ZSTD_fast=1,
+ ZSTD_dfast=2,
+ ZSTD_greedy=3,
+ ZSTD_lazy=4,
+ ZSTD_lazy2=5,
+ ZSTD_btlazy2=6,
+ ZSTD_btopt=7,
+ ZSTD_btultra=8,
+ ZSTD_btultra2=9
+ /* note : new strategies _might_ be added in the future.
+ Only the order (from fast to strong) is guaranteed */
+} ZSTD_strategy;
+
+typedef enum {
+
+ /* compression parameters
+ * Note: When compressing with a ZSTD_CDict these parameters are superseded
+ * by the parameters used to construct the ZSTD_CDict.
+ * See ZSTD_CCtx_refCDict() for more info (superseded-by-cdict). */
+ ZSTD_c_compressionLevel=100, /* Set compression parameters according to pre-defined cLevel table.
+ * Note that exact compression parameters are dynamically determined,
+ * depending on both compression level and srcSize (when known).
+ * Default level is ZSTD_CLEVEL_DEFAULT==3.
+ * Special: value 0 means default, which is controlled by ZSTD_CLEVEL_DEFAULT.
+ * Note 1 : it's possible to pass a negative compression level.
+ * Note 2 : setting a level does not automatically set all other compression parameters
+ * to default. Setting this will however eventually dynamically impact the compression
+ * parameters which have not been manually set. The manually set
+ * ones will 'stick'. */
+ /* Advanced compression parameters :
+ * It's possible to pin down compression parameters to some specific values.
+ * In which case, these values are no longer dynamically selected by the compressor */
+ ZSTD_c_windowLog=101, /* Maximum allowed back-reference distance, expressed as power of 2.
+ * This will set a memory budget for streaming decompression,
+ * with larger values requiring more memory
+ * and typically compressing more.
+ * Must be clamped between ZSTD_WINDOWLOG_MIN and ZSTD_WINDOWLOG_MAX.
+ * Special: value 0 means "use default windowLog".
+ * Note: Using a windowLog greater than ZSTD_WINDOWLOG_LIMIT_DEFAULT
+ * requires explicitly allowing such size at streaming decompression stage. */
+ ZSTD_c_hashLog=102, /* Size of the initial probe table, as a power of 2.
+ * Resulting memory usage is (1 << (hashLog+2)).
+ * Must be clamped between ZSTD_HASHLOG_MIN and ZSTD_HASHLOG_MAX.
+ * Larger tables improve compression ratio of strategies <= dFast,
+ * and improve speed of strategies > dFast.
+ * Special: value 0 means "use default hashLog". */
+ ZSTD_c_chainLog=103, /* Size of the multi-probe search table, as a power of 2.
+ * Resulting memory usage is (1 << (chainLog+2)).
+ * Must be clamped between ZSTD_CHAINLOG_MIN and ZSTD_CHAINLOG_MAX.
+ * Larger tables result in better and slower compression.
+ * This parameter is useless for "fast" strategy.
+ * It's still useful when using "dfast" strategy,
+ * in which case it defines a secondary probe table.
+ * Special: value 0 means "use default chainLog". */
+ ZSTD_c_searchLog=104, /* Number of search attempts, as a power of 2.
+ * More attempts result in better and slower compression.
+ * This parameter is useless for "fast" and "dFast" strategies.
+ * Special: value 0 means "use default searchLog". */
+ ZSTD_c_minMatch=105, /* Minimum size of searched matches.
+ * Note that Zstandard can still find matches of smaller size,
+ * it just tweaks its search algorithm to look for this size and larger.
+ * Larger values increase compression and decompression speed, but decrease ratio.
+ * Must be clamped between ZSTD_MINMATCH_MIN and ZSTD_MINMATCH_MAX.
+ * Note that currently, for all strategies < btopt, effective minimum is 4.
+ * , for all strategies > fast, effective maximum is 6.
+ * Special: value 0 means "use default minMatchLength". */
+ ZSTD_c_targetLength=106, /* Impact of this field depends on strategy.
+ * For strategies btopt, btultra & btultra2:
+ * Length of Match considered "good enough" to stop search.
+ * Larger values make compression stronger, and slower.
+ * For strategy fast:
+ * Distance between match sampling.
+ * Larger values make compression faster, and weaker.
+ * Special: value 0 means "use default targetLength". */
+ ZSTD_c_strategy=107, /* See ZSTD_strategy enum definition.
+ * The higher the value of selected strategy, the more complex it is,
+ * resulting in stronger and slower compression.
+ * Special: value 0 means "use default strategy". */
+
+ ZSTD_c_targetCBlockSize=130, /* v1.5.6+
+ * Attempts to fit compressed block size into approximatively targetCBlockSize.
+ * Bound by ZSTD_TARGETCBLOCKSIZE_MIN and ZSTD_TARGETCBLOCKSIZE_MAX.
+ * Note that it's not a guarantee, just a convergence target (default:0).
+ * No target when targetCBlockSize == 0.
+ * This is helpful in low bandwidth streaming environments to improve end-to-end latency,
+ * when a client can make use of partial documents (a prominent example being Chrome).
+ * Note: this parameter is stable since v1.5.6.
+ * It was present as an experimental parameter in earlier versions,
+ * but it's not recommended using it with earlier library versions
+ * due to massive performance regressions.
+ */
+ /* LDM mode parameters */
+ ZSTD_c_enableLongDistanceMatching=160, /* Enable long distance matching.
+ * This parameter is designed to improve compression ratio
+ * for large inputs, by finding large matches at long distance.
+ * It increases memory usage and window size.
+ * Note: enabling this parameter increases default ZSTD_c_windowLog to 128 MB
+ * except when expressly set to a different value.
+ * Note: will be enabled by default if ZSTD_c_windowLog >= 128 MB and
+ * compression strategy >= ZSTD_btopt (== compression level 16+) */
+ ZSTD_c_ldmHashLog=161, /* Size of the table for long distance matching, as a power of 2.
+ * Larger values increase memory usage and compression ratio,
+ * but decrease compression speed.
+ * Must be clamped between ZSTD_HASHLOG_MIN and ZSTD_HASHLOG_MAX
+ * default: windowlog - 7.
+ * Special: value 0 means "automatically determine hashlog". */
+ ZSTD_c_ldmMinMatch=162, /* Minimum match size for long distance matcher.
+ * Larger/too small values usually decrease compression ratio.
+ * Must be clamped between ZSTD_LDM_MINMATCH_MIN and ZSTD_LDM_MINMATCH_MAX.
+ * Special: value 0 means "use default value" (default: 64). */
+ ZSTD_c_ldmBucketSizeLog=163, /* Log size of each bucket in the LDM hash table for collision resolution.
+ * Larger values improve collision resolution but decrease compression speed.
+ * The maximum value is ZSTD_LDM_BUCKETSIZELOG_MAX.
+ * Special: value 0 means "use default value" (default: 3). */
+ ZSTD_c_ldmHashRateLog=164, /* Frequency of inserting/looking up entries into the LDM hash table.
+ * Must be clamped between 0 and (ZSTD_WINDOWLOG_MAX - ZSTD_HASHLOG_MIN).
+ * Default is MAX(0, (windowLog - ldmHashLog)), optimizing hash table usage.
+ * Larger values improve compression speed.
+ * Deviating far from default value will likely result in a compression ratio decrease.
+ * Special: value 0 means "automatically determine hashRateLog". */
+
+ /* frame parameters */
+ ZSTD_c_contentSizeFlag=200, /* Content size will be written into frame header _whenever known_ (default:1)
+ * Content size must be known at the beginning of compression.
+ * This is automatically the case when using ZSTD_compress2(),
+ * For streaming scenarios, content size must be provided with ZSTD_CCtx_setPledgedSrcSize() */
+ ZSTD_c_checksumFlag=201, /* A 32-bits checksum of content is written at end of frame (default:0) */
+ ZSTD_c_dictIDFlag=202, /* When applicable, dictionary's ID is written into frame header (default:1) */
+
+ /* multi-threading parameters */
+ /* These parameters are only active if multi-threading is enabled (compiled with build macro ZSTD_MULTITHREAD).
+ * Otherwise, trying to set any other value than default (0) will be a no-op and return an error.
+ * In a situation where it's unknown if the linked library supports multi-threading or not,
+ * setting ZSTD_c_nbWorkers to any value >= 1 and consulting the return value provides a quick way to check this property.
+ */
+ ZSTD_c_nbWorkers=400, /* Select how many threads will be spawned to compress in parallel.
+ * When nbWorkers >= 1, triggers asynchronous mode when invoking ZSTD_compressStream*() :
+ * ZSTD_compressStream*() consumes input and flush output if possible, but immediately gives back control to caller,
+ * while compression is performed in parallel, within worker thread(s).
+ * (note : a strong exception to this rule is when first invocation of ZSTD_compressStream2() sets ZSTD_e_end :
+ * in which case, ZSTD_compressStream2() delegates to ZSTD_compress2(), which is always a blocking call).
+ * More workers improve speed, but also increase memory usage.
+ * Default value is `0`, aka "single-threaded mode" : no worker is spawned,
+ * compression is performed inside Caller's thread, and all invocations are blocking */
+ ZSTD_c_jobSize=401, /* Size of a compression job. This value is enforced only when nbWorkers >= 1.
+ * Each compression job is completed in parallel, so this value can indirectly impact the nb of active threads.
+ * 0 means default, which is dynamically determined based on compression parameters.
+ * Job size must be a minimum of overlap size, or ZSTDMT_JOBSIZE_MIN (= 512 KB), whichever is largest.
+ * The minimum size is automatically and transparently enforced. */
+ ZSTD_c_overlapLog=402, /* Control the overlap size, as a fraction of window size.
+ * The overlap size is an amount of data reloaded from previous job at the beginning of a new job.
+ * It helps preserve compression ratio, while each job is compressed in parallel.
+ * This value is enforced only when nbWorkers >= 1.
+ * Larger values increase compression ratio, but decrease speed.
+ * Possible values range from 0 to 9 :
+ * - 0 means "default" : value will be determined by the library, depending on strategy
+ * - 1 means "no overlap"
+ * - 9 means "full overlap", using a full window size.
+ * Each intermediate rank increases/decreases load size by a factor 2 :
+ * 9: full window; 8: w/2; 7: w/4; 6: w/8; 5:w/16; 4: w/32; 3:w/64; 2:w/128; 1:no overlap; 0:default
+ * default value varies between 6 and 9, depending on strategy */
+
+ /* note : additional experimental parameters are also available
+ * within the experimental section of the API.
+ * At the time of this writing, they include :
+ * ZSTD_c_rsyncable
+ * ZSTD_c_format
+ * ZSTD_c_forceMaxWindow
+ * ZSTD_c_forceAttachDict
+ * ZSTD_c_literalCompressionMode
+ * ZSTD_c_srcSizeHint
+ * ZSTD_c_enableDedicatedDictSearch
+ * ZSTD_c_stableInBuffer
+ * ZSTD_c_stableOutBuffer
+ * ZSTD_c_blockDelimiters
+ * ZSTD_c_validateSequences
+ * ZSTD_c_useBlockSplitter
+ * ZSTD_c_useRowMatchFinder
+ * ZSTD_c_prefetchCDictTables
+ * ZSTD_c_enableSeqProducerFallback
+ * ZSTD_c_maxBlockSize
+ * Because they are not stable, it's necessary to define ZSTD_STATIC_LINKING_ONLY to access them.
+ * note : never ever use experimentalParam? names directly;
+ * also, the enums values themselves are unstable and can still change.
+ */
+ ZSTD_c_experimentalParam1=500,
+ ZSTD_c_experimentalParam2=10,
+ ZSTD_c_experimentalParam3=1000,
+ ZSTD_c_experimentalParam4=1001,
+ ZSTD_c_experimentalParam5=1002,
+ /* was ZSTD_c_experimentalParam6=1003; is now ZSTD_c_targetCBlockSize */
+ ZSTD_c_experimentalParam7=1004,
+ ZSTD_c_experimentalParam8=1005,
+ ZSTD_c_experimentalParam9=1006,
+ ZSTD_c_experimentalParam10=1007,
+ ZSTD_c_experimentalParam11=1008,
+ ZSTD_c_experimentalParam12=1009,
+ ZSTD_c_experimentalParam13=1010,
+ ZSTD_c_experimentalParam14=1011,
+ ZSTD_c_experimentalParam15=1012,
+ ZSTD_c_experimentalParam16=1013,
+ ZSTD_c_experimentalParam17=1014,
+ ZSTD_c_experimentalParam18=1015,
+ ZSTD_c_experimentalParam19=1016
+} ZSTD_cParameter;
+
+typedef struct {
+ size_t error;
+ int lowerBound;
+ int upperBound;
+} ZSTD_bounds;
+
+/*! ZSTD_cParam_getBounds() :
+ * All parameters must belong to an interval with lower and upper bounds,
+ * otherwise they will either trigger an error or be automatically clamped.
+ * @return : a structure, ZSTD_bounds, which contains
+ * - an error status field, which must be tested using ZSTD_isError()
+ * - lower and upper bounds, both inclusive
+ */
+ZSTDLIB_API ZSTD_bounds ZSTD_cParam_getBounds(ZSTD_cParameter cParam);
+
+/*! ZSTD_CCtx_setParameter() :
+ * Set one compression parameter, selected by enum ZSTD_cParameter.
+ * All parameters have valid bounds. Bounds can be queried using ZSTD_cParam_getBounds().
+ * Providing a value beyond bound will either clamp it, or trigger an error (depending on parameter).
+ * Setting a parameter is generally only possible during frame initialization (before starting compression).
+ * Exception : when using multi-threading mode (nbWorkers >= 1),
+ * the following parameters can be updated _during_ compression (within same frame):
+ * => compressionLevel, hashLog, chainLog, searchLog, minMatch, targetLength and strategy.
+ * new parameters will be active for next job only (after a flush()).
+ * @return : an error code (which can be tested using ZSTD_isError()).
+ */
+ZSTDLIB_API size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value);
+
+/*! ZSTD_CCtx_setPledgedSrcSize() :
+ * Total input data size to be compressed as a single frame.
+ * Value will be written in frame header, unless if explicitly forbidden using ZSTD_c_contentSizeFlag.
+ * This value will also be controlled at end of frame, and trigger an error if not respected.
+ * @result : 0, or an error code (which can be tested with ZSTD_isError()).
+ * Note 1 : pledgedSrcSize==0 actually means zero, aka an empty frame.
+ * In order to mean "unknown content size", pass constant ZSTD_CONTENTSIZE_UNKNOWN.
+ * ZSTD_CONTENTSIZE_UNKNOWN is default value for any new frame.
+ * Note 2 : pledgedSrcSize is only valid once, for the next frame.
+ * It's discarded at the end of the frame, and replaced by ZSTD_CONTENTSIZE_UNKNOWN.
+ * Note 3 : Whenever all input data is provided and consumed in a single round,
+ * for example with ZSTD_compress2(),
+ * or invoking immediately ZSTD_compressStream2(,,,ZSTD_e_end),
+ * this value is automatically overridden by srcSize instead.
+ */
+ZSTDLIB_API size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize);
+
+typedef enum {
+ ZSTD_reset_session_only = 1,
+ ZSTD_reset_parameters = 2,
+ ZSTD_reset_session_and_parameters = 3
+} ZSTD_ResetDirective;
+
+/*! ZSTD_CCtx_reset() :
+ * There are 2 different things that can be reset, independently or jointly :
+ * - The session : will stop compressing current frame, and make CCtx ready to start a new one.
+ * Useful after an error, or to interrupt any ongoing compression.
+ * Any internal data not yet flushed is cancelled.
+ * Compression parameters and dictionary remain unchanged.
+ * They will be used to compress next frame.
+ * Resetting session never fails.
+ * - The parameters : changes all parameters back to "default".
+ * This also removes any reference to any dictionary or external sequence producer.
+ * Parameters can only be changed between 2 sessions (i.e. no compression is currently ongoing)
+ * otherwise the reset fails, and function returns an error value (which can be tested using ZSTD_isError())
+ * - Both : similar to resetting the session, followed by resetting parameters.
+ */
+ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset);
+
+/*! ZSTD_compress2() :
+ * Behave the same as ZSTD_compressCCtx(), but compression parameters are set using the advanced API.
+ * (note that this entry point doesn't even expose a compression level parameter).
+ * ZSTD_compress2() always starts a new frame.
+ * Should cctx hold data from a previously unfinished frame, everything about it is forgotten.
+ * - Compression parameters are pushed into CCtx before starting compression, using ZSTD_CCtx_set*()
+ * - The function is always blocking, returns when compression is completed.
+ * NOTE: Providing `dstCapacity >= ZSTD_compressBound(srcSize)` guarantees that zstd will have
+ * enough space to successfully compress the data, though it is possible it fails for other reasons.
+ * @return : compressed size written into `dst` (<= `dstCapacity),
+ * or an error code if it fails (which can be tested using ZSTD_isError()).
+ */
+ZSTDLIB_API size_t ZSTD_compress2( ZSTD_CCtx* cctx,
+ void* dst, size_t dstCapacity,
+ const void* src, size_t srcSize);
+
+
+/***********************************************
+* Advanced decompression API (Requires v1.4.0+)
+************************************************/
+
+/* The advanced API pushes parameters one by one into an existing DCtx context.
+ * Parameters are sticky, and remain valid for all following frames
+ * using the same DCtx context.
+ * It's possible to reset parameters to default values using ZSTD_DCtx_reset().
+ * Note : This API is compatible with existing ZSTD_decompressDCtx() and ZSTD_decompressStream().
+ * Therefore, no new decompression function is necessary.
+ */
+
+typedef enum {
+
+ ZSTD_d_windowLogMax=100, /* Select a size limit (in power of 2) beyond which
+ * the streaming API will refuse to allocate memory buffer
+ * in order to protect the host from unreasonable memory requirements.
+ * This parameter is only useful in streaming mode, since no internal buffer is allocated in single-pass mode.
+ * By default, a decompression context accepts window sizes <= (1 << ZSTD_WINDOWLOG_LIMIT_DEFAULT).
+ * Special: value 0 means "use default maximum windowLog". */
+
+ /* note : additional experimental parameters are also available
+ * within the experimental section of the API.
+ * At the time of this writing, they include :
+ * ZSTD_d_format
+ * ZSTD_d_stableOutBuffer
+ * ZSTD_d_forceIgnoreChecksum
+ * ZSTD_d_refMultipleDDicts
+ * ZSTD_d_disableHuffmanAssembly
+ * ZSTD_d_maxBlockSize
+ * Because they are not stable, it's necessary to define ZSTD_STATIC_LINKING_ONLY to access them.
+ * note : never ever use experimentalParam? names directly
+ */
+ ZSTD_d_experimentalParam1=1000,
+ ZSTD_d_experimentalParam2=1001,
+ ZSTD_d_experimentalParam3=1002,
+ ZSTD_d_experimentalParam4=1003,
+ ZSTD_d_experimentalParam5=1004,
+ ZSTD_d_experimentalParam6=1005
+
+} ZSTD_dParameter;
+
+/*! ZSTD_dParam_getBounds() :
+ * All parameters must belong to an interval with lower and upper bounds,
+ * otherwise they will either trigger an error or be automatically clamped.
+ * @return : a structure, ZSTD_bounds, which contains
+ * - an error status field, which must be tested using ZSTD_isError()
+ * - both lower and upper bounds, inclusive
+ */
+ZSTDLIB_API ZSTD_bounds ZSTD_dParam_getBounds(ZSTD_dParameter dParam);
+
+/*! ZSTD_DCtx_setParameter() :
+ * Set one compression parameter, selected by enum ZSTD_dParameter.
+ * All parameters have valid bounds. Bounds can be queried using ZSTD_dParam_getBounds().
+ * Providing a value beyond bound will either clamp it, or trigger an error (depending on parameter).
+ * Setting a parameter is only possible during frame initialization (before starting decompression).
+ * @return : 0, or an error code (which can be tested using ZSTD_isError()).
+ */
+ZSTDLIB_API size_t ZSTD_DCtx_setParameter(ZSTD_DCtx* dctx, ZSTD_dParameter param, int value);
+
+/*! ZSTD_DCtx_reset() :
+ * Return a DCtx to clean state.
+ * Session and parameters can be reset jointly or separately.
+ * Parameters can only be reset when no active frame is being decompressed.
+ * @return : 0, or an error code, which can be tested with ZSTD_isError()
+ */
+ZSTDLIB_API size_t ZSTD_DCtx_reset(ZSTD_DCtx* dctx, ZSTD_ResetDirective reset);
+
+
+/****************************
+* Streaming
+****************************/
+
+typedef struct ZSTD_inBuffer_s {
+ const void* src; /**< start of input buffer */
+ size_t size; /**< size of input buffer */
+ size_t pos; /**< position where reading stopped. Will be updated. Necessarily 0 <= pos <= size */
+} ZSTD_inBuffer;
+
+typedef struct ZSTD_outBuffer_s {
+ void* dst; /**< start of output buffer */
+ size_t size; /**< size of output buffer */
+ size_t pos; /**< position where writing stopped. Will be updated. Necessarily 0 <= pos <= size */
+} ZSTD_outBuffer;
+
+
+
+/*-***********************************************************************
+* Streaming compression - HowTo
+*
+* A ZSTD_CStream object is required to track streaming operation.
+* Use ZSTD_createCStream() and ZSTD_freeCStream() to create/release resources.
+* ZSTD_CStream objects can be reused multiple times on consecutive compression operations.
+* It is recommended to reuse ZSTD_CStream since it will play nicer with system's memory, by re-using already allocated memory.
+*
+* For parallel execution, use one separate ZSTD_CStream per thread.
+*
+* note : since v1.3.0, ZSTD_CStream and ZSTD_CCtx are the same thing.
+*
+* Parameters are sticky : when starting a new compression on the same context,
+* it will reuse the same sticky parameters as previous compression session.
+* When in doubt, it's recommended to fully initialize the context before usage.
+* Use ZSTD_CCtx_reset() to reset the context and ZSTD_CCtx_setParameter(),
+* ZSTD_CCtx_setPledgedSrcSize(), or ZSTD_CCtx_loadDictionary() and friends to
+* set more specific parameters, the pledged source size, or load a dictionary.
+*
+* Use ZSTD_compressStream2() with ZSTD_e_continue as many times as necessary to
+* consume input stream. The function will automatically update both `pos`
+* fields within `input` and `output`.
+* Note that the function may not consume the entire input, for example, because
+* the output buffer is already full, in which case `input.pos < input.size`.
+* The caller must check if input has been entirely consumed.
+* If not, the caller must make some room to receive more compressed data,
+* and then present again remaining input data.
+* note: ZSTD_e_continue is guaranteed to make some forward progress when called,
+* but doesn't guarantee maximal forward progress. This is especially relevant
+* when compressing with multiple threads. The call won't block if it can
+* consume some input, but if it can't it will wait for some, but not all,
+* output to be flushed.
+* @return : provides a minimum amount of data remaining to be flushed from internal buffers
+* or an error code, which can be tested using ZSTD_isError().
+*
+* At any moment, it's possible to flush whatever data might remain stuck within internal buffer,
+* using ZSTD_compressStream2() with ZSTD_e_flush. `output->pos` will be updated.
+* Note that, if `output->size` is too small, a single invocation with ZSTD_e_flush might not be enough (return code > 0).
+* In which case, make some room to receive more compressed data, and call again ZSTD_compressStream2() with ZSTD_e_flush.
+* You must continue calling ZSTD_compressStream2() with ZSTD_e_flush until it returns 0, at which point you can change the
+* operation.
+* note: ZSTD_e_flush will flush as much output as possible, meaning when compressing with multiple threads, it will
+* block until the flush is complete or the output buffer is full.
+* @return : 0 if internal buffers are entirely flushed,
+* >0 if some data still present within internal buffer (the value is minimal estimation of remaining size),
+* or an error code, which can be tested using ZSTD_isError().
+*
+* Calling ZSTD_compressStream2() with ZSTD_e_end instructs to finish a frame.
+* It will perform a flush and write frame epilogue.
+* The epilogue is required for decoders to consider a frame completed.
+* flush operation is the same, and follows same rules as calling ZSTD_compressStream2() with ZSTD_e_flush.
+* You must continue calling ZSTD_compressStream2() with ZSTD_e_end until it returns 0, at which point you are free to
+* start a new frame.
+* note: ZSTD_e_end will flush as much output as possible, meaning when compressing with multiple threads, it will
+* block until the flush is complete or the output buffer is full.
+* @return : 0 if frame fully completed and fully flushed,
+* >0 if some data still present within internal buffer (the value is minimal estimation of remaining size),
+* or an error code, which can be tested using ZSTD_isError().
+*
+* *******************************************************************/
+
+typedef ZSTD_CCtx ZSTD_CStream; /**< CCtx and CStream are now effectively same object (>= v1.3.0) */
+ /* Continue to distinguish them for compatibility with older versions <= v1.2.0 */
+/*===== ZSTD_CStream management functions =====*/
+ZSTDLIB_API ZSTD_CStream* ZSTD_createCStream(void);
+ZSTDLIB_API size_t ZSTD_freeCStream(ZSTD_CStream* zcs); /* accept NULL pointer */
+
+/*===== Streaming compression functions =====*/
+typedef enum {
+ ZSTD_e_continue=0, /* collect more data, encoder decides when to output compressed result, for optimal compression ratio */
+ ZSTD_e_flush=1, /* flush any data provided so far,
+ * it creates (at least) one new block, that can be decoded immediately on reception;
+ * frame will continue: any future data can still reference previously compressed data, improving compression.
+ * note : multithreaded compression will block to flush as much output as possible. */
+ ZSTD_e_end=2 /* flush any remaining data _and_ close current frame.
+ * note that frame is only closed after compressed data is fully flushed (return value == 0).
+ * After that point, any additional data starts a new frame.
+ * note : each frame is independent (does not reference any content from previous frame).
+ : note : multithreaded compression will block to flush as much output as possible. */
+} ZSTD_EndDirective;
+
+/*! ZSTD_compressStream2() : Requires v1.4.0+
+ * Behaves about the same as ZSTD_compressStream, with additional control on end directive.
+ * - Compression parameters are pushed into CCtx before starting compression, using ZSTD_CCtx_set*()
+ * - Compression parameters cannot be changed once compression is started (save a list of exceptions in multi-threading mode)
+ * - output->pos must be <= dstCapacity, input->pos must be <= srcSize
+ * - output->pos and input->pos will be updated. They are guaranteed to remain below their respective limit.
+ * - endOp must be a valid directive
+ * - When nbWorkers==0 (default), function is blocking : it completes its job before returning to caller.
+ * - When nbWorkers>=1, function is non-blocking : it copies a portion of input, distributes jobs to internal worker threads, flush to output whatever is available,
+ * and then immediately returns, just indicating that there is some data remaining to be flushed.
+ * The function nonetheless guarantees forward progress : it will return only after it reads or write at least 1+ byte.
+ * - Exception : if the first call requests a ZSTD_e_end directive and provides enough dstCapacity, the function delegates to ZSTD_compress2() which is always blocking.
+ * - @return provides a minimum amount of data remaining to be flushed from internal buffers
+ * or an error code, which can be tested using ZSTD_isError().
+ * if @return != 0, flush is not fully completed, there is still some data left within internal buffers.
+ * This is useful for ZSTD_e_flush, since in this case more flushes are necessary to empty all buffers.
+ * For ZSTD_e_end, @return == 0 when internal buffers are fully flushed and frame is completed.
+ * - after a ZSTD_e_end directive, if internal buffer is not fully flushed (@return != 0),
+ * only ZSTD_e_end or ZSTD_e_flush operations are allowed.
+ * Before starting a new compression job, or changing compression parameters,
+ * it is required to fully flush internal buffers.
+ * - note: if an operation ends with an error, it may leave @cctx in an undefined state.
+ * Therefore, it's UB to invoke ZSTD_compressStream2() of ZSTD_compressStream() on such a state.
+ * In order to be re-employed after an error, a state must be reset,
+ * which can be done explicitly (ZSTD_CCtx_reset()),
+ * or is sometimes implied by methods starting a new compression job (ZSTD_initCStream(), ZSTD_compressCCtx())
+ */
+ZSTDLIB_API size_t ZSTD_compressStream2( ZSTD_CCtx* cctx,
+ ZSTD_outBuffer* output,
+ ZSTD_inBuffer* input,
+ ZSTD_EndDirective endOp);
+
+
+/* These buffer sizes are softly recommended.
+ * They are not required : ZSTD_compressStream*() happily accepts any buffer size, for both input and output.
+ * Respecting the recommended size just makes it a bit easier for ZSTD_compressStream*(),
+ * reducing the amount of memory shuffling and buffering, resulting in minor performance savings.
+ *
+ * However, note that these recommendations are from the perspective of a C caller program.
+ * If the streaming interface is invoked from some other language,
+ * especially managed ones such as Java or Go, through a foreign function interface such as jni or cgo,
+ * a major performance rule is to reduce crossing such interface to an absolute minimum.
+ * It's not rare that performance ends being spent more into the interface, rather than compression itself.
+ * In which cases, prefer using large buffers, as large as practical,
+ * for both input and output, to reduce the nb of roundtrips.
+ */
+ZSTDLIB_API size_t ZSTD_CStreamInSize(void); /**< recommended size for input buffer */
+ZSTDLIB_API size_t ZSTD_CStreamOutSize(void); /**< recommended size for output buffer. Guarantee to successfully flush at least one complete compressed block. */
+
+
+/* *****************************************************************************
+ * This following is a legacy streaming API, available since v1.0+ .
+ * It can be replaced by ZSTD_CCtx_reset() and ZSTD_compressStream2().
+ * It is redundant, but remains fully supported.
+ ******************************************************************************/
+
+/*!
+ * Equivalent to:
+ *
+ * ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only);
+ * ZSTD_CCtx_refCDict(zcs, NULL); // clear the dictionary (if any)
+ * ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel);
+ *
+ * Note that ZSTD_initCStream() clears any previously set dictionary. Use the new API
+ * to compress with a dictionary.
+ */
+ZSTDLIB_API size_t ZSTD_initCStream(ZSTD_CStream* zcs, int compressionLevel);
+/*!
+ * Alternative for ZSTD_compressStream2(zcs, output, input, ZSTD_e_continue).
+ * NOTE: The return value is different. ZSTD_compressStream() returns a hint for
+ * the next read size (if non-zero and not an error). ZSTD_compressStream2()
+ * returns the minimum nb of bytes left to flush (if non-zero and not an error).
+ */
+ZSTDLIB_API size_t ZSTD_compressStream(ZSTD_CStream* zcs, ZSTD_outBuffer* output, ZSTD_inBuffer* input);
+/*! Equivalent to ZSTD_compressStream2(zcs, output, &emptyInput, ZSTD_e_flush). */
+ZSTDLIB_API size_t ZSTD_flushStream(ZSTD_CStream* zcs, ZSTD_outBuffer* output);
+/*! Equivalent to ZSTD_compressStream2(zcs, output, &emptyInput, ZSTD_e_end). */
+ZSTDLIB_API size_t ZSTD_endStream(ZSTD_CStream* zcs, ZSTD_outBuffer* output);
+
+
+/*-***************************************************************************
+* Streaming decompression - HowTo
+*
+* A ZSTD_DStream object is required to track streaming operations.
+* Use ZSTD_createDStream() and ZSTD_freeDStream() to create/release resources.
+* ZSTD_DStream objects can be reused multiple times.
+*
+* Use ZSTD_initDStream() to start a new decompression operation.
+* @return : recommended first input size
+* Alternatively, use advanced API to set specific properties.
+*
+* Use ZSTD_decompressStream() repetitively to consume your input.
+* The function will update both `pos` fields.
+* If `input.pos < input.size`, some input has not been consumed.
+* It's up to the caller to present again remaining data.
+* The function tries to flush all data decoded immediately, respecting output buffer size.
+* If `output.pos < output.size`, decoder has flushed everything it could.
+* But if `output.pos == output.size`, there might be some data left within internal buffers.,
+* In which case, call ZSTD_decompressStream() again to flush whatever remains in the buffer.
+* Note : with no additional input provided, amount of data flushed is necessarily <= ZSTD_BLOCKSIZE_MAX.
+* @return : 0 when a frame is completely decoded and fully flushed,
+* or an error code, which can be tested using ZSTD_isError(),
+* or any other value > 0, which means there is still some decoding or flushing to do to complete current frame :
+* the return value is a suggested next input size (just a hint for better latency)
+* that will never request more than the remaining frame size.
+* *******************************************************************************/
+
+typedef ZSTD_DCtx ZSTD_DStream; /**< DCtx and DStream are now effectively same object (>= v1.3.0) */
+ /* For compatibility with versions <= v1.2.0, prefer differentiating them. */
+/*===== ZSTD_DStream management functions =====*/
+ZSTDLIB_API ZSTD_DStream* ZSTD_createDStream(void);
+ZSTDLIB_API size_t ZSTD_freeDStream(ZSTD_DStream* zds); /* accept NULL pointer */
+
+/*===== Streaming decompression functions =====*/
+
+/*! ZSTD_initDStream() :
+ * Initialize/reset DStream state for new decompression operation.
+ * Call before new decompression operation using same DStream.
+ *
+ * Note : This function is redundant with the advanced API and equivalent to:
+ * ZSTD_DCtx_reset(zds, ZSTD_reset_session_only);
+ * ZSTD_DCtx_refDDict(zds, NULL);
+ */
+ZSTDLIB_API size_t ZSTD_initDStream(ZSTD_DStream* zds);
+
+/*! ZSTD_decompressStream() :
+ * Streaming decompression function.
+ * Call repetitively to consume full input updating it as necessary.
+ * Function will update both input and output `pos` fields exposing current state via these fields:
+ * - `input.pos < input.size`, some input remaining and caller should provide remaining input
+ * on the next call.
+ * - `output.pos < output.size`, decoder finished and flushed all remaining buffers.
+ * - `output.pos == output.size`, potentially uncflushed data present in the internal buffers,
+ * call ZSTD_decompressStream() again to flush remaining data to output.
+ * Note : with no additional input, amount of data flushed <= ZSTD_BLOCKSIZE_MAX.
+ *
+ * @return : 0 when a frame is completely decoded and fully flushed,
+ * or an error code, which can be tested using ZSTD_isError(),
+ * or any other value > 0, which means there is some decoding or flushing to do to complete current frame.
+ *
+ * Note: when an operation returns with an error code, the @zds state may be left in undefined state.
+ * It's UB to invoke `ZSTD_decompressStream()` on such a state.
+ * In order to re-use such a state, it must be first reset,
+ * which can be done explicitly (`ZSTD_DCtx_reset()`),
+ * or is implied for operations starting some new decompression job (`ZSTD_initDStream`, `ZSTD_decompressDCtx()`, `ZSTD_decompress_usingDict()`)
+ */
+ZSTDLIB_API size_t ZSTD_decompressStream(ZSTD_DStream* zds, ZSTD_outBuffer* output, ZSTD_inBuffer* input);
+
+ZSTDLIB_API size_t ZSTD_DStreamInSize(void); /*!< recommended size for input buffer */
+ZSTDLIB_API size_t ZSTD_DStreamOutSize(void); /*!< recommended size for output buffer. Guarantee to successfully flush at least one complete block in all circumstances. */
+
+
+/**************************
+* Simple dictionary API
+***************************/
+/*! ZSTD_compress_usingDict() :
+ * Compression at an explicit compression level using a Dictionary.
+ * A dictionary can be any arbitrary data segment (also called a prefix),
+ * or a buffer with specified information (see zdict.h).
+ * Note : This function loads the dictionary, resulting in significant startup delay.
+ * It's intended for a dictionary used only once.
+ * Note 2 : When `dict == NULL || dictSize < 8` no dictionary is used. */
+ZSTDLIB_API size_t ZSTD_compress_usingDict(ZSTD_CCtx* ctx,
+ void* dst, size_t dstCapacity,
+ const void* src, size_t srcSize,
+ const void* dict,size_t dictSize,
+ int compressionLevel);
+
+/*! ZSTD_decompress_usingDict() :
+ * Decompression using a known Dictionary.
+ * Dictionary must be identical to the one used during compression.
+ * Note : This function loads the dictionary, resulting in significant startup delay.
+ * It's intended for a dictionary used only once.
+ * Note : When `dict == NULL || dictSize < 8` no dictionary is used. */
+ZSTDLIB_API size_t ZSTD_decompress_usingDict(ZSTD_DCtx* dctx,
+ void* dst, size_t dstCapacity,
+ const void* src, size_t srcSize,
+ const void* dict,size_t dictSize);
+
+
+/***********************************
+ * Bulk processing dictionary API
+ **********************************/
+typedef struct ZSTD_CDict_s ZSTD_CDict;
+
+/*! ZSTD_createCDict() :
+ * When compressing multiple messages or blocks using the same dictionary,
+ * it's recommended to digest the dictionary only once, since it's a costly operation.
+ * ZSTD_createCDict() will create a state from digesting a dictionary.
+ * The resulting state can be used for future compression operations with very limited startup cost.
+ * ZSTD_CDict can be created once and shared by multiple threads concurrently, since its usage is read-only.
+ * @dictBuffer can be released after ZSTD_CDict creation, because its content is copied within CDict.
+ * Note 1 : Consider experimental function `ZSTD_createCDict_byReference()` if you prefer to not duplicate @dictBuffer content.
+ * Note 2 : A ZSTD_CDict can be created from an empty @dictBuffer,
+ * in which case the only thing that it transports is the @compressionLevel.
+ * This can be useful in a pipeline featuring ZSTD_compress_usingCDict() exclusively,
+ * expecting a ZSTD_CDict parameter with any data, including those without a known dictionary. */
+ZSTDLIB_API ZSTD_CDict* ZSTD_createCDict(const void* dictBuffer, size_t dictSize,
+ int compressionLevel);
+
+/*! ZSTD_freeCDict() :
+ * Function frees memory allocated by ZSTD_createCDict().
+ * If a NULL pointer is passed, no operation is performed. */
+ZSTDLIB_API size_t ZSTD_freeCDict(ZSTD_CDict* CDict);
+
+/*! ZSTD_compress_usingCDict() :
+ * Compression using a digested Dictionary.
+ * Recommended when same dictionary is used multiple times.
+ * Note : compression level is _decided at dictionary creation time_,
+ * and frame parameters are hardcoded (dictID=yes, contentSize=yes, checksum=no) */
+ZSTDLIB_API size_t ZSTD_compress_usingCDict(ZSTD_CCtx* cctx,
+ void* dst, size_t dstCapacity,
+ const void* src, size_t srcSize,
+ const ZSTD_CDict* cdict);
+
+
+typedef struct ZSTD_DDict_s ZSTD_DDict;
+
+/*! ZSTD_createDDict() :
+ * Create a digested dictionary, ready to start decompression operation without startup delay.
+ * dictBuffer can be released after DDict creation, as its content is copied inside DDict. */
+ZSTDLIB_API ZSTD_DDict* ZSTD_createDDict(const void* dictBuffer, size_t dictSize);
+
+/*! ZSTD_freeDDict() :
+ * Function frees memory allocated with ZSTD_createDDict()
+ * If a NULL pointer is passed, no operation is performed. */
+ZSTDLIB_API size_t ZSTD_freeDDict(ZSTD_DDict* ddict);
+
+/*! ZSTD_decompress_usingDDict() :
+ * Decompression using a digested Dictionary.
+ * Recommended when same dictionary is used multiple times. */
+ZSTDLIB_API size_t ZSTD_decompress_usingDDict(ZSTD_DCtx* dctx,
+ void* dst, size_t dstCapacity,
+ const void* src, size_t srcSize,
+ const ZSTD_DDict* ddict);
+
+
+/********************************
+ * Dictionary helper functions
+ *******************************/
+
+/*! ZSTD_getDictID_fromDict() : Requires v1.4.0+
+ * Provides the dictID stored within dictionary.
+ * if @return == 0, the dictionary is not conformant with Zstandard specification.
+ * It can still be loaded, but as a content-only dictionary. */
+ZSTDLIB_API unsigned ZSTD_getDictID_fromDict(const void* dict, size_t dictSize);
+
+/*! ZSTD_getDictID_fromCDict() : Requires v1.5.0+
+ * Provides the dictID of the dictionary loaded into `cdict`.
+ * If @return == 0, the dictionary is not conformant to Zstandard specification, or empty.
+ * Non-conformant dictionaries can still be loaded, but as content-only dictionaries. */
+ZSTDLIB_API unsigned ZSTD_getDictID_fromCDict(const ZSTD_CDict* cdict);
+
+/*! ZSTD_getDictID_fromDDict() : Requires v1.4.0+
+ * Provides the dictID of the dictionary loaded into `ddict`.
+ * If @return == 0, the dictionary is not conformant to Zstandard specification, or empty.
+ * Non-conformant dictionaries can still be loaded, but as content-only dictionaries. */
+ZSTDLIB_API unsigned ZSTD_getDictID_fromDDict(const ZSTD_DDict* ddict);
+
+/*! ZSTD_getDictID_fromFrame() : Requires v1.4.0+
+ * Provides the dictID required to decompressed the frame stored within `src`.
+ * If @return == 0, the dictID could not be decoded.
+ * This could for one of the following reasons :
+ * - The frame does not require a dictionary to be decoded (most common case).
+ * - The frame was built with dictID intentionally removed. Whatever dictionary is necessary is a hidden piece of information.
+ * Note : this use case also happens when using a non-conformant dictionary.
+ * - `srcSize` is too small, and as a result, the frame header could not be decoded (only possible if `srcSize < ZSTD_FRAMEHEADERSIZE_MAX`).
+ * - This is not a Zstandard frame.
+ * When identifying the exact failure cause, it's possible to use ZSTD_getFrameHeader(), which will provide a more precise error code. */
+ZSTDLIB_API unsigned ZSTD_getDictID_fromFrame(const void* src, size_t srcSize);
+
+
+/*******************************************************************************
+ * Advanced dictionary and prefix API (Requires v1.4.0+)
+ *
+ * This API allows dictionaries to be used with ZSTD_compress2(),
+ * ZSTD_compressStream2(), and ZSTD_decompressDCtx().
+ * Dictionaries are sticky, they remain valid when same context is reused,
+ * they only reset when the context is reset
+ * with ZSTD_reset_parameters or ZSTD_reset_session_and_parameters.
+ * In contrast, Prefixes are single-use.
+ ******************************************************************************/
+
+
+/*! ZSTD_CCtx_loadDictionary() : Requires v1.4.0+
+ * Create an internal CDict from `dict` buffer.
+ * Decompression will have to use same dictionary.
+ * @result : 0, or an error code (which can be tested with ZSTD_isError()).
+ * Special: Loading a NULL (or 0-size) dictionary invalidates previous dictionary,
+ * meaning "return to no-dictionary mode".
+ * Note 1 : Dictionary is sticky, it will be used for all future compressed frames,
+ * until parameters are reset, a new dictionary is loaded, or the dictionary
+ * is explicitly invalidated by loading a NULL dictionary.
+ * Note 2 : Loading a dictionary involves building tables.
+ * It's also a CPU consuming operation, with non-negligible impact on latency.
+ * Tables are dependent on compression parameters, and for this reason,
+ * compression parameters can no longer be changed after loading a dictionary.
+ * Note 3 :`dict` content will be copied internally.
+ * Use experimental ZSTD_CCtx_loadDictionary_byReference() to reference content instead.
+ * In such a case, dictionary buffer must outlive its users.
+ * Note 4 : Use ZSTD_CCtx_loadDictionary_advanced()
+ * to precisely select how dictionary content must be interpreted.
+ * Note 5 : This method does not benefit from LDM (long distance mode).
+ * If you want to employ LDM on some large dictionary content,
+ * prefer employing ZSTD_CCtx_refPrefix() described below.
+ */
+ZSTDLIB_API size_t ZSTD_CCtx_loadDictionary(ZSTD_CCtx* cctx, const void* dict, size_t dictSize);
+
+/*! ZSTD_CCtx_refCDict() : Requires v1.4.0+
+ * Reference a prepared dictionary, to be used for all future compressed frames.
+ * Note that compression parameters are enforced from within CDict,
+ * and supersede any compression parameter previously set within CCtx.
+ * The parameters ignored are labelled as "superseded-by-cdict" in the ZSTD_cParameter enum docs.
+ * The ignored parameters will be used again if the CCtx is returned to no-dictionary mode.
+ * The dictionary will remain valid for future compressed frames using same CCtx.
+ * @result : 0, or an error code (which can be tested with ZSTD_isError()).
+ * Special : Referencing a NULL CDict means "return to no-dictionary mode".
+ * Note 1 : Currently, only one dictionary can be managed.
+ * Referencing a new dictionary effectively "discards" any previous one.
+ * Note 2 : CDict is just referenced, its lifetime must outlive its usage within CCtx. */
+ZSTDLIB_API size_t ZSTD_CCtx_refCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict);
+
+/*! ZSTD_CCtx_refPrefix() : Requires v1.4.0+
+ * Reference a prefix (single-usage dictionary) for next compressed frame.
+ * A prefix is **only used once**. Tables are discarded at end of frame (ZSTD_e_end).
+ * Decompression will need same prefix to properly regenerate data.
+ * Compressing with a prefix is similar in outcome as performing a diff and compressing it,
+ * but performs much faster, especially during decompression (compression speed is tunable with compression level).
+ * This method is compatible with LDM (long distance mode).
+ * @result : 0, or an error code (which can be tested with ZSTD_isError()).
+ * Special: Adding any prefix (including NULL) invalidates any previous prefix or dictionary
+ * Note 1 : Prefix buffer is referenced. It **must** outlive compression.
+ * Its content must remain unmodified during compression.
+ * Note 2 : If the intention is to diff some large src data blob with some prior version of itself,
+ * ensure that the window size is large enough to contain the entire source.
+ * See ZSTD_c_windowLog.
+ * Note 3 : Referencing a prefix involves building tables, which are dependent on compression parameters.
+ * It's a CPU consuming operation, with non-negligible impact on latency.
+ * If there is a need to use the same prefix multiple times, consider loadDictionary instead.
+ * Note 4 : By default, the prefix is interpreted as raw content (ZSTD_dct_rawContent).
+ * Use experimental ZSTD_CCtx_refPrefix_advanced() to alter dictionary interpretation. */
+ZSTDLIB_API size_t ZSTD_CCtx_refPrefix(ZSTD_CCtx* cctx,
+ const void* prefix, size_t prefixSize);
+
+/*! ZSTD_DCtx_loadDictionary() : Requires v1.4.0+
+ * Create an internal DDict from dict buffer, to be used to decompress all future frames.
+ * The dictionary remains valid for all future frames, until explicitly invalidated, or
+ * a new dictionary is loaded.
+ * @result : 0, or an error code (which can be tested with ZSTD_isError()).
+ * Special : Adding a NULL (or 0-size) dictionary invalidates any previous dictionary,
+ * meaning "return to no-dictionary mode".
+ * Note 1 : Loading a dictionary involves building tables,
+ * which has a non-negligible impact on CPU usage and latency.
+ * It's recommended to "load once, use many times", to amortize the cost
+ * Note 2 :`dict` content will be copied internally, so `dict` can be released after loading.
+ * Use ZSTD_DCtx_loadDictionary_byReference() to reference dictionary content instead.
+ * Note 3 : Use ZSTD_DCtx_loadDictionary_advanced() to take control of
+ * how dictionary content is loaded and interpreted.
+ */
+ZSTDLIB_API size_t ZSTD_DCtx_loadDictionary(ZSTD_DCtx* dctx, const void* dict, size_t dictSize);
+
+/*! ZSTD_DCtx_refDDict() : Requires v1.4.0+
+ * Reference a prepared dictionary, to be used to decompress next frames.
+ * The dictionary remains active for decompression of future frames using same DCtx.
+ *
+ * If called with ZSTD_d_refMultipleDDicts enabled, repeated calls of this function
+ * will store the DDict references in a table, and the DDict used for decompression
+ * will be determined at decompression time, as per the dict ID in the frame.
+ * The memory for the table is allocated on the first call to refDDict, and can be
+ * freed with ZSTD_freeDCtx().
+ *
+ * If called with ZSTD_d_refMultipleDDicts disabled (the default), only one dictionary
+ * will be managed, and referencing a dictionary effectively "discards" any previous one.
+ *
+ * @result : 0, or an error code (which can be tested with ZSTD_isError()).
+ * Special: referencing a NULL DDict means "return to no-dictionary mode".
+ * Note 2 : DDict is just referenced, its lifetime must outlive its usage from DCtx.
+ */
+ZSTDLIB_API size_t ZSTD_DCtx_refDDict(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict);
+
+/*! ZSTD_DCtx_refPrefix() : Requires v1.4.0+
+ * Reference a prefix (single-usage dictionary) to decompress next frame.
+ * This is the reverse operation of ZSTD_CCtx_refPrefix(),
+ * and must use the same prefix as the one used during compression.
+ * Prefix is **only used once**. Reference is discarded at end of frame.
+ * End of frame is reached when ZSTD_decompressStream() returns 0.
+ * @result : 0, or an error code (which can be tested with ZSTD_isError()).
+ * Note 1 : Adding any prefix (including NULL) invalidates any previously set prefix or dictionary
+ * Note 2 : Prefix buffer is referenced. It **must** outlive decompression.
+ * Prefix buffer must remain unmodified up to the end of frame,
+ * reached when ZSTD_decompressStream() returns 0.
+ * Note 3 : By default, the prefix is treated as raw content (ZSTD_dct_rawContent).
+ * Use ZSTD_CCtx_refPrefix_advanced() to alter dictMode (Experimental section)
+ * Note 4 : Referencing a raw content prefix has almost no cpu nor memory cost.
+ * A full dictionary is more costly, as it requires building tables.
+ */
+ZSTDLIB_API size_t ZSTD_DCtx_refPrefix(ZSTD_DCtx* dctx,
+ const void* prefix, size_t prefixSize);
+
+/* === Memory management === */
+
+/*! ZSTD_sizeof_*() : Requires v1.4.0+
+ * These functions give the _current_ memory usage of selected object.
+ * Note that object memory usage can evolve (increase or decrease) over time. */
+ZSTDLIB_API size_t ZSTD_sizeof_CCtx(const ZSTD_CCtx* cctx);
+ZSTDLIB_API size_t ZSTD_sizeof_DCtx(const ZSTD_DCtx* dctx);
+ZSTDLIB_API size_t ZSTD_sizeof_CStream(const ZSTD_CStream* zcs);
+ZSTDLIB_API size_t ZSTD_sizeof_DStream(const ZSTD_DStream* zds);
+ZSTDLIB_API size_t ZSTD_sizeof_CDict(const ZSTD_CDict* cdict);
+ZSTDLIB_API size_t ZSTD_sizeof_DDict(const ZSTD_DDict* ddict);
+
+#endif /* ZSTD_H_235446 */
+
+
+/* **************************************************************************************
+ * ADVANCED AND EXPERIMENTAL FUNCTIONS
+ ****************************************************************************************
+ * The definitions in the following section are considered experimental.
+ * They are provided for advanced scenarios.
+ * They should never be used with a dynamic library, as prototypes may change in the future.
+ * Use them only in association with static linking.
+ * ***************************************************************************************/
+
+#if defined(ZSTD_STATIC_LINKING_ONLY) && !defined(ZSTD_H_ZSTD_STATIC_LINKING_ONLY)
+#define ZSTD_H_ZSTD_STATIC_LINKING_ONLY
+
+/* This can be overridden externally to hide static symbols. */
+#ifndef ZSTDLIB_STATIC_API
+# if defined(ZSTD_DLL_EXPORT) && (ZSTD_DLL_EXPORT==1)
+# define ZSTDLIB_STATIC_API __declspec(dllexport) ZSTDLIB_VISIBLE
+# elif defined(ZSTD_DLL_IMPORT) && (ZSTD_DLL_IMPORT==1)
+# define ZSTDLIB_STATIC_API __declspec(dllimport) ZSTDLIB_VISIBLE
+# else
+# define ZSTDLIB_STATIC_API ZSTDLIB_VISIBLE
+# endif
+#endif
+
+/****************************************************************************************
+ * experimental API (static linking only)
+ ****************************************************************************************
+ * The following symbols and constants
+ * are not planned to join "stable API" status in the near future.
+ * They can still change in future versions.
+ * Some of them are planned to remain in the static_only section indefinitely.
+ * Some of them might be removed in the future (especially when redundant with existing stable functions)
+ * ***************************************************************************************/
+
+#define ZSTD_FRAMEHEADERSIZE_PREFIX(format) ((format) == ZSTD_f_zstd1 ? 5 : 1) /* minimum input size required to query frame header size */
+#define ZSTD_FRAMEHEADERSIZE_MIN(format) ((format) == ZSTD_f_zstd1 ? 6 : 2)
+#define ZSTD_FRAMEHEADERSIZE_MAX 18 /* can be useful for static allocation */
+#define ZSTD_SKIPPABLEHEADERSIZE 8
+
+/* compression parameter bounds */
+#define ZSTD_WINDOWLOG_MAX_32 30
+#define ZSTD_WINDOWLOG_MAX_64 31
+#define ZSTD_WINDOWLOG_MAX ((int)(sizeof(size_t) == 4 ? ZSTD_WINDOWLOG_MAX_32 : ZSTD_WINDOWLOG_MAX_64))
+#define ZSTD_WINDOWLOG_MIN 10
+#define ZSTD_HASHLOG_MAX ((ZSTD_WINDOWLOG_MAX < 30) ? ZSTD_WINDOWLOG_MAX : 30)
+#define ZSTD_HASHLOG_MIN 6
+#define ZSTD_CHAINLOG_MAX_32 29
+#define ZSTD_CHAINLOG_MAX_64 30
+#define ZSTD_CHAINLOG_MAX ((int)(sizeof(size_t) == 4 ? ZSTD_CHAINLOG_MAX_32 : ZSTD_CHAINLOG_MAX_64))
+#define ZSTD_CHAINLOG_MIN ZSTD_HASHLOG_MIN
+#define ZSTD_SEARCHLOG_MAX (ZSTD_WINDOWLOG_MAX-1)
+#define ZSTD_SEARCHLOG_MIN 1
+#define ZSTD_MINMATCH_MAX 7 /* only for ZSTD_fast, other strategies are limited to 6 */
+#define ZSTD_MINMATCH_MIN 3 /* only for ZSTD_btopt+, faster strategies are limited to 4 */
+#define ZSTD_TARGETLENGTH_MAX ZSTD_BLOCKSIZE_MAX
+#define ZSTD_TARGETLENGTH_MIN 0 /* note : comparing this constant to an unsigned results in a tautological test */
+#define ZSTD_STRATEGY_MIN ZSTD_fast
+#define ZSTD_STRATEGY_MAX ZSTD_btultra2
+#define ZSTD_BLOCKSIZE_MAX_MIN (1 << 10) /* The minimum valid max blocksize. Maximum blocksizes smaller than this make compressBound() inaccurate. */
+
+
+#define ZSTD_OVERLAPLOG_MIN 0
+#define ZSTD_OVERLAPLOG_MAX 9
+
+#define ZSTD_WINDOWLOG_LIMIT_DEFAULT 27 /* by default, the streaming decoder will refuse any frame
+ * requiring larger than (1< 0:
+ * If litLength != 0:
+ * rep == 1 --> offset == repeat_offset_1
+ * rep == 2 --> offset == repeat_offset_2
+ * rep == 3 --> offset == repeat_offset_3
+ * If litLength == 0:
+ * rep == 1 --> offset == repeat_offset_2
+ * rep == 2 --> offset == repeat_offset_3
+ * rep == 3 --> offset == repeat_offset_1 - 1
+ *
+ * Note: This field is optional. ZSTD_generateSequences() will calculate the value of
+ * 'rep', but repeat offsets do not necessarily need to be calculated from an external
+ * sequence provider's perspective. For example, ZSTD_compressSequences() does not
+ * use this 'rep' field at all (as of now).
+ */
+} ZSTD_Sequence;
+
+typedef struct {
+ unsigned windowLog; /**< largest match distance : larger == more compression, more memory needed during decompression */
+ unsigned chainLog; /**< fully searched segment : larger == more compression, slower, more memory (useless for fast) */
+ unsigned hashLog; /**< dispatch table : larger == faster, more memory */
+ unsigned searchLog; /**< nb of searches : larger == more compression, slower */
+ unsigned minMatch; /**< match length searched : larger == faster decompression, sometimes less compression */
+ unsigned targetLength; /**< acceptable match size for optimal parser (only) : larger == more compression, slower */
+ ZSTD_strategy strategy; /**< see ZSTD_strategy definition above */
+} ZSTD_compressionParameters;
+
+typedef struct {
+ int contentSizeFlag; /**< 1: content size will be in frame header (when known) */
+ int checksumFlag; /**< 1: generate a 32-bits checksum using XXH64 algorithm at end of frame, for error detection */
+ int noDictIDFlag; /**< 1: no dictID will be saved into frame header (dictID is only useful for dictionary compression) */
+} ZSTD_frameParameters;
+
+typedef struct {
+ ZSTD_compressionParameters cParams;
+ ZSTD_frameParameters fParams;
+} ZSTD_parameters;
+
+typedef enum {
+ ZSTD_dct_auto = 0, /* dictionary is "full" when starting with ZSTD_MAGIC_DICTIONARY, otherwise it is "rawContent" */
+ ZSTD_dct_rawContent = 1, /* ensures dictionary is always loaded as rawContent, even if it starts with ZSTD_MAGIC_DICTIONARY */
+ ZSTD_dct_fullDict = 2 /* refuses to load a dictionary if it does not respect Zstandard's specification, starting with ZSTD_MAGIC_DICTIONARY */
+} ZSTD_dictContentType_e;
+
+typedef enum {
+ ZSTD_dlm_byCopy = 0, /**< Copy dictionary content internally */
+ ZSTD_dlm_byRef = 1 /**< Reference dictionary content -- the dictionary buffer must outlive its users. */
+} ZSTD_dictLoadMethod_e;
+
+typedef enum {
+ ZSTD_f_zstd1 = 0, /* zstd frame format, specified in zstd_compression_format.md (default) */
+ ZSTD_f_zstd1_magicless = 1 /* Variant of zstd frame format, without initial 4-bytes magic number.
+ * Useful to save 4 bytes per generated frame.
+ * Decoder cannot recognise automatically this format, requiring this instruction. */
+} ZSTD_format_e;
+
+typedef enum {
+ /* Note: this enum controls ZSTD_d_forceIgnoreChecksum */
+ ZSTD_d_validateChecksum = 0,
+ ZSTD_d_ignoreChecksum = 1
+} ZSTD_forceIgnoreChecksum_e;
+
+typedef enum {
+ /* Note: this enum controls ZSTD_d_refMultipleDDicts */
+ ZSTD_rmd_refSingleDDict = 0,
+ ZSTD_rmd_refMultipleDDicts = 1
+} ZSTD_refMultipleDDicts_e;
+
+typedef enum {
+ /* Note: this enum and the behavior it controls are effectively internal
+ * implementation details of the compressor. They are expected to continue
+ * to evolve and should be considered only in the context of extremely
+ * advanced performance tuning.
+ *
+ * Zstd currently supports the use of a CDict in three ways:
+ *
+ * - The contents of the CDict can be copied into the working context. This
+ * means that the compression can search both the dictionary and input
+ * while operating on a single set of internal tables. This makes
+ * the compression faster per-byte of input. However, the initial copy of
+ * the CDict's tables incurs a fixed cost at the beginning of the
+ * compression. For small compressions (< 8 KB), that copy can dominate
+ * the cost of the compression.
+ *
+ * - The CDict's tables can be used in-place. In this model, compression is
+ * slower per input byte, because the compressor has to search two sets of
+ * tables. However, this model incurs no start-up cost (as long as the
+ * working context's tables can be reused). For small inputs, this can be
+ * faster than copying the CDict's tables.
+ *
+ * - The CDict's tables are not used at all, and instead we use the working
+ * context alone to reload the dictionary and use params based on the source
+ * size. See ZSTD_compress_insertDictionary() and ZSTD_compress_usingDict().
+ * This method is effective when the dictionary sizes are very small relative
+ * to the input size, and the input size is fairly large to begin with.
+ *
+ * Zstd has a simple internal heuristic that selects which strategy to use
+ * at the beginning of a compression. However, if experimentation shows that
+ * Zstd is making poor choices, it is possible to override that choice with
+ * this enum.
+ */
+ ZSTD_dictDefaultAttach = 0, /* Use the default heuristic. */
+ ZSTD_dictForceAttach = 1, /* Never copy the dictionary. */
+ ZSTD_dictForceCopy = 2, /* Always copy the dictionary. */
+ ZSTD_dictForceLoad = 3 /* Always reload the dictionary */
+} ZSTD_dictAttachPref_e;
+
+typedef enum {
+ ZSTD_lcm_auto = 0, /**< Automatically determine the compression mode based on the compression level.
+ * Negative compression levels will be uncompressed, and positive compression
+ * levels will be compressed. */
+ ZSTD_lcm_huffman = 1, /**< Always attempt Huffman compression. Uncompressed literals will still be
+ * emitted if Huffman compression is not profitable. */
+ ZSTD_lcm_uncompressed = 2 /**< Always emit uncompressed literals. */
+} ZSTD_literalCompressionMode_e;
+
+typedef enum {
+ /* Note: This enum controls features which are conditionally beneficial. Zstd typically will make a final
+ * decision on whether or not to enable the feature (ZSTD_ps_auto), but setting the switch to ZSTD_ps_enable
+ * or ZSTD_ps_disable allow for a force enable/disable the feature.
+ */
+ ZSTD_ps_auto = 0, /* Let the library automatically determine whether the feature shall be enabled */
+ ZSTD_ps_enable = 1, /* Force-enable the feature */
+ ZSTD_ps_disable = 2 /* Do not use the feature */
+} ZSTD_paramSwitch_e;
+
+/***************************************
+* Frame header and size functions
+***************************************/
+
+/*! ZSTD_findDecompressedSize() :
+ * `src` should point to the start of a series of ZSTD encoded and/or skippable frames
+ * `srcSize` must be the _exact_ size of this series
+ * (i.e. there should be a frame boundary at `src + srcSize`)
+ * @return : - decompressed size of all data in all successive frames
+ * - if the decompressed size cannot be determined: ZSTD_CONTENTSIZE_UNKNOWN
+ * - if an error occurred: ZSTD_CONTENTSIZE_ERROR
+ *
+ * note 1 : decompressed size is an optional field, that may not be present, especially in streaming mode.
+ * When `return==ZSTD_CONTENTSIZE_UNKNOWN`, data to decompress could be any size.
+ * In which case, it's necessary to use streaming mode to decompress data.
+ * note 2 : decompressed size is always present when compression is done with ZSTD_compress()
+ * note 3 : decompressed size can be very large (64-bits value),
+ * potentially larger than what local system can handle as a single memory segment.
+ * In which case, it's necessary to use streaming mode to decompress data.
+ * note 4 : If source is untrusted, decompressed size could be wrong or intentionally modified.
+ * Always ensure result fits within application's authorized limits.
+ * Each application can set its own limits.
+ * note 5 : ZSTD_findDecompressedSize handles multiple frames, and so it must traverse the input to
+ * read each contained frame header. This is fast as most of the data is skipped,
+ * however it does mean that all frame data must be present and valid. */
+ZSTDLIB_STATIC_API unsigned long long ZSTD_findDecompressedSize(const void* src, size_t srcSize);
+
+/*! ZSTD_decompressBound() :
+ * `src` should point to the start of a series of ZSTD encoded and/or skippable frames
+ * `srcSize` must be the _exact_ size of this series
+ * (i.e. there should be a frame boundary at `src + srcSize`)
+ * @return : - upper-bound for the decompressed size of all data in all successive frames
+ * - if an error occurred: ZSTD_CONTENTSIZE_ERROR
+ *
+ * note 1 : an error can occur if `src` contains an invalid or incorrectly formatted frame.
+ * note 2 : the upper-bound is exact when the decompressed size field is available in every ZSTD encoded frame of `src`.
+ * in this case, `ZSTD_findDecompressedSize` and `ZSTD_decompressBound` return the same value.
+ * note 3 : when the decompressed size field isn't available, the upper-bound for that frame is calculated by:
+ * upper-bound = # blocks * min(128 KB, Window_Size)
+ */
+ZSTDLIB_STATIC_API unsigned long long ZSTD_decompressBound(const void* src, size_t srcSize);
+
+/*! ZSTD_frameHeaderSize() :
+ * srcSize must be >= ZSTD_FRAMEHEADERSIZE_PREFIX.
+ * @return : size of the Frame Header,
+ * or an error code (if srcSize is too small) */
+ZSTDLIB_STATIC_API size_t ZSTD_frameHeaderSize(const void* src, size_t srcSize);
+
+typedef enum { ZSTD_frame, ZSTD_skippableFrame } ZSTD_frameType_e;
+typedef struct {
+ unsigned long long frameContentSize; /* if == ZSTD_CONTENTSIZE_UNKNOWN, it means this field is not available. 0 means "empty" */
+ unsigned long long windowSize; /* can be very large, up to <= frameContentSize */
+ unsigned blockSizeMax;
+ ZSTD_frameType_e frameType; /* if == ZSTD_skippableFrame, frameContentSize is the size of skippable content */
+ unsigned headerSize;
+ unsigned dictID;
+ unsigned checksumFlag;
+ unsigned _reserved1;
+ unsigned _reserved2;
+} ZSTD_frameHeader;
+
+/*! ZSTD_getFrameHeader() :
+ * decode Frame Header, or requires larger `srcSize`.
+ * @return : 0, `zfhPtr` is correctly filled,
+ * >0, `srcSize` is too small, value is wanted `srcSize` amount,
+ * or an error code, which can be tested using ZSTD_isError() */
+ZSTDLIB_STATIC_API size_t ZSTD_getFrameHeader(ZSTD_frameHeader* zfhPtr, const void* src, size_t srcSize); /**< doesn't consume input */
+/*! ZSTD_getFrameHeader_advanced() :
+ * same as ZSTD_getFrameHeader(),
+ * with added capability to select a format (like ZSTD_f_zstd1_magicless) */
+ZSTDLIB_STATIC_API size_t ZSTD_getFrameHeader_advanced(ZSTD_frameHeader* zfhPtr, const void* src, size_t srcSize, ZSTD_format_e format);
+
+/*! ZSTD_decompressionMargin() :
+ * Zstd supports in-place decompression, where the input and output buffers overlap.
+ * In this case, the output buffer must be at least (Margin + Output_Size) bytes large,
+ * and the input buffer must be at the end of the output buffer.
+ *
+ * _______________________ Output Buffer ________________________
+ * | |
+ * | ____ Input Buffer ____|
+ * | | |
+ * v v v
+ * |---------------------------------------|-----------|----------|
+ * ^ ^ ^
+ * |___________________ Output_Size ___________________|_ Margin _|
+ *
+ * NOTE: See also ZSTD_DECOMPRESSION_MARGIN().
+ * NOTE: This applies only to single-pass decompression through ZSTD_decompress() or
+ * ZSTD_decompressDCtx().
+ * NOTE: This function supports multi-frame input.
+ *
+ * @param src The compressed frame(s)
+ * @param srcSize The size of the compressed frame(s)
+ * @returns The decompression margin or an error that can be checked with ZSTD_isError().
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_decompressionMargin(const void* src, size_t srcSize);
+
+/*! ZSTD_DECOMPRESS_MARGIN() :
+ * Similar to ZSTD_decompressionMargin(), but instead of computing the margin from
+ * the compressed frame, compute it from the original size and the blockSizeLog.
+ * See ZSTD_decompressionMargin() for details.
+ *
+ * WARNING: This macro does not support multi-frame input, the input must be a single
+ * zstd frame. If you need that support use the function, or implement it yourself.
+ *
+ * @param originalSize The original uncompressed size of the data.
+ * @param blockSize The block size == MIN(windowSize, ZSTD_BLOCKSIZE_MAX).
+ * Unless you explicitly set the windowLog smaller than
+ * ZSTD_BLOCKSIZELOG_MAX you can just use ZSTD_BLOCKSIZE_MAX.
+ */
+#define ZSTD_DECOMPRESSION_MARGIN(originalSize, blockSize) ((size_t)( \
+ ZSTD_FRAMEHEADERSIZE_MAX /* Frame header */ + \
+ 4 /* checksum */ + \
+ ((originalSize) == 0 ? 0 : 3 * (((originalSize) + (blockSize) - 1) / blockSize)) /* 3 bytes per block */ + \
+ (blockSize) /* One block of margin */ \
+ ))
+
+typedef enum {
+ ZSTD_sf_noBlockDelimiters = 0, /* Representation of ZSTD_Sequence has no block delimiters, sequences only */
+ ZSTD_sf_explicitBlockDelimiters = 1 /* Representation of ZSTD_Sequence contains explicit block delimiters */
+} ZSTD_sequenceFormat_e;
+
+/*! ZSTD_sequenceBound() :
+ * `srcSize` : size of the input buffer
+ * @return : upper-bound for the number of sequences that can be generated
+ * from a buffer of srcSize bytes
+ *
+ * note : returns number of sequences - to get bytes, multiply by sizeof(ZSTD_Sequence).
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_sequenceBound(size_t srcSize);
+
+/*! ZSTD_generateSequences() :
+ * WARNING: This function is meant for debugging and informational purposes ONLY!
+ * Its implementation is flawed, and it will be deleted in a future version.
+ * It is not guaranteed to succeed, as there are several cases where it will give
+ * up and fail. You should NOT use this function in production code.
+ *
+ * This function is deprecated, and will be removed in a future version.
+ *
+ * Generate sequences using ZSTD_compress2(), given a source buffer.
+ *
+ * @param zc The compression context to be used for ZSTD_compress2(). Set any
+ * compression parameters you need on this context.
+ * @param outSeqs The output sequences buffer of size @p outSeqsSize
+ * @param outSeqsSize The size of the output sequences buffer.
+ * ZSTD_sequenceBound(srcSize) is an upper bound on the number
+ * of sequences that can be generated.
+ * @param src The source buffer to generate sequences from of size @p srcSize.
+ * @param srcSize The size of the source buffer.
+ *
+ * Each block will end with a dummy sequence
+ * with offset == 0, matchLength == 0, and litLength == length of last literals.
+ * litLength may be == 0, and if so, then the sequence of (of: 0 ml: 0 ll: 0)
+ * simply acts as a block delimiter.
+ *
+ * @returns The number of sequences generated, necessarily less than
+ * ZSTD_sequenceBound(srcSize), or an error code that can be checked
+ * with ZSTD_isError().
+ */
+ZSTD_DEPRECATED("For debugging only, will be replaced by ZSTD_extractSequences()")
+ZSTDLIB_STATIC_API size_t
+ZSTD_generateSequences(ZSTD_CCtx* zc,
+ ZSTD_Sequence* outSeqs, size_t outSeqsSize,
+ const void* src, size_t srcSize);
+
+/*! ZSTD_mergeBlockDelimiters() :
+ * Given an array of ZSTD_Sequence, remove all sequences that represent block delimiters/last literals
+ * by merging them into the literals of the next sequence.
+ *
+ * As such, the final generated result has no explicit representation of block boundaries,
+ * and the final last literals segment is not represented in the sequences.
+ *
+ * The output of this function can be fed into ZSTD_compressSequences() with CCtx
+ * setting of ZSTD_c_blockDelimiters as ZSTD_sf_noBlockDelimiters
+ * @return : number of sequences left after merging
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_mergeBlockDelimiters(ZSTD_Sequence* sequences, size_t seqsSize);
+
+/*! ZSTD_compressSequences() :
+ * Compress an array of ZSTD_Sequence, associated with @src buffer, into dst.
+ * @src contains the entire input (not just the literals).
+ * If @srcSize > sum(sequence.length), the remaining bytes are considered all literals
+ * If a dictionary is included, then the cctx should reference the dict. (see: ZSTD_CCtx_refCDict(), ZSTD_CCtx_loadDictionary(), etc.)
+ * The entire source is compressed into a single frame.
+ *
+ * The compression behavior changes based on cctx params. In particular:
+ * If ZSTD_c_blockDelimiters == ZSTD_sf_noBlockDelimiters, the array of ZSTD_Sequence is expected to contain
+ * no block delimiters (defined in ZSTD_Sequence). Block boundaries are roughly determined based on
+ * the block size derived from the cctx, and sequences may be split. This is the default setting.
+ *
+ * If ZSTD_c_blockDelimiters == ZSTD_sf_explicitBlockDelimiters, the array of ZSTD_Sequence is expected to contain
+ * block delimiters (defined in ZSTD_Sequence). Behavior is undefined if no block delimiters are provided.
+ *
+ * If ZSTD_c_validateSequences == 0, this function will blindly accept the sequences provided. Invalid sequences cause undefined
+ * behavior. If ZSTD_c_validateSequences == 1, then if sequence is invalid (see doc/zstd_compression_format.md for
+ * specifics regarding offset/matchlength requirements) then the function will bail out and return an error.
+ *
+ * In addition to the two adjustable experimental params, there are other important cctx params.
+ * - ZSTD_c_minMatch MUST be set as less than or equal to the smallest match generated by the match finder. It has a minimum value of ZSTD_MINMATCH_MIN.
+ * - ZSTD_c_compressionLevel accordingly adjusts the strength of the entropy coder, as it would in typical compression.
+ * - ZSTD_c_windowLog affects offset validation: this function will return an error at higher debug levels if a provided offset
+ * is larger than what the spec allows for a given window log and dictionary (if present). See: doc/zstd_compression_format.md
+ *
+ * Note: Repcodes are, as of now, always re-calculated within this function, so ZSTD_Sequence::rep is unused.
+ * Note 2: Once we integrate ability to ingest repcodes, the explicit block delims mode must respect those repcodes exactly,
+ * and cannot emit an RLE block that disagrees with the repcode history
+ * @return : final compressed size, or a ZSTD error code.
+ */
+ZSTDLIB_STATIC_API size_t
+ZSTD_compressSequences( ZSTD_CCtx* cctx, void* dst, size_t dstSize,
+ const ZSTD_Sequence* inSeqs, size_t inSeqsSize,
+ const void* src, size_t srcSize);
+
+
+/*! ZSTD_writeSkippableFrame() :
+ * Generates a zstd skippable frame containing data given by src, and writes it to dst buffer.
+ *
+ * Skippable frames begin with a 4-byte magic number. There are 16 possible choices of magic number,
+ * ranging from ZSTD_MAGIC_SKIPPABLE_START to ZSTD_MAGIC_SKIPPABLE_START+15.
+ * As such, the parameter magicVariant controls the exact skippable frame magic number variant used, so
+ * the magic number used will be ZSTD_MAGIC_SKIPPABLE_START + magicVariant.
+ *
+ * Returns an error if destination buffer is not large enough, if the source size is not representable
+ * with a 4-byte unsigned int, or if the parameter magicVariant is greater than 15 (and therefore invalid).
+ *
+ * @return : number of bytes written or a ZSTD error.
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_writeSkippableFrame(void* dst, size_t dstCapacity,
+ const void* src, size_t srcSize, unsigned magicVariant);
+
+/*! ZSTD_readSkippableFrame() :
+ * Retrieves a zstd skippable frame containing data given by src, and writes it to dst buffer.
+ *
+ * The parameter magicVariant will receive the magicVariant that was supplied when the frame was written,
+ * i.e. magicNumber - ZSTD_MAGIC_SKIPPABLE_START. This can be NULL if the caller is not interested
+ * in the magicVariant.
+ *
+ * Returns an error if destination buffer is not large enough, or if the frame is not skippable.
+ *
+ * @return : number of bytes written or a ZSTD error.
+ */
+ZSTDLIB_API size_t ZSTD_readSkippableFrame(void* dst, size_t dstCapacity, unsigned* magicVariant,
+ const void* src, size_t srcSize);
+
+/*! ZSTD_isSkippableFrame() :
+ * Tells if the content of `buffer` starts with a valid Frame Identifier for a skippable frame.
+ */
+ZSTDLIB_API unsigned ZSTD_isSkippableFrame(const void* buffer, size_t size);
+
+
+
+/***************************************
+* Memory management
+***************************************/
+
+/*! ZSTD_estimate*() :
+ * These functions make it possible to estimate memory usage
+ * of a future {D,C}Ctx, before its creation.
+ * This is useful in combination with ZSTD_initStatic(),
+ * which makes it possible to employ a static buffer for ZSTD_CCtx* state.
+ *
+ * ZSTD_estimateCCtxSize() will provide a memory budget large enough
+ * to compress data of any size using one-shot compression ZSTD_compressCCtx() or ZSTD_compress2()
+ * associated with any compression level up to max specified one.
+ * The estimate will assume the input may be arbitrarily large,
+ * which is the worst case.
+ *
+ * Note that the size estimation is specific for one-shot compression,
+ * it is not valid for streaming (see ZSTD_estimateCStreamSize*())
+ * nor other potential ways of using a ZSTD_CCtx* state.
+ *
+ * When srcSize can be bound by a known and rather "small" value,
+ * this knowledge can be used to provide a tighter budget estimation
+ * because the ZSTD_CCtx* state will need less memory for small inputs.
+ * This tighter estimation can be provided by employing more advanced functions
+ * ZSTD_estimateCCtxSize_usingCParams(), which can be used in tandem with ZSTD_getCParams(),
+ * and ZSTD_estimateCCtxSize_usingCCtxParams(), which can be used in tandem with ZSTD_CCtxParams_setParameter().
+ * Both can be used to estimate memory using custom compression parameters and arbitrary srcSize limits.
+ *
+ * Note : only single-threaded compression is supported.
+ * ZSTD_estimateCCtxSize_usingCCtxParams() will return an error code if ZSTD_c_nbWorkers is >= 1.
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_estimateCCtxSize(int maxCompressionLevel);
+ZSTDLIB_STATIC_API size_t ZSTD_estimateCCtxSize_usingCParams(ZSTD_compressionParameters cParams);
+ZSTDLIB_STATIC_API size_t ZSTD_estimateCCtxSize_usingCCtxParams(const ZSTD_CCtx_params* params);
+ZSTDLIB_STATIC_API size_t ZSTD_estimateDCtxSize(void);
+
+/*! ZSTD_estimateCStreamSize() :
+ * ZSTD_estimateCStreamSize() will provide a memory budget large enough for streaming compression
+ * using any compression level up to the max specified one.
+ * It will also consider src size to be arbitrarily "large", which is a worst case scenario.
+ * If srcSize is known to always be small, ZSTD_estimateCStreamSize_usingCParams() can provide a tighter estimation.
+ * ZSTD_estimateCStreamSize_usingCParams() can be used in tandem with ZSTD_getCParams() to create cParams from compressionLevel.
+ * ZSTD_estimateCStreamSize_usingCCtxParams() can be used in tandem with ZSTD_CCtxParams_setParameter(). Only single-threaded compression is supported. This function will return an error code if ZSTD_c_nbWorkers is >= 1.
+ * Note : CStream size estimation is only correct for single-threaded compression.
+ * ZSTD_estimateCStreamSize_usingCCtxParams() will return an error code if ZSTD_c_nbWorkers is >= 1.
+ * Note 2 : ZSTD_estimateCStreamSize* functions are not compatible with the Block-Level Sequence Producer API at this time.
+ * Size estimates assume that no external sequence producer is registered.
+ *
+ * ZSTD_DStream memory budget depends on frame's window Size.
+ * This information can be passed manually, using ZSTD_estimateDStreamSize,
+ * or deducted from a valid frame Header, using ZSTD_estimateDStreamSize_fromFrame();
+ * Any frame requesting a window size larger than max specified one will be rejected.
+ * Note : if streaming is init with function ZSTD_init?Stream_usingDict(),
+ * an internal ?Dict will be created, which additional size is not estimated here.
+ * In this case, get total size by adding ZSTD_estimate?DictSize
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_estimateCStreamSize(int maxCompressionLevel);
+ZSTDLIB_STATIC_API size_t ZSTD_estimateCStreamSize_usingCParams(ZSTD_compressionParameters cParams);
+ZSTDLIB_STATIC_API size_t ZSTD_estimateCStreamSize_usingCCtxParams(const ZSTD_CCtx_params* params);
+ZSTDLIB_STATIC_API size_t ZSTD_estimateDStreamSize(size_t maxWindowSize);
+ZSTDLIB_STATIC_API size_t ZSTD_estimateDStreamSize_fromFrame(const void* src, size_t srcSize);
+
+/*! ZSTD_estimate?DictSize() :
+ * ZSTD_estimateCDictSize() will bet that src size is relatively "small", and content is copied, like ZSTD_createCDict().
+ * ZSTD_estimateCDictSize_advanced() makes it possible to control compression parameters precisely, like ZSTD_createCDict_advanced().
+ * Note : dictionaries created by reference (`ZSTD_dlm_byRef`) are logically smaller.
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_estimateCDictSize(size_t dictSize, int compressionLevel);
+ZSTDLIB_STATIC_API size_t ZSTD_estimateCDictSize_advanced(size_t dictSize, ZSTD_compressionParameters cParams, ZSTD_dictLoadMethod_e dictLoadMethod);
+ZSTDLIB_STATIC_API size_t ZSTD_estimateDDictSize(size_t dictSize, ZSTD_dictLoadMethod_e dictLoadMethod);
+
+/*! ZSTD_initStatic*() :
+ * Initialize an object using a pre-allocated fixed-size buffer.
+ * workspace: The memory area to emplace the object into.
+ * Provided pointer *must be 8-bytes aligned*.
+ * Buffer must outlive object.
+ * workspaceSize: Use ZSTD_estimate*Size() to determine
+ * how large workspace must be to support target scenario.
+ * @return : pointer to object (same address as workspace, just different type),
+ * or NULL if error (size too small, incorrect alignment, etc.)
+ * Note : zstd will never resize nor malloc() when using a static buffer.
+ * If the object requires more memory than available,
+ * zstd will just error out (typically ZSTD_error_memory_allocation).
+ * Note 2 : there is no corresponding "free" function.
+ * Since workspace is allocated externally, it must be freed externally too.
+ * Note 3 : cParams : use ZSTD_getCParams() to convert a compression level
+ * into its associated cParams.
+ * Limitation 1 : currently not compatible with internal dictionary creation, triggered by
+ * ZSTD_CCtx_loadDictionary(), ZSTD_initCStream_usingDict() or ZSTD_initDStream_usingDict().
+ * Limitation 2 : static cctx currently not compatible with multi-threading.
+ * Limitation 3 : static dctx is incompatible with legacy support.
+ */
+ZSTDLIB_STATIC_API ZSTD_CCtx* ZSTD_initStaticCCtx(void* workspace, size_t workspaceSize);
+ZSTDLIB_STATIC_API ZSTD_CStream* ZSTD_initStaticCStream(void* workspace, size_t workspaceSize); /**< same as ZSTD_initStaticCCtx() */
+
+ZSTDLIB_STATIC_API ZSTD_DCtx* ZSTD_initStaticDCtx(void* workspace, size_t workspaceSize);
+ZSTDLIB_STATIC_API ZSTD_DStream* ZSTD_initStaticDStream(void* workspace, size_t workspaceSize); /**< same as ZSTD_initStaticDCtx() */
+
+ZSTDLIB_STATIC_API const ZSTD_CDict* ZSTD_initStaticCDict(
+ void* workspace, size_t workspaceSize,
+ const void* dict, size_t dictSize,
+ ZSTD_dictLoadMethod_e dictLoadMethod,
+ ZSTD_dictContentType_e dictContentType,
+ ZSTD_compressionParameters cParams);
+
+ZSTDLIB_STATIC_API const ZSTD_DDict* ZSTD_initStaticDDict(
+ void* workspace, size_t workspaceSize,
+ const void* dict, size_t dictSize,
+ ZSTD_dictLoadMethod_e dictLoadMethod,
+ ZSTD_dictContentType_e dictContentType);
+
+
+/*! Custom memory allocation :
+ * These prototypes make it possible to pass your own allocation/free functions.
+ * ZSTD_customMem is provided at creation time, using ZSTD_create*_advanced() variants listed below.
+ * All allocation/free operations will be completed using these custom variants instead of regular ones.
+ */
+typedef void* (*ZSTD_allocFunction) (void* opaque, size_t size);
+typedef void (*ZSTD_freeFunction) (void* opaque, void* address);
+typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD_customMem;
+static
+#ifdef __GNUC__
+__attribute__((__unused__))
+#endif
+ZSTD_customMem const ZSTD_defaultCMem = { NULL, NULL, NULL }; /**< this constant defers to stdlib's functions */
+
+ZSTDLIB_STATIC_API ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem);
+ZSTDLIB_STATIC_API ZSTD_CStream* ZSTD_createCStream_advanced(ZSTD_customMem customMem);
+ZSTDLIB_STATIC_API ZSTD_DCtx* ZSTD_createDCtx_advanced(ZSTD_customMem customMem);
+ZSTDLIB_STATIC_API ZSTD_DStream* ZSTD_createDStream_advanced(ZSTD_customMem customMem);
+
+ZSTDLIB_STATIC_API ZSTD_CDict* ZSTD_createCDict_advanced(const void* dict, size_t dictSize,
+ ZSTD_dictLoadMethod_e dictLoadMethod,
+ ZSTD_dictContentType_e dictContentType,
+ ZSTD_compressionParameters cParams,
+ ZSTD_customMem customMem);
+
+/*! Thread pool :
+ * These prototypes make it possible to share a thread pool among multiple compression contexts.
+ * This can limit resources for applications with multiple threads where each one uses
+ * a threaded compression mode (via ZSTD_c_nbWorkers parameter).
+ * ZSTD_createThreadPool creates a new thread pool with a given number of threads.
+ * Note that the lifetime of such pool must exist while being used.
+ * ZSTD_CCtx_refThreadPool assigns a thread pool to a context (use NULL argument value
+ * to use an internal thread pool).
+ * ZSTD_freeThreadPool frees a thread pool, accepts NULL pointer.
+ */
+typedef struct POOL_ctx_s ZSTD_threadPool;
+ZSTDLIB_STATIC_API ZSTD_threadPool* ZSTD_createThreadPool(size_t numThreads);
+ZSTDLIB_STATIC_API void ZSTD_freeThreadPool (ZSTD_threadPool* pool); /* accept NULL pointer */
+ZSTDLIB_STATIC_API size_t ZSTD_CCtx_refThreadPool(ZSTD_CCtx* cctx, ZSTD_threadPool* pool);
+
+
+/*
+ * This API is temporary and is expected to change or disappear in the future!
+ */
+ZSTDLIB_STATIC_API ZSTD_CDict* ZSTD_createCDict_advanced2(
+ const void* dict, size_t dictSize,
+ ZSTD_dictLoadMethod_e dictLoadMethod,
+ ZSTD_dictContentType_e dictContentType,
+ const ZSTD_CCtx_params* cctxParams,
+ ZSTD_customMem customMem);
+
+ZSTDLIB_STATIC_API ZSTD_DDict* ZSTD_createDDict_advanced(
+ const void* dict, size_t dictSize,
+ ZSTD_dictLoadMethod_e dictLoadMethod,
+ ZSTD_dictContentType_e dictContentType,
+ ZSTD_customMem customMem);
+
+
+/***************************************
+* Advanced compression functions
+***************************************/
+
+/*! ZSTD_createCDict_byReference() :
+ * Create a digested dictionary for compression
+ * Dictionary content is just referenced, not duplicated.
+ * As a consequence, `dictBuffer` **must** outlive CDict,
+ * and its content must remain unmodified throughout the lifetime of CDict.
+ * note: equivalent to ZSTD_createCDict_advanced(), with dictLoadMethod==ZSTD_dlm_byRef */
+ZSTDLIB_STATIC_API ZSTD_CDict* ZSTD_createCDict_byReference(const void* dictBuffer, size_t dictSize, int compressionLevel);
+
+/*! ZSTD_getCParams() :
+ * @return ZSTD_compressionParameters structure for a selected compression level and estimated srcSize.
+ * `estimatedSrcSize` value is optional, select 0 if not known */
+ZSTDLIB_STATIC_API ZSTD_compressionParameters ZSTD_getCParams(int compressionLevel, unsigned long long estimatedSrcSize, size_t dictSize);
+
+/*! ZSTD_getParams() :
+ * same as ZSTD_getCParams(), but @return a full `ZSTD_parameters` object instead of sub-component `ZSTD_compressionParameters`.
+ * All fields of `ZSTD_frameParameters` are set to default : contentSize=1, checksum=0, noDictID=0 */
+ZSTDLIB_STATIC_API ZSTD_parameters ZSTD_getParams(int compressionLevel, unsigned long long estimatedSrcSize, size_t dictSize);
+
+/*! ZSTD_checkCParams() :
+ * Ensure param values remain within authorized range.
+ * @return 0 on success, or an error code (can be checked with ZSTD_isError()) */
+ZSTDLIB_STATIC_API size_t ZSTD_checkCParams(ZSTD_compressionParameters params);
+
+/*! ZSTD_adjustCParams() :
+ * optimize params for a given `srcSize` and `dictSize`.
+ * `srcSize` can be unknown, in which case use ZSTD_CONTENTSIZE_UNKNOWN.
+ * `dictSize` must be `0` when there is no dictionary.
+ * cPar can be invalid : all parameters will be clamped within valid range in the @return struct.
+ * This function never fails (wide contract) */
+ZSTDLIB_STATIC_API ZSTD_compressionParameters ZSTD_adjustCParams(ZSTD_compressionParameters cPar, unsigned long long srcSize, size_t dictSize);
+
+/*! ZSTD_CCtx_setCParams() :
+ * Set all parameters provided within @p cparams into the working @p cctx.
+ * Note : if modifying parameters during compression (MT mode only),
+ * note that changes to the .windowLog parameter will be ignored.
+ * @return 0 on success, or an error code (can be checked with ZSTD_isError()).
+ * On failure, no parameters are updated.
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_CCtx_setCParams(ZSTD_CCtx* cctx, ZSTD_compressionParameters cparams);
+
+/*! ZSTD_CCtx_setFParams() :
+ * Set all parameters provided within @p fparams into the working @p cctx.
+ * @return 0 on success, or an error code (can be checked with ZSTD_isError()).
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_CCtx_setFParams(ZSTD_CCtx* cctx, ZSTD_frameParameters fparams);
+
+/*! ZSTD_CCtx_setParams() :
+ * Set all parameters provided within @p params into the working @p cctx.
+ * @return 0 on success, or an error code (can be checked with ZSTD_isError()).
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_CCtx_setParams(ZSTD_CCtx* cctx, ZSTD_parameters params);
+
+/*! ZSTD_compress_advanced() :
+ * Note : this function is now DEPRECATED.
+ * It can be replaced by ZSTD_compress2(), in combination with ZSTD_CCtx_setParameter() and other parameter setters.
+ * This prototype will generate compilation warnings. */
+ZSTD_DEPRECATED("use ZSTD_compress2")
+ZSTDLIB_STATIC_API
+size_t ZSTD_compress_advanced(ZSTD_CCtx* cctx,
+ void* dst, size_t dstCapacity,
+ const void* src, size_t srcSize,
+ const void* dict,size_t dictSize,
+ ZSTD_parameters params);
+
+/*! ZSTD_compress_usingCDict_advanced() :
+ * Note : this function is now DEPRECATED.
+ * It can be replaced by ZSTD_compress2(), in combination with ZSTD_CCtx_loadDictionary() and other parameter setters.
+ * This prototype will generate compilation warnings. */
+ZSTD_DEPRECATED("use ZSTD_compress2 with ZSTD_CCtx_loadDictionary")
+ZSTDLIB_STATIC_API
+size_t ZSTD_compress_usingCDict_advanced(ZSTD_CCtx* cctx,
+ void* dst, size_t dstCapacity,
+ const void* src, size_t srcSize,
+ const ZSTD_CDict* cdict,
+ ZSTD_frameParameters fParams);
+
+
+/*! ZSTD_CCtx_loadDictionary_byReference() :
+ * Same as ZSTD_CCtx_loadDictionary(), but dictionary content is referenced, instead of being copied into CCtx.
+ * It saves some memory, but also requires that `dict` outlives its usage within `cctx` */
+ZSTDLIB_STATIC_API size_t ZSTD_CCtx_loadDictionary_byReference(ZSTD_CCtx* cctx, const void* dict, size_t dictSize);
+
+/*! ZSTD_CCtx_loadDictionary_advanced() :
+ * Same as ZSTD_CCtx_loadDictionary(), but gives finer control over
+ * how to load the dictionary (by copy ? by reference ?)
+ * and how to interpret it (automatic ? force raw mode ? full mode only ?) */
+ZSTDLIB_STATIC_API size_t ZSTD_CCtx_loadDictionary_advanced(ZSTD_CCtx* cctx, const void* dict, size_t dictSize, ZSTD_dictLoadMethod_e dictLoadMethod, ZSTD_dictContentType_e dictContentType);
+
+/*! ZSTD_CCtx_refPrefix_advanced() :
+ * Same as ZSTD_CCtx_refPrefix(), but gives finer control over
+ * how to interpret prefix content (automatic ? force raw mode (default) ? full mode only ?) */
+ZSTDLIB_STATIC_API size_t ZSTD_CCtx_refPrefix_advanced(ZSTD_CCtx* cctx, const void* prefix, size_t prefixSize, ZSTD_dictContentType_e dictContentType);
+
+/* === experimental parameters === */
+/* these parameters can be used with ZSTD_setParameter()
+ * they are not guaranteed to remain supported in the future */
+
+ /* Enables rsyncable mode,
+ * which makes compressed files more rsync friendly
+ * by adding periodic synchronization points to the compressed data.
+ * The target average block size is ZSTD_c_jobSize / 2.
+ * It's possible to modify the job size to increase or decrease
+ * the granularity of the synchronization point.
+ * Once the jobSize is smaller than the window size,
+ * it will result in compression ratio degradation.
+ * NOTE 1: rsyncable mode only works when multithreading is enabled.
+ * NOTE 2: rsyncable performs poorly in combination with long range mode,
+ * since it will decrease the effectiveness of synchronization points,
+ * though mileage may vary.
+ * NOTE 3: Rsyncable mode limits maximum compression speed to ~400 MB/s.
+ * If the selected compression level is already running significantly slower,
+ * the overall speed won't be significantly impacted.
+ */
+ #define ZSTD_c_rsyncable ZSTD_c_experimentalParam1
+
+/* Select a compression format.
+ * The value must be of type ZSTD_format_e.
+ * See ZSTD_format_e enum definition for details */
+#define ZSTD_c_format ZSTD_c_experimentalParam2
+
+/* Force back-reference distances to remain < windowSize,
+ * even when referencing into Dictionary content (default:0) */
+#define ZSTD_c_forceMaxWindow ZSTD_c_experimentalParam3
+
+/* Controls whether the contents of a CDict
+ * are used in place, or copied into the working context.
+ * Accepts values from the ZSTD_dictAttachPref_e enum.
+ * See the comments on that enum for an explanation of the feature. */
+#define ZSTD_c_forceAttachDict ZSTD_c_experimentalParam4
+
+/* Controlled with ZSTD_paramSwitch_e enum.
+ * Default is ZSTD_ps_auto.
+ * Set to ZSTD_ps_disable to never compress literals.
+ * Set to ZSTD_ps_enable to always compress literals. (Note: uncompressed literals
+ * may still be emitted if huffman is not beneficial to use.)
+ *
+ * By default, in ZSTD_ps_auto, the library will decide at runtime whether to use
+ * literals compression based on the compression parameters - specifically,
+ * negative compression levels do not use literal compression.
+ */
+#define ZSTD_c_literalCompressionMode ZSTD_c_experimentalParam5
+
+/* User's best guess of source size.
+ * Hint is not valid when srcSizeHint == 0.
+ * There is no guarantee that hint is close to actual source size,
+ * but compression ratio may regress significantly if guess considerably underestimates */
+#define ZSTD_c_srcSizeHint ZSTD_c_experimentalParam7
+
+/* Controls whether the new and experimental "dedicated dictionary search
+ * structure" can be used. This feature is still rough around the edges, be
+ * prepared for surprising behavior!
+ *
+ * How to use it:
+ *
+ * When using a CDict, whether to use this feature or not is controlled at
+ * CDict creation, and it must be set in a CCtxParams set passed into that
+ * construction (via ZSTD_createCDict_advanced2()). A compression will then
+ * use the feature or not based on how the CDict was constructed; the value of
+ * this param, set in the CCtx, will have no effect.
+ *
+ * However, when a dictionary buffer is passed into a CCtx, such as via
+ * ZSTD_CCtx_loadDictionary(), this param can be set on the CCtx to control
+ * whether the CDict that is created internally can use the feature or not.
+ *
+ * What it does:
+ *
+ * Normally, the internal data structures of the CDict are analogous to what
+ * would be stored in a CCtx after compressing the contents of a dictionary.
+ * To an approximation, a compression using a dictionary can then use those
+ * data structures to simply continue what is effectively a streaming
+ * compression where the simulated compression of the dictionary left off.
+ * Which is to say, the search structures in the CDict are normally the same
+ * format as in the CCtx.
+ *
+ * It is possible to do better, since the CDict is not like a CCtx: the search
+ * structures are written once during CDict creation, and then are only read
+ * after that, while the search structures in the CCtx are both read and
+ * written as the compression goes along. This means we can choose a search
+ * structure for the dictionary that is read-optimized.
+ *
+ * This feature enables the use of that different structure.
+ *
+ * Note that some of the members of the ZSTD_compressionParameters struct have
+ * different semantics and constraints in the dedicated search structure. It is
+ * highly recommended that you simply set a compression level in the CCtxParams
+ * you pass into the CDict creation call, and avoid messing with the cParams
+ * directly.
+ *
+ * Effects:
+ *
+ * This will only have any effect when the selected ZSTD_strategy
+ * implementation supports this feature. Currently, that's limited to
+ * ZSTD_greedy, ZSTD_lazy, and ZSTD_lazy2.
+ *
+ * Note that this means that the CDict tables can no longer be copied into the
+ * CCtx, so the dict attachment mode ZSTD_dictForceCopy will no longer be
+ * usable. The dictionary can only be attached or reloaded.
+ *
+ * In general, you should expect compression to be faster--sometimes very much
+ * so--and CDict creation to be slightly slower. Eventually, we will probably
+ * make this mode the default.
+ */
+#define ZSTD_c_enableDedicatedDictSearch ZSTD_c_experimentalParam8
+
+/* ZSTD_c_stableInBuffer
+ * Experimental parameter.
+ * Default is 0 == disabled. Set to 1 to enable.
+ *
+ * Tells the compressor that input data presented with ZSTD_inBuffer
+ * will ALWAYS be the same between calls.
+ * Technically, the @src pointer must never be changed,
+ * and the @pos field can only be updated by zstd.
+ * However, it's possible to increase the @size field,
+ * allowing scenarios where more data can be appended after compressions starts.
+ * These conditions are checked by the compressor,
+ * and compression will fail if they are not respected.
+ * Also, data in the ZSTD_inBuffer within the range [src, src + pos)
+ * MUST not be modified during compression or it will result in data corruption.
+ *
+ * When this flag is enabled zstd won't allocate an input window buffer,
+ * because the user guarantees it can reference the ZSTD_inBuffer until
+ * the frame is complete. But, it will still allocate an output buffer
+ * large enough to fit a block (see ZSTD_c_stableOutBuffer). This will also
+ * avoid the memcpy() from the input buffer to the input window buffer.
+ *
+ * NOTE: So long as the ZSTD_inBuffer always points to valid memory, using
+ * this flag is ALWAYS memory safe, and will never access out-of-bounds
+ * memory. However, compression WILL fail if conditions are not respected.
+ *
+ * WARNING: The data in the ZSTD_inBuffer in the range [src, src + pos) MUST
+ * not be modified during compression or it will result in data corruption.
+ * This is because zstd needs to reference data in the ZSTD_inBuffer to find
+ * matches. Normally zstd maintains its own window buffer for this purpose,
+ * but passing this flag tells zstd to rely on user provided buffer instead.
+ */
+#define ZSTD_c_stableInBuffer ZSTD_c_experimentalParam9
+
+/* ZSTD_c_stableOutBuffer
+ * Experimental parameter.
+ * Default is 0 == disabled. Set to 1 to enable.
+ *
+ * Tells he compressor that the ZSTD_outBuffer will not be resized between
+ * calls. Specifically: (out.size - out.pos) will never grow. This gives the
+ * compressor the freedom to say: If the compressed data doesn't fit in the
+ * output buffer then return ZSTD_error_dstSizeTooSmall. This allows us to
+ * always decompress directly into the output buffer, instead of decompressing
+ * into an internal buffer and copying to the output buffer.
+ *
+ * When this flag is enabled zstd won't allocate an output buffer, because
+ * it can write directly to the ZSTD_outBuffer. It will still allocate the
+ * input window buffer (see ZSTD_c_stableInBuffer).
+ *
+ * Zstd will check that (out.size - out.pos) never grows and return an error
+ * if it does. While not strictly necessary, this should prevent surprises.
+ */
+#define ZSTD_c_stableOutBuffer ZSTD_c_experimentalParam10
+
+/* ZSTD_c_blockDelimiters
+ * Default is 0 == ZSTD_sf_noBlockDelimiters.
+ *
+ * For use with sequence compression API: ZSTD_compressSequences().
+ *
+ * Designates whether or not the given array of ZSTD_Sequence contains block delimiters
+ * and last literals, which are defined as sequences with offset == 0 and matchLength == 0.
+ * See the definition of ZSTD_Sequence for more specifics.
+ */
+#define ZSTD_c_blockDelimiters ZSTD_c_experimentalParam11
+
+/* ZSTD_c_validateSequences
+ * Default is 0 == disabled. Set to 1 to enable sequence validation.
+ *
+ * For use with sequence compression API: ZSTD_compressSequences().
+ * Designates whether or not we validate sequences provided to ZSTD_compressSequences()
+ * during function execution.
+ *
+ * Without validation, providing a sequence that does not conform to the zstd spec will cause
+ * undefined behavior, and may produce a corrupted block.
+ *
+ * With validation enabled, if sequence is invalid (see doc/zstd_compression_format.md for
+ * specifics regarding offset/matchlength requirements) then the function will bail out and
+ * return an error.
+ *
+ */
+#define ZSTD_c_validateSequences ZSTD_c_experimentalParam12
+
+/* ZSTD_c_useBlockSplitter
+ * Controlled with ZSTD_paramSwitch_e enum.
+ * Default is ZSTD_ps_auto.
+ * Set to ZSTD_ps_disable to never use block splitter.
+ * Set to ZSTD_ps_enable to always use block splitter.
+ *
+ * By default, in ZSTD_ps_auto, the library will decide at runtime whether to use
+ * block splitting based on the compression parameters.
+ */
+#define ZSTD_c_useBlockSplitter ZSTD_c_experimentalParam13
+
+/* ZSTD_c_useRowMatchFinder
+ * Controlled with ZSTD_paramSwitch_e enum.
+ * Default is ZSTD_ps_auto.
+ * Set to ZSTD_ps_disable to never use row-based matchfinder.
+ * Set to ZSTD_ps_enable to force usage of row-based matchfinder.
+ *
+ * By default, in ZSTD_ps_auto, the library will decide at runtime whether to use
+ * the row-based matchfinder based on support for SIMD instructions and the window log.
+ * Note that this only pertains to compression strategies: greedy, lazy, and lazy2
+ */
+#define ZSTD_c_useRowMatchFinder ZSTD_c_experimentalParam14
+
+/* ZSTD_c_deterministicRefPrefix
+ * Default is 0 == disabled. Set to 1 to enable.
+ *
+ * Zstd produces different results for prefix compression when the prefix is
+ * directly adjacent to the data about to be compressed vs. when it isn't.
+ * This is because zstd detects that the two buffers are contiguous and it can
+ * use a more efficient match finding algorithm. However, this produces different
+ * results than when the two buffers are non-contiguous. This flag forces zstd
+ * to always load the prefix in non-contiguous mode, even if it happens to be
+ * adjacent to the data, to guarantee determinism.
+ *
+ * If you really care about determinism when using a dictionary or prefix,
+ * like when doing delta compression, you should select this option. It comes
+ * at a speed penalty of about ~2.5% if the dictionary and data happened to be
+ * contiguous, and is free if they weren't contiguous. We don't expect that
+ * intentionally making the dictionary and data contiguous will be worth the
+ * cost to memcpy() the data.
+ */
+#define ZSTD_c_deterministicRefPrefix ZSTD_c_experimentalParam15
+
+/* ZSTD_c_prefetchCDictTables
+ * Controlled with ZSTD_paramSwitch_e enum. Default is ZSTD_ps_auto.
+ *
+ * In some situations, zstd uses CDict tables in-place rather than copying them
+ * into the working context. (See docs on ZSTD_dictAttachPref_e above for details).
+ * In such situations, compression speed is seriously impacted when CDict tables are
+ * "cold" (outside CPU cache). This parameter instructs zstd to prefetch CDict tables
+ * when they are used in-place.
+ *
+ * For sufficiently small inputs, the cost of the prefetch will outweigh the benefit.
+ * For sufficiently large inputs, zstd will by default memcpy() CDict tables
+ * into the working context, so there is no need to prefetch. This parameter is
+ * targeted at a middle range of input sizes, where a prefetch is cheap enough to be
+ * useful but memcpy() is too expensive. The exact range of input sizes where this
+ * makes sense is best determined by careful experimentation.
+ *
+ * Note: for this parameter, ZSTD_ps_auto is currently equivalent to ZSTD_ps_disable,
+ * but in the future zstd may conditionally enable this feature via an auto-detection
+ * heuristic for cold CDicts.
+ * Use ZSTD_ps_disable to opt out of prefetching under any circumstances.
+ */
+#define ZSTD_c_prefetchCDictTables ZSTD_c_experimentalParam16
+
+/* ZSTD_c_enableSeqProducerFallback
+ * Allowed values are 0 (disable) and 1 (enable). The default setting is 0.
+ *
+ * Controls whether zstd will fall back to an internal sequence producer if an
+ * external sequence producer is registered and returns an error code. This fallback
+ * is block-by-block: the internal sequence producer will only be called for blocks
+ * where the external sequence producer returns an error code. Fallback parsing will
+ * follow any other cParam settings, such as compression level, the same as in a
+ * normal (fully-internal) compression operation.
+ *
+ * The user is strongly encouraged to read the full Block-Level Sequence Producer API
+ * documentation (below) before setting this parameter. */
+#define ZSTD_c_enableSeqProducerFallback ZSTD_c_experimentalParam17
+
+/* ZSTD_c_maxBlockSize
+ * Allowed values are between 1KB and ZSTD_BLOCKSIZE_MAX (128KB).
+ * The default is ZSTD_BLOCKSIZE_MAX, and setting to 0 will set to the default.
+ *
+ * This parameter can be used to set an upper bound on the blocksize
+ * that overrides the default ZSTD_BLOCKSIZE_MAX. It cannot be used to set upper
+ * bounds greater than ZSTD_BLOCKSIZE_MAX or bounds lower than 1KB (will make
+ * compressBound() inaccurate). Only currently meant to be used for testing.
+ *
+ */
+#define ZSTD_c_maxBlockSize ZSTD_c_experimentalParam18
+
+/* ZSTD_c_searchForExternalRepcodes
+ * This parameter affects how zstd parses external sequences, such as sequences
+ * provided through the compressSequences() API or from an external block-level
+ * sequence producer.
+ *
+ * If set to ZSTD_ps_enable, the library will check for repeated offsets in
+ * external sequences, even if those repcodes are not explicitly indicated in
+ * the "rep" field. Note that this is the only way to exploit repcode matches
+ * while using compressSequences() or an external sequence producer, since zstd
+ * currently ignores the "rep" field of external sequences.
+ *
+ * If set to ZSTD_ps_disable, the library will not exploit repeated offsets in
+ * external sequences, regardless of whether the "rep" field has been set. This
+ * reduces sequence compression overhead by about 25% while sacrificing some
+ * compression ratio.
+ *
+ * The default value is ZSTD_ps_auto, for which the library will enable/disable
+ * based on compression level.
+ *
+ * Note: for now, this param only has an effect if ZSTD_c_blockDelimiters is
+ * set to ZSTD_sf_explicitBlockDelimiters. That may change in the future.
+ */
+#define ZSTD_c_searchForExternalRepcodes ZSTD_c_experimentalParam19
+
+/*! ZSTD_CCtx_getParameter() :
+ * Get the requested compression parameter value, selected by enum ZSTD_cParameter,
+ * and store it into int* value.
+ * @return : 0, or an error code (which can be tested with ZSTD_isError()).
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_CCtx_getParameter(const ZSTD_CCtx* cctx, ZSTD_cParameter param, int* value);
+
+
+/*! ZSTD_CCtx_params :
+ * Quick howto :
+ * - ZSTD_createCCtxParams() : Create a ZSTD_CCtx_params structure
+ * - ZSTD_CCtxParams_setParameter() : Push parameters one by one into
+ * an existing ZSTD_CCtx_params structure.
+ * This is similar to
+ * ZSTD_CCtx_setParameter().
+ * - ZSTD_CCtx_setParametersUsingCCtxParams() : Apply parameters to
+ * an existing CCtx.
+ * These parameters will be applied to
+ * all subsequent frames.
+ * - ZSTD_compressStream2() : Do compression using the CCtx.
+ * - ZSTD_freeCCtxParams() : Free the memory, accept NULL pointer.
+ *
+ * This can be used with ZSTD_estimateCCtxSize_advanced_usingCCtxParams()
+ * for static allocation of CCtx for single-threaded compression.
+ */
+ZSTDLIB_STATIC_API ZSTD_CCtx_params* ZSTD_createCCtxParams(void);
+ZSTDLIB_STATIC_API size_t ZSTD_freeCCtxParams(ZSTD_CCtx_params* params); /* accept NULL pointer */
+
+/*! ZSTD_CCtxParams_reset() :
+ * Reset params to default values.
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_CCtxParams_reset(ZSTD_CCtx_params* params);
+
+/*! ZSTD_CCtxParams_init() :
+ * Initializes the compression parameters of cctxParams according to
+ * compression level. All other parameters are reset to their default values.
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_CCtxParams_init(ZSTD_CCtx_params* cctxParams, int compressionLevel);
+
+/*! ZSTD_CCtxParams_init_advanced() :
+ * Initializes the compression and frame parameters of cctxParams according to
+ * params. All other parameters are reset to their default values.
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_CCtxParams_init_advanced(ZSTD_CCtx_params* cctxParams, ZSTD_parameters params);
+
+/*! ZSTD_CCtxParams_setParameter() : Requires v1.4.0+
+ * Similar to ZSTD_CCtx_setParameter.
+ * Set one compression parameter, selected by enum ZSTD_cParameter.
+ * Parameters must be applied to a ZSTD_CCtx using
+ * ZSTD_CCtx_setParametersUsingCCtxParams().
+ * @result : a code representing success or failure (which can be tested with
+ * ZSTD_isError()).
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_CCtxParams_setParameter(ZSTD_CCtx_params* params, ZSTD_cParameter param, int value);
+
+/*! ZSTD_CCtxParams_getParameter() :
+ * Similar to ZSTD_CCtx_getParameter.
+ * Get the requested value of one compression parameter, selected by enum ZSTD_cParameter.
+ * @result : 0, or an error code (which can be tested with ZSTD_isError()).
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_CCtxParams_getParameter(const ZSTD_CCtx_params* params, ZSTD_cParameter param, int* value);
+
+/*! ZSTD_CCtx_setParametersUsingCCtxParams() :
+ * Apply a set of ZSTD_CCtx_params to the compression context.
+ * This can be done even after compression is started,
+ * if nbWorkers==0, this will have no impact until a new compression is started.
+ * if nbWorkers>=1, new parameters will be picked up at next job,
+ * with a few restrictions (windowLog, pledgedSrcSize, nbWorkers, jobSize, and overlapLog are not updated).
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_CCtx_setParametersUsingCCtxParams(
+ ZSTD_CCtx* cctx, const ZSTD_CCtx_params* params);
+
+/*! ZSTD_compressStream2_simpleArgs() :
+ * Same as ZSTD_compressStream2(),
+ * but using only integral types as arguments.
+ * This variant might be helpful for binders from dynamic languages
+ * which have troubles handling structures containing memory pointers.
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_compressStream2_simpleArgs (
+ ZSTD_CCtx* cctx,
+ void* dst, size_t dstCapacity, size_t* dstPos,
+ const void* src, size_t srcSize, size_t* srcPos,
+ ZSTD_EndDirective endOp);
+
+
+/***************************************
+* Advanced decompression functions
+***************************************/
+
+/*! ZSTD_isFrame() :
+ * Tells if the content of `buffer` starts with a valid Frame Identifier.
+ * Note : Frame Identifier is 4 bytes. If `size < 4`, @return will always be 0.
+ * Note 2 : Legacy Frame Identifiers are considered valid only if Legacy Support is enabled.
+ * Note 3 : Skippable Frame Identifiers are considered valid. */
+ZSTDLIB_STATIC_API unsigned ZSTD_isFrame(const void* buffer, size_t size);
+
+/*! ZSTD_createDDict_byReference() :
+ * Create a digested dictionary, ready to start decompression operation without startup delay.
+ * Dictionary content is referenced, and therefore stays in dictBuffer.
+ * It is important that dictBuffer outlives DDict,
+ * it must remain read accessible throughout the lifetime of DDict */
+ZSTDLIB_STATIC_API ZSTD_DDict* ZSTD_createDDict_byReference(const void* dictBuffer, size_t dictSize);
+
+/*! ZSTD_DCtx_loadDictionary_byReference() :
+ * Same as ZSTD_DCtx_loadDictionary(),
+ * but references `dict` content instead of copying it into `dctx`.
+ * This saves memory if `dict` remains around.,
+ * However, it's imperative that `dict` remains accessible (and unmodified) while being used, so it must outlive decompression. */
+ZSTDLIB_STATIC_API size_t ZSTD_DCtx_loadDictionary_byReference(ZSTD_DCtx* dctx, const void* dict, size_t dictSize);
+
+/*! ZSTD_DCtx_loadDictionary_advanced() :
+ * Same as ZSTD_DCtx_loadDictionary(),
+ * but gives direct control over
+ * how to load the dictionary (by copy ? by reference ?)
+ * and how to interpret it (automatic ? force raw mode ? full mode only ?). */
+ZSTDLIB_STATIC_API size_t ZSTD_DCtx_loadDictionary_advanced(ZSTD_DCtx* dctx, const void* dict, size_t dictSize, ZSTD_dictLoadMethod_e dictLoadMethod, ZSTD_dictContentType_e dictContentType);
+
+/*! ZSTD_DCtx_refPrefix_advanced() :
+ * Same as ZSTD_DCtx_refPrefix(), but gives finer control over
+ * how to interpret prefix content (automatic ? force raw mode (default) ? full mode only ?) */
+ZSTDLIB_STATIC_API size_t ZSTD_DCtx_refPrefix_advanced(ZSTD_DCtx* dctx, const void* prefix, size_t prefixSize, ZSTD_dictContentType_e dictContentType);
+
+/*! ZSTD_DCtx_setMaxWindowSize() :
+ * Refuses allocating internal buffers for frames requiring a window size larger than provided limit.
+ * This protects a decoder context from reserving too much memory for itself (potential attack scenario).
+ * This parameter is only useful in streaming mode, since no internal buffer is allocated in single-pass mode.
+ * By default, a decompression context accepts all window sizes <= (1 << ZSTD_WINDOWLOG_LIMIT_DEFAULT)
+ * @return : 0, or an error code (which can be tested using ZSTD_isError()).
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_DCtx_setMaxWindowSize(ZSTD_DCtx* dctx, size_t maxWindowSize);
+
+/*! ZSTD_DCtx_getParameter() :
+ * Get the requested decompression parameter value, selected by enum ZSTD_dParameter,
+ * and store it into int* value.
+ * @return : 0, or an error code (which can be tested with ZSTD_isError()).
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_DCtx_getParameter(ZSTD_DCtx* dctx, ZSTD_dParameter param, int* value);
+
+/* ZSTD_d_format
+ * experimental parameter,
+ * allowing selection between ZSTD_format_e input compression formats
+ */
+#define ZSTD_d_format ZSTD_d_experimentalParam1
+/* ZSTD_d_stableOutBuffer
+ * Experimental parameter.
+ * Default is 0 == disabled. Set to 1 to enable.
+ *
+ * Tells the decompressor that the ZSTD_outBuffer will ALWAYS be the same
+ * between calls, except for the modifications that zstd makes to pos (the
+ * caller must not modify pos). This is checked by the decompressor, and
+ * decompression will fail if it ever changes. Therefore the ZSTD_outBuffer
+ * MUST be large enough to fit the entire decompressed frame. This will be
+ * checked when the frame content size is known. The data in the ZSTD_outBuffer
+ * in the range [dst, dst + pos) MUST not be modified during decompression
+ * or you will get data corruption.
+ *
+ * When this flag is enabled zstd won't allocate an output buffer, because
+ * it can write directly to the ZSTD_outBuffer, but it will still allocate
+ * an input buffer large enough to fit any compressed block. This will also
+ * avoid the memcpy() from the internal output buffer to the ZSTD_outBuffer.
+ * If you need to avoid the input buffer allocation use the buffer-less
+ * streaming API.
+ *
+ * NOTE: So long as the ZSTD_outBuffer always points to valid memory, using
+ * this flag is ALWAYS memory safe, and will never access out-of-bounds
+ * memory. However, decompression WILL fail if you violate the preconditions.
+ *
+ * WARNING: The data in the ZSTD_outBuffer in the range [dst, dst + pos) MUST
+ * not be modified during decompression or you will get data corruption. This
+ * is because zstd needs to reference data in the ZSTD_outBuffer to regenerate
+ * matches. Normally zstd maintains its own buffer for this purpose, but passing
+ * this flag tells zstd to use the user provided buffer.
+ */
+#define ZSTD_d_stableOutBuffer ZSTD_d_experimentalParam2
+
+/* ZSTD_d_forceIgnoreChecksum
+ * Experimental parameter.
+ * Default is 0 == disabled. Set to 1 to enable
+ *
+ * Tells the decompressor to skip checksum validation during decompression, regardless
+ * of whether checksumming was specified during compression. This offers some
+ * slight performance benefits, and may be useful for debugging.
+ * Param has values of type ZSTD_forceIgnoreChecksum_e
+ */
+#define ZSTD_d_forceIgnoreChecksum ZSTD_d_experimentalParam3
+
+/* ZSTD_d_refMultipleDDicts
+ * Experimental parameter.
+ * Default is 0 == disabled. Set to 1 to enable
+ *
+ * If enabled and dctx is allocated on the heap, then additional memory will be allocated
+ * to store references to multiple ZSTD_DDict. That is, multiple calls of ZSTD_refDDict()
+ * using a given ZSTD_DCtx, rather than overwriting the previous DDict reference, will instead
+ * store all references. At decompression time, the appropriate dictID is selected
+ * from the set of DDicts based on the dictID in the frame.
+ *
+ * Usage is simply calling ZSTD_refDDict() on multiple dict buffers.
+ *
+ * Param has values of byte ZSTD_refMultipleDDicts_e
+ *
+ * WARNING: Enabling this parameter and calling ZSTD_DCtx_refDDict(), will trigger memory
+ * allocation for the hash table. ZSTD_freeDCtx() also frees this memory.
+ * Memory is allocated as per ZSTD_DCtx::customMem.
+ *
+ * Although this function allocates memory for the table, the user is still responsible for
+ * memory management of the underlying ZSTD_DDict* themselves.
+ */
+#define ZSTD_d_refMultipleDDicts ZSTD_d_experimentalParam4
+
+/* ZSTD_d_disableHuffmanAssembly
+ * Set to 1 to disable the Huffman assembly implementation.
+ * The default value is 0, which allows zstd to use the Huffman assembly
+ * implementation if available.
+ *
+ * This parameter can be used to disable Huffman assembly at runtime.
+ * If you want to disable it at compile time you can define the macro
+ * ZSTD_DISABLE_ASM.
+ */
+#define ZSTD_d_disableHuffmanAssembly ZSTD_d_experimentalParam5
+
+/* ZSTD_d_maxBlockSize
+ * Allowed values are between 1KB and ZSTD_BLOCKSIZE_MAX (128KB).
+ * The default is ZSTD_BLOCKSIZE_MAX, and setting to 0 will set to the default.
+ *
+ * Forces the decompressor to reject blocks whose content size is
+ * larger than the configured maxBlockSize. When maxBlockSize is
+ * larger than the windowSize, the windowSize is used instead.
+ * This saves memory on the decoder when you know all blocks are small.
+ *
+ * This option is typically used in conjunction with ZSTD_c_maxBlockSize.
+ *
+ * WARNING: This causes the decoder to reject otherwise valid frames
+ * that have block sizes larger than the configured maxBlockSize.
+ */
+#define ZSTD_d_maxBlockSize ZSTD_d_experimentalParam6
+
+
+/*! ZSTD_DCtx_setFormat() :
+ * This function is REDUNDANT. Prefer ZSTD_DCtx_setParameter().
+ * Instruct the decoder context about what kind of data to decode next.
+ * This instruction is mandatory to decode data without a fully-formed header,
+ * such ZSTD_f_zstd1_magicless for example.
+ * @return : 0, or an error code (which can be tested using ZSTD_isError()). */
+ZSTD_DEPRECATED("use ZSTD_DCtx_setParameter() instead")
+ZSTDLIB_STATIC_API
+size_t ZSTD_DCtx_setFormat(ZSTD_DCtx* dctx, ZSTD_format_e format);
+
+/*! ZSTD_decompressStream_simpleArgs() :
+ * Same as ZSTD_decompressStream(),
+ * but using only integral types as arguments.
+ * This can be helpful for binders from dynamic languages
+ * which have troubles handling structures containing memory pointers.
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_decompressStream_simpleArgs (
+ ZSTD_DCtx* dctx,
+ void* dst, size_t dstCapacity, size_t* dstPos,
+ const void* src, size_t srcSize, size_t* srcPos);
+
+
+/********************************************************************
+* Advanced streaming functions
+* Warning : most of these functions are now redundant with the Advanced API.
+* Once Advanced API reaches "stable" status,
+* redundant functions will be deprecated, and then at some point removed.
+********************************************************************/
+
+/*===== Advanced Streaming compression functions =====*/
+
+/*! ZSTD_initCStream_srcSize() :
+ * This function is DEPRECATED, and equivalent to:
+ * ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only);
+ * ZSTD_CCtx_refCDict(zcs, NULL); // clear the dictionary (if any)
+ * ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel);
+ * ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize);
+ *
+ * pledgedSrcSize must be correct. If it is not known at init time, use
+ * ZSTD_CONTENTSIZE_UNKNOWN. Note that, for compatibility with older programs,
+ * "0" also disables frame content size field. It may be enabled in the future.
+ * This prototype will generate compilation warnings.
+ */
+ZSTD_DEPRECATED("use ZSTD_CCtx_reset, see zstd.h for detailed instructions")
+ZSTDLIB_STATIC_API
+size_t ZSTD_initCStream_srcSize(ZSTD_CStream* zcs,
+ int compressionLevel,
+ unsigned long long pledgedSrcSize);
+
+/*! ZSTD_initCStream_usingDict() :
+ * This function is DEPRECATED, and is equivalent to:
+ * ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only);
+ * ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel);
+ * ZSTD_CCtx_loadDictionary(zcs, dict, dictSize);
+ *
+ * Creates of an internal CDict (incompatible with static CCtx), except if
+ * dict == NULL or dictSize < 8, in which case no dict is used.
+ * Note: dict is loaded with ZSTD_dct_auto (treated as a full zstd dictionary if
+ * it begins with ZSTD_MAGIC_DICTIONARY, else as raw content) and ZSTD_dlm_byCopy.
+ * This prototype will generate compilation warnings.
+ */
+ZSTD_DEPRECATED("use ZSTD_CCtx_reset, see zstd.h for detailed instructions")
+ZSTDLIB_STATIC_API
+size_t ZSTD_initCStream_usingDict(ZSTD_CStream* zcs,
+ const void* dict, size_t dictSize,
+ int compressionLevel);
+
+/*! ZSTD_initCStream_advanced() :
+ * This function is DEPRECATED, and is equivalent to:
+ * ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only);
+ * ZSTD_CCtx_setParams(zcs, params);
+ * ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize);
+ * ZSTD_CCtx_loadDictionary(zcs, dict, dictSize);
+ *
+ * dict is loaded with ZSTD_dct_auto and ZSTD_dlm_byCopy.
+ * pledgedSrcSize must be correct.
+ * If srcSize is not known at init time, use value ZSTD_CONTENTSIZE_UNKNOWN.
+ * This prototype will generate compilation warnings.
+ */
+ZSTD_DEPRECATED("use ZSTD_CCtx_reset, see zstd.h for detailed instructions")
+ZSTDLIB_STATIC_API
+size_t ZSTD_initCStream_advanced(ZSTD_CStream* zcs,
+ const void* dict, size_t dictSize,
+ ZSTD_parameters params,
+ unsigned long long pledgedSrcSize);
+
+/*! ZSTD_initCStream_usingCDict() :
+ * This function is DEPRECATED, and equivalent to:
+ * ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only);
+ * ZSTD_CCtx_refCDict(zcs, cdict);
+ *
+ * note : cdict will just be referenced, and must outlive compression session
+ * This prototype will generate compilation warnings.
+ */
+ZSTD_DEPRECATED("use ZSTD_CCtx_reset and ZSTD_CCtx_refCDict, see zstd.h for detailed instructions")
+ZSTDLIB_STATIC_API
+size_t ZSTD_initCStream_usingCDict(ZSTD_CStream* zcs, const ZSTD_CDict* cdict);
+
+/*! ZSTD_initCStream_usingCDict_advanced() :
+ * This function is DEPRECATED, and is equivalent to:
+ * ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only);
+ * ZSTD_CCtx_setFParams(zcs, fParams);
+ * ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize);
+ * ZSTD_CCtx_refCDict(zcs, cdict);
+ *
+ * same as ZSTD_initCStream_usingCDict(), with control over frame parameters.
+ * pledgedSrcSize must be correct. If srcSize is not known at init time, use
+ * value ZSTD_CONTENTSIZE_UNKNOWN.
+ * This prototype will generate compilation warnings.
+ */
+ZSTD_DEPRECATED("use ZSTD_CCtx_reset and ZSTD_CCtx_refCDict, see zstd.h for detailed instructions")
+ZSTDLIB_STATIC_API
+size_t ZSTD_initCStream_usingCDict_advanced(ZSTD_CStream* zcs,
+ const ZSTD_CDict* cdict,
+ ZSTD_frameParameters fParams,
+ unsigned long long pledgedSrcSize);
+
+/*! ZSTD_resetCStream() :
+ * This function is DEPRECATED, and is equivalent to:
+ * ZSTD_CCtx_reset(zcs, ZSTD_reset_session_only);
+ * ZSTD_CCtx_setPledgedSrcSize(zcs, pledgedSrcSize);
+ * Note: ZSTD_resetCStream() interprets pledgedSrcSize == 0 as ZSTD_CONTENTSIZE_UNKNOWN, but
+ * ZSTD_CCtx_setPledgedSrcSize() does not do the same, so ZSTD_CONTENTSIZE_UNKNOWN must be
+ * explicitly specified.
+ *
+ * start a new frame, using same parameters from previous frame.
+ * This is typically useful to skip dictionary loading stage, since it will reuse it in-place.
+ * Note that zcs must be init at least once before using ZSTD_resetCStream().
+ * If pledgedSrcSize is not known at reset time, use macro ZSTD_CONTENTSIZE_UNKNOWN.
+ * If pledgedSrcSize > 0, its value must be correct, as it will be written in header, and controlled at the end.
+ * For the time being, pledgedSrcSize==0 is interpreted as "srcSize unknown" for compatibility with older programs,
+ * but it will change to mean "empty" in future version, so use macro ZSTD_CONTENTSIZE_UNKNOWN instead.
+ * @return : 0, or an error code (which can be tested using ZSTD_isError())
+ * This prototype will generate compilation warnings.
+ */
+ZSTD_DEPRECATED("use ZSTD_CCtx_reset, see zstd.h for detailed instructions")
+ZSTDLIB_STATIC_API
+size_t ZSTD_resetCStream(ZSTD_CStream* zcs, unsigned long long pledgedSrcSize);
+
+
+typedef struct {
+ unsigned long long ingested; /* nb input bytes read and buffered */
+ unsigned long long consumed; /* nb input bytes actually compressed */
+ unsigned long long produced; /* nb of compressed bytes generated and buffered */
+ unsigned long long flushed; /* nb of compressed bytes flushed : not provided; can be tracked from caller side */
+ unsigned currentJobID; /* MT only : latest started job nb */
+ unsigned nbActiveWorkers; /* MT only : nb of workers actively compressing at probe time */
+} ZSTD_frameProgression;
+
+/* ZSTD_getFrameProgression() :
+ * tells how much data has been ingested (read from input)
+ * consumed (input actually compressed) and produced (output) for current frame.
+ * Note : (ingested - consumed) is amount of input data buffered internally, not yet compressed.
+ * Aggregates progression inside active worker threads.
+ */
+ZSTDLIB_STATIC_API ZSTD_frameProgression ZSTD_getFrameProgression(const ZSTD_CCtx* cctx);
+
+/*! ZSTD_toFlushNow() :
+ * Tell how many bytes are ready to be flushed immediately.
+ * Useful for multithreading scenarios (nbWorkers >= 1).
+ * Probe the oldest active job, defined as oldest job not yet entirely flushed,
+ * and check its output buffer.
+ * @return : amount of data stored in oldest job and ready to be flushed immediately.
+ * if @return == 0, it means either :
+ * + there is no active job (could be checked with ZSTD_frameProgression()), or
+ * + oldest job is still actively compressing data,
+ * but everything it has produced has also been flushed so far,
+ * therefore flush speed is limited by production speed of oldest job
+ * irrespective of the speed of concurrent (and newer) jobs.
+ */
+ZSTDLIB_STATIC_API size_t ZSTD_toFlushNow(ZSTD_CCtx* cctx);
+
+
+/*===== Advanced Streaming decompression functions =====*/
+
+/*!
+ * This function is deprecated, and is equivalent to:
+ *
+ * ZSTD_DCtx_reset(zds, ZSTD_reset_session_only);
+ * ZSTD_DCtx_loadDictionary(zds, dict, dictSize);
+ *
+ * note: no dictionary will be used if dict == NULL or dictSize < 8
+ */
+ZSTD_DEPRECATED("use ZSTD_DCtx_reset + ZSTD_DCtx_loadDictionary, see zstd.h for detailed instructions")
+ZSTDLIB_STATIC_API size_t ZSTD_initDStream_usingDict(ZSTD_DStream* zds, const void* dict, size_t dictSize);
+
+/*!
+ * This function is deprecated, and is equivalent to:
+ *
+ * ZSTD_DCtx_reset(zds, ZSTD_reset_session_only);
+ * ZSTD_DCtx_refDDict(zds, ddict);
+ *
+ * note : ddict is referenced, it must outlive decompression session
+ */
+ZSTD_DEPRECATED("use ZSTD_DCtx_reset + ZSTD_DCtx_refDDict, see zstd.h for detailed instructions")
+ZSTDLIB_STATIC_API size_t ZSTD_initDStream_usingDDict(ZSTD_DStream* zds, const ZSTD_DDict* ddict);
+
+/*!
+ * This function is deprecated, and is equivalent to:
+ *
+ * ZSTD_DCtx_reset(zds, ZSTD_reset_session_only);
+ *
+ * reuse decompression parameters from previous init; saves dictionary loading
+ */
+ZSTD_DEPRECATED("use ZSTD_DCtx_reset, see zstd.h for detailed instructions")
+ZSTDLIB_STATIC_API size_t ZSTD_resetDStream(ZSTD_DStream* zds);
+
+
+/* ********************* BLOCK-LEVEL SEQUENCE PRODUCER API *********************
+ *
+ * *** OVERVIEW ***
+ * The Block-Level Sequence Producer API allows users to provide their own custom
+ * sequence producer which libzstd invokes to process each block. The produced list
+ * of sequences (literals and matches) is then post-processed by libzstd to produce
+ * valid compressed blocks.
+ *
+ * This block-level offload API is a more granular complement of the existing
+ * frame-level offload API compressSequences() (introduced in v1.5.1). It offers
+ * an easier migration story for applications already integrated with libzstd: the
+ * user application continues to invoke the same compression functions
+ * ZSTD_compress2() or ZSTD_compressStream2() as usual, and transparently benefits
+ * from the specific advantages of the external sequence producer. For example,
+ * the sequence producer could be tuned to take advantage of known characteristics
+ * of the input, to offer better speed / ratio, or could leverage hardware
+ * acceleration not available within libzstd itself.
+ *
+ * See contrib/externalSequenceProducer for an example program employing the
+ * Block-Level Sequence Producer API.
+ *
+ * *** USAGE ***
+ * The user is responsible for implementing a function of type
+ * ZSTD_sequenceProducer_F. For each block, zstd will pass the following
+ * arguments to the user-provided function:
+ *
+ * - sequenceProducerState: a pointer to a user-managed state for the sequence
+ * producer.
+ *
+ * - outSeqs, outSeqsCapacity: an output buffer for the sequence producer.
+ * outSeqsCapacity is guaranteed >= ZSTD_sequenceBound(srcSize). The memory
+ * backing outSeqs is managed by the CCtx.
+ *
+ * - src, srcSize: an input buffer for the sequence producer to parse.
+ * srcSize is guaranteed to be <= ZSTD_BLOCKSIZE_MAX.
+ *
+ * - dict, dictSize: a history buffer, which may be empty, which the sequence
+ * producer may reference as it parses the src buffer. Currently, zstd will
+ * always pass dictSize == 0 into external sequence producers, but this will
+ * change in the future.
+ *
+ * - compressionLevel: a signed integer representing the zstd compression level
+ * set by the user for the current operation. The sequence producer may choose
+ * to use this information to change its compression strategy and speed/ratio
+ * tradeoff. Note: the compression level does not reflect zstd parameters set
+ * through the advanced API.
+ *
+ * - windowSize: a size_t representing the maximum allowed offset for external
+ * sequences. Note that sequence offsets are sometimes allowed to exceed the
+ * windowSize if a dictionary is present, see doc/zstd_compression_format.md
+ * for details.
+ *
+ * The user-provided function shall return a size_t representing the number of
+ * sequences written to outSeqs. This return value will be treated as an error
+ * code if it is greater than outSeqsCapacity. The return value must be non-zero
+ * if srcSize is non-zero. The ZSTD_SEQUENCE_PRODUCER_ERROR macro is provided
+ * for convenience, but any value greater than outSeqsCapacity will be treated as
+ * an error code.
+ *
+ * If the user-provided function does not return an error code, the sequences
+ * written to outSeqs must be a valid parse of the src buffer. Data corruption may
+ * occur if the parse is not valid. A parse is defined to be valid if the
+ * following conditions hold:
+ * - The sum of matchLengths and literalLengths must equal srcSize.
+ * - All sequences in the parse, except for the final sequence, must have
+ * matchLength >= ZSTD_MINMATCH_MIN. The final sequence must have
+ * matchLength >= ZSTD_MINMATCH_MIN or matchLength == 0.
+ * - All offsets must respect the windowSize parameter as specified in
+ * doc/zstd_compression_format.md.
+ * - If the final sequence has matchLength == 0, it must also have offset == 0.
+ *
+ * zstd will only validate these conditions (and fail compression if they do not
+ * hold) if the ZSTD_c_validateSequences cParam is enabled. Note that sequence
+ * validation has a performance cost.
+ *
+ * If the user-provided function returns an error, zstd will either fall back
+ * to an internal sequence producer or fail the compression operation. The user can
+ * choose between the two behaviors by setting the ZSTD_c_enableSeqProducerFallback
+ * cParam. Fallback compression will follow any other cParam settings, such as
+ * compression level, the same as in a normal compression operation.
+ *
+ * The user shall instruct zstd to use a particular ZSTD_sequenceProducer_F
+ * function by calling
+ * ZSTD_registerSequenceProducer(cctx,
+ * sequenceProducerState,
+ * sequenceProducer)
+ * This setting will persist until the next parameter reset of the CCtx.
+ *
+ * The sequenceProducerState must be initialized by the user before calling
+ * ZSTD_registerSequenceProducer(). The user is responsible for destroying the
+ * sequenceProducerState.
+ *
+ * *** LIMITATIONS ***
+ * This API is compatible with all zstd compression APIs which respect advanced parameters.
+ * However, there are three limitations:
+ *
+ * First, the ZSTD_c_enableLongDistanceMatching cParam is not currently supported.
+ * COMPRESSION WILL FAIL if it is enabled and the user tries to compress with a block-level
+ * external sequence producer.
+ * - Note that ZSTD_c_enableLongDistanceMatching is auto-enabled by default in some
+ * cases (see its documentation for details). Users must explicitly set
+ * ZSTD_c_enableLongDistanceMatching to ZSTD_ps_disable in such cases if an external
+ * sequence producer is registered.
+ * - As of this writing, ZSTD_c_enableLongDistanceMatching is disabled by default
+ * whenever ZSTD_c_windowLog < 128MB, but that's subject to change. Users should
+ * check the docs on ZSTD_c_enableLongDistanceMatching whenever the Block-Level Sequence
+ * Producer API is used in conjunction with advanced settings (like ZSTD_c_windowLog).
+ *
+ * Second, history buffers are not currently supported. Concretely, zstd will always pass
+ * dictSize == 0 to the external sequence producer (for now). This has two implications:
+ * - Dictionaries are not currently supported. Compression will *not* fail if the user
+ * references a dictionary, but the dictionary won't have any effect.
+ * - Stream history is not currently supported. All advanced compression APIs, including
+ * streaming APIs, work with external sequence producers, but each block is treated as
+ * an independent chunk without history from previous blocks.
+ *
+ * Third, multi-threading within a single compression is not currently supported. In other words,
+ * COMPRESSION WILL FAIL if ZSTD_c_nbWorkers > 0 and an external sequence producer is registered.
+ * Multi-threading across compressions is fine: simply create one CCtx per thread.
+ *
+ * Long-term, we plan to overcome all three limitations. There is no technical blocker to
+ * overcoming them. It is purely a question of engineering effort.
+ */
+
+#define ZSTD_SEQUENCE_PRODUCER_ERROR ((size_t)(-1))
+
+typedef size_t (*ZSTD_sequenceProducer_F) (
+ void* sequenceProducerState,
+ ZSTD_Sequence* outSeqs, size_t outSeqsCapacity,
+ const void* src, size_t srcSize,
+ const void* dict, size_t dictSize,
+ int compressionLevel,
+ size_t windowSize
+);
+
+/*! ZSTD_registerSequenceProducer() :
+ * Instruct zstd to use a block-level external sequence producer function.
+ *
+ * The sequenceProducerState must be initialized by the caller, and the caller is
+ * responsible for managing its lifetime. This parameter is sticky across
+ * compressions. It will remain set until the user explicitly resets compression
+ * parameters.
+ *
+ * Sequence producer registration is considered to be an "advanced parameter",
+ * part of the "advanced API". This means it will only have an effect on compression
+ * APIs which respect advanced parameters, such as compress2() and compressStream2().
+ * Older compression APIs such as compressCCtx(), which predate the introduction of
+ * "advanced parameters", will ignore any external sequence producer setting.
+ *
+ * The sequence producer can be "cleared" by registering a NULL function pointer. This
+ * removes all limitations described above in the "LIMITATIONS" section of the API docs.
+ *
+ * The user is strongly encouraged to read the full API documentation (above) before
+ * calling this function. */
+ZSTDLIB_STATIC_API void
+ZSTD_registerSequenceProducer(
+ ZSTD_CCtx* cctx,
+ void* sequenceProducerState,
+ ZSTD_sequenceProducer_F sequenceProducer
+);
+
+/*! ZSTD_CCtxParams_registerSequenceProducer() :
+ * Same as ZSTD_registerSequenceProducer(), but operates on ZSTD_CCtx_params.
+ * This is used for accurate size estimation with ZSTD_estimateCCtxSize_usingCCtxParams(),
+ * which is needed when creating a ZSTD_CCtx with ZSTD_initStaticCCtx().
+ *
+ * If you are using the external sequence producer API in a scenario where ZSTD_initStaticCCtx()
+ * is required, then this function is for you. Otherwise, you probably don't need it.
+ *
+ * See tests/zstreamtest.c for example usage. */
+ZSTDLIB_STATIC_API void
+ZSTD_CCtxParams_registerSequenceProducer(
+ ZSTD_CCtx_params* params,
+ void* sequenceProducerState,
+ ZSTD_sequenceProducer_F sequenceProducer
+);
+
+
+/*********************************************************************
+* Buffer-less and synchronous inner streaming functions (DEPRECATED)
+*
+* This API is deprecated, and will be removed in a future version.
+* It allows streaming (de)compression with user allocated buffers.
+* However, it is hard to use, and not as well tested as the rest of
+* our API.
+*
+* Please use the normal streaming API instead: ZSTD_compressStream2,
+* and ZSTD_decompressStream.
+* If there is functionality that you need, but it doesn't provide,
+* please open an issue on our GitHub.
+********************************************************************* */
+
+/**
+ Buffer-less streaming compression (synchronous mode)
+
+ A ZSTD_CCtx object is required to track streaming operations.
+ Use ZSTD_createCCtx() / ZSTD_freeCCtx() to manage resource.
+ ZSTD_CCtx object can be reused multiple times within successive compression operations.
+
+ Start by initializing a context.
+ Use ZSTD_compressBegin(), or ZSTD_compressBegin_usingDict() for dictionary compression.
+
+ Then, consume your input using ZSTD_compressContinue().
+ There are some important considerations to keep in mind when using this advanced function :
+ - ZSTD_compressContinue() has no internal buffer. It uses externally provided buffers only.
+ - Interface is synchronous : input is consumed entirely and produces 1+ compressed blocks.
+ - Caller must ensure there is enough space in `dst` to store compressed data under worst case scenario.
+ Worst case evaluation is provided by ZSTD_compressBound().
+ ZSTD_compressContinue() doesn't guarantee recover after a failed compression.
+ - ZSTD_compressContinue() presumes prior input ***is still accessible and unmodified*** (up to maximum distance size, see WindowLog).
+ It remembers all previous contiguous blocks, plus one separated memory segment (which can itself consists of multiple contiguous blocks)
+ - ZSTD_compressContinue() detects that prior input has been overwritten when `src` buffer overlaps.
+ In which case, it will "discard" the relevant memory section from its history.
+
+ Finish a frame with ZSTD_compressEnd(), which will write the last block(s) and optional checksum.
+ It's possible to use srcSize==0, in which case, it will write a final empty block to end the frame.
+ Without last block mark, frames are considered unfinished (hence corrupted) by compliant decoders.
+
+ `ZSTD_CCtx` object can be reused (ZSTD_compressBegin()) to compress again.
+*/
+
+/*===== Buffer-less streaming compression functions =====*/
+ZSTD_DEPRECATED("The buffer-less API is deprecated in favor of the normal streaming API. See docs.")
+ZSTDLIB_STATIC_API size_t ZSTD_compressBegin(ZSTD_CCtx* cctx, int compressionLevel);
+ZSTD_DEPRECATED("The buffer-less API is deprecated in favor of the normal streaming API. See docs.")
+ZSTDLIB_STATIC_API size_t ZSTD_compressBegin_usingDict(ZSTD_CCtx* cctx, const void* dict, size_t dictSize, int compressionLevel);
+ZSTD_DEPRECATED("The buffer-less API is deprecated in favor of the normal streaming API. See docs.")
+ZSTDLIB_STATIC_API size_t ZSTD_compressBegin_usingCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict); /**< note: fails if cdict==NULL */
+
+ZSTD_DEPRECATED("This function will likely be removed in a future release. It is misleading and has very limited utility.")
+ZSTDLIB_STATIC_API
+size_t ZSTD_copyCCtx(ZSTD_CCtx* cctx, const ZSTD_CCtx* preparedCCtx, unsigned long long pledgedSrcSize); /**< note: if pledgedSrcSize is not known, use ZSTD_CONTENTSIZE_UNKNOWN */
+
+ZSTD_DEPRECATED("The buffer-less API is deprecated in favor of the normal streaming API. See docs.")
+ZSTDLIB_STATIC_API size_t ZSTD_compressContinue(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize);
+ZSTD_DEPRECATED("The buffer-less API is deprecated in favor of the normal streaming API. See docs.")
+ZSTDLIB_STATIC_API size_t ZSTD_compressEnd(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize);
+
+/* The ZSTD_compressBegin_advanced() and ZSTD_compressBegin_usingCDict_advanced() are now DEPRECATED and will generate a compiler warning */
+ZSTD_DEPRECATED("use advanced API to access custom parameters")
+ZSTDLIB_STATIC_API
+size_t ZSTD_compressBegin_advanced(ZSTD_CCtx* cctx, const void* dict, size_t dictSize, ZSTD_parameters params, unsigned long long pledgedSrcSize); /**< pledgedSrcSize : If srcSize is not known at init time, use ZSTD_CONTENTSIZE_UNKNOWN */
+ZSTD_DEPRECATED("use advanced API to access custom parameters")
+ZSTDLIB_STATIC_API
+size_t ZSTD_compressBegin_usingCDict_advanced(ZSTD_CCtx* const cctx, const ZSTD_CDict* const cdict, ZSTD_frameParameters const fParams, unsigned long long const pledgedSrcSize); /* compression parameters are already set within cdict. pledgedSrcSize must be correct. If srcSize is not known, use macro ZSTD_CONTENTSIZE_UNKNOWN */
+/**
+ Buffer-less streaming decompression (synchronous mode)
+
+ A ZSTD_DCtx object is required to track streaming operations.
+ Use ZSTD_createDCtx() / ZSTD_freeDCtx() to manage it.
+ A ZSTD_DCtx object can be reused multiple times.
+
+ First typical operation is to retrieve frame parameters, using ZSTD_getFrameHeader().
+ Frame header is extracted from the beginning of compressed frame, so providing only the frame's beginning is enough.
+ Data fragment must be large enough to ensure successful decoding.
+ `ZSTD_frameHeaderSize_max` bytes is guaranteed to always be large enough.
+ result : 0 : successful decoding, the `ZSTD_frameHeader` structure is correctly filled.
+ >0 : `srcSize` is too small, please provide at least result bytes on next attempt.
+ errorCode, which can be tested using ZSTD_isError().
+
+ It fills a ZSTD_frameHeader structure with important information to correctly decode the frame,
+ such as the dictionary ID, content size, or maximum back-reference distance (`windowSize`).
+ Note that these values could be wrong, either because of data corruption, or because a 3rd party deliberately spoofs false information.
+ As a consequence, check that values remain within valid application range.
+ For example, do not allocate memory blindly, check that `windowSize` is within expectation.
+ Each application can set its own limits, depending on local restrictions.
+ For extended interoperability, it is recommended to support `windowSize` of at least 8 MB.
+
+ ZSTD_decompressContinue() needs previous data blocks during decompression, up to `windowSize` bytes.
+ ZSTD_decompressContinue() is very sensitive to contiguity,
+ if 2 blocks don't follow each other, make sure that either the compressor breaks contiguity at the same place,
+ or that previous contiguous segment is large enough to properly handle maximum back-reference distance.
+ There are multiple ways to guarantee this condition.
+
+ The most memory efficient way is to use a round buffer of sufficient size.
+ Sufficient size is determined by invoking ZSTD_decodingBufferSize_min(),
+ which can return an error code if required value is too large for current system (in 32-bits mode).
+ In a round buffer methodology, ZSTD_decompressContinue() decompresses each block next to previous one,
+ up to the moment there is not enough room left in the buffer to guarantee decoding another full block,
+ which maximum size is provided in `ZSTD_frameHeader` structure, field `blockSizeMax`.
+ At which point, decoding can resume from the beginning of the buffer.
+ Note that already decoded data stored in the buffer should be flushed before being overwritten.
+
+ There are alternatives possible, for example using two or more buffers of size `windowSize` each, though they consume more memory.
+
+ Finally, if you control the compression process, you can also ignore all buffer size rules,
+ as long as the encoder and decoder progress in "lock-step",
+ aka use exactly the same buffer sizes, break contiguity at the same place, etc.
+
+ Once buffers are setup, start decompression, with ZSTD_decompressBegin().
+ If decompression requires a dictionary, use ZSTD_decompressBegin_usingDict() or ZSTD_decompressBegin_usingDDict().
+
+ Then use ZSTD_nextSrcSizeToDecompress() and ZSTD_decompressContinue() alternatively.
+ ZSTD_nextSrcSizeToDecompress() tells how many bytes to provide as 'srcSize' to ZSTD_decompressContinue().
+ ZSTD_decompressContinue() requires this _exact_ amount of bytes, or it will fail.
+
+ result of ZSTD_decompressContinue() is the number of bytes regenerated within 'dst' (necessarily <= dstCapacity).
+ It can be zero : it just means ZSTD_decompressContinue() has decoded some metadata item.
+ It can also be an error code, which can be tested with ZSTD_isError().
+
+ A frame is fully decoded when ZSTD_nextSrcSizeToDecompress() returns zero.
+ Context can then be reset to start a new decompression.
+
+ Note : it's possible to know if next input to present is a header or a block, using ZSTD_nextInputType().
+ This information is not required to properly decode a frame.
+
+ == Special case : skippable frames ==
+
+ Skippable frames allow integration of user-defined data into a flow of concatenated frames.
+ Skippable frames will be ignored (skipped) by decompressor.
+ The format of skippable frames is as follows :
+ a) Skippable frame ID - 4 Bytes, Little endian format, any value from 0x184D2A50 to 0x184D2A5F
+ b) Frame Size - 4 Bytes, Little endian format, unsigned 32-bits
+ c) Frame Content - any content (User Data) of length equal to Frame Size
+ For skippable frames ZSTD_getFrameHeader() returns zfhPtr->frameType==ZSTD_skippableFrame.
+ For skippable frames ZSTD_decompressContinue() always returns 0 : it only skips the content.
+*/
+
+/*===== Buffer-less streaming decompression functions =====*/
+
+ZSTDLIB_STATIC_API size_t ZSTD_decodingBufferSize_min(unsigned long long windowSize, unsigned long long frameContentSize); /**< when frame content size is not known, pass in frameContentSize == ZSTD_CONTENTSIZE_UNKNOWN */
+
+ZSTDLIB_STATIC_API size_t ZSTD_decompressBegin(ZSTD_DCtx* dctx);
+ZSTDLIB_STATIC_API size_t ZSTD_decompressBegin_usingDict(ZSTD_DCtx* dctx, const void* dict, size_t dictSize);
+ZSTDLIB_STATIC_API size_t ZSTD_decompressBegin_usingDDict(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict);
+
+ZSTDLIB_STATIC_API size_t ZSTD_nextSrcSizeToDecompress(ZSTD_DCtx* dctx);
+ZSTDLIB_STATIC_API size_t ZSTD_decompressContinue(ZSTD_DCtx* dctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize);
+
+/* misc */
+ZSTD_DEPRECATED("This function will likely be removed in the next minor release. It is misleading and has very limited utility.")
+ZSTDLIB_STATIC_API void ZSTD_copyDCtx(ZSTD_DCtx* dctx, const ZSTD_DCtx* preparedDCtx);
+typedef enum { ZSTDnit_frameHeader, ZSTDnit_blockHeader, ZSTDnit_block, ZSTDnit_lastBlock, ZSTDnit_checksum, ZSTDnit_skippableFrame } ZSTD_nextInputType_e;
+ZSTDLIB_STATIC_API ZSTD_nextInputType_e ZSTD_nextInputType(ZSTD_DCtx* dctx);
+
+
+
+
+/* ========================================= */
+/** Block level API (DEPRECATED) */
+/* ========================================= */
+
+/*!
+
+ This API is deprecated in favor of the regular compression API.
+ You can get the frame header down to 2 bytes by setting:
+ - ZSTD_c_format = ZSTD_f_zstd1_magicless
+ - ZSTD_c_contentSizeFlag = 0
+ - ZSTD_c_checksumFlag = 0
+ - ZSTD_c_dictIDFlag = 0
+
+ This API is not as well tested as our normal API, so we recommend not using it.
+ We will be removing it in a future version. If the normal API doesn't provide
+ the functionality you need, please open a GitHub issue.
+
+ Block functions produce and decode raw zstd blocks, without frame metadata.
+ Frame metadata cost is typically ~12 bytes, which can be non-negligible for very small blocks (< 100 bytes).
+ But users will have to take in charge needed metadata to regenerate data, such as compressed and content sizes.
+
+ A few rules to respect :
+ - Compressing and decompressing require a context structure
+ + Use ZSTD_createCCtx() and ZSTD_createDCtx()
+ - It is necessary to init context before starting
+ + compression : any ZSTD_compressBegin*() variant, including with dictionary
+ + decompression : any ZSTD_decompressBegin*() variant, including with dictionary
+ - Block size is limited, it must be <= ZSTD_getBlockSize() <= ZSTD_BLOCKSIZE_MAX == 128 KB
+ + If input is larger than a block size, it's necessary to split input data into multiple blocks
+ + For inputs larger than a single block, consider using regular ZSTD_compress() instead.
+ Frame metadata is not that costly, and quickly becomes negligible as source size grows larger than a block.
+ - When a block is considered not compressible enough, ZSTD_compressBlock() result will be 0 (zero) !
+ ===> In which case, nothing is produced into `dst` !
+ + User __must__ test for such outcome and deal directly with uncompressed data
+ + A block cannot be declared incompressible if ZSTD_compressBlock() return value was != 0.
+ Doing so would mess up with statistics history, leading to potential data corruption.
+ + ZSTD_decompressBlock() _doesn't accept uncompressed data as input_ !!
+ + In case of multiple successive blocks, should some of them be uncompressed,
+ decoder must be informed of their existence in order to follow proper history.
+ Use ZSTD_insertBlock() for such a case.
+*/
+
+/*===== Raw zstd block functions =====*/
+ZSTD_DEPRECATED("The block API is deprecated in favor of the normal compression API. See docs.")
+ZSTDLIB_STATIC_API size_t ZSTD_getBlockSize (const ZSTD_CCtx* cctx);
+ZSTD_DEPRECATED("The block API is deprecated in favor of the normal compression API. See docs.")
+ZSTDLIB_STATIC_API size_t ZSTD_compressBlock (ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize);
+ZSTD_DEPRECATED("The block API is deprecated in favor of the normal compression API. See docs.")
+ZSTDLIB_STATIC_API size_t ZSTD_decompressBlock(ZSTD_DCtx* dctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize);
+ZSTD_DEPRECATED("The block API is deprecated in favor of the normal compression API. See docs.")
+ZSTDLIB_STATIC_API size_t ZSTD_insertBlock (ZSTD_DCtx* dctx, const void* blockStart, size_t blockSize); /**< insert uncompressed block into `dctx` history. Useful for multi-blocks decompression. */
+
+#endif /* ZSTD_H_ZSTD_STATIC_LINKING_ONLY */
+
+#if defined (__cplusplus)
+}
+#endif
diff --git a/pgsql/lib/._libzstd.lib b/pgsql/lib/._libzstd.lib
new file mode 100644
index 0000000000000000000000000000000000000000..749593a18f8992e97ad9f7a61647c58db68beb35
Binary files /dev/null and b/pgsql/lib/._libzstd.lib differ
diff --git a/pgsql/lib/_int.dll b/pgsql/lib/_int.dll
new file mode 100644
index 0000000000000000000000000000000000000000..7cd6bc3d3ddba97856f2680279e5aa076049aac8
Binary files /dev/null and b/pgsql/lib/_int.dll differ
diff --git a/pgsql/lib/adminpack.dll b/pgsql/lib/adminpack.dll
new file mode 100644
index 0000000000000000000000000000000000000000..818858c42e983e84d618108f03785b48b73ca14d
Binary files /dev/null and b/pgsql/lib/adminpack.dll differ
diff --git a/pgsql/lib/amcheck.dll b/pgsql/lib/amcheck.dll
new file mode 100644
index 0000000000000000000000000000000000000000..1cb308928b76482a5fd63de4c3c9c30ed775fe79
Binary files /dev/null and b/pgsql/lib/amcheck.dll differ
diff --git a/pgsql/lib/auth_delay.dll b/pgsql/lib/auth_delay.dll
new file mode 100644
index 0000000000000000000000000000000000000000..00153704f5e31b68c28ed99bd4ff44a86801e46f
Binary files /dev/null and b/pgsql/lib/auth_delay.dll differ
diff --git a/pgsql/lib/auto_explain.dll b/pgsql/lib/auto_explain.dll
new file mode 100644
index 0000000000000000000000000000000000000000..ada246ab0175b10d30275999b458c704aaa5b818
Binary files /dev/null and b/pgsql/lib/auto_explain.dll differ
diff --git a/pgsql/lib/autoinc.dll b/pgsql/lib/autoinc.dll
new file mode 100644
index 0000000000000000000000000000000000000000..8feca2b6d7dbb66ebc2453b00a088edd2f10a704
Binary files /dev/null and b/pgsql/lib/autoinc.dll differ
diff --git a/pgsql/lib/basebackup_to_shell.dll b/pgsql/lib/basebackup_to_shell.dll
new file mode 100644
index 0000000000000000000000000000000000000000..ce73eac9d55f43c19de88d1ab126a66ece826cc3
Binary files /dev/null and b/pgsql/lib/basebackup_to_shell.dll differ
diff --git a/pgsql/lib/basic_archive.dll b/pgsql/lib/basic_archive.dll
new file mode 100644
index 0000000000000000000000000000000000000000..90f07877209aa14eaf252aac5fb4b4ba714e3fc4
Binary files /dev/null and b/pgsql/lib/basic_archive.dll differ
diff --git a/pgsql/lib/bloom.dll b/pgsql/lib/bloom.dll
new file mode 100644
index 0000000000000000000000000000000000000000..63a9638681645494b45898286c72eb529de4080e
Binary files /dev/null and b/pgsql/lib/bloom.dll differ
diff --git a/pgsql/lib/bool_plperl.dll b/pgsql/lib/bool_plperl.dll
new file mode 100644
index 0000000000000000000000000000000000000000..ecaab050b83d2837732847ddd389d692a33cd4e4
Binary files /dev/null and b/pgsql/lib/bool_plperl.dll differ
diff --git a/pgsql/lib/btree_gin.dll b/pgsql/lib/btree_gin.dll
new file mode 100644
index 0000000000000000000000000000000000000000..bf9a6033ad66bafc457be4aee9dfb19feddf93e6
Binary files /dev/null and b/pgsql/lib/btree_gin.dll differ
diff --git a/pgsql/lib/btree_gist.dll b/pgsql/lib/btree_gist.dll
new file mode 100644
index 0000000000000000000000000000000000000000..c067c81e7af3e30bb8c39975fe61d498b33eee83
Binary files /dev/null and b/pgsql/lib/btree_gist.dll differ
diff --git a/pgsql/lib/citext.dll b/pgsql/lib/citext.dll
new file mode 100644
index 0000000000000000000000000000000000000000..287ad2b1de84d1c9269eda208a14db64c5473693
Binary files /dev/null and b/pgsql/lib/citext.dll differ
diff --git a/pgsql/lib/cube.dll b/pgsql/lib/cube.dll
new file mode 100644
index 0000000000000000000000000000000000000000..e2d82e17276f81384759865ee1a446cf1f32d96b
Binary files /dev/null and b/pgsql/lib/cube.dll differ
diff --git a/pgsql/lib/cyrillic_and_mic.dll b/pgsql/lib/cyrillic_and_mic.dll
new file mode 100644
index 0000000000000000000000000000000000000000..bfe246c640feb9f7c85ca293d5f4098def20436e
Binary files /dev/null and b/pgsql/lib/cyrillic_and_mic.dll differ
diff --git a/pgsql/lib/dblink.dll b/pgsql/lib/dblink.dll
new file mode 100644
index 0000000000000000000000000000000000000000..330d515a4ed78b1a49ff5fb74800875561bf6931
Binary files /dev/null and b/pgsql/lib/dblink.dll differ
diff --git a/pgsql/lib/delay_execution.dll b/pgsql/lib/delay_execution.dll
new file mode 100644
index 0000000000000000000000000000000000000000..dc0bdfd23f528f78d80e765a49c154a7bba6be23
Binary files /dev/null and b/pgsql/lib/delay_execution.dll differ
diff --git a/pgsql/lib/dict_int.dll b/pgsql/lib/dict_int.dll
new file mode 100644
index 0000000000000000000000000000000000000000..eeae52647ef563feae03a3168fe3529810f18495
Binary files /dev/null and b/pgsql/lib/dict_int.dll differ
diff --git a/pgsql/lib/dict_xsyn.dll b/pgsql/lib/dict_xsyn.dll
new file mode 100644
index 0000000000000000000000000000000000000000..f3fd5608d66ec51edd80e3d3dcac3d49409bd5db
Binary files /dev/null and b/pgsql/lib/dict_xsyn.dll differ
diff --git a/pgsql/lib/dummy_index_am.dll b/pgsql/lib/dummy_index_am.dll
new file mode 100644
index 0000000000000000000000000000000000000000..7c7d26cb284262c54299ff455a7ec4f6784e0d96
Binary files /dev/null and b/pgsql/lib/dummy_index_am.dll differ
diff --git a/pgsql/lib/dummy_seclabel.dll b/pgsql/lib/dummy_seclabel.dll
new file mode 100644
index 0000000000000000000000000000000000000000..bb599d944f773ab020c367fcb0df744c1ba1e4ae
Binary files /dev/null and b/pgsql/lib/dummy_seclabel.dll differ
diff --git a/pgsql/lib/earthdistance.dll b/pgsql/lib/earthdistance.dll
new file mode 100644
index 0000000000000000000000000000000000000000..e09629fa3aceea1195c410bd048f28acf3547ed6
Binary files /dev/null and b/pgsql/lib/earthdistance.dll differ
diff --git a/pgsql/lib/euc2004_sjis2004.dll b/pgsql/lib/euc2004_sjis2004.dll
new file mode 100644
index 0000000000000000000000000000000000000000..6b68cd1f77c80a79c7c901169550c6e1302bc95f
Binary files /dev/null and b/pgsql/lib/euc2004_sjis2004.dll differ
diff --git a/pgsql/lib/euc_cn_and_mic.dll b/pgsql/lib/euc_cn_and_mic.dll
new file mode 100644
index 0000000000000000000000000000000000000000..166987df4f09e72d363da4b1c5bbfeb7ddca4133
Binary files /dev/null and b/pgsql/lib/euc_cn_and_mic.dll differ
diff --git a/pgsql/lib/euc_jp_and_sjis.dll b/pgsql/lib/euc_jp_and_sjis.dll
new file mode 100644
index 0000000000000000000000000000000000000000..dbd94d1110f57e61420394ca78df30605f357dee
Binary files /dev/null and b/pgsql/lib/euc_jp_and_sjis.dll differ
diff --git a/pgsql/lib/euc_kr_and_mic.dll b/pgsql/lib/euc_kr_and_mic.dll
new file mode 100644
index 0000000000000000000000000000000000000000..15408b39e9819ad29d8fd5a8f9bba8184e1da6ba
Binary files /dev/null and b/pgsql/lib/euc_kr_and_mic.dll differ
diff --git a/pgsql/lib/euc_tw_and_big5.dll b/pgsql/lib/euc_tw_and_big5.dll
new file mode 100644
index 0000000000000000000000000000000000000000..c0d8519176586d9cea76cde8e92c367f0190e0ce
Binary files /dev/null and b/pgsql/lib/euc_tw_and_big5.dll differ
diff --git a/pgsql/lib/file_fdw.dll b/pgsql/lib/file_fdw.dll
new file mode 100644
index 0000000000000000000000000000000000000000..ddf27020cce91c543ba37df9f4c406f96d96b06e
Binary files /dev/null and b/pgsql/lib/file_fdw.dll differ
diff --git a/pgsql/lib/fuzzystrmatch.dll b/pgsql/lib/fuzzystrmatch.dll
new file mode 100644
index 0000000000000000000000000000000000000000..7bdda6b458f2942c5b016c62c819b3f4d8a592ad
Binary files /dev/null and b/pgsql/lib/fuzzystrmatch.dll differ
diff --git a/pgsql/lib/hstore.dll b/pgsql/lib/hstore.dll
new file mode 100644
index 0000000000000000000000000000000000000000..894ae3595ed08f36563badeaf942b96d51940bd4
Binary files /dev/null and b/pgsql/lib/hstore.dll differ
diff --git a/pgsql/lib/hstore_plperl.dll b/pgsql/lib/hstore_plperl.dll
new file mode 100644
index 0000000000000000000000000000000000000000..c89f7c1ec4601a5cf0f83aeb014beb9a7528123e
Binary files /dev/null and b/pgsql/lib/hstore_plperl.dll differ
diff --git a/pgsql/lib/hstore_plpython3.dll b/pgsql/lib/hstore_plpython3.dll
new file mode 100644
index 0000000000000000000000000000000000000000..bc2c2639f968c31f0157e03a1ede359aca7f79b9
Binary files /dev/null and b/pgsql/lib/hstore_plpython3.dll differ
diff --git a/pgsql/lib/iconv.lib b/pgsql/lib/iconv.lib
new file mode 100644
index 0000000000000000000000000000000000000000..d94e562ab56b37f56a6a175e148697e09f294021
Binary files /dev/null and b/pgsql/lib/iconv.lib differ
diff --git a/pgsql/lib/insert_username.dll b/pgsql/lib/insert_username.dll
new file mode 100644
index 0000000000000000000000000000000000000000..b56e3b905b0ae1082a884f4f79d2e79196def1ec
Binary files /dev/null and b/pgsql/lib/insert_username.dll differ
diff --git a/pgsql/lib/isn.dll b/pgsql/lib/isn.dll
new file mode 100644
index 0000000000000000000000000000000000000000..8711472ff29005bf96fc90c86d13dc743612721a
Binary files /dev/null and b/pgsql/lib/isn.dll differ
diff --git a/pgsql/lib/jsonb_plperl.dll b/pgsql/lib/jsonb_plperl.dll
new file mode 100644
index 0000000000000000000000000000000000000000..a8185d883e7f1b36611683fe69e838eb59c91382
Binary files /dev/null and b/pgsql/lib/jsonb_plperl.dll differ
diff --git a/pgsql/lib/jsonb_plpython3.dll b/pgsql/lib/jsonb_plpython3.dll
new file mode 100644
index 0000000000000000000000000000000000000000..e6c84516800616cf5f007ec9ec5965b2509483de
Binary files /dev/null and b/pgsql/lib/jsonb_plpython3.dll differ
diff --git a/pgsql/lib/latin2_and_win1250.dll b/pgsql/lib/latin2_and_win1250.dll
new file mode 100644
index 0000000000000000000000000000000000000000..3016d2f0f337d1c10b7ecea7242f72a21d5926ad
Binary files /dev/null and b/pgsql/lib/latin2_and_win1250.dll differ
diff --git a/pgsql/lib/latin_and_mic.dll b/pgsql/lib/latin_and_mic.dll
new file mode 100644
index 0000000000000000000000000000000000000000..91c0091f5edb5bd5360e85f4d2d5f6d8b33d851d
Binary files /dev/null and b/pgsql/lib/latin_and_mic.dll differ
diff --git a/pgsql/lib/ldap_password_func.dll b/pgsql/lib/ldap_password_func.dll
new file mode 100644
index 0000000000000000000000000000000000000000..64d5d25d52c4d86016155a743794eb55fba0f2f7
Binary files /dev/null and b/pgsql/lib/ldap_password_func.dll differ
diff --git a/pgsql/lib/libecpg.dll b/pgsql/lib/libecpg.dll
new file mode 100644
index 0000000000000000000000000000000000000000..ea4f33eed7f83ed784b23e76efecbae3158fe14a
Binary files /dev/null and b/pgsql/lib/libecpg.dll differ
diff --git a/pgsql/lib/libecpg.lib b/pgsql/lib/libecpg.lib
new file mode 100644
index 0000000000000000000000000000000000000000..847fc2f1a0707db69439a66b134d3572c10e059a
Binary files /dev/null and b/pgsql/lib/libecpg.lib differ
diff --git a/pgsql/lib/libecpg_compat.dll b/pgsql/lib/libecpg_compat.dll
new file mode 100644
index 0000000000000000000000000000000000000000..44248e1e6fb0ee220724672fec686e87e7da67f5
Binary files /dev/null and b/pgsql/lib/libecpg_compat.dll differ
diff --git a/pgsql/lib/libecpg_compat.lib b/pgsql/lib/libecpg_compat.lib
new file mode 100644
index 0000000000000000000000000000000000000000..f6506db47f2835a3648798ef2f5ef0ea7d862e4e
Binary files /dev/null and b/pgsql/lib/libecpg_compat.lib differ
diff --git a/pgsql/lib/libintl.lib b/pgsql/lib/libintl.lib
new file mode 100644
index 0000000000000000000000000000000000000000..41bc5ef78f973e8501132f46ab8cbd5e84c05e11
Binary files /dev/null and b/pgsql/lib/libintl.lib differ
diff --git a/pgsql/lib/liblz4.lib b/pgsql/lib/liblz4.lib
new file mode 100644
index 0000000000000000000000000000000000000000..9880bb8667ebb2000040e7ff2b3332dc52f08e5b
Binary files /dev/null and b/pgsql/lib/liblz4.lib differ
diff --git a/pgsql/lib/libpgtypes.dll b/pgsql/lib/libpgtypes.dll
new file mode 100644
index 0000000000000000000000000000000000000000..710c5b6148ef1a6285a97e88b23c32e07892823a
Binary files /dev/null and b/pgsql/lib/libpgtypes.dll differ
diff --git a/pgsql/lib/libpgtypes.lib b/pgsql/lib/libpgtypes.lib
new file mode 100644
index 0000000000000000000000000000000000000000..65bfa86fd268b0338c0e67ebecdd5231491df069
Binary files /dev/null and b/pgsql/lib/libpgtypes.lib differ
diff --git a/pgsql/lib/libpq.lib b/pgsql/lib/libpq.lib
new file mode 100644
index 0000000000000000000000000000000000000000..23a591eee3e62e9d5ad897eaf58c66823dfb2faf
Binary files /dev/null and b/pgsql/lib/libpq.lib differ
diff --git a/pgsql/lib/libpqwalreceiver.dll b/pgsql/lib/libpqwalreceiver.dll
new file mode 100644
index 0000000000000000000000000000000000000000..648aeba29df4dbdbb04001907ac6be48fe26c8b8
Binary files /dev/null and b/pgsql/lib/libpqwalreceiver.dll differ
diff --git a/pgsql/lib/libxslt.lib b/pgsql/lib/libxslt.lib
new file mode 100644
index 0000000000000000000000000000000000000000..07806d038cd7188b6c930131a2979c513da1362e
Binary files /dev/null and b/pgsql/lib/libxslt.lib differ
diff --git a/pgsql/lib/libzstd.lib b/pgsql/lib/libzstd.lib
new file mode 100644
index 0000000000000000000000000000000000000000..b7edecd16011f5102121e4840d715f9c57bfe7c0
Binary files /dev/null and b/pgsql/lib/libzstd.lib differ
diff --git a/pgsql/lib/lo.dll b/pgsql/lib/lo.dll
new file mode 100644
index 0000000000000000000000000000000000000000..a41ee42b11c20eddaae9bcd56a1537db2be26aa3
Binary files /dev/null and b/pgsql/lib/lo.dll differ
diff --git a/pgsql/lib/ltree.dll b/pgsql/lib/ltree.dll
new file mode 100644
index 0000000000000000000000000000000000000000..debdd2956724847a5c8e157126daa05a4992865e
Binary files /dev/null and b/pgsql/lib/ltree.dll differ
diff --git a/pgsql/lib/ltree_plpython3.dll b/pgsql/lib/ltree_plpython3.dll
new file mode 100644
index 0000000000000000000000000000000000000000..5e3edaa29b294a2f434fdc11bb1d61d5bf00e713
Binary files /dev/null and b/pgsql/lib/ltree_plpython3.dll differ
diff --git a/pgsql/lib/moddatetime.dll b/pgsql/lib/moddatetime.dll
new file mode 100644
index 0000000000000000000000000000000000000000..83ade036dfca6b08256109fc4caeb5df816e2f3b
Binary files /dev/null and b/pgsql/lib/moddatetime.dll differ
diff --git a/pgsql/lib/old_snapshot.dll b/pgsql/lib/old_snapshot.dll
new file mode 100644
index 0000000000000000000000000000000000000000..2aa13f9dfa0d2718312b32f4302544bf23ee439c
Binary files /dev/null and b/pgsql/lib/old_snapshot.dll differ
diff --git a/pgsql/lib/pageinspect.dll b/pgsql/lib/pageinspect.dll
new file mode 100644
index 0000000000000000000000000000000000000000..9d57e8f14848dec66dbcf8be31f9acbe6e03576d
Binary files /dev/null and b/pgsql/lib/pageinspect.dll differ
diff --git a/pgsql/lib/passwordcheck.dll b/pgsql/lib/passwordcheck.dll
new file mode 100644
index 0000000000000000000000000000000000000000..14fe8ab264c2c23756c3764310d69de3e797652f
Binary files /dev/null and b/pgsql/lib/passwordcheck.dll differ
diff --git a/pgsql/lib/pg_buffercache.dll b/pgsql/lib/pg_buffercache.dll
new file mode 100644
index 0000000000000000000000000000000000000000..1469a0285966b8ecb9eb086a6cfd2660e9d59441
Binary files /dev/null and b/pgsql/lib/pg_buffercache.dll differ
diff --git a/pgsql/lib/pg_freespacemap.dll b/pgsql/lib/pg_freespacemap.dll
new file mode 100644
index 0000000000000000000000000000000000000000..e4b71a955c70512973f25d91443ccbd5b76eb754
Binary files /dev/null and b/pgsql/lib/pg_freespacemap.dll differ
diff --git a/pgsql/lib/pg_prewarm.dll b/pgsql/lib/pg_prewarm.dll
new file mode 100644
index 0000000000000000000000000000000000000000..4a37a2eb6c85fca24c6c24d268bfb644687398ba
Binary files /dev/null and b/pgsql/lib/pg_prewarm.dll differ
diff --git a/pgsql/lib/pg_stat_statements.dll b/pgsql/lib/pg_stat_statements.dll
new file mode 100644
index 0000000000000000000000000000000000000000..8688145a018ad1aa5ca98384f4f5fc384bdebd33
Binary files /dev/null and b/pgsql/lib/pg_stat_statements.dll differ
diff --git a/pgsql/lib/pg_surgery.dll b/pgsql/lib/pg_surgery.dll
new file mode 100644
index 0000000000000000000000000000000000000000..22d5c8353e2a9b5a9eb078abbd94720004ab88d2
Binary files /dev/null and b/pgsql/lib/pg_surgery.dll differ
diff --git a/pgsql/lib/pg_trgm.dll b/pgsql/lib/pg_trgm.dll
new file mode 100644
index 0000000000000000000000000000000000000000..82d159fb9aa53e7aa14a60d7bd8a993d7815e11e
Binary files /dev/null and b/pgsql/lib/pg_trgm.dll differ
diff --git a/pgsql/lib/pg_visibility.dll b/pgsql/lib/pg_visibility.dll
new file mode 100644
index 0000000000000000000000000000000000000000..175180780f0fa7c04f30f1015634b0225995f7b7
Binary files /dev/null and b/pgsql/lib/pg_visibility.dll differ
diff --git a/pgsql/lib/pg_walinspect.dll b/pgsql/lib/pg_walinspect.dll
new file mode 100644
index 0000000000000000000000000000000000000000..709e76e84c94f9fe725e1ad41b3224b28d3cc4f7
Binary files /dev/null and b/pgsql/lib/pg_walinspect.dll differ
diff --git a/pgsql/lib/pgevent.dll b/pgsql/lib/pgevent.dll
new file mode 100644
index 0000000000000000000000000000000000000000..fea9768274e334d2e6da799e1721576efa8e425a
Binary files /dev/null and b/pgsql/lib/pgevent.dll differ
diff --git a/pgsql/lib/pgoutput.dll b/pgsql/lib/pgoutput.dll
new file mode 100644
index 0000000000000000000000000000000000000000..d4f84a50cf776b276d5c347aba7b79f810984240
Binary files /dev/null and b/pgsql/lib/pgoutput.dll differ
diff --git a/pgsql/lib/pgrowlocks.dll b/pgsql/lib/pgrowlocks.dll
new file mode 100644
index 0000000000000000000000000000000000000000..72dfa2d51190adf8270c35407eb9ebba23db534f
Binary files /dev/null and b/pgsql/lib/pgrowlocks.dll differ
diff --git a/pgsql/lib/pgstattuple.dll b/pgsql/lib/pgstattuple.dll
new file mode 100644
index 0000000000000000000000000000000000000000..d98a18437baf2a10c26860e68d3259cfdb761120
Binary files /dev/null and b/pgsql/lib/pgstattuple.dll differ
diff --git a/pgsql/lib/pgxml.dll b/pgsql/lib/pgxml.dll
new file mode 100644
index 0000000000000000000000000000000000000000..d793c2cc36b64c590dfca95b0b57c29a25502c11
Binary files /dev/null and b/pgsql/lib/pgxml.dll differ
diff --git a/pgsql/lib/plperl.dll b/pgsql/lib/plperl.dll
new file mode 100644
index 0000000000000000000000000000000000000000..4435c9bc6ff0ae757aea04515c4d3cd6da0bd43d
Binary files /dev/null and b/pgsql/lib/plperl.dll differ
diff --git a/pgsql/lib/plpgsql.lib b/pgsql/lib/plpgsql.lib
new file mode 100644
index 0000000000000000000000000000000000000000..8ee41afa3b20d23d83287b6fc6b770c559bc90c5
Binary files /dev/null and b/pgsql/lib/plpgsql.lib differ
diff --git a/pgsql/lib/plsample.dll b/pgsql/lib/plsample.dll
new file mode 100644
index 0000000000000000000000000000000000000000..205ad35062d56560e3bfaeef61893cc87f0166c4
Binary files /dev/null and b/pgsql/lib/plsample.dll differ
diff --git a/pgsql/lib/pltcl.dll b/pgsql/lib/pltcl.dll
new file mode 100644
index 0000000000000000000000000000000000000000..719c68613c5b33026e61497245310a31fa7cbf53
Binary files /dev/null and b/pgsql/lib/pltcl.dll differ
diff --git a/pgsql/lib/plugin_debugger.dll b/pgsql/lib/plugin_debugger.dll
new file mode 100644
index 0000000000000000000000000000000000000000..cff5cc50647c8b681b055e0612c821816a0059a6
Binary files /dev/null and b/pgsql/lib/plugin_debugger.dll differ
diff --git a/pgsql/lib/refint.dll b/pgsql/lib/refint.dll
new file mode 100644
index 0000000000000000000000000000000000000000..1260f2c85c1c1143a82331041cb61fe29ae42b91
Binary files /dev/null and b/pgsql/lib/refint.dll differ
diff --git a/pgsql/lib/regress.dll b/pgsql/lib/regress.dll
new file mode 100644
index 0000000000000000000000000000000000000000..cfbdb4d7470b2f1107744179aa3ccdb5b5a87df9
Binary files /dev/null and b/pgsql/lib/regress.dll differ
diff --git a/pgsql/lib/seg.dll b/pgsql/lib/seg.dll
new file mode 100644
index 0000000000000000000000000000000000000000..47a7654cb1f6e5e63c6eaa57b2dee6ec87e589c7
Binary files /dev/null and b/pgsql/lib/seg.dll differ
diff --git a/pgsql/lib/spgist_name_ops.dll b/pgsql/lib/spgist_name_ops.dll
new file mode 100644
index 0000000000000000000000000000000000000000..268456ccbdd65bff28bb083448ff2910e30596d7
Binary files /dev/null and b/pgsql/lib/spgist_name_ops.dll differ
diff --git a/pgsql/lib/ssl_passphrase_func.dll b/pgsql/lib/ssl_passphrase_func.dll
new file mode 100644
index 0000000000000000000000000000000000000000..e60779f2b4452b13c4af56ee7c72df7cba900977
Binary files /dev/null and b/pgsql/lib/ssl_passphrase_func.dll differ
diff --git a/pgsql/lib/sslinfo.dll b/pgsql/lib/sslinfo.dll
new file mode 100644
index 0000000000000000000000000000000000000000..fc8e5d3e559cc0781b014476ffb44c15f85c3c86
Binary files /dev/null and b/pgsql/lib/sslinfo.dll differ
diff --git a/pgsql/lib/system_stats.dll b/pgsql/lib/system_stats.dll
new file mode 100644
index 0000000000000000000000000000000000000000..8672e4ca53c72a7ecaf4bf888e9cc2436ae908c8
Binary files /dev/null and b/pgsql/lib/system_stats.dll differ
diff --git a/pgsql/lib/tablefunc.dll b/pgsql/lib/tablefunc.dll
new file mode 100644
index 0000000000000000000000000000000000000000..6b4d71d50c0de3397224386cfc4bf3a8cd90d18a
Binary files /dev/null and b/pgsql/lib/tablefunc.dll differ
diff --git a/pgsql/lib/tcn.dll b/pgsql/lib/tcn.dll
new file mode 100644
index 0000000000000000000000000000000000000000..5e5fbe632418d004350ff960baf4e8c15bac1941
Binary files /dev/null and b/pgsql/lib/tcn.dll differ
diff --git a/pgsql/lib/test_bloomfilter.dll b/pgsql/lib/test_bloomfilter.dll
new file mode 100644
index 0000000000000000000000000000000000000000..85fbb03f5f1716bb401de39c98b8e2c46ef99a91
Binary files /dev/null and b/pgsql/lib/test_bloomfilter.dll differ
diff --git a/pgsql/lib/test_copy_callbacks.dll b/pgsql/lib/test_copy_callbacks.dll
new file mode 100644
index 0000000000000000000000000000000000000000..2b7001371cb8474e55352b03ffd99c5351c86cb5
Binary files /dev/null and b/pgsql/lib/test_copy_callbacks.dll differ
diff --git a/pgsql/lib/test_custom_rmgrs.dll b/pgsql/lib/test_custom_rmgrs.dll
new file mode 100644
index 0000000000000000000000000000000000000000..a23a6dfb99be9d434fe29861e9871ee9c0a186f2
Binary files /dev/null and b/pgsql/lib/test_custom_rmgrs.dll differ
diff --git a/pgsql/lib/test_ddl_deparse.dll b/pgsql/lib/test_ddl_deparse.dll
new file mode 100644
index 0000000000000000000000000000000000000000..c7bceecb806d2c4b2678c5ac4e9e57b3b2a04fef
Binary files /dev/null and b/pgsql/lib/test_ddl_deparse.dll differ
diff --git a/pgsql/lib/test_decoding.dll b/pgsql/lib/test_decoding.dll
new file mode 100644
index 0000000000000000000000000000000000000000..6da36b2fe12e5d4bc55e6c586b98e754f30475eb
Binary files /dev/null and b/pgsql/lib/test_decoding.dll differ
diff --git a/pgsql/lib/test_ginpostinglist.dll b/pgsql/lib/test_ginpostinglist.dll
new file mode 100644
index 0000000000000000000000000000000000000000..4db27170dec51cd457d14a42551f48a653ce80dc
Binary files /dev/null and b/pgsql/lib/test_ginpostinglist.dll differ
diff --git a/pgsql/lib/test_integerset.dll b/pgsql/lib/test_integerset.dll
new file mode 100644
index 0000000000000000000000000000000000000000..59cc39c6baf055c134a0e69879cfe86f6f2c2deb
Binary files /dev/null and b/pgsql/lib/test_integerset.dll differ
diff --git a/pgsql/lib/test_lfind.dll b/pgsql/lib/test_lfind.dll
new file mode 100644
index 0000000000000000000000000000000000000000..f510684dbc489c2d51a39a0057e4450500c0ff2f
Binary files /dev/null and b/pgsql/lib/test_lfind.dll differ
diff --git a/pgsql/lib/test_oat_hooks.dll b/pgsql/lib/test_oat_hooks.dll
new file mode 100644
index 0000000000000000000000000000000000000000..93a36f5ee559e5d612a5afcba9350d5ca00de665
Binary files /dev/null and b/pgsql/lib/test_oat_hooks.dll differ
diff --git a/pgsql/lib/test_parser.dll b/pgsql/lib/test_parser.dll
new file mode 100644
index 0000000000000000000000000000000000000000..462a70d63ccdd10d447de6354a1343b428fcb3f0
Binary files /dev/null and b/pgsql/lib/test_parser.dll differ
diff --git a/pgsql/lib/test_predtest.dll b/pgsql/lib/test_predtest.dll
new file mode 100644
index 0000000000000000000000000000000000000000..34e395e0c71ae68a7e69257c222e2843139088ba
Binary files /dev/null and b/pgsql/lib/test_predtest.dll differ
diff --git a/pgsql/lib/test_rbtree.dll b/pgsql/lib/test_rbtree.dll
new file mode 100644
index 0000000000000000000000000000000000000000..0ec603b8d62a3703d78c0e912c5c8e53d1ce4d2b
Binary files /dev/null and b/pgsql/lib/test_rbtree.dll differ
diff --git a/pgsql/lib/test_regex.dll b/pgsql/lib/test_regex.dll
new file mode 100644
index 0000000000000000000000000000000000000000..773c9de2a3c4b5a2affe7fb29b7d749f8d8b6fc1
Binary files /dev/null and b/pgsql/lib/test_regex.dll differ
diff --git a/pgsql/lib/test_rls_hooks.dll b/pgsql/lib/test_rls_hooks.dll
new file mode 100644
index 0000000000000000000000000000000000000000..ad798c2f046b31995ffcadb9d5ee8f76e762e8b7
Binary files /dev/null and b/pgsql/lib/test_rls_hooks.dll differ
diff --git a/pgsql/lib/test_shm_mq.dll b/pgsql/lib/test_shm_mq.dll
new file mode 100644
index 0000000000000000000000000000000000000000..6908ae173c5cff99a6f39ed73572377f5ed04dec
Binary files /dev/null and b/pgsql/lib/test_shm_mq.dll differ
diff --git a/pgsql/lib/test_slru.dll b/pgsql/lib/test_slru.dll
new file mode 100644
index 0000000000000000000000000000000000000000..e1d4e83dc23b0281637d3dc6d3afd65574e29c23
Binary files /dev/null and b/pgsql/lib/test_slru.dll differ
diff --git a/pgsql/lib/tsm_system_rows.dll b/pgsql/lib/tsm_system_rows.dll
new file mode 100644
index 0000000000000000000000000000000000000000..428f344134e71183912ac710a0a9d6884a46f37b
Binary files /dev/null and b/pgsql/lib/tsm_system_rows.dll differ
diff --git a/pgsql/lib/tsm_system_time.dll b/pgsql/lib/tsm_system_time.dll
new file mode 100644
index 0000000000000000000000000000000000000000..8bfe36df495a93ca860e503b45beec4d30f9ba24
Binary files /dev/null and b/pgsql/lib/tsm_system_time.dll differ
diff --git a/pgsql/lib/unaccent.dll b/pgsql/lib/unaccent.dll
new file mode 100644
index 0000000000000000000000000000000000000000..b2510004407b788cbd55863c180f29378876f6c4
Binary files /dev/null and b/pgsql/lib/unaccent.dll differ
diff --git a/pgsql/lib/utf8_and_cyrillic.dll b/pgsql/lib/utf8_and_cyrillic.dll
new file mode 100644
index 0000000000000000000000000000000000000000..6b70aa880872a22f5dcde56ce8a8b811d64d5572
Binary files /dev/null and b/pgsql/lib/utf8_and_cyrillic.dll differ
diff --git a/pgsql/lib/utf8_and_euc_cn.dll b/pgsql/lib/utf8_and_euc_cn.dll
new file mode 100644
index 0000000000000000000000000000000000000000..a0d15218b907b023be306111014c48837fd0f5a6
Binary files /dev/null and b/pgsql/lib/utf8_and_euc_cn.dll differ
diff --git a/pgsql/lib/utf8_and_iso8859.dll b/pgsql/lib/utf8_and_iso8859.dll
new file mode 100644
index 0000000000000000000000000000000000000000..cf076e8953fc7fba5d96c6995d7a52c13298042e
Binary files /dev/null and b/pgsql/lib/utf8_and_iso8859.dll differ
diff --git a/pgsql/lib/utf8_and_iso8859_1.dll b/pgsql/lib/utf8_and_iso8859_1.dll
new file mode 100644
index 0000000000000000000000000000000000000000..45da3274814bf7bbbf474b74f15cb05eb2eb4f9a
Binary files /dev/null and b/pgsql/lib/utf8_and_iso8859_1.dll differ
diff --git a/pgsql/lib/utf8_and_sjis.dll b/pgsql/lib/utf8_and_sjis.dll
new file mode 100644
index 0000000000000000000000000000000000000000..985014c4bfd93fa1cde8400ac568aea95637ff99
Binary files /dev/null and b/pgsql/lib/utf8_and_sjis.dll differ
diff --git a/pgsql/lib/utf8_and_win.dll b/pgsql/lib/utf8_and_win.dll
new file mode 100644
index 0000000000000000000000000000000000000000..f97297941ebf59efd8ec6db25677b318a6e5f097
Binary files /dev/null and b/pgsql/lib/utf8_and_win.dll differ
diff --git a/pgsql/lib/uuid-ossp.dll b/pgsql/lib/uuid-ossp.dll
new file mode 100644
index 0000000000000000000000000000000000000000..a11735c6955813ee74d8021f2581afd11b9d16bd
Binary files /dev/null and b/pgsql/lib/uuid-ossp.dll differ
diff --git a/pgsql/lib/worker_spi.dll b/pgsql/lib/worker_spi.dll
new file mode 100644
index 0000000000000000000000000000000000000000..07de46a16293a5c4334d840bde56c9c6ca7d49e3
Binary files /dev/null and b/pgsql/lib/worker_spi.dll differ
diff --git a/pgsql/lib/wxbase32ud_xml.lib b/pgsql/lib/wxbase32ud_xml.lib
new file mode 100644
index 0000000000000000000000000000000000000000..94de27324fb1a426825f2d724efbd69a0f46b411
Binary files /dev/null and b/pgsql/lib/wxbase32ud_xml.lib differ
diff --git a/pgsql/lib/wxmsw32u_adv.lib b/pgsql/lib/wxmsw32u_adv.lib
new file mode 100644
index 0000000000000000000000000000000000000000..8750285999fce7bc41095bb8df2c20e3c262ac50
Binary files /dev/null and b/pgsql/lib/wxmsw32u_adv.lib differ
diff --git a/pgsql/lib/wxmsw32ud_adv.lib b/pgsql/lib/wxmsw32ud_adv.lib
new file mode 100644
index 0000000000000000000000000000000000000000..4a523c4f5f11d4beb0566b7909bd34e92c72d51b
Binary files /dev/null and b/pgsql/lib/wxmsw32ud_adv.lib differ
diff --git a/pgsql/share/errcodes.txt b/pgsql/share/errcodes.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d244af130a747caf643979734464d54f426471c
--- /dev/null
+++ b/pgsql/share/errcodes.txt
@@ -0,0 +1,497 @@
+#
+# errcodes.txt
+# PostgreSQL error codes
+#
+# Copyright (c) 2003-2023, PostgreSQL Global Development Group
+#
+# This list serves as the basis for generating source files containing error
+# codes. It is kept in a common format to make sure all these source files have
+# the same contents.
+# The files generated from this one are:
+#
+# src/include/utils/errcodes.h
+# macros defining errcode constants to be used in the rest of the source
+#
+# src/pl/plpgsql/src/plerrcodes.h
+# a list of PL/pgSQL condition names and their SQLSTATE codes
+#
+# src/pl/tcl/pltclerrcodes.h
+# the same, for PL/Tcl
+#
+# doc/src/sgml/errcodes-table.sgml
+# a SGML table of error codes for inclusion in the documentation
+#
+# The format of this file is one error code per line, with the following
+# whitespace-separated fields:
+#
+# sqlstate E/W/S errcode_macro_name spec_name
+#
+# where sqlstate is a five-character string following the SQLSTATE conventions,
+# the second field indicates if the code means an error, a warning or success,
+# errcode_macro_name is the C macro name starting with ERRCODE that will be put
+# in errcodes.h, and spec_name is a lowercase, underscore-separated name that
+# will be used as the PL/pgSQL condition name and will also be included in the
+# SGML list. The last field is optional, if not present the PL/pgSQL condition
+# and the SGML entry will not be generated.
+#
+# Empty lines and lines starting with a hash are comments.
+#
+# There are also special lines in the format of:
+#
+# Section: section description
+#
+# that is, lines starting with the string "Section:". They are used to delimit
+# error classes as defined in the SQL spec, and are necessary for SGML output.
+#
+#
+# SQLSTATE codes for errors.
+#
+# The SQL99 code set is rather impoverished, especially in the area of
+# syntactical and semantic errors. We have borrowed codes from IBM's DB2
+# and invented our own codes to develop a useful code set.
+#
+# When adding a new code, make sure it is placed in the most appropriate
+# class (the first two characters of the code value identify the class).
+# The listing is organized by class to make this prominent.
+#
+# Each class should have a generic '000' subclass. However,
+# the generic '000' subclass code should be used for an error only
+# when there is not a more-specific subclass code defined.
+#
+# The SQL spec requires that all the elements of a SQLSTATE code be
+# either digits or upper-case ASCII characters.
+#
+# Classes that begin with 0-4 or A-H are defined by the
+# standard. Within such a class, subclass values defined by the
+# standard must begin with 0-4 or A-H. To define a new error code,
+# ensure that it is either in an "implementation-defined class" (it
+# begins with 5-9 or I-Z), or its subclass falls outside the range of
+# error codes that could be present in future versions of the
+# standard (i.e. the subclass value begins with 5-9 or I-Z).
+#
+# The convention is that new error codes defined by PostgreSQL in a
+# class defined by the standard have a subclass value that begins
+# with 'P'. In addition, error codes defined by PostgreSQL clients
+# (such as ecpg) have a class value that begins with 'Y'.
+
+Section: Class 00 - Successful Completion
+
+00000 S ERRCODE_SUCCESSFUL_COMPLETION successful_completion
+
+Section: Class 01 - Warning
+
+# do not use this class for failure conditions
+01000 W ERRCODE_WARNING warning
+0100C W ERRCODE_WARNING_DYNAMIC_RESULT_SETS_RETURNED dynamic_result_sets_returned
+01008 W ERRCODE_WARNING_IMPLICIT_ZERO_BIT_PADDING implicit_zero_bit_padding
+01003 W ERRCODE_WARNING_NULL_VALUE_ELIMINATED_IN_SET_FUNCTION null_value_eliminated_in_set_function
+01007 W ERRCODE_WARNING_PRIVILEGE_NOT_GRANTED privilege_not_granted
+01006 W ERRCODE_WARNING_PRIVILEGE_NOT_REVOKED privilege_not_revoked
+01004 W ERRCODE_WARNING_STRING_DATA_RIGHT_TRUNCATION string_data_right_truncation
+01P01 W ERRCODE_WARNING_DEPRECATED_FEATURE deprecated_feature
+
+Section: Class 02 - No Data (this is also a warning class per the SQL standard)
+
+# do not use this class for failure conditions
+02000 W ERRCODE_NO_DATA no_data
+02001 W ERRCODE_NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED no_additional_dynamic_result_sets_returned
+
+Section: Class 03 - SQL Statement Not Yet Complete
+
+03000 E ERRCODE_SQL_STATEMENT_NOT_YET_COMPLETE sql_statement_not_yet_complete
+
+Section: Class 08 - Connection Exception
+
+08000 E ERRCODE_CONNECTION_EXCEPTION connection_exception
+08003 E ERRCODE_CONNECTION_DOES_NOT_EXIST connection_does_not_exist
+08006 E ERRCODE_CONNECTION_FAILURE connection_failure
+08001 E ERRCODE_SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION sqlclient_unable_to_establish_sqlconnection
+08004 E ERRCODE_SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION sqlserver_rejected_establishment_of_sqlconnection
+08007 E ERRCODE_TRANSACTION_RESOLUTION_UNKNOWN transaction_resolution_unknown
+08P01 E ERRCODE_PROTOCOL_VIOLATION protocol_violation
+
+Section: Class 09 - Triggered Action Exception
+
+09000 E ERRCODE_TRIGGERED_ACTION_EXCEPTION triggered_action_exception
+
+Section: Class 0A - Feature Not Supported
+
+0A000 E ERRCODE_FEATURE_NOT_SUPPORTED feature_not_supported
+
+Section: Class 0B - Invalid Transaction Initiation
+
+0B000 E ERRCODE_INVALID_TRANSACTION_INITIATION invalid_transaction_initiation
+
+Section: Class 0F - Locator Exception
+
+0F000 E ERRCODE_LOCATOR_EXCEPTION locator_exception
+0F001 E ERRCODE_L_E_INVALID_SPECIFICATION invalid_locator_specification
+
+Section: Class 0L - Invalid Grantor
+
+0L000 E ERRCODE_INVALID_GRANTOR invalid_grantor
+0LP01 E ERRCODE_INVALID_GRANT_OPERATION invalid_grant_operation
+
+Section: Class 0P - Invalid Role Specification
+
+0P000 E ERRCODE_INVALID_ROLE_SPECIFICATION invalid_role_specification
+
+Section: Class 0Z - Diagnostics Exception
+
+0Z000 E ERRCODE_DIAGNOSTICS_EXCEPTION diagnostics_exception
+0Z002 E ERRCODE_STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER stacked_diagnostics_accessed_without_active_handler
+
+Section: Class 20 - Case Not Found
+
+20000 E ERRCODE_CASE_NOT_FOUND case_not_found
+
+Section: Class 21 - Cardinality Violation
+
+# this means something returned the wrong number of rows
+21000 E ERRCODE_CARDINALITY_VIOLATION cardinality_violation
+
+Section: Class 22 - Data Exception
+
+22000 E ERRCODE_DATA_EXCEPTION data_exception
+2202E E ERRCODE_ARRAY_ELEMENT_ERROR
+# SQL99's actual definition of "array element error" is subscript error
+2202E E ERRCODE_ARRAY_SUBSCRIPT_ERROR array_subscript_error
+22021 E ERRCODE_CHARACTER_NOT_IN_REPERTOIRE character_not_in_repertoire
+22008 E ERRCODE_DATETIME_FIELD_OVERFLOW datetime_field_overflow
+22008 E ERRCODE_DATETIME_VALUE_OUT_OF_RANGE
+22012 E ERRCODE_DIVISION_BY_ZERO division_by_zero
+22005 E ERRCODE_ERROR_IN_ASSIGNMENT error_in_assignment
+2200B E ERRCODE_ESCAPE_CHARACTER_CONFLICT escape_character_conflict
+22022 E ERRCODE_INDICATOR_OVERFLOW indicator_overflow
+22015 E ERRCODE_INTERVAL_FIELD_OVERFLOW interval_field_overflow
+2201E E ERRCODE_INVALID_ARGUMENT_FOR_LOG invalid_argument_for_logarithm
+22014 E ERRCODE_INVALID_ARGUMENT_FOR_NTILE invalid_argument_for_ntile_function
+22016 E ERRCODE_INVALID_ARGUMENT_FOR_NTH_VALUE invalid_argument_for_nth_value_function
+2201F E ERRCODE_INVALID_ARGUMENT_FOR_POWER_FUNCTION invalid_argument_for_power_function
+2201G E ERRCODE_INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION invalid_argument_for_width_bucket_function
+22018 E ERRCODE_INVALID_CHARACTER_VALUE_FOR_CAST invalid_character_value_for_cast
+22007 E ERRCODE_INVALID_DATETIME_FORMAT invalid_datetime_format
+22019 E ERRCODE_INVALID_ESCAPE_CHARACTER invalid_escape_character
+2200D E ERRCODE_INVALID_ESCAPE_OCTET invalid_escape_octet
+22025 E ERRCODE_INVALID_ESCAPE_SEQUENCE invalid_escape_sequence
+22P06 E ERRCODE_NONSTANDARD_USE_OF_ESCAPE_CHARACTER nonstandard_use_of_escape_character
+22010 E ERRCODE_INVALID_INDICATOR_PARAMETER_VALUE invalid_indicator_parameter_value
+22023 E ERRCODE_INVALID_PARAMETER_VALUE invalid_parameter_value
+22013 E ERRCODE_INVALID_PRECEDING_OR_FOLLOWING_SIZE invalid_preceding_or_following_size
+2201B E ERRCODE_INVALID_REGULAR_EXPRESSION invalid_regular_expression
+2201W E ERRCODE_INVALID_ROW_COUNT_IN_LIMIT_CLAUSE invalid_row_count_in_limit_clause
+2201X E ERRCODE_INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE invalid_row_count_in_result_offset_clause
+2202H E ERRCODE_INVALID_TABLESAMPLE_ARGUMENT invalid_tablesample_argument
+2202G E ERRCODE_INVALID_TABLESAMPLE_REPEAT invalid_tablesample_repeat
+22009 E ERRCODE_INVALID_TIME_ZONE_DISPLACEMENT_VALUE invalid_time_zone_displacement_value
+2200C E ERRCODE_INVALID_USE_OF_ESCAPE_CHARACTER invalid_use_of_escape_character
+2200G E ERRCODE_MOST_SPECIFIC_TYPE_MISMATCH most_specific_type_mismatch
+22004 E ERRCODE_NULL_VALUE_NOT_ALLOWED null_value_not_allowed
+22002 E ERRCODE_NULL_VALUE_NO_INDICATOR_PARAMETER null_value_no_indicator_parameter
+22003 E ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE numeric_value_out_of_range
+2200H E ERRCODE_SEQUENCE_GENERATOR_LIMIT_EXCEEDED sequence_generator_limit_exceeded
+22026 E ERRCODE_STRING_DATA_LENGTH_MISMATCH string_data_length_mismatch
+22001 E ERRCODE_STRING_DATA_RIGHT_TRUNCATION string_data_right_truncation
+22011 E ERRCODE_SUBSTRING_ERROR substring_error
+22027 E ERRCODE_TRIM_ERROR trim_error
+22024 E ERRCODE_UNTERMINATED_C_STRING unterminated_c_string
+2200F E ERRCODE_ZERO_LENGTH_CHARACTER_STRING zero_length_character_string
+22P01 E ERRCODE_FLOATING_POINT_EXCEPTION floating_point_exception
+22P02 E ERRCODE_INVALID_TEXT_REPRESENTATION invalid_text_representation
+22P03 E ERRCODE_INVALID_BINARY_REPRESENTATION invalid_binary_representation
+22P04 E ERRCODE_BAD_COPY_FILE_FORMAT bad_copy_file_format
+22P05 E ERRCODE_UNTRANSLATABLE_CHARACTER untranslatable_character
+2200L E ERRCODE_NOT_AN_XML_DOCUMENT not_an_xml_document
+2200M E ERRCODE_INVALID_XML_DOCUMENT invalid_xml_document
+2200N E ERRCODE_INVALID_XML_CONTENT invalid_xml_content
+2200S E ERRCODE_INVALID_XML_COMMENT invalid_xml_comment
+2200T E ERRCODE_INVALID_XML_PROCESSING_INSTRUCTION invalid_xml_processing_instruction
+22030 E ERRCODE_DUPLICATE_JSON_OBJECT_KEY_VALUE duplicate_json_object_key_value
+22031 E ERRCODE_INVALID_ARGUMENT_FOR_SQL_JSON_DATETIME_FUNCTION invalid_argument_for_sql_json_datetime_function
+22032 E ERRCODE_INVALID_JSON_TEXT invalid_json_text
+22033 E ERRCODE_INVALID_SQL_JSON_SUBSCRIPT invalid_sql_json_subscript
+22034 E ERRCODE_MORE_THAN_ONE_SQL_JSON_ITEM more_than_one_sql_json_item
+22035 E ERRCODE_NO_SQL_JSON_ITEM no_sql_json_item
+22036 E ERRCODE_NON_NUMERIC_SQL_JSON_ITEM non_numeric_sql_json_item
+22037 E ERRCODE_NON_UNIQUE_KEYS_IN_A_JSON_OBJECT non_unique_keys_in_a_json_object
+22038 E ERRCODE_SINGLETON_SQL_JSON_ITEM_REQUIRED singleton_sql_json_item_required
+22039 E ERRCODE_SQL_JSON_ARRAY_NOT_FOUND sql_json_array_not_found
+2203A E ERRCODE_SQL_JSON_MEMBER_NOT_FOUND sql_json_member_not_found
+2203B E ERRCODE_SQL_JSON_NUMBER_NOT_FOUND sql_json_number_not_found
+2203C E ERRCODE_SQL_JSON_OBJECT_NOT_FOUND sql_json_object_not_found
+2203D E ERRCODE_TOO_MANY_JSON_ARRAY_ELEMENTS too_many_json_array_elements
+2203E E ERRCODE_TOO_MANY_JSON_OBJECT_MEMBERS too_many_json_object_members
+2203F E ERRCODE_SQL_JSON_SCALAR_REQUIRED sql_json_scalar_required
+2203G E ERRCODE_SQL_JSON_ITEM_CANNOT_BE_CAST_TO_TARGET_TYPE sql_json_item_cannot_be_cast_to_target_type
+
+Section: Class 23 - Integrity Constraint Violation
+
+23000 E ERRCODE_INTEGRITY_CONSTRAINT_VIOLATION integrity_constraint_violation
+23001 E ERRCODE_RESTRICT_VIOLATION restrict_violation
+23502 E ERRCODE_NOT_NULL_VIOLATION not_null_violation
+23503 E ERRCODE_FOREIGN_KEY_VIOLATION foreign_key_violation
+23505 E ERRCODE_UNIQUE_VIOLATION unique_violation
+23514 E ERRCODE_CHECK_VIOLATION check_violation
+23P01 E ERRCODE_EXCLUSION_VIOLATION exclusion_violation
+
+Section: Class 24 - Invalid Cursor State
+
+24000 E ERRCODE_INVALID_CURSOR_STATE invalid_cursor_state
+
+Section: Class 25 - Invalid Transaction State
+
+25000 E ERRCODE_INVALID_TRANSACTION_STATE invalid_transaction_state
+25001 E ERRCODE_ACTIVE_SQL_TRANSACTION active_sql_transaction
+25002 E ERRCODE_BRANCH_TRANSACTION_ALREADY_ACTIVE branch_transaction_already_active
+25008 E ERRCODE_HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL held_cursor_requires_same_isolation_level
+25003 E ERRCODE_INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION inappropriate_access_mode_for_branch_transaction
+25004 E ERRCODE_INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION inappropriate_isolation_level_for_branch_transaction
+25005 E ERRCODE_NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION no_active_sql_transaction_for_branch_transaction
+25006 E ERRCODE_READ_ONLY_SQL_TRANSACTION read_only_sql_transaction
+25007 E ERRCODE_SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED schema_and_data_statement_mixing_not_supported
+25P01 E ERRCODE_NO_ACTIVE_SQL_TRANSACTION no_active_sql_transaction
+25P02 E ERRCODE_IN_FAILED_SQL_TRANSACTION in_failed_sql_transaction
+25P03 E ERRCODE_IDLE_IN_TRANSACTION_SESSION_TIMEOUT idle_in_transaction_session_timeout
+
+Section: Class 26 - Invalid SQL Statement Name
+
+# (we take this to mean prepared statements
+26000 E ERRCODE_INVALID_SQL_STATEMENT_NAME invalid_sql_statement_name
+
+Section: Class 27 - Triggered Data Change Violation
+
+27000 E ERRCODE_TRIGGERED_DATA_CHANGE_VIOLATION triggered_data_change_violation
+
+Section: Class 28 - Invalid Authorization Specification
+
+28000 E ERRCODE_INVALID_AUTHORIZATION_SPECIFICATION invalid_authorization_specification
+28P01 E ERRCODE_INVALID_PASSWORD invalid_password
+
+Section: Class 2B - Dependent Privilege Descriptors Still Exist
+
+2B000 E ERRCODE_DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST dependent_privilege_descriptors_still_exist
+2BP01 E ERRCODE_DEPENDENT_OBJECTS_STILL_EXIST dependent_objects_still_exist
+
+Section: Class 2D - Invalid Transaction Termination
+
+2D000 E ERRCODE_INVALID_TRANSACTION_TERMINATION invalid_transaction_termination
+
+Section: Class 2F - SQL Routine Exception
+
+2F000 E ERRCODE_SQL_ROUTINE_EXCEPTION sql_routine_exception
+2F005 E ERRCODE_S_R_E_FUNCTION_EXECUTED_NO_RETURN_STATEMENT function_executed_no_return_statement
+2F002 E ERRCODE_S_R_E_MODIFYING_SQL_DATA_NOT_PERMITTED modifying_sql_data_not_permitted
+2F003 E ERRCODE_S_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED prohibited_sql_statement_attempted
+2F004 E ERRCODE_S_R_E_READING_SQL_DATA_NOT_PERMITTED reading_sql_data_not_permitted
+
+Section: Class 34 - Invalid Cursor Name
+
+34000 E ERRCODE_INVALID_CURSOR_NAME invalid_cursor_name
+
+Section: Class 38 - External Routine Exception
+
+38000 E ERRCODE_EXTERNAL_ROUTINE_EXCEPTION external_routine_exception
+38001 E ERRCODE_E_R_E_CONTAINING_SQL_NOT_PERMITTED containing_sql_not_permitted
+38002 E ERRCODE_E_R_E_MODIFYING_SQL_DATA_NOT_PERMITTED modifying_sql_data_not_permitted
+38003 E ERRCODE_E_R_E_PROHIBITED_SQL_STATEMENT_ATTEMPTED prohibited_sql_statement_attempted
+38004 E ERRCODE_E_R_E_READING_SQL_DATA_NOT_PERMITTED reading_sql_data_not_permitted
+
+Section: Class 39 - External Routine Invocation Exception
+
+39000 E ERRCODE_EXTERNAL_ROUTINE_INVOCATION_EXCEPTION external_routine_invocation_exception
+39001 E ERRCODE_E_R_I_E_INVALID_SQLSTATE_RETURNED invalid_sqlstate_returned
+39004 E ERRCODE_E_R_I_E_NULL_VALUE_NOT_ALLOWED null_value_not_allowed
+39P01 E ERRCODE_E_R_I_E_TRIGGER_PROTOCOL_VIOLATED trigger_protocol_violated
+39P02 E ERRCODE_E_R_I_E_SRF_PROTOCOL_VIOLATED srf_protocol_violated
+39P03 E ERRCODE_E_R_I_E_EVENT_TRIGGER_PROTOCOL_VIOLATED event_trigger_protocol_violated
+
+Section: Class 3B - Savepoint Exception
+
+3B000 E ERRCODE_SAVEPOINT_EXCEPTION savepoint_exception
+3B001 E ERRCODE_S_E_INVALID_SPECIFICATION invalid_savepoint_specification
+
+Section: Class 3D - Invalid Catalog Name
+
+3D000 E ERRCODE_INVALID_CATALOG_NAME invalid_catalog_name
+
+Section: Class 3F - Invalid Schema Name
+
+3F000 E ERRCODE_INVALID_SCHEMA_NAME invalid_schema_name
+
+Section: Class 40 - Transaction Rollback
+
+40000 E ERRCODE_TRANSACTION_ROLLBACK transaction_rollback
+40002 E ERRCODE_T_R_INTEGRITY_CONSTRAINT_VIOLATION transaction_integrity_constraint_violation
+40001 E ERRCODE_T_R_SERIALIZATION_FAILURE serialization_failure
+40003 E ERRCODE_T_R_STATEMENT_COMPLETION_UNKNOWN statement_completion_unknown
+40P01 E ERRCODE_T_R_DEADLOCK_DETECTED deadlock_detected
+
+Section: Class 42 - Syntax Error or Access Rule Violation
+
+42000 E ERRCODE_SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION syntax_error_or_access_rule_violation
+# never use the above; use one of these two if no specific code exists:
+42601 E ERRCODE_SYNTAX_ERROR syntax_error
+42501 E ERRCODE_INSUFFICIENT_PRIVILEGE insufficient_privilege
+42846 E ERRCODE_CANNOT_COERCE cannot_coerce
+42803 E ERRCODE_GROUPING_ERROR grouping_error
+42P20 E ERRCODE_WINDOWING_ERROR windowing_error
+42P19 E ERRCODE_INVALID_RECURSION invalid_recursion
+42830 E ERRCODE_INVALID_FOREIGN_KEY invalid_foreign_key
+42602 E ERRCODE_INVALID_NAME invalid_name
+42622 E ERRCODE_NAME_TOO_LONG name_too_long
+42939 E ERRCODE_RESERVED_NAME reserved_name
+42804 E ERRCODE_DATATYPE_MISMATCH datatype_mismatch
+42P18 E ERRCODE_INDETERMINATE_DATATYPE indeterminate_datatype
+42P21 E ERRCODE_COLLATION_MISMATCH collation_mismatch
+42P22 E ERRCODE_INDETERMINATE_COLLATION indeterminate_collation
+42809 E ERRCODE_WRONG_OBJECT_TYPE wrong_object_type
+428C9 E ERRCODE_GENERATED_ALWAYS generated_always
+
+# Note: for ERRCODE purposes, we divide namable objects into these categories:
+# databases, schemas, prepared statements, cursors, tables, columns,
+# functions (including operators), and all else (lumped as "objects").
+# (The first four categories are mandated by the existence of separate
+# SQLSTATE classes for them in the spec; in this file, however, we group
+# the ERRCODE names with all the rest under class 42.) Parameters are
+# sort-of-named objects and get their own ERRCODE.
+#
+# The same breakdown is used for "duplicate" and "ambiguous" complaints,
+# as well as complaints associated with incorrect declarations.
+
+42703 E ERRCODE_UNDEFINED_COLUMN undefined_column
+34000 E ERRCODE_UNDEFINED_CURSOR
+3D000 E ERRCODE_UNDEFINED_DATABASE
+42883 E ERRCODE_UNDEFINED_FUNCTION undefined_function
+26000 E ERRCODE_UNDEFINED_PSTATEMENT
+3F000 E ERRCODE_UNDEFINED_SCHEMA
+42P01 E ERRCODE_UNDEFINED_TABLE undefined_table
+42P02 E ERRCODE_UNDEFINED_PARAMETER undefined_parameter
+42704 E ERRCODE_UNDEFINED_OBJECT undefined_object
+42701 E ERRCODE_DUPLICATE_COLUMN duplicate_column
+42P03 E ERRCODE_DUPLICATE_CURSOR duplicate_cursor
+42P04 E ERRCODE_DUPLICATE_DATABASE duplicate_database
+42723 E ERRCODE_DUPLICATE_FUNCTION duplicate_function
+42P05 E ERRCODE_DUPLICATE_PSTATEMENT duplicate_prepared_statement
+42P06 E ERRCODE_DUPLICATE_SCHEMA duplicate_schema
+42P07 E ERRCODE_DUPLICATE_TABLE duplicate_table
+42712 E ERRCODE_DUPLICATE_ALIAS duplicate_alias
+42710 E ERRCODE_DUPLICATE_OBJECT duplicate_object
+42702 E ERRCODE_AMBIGUOUS_COLUMN ambiguous_column
+42725 E ERRCODE_AMBIGUOUS_FUNCTION ambiguous_function
+42P08 E ERRCODE_AMBIGUOUS_PARAMETER ambiguous_parameter
+42P09 E ERRCODE_AMBIGUOUS_ALIAS ambiguous_alias
+42P10 E ERRCODE_INVALID_COLUMN_REFERENCE invalid_column_reference
+42611 E ERRCODE_INVALID_COLUMN_DEFINITION invalid_column_definition
+42P11 E ERRCODE_INVALID_CURSOR_DEFINITION invalid_cursor_definition
+42P12 E ERRCODE_INVALID_DATABASE_DEFINITION invalid_database_definition
+42P13 E ERRCODE_INVALID_FUNCTION_DEFINITION invalid_function_definition
+42P14 E ERRCODE_INVALID_PSTATEMENT_DEFINITION invalid_prepared_statement_definition
+42P15 E ERRCODE_INVALID_SCHEMA_DEFINITION invalid_schema_definition
+42P16 E ERRCODE_INVALID_TABLE_DEFINITION invalid_table_definition
+42P17 E ERRCODE_INVALID_OBJECT_DEFINITION invalid_object_definition
+
+Section: Class 44 - WITH CHECK OPTION Violation
+
+44000 E ERRCODE_WITH_CHECK_OPTION_VIOLATION with_check_option_violation
+
+Section: Class 53 - Insufficient Resources
+
+# (PostgreSQL-specific error class)
+53000 E ERRCODE_INSUFFICIENT_RESOURCES insufficient_resources
+53100 E ERRCODE_DISK_FULL disk_full
+53200 E ERRCODE_OUT_OF_MEMORY out_of_memory
+53300 E ERRCODE_TOO_MANY_CONNECTIONS too_many_connections
+53400 E ERRCODE_CONFIGURATION_LIMIT_EXCEEDED configuration_limit_exceeded
+
+Section: Class 54 - Program Limit Exceeded
+
+# this is for wired-in limits, not resource exhaustion problems (class borrowed from DB2)
+54000 E ERRCODE_PROGRAM_LIMIT_EXCEEDED program_limit_exceeded
+54001 E ERRCODE_STATEMENT_TOO_COMPLEX statement_too_complex
+54011 E ERRCODE_TOO_MANY_COLUMNS too_many_columns
+54023 E ERRCODE_TOO_MANY_ARGUMENTS too_many_arguments
+
+Section: Class 55 - Object Not In Prerequisite State
+
+# (class borrowed from DB2)
+55000 E ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE object_not_in_prerequisite_state
+55006 E ERRCODE_OBJECT_IN_USE object_in_use
+55P02 E ERRCODE_CANT_CHANGE_RUNTIME_PARAM cant_change_runtime_param
+55P03 E ERRCODE_LOCK_NOT_AVAILABLE lock_not_available
+55P04 E ERRCODE_UNSAFE_NEW_ENUM_VALUE_USAGE unsafe_new_enum_value_usage
+
+Section: Class 57 - Operator Intervention
+
+# (class borrowed from DB2)
+57000 E ERRCODE_OPERATOR_INTERVENTION operator_intervention
+57014 E ERRCODE_QUERY_CANCELED query_canceled
+57P01 E ERRCODE_ADMIN_SHUTDOWN admin_shutdown
+57P02 E ERRCODE_CRASH_SHUTDOWN crash_shutdown
+57P03 E ERRCODE_CANNOT_CONNECT_NOW cannot_connect_now
+57P04 E ERRCODE_DATABASE_DROPPED database_dropped
+57P05 E ERRCODE_IDLE_SESSION_TIMEOUT idle_session_timeout
+
+Section: Class 58 - System Error (errors external to PostgreSQL itself)
+
+# (class borrowed from DB2)
+58000 E ERRCODE_SYSTEM_ERROR system_error
+58030 E ERRCODE_IO_ERROR io_error
+58P01 E ERRCODE_UNDEFINED_FILE undefined_file
+58P02 E ERRCODE_DUPLICATE_FILE duplicate_file
+
+Section: Class 72 - Snapshot Failure
+# (class borrowed from Oracle)
+72000 E ERRCODE_SNAPSHOT_TOO_OLD snapshot_too_old
+
+Section: Class F0 - Configuration File Error
+
+# (PostgreSQL-specific error class)
+F0000 E ERRCODE_CONFIG_FILE_ERROR config_file_error
+F0001 E ERRCODE_LOCK_FILE_EXISTS lock_file_exists
+
+Section: Class HV - Foreign Data Wrapper Error (SQL/MED)
+
+# (SQL/MED-specific error class)
+HV000 E ERRCODE_FDW_ERROR fdw_error
+HV005 E ERRCODE_FDW_COLUMN_NAME_NOT_FOUND fdw_column_name_not_found
+HV002 E ERRCODE_FDW_DYNAMIC_PARAMETER_VALUE_NEEDED fdw_dynamic_parameter_value_needed
+HV010 E ERRCODE_FDW_FUNCTION_SEQUENCE_ERROR fdw_function_sequence_error
+HV021 E ERRCODE_FDW_INCONSISTENT_DESCRIPTOR_INFORMATION fdw_inconsistent_descriptor_information
+HV024 E ERRCODE_FDW_INVALID_ATTRIBUTE_VALUE fdw_invalid_attribute_value
+HV007 E ERRCODE_FDW_INVALID_COLUMN_NAME fdw_invalid_column_name
+HV008 E ERRCODE_FDW_INVALID_COLUMN_NUMBER fdw_invalid_column_number
+HV004 E ERRCODE_FDW_INVALID_DATA_TYPE fdw_invalid_data_type
+HV006 E ERRCODE_FDW_INVALID_DATA_TYPE_DESCRIPTORS fdw_invalid_data_type_descriptors
+HV091 E ERRCODE_FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER fdw_invalid_descriptor_field_identifier
+HV00B E ERRCODE_FDW_INVALID_HANDLE fdw_invalid_handle
+HV00C E ERRCODE_FDW_INVALID_OPTION_INDEX fdw_invalid_option_index
+HV00D E ERRCODE_FDW_INVALID_OPTION_NAME fdw_invalid_option_name
+HV090 E ERRCODE_FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH fdw_invalid_string_length_or_buffer_length
+HV00A E ERRCODE_FDW_INVALID_STRING_FORMAT fdw_invalid_string_format
+HV009 E ERRCODE_FDW_INVALID_USE_OF_NULL_POINTER fdw_invalid_use_of_null_pointer
+HV014 E ERRCODE_FDW_TOO_MANY_HANDLES fdw_too_many_handles
+HV001 E ERRCODE_FDW_OUT_OF_MEMORY fdw_out_of_memory
+HV00P E ERRCODE_FDW_NO_SCHEMAS fdw_no_schemas
+HV00J E ERRCODE_FDW_OPTION_NAME_NOT_FOUND fdw_option_name_not_found
+HV00K E ERRCODE_FDW_REPLY_HANDLE fdw_reply_handle
+HV00Q E ERRCODE_FDW_SCHEMA_NOT_FOUND fdw_schema_not_found
+HV00R E ERRCODE_FDW_TABLE_NOT_FOUND fdw_table_not_found
+HV00L E ERRCODE_FDW_UNABLE_TO_CREATE_EXECUTION fdw_unable_to_create_execution
+HV00M E ERRCODE_FDW_UNABLE_TO_CREATE_REPLY fdw_unable_to_create_reply
+HV00N E ERRCODE_FDW_UNABLE_TO_ESTABLISH_CONNECTION fdw_unable_to_establish_connection
+
+Section: Class P0 - PL/pgSQL Error
+
+# (PostgreSQL-specific error class)
+P0000 E ERRCODE_PLPGSQL_ERROR plpgsql_error
+P0001 E ERRCODE_RAISE_EXCEPTION raise_exception
+P0002 E ERRCODE_NO_DATA_FOUND no_data_found
+P0003 E ERRCODE_TOO_MANY_ROWS too_many_rows
+P0004 E ERRCODE_ASSERT_FAILURE assert_failure
+
+Section: Class XX - Internal Error
+
+# this is for "can't-happen" conditions and software bugs (PostgreSQL-specific error class)
+XX000 E ERRCODE_INTERNAL_ERROR internal_error
+XX001 E ERRCODE_DATA_CORRUPTED data_corrupted
+XX002 E ERRCODE_INDEX_CORRUPTED index_corrupted
diff --git a/pgsql/share/extension/adminpack--1.0--1.1.sql b/pgsql/share/extension/adminpack--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..bb581653e0ddeb93d77e90c00dbd5339564f3d55
--- /dev/null
+++ b/pgsql/share/extension/adminpack--1.0--1.1.sql
@@ -0,0 +1,6 @@
+/* contrib/adminpack/adminpack--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION adminpack UPDATE TO '1.1'" to load this file. \quit
+
+REVOKE EXECUTE ON FUNCTION pg_catalog.pg_logfile_rotate() FROM PUBLIC;
diff --git a/pgsql/share/extension/adminpack--1.0.sql b/pgsql/share/extension/adminpack--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..f76f5c3cdf71978a37a9bf5e4e0fe83e5631e21d
--- /dev/null
+++ b/pgsql/share/extension/adminpack--1.0.sql
@@ -0,0 +1,53 @@
+/* contrib/adminpack/adminpack--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION adminpack" to load this file. \quit
+
+/* ***********************************************
+ * Administrative functions for PostgreSQL
+ * *********************************************** */
+
+/* generic file access functions */
+
+CREATE FUNCTION pg_catalog.pg_file_write(text, text, bool)
+RETURNS bigint
+AS 'MODULE_PATHNAME', 'pg_file_write'
+LANGUAGE C VOLATILE STRICT;
+
+CREATE FUNCTION pg_catalog.pg_file_rename(text, text, text)
+RETURNS bool
+AS 'MODULE_PATHNAME', 'pg_file_rename'
+LANGUAGE C VOLATILE;
+
+CREATE FUNCTION pg_catalog.pg_file_rename(text, text)
+RETURNS bool
+AS 'SELECT pg_catalog.pg_file_rename($1, $2, NULL::pg_catalog.text);'
+LANGUAGE SQL VOLATILE STRICT;
+
+CREATE FUNCTION pg_catalog.pg_file_unlink(text)
+RETURNS bool
+AS 'MODULE_PATHNAME', 'pg_file_unlink'
+LANGUAGE C VOLATILE STRICT;
+
+CREATE FUNCTION pg_catalog.pg_logdir_ls()
+RETURNS setof record
+AS 'MODULE_PATHNAME', 'pg_logdir_ls'
+LANGUAGE C VOLATILE STRICT;
+
+
+/* Renaming of existing backend functions for pgAdmin compatibility */
+
+CREATE FUNCTION pg_catalog.pg_file_read(text, bigint, bigint)
+RETURNS text
+AS 'pg_read_file'
+LANGUAGE INTERNAL VOLATILE STRICT;
+
+CREATE FUNCTION pg_catalog.pg_file_length(text)
+RETURNS bigint
+AS 'SELECT size FROM pg_catalog.pg_stat_file($1)'
+LANGUAGE SQL VOLATILE STRICT;
+
+CREATE FUNCTION pg_catalog.pg_logfile_rotate()
+RETURNS int4
+AS 'pg_rotate_logfile'
+LANGUAGE INTERNAL VOLATILE STRICT;
diff --git a/pgsql/share/extension/adminpack--1.1--2.0.sql b/pgsql/share/extension/adminpack--1.1--2.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..ceaeafa3789b1abf1b184dc806d6517f35275d65
--- /dev/null
+++ b/pgsql/share/extension/adminpack--1.1--2.0.sql
@@ -0,0 +1,51 @@
+/* contrib/adminpack/adminpack--1.1--2.0.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION adminpack UPDATE TO '2.0'" to load this file. \quit
+
+/* ***********************************************
+ * Administrative functions for PostgreSQL
+ * *********************************************** */
+
+/* generic file access functions */
+
+CREATE OR REPLACE FUNCTION pg_catalog.pg_file_write(text, text, bool)
+RETURNS bigint
+AS 'MODULE_PATHNAME', 'pg_file_write_v1_1'
+LANGUAGE C VOLATILE STRICT;
+
+REVOKE EXECUTE ON FUNCTION pg_catalog.pg_file_write(text, text, bool) FROM PUBLIC;
+
+CREATE OR REPLACE FUNCTION pg_catalog.pg_file_rename(text, text, text)
+RETURNS bool
+AS 'MODULE_PATHNAME', 'pg_file_rename_v1_1'
+LANGUAGE C VOLATILE;
+
+REVOKE EXECUTE ON FUNCTION pg_catalog.pg_file_rename(text, text, text) FROM PUBLIC;
+
+CREATE OR REPLACE FUNCTION pg_catalog.pg_file_rename(text, text)
+RETURNS bool
+AS 'SELECT pg_catalog.pg_file_rename($1, $2, NULL::pg_catalog.text);'
+LANGUAGE SQL VOLATILE STRICT;
+
+CREATE OR REPLACE FUNCTION pg_catalog.pg_file_unlink(text)
+RETURNS bool
+AS 'MODULE_PATHNAME', 'pg_file_unlink_v1_1'
+LANGUAGE C VOLATILE STRICT;
+
+REVOKE EXECUTE ON FUNCTION pg_catalog.pg_file_unlink(text) FROM PUBLIC;
+
+CREATE OR REPLACE FUNCTION pg_catalog.pg_logdir_ls()
+RETURNS setof record
+AS 'MODULE_PATHNAME', 'pg_logdir_ls_v1_1'
+LANGUAGE C VOLATILE STRICT;
+
+REVOKE EXECUTE ON FUNCTION pg_catalog.pg_logdir_ls() FROM PUBLIC;
+
+/* These functions are now in the backend and callers should update to use those */
+
+DROP FUNCTION pg_file_read(text, bigint, bigint);
+
+DROP FUNCTION pg_file_length(text);
+
+DROP FUNCTION pg_logfile_rotate();
diff --git a/pgsql/share/extension/adminpack--2.0--2.1.sql b/pgsql/share/extension/adminpack--2.0--2.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..1c6712e81639baaaa0358917153685bea288ad50
--- /dev/null
+++ b/pgsql/share/extension/adminpack--2.0--2.1.sql
@@ -0,0 +1,17 @@
+/* contrib/adminpack/adminpack--2.0--2.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION adminpack UPDATE TO '2.1'" to load this file. \quit
+
+/* ***********************************************
+ * Administrative functions for PostgreSQL
+ * *********************************************** */
+
+/* generic file access functions */
+
+CREATE OR REPLACE FUNCTION pg_catalog.pg_file_sync(text)
+RETURNS void
+AS 'MODULE_PATHNAME', 'pg_file_sync'
+LANGUAGE C VOLATILE STRICT;
+
+REVOKE EXECUTE ON FUNCTION pg_catalog.pg_file_sync(text) FROM PUBLIC;
diff --git a/pgsql/share/extension/adminpack.control b/pgsql/share/extension/adminpack.control
new file mode 100644
index 0000000000000000000000000000000000000000..ae35d22156aa65e3848309fd4a41012036033ca2
--- /dev/null
+++ b/pgsql/share/extension/adminpack.control
@@ -0,0 +1,6 @@
+# adminpack extension
+comment = 'administrative functions for PostgreSQL'
+default_version = '2.1'
+module_pathname = '$libdir/adminpack'
+relocatable = false
+schema = pg_catalog
diff --git a/pgsql/share/extension/amcheck--1.0--1.1.sql b/pgsql/share/extension/amcheck--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..088416e7c2bbaf1f28195caf2d3720fe6b22ff13
--- /dev/null
+++ b/pgsql/share/extension/amcheck--1.0--1.1.sql
@@ -0,0 +1,29 @@
+/* contrib/amcheck/amcheck--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "ALTER EXTENSION amcheck UPDATE TO '1.1'" to load this file. \quit
+
+-- In order to avoid issues with dependencies when updating amcheck to 1.1,
+-- create new, overloaded versions of the 1.0 functions
+
+--
+-- bt_index_check()
+--
+CREATE FUNCTION bt_index_check(index regclass,
+ heapallindexed boolean)
+RETURNS VOID
+AS 'MODULE_PATHNAME', 'bt_index_check'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+--
+-- bt_index_parent_check()
+--
+CREATE FUNCTION bt_index_parent_check(index regclass,
+ heapallindexed boolean)
+RETURNS VOID
+AS 'MODULE_PATHNAME', 'bt_index_parent_check'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+-- Don't want these to be available to public
+REVOKE ALL ON FUNCTION bt_index_check(regclass, boolean) FROM PUBLIC;
+REVOKE ALL ON FUNCTION bt_index_parent_check(regclass, boolean) FROM PUBLIC;
diff --git a/pgsql/share/extension/amcheck--1.0.sql b/pgsql/share/extension/amcheck--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..a6612d130c635c6089af654aa9e0cd64b617d711
--- /dev/null
+++ b/pgsql/share/extension/amcheck--1.0.sql
@@ -0,0 +1,24 @@
+/* contrib/amcheck/amcheck--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION amcheck" to load this file. \quit
+
+--
+-- bt_index_check()
+--
+CREATE FUNCTION bt_index_check(index regclass)
+RETURNS VOID
+AS 'MODULE_PATHNAME', 'bt_index_check'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+--
+-- bt_index_parent_check()
+--
+CREATE FUNCTION bt_index_parent_check(index regclass)
+RETURNS VOID
+AS 'MODULE_PATHNAME', 'bt_index_parent_check'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+-- Don't want these to be available to public
+REVOKE ALL ON FUNCTION bt_index_check(regclass) FROM PUBLIC;
+REVOKE ALL ON FUNCTION bt_index_parent_check(regclass) FROM PUBLIC;
diff --git a/pgsql/share/extension/amcheck--1.1--1.2.sql b/pgsql/share/extension/amcheck--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..883530dec741d1d3a92a4358b5a6c86559443d27
--- /dev/null
+++ b/pgsql/share/extension/amcheck--1.1--1.2.sql
@@ -0,0 +1,19 @@
+/* contrib/amcheck/amcheck--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "ALTER EXTENSION amcheck UPDATE TO '1.2'" to load this file. \quit
+
+-- In order to avoid issues with dependencies when updating amcheck to 1.2,
+-- create new, overloaded version of the 1.1 function signature
+
+--
+-- bt_index_parent_check()
+--
+CREATE FUNCTION bt_index_parent_check(index regclass,
+ heapallindexed boolean, rootdescend boolean)
+RETURNS VOID
+AS 'MODULE_PATHNAME', 'bt_index_parent_check'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+-- Don't want this to be available to public
+REVOKE ALL ON FUNCTION bt_index_parent_check(regclass, boolean, boolean) FROM PUBLIC;
diff --git a/pgsql/share/extension/amcheck--1.2--1.3.sql b/pgsql/share/extension/amcheck--1.2--1.3.sql
new file mode 100644
index 0000000000000000000000000000000000000000..7237ab738ce72d0838c73fcbab64c2544415643b
--- /dev/null
+++ b/pgsql/share/extension/amcheck--1.2--1.3.sql
@@ -0,0 +1,30 @@
+/* contrib/amcheck/amcheck--1.2--1.3.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "ALTER EXTENSION amcheck UPDATE TO '1.3'" to load this file. \quit
+
+--
+-- verify_heapam()
+--
+CREATE FUNCTION verify_heapam(relation regclass,
+ on_error_stop boolean default false,
+ check_toast boolean default false,
+ skip text default 'none',
+ startblock bigint default null,
+ endblock bigint default null,
+ blkno OUT bigint,
+ offnum OUT integer,
+ attnum OUT integer,
+ msg OUT text)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'verify_heapam'
+LANGUAGE C;
+
+-- Don't want this to be available to public
+REVOKE ALL ON FUNCTION verify_heapam(regclass,
+ boolean,
+ boolean,
+ text,
+ bigint,
+ bigint)
+FROM PUBLIC;
diff --git a/pgsql/share/extension/amcheck.control b/pgsql/share/extension/amcheck.control
new file mode 100644
index 0000000000000000000000000000000000000000..ab50931f754a09c209eb30e20b56abe44c0fd994
--- /dev/null
+++ b/pgsql/share/extension/amcheck.control
@@ -0,0 +1,5 @@
+# amcheck extension
+comment = 'functions for verifying relation integrity'
+default_version = '1.3'
+module_pathname = '$libdir/amcheck'
+relocatable = true
diff --git a/pgsql/share/extension/autoinc--1.0.sql b/pgsql/share/extension/autoinc--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..22721e003de669821c8f9a69a670790ad0eac2da
--- /dev/null
+++ b/pgsql/share/extension/autoinc--1.0.sql
@@ -0,0 +1,9 @@
+/* contrib/spi/autoinc--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION autoinc" to load this file. \quit
+
+CREATE FUNCTION autoinc()
+RETURNS trigger
+AS 'MODULE_PATHNAME'
+LANGUAGE C;
diff --git a/pgsql/share/extension/autoinc.control b/pgsql/share/extension/autoinc.control
new file mode 100644
index 0000000000000000000000000000000000000000..1d7a8e53d44f0486a750a1cc5a256b4dcfe604b4
--- /dev/null
+++ b/pgsql/share/extension/autoinc.control
@@ -0,0 +1,5 @@
+# autoinc extension
+comment = 'functions for autoincrementing fields'
+default_version = '1.0'
+module_pathname = '$libdir/autoinc'
+relocatable = true
diff --git a/pgsql/share/extension/bloom--1.0.sql b/pgsql/share/extension/bloom--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..4e7c9226bcddb8f0c5439de3cb9af6fc5448de29
--- /dev/null
+++ b/pgsql/share/extension/bloom--1.0.sql
@@ -0,0 +1,25 @@
+/* contrib/bloom/bloom--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION bloom" to load this file. \quit
+
+CREATE FUNCTION blhandler(internal)
+RETURNS index_am_handler
+AS 'MODULE_PATHNAME'
+LANGUAGE C;
+
+-- Access method
+CREATE ACCESS METHOD bloom TYPE INDEX HANDLER blhandler;
+COMMENT ON ACCESS METHOD bloom IS 'bloom index access method';
+
+-- Opclasses
+
+CREATE OPERATOR CLASS int4_ops
+DEFAULT FOR TYPE int4 USING bloom AS
+ OPERATOR 1 =(int4, int4),
+ FUNCTION 1 hashint4(int4);
+
+CREATE OPERATOR CLASS text_ops
+DEFAULT FOR TYPE text USING bloom AS
+ OPERATOR 1 =(text, text),
+ FUNCTION 1 hashtext(text);
diff --git a/pgsql/share/extension/bloom.control b/pgsql/share/extension/bloom.control
new file mode 100644
index 0000000000000000000000000000000000000000..4d4124b3b05e4cc54c24414ee0c1a2101dd02c32
--- /dev/null
+++ b/pgsql/share/extension/bloom.control
@@ -0,0 +1,5 @@
+# bloom extension
+comment = 'bloom access method - signature file based index'
+default_version = '1.0'
+module_pathname = '$libdir/bloom'
+relocatable = true
diff --git a/pgsql/share/extension/bool_plperl--1.0.sql b/pgsql/share/extension/bool_plperl--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..00dc3b826f076f6aa6bcae1f72a685e05322132b
--- /dev/null
+++ b/pgsql/share/extension/bool_plperl--1.0.sql
@@ -0,0 +1,19 @@
+/* contrib/bool_plperl/bool_plperl--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION bool_plperl" to load this file. \quit
+
+CREATE FUNCTION bool_to_plperl(val internal) RETURNS internal
+LANGUAGE C STRICT IMMUTABLE
+AS 'MODULE_PATHNAME';
+
+CREATE FUNCTION plperl_to_bool(val internal) RETURNS bool
+LANGUAGE C STRICT IMMUTABLE
+AS 'MODULE_PATHNAME';
+
+CREATE TRANSFORM FOR bool LANGUAGE plperl (
+ FROM SQL WITH FUNCTION bool_to_plperl(internal),
+ TO SQL WITH FUNCTION plperl_to_bool(internal)
+);
+
+COMMENT ON TRANSFORM FOR bool LANGUAGE plperl IS 'transform between bool and Perl';
diff --git a/pgsql/share/extension/bool_plperl.control b/pgsql/share/extension/bool_plperl.control
new file mode 100644
index 0000000000000000000000000000000000000000..af3e6b1966f0e070ec9205edf2be765877fec147
--- /dev/null
+++ b/pgsql/share/extension/bool_plperl.control
@@ -0,0 +1,7 @@
+# bool_plperl extension
+comment = 'transform between bool and plperl'
+default_version = '1.0'
+module_pathname = '$libdir/bool_plperl'
+relocatable = true
+trusted = true
+requires = 'plperl'
diff --git a/pgsql/share/extension/bool_plperlu--1.0.sql b/pgsql/share/extension/bool_plperlu--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..52c55b6d5e2335e778e59f27bc524bca71ec1eb2
--- /dev/null
+++ b/pgsql/share/extension/bool_plperlu--1.0.sql
@@ -0,0 +1,19 @@
+/* contrib/bool_plperl/bool_plperlu--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION bool_plperlu" to load this file. \quit
+
+CREATE FUNCTION bool_to_plperlu(val internal) RETURNS internal
+LANGUAGE C STRICT IMMUTABLE
+AS 'MODULE_PATHNAME', 'bool_to_plperl';
+
+CREATE FUNCTION plperlu_to_bool(val internal) RETURNS bool
+LANGUAGE C STRICT IMMUTABLE
+AS 'MODULE_PATHNAME', 'plperl_to_bool';
+
+CREATE TRANSFORM FOR bool LANGUAGE plperlu (
+ FROM SQL WITH FUNCTION bool_to_plperlu(internal),
+ TO SQL WITH FUNCTION plperlu_to_bool(internal)
+);
+
+COMMENT ON TRANSFORM FOR bool LANGUAGE plperlu IS 'transform between bool and Perl';
diff --git a/pgsql/share/extension/bool_plperlu.control b/pgsql/share/extension/bool_plperlu.control
new file mode 100644
index 0000000000000000000000000000000000000000..d03a5843062b3ac48788564b9cc6f76f749915f7
--- /dev/null
+++ b/pgsql/share/extension/bool_plperlu.control
@@ -0,0 +1,6 @@
+# bool_plperlu extension
+comment = 'transform between bool and plperlu'
+default_version = '1.0'
+module_pathname = '$libdir/bool_plperl'
+relocatable = true
+requires = 'plperlu'
diff --git a/pgsql/share/extension/btree_gin--1.0--1.1.sql b/pgsql/share/extension/btree_gin--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..dd81d27599c40ecfd8b06d164f9b4f61a39921c3
--- /dev/null
+++ b/pgsql/share/extension/btree_gin--1.0--1.1.sql
@@ -0,0 +1,35 @@
+/* contrib/btree_gin/btree_gin--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "ALTER EXTENSION btree_gin UPDATE TO '1.1'" to load this file. \quit
+
+-- macaddr8 datatype support new in 10.0.
+CREATE FUNCTION gin_extract_value_macaddr8(macaddr8, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_macaddr8(macaddr8, macaddr8, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_macaddr8(macaddr8, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS macaddr8_ops
+DEFAULT FOR TYPE macaddr8 USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 macaddr8_cmp(macaddr8, macaddr8),
+ FUNCTION 2 gin_extract_value_macaddr8(macaddr8, internal),
+ FUNCTION 3 gin_extract_query_macaddr8(macaddr8, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_macaddr8(macaddr8, macaddr8, int2, internal),
+STORAGE macaddr8;
diff --git a/pgsql/share/extension/btree_gin--1.0.sql b/pgsql/share/extension/btree_gin--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..cf867ef68735762ec8c570dcf7079f19479a0b72
--- /dev/null
+++ b/pgsql/share/extension/btree_gin--1.0.sql
@@ -0,0 +1,689 @@
+/* contrib/btree_gin/btree_gin--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION btree_gin" to load this file. \quit
+
+CREATE FUNCTION gin_btree_consistent(internal, int2, anyelement, int4, internal, internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_value_int2(int2, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_int2(int2, int2, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_int2(int2, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS int2_ops
+DEFAULT FOR TYPE int2 USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 btint2cmp(int2,int2),
+ FUNCTION 2 gin_extract_value_int2(int2, internal),
+ FUNCTION 3 gin_extract_query_int2(int2, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_int2(int2,int2,int2, internal),
+STORAGE int2;
+
+CREATE FUNCTION gin_extract_value_int4(int4, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_int4(int4, int4, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_int4(int4, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS int4_ops
+DEFAULT FOR TYPE int4 USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 btint4cmp(int4,int4),
+ FUNCTION 2 gin_extract_value_int4(int4, internal),
+ FUNCTION 3 gin_extract_query_int4(int4, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_int4(int4,int4,int2, internal),
+STORAGE int4;
+
+CREATE FUNCTION gin_extract_value_int8(int8, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_int8(int8, int8, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_int8(int8, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS int8_ops
+DEFAULT FOR TYPE int8 USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 btint8cmp(int8,int8),
+ FUNCTION 2 gin_extract_value_int8(int8, internal),
+ FUNCTION 3 gin_extract_query_int8(int8, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_int8(int8,int8,int2, internal),
+STORAGE int8;
+
+CREATE FUNCTION gin_extract_value_float4(float4, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_float4(float4, float4, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_float4(float4, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS float4_ops
+DEFAULT FOR TYPE float4 USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 btfloat4cmp(float4,float4),
+ FUNCTION 2 gin_extract_value_float4(float4, internal),
+ FUNCTION 3 gin_extract_query_float4(float4, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_float4(float4,float4,int2, internal),
+STORAGE float4;
+
+CREATE FUNCTION gin_extract_value_float8(float8, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_float8(float8, float8, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_float8(float8, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS float8_ops
+DEFAULT FOR TYPE float8 USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 btfloat8cmp(float8,float8),
+ FUNCTION 2 gin_extract_value_float8(float8, internal),
+ FUNCTION 3 gin_extract_query_float8(float8, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_float8(float8,float8,int2, internal),
+STORAGE float8;
+
+CREATE FUNCTION gin_extract_value_money(money, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_money(money, money, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_money(money, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS money_ops
+DEFAULT FOR TYPE money USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 cash_cmp(money,money),
+ FUNCTION 2 gin_extract_value_money(money, internal),
+ FUNCTION 3 gin_extract_query_money(money, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_money(money,money,int2, internal),
+STORAGE money;
+
+CREATE FUNCTION gin_extract_value_oid(oid, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_oid(oid, oid, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_oid(oid, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS oid_ops
+DEFAULT FOR TYPE oid USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 btoidcmp(oid,oid),
+ FUNCTION 2 gin_extract_value_oid(oid, internal),
+ FUNCTION 3 gin_extract_query_oid(oid, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_oid(oid,oid,int2, internal),
+STORAGE oid;
+
+CREATE FUNCTION gin_extract_value_timestamp(timestamp, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_timestamp(timestamp, timestamp, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_timestamp(timestamp, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS timestamp_ops
+DEFAULT FOR TYPE timestamp USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 timestamp_cmp(timestamp,timestamp),
+ FUNCTION 2 gin_extract_value_timestamp(timestamp, internal),
+ FUNCTION 3 gin_extract_query_timestamp(timestamp, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_timestamp(timestamp,timestamp,int2, internal),
+STORAGE timestamp;
+
+CREATE FUNCTION gin_extract_value_timestamptz(timestamptz, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_timestamptz(timestamptz, timestamptz, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_timestamptz(timestamptz, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS timestamptz_ops
+DEFAULT FOR TYPE timestamptz USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 timestamptz_cmp(timestamptz,timestamptz),
+ FUNCTION 2 gin_extract_value_timestamptz(timestamptz, internal),
+ FUNCTION 3 gin_extract_query_timestamptz(timestamptz, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_timestamptz(timestamptz,timestamptz,int2, internal),
+STORAGE timestamptz;
+
+CREATE FUNCTION gin_extract_value_time(time, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_time(time, time, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_time(time, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS time_ops
+DEFAULT FOR TYPE time USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 time_cmp(time,time),
+ FUNCTION 2 gin_extract_value_time(time, internal),
+ FUNCTION 3 gin_extract_query_time(time, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_time(time,time,int2, internal),
+STORAGE time;
+
+CREATE FUNCTION gin_extract_value_timetz(timetz, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_timetz(timetz, timetz, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_timetz(timetz, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS timetz_ops
+DEFAULT FOR TYPE timetz USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 timetz_cmp(timetz,timetz),
+ FUNCTION 2 gin_extract_value_timetz(timetz, internal),
+ FUNCTION 3 gin_extract_query_timetz(timetz, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_timetz(timetz,timetz,int2, internal),
+STORAGE timetz;
+
+CREATE FUNCTION gin_extract_value_date(date, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_date(date, date, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_date(date, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS date_ops
+DEFAULT FOR TYPE date USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 date_cmp(date,date),
+ FUNCTION 2 gin_extract_value_date(date, internal),
+ FUNCTION 3 gin_extract_query_date(date, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_date(date,date,int2, internal),
+STORAGE date;
+
+CREATE FUNCTION gin_extract_value_interval(interval, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_interval(interval, interval, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_interval(interval, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS interval_ops
+DEFAULT FOR TYPE interval USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 interval_cmp(interval,interval),
+ FUNCTION 2 gin_extract_value_interval(interval, internal),
+ FUNCTION 3 gin_extract_query_interval(interval, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_interval(interval,interval,int2, internal),
+STORAGE interval;
+
+CREATE FUNCTION gin_extract_value_macaddr(macaddr, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_macaddr(macaddr, macaddr, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_macaddr(macaddr, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS macaddr_ops
+DEFAULT FOR TYPE macaddr USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 macaddr_cmp(macaddr,macaddr),
+ FUNCTION 2 gin_extract_value_macaddr(macaddr, internal),
+ FUNCTION 3 gin_extract_query_macaddr(macaddr, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_macaddr(macaddr,macaddr,int2, internal),
+STORAGE macaddr;
+
+CREATE FUNCTION gin_extract_value_inet(inet, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_inet(inet, inet, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_inet(inet, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS inet_ops
+DEFAULT FOR TYPE inet USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 network_cmp(inet,inet),
+ FUNCTION 2 gin_extract_value_inet(inet, internal),
+ FUNCTION 3 gin_extract_query_inet(inet, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_inet(inet,inet,int2, internal),
+STORAGE inet;
+
+CREATE FUNCTION gin_extract_value_cidr(cidr, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_cidr(cidr, cidr, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_cidr(cidr, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS cidr_ops
+DEFAULT FOR TYPE cidr USING gin
+AS
+ OPERATOR 1 <(inet,inet),
+ OPERATOR 2 <=(inet,inet),
+ OPERATOR 3 =(inet,inet),
+ OPERATOR 4 >=(inet,inet),
+ OPERATOR 5 >(inet,inet),
+ FUNCTION 1 network_cmp(inet,inet),
+ FUNCTION 2 gin_extract_value_cidr(cidr, internal),
+ FUNCTION 3 gin_extract_query_cidr(cidr, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_cidr(cidr,cidr,int2, internal),
+STORAGE cidr;
+
+CREATE FUNCTION gin_extract_value_text(text, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_text(text, text, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_text(text, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS text_ops
+DEFAULT FOR TYPE text USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 bttextcmp(text,text),
+ FUNCTION 2 gin_extract_value_text(text, internal),
+ FUNCTION 3 gin_extract_query_text(text, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_text(text,text,int2, internal),
+STORAGE text;
+
+CREATE OPERATOR CLASS varchar_ops
+DEFAULT FOR TYPE varchar USING gin
+AS
+ OPERATOR 1 <(text,text),
+ OPERATOR 2 <=(text,text),
+ OPERATOR 3 =(text,text),
+ OPERATOR 4 >=(text,text),
+ OPERATOR 5 >(text,text),
+ FUNCTION 1 bttextcmp(text,text),
+ FUNCTION 2 gin_extract_value_text(text, internal),
+ FUNCTION 3 gin_extract_query_text(text, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_text(text,text,int2, internal),
+STORAGE varchar;
+
+CREATE FUNCTION gin_extract_value_char("char", internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_char("char", "char", int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_char("char", internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS char_ops
+DEFAULT FOR TYPE "char" USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 btcharcmp("char","char"),
+ FUNCTION 2 gin_extract_value_char("char", internal),
+ FUNCTION 3 gin_extract_query_char("char", internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_char("char","char",int2, internal),
+STORAGE "char";
+
+CREATE FUNCTION gin_extract_value_bytea(bytea, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_bytea(bytea, bytea, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_bytea(bytea, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS bytea_ops
+DEFAULT FOR TYPE bytea USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 byteacmp(bytea,bytea),
+ FUNCTION 2 gin_extract_value_bytea(bytea, internal),
+ FUNCTION 3 gin_extract_query_bytea(bytea, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_bytea(bytea,bytea,int2, internal),
+STORAGE bytea;
+
+CREATE FUNCTION gin_extract_value_bit(bit, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_bit(bit, bit, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_bit(bit, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS bit_ops
+DEFAULT FOR TYPE bit USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 bitcmp(bit,bit),
+ FUNCTION 2 gin_extract_value_bit(bit, internal),
+ FUNCTION 3 gin_extract_query_bit(bit, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_bit(bit,bit,int2, internal),
+STORAGE bit;
+
+CREATE FUNCTION gin_extract_value_varbit(varbit, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_varbit(varbit, varbit, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_varbit(varbit, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS varbit_ops
+DEFAULT FOR TYPE varbit USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 varbitcmp(varbit,varbit),
+ FUNCTION 2 gin_extract_value_varbit(varbit, internal),
+ FUNCTION 3 gin_extract_query_varbit(varbit, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_varbit(varbit,varbit,int2, internal),
+STORAGE varbit;
+
+CREATE FUNCTION gin_extract_value_numeric(numeric, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_numeric(numeric, numeric, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_numeric(numeric, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_numeric_cmp(numeric, numeric)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS numeric_ops
+DEFAULT FOR TYPE numeric USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 gin_numeric_cmp(numeric,numeric),
+ FUNCTION 2 gin_extract_value_numeric(numeric, internal),
+ FUNCTION 3 gin_extract_query_numeric(numeric, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_numeric(numeric,numeric,int2, internal),
+STORAGE numeric;
diff --git a/pgsql/share/extension/btree_gin--1.1--1.2.sql b/pgsql/share/extension/btree_gin--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..2a16837bfad5d8e9caff72afcc9aa524129203b2
--- /dev/null
+++ b/pgsql/share/extension/btree_gin--1.1--1.2.sql
@@ -0,0 +1,47 @@
+/* contrib/btree_gin/btree_gin--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "ALTER EXTENSION btree_gin UPDATE TO '1.1'" to load this file. \quit
+
+--
+--
+--
+-- enum ops
+--
+--
+
+
+CREATE FUNCTION gin_extract_value_anyenum(anyenum, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_anyenum(anyenum, anyenum, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_anyenum(anyenum, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_enum_cmp(anyenum, anyenum)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS enum_ops
+DEFAULT FOR TYPE anyenum USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 gin_enum_cmp(anyenum,anyenum),
+ FUNCTION 2 gin_extract_value_anyenum(anyenum, internal),
+ FUNCTION 3 gin_extract_query_anyenum(anyenum, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_anyenum(anyenum,anyenum,int2, internal),
+STORAGE anyenum;
diff --git a/pgsql/share/extension/btree_gin--1.2--1.3.sql b/pgsql/share/extension/btree_gin--1.2--1.3.sql
new file mode 100644
index 0000000000000000000000000000000000000000..db675b77475522b2d2d40533ba2ffde59aa2fb34
--- /dev/null
+++ b/pgsql/share/extension/btree_gin--1.2--1.3.sql
@@ -0,0 +1,128 @@
+/* contrib/btree_gin/btree_gin--1.2--1.3.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "ALTER EXTENSION btree_gin UPDATE TO '1.3'" to load this file. \quit
+
+-- uuid datatype support new in 1.3.
+CREATE FUNCTION gin_extract_value_uuid(uuid, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_uuid(uuid, uuid, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_uuid(uuid, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS uuid_ops
+DEFAULT FOR TYPE uuid USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 uuid_cmp(uuid,uuid),
+ FUNCTION 2 gin_extract_value_uuid(uuid, internal),
+ FUNCTION 3 gin_extract_query_uuid(uuid, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_uuid(uuid,uuid,int2, internal),
+STORAGE uuid;
+
+-- name datatype support new in 1.3.
+CREATE FUNCTION gin_extract_value_name(name, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_name(name, name, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_name(name, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS name_ops
+DEFAULT FOR TYPE name USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 btnamecmp(name,name),
+ FUNCTION 2 gin_extract_value_name(name, internal),
+ FUNCTION 3 gin_extract_query_name(name, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_name(name,name,int2, internal),
+STORAGE name;
+
+-- bool datatype support new in 1.3.
+CREATE FUNCTION gin_extract_value_bool(bool, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_bool(bool, bool, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_bool(bool, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS bool_ops
+DEFAULT FOR TYPE bool USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 btboolcmp(bool,bool),
+ FUNCTION 2 gin_extract_value_bool(bool, internal),
+ FUNCTION 3 gin_extract_query_bool(bool, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_bool(bool,bool,int2, internal),
+STORAGE bool;
+
+-- bpchar datatype support new in 1.3.
+CREATE FUNCTION gin_extract_value_bpchar(bpchar, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_compare_prefix_bpchar(bpchar, bpchar, int2, internal)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION gin_extract_query_bpchar(bpchar, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR CLASS bpchar_ops
+DEFAULT FOR TYPE bpchar USING gin
+AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 bpcharcmp(bpchar, bpchar),
+ FUNCTION 2 gin_extract_value_bpchar(bpchar, internal),
+ FUNCTION 3 gin_extract_query_bpchar(bpchar, internal, int2, internal, internal),
+ FUNCTION 4 gin_btree_consistent(internal, int2, anyelement, int4, internal, internal),
+ FUNCTION 5 gin_compare_prefix_bpchar(bpchar,bpchar,int2, internal),
+STORAGE bpchar;
diff --git a/pgsql/share/extension/btree_gin.control b/pgsql/share/extension/btree_gin.control
new file mode 100644
index 0000000000000000000000000000000000000000..67d0c997d8d26e4b5e23cb79249570f553015500
--- /dev/null
+++ b/pgsql/share/extension/btree_gin.control
@@ -0,0 +1,6 @@
+# btree_gin extension
+comment = 'support for indexing common datatypes in GIN'
+default_version = '1.3'
+module_pathname = '$libdir/btree_gin'
+relocatable = true
+trusted = true
diff --git a/pgsql/share/extension/btree_gist--1.0--1.1.sql b/pgsql/share/extension/btree_gist--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..2633beabe034304572fbcde48e537316ea4625cd
--- /dev/null
+++ b/pgsql/share/extension/btree_gist--1.0--1.1.sql
@@ -0,0 +1,127 @@
+/* contrib/btree_gist/btree_gist--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "ALTER EXTENSION btree_gist UPDATE TO '1.1'" to load this file. \quit
+
+-- Index-only scan support new in 9.5.
+CREATE FUNCTION gbt_oid_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int2_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int4_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int8_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_float4_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_float8_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_ts_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_time_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_date_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_intv_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_cash_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_macad_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_var_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+ALTER OPERATOR FAMILY gist_oid_ops USING gist ADD
+ FUNCTION 9 (oid, oid) gbt_oid_fetch (internal) ;
+
+ALTER OPERATOR FAMILY gist_int2_ops USING gist ADD
+ FUNCTION 9 (int2, int2) gbt_int2_fetch (internal) ;
+
+ALTER OPERATOR FAMILY gist_int4_ops USING gist ADD
+ FUNCTION 9 (int4, int4) gbt_int4_fetch (internal) ;
+
+ALTER OPERATOR FAMILY gist_int8_ops USING gist ADD
+ FUNCTION 9 (int8, int8) gbt_int8_fetch (internal) ;
+
+ALTER OPERATOR FAMILY gist_float4_ops USING gist ADD
+ FUNCTION 9 (float4, float4) gbt_float4_fetch (internal) ;
+
+ALTER OPERATOR FAMILY gist_float8_ops USING gist ADD
+ FUNCTION 9 (float8, float8) gbt_float8_fetch (internal) ;
+
+ALTER OPERATOR FAMILY gist_timestamp_ops USING gist ADD
+ FUNCTION 9 (timestamp, timestamp) gbt_ts_fetch (internal) ;
+
+ALTER OPERATOR FAMILY gist_timestamptz_ops USING gist ADD
+ FUNCTION 9 (timestamptz, timestamptz) gbt_ts_fetch (internal) ;
+
+ALTER OPERATOR FAMILY gist_time_ops USING gist ADD
+ FUNCTION 9 (time, time) gbt_time_fetch (internal) ;
+
+ALTER OPERATOR FAMILY gist_date_ops USING gist ADD
+ FUNCTION 9 (date, date) gbt_date_fetch (internal) ;
+
+ALTER OPERATOR FAMILY gist_interval_ops USING gist ADD
+ FUNCTION 9 (interval, interval) gbt_intv_fetch (internal) ;
+
+ALTER OPERATOR FAMILY gist_cash_ops USING gist ADD
+ FUNCTION 9 (money, money) gbt_cash_fetch (internal) ;
+
+ALTER OPERATOR FAMILY gist_macaddr_ops USING gist ADD
+ FUNCTION 9 (macaddr, macaddr) gbt_macad_fetch (internal) ;
+
+ALTER OPERATOR FAMILY gist_text_ops USING gist ADD
+ FUNCTION 9 (text, text) gbt_var_fetch (internal) ;
+
+ALTER OPERATOR FAMILY gist_bpchar_ops USING gist ADD
+ FUNCTION 9 (bpchar, bpchar) gbt_var_fetch (internal) ;
+
+ALTER OPERATOR FAMILY gist_bytea_ops USING gist ADD
+ FUNCTION 9 (bytea, bytea) gbt_var_fetch (internal) ;
+
+ALTER OPERATOR FAMILY gist_numeric_ops USING gist ADD
+ FUNCTION 9 (numeric, numeric) gbt_var_fetch (internal) ;
+
+ALTER OPERATOR FAMILY gist_bit_ops USING gist ADD
+ FUNCTION 9 (bit, bit) gbt_var_fetch (internal) ;
+
+ALTER OPERATOR FAMILY gist_vbit_ops USING gist ADD
+ FUNCTION 9 (varbit, varbit) gbt_var_fetch (internal) ;
diff --git a/pgsql/share/extension/btree_gist--1.1--1.2.sql b/pgsql/share/extension/btree_gist--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..d5a8c6cf90e96918b91db1bf2f5635926d994e0f
--- /dev/null
+++ b/pgsql/share/extension/btree_gist--1.1--1.2.sql
@@ -0,0 +1,79 @@
+/* contrib/btree_gist/btree_gist--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION btree_gist UPDATE TO '1.2'" to load this file. \quit
+
+-- Update procedure signatures the hard way.
+-- We use to_regprocedure() so that query doesn't fail if run against 9.6beta1 definitions,
+-- wherein the signatures have been updated already. In that case to_regprocedure() will
+-- return NULL and no updates will happen.
+
+DO LANGUAGE plpgsql
+$$
+DECLARE
+ my_schema pg_catalog.text := pg_catalog.quote_ident(pg_catalog.current_schema());
+ old_path pg_catalog.text := pg_catalog.current_setting('search_path');
+BEGIN
+-- for safety, transiently set search_path to just pg_catalog+pg_temp
+PERFORM pg_catalog.set_config('search_path', 'pg_catalog, pg_temp', true);
+
+UPDATE pg_catalog.pg_proc SET
+ proargtypes = pg_catalog.array_to_string(newtypes::pg_catalog.oid[], ' ')::pg_catalog.oidvector,
+ pronargs = pg_catalog.array_length(newtypes, 1)
+FROM (VALUES
+(NULL::pg_catalog.text, NULL::pg_catalog.text[]), -- establish column types
+('gbt_oid_distance(internal,oid,int2,oid)', '{internal,oid,int2,oid,internal}'),
+('gbt_oid_union(bytea,internal)', '{internal,internal}'),
+('gbt_oid_same(internal,internal,internal)', '{SCH.gbtreekey8,SCH.gbtreekey8,internal}'),
+('gbt_int2_distance(internal,int2,int2,oid)', '{internal,int2,int2,oid,internal}'),
+('gbt_int2_union(bytea,internal)', '{internal,internal}'),
+('gbt_int2_same(internal,internal,internal)', '{SCH.gbtreekey4,SCH.gbtreekey4,internal}'),
+('gbt_int4_distance(internal,int4,int2,oid)', '{internal,int4,int2,oid,internal}'),
+('gbt_int4_union(bytea,internal)', '{internal,internal}'),
+('gbt_int4_same(internal,internal,internal)', '{SCH.gbtreekey8,SCH.gbtreekey8,internal}'),
+('gbt_int8_distance(internal,int8,int2,oid)', '{internal,int8,int2,oid,internal}'),
+('gbt_int8_union(bytea,internal)', '{internal,internal}'),
+('gbt_int8_same(internal,internal,internal)', '{SCH.gbtreekey16,SCH.gbtreekey16,internal}'),
+('gbt_float4_distance(internal,float4,int2,oid)', '{internal,float4,int2,oid,internal}'),
+('gbt_float4_union(bytea,internal)', '{internal,internal}'),
+('gbt_float4_same(internal,internal,internal)', '{SCH.gbtreekey8,SCH.gbtreekey8,internal}'),
+('gbt_float8_distance(internal,float8,int2,oid)', '{internal,float8,int2,oid,internal}'),
+('gbt_float8_union(bytea,internal)', '{internal,internal}'),
+('gbt_float8_same(internal,internal,internal)', '{SCH.gbtreekey16,SCH.gbtreekey16,internal}'),
+('gbt_ts_distance(internal,timestamp,int2,oid)', '{internal,timestamp,int2,oid,internal}'),
+('gbt_tstz_distance(internal,timestamptz,int2,oid)', '{internal,timestamptz,int2,oid,internal}'),
+('gbt_ts_union(bytea,internal)', '{internal,internal}'),
+('gbt_ts_same(internal,internal,internal)', '{SCH.gbtreekey16,SCH.gbtreekey16,internal}'),
+('gbt_time_distance(internal,time,int2,oid)', '{internal,time,int2,oid,internal}'),
+('gbt_time_union(bytea,internal)', '{internal,internal}'),
+('gbt_time_same(internal,internal,internal)', '{SCH.gbtreekey16,SCH.gbtreekey16,internal}'),
+('gbt_date_distance(internal,date,int2,oid)', '{internal,date,int2,oid,internal}'),
+('gbt_date_union(bytea,internal)', '{internal,internal}'),
+('gbt_date_same(internal,internal,internal)', '{SCH.gbtreekey8,SCH.gbtreekey8,internal}'),
+('gbt_intv_distance(internal,interval,int2,oid)', '{internal,interval,int2,oid,internal}'),
+('gbt_intv_union(bytea,internal)', '{internal,internal}'),
+('gbt_intv_same(internal,internal,internal)', '{SCH.gbtreekey32,SCH.gbtreekey32,internal}'),
+('gbt_cash_distance(internal,money,int2,oid)', '{internal,money,int2,oid,internal}'),
+('gbt_cash_union(bytea,internal)', '{internal,internal}'),
+('gbt_cash_same(internal,internal,internal)', '{SCH.gbtreekey16,SCH.gbtreekey16,internal}'),
+('gbt_macad_union(bytea,internal)', '{internal,internal}'),
+('gbt_macad_same(internal,internal,internal)', '{SCH.gbtreekey16,SCH.gbtreekey16,internal}'),
+('gbt_text_union(bytea,internal)', '{internal,internal}'),
+('gbt_text_same(internal,internal,internal)', '{SCH.gbtreekey_var,SCH.gbtreekey_var,internal}'),
+('gbt_bytea_union(bytea,internal)', '{internal,internal}'),
+('gbt_bytea_same(internal,internal,internal)', '{SCH.gbtreekey_var,SCH.gbtreekey_var,internal}'),
+('gbt_numeric_union(bytea,internal)', '{internal,internal}'),
+('gbt_numeric_same(internal,internal,internal)', '{SCH.gbtreekey_var,SCH.gbtreekey_var,internal}'),
+('gbt_bit_union(bytea,internal)', '{internal,internal}'),
+('gbt_bit_same(internal,internal,internal)', '{SCH.gbtreekey_var,SCH.gbtreekey_var,internal}'),
+('gbt_inet_union(bytea,internal)', '{internal,internal}'),
+('gbt_inet_same(internal,internal,internal)', '{SCH.gbtreekey16,SCH.gbtreekey16,internal}')
+) AS update_data (oldproc, newtypestext),
+LATERAL (
+ SELECT array_agg(replace(typ, 'SCH', my_schema)::regtype) as newtypes FROM unnest(newtypestext) typ
+) ls
+WHERE oid = to_regprocedure(my_schema || '.' || replace(oldproc, 'SCH', my_schema));
+
+PERFORM pg_catalog.set_config('search_path', old_path, true);
+END
+$$;
diff --git a/pgsql/share/extension/btree_gist--1.2--1.3.sql b/pgsql/share/extension/btree_gist--1.2--1.3.sql
new file mode 100644
index 0000000000000000000000000000000000000000..726561e87baf7586b2ca670a2e69de0d160a778c
--- /dev/null
+++ b/pgsql/share/extension/btree_gist--1.2--1.3.sql
@@ -0,0 +1,65 @@
+/* contrib/btree_gist/btree_gist--1.2--1.3.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION btree_gist UPDATE TO '1.3'" to load this file. \quit
+
+-- Add support for indexing UUID columns
+
+-- define the GiST support methods
+CREATE FUNCTION gbt_uuid_consistent(internal,uuid,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_uuid_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_uuid_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_uuid_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_uuid_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_uuid_union(internal, internal)
+RETURNS gbtreekey32
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_uuid_same(gbtreekey32, gbtreekey32, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_uuid_ops
+DEFAULT FOR TYPE uuid USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_uuid_consistent (internal, uuid, int2, oid, internal),
+ FUNCTION 2 gbt_uuid_union (internal, internal),
+ FUNCTION 3 gbt_uuid_compress (internal),
+ FUNCTION 4 gbt_decompress (internal),
+ FUNCTION 5 gbt_uuid_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_uuid_picksplit (internal, internal),
+ FUNCTION 7 gbt_uuid_same (gbtreekey32, gbtreekey32, internal),
+ STORAGE gbtreekey32;
+
+-- These are "loose" in the opfamily for consistency with the rest of btree_gist
+ALTER OPERATOR FAMILY gist_uuid_ops USING gist ADD
+ OPERATOR 6 <> (uuid, uuid) ,
+ FUNCTION 9 (uuid, uuid) gbt_uuid_fetch (internal) ;
diff --git a/pgsql/share/extension/btree_gist--1.2.sql b/pgsql/share/extension/btree_gist--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..1efe75304384f27211597e23283a6f369b7edf40
--- /dev/null
+++ b/pgsql/share/extension/btree_gist--1.2.sql
@@ -0,0 +1,1570 @@
+/* contrib/btree_gist/btree_gist--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION btree_gist" to load this file. \quit
+
+CREATE FUNCTION gbtreekey4_in(cstring)
+RETURNS gbtreekey4
+AS 'MODULE_PATHNAME', 'gbtreekey_in'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbtreekey4_out(gbtreekey4)
+RETURNS cstring
+AS 'MODULE_PATHNAME', 'gbtreekey_out'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE TYPE gbtreekey4 (
+ INTERNALLENGTH = 4,
+ INPUT = gbtreekey4_in,
+ OUTPUT = gbtreekey4_out
+);
+
+CREATE FUNCTION gbtreekey8_in(cstring)
+RETURNS gbtreekey8
+AS 'MODULE_PATHNAME', 'gbtreekey_in'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbtreekey8_out(gbtreekey8)
+RETURNS cstring
+AS 'MODULE_PATHNAME', 'gbtreekey_out'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE TYPE gbtreekey8 (
+ INTERNALLENGTH = 8,
+ INPUT = gbtreekey8_in,
+ OUTPUT = gbtreekey8_out
+);
+
+CREATE FUNCTION gbtreekey16_in(cstring)
+RETURNS gbtreekey16
+AS 'MODULE_PATHNAME', 'gbtreekey_in'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbtreekey16_out(gbtreekey16)
+RETURNS cstring
+AS 'MODULE_PATHNAME', 'gbtreekey_out'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE TYPE gbtreekey16 (
+ INTERNALLENGTH = 16,
+ INPUT = gbtreekey16_in,
+ OUTPUT = gbtreekey16_out
+);
+
+CREATE FUNCTION gbtreekey32_in(cstring)
+RETURNS gbtreekey32
+AS 'MODULE_PATHNAME', 'gbtreekey_in'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbtreekey32_out(gbtreekey32)
+RETURNS cstring
+AS 'MODULE_PATHNAME', 'gbtreekey_out'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE TYPE gbtreekey32 (
+ INTERNALLENGTH = 32,
+ INPUT = gbtreekey32_in,
+ OUTPUT = gbtreekey32_out
+);
+
+CREATE FUNCTION gbtreekey_var_in(cstring)
+RETURNS gbtreekey_var
+AS 'MODULE_PATHNAME', 'gbtreekey_in'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbtreekey_var_out(gbtreekey_var)
+RETURNS cstring
+AS 'MODULE_PATHNAME', 'gbtreekey_out'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE TYPE gbtreekey_var (
+ INTERNALLENGTH = VARIABLE,
+ INPUT = gbtreekey_var_in,
+ OUTPUT = gbtreekey_var_out,
+ STORAGE = EXTENDED
+);
+
+--distance operators
+
+CREATE FUNCTION cash_dist(money, money)
+RETURNS money
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE OPERATOR <-> (
+ LEFTARG = money,
+ RIGHTARG = money,
+ PROCEDURE = cash_dist,
+ COMMUTATOR = '<->'
+);
+
+CREATE FUNCTION date_dist(date, date)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE OPERATOR <-> (
+ LEFTARG = date,
+ RIGHTARG = date,
+ PROCEDURE = date_dist,
+ COMMUTATOR = '<->'
+);
+
+CREATE FUNCTION float4_dist(float4, float4)
+RETURNS float4
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE OPERATOR <-> (
+ LEFTARG = float4,
+ RIGHTARG = float4,
+ PROCEDURE = float4_dist,
+ COMMUTATOR = '<->'
+);
+
+CREATE FUNCTION float8_dist(float8, float8)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE OPERATOR <-> (
+ LEFTARG = float8,
+ RIGHTARG = float8,
+ PROCEDURE = float8_dist,
+ COMMUTATOR = '<->'
+);
+
+CREATE FUNCTION int2_dist(int2, int2)
+RETURNS int2
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE OPERATOR <-> (
+ LEFTARG = int2,
+ RIGHTARG = int2,
+ PROCEDURE = int2_dist,
+ COMMUTATOR = '<->'
+);
+
+CREATE FUNCTION int4_dist(int4, int4)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE OPERATOR <-> (
+ LEFTARG = int4,
+ RIGHTARG = int4,
+ PROCEDURE = int4_dist,
+ COMMUTATOR = '<->'
+);
+
+CREATE FUNCTION int8_dist(int8, int8)
+RETURNS int8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE OPERATOR <-> (
+ LEFTARG = int8,
+ RIGHTARG = int8,
+ PROCEDURE = int8_dist,
+ COMMUTATOR = '<->'
+);
+
+CREATE FUNCTION interval_dist(interval, interval)
+RETURNS interval
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE OPERATOR <-> (
+ LEFTARG = interval,
+ RIGHTARG = interval,
+ PROCEDURE = interval_dist,
+ COMMUTATOR = '<->'
+);
+
+CREATE FUNCTION oid_dist(oid, oid)
+RETURNS oid
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE OPERATOR <-> (
+ LEFTARG = oid,
+ RIGHTARG = oid,
+ PROCEDURE = oid_dist,
+ COMMUTATOR = '<->'
+);
+
+CREATE FUNCTION time_dist(time, time)
+RETURNS interval
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE OPERATOR <-> (
+ LEFTARG = time,
+ RIGHTARG = time,
+ PROCEDURE = time_dist,
+ COMMUTATOR = '<->'
+);
+
+CREATE FUNCTION ts_dist(timestamp, timestamp)
+RETURNS interval
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE OPERATOR <-> (
+ LEFTARG = timestamp,
+ RIGHTARG = timestamp,
+ PROCEDURE = ts_dist,
+ COMMUTATOR = '<->'
+);
+
+CREATE FUNCTION tstz_dist(timestamptz, timestamptz)
+RETURNS interval
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE OPERATOR <-> (
+ LEFTARG = timestamptz,
+ RIGHTARG = timestamptz,
+ PROCEDURE = tstz_dist,
+ COMMUTATOR = '<->'
+);
+
+
+--
+--
+--
+-- oid ops
+--
+--
+--
+-- define the GiST support methods
+CREATE FUNCTION gbt_oid_consistent(internal,oid,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_oid_distance(internal,oid,int2,oid,internal)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_oid_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_oid_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_decompress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_var_decompress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_var_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_oid_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_oid_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_oid_union(internal, internal)
+RETURNS gbtreekey8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_oid_same(gbtreekey8, gbtreekey8, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_oid_ops
+DEFAULT FOR TYPE oid USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_oid_consistent (internal, oid, int2, oid, internal),
+ FUNCTION 2 gbt_oid_union (internal, internal),
+ FUNCTION 3 gbt_oid_compress (internal),
+ FUNCTION 4 gbt_decompress (internal),
+ FUNCTION 5 gbt_oid_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_oid_picksplit (internal, internal),
+ FUNCTION 7 gbt_oid_same (gbtreekey8, gbtreekey8, internal),
+ STORAGE gbtreekey8;
+
+-- Add operators that are new in 9.1. We do it like this, leaving them
+-- "loose" in the operator family rather than bound into the opclass, because
+-- that's the only state that can be reproduced during an upgrade from 9.0.
+ALTER OPERATOR FAMILY gist_oid_ops USING gist ADD
+ OPERATOR 6 <> (oid, oid) ,
+ OPERATOR 15 <-> (oid, oid) FOR ORDER BY pg_catalog.oid_ops ,
+ FUNCTION 8 (oid, oid) gbt_oid_distance (internal, oid, int2, oid, internal) ,
+ -- Also add support function for index-only-scans, added in 9.5.
+ FUNCTION 9 (oid, oid) gbt_oid_fetch (internal) ;
+
+
+--
+--
+--
+-- int2 ops
+--
+--
+--
+-- define the GiST support methods
+CREATE FUNCTION gbt_int2_consistent(internal,int2,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int2_distance(internal,int2,int2,oid,internal)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int2_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int2_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int2_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int2_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int2_union(internal, internal)
+RETURNS gbtreekey4
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int2_same(gbtreekey4, gbtreekey4, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_int2_ops
+DEFAULT FOR TYPE int2 USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_int2_consistent (internal, int2, int2, oid, internal),
+ FUNCTION 2 gbt_int2_union (internal, internal),
+ FUNCTION 3 gbt_int2_compress (internal),
+ FUNCTION 4 gbt_decompress (internal),
+ FUNCTION 5 gbt_int2_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_int2_picksplit (internal, internal),
+ FUNCTION 7 gbt_int2_same (gbtreekey4, gbtreekey4, internal),
+ STORAGE gbtreekey4;
+
+ALTER OPERATOR FAMILY gist_int2_ops USING gist ADD
+ OPERATOR 6 <> (int2, int2) ,
+ OPERATOR 15 <-> (int2, int2) FOR ORDER BY pg_catalog.integer_ops ,
+ FUNCTION 8 (int2, int2) gbt_int2_distance (internal, int2, int2, oid, internal) ,
+ FUNCTION 9 (int2, int2) gbt_int2_fetch (internal) ;
+
+--
+--
+--
+-- int4 ops
+--
+--
+--
+-- define the GiST support methods
+CREATE FUNCTION gbt_int4_consistent(internal,int4,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int4_distance(internal,int4,int2,oid,internal)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int4_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int4_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int4_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int4_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int4_union(internal, internal)
+RETURNS gbtreekey8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int4_same(gbtreekey8, gbtreekey8, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_int4_ops
+DEFAULT FOR TYPE int4 USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_int4_consistent (internal, int4, int2, oid, internal),
+ FUNCTION 2 gbt_int4_union (internal, internal),
+ FUNCTION 3 gbt_int4_compress (internal),
+ FUNCTION 4 gbt_decompress (internal),
+ FUNCTION 5 gbt_int4_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_int4_picksplit (internal, internal),
+ FUNCTION 7 gbt_int4_same (gbtreekey8, gbtreekey8, internal),
+ STORAGE gbtreekey8;
+
+ALTER OPERATOR FAMILY gist_int4_ops USING gist ADD
+ OPERATOR 6 <> (int4, int4) ,
+ OPERATOR 15 <-> (int4, int4) FOR ORDER BY pg_catalog.integer_ops ,
+ FUNCTION 8 (int4, int4) gbt_int4_distance (internal, int4, int2, oid, internal) ,
+ FUNCTION 9 (int4, int4) gbt_int4_fetch (internal) ;
+
+
+--
+--
+--
+-- int8 ops
+--
+--
+--
+-- define the GiST support methods
+CREATE FUNCTION gbt_int8_consistent(internal,int8,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int8_distance(internal,int8,int2,oid,internal)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int8_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int8_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int8_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int8_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int8_union(internal, internal)
+RETURNS gbtreekey16
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_int8_same(gbtreekey16, gbtreekey16, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_int8_ops
+DEFAULT FOR TYPE int8 USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_int8_consistent (internal, int8, int2, oid, internal),
+ FUNCTION 2 gbt_int8_union (internal, internal),
+ FUNCTION 3 gbt_int8_compress (internal),
+ FUNCTION 4 gbt_decompress (internal),
+ FUNCTION 5 gbt_int8_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_int8_picksplit (internal, internal),
+ FUNCTION 7 gbt_int8_same (gbtreekey16, gbtreekey16, internal),
+ STORAGE gbtreekey16;
+
+ALTER OPERATOR FAMILY gist_int8_ops USING gist ADD
+ OPERATOR 6 <> (int8, int8) ,
+ OPERATOR 15 <-> (int8, int8) FOR ORDER BY pg_catalog.integer_ops ,
+ FUNCTION 8 (int8, int8) gbt_int8_distance (internal, int8, int2, oid, internal) ,
+ FUNCTION 9 (int8, int8) gbt_int8_fetch (internal) ;
+
+--
+--
+--
+-- float4 ops
+--
+--
+--
+-- define the GiST support methods
+CREATE FUNCTION gbt_float4_consistent(internal,float4,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_float4_distance(internal,float4,int2,oid,internal)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_float4_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_float4_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_float4_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_float4_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_float4_union(internal, internal)
+RETURNS gbtreekey8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_float4_same(gbtreekey8, gbtreekey8, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_float4_ops
+DEFAULT FOR TYPE float4 USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_float4_consistent (internal, float4, int2, oid, internal),
+ FUNCTION 2 gbt_float4_union (internal, internal),
+ FUNCTION 3 gbt_float4_compress (internal),
+ FUNCTION 4 gbt_decompress (internal),
+ FUNCTION 5 gbt_float4_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_float4_picksplit (internal, internal),
+ FUNCTION 7 gbt_float4_same (gbtreekey8, gbtreekey8, internal),
+ STORAGE gbtreekey8;
+
+ALTER OPERATOR FAMILY gist_float4_ops USING gist ADD
+ OPERATOR 6 <> (float4, float4) ,
+ OPERATOR 15 <-> (float4, float4) FOR ORDER BY pg_catalog.float_ops ,
+ FUNCTION 8 (float4, float4) gbt_float4_distance (internal, float4, int2, oid, internal) ,
+ FUNCTION 9 (float4, float4) gbt_float4_fetch (internal) ;
+
+--
+--
+--
+-- float8 ops
+--
+--
+--
+-- define the GiST support methods
+CREATE FUNCTION gbt_float8_consistent(internal,float8,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_float8_distance(internal,float8,int2,oid,internal)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_float8_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_float8_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_float8_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_float8_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_float8_union(internal, internal)
+RETURNS gbtreekey16
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_float8_same(gbtreekey16, gbtreekey16, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_float8_ops
+DEFAULT FOR TYPE float8 USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_float8_consistent (internal, float8, int2, oid, internal),
+ FUNCTION 2 gbt_float8_union (internal, internal),
+ FUNCTION 3 gbt_float8_compress (internal),
+ FUNCTION 4 gbt_decompress (internal),
+ FUNCTION 5 gbt_float8_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_float8_picksplit (internal, internal),
+ FUNCTION 7 gbt_float8_same (gbtreekey16, gbtreekey16, internal),
+ STORAGE gbtreekey16;
+
+ALTER OPERATOR FAMILY gist_float8_ops USING gist ADD
+ OPERATOR 6 <> (float8, float8) ,
+ OPERATOR 15 <-> (float8, float8) FOR ORDER BY pg_catalog.float_ops ,
+ FUNCTION 8 (float8, float8) gbt_float8_distance (internal, float8, int2, oid, internal) ,
+ FUNCTION 9 (float8, float8) gbt_float8_fetch (internal) ;
+
+--
+--
+--
+-- timestamp ops
+--
+--
+--
+
+CREATE FUNCTION gbt_ts_consistent(internal,timestamp,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_ts_distance(internal,timestamp,int2,oid,internal)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_tstz_consistent(internal,timestamptz,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_tstz_distance(internal,timestamptz,int2,oid,internal)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_ts_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_tstz_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_ts_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_ts_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_ts_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_ts_union(internal, internal)
+RETURNS gbtreekey16
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_ts_same(gbtreekey16, gbtreekey16, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_timestamp_ops
+DEFAULT FOR TYPE timestamp USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_ts_consistent (internal, timestamp, int2, oid, internal),
+ FUNCTION 2 gbt_ts_union (internal, internal),
+ FUNCTION 3 gbt_ts_compress (internal),
+ FUNCTION 4 gbt_decompress (internal),
+ FUNCTION 5 gbt_ts_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_ts_picksplit (internal, internal),
+ FUNCTION 7 gbt_ts_same (gbtreekey16, gbtreekey16, internal),
+ STORAGE gbtreekey16;
+
+ALTER OPERATOR FAMILY gist_timestamp_ops USING gist ADD
+ OPERATOR 6 <> (timestamp, timestamp) ,
+ OPERATOR 15 <-> (timestamp, timestamp) FOR ORDER BY pg_catalog.interval_ops ,
+ FUNCTION 8 (timestamp, timestamp) gbt_ts_distance (internal, timestamp, int2, oid, internal) ,
+ FUNCTION 9 (timestamp, timestamp) gbt_ts_fetch (internal) ;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_timestamptz_ops
+DEFAULT FOR TYPE timestamptz USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_tstz_consistent (internal, timestamptz, int2, oid, internal),
+ FUNCTION 2 gbt_ts_union (internal, internal),
+ FUNCTION 3 gbt_tstz_compress (internal),
+ FUNCTION 4 gbt_decompress (internal),
+ FUNCTION 5 gbt_ts_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_ts_picksplit (internal, internal),
+ FUNCTION 7 gbt_ts_same (gbtreekey16, gbtreekey16, internal),
+ STORAGE gbtreekey16;
+
+ALTER OPERATOR FAMILY gist_timestamptz_ops USING gist ADD
+ OPERATOR 6 <> (timestamptz, timestamptz) ,
+ OPERATOR 15 <-> (timestamptz, timestamptz) FOR ORDER BY pg_catalog.interval_ops ,
+ FUNCTION 8 (timestamptz, timestamptz) gbt_tstz_distance (internal, timestamptz, int2, oid, internal) ,
+ FUNCTION 9 (timestamptz, timestamptz) gbt_ts_fetch (internal) ;
+
+--
+--
+--
+-- time ops
+--
+--
+--
+
+CREATE FUNCTION gbt_time_consistent(internal,time,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_time_distance(internal,time,int2,oid,internal)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_timetz_consistent(internal,timetz,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_time_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_timetz_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_time_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_time_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_time_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_time_union(internal, internal)
+RETURNS gbtreekey16
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_time_same(gbtreekey16, gbtreekey16, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_time_ops
+DEFAULT FOR TYPE time USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_time_consistent (internal, time, int2, oid, internal),
+ FUNCTION 2 gbt_time_union (internal, internal),
+ FUNCTION 3 gbt_time_compress (internal),
+ FUNCTION 4 gbt_decompress (internal),
+ FUNCTION 5 gbt_time_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_time_picksplit (internal, internal),
+ FUNCTION 7 gbt_time_same (gbtreekey16, gbtreekey16, internal),
+ STORAGE gbtreekey16;
+
+ALTER OPERATOR FAMILY gist_time_ops USING gist ADD
+ OPERATOR 6 <> (time, time) ,
+ OPERATOR 15 <-> (time, time) FOR ORDER BY pg_catalog.interval_ops ,
+ FUNCTION 8 (time, time) gbt_time_distance (internal, time, int2, oid, internal) ,
+ FUNCTION 9 (time, time) gbt_time_fetch (internal) ;
+
+
+CREATE OPERATOR CLASS gist_timetz_ops
+DEFAULT FOR TYPE timetz USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_timetz_consistent (internal, timetz, int2, oid, internal),
+ FUNCTION 2 gbt_time_union (internal, internal),
+ FUNCTION 3 gbt_timetz_compress (internal),
+ FUNCTION 4 gbt_decompress (internal),
+ FUNCTION 5 gbt_time_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_time_picksplit (internal, internal),
+ FUNCTION 7 gbt_time_same (gbtreekey16, gbtreekey16, internal),
+ STORAGE gbtreekey16;
+
+ALTER OPERATOR FAMILY gist_timetz_ops USING gist ADD
+ OPERATOR 6 <> (timetz, timetz) ;
+ -- no 'fetch' function, as the compress function is lossy.
+
+
+--
+--
+--
+-- date ops
+--
+--
+--
+
+CREATE FUNCTION gbt_date_consistent(internal,date,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_date_distance(internal,date,int2,oid,internal)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_date_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_date_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_date_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_date_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_date_union(internal, internal)
+RETURNS gbtreekey8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_date_same(gbtreekey8, gbtreekey8, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_date_ops
+DEFAULT FOR TYPE date USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_date_consistent (internal, date, int2, oid, internal),
+ FUNCTION 2 gbt_date_union (internal, internal),
+ FUNCTION 3 gbt_date_compress (internal),
+ FUNCTION 4 gbt_decompress (internal),
+ FUNCTION 5 gbt_date_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_date_picksplit (internal, internal),
+ FUNCTION 7 gbt_date_same (gbtreekey8, gbtreekey8, internal),
+ STORAGE gbtreekey8;
+
+ALTER OPERATOR FAMILY gist_date_ops USING gist ADD
+ OPERATOR 6 <> (date, date) ,
+ OPERATOR 15 <-> (date, date) FOR ORDER BY pg_catalog.integer_ops ,
+ FUNCTION 8 (date, date) gbt_date_distance (internal, date, int2, oid, internal) ,
+ FUNCTION 9 (date, date) gbt_date_fetch (internal) ;
+
+
+--
+--
+--
+-- interval ops
+--
+--
+--
+
+CREATE FUNCTION gbt_intv_consistent(internal,interval,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_intv_distance(internal,interval,int2,oid,internal)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_intv_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_intv_decompress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_intv_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_intv_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_intv_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_intv_union(internal, internal)
+RETURNS gbtreekey32
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_intv_same(gbtreekey32, gbtreekey32, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_interval_ops
+DEFAULT FOR TYPE interval USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_intv_consistent (internal, interval, int2, oid, internal),
+ FUNCTION 2 gbt_intv_union (internal, internal),
+ FUNCTION 3 gbt_intv_compress (internal),
+ FUNCTION 4 gbt_intv_decompress (internal),
+ FUNCTION 5 gbt_intv_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_intv_picksplit (internal, internal),
+ FUNCTION 7 gbt_intv_same (gbtreekey32, gbtreekey32, internal),
+ STORAGE gbtreekey32;
+
+ALTER OPERATOR FAMILY gist_interval_ops USING gist ADD
+ OPERATOR 6 <> (interval, interval) ,
+ OPERATOR 15 <-> (interval, interval) FOR ORDER BY pg_catalog.interval_ops ,
+ FUNCTION 8 (interval, interval) gbt_intv_distance (internal, interval, int2, oid, internal) ,
+ FUNCTION 9 (interval, interval) gbt_intv_fetch (internal) ;
+
+
+--
+--
+--
+-- cash ops
+--
+--
+--
+-- define the GiST support methods
+CREATE FUNCTION gbt_cash_consistent(internal,money,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_cash_distance(internal,money,int2,oid,internal)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_cash_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_cash_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_cash_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_cash_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_cash_union(internal, internal)
+RETURNS gbtreekey16
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_cash_same(gbtreekey16, gbtreekey16, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_cash_ops
+DEFAULT FOR TYPE money USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_cash_consistent (internal, money, int2, oid, internal),
+ FUNCTION 2 gbt_cash_union (internal, internal),
+ FUNCTION 3 gbt_cash_compress (internal),
+ FUNCTION 4 gbt_decompress (internal),
+ FUNCTION 5 gbt_cash_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_cash_picksplit (internal, internal),
+ FUNCTION 7 gbt_cash_same (gbtreekey16, gbtreekey16, internal),
+ STORAGE gbtreekey16;
+
+ALTER OPERATOR FAMILY gist_cash_ops USING gist ADD
+ OPERATOR 6 <> (money, money) ,
+ OPERATOR 15 <-> (money, money) FOR ORDER BY pg_catalog.money_ops ,
+ FUNCTION 8 (money, money) gbt_cash_distance (internal, money, int2, oid, internal) ,
+ FUNCTION 9 (money, money) gbt_cash_fetch (internal) ;
+
+
+--
+--
+--
+-- macaddr ops
+--
+--
+--
+-- define the GiST support methods
+CREATE FUNCTION gbt_macad_consistent(internal,macaddr,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_macad_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_macad_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_macad_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_macad_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_macad_union(internal, internal)
+RETURNS gbtreekey16
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_macad_same(gbtreekey16, gbtreekey16, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_macaddr_ops
+DEFAULT FOR TYPE macaddr USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_macad_consistent (internal, macaddr, int2, oid, internal),
+ FUNCTION 2 gbt_macad_union (internal, internal),
+ FUNCTION 3 gbt_macad_compress (internal),
+ FUNCTION 4 gbt_decompress (internal),
+ FUNCTION 5 gbt_macad_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_macad_picksplit (internal, internal),
+ FUNCTION 7 gbt_macad_same (gbtreekey16, gbtreekey16, internal),
+ STORAGE gbtreekey16;
+
+ALTER OPERATOR FAMILY gist_macaddr_ops USING gist ADD
+ OPERATOR 6 <> (macaddr, macaddr) ,
+ FUNCTION 9 (macaddr, macaddr) gbt_macad_fetch (internal);
+
+
+--
+--
+--
+-- text/ bpchar ops
+--
+--
+--
+-- define the GiST support methods
+CREATE FUNCTION gbt_text_consistent(internal,text,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_bpchar_consistent(internal,bpchar,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_text_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_bpchar_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_text_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_text_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_text_union(internal, internal)
+RETURNS gbtreekey_var
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_text_same(gbtreekey_var, gbtreekey_var, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_text_ops
+DEFAULT FOR TYPE text USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_text_consistent (internal, text, int2, oid, internal),
+ FUNCTION 2 gbt_text_union (internal, internal),
+ FUNCTION 3 gbt_text_compress (internal),
+ FUNCTION 4 gbt_var_decompress (internal),
+ FUNCTION 5 gbt_text_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_text_picksplit (internal, internal),
+ FUNCTION 7 gbt_text_same (gbtreekey_var, gbtreekey_var, internal),
+ STORAGE gbtreekey_var;
+
+ALTER OPERATOR FAMILY gist_text_ops USING gist ADD
+ OPERATOR 6 <> (text, text) ,
+ FUNCTION 9 (text, text) gbt_var_fetch (internal) ;
+
+
+---- Create the operator class
+CREATE OPERATOR CLASS gist_bpchar_ops
+DEFAULT FOR TYPE bpchar USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_bpchar_consistent (internal, bpchar , int2, oid, internal),
+ FUNCTION 2 gbt_text_union (internal, internal),
+ FUNCTION 3 gbt_bpchar_compress (internal),
+ FUNCTION 4 gbt_var_decompress (internal),
+ FUNCTION 5 gbt_text_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_text_picksplit (internal, internal),
+ FUNCTION 7 gbt_text_same (gbtreekey_var, gbtreekey_var, internal),
+ STORAGE gbtreekey_var;
+
+ALTER OPERATOR FAMILY gist_bpchar_ops USING gist ADD
+ OPERATOR 6 <> (bpchar, bpchar) ,
+ FUNCTION 9 (bpchar, bpchar) gbt_var_fetch (internal) ;
+
+--
+--
+-- bytea ops
+--
+--
+--
+-- define the GiST support methods
+CREATE FUNCTION gbt_bytea_consistent(internal,bytea,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_bytea_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_bytea_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_bytea_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_bytea_union(internal, internal)
+RETURNS gbtreekey_var
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_bytea_same(gbtreekey_var, gbtreekey_var, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_bytea_ops
+DEFAULT FOR TYPE bytea USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_bytea_consistent (internal, bytea, int2, oid, internal),
+ FUNCTION 2 gbt_bytea_union (internal, internal),
+ FUNCTION 3 gbt_bytea_compress (internal),
+ FUNCTION 4 gbt_var_decompress (internal),
+ FUNCTION 5 gbt_bytea_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_bytea_picksplit (internal, internal),
+ FUNCTION 7 gbt_bytea_same (gbtreekey_var, gbtreekey_var, internal),
+ STORAGE gbtreekey_var;
+
+ALTER OPERATOR FAMILY gist_bytea_ops USING gist ADD
+ OPERATOR 6 <> (bytea, bytea) ,
+ FUNCTION 9 (bytea, bytea) gbt_var_fetch (internal) ;
+
+
+--
+--
+--
+-- numeric ops
+--
+--
+--
+-- define the GiST support methods
+CREATE FUNCTION gbt_numeric_consistent(internal,numeric,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_numeric_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_numeric_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_numeric_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_numeric_union(internal, internal)
+RETURNS gbtreekey_var
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_numeric_same(gbtreekey_var, gbtreekey_var, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_numeric_ops
+DEFAULT FOR TYPE numeric USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_numeric_consistent (internal, numeric, int2, oid, internal),
+ FUNCTION 2 gbt_numeric_union (internal, internal),
+ FUNCTION 3 gbt_numeric_compress (internal),
+ FUNCTION 4 gbt_var_decompress (internal),
+ FUNCTION 5 gbt_numeric_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_numeric_picksplit (internal, internal),
+ FUNCTION 7 gbt_numeric_same (gbtreekey_var, gbtreekey_var, internal),
+ STORAGE gbtreekey_var;
+
+ALTER OPERATOR FAMILY gist_numeric_ops USING gist ADD
+ OPERATOR 6 <> (numeric, numeric) ,
+ FUNCTION 9 (numeric, numeric) gbt_var_fetch (internal) ;
+
+
+--
+--
+-- bit ops
+--
+--
+--
+-- define the GiST support methods
+CREATE FUNCTION gbt_bit_consistent(internal,bit,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_bit_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_bit_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_bit_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_bit_union(internal, internal)
+RETURNS gbtreekey_var
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_bit_same(gbtreekey_var, gbtreekey_var, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_bit_ops
+DEFAULT FOR TYPE bit USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_bit_consistent (internal, bit, int2, oid, internal),
+ FUNCTION 2 gbt_bit_union (internal, internal),
+ FUNCTION 3 gbt_bit_compress (internal),
+ FUNCTION 4 gbt_var_decompress (internal),
+ FUNCTION 5 gbt_bit_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_bit_picksplit (internal, internal),
+ FUNCTION 7 gbt_bit_same (gbtreekey_var, gbtreekey_var, internal),
+ STORAGE gbtreekey_var;
+
+ALTER OPERATOR FAMILY gist_bit_ops USING gist ADD
+ OPERATOR 6 <> (bit, bit) ,
+ FUNCTION 9 (bit, bit) gbt_var_fetch (internal) ;
+
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_vbit_ops
+DEFAULT FOR TYPE varbit USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_bit_consistent (internal, bit, int2, oid, internal),
+ FUNCTION 2 gbt_bit_union (internal, internal),
+ FUNCTION 3 gbt_bit_compress (internal),
+ FUNCTION 4 gbt_var_decompress (internal),
+ FUNCTION 5 gbt_bit_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_bit_picksplit (internal, internal),
+ FUNCTION 7 gbt_bit_same (gbtreekey_var, gbtreekey_var, internal),
+ STORAGE gbtreekey_var;
+
+ALTER OPERATOR FAMILY gist_vbit_ops USING gist ADD
+ OPERATOR 6 <> (varbit, varbit) ,
+ FUNCTION 9 (varbit, varbit) gbt_var_fetch (internal) ;
+
+
+--
+--
+--
+-- inet/cidr ops
+--
+--
+--
+-- define the GiST support methods
+CREATE FUNCTION gbt_inet_consistent(internal,inet,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_inet_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_inet_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_inet_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_inet_union(internal, internal)
+RETURNS gbtreekey16
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_inet_same(gbtreekey16, gbtreekey16, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_inet_ops
+DEFAULT FOR TYPE inet USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_inet_consistent (internal, inet, int2, oid, internal),
+ FUNCTION 2 gbt_inet_union (internal, internal),
+ FUNCTION 3 gbt_inet_compress (internal),
+ FUNCTION 4 gbt_decompress (internal),
+ FUNCTION 5 gbt_inet_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_inet_picksplit (internal, internal),
+ FUNCTION 7 gbt_inet_same (gbtreekey16, gbtreekey16, internal),
+ STORAGE gbtreekey16;
+
+ALTER OPERATOR FAMILY gist_inet_ops USING gist ADD
+ OPERATOR 6 <> (inet, inet) ;
+ -- no fetch support, the compress function is lossy
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_cidr_ops
+DEFAULT FOR TYPE cidr USING gist
+AS
+ OPERATOR 1 < (inet, inet) ,
+ OPERATOR 2 <= (inet, inet) ,
+ OPERATOR 3 = (inet, inet) ,
+ OPERATOR 4 >= (inet, inet) ,
+ OPERATOR 5 > (inet, inet) ,
+ FUNCTION 1 gbt_inet_consistent (internal, inet, int2, oid, internal),
+ FUNCTION 2 gbt_inet_union (internal, internal),
+ FUNCTION 3 gbt_inet_compress (internal),
+ FUNCTION 4 gbt_decompress (internal),
+ FUNCTION 5 gbt_inet_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_inet_picksplit (internal, internal),
+ FUNCTION 7 gbt_inet_same (gbtreekey16, gbtreekey16, internal),
+ STORAGE gbtreekey16;
+
+ALTER OPERATOR FAMILY gist_cidr_ops USING gist ADD
+ OPERATOR 6 <> (inet, inet) ;
+ -- no fetch support, the compress function is lossy
diff --git a/pgsql/share/extension/btree_gist--1.3--1.4.sql b/pgsql/share/extension/btree_gist--1.3--1.4.sql
new file mode 100644
index 0000000000000000000000000000000000000000..f77f6c8380b1f9366b38b515490056b65ee46bac
--- /dev/null
+++ b/pgsql/share/extension/btree_gist--1.3--1.4.sql
@@ -0,0 +1,64 @@
+/* contrib/btree_gist/btree_gist--1.3--1.4.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION btree_gist UPDATE TO '1.4'" to load this file. \quit
+
+-- Add support for indexing macaddr8 columns
+
+-- define the GiST support methods
+CREATE FUNCTION gbt_macad8_consistent(internal,macaddr8,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_macad8_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_macad8_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_macad8_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_macad8_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_macad8_union(internal, internal)
+RETURNS gbtreekey16
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_macad8_same(gbtreekey16, gbtreekey16, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_macaddr8_ops
+DEFAULT FOR TYPE macaddr8 USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_macad8_consistent (internal, macaddr8, int2, oid, internal),
+ FUNCTION 2 gbt_macad8_union (internal, internal),
+ FUNCTION 3 gbt_macad8_compress (internal),
+ FUNCTION 4 gbt_decompress (internal),
+ FUNCTION 5 gbt_macad8_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_macad8_picksplit (internal, internal),
+ FUNCTION 7 gbt_macad8_same (gbtreekey16, gbtreekey16, internal),
+ STORAGE gbtreekey16;
+
+ALTER OPERATOR FAMILY gist_macaddr8_ops USING gist ADD
+ OPERATOR 6 <> (macaddr8, macaddr8) ,
+ FUNCTION 9 (macaddr8, macaddr8) gbt_macad8_fetch (internal);
diff --git a/pgsql/share/extension/btree_gist--1.4--1.5.sql b/pgsql/share/extension/btree_gist--1.4--1.5.sql
new file mode 100644
index 0000000000000000000000000000000000000000..cf974c2f5319accf7020d7e204c6a6c4e9611b11
--- /dev/null
+++ b/pgsql/share/extension/btree_gist--1.4--1.5.sql
@@ -0,0 +1,69 @@
+/* contrib/btree_gist/btree_gist--1.4--1.5.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "ALTER EXTENSION btree_gist UPDATE TO '1.5'" to load this file. \quit
+
+--
+--
+--
+-- enum ops
+--
+--
+--
+-- define the GiST support methods
+CREATE FUNCTION gbt_enum_consistent(internal,anyenum,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_enum_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_enum_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_enum_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_enum_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_enum_union(internal, internal)
+RETURNS gbtreekey8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_enum_same(gbtreekey8, gbtreekey8, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_enum_ops
+DEFAULT FOR TYPE anyenum USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 gbt_enum_consistent (internal, anyenum, int2, oid, internal),
+ FUNCTION 2 gbt_enum_union (internal, internal),
+ FUNCTION 3 gbt_enum_compress (internal),
+ FUNCTION 4 gbt_decompress (internal),
+ FUNCTION 5 gbt_enum_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_enum_picksplit (internal, internal),
+ FUNCTION 7 gbt_enum_same (gbtreekey8, gbtreekey8, internal),
+ STORAGE gbtreekey8;
+
+ALTER OPERATOR FAMILY gist_enum_ops USING gist ADD
+ OPERATOR 6 <> (anyenum, anyenum) ,
+ FUNCTION 9 (anyenum, anyenum) gbt_enum_fetch (internal) ;
diff --git a/pgsql/share/extension/btree_gist--1.5--1.6.sql b/pgsql/share/extension/btree_gist--1.5--1.6.sql
new file mode 100644
index 0000000000000000000000000000000000000000..5e1fcb47bdeaeb0d1fbf3d21de6d1dd13a99ea0a
--- /dev/null
+++ b/pgsql/share/extension/btree_gist--1.5--1.6.sql
@@ -0,0 +1,191 @@
+/* contrib/btree_gist/btree_gist--1.5--1.6.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "ALTER EXTENSION btree_gist UPDATE TO '1.6'" to load this file. \quit
+
+-- This upgrade script marks all btree_gist functions as parallel safe.
+
+-- Input/output functions for GiST key types (gbtreekey*)
+ALTER FUNCTION gbtreekey4_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION gbtreekey4_out(gbtreekey4) PARALLEL SAFE;
+ALTER FUNCTION gbtreekey8_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION gbtreekey8_out(gbtreekey8) PARALLEL SAFE;
+ALTER FUNCTION gbtreekey16_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION gbtreekey16_out(gbtreekey16) PARALLEL SAFE;
+ALTER FUNCTION gbtreekey32_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION gbtreekey32_out(gbtreekey32) PARALLEL SAFE;
+ALTER FUNCTION gbtreekey_var_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION gbtreekey_var_out(gbtreekey_var) PARALLEL SAFE;
+
+-- Functions, which implement distance operators (<->)
+ALTER FUNCTION cash_dist(money, money) PARALLEL SAFE;
+ALTER FUNCTION date_dist(date, date) PARALLEL SAFE;
+ALTER FUNCTION float4_dist(real, real) PARALLEL SAFE;
+ALTER FUNCTION float8_dist(double precision, double precision) PARALLEL SAFE;
+ALTER FUNCTION int2_dist(smallint, smallint) PARALLEL SAFE;
+ALTER FUNCTION int4_dist(integer, integer) PARALLEL SAFE;
+ALTER FUNCTION int8_dist(bigint, bigint) PARALLEL SAFE;
+ALTER FUNCTION interval_dist(interval, interval) PARALLEL SAFE;
+ALTER FUNCTION oid_dist(oid, oid) PARALLEL SAFE;
+ALTER FUNCTION time_dist(time without time zone, time without time zone) PARALLEL SAFE;
+ALTER FUNCTION ts_dist(timestamp without time zone, timestamp without time zone) PARALLEL SAFE;
+ALTER FUNCTION tstz_dist(timestamp with time zone, timestamp with time zone) PARALLEL SAFE;
+
+-- GiST support methods
+ALTER FUNCTION gbt_oid_consistent(internal, oid, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_oid_distance(internal, oid, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_oid_fetch(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_oid_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_decompress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_var_decompress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_var_fetch(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_oid_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_oid_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_oid_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_oid_same(gbtreekey8, gbtreekey8, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int2_consistent(internal, smallint, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int2_distance(internal, smallint, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int2_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int2_fetch(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int2_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int2_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int2_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int2_same(gbtreekey4, gbtreekey4, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int4_consistent(internal, integer, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int4_distance(internal, integer, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int4_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int4_fetch(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int4_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int4_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int4_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int4_same(gbtreekey8, gbtreekey8, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int8_consistent(internal, bigint, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int8_distance(internal, bigint, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int8_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int8_fetch(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int8_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int8_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int8_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_int8_same(gbtreekey16, gbtreekey16, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_float4_consistent(internal, real, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_float4_distance(internal, real, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_float4_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_float4_fetch(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_float4_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_float4_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_float4_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_float4_same(gbtreekey8, gbtreekey8, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_float8_consistent(internal, double precision, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_float8_distance(internal, double precision, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_float8_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_float8_fetch(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_float8_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_float8_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_float8_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_float8_same(gbtreekey16, gbtreekey16, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_ts_consistent(internal, timestamp without time zone, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_ts_distance(internal, timestamp without time zone, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_tstz_consistent(internal, timestamp with time zone, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_tstz_distance(internal, timestamp with time zone, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_ts_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_tstz_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_ts_fetch(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_ts_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_ts_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_ts_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_ts_same(gbtreekey16, gbtreekey16, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_time_consistent(internal, time without time zone, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_time_distance(internal, time without time zone, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_timetz_consistent(internal, time with time zone, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_time_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_timetz_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_time_fetch(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_time_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_time_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_time_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_time_same(gbtreekey16, gbtreekey16, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_date_consistent(internal, date, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_date_distance(internal, date, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_date_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_date_fetch(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_date_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_date_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_date_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_date_same(gbtreekey8, gbtreekey8, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_intv_consistent(internal, interval, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_intv_distance(internal, interval, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_intv_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_intv_decompress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_intv_fetch(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_intv_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_intv_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_intv_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_intv_same(gbtreekey32, gbtreekey32, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_cash_consistent(internal, money, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_cash_distance(internal, money, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_cash_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_cash_fetch(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_cash_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_cash_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_cash_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_cash_same(gbtreekey16, gbtreekey16, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_macad_consistent(internal, macaddr, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_macad_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_macad_fetch(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_macad_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_macad_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_macad_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_macad_same(gbtreekey16, gbtreekey16, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_text_consistent(internal, text, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_bpchar_consistent(internal, character, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_text_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_bpchar_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_text_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_text_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_text_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_text_same(gbtreekey_var, gbtreekey_var, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_bytea_consistent(internal, bytea, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_bytea_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_bytea_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_bytea_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_bytea_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_bytea_same(gbtreekey_var, gbtreekey_var, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_numeric_consistent(internal, numeric, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_numeric_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_numeric_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_numeric_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_numeric_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_numeric_same(gbtreekey_var, gbtreekey_var, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_bit_consistent(internal, bit, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_bit_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_bit_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_bit_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_bit_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_bit_same(gbtreekey_var, gbtreekey_var, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_inet_consistent(internal, inet, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_inet_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_inet_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_inet_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_inet_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_inet_same(gbtreekey16, gbtreekey16, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_uuid_consistent(internal, uuid, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_uuid_fetch(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_uuid_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_uuid_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_uuid_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_uuid_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_uuid_same(gbtreekey32, gbtreekey32, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_macad8_consistent(internal, macaddr8, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_macad8_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_macad8_fetch(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_macad8_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_macad8_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_macad8_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_macad8_same(gbtreekey16, gbtreekey16, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_enum_consistent(internal, anyenum, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_enum_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_enum_fetch(internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_enum_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_enum_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_enum_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gbt_enum_same(gbtreekey8, gbtreekey8, internal) PARALLEL SAFE;
diff --git a/pgsql/share/extension/btree_gist--1.6--1.7.sql b/pgsql/share/extension/btree_gist--1.6--1.7.sql
new file mode 100644
index 0000000000000000000000000000000000000000..1085216501eb89a8ecddc4ac080dc8e311b7f6a5
--- /dev/null
+++ b/pgsql/share/extension/btree_gist--1.6--1.7.sql
@@ -0,0 +1,77 @@
+/* contrib/btree_gist/btree_gist--1.6--1.7.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "ALTER EXTENSION btree_gist UPDATE TO '1.7'" to load this file. \quit
+
+-- This upgrade scripts add support for bool.
+CREATE FUNCTION gbtreekey2_in(cstring)
+RETURNS gbtreekey2
+AS 'MODULE_PATHNAME', 'gbtreekey_in'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gbtreekey2_out(gbtreekey2)
+RETURNS cstring
+AS 'MODULE_PATHNAME', 'gbtreekey_out'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE TYPE gbtreekey2 (
+ INTERNALLENGTH = 2,
+ INPUT = gbtreekey2_in,
+ OUTPUT = gbtreekey2_out
+);
+
+-- Define the GiST support methods
+CREATE FUNCTION gbt_bool_consistent(internal,bool,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_bool_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_bool_fetch(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_bool_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_bool_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_bool_union(internal, internal)
+RETURNS gbtreekey2
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION gbt_bool_same(gbtreekey2, gbtreekey2, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+-- Create the operator class
+CREATE OPERATOR CLASS gist_bool_ops
+DEFAULT FOR TYPE bool USING gist
+AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ OPERATOR 6 <> ,
+ FUNCTION 1 gbt_bool_consistent (internal, bool, int2, oid, internal),
+ FUNCTION 2 gbt_bool_union (internal, internal),
+ FUNCTION 3 gbt_bool_compress (internal),
+ FUNCTION 4 gbt_decompress (internal),
+ FUNCTION 5 gbt_bool_penalty (internal, internal, internal),
+ FUNCTION 6 gbt_bool_picksplit (internal, internal),
+ FUNCTION 7 gbt_bool_same (gbtreekey2, gbtreekey2, internal),
+ FUNCTION 9 gbt_bool_fetch (internal),
+ STORAGE gbtreekey2;
diff --git a/pgsql/share/extension/btree_gist.control b/pgsql/share/extension/btree_gist.control
new file mode 100644
index 0000000000000000000000000000000000000000..fa9171a80a2e374866d2b927269c81ab9e1ca3fc
--- /dev/null
+++ b/pgsql/share/extension/btree_gist.control
@@ -0,0 +1,6 @@
+# btree_gist extension
+comment = 'support for indexing common datatypes in GiST'
+default_version = '1.7'
+module_pathname = '$libdir/btree_gist'
+relocatable = true
+trusted = true
diff --git a/pgsql/share/extension/citext--1.0--1.1.sql b/pgsql/share/extension/citext--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..e06627e0258cc89845adb37b33fe14986eafb0ee
--- /dev/null
+++ b/pgsql/share/extension/citext--1.0--1.1.sql
@@ -0,0 +1,21 @@
+/* contrib/citext/citext--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION citext UPDATE TO '1.1'" to load this file. \quit
+
+/* First we have to remove them from the extension */
+ALTER EXTENSION citext DROP FUNCTION regexp_matches( citext, citext );
+ALTER EXTENSION citext DROP FUNCTION regexp_matches( citext, citext, text );
+
+/* Then we can drop them */
+DROP FUNCTION regexp_matches( citext, citext );
+DROP FUNCTION regexp_matches( citext, citext, text );
+
+/* Now redefine */
+CREATE FUNCTION regexp_matches( citext, citext ) RETURNS SETOF TEXT[] AS $$
+ SELECT pg_catalog.regexp_matches( $1::pg_catalog.text, $2::pg_catalog.text, 'i' );
+$$ LANGUAGE SQL IMMUTABLE STRICT ROWS 1;
+
+CREATE FUNCTION regexp_matches( citext, citext, text ) RETURNS SETOF TEXT[] AS $$
+ SELECT pg_catalog.regexp_matches( $1::pg_catalog.text, $2::pg_catalog.text, CASE WHEN pg_catalog.strpos($3, 'c') = 0 THEN $3 || 'i' ELSE $3 END );
+$$ LANGUAGE SQL IMMUTABLE STRICT ROWS 10;
diff --git a/pgsql/share/extension/citext--1.1--1.2.sql b/pgsql/share/extension/citext--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..a8bba860a1d42a9b2cbe830ab6a3f0b6a23c2eb2
--- /dev/null
+++ b/pgsql/share/extension/citext--1.1--1.2.sql
@@ -0,0 +1,68 @@
+/* contrib/citext/citext--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION citext UPDATE TO '1.2'" to load this file. \quit
+
+ALTER FUNCTION citextin(cstring) PARALLEL SAFE;
+ALTER FUNCTION citextout(citext) PARALLEL SAFE;
+ALTER FUNCTION citextrecv(internal) PARALLEL SAFE;
+ALTER FUNCTION citextsend(citext) PARALLEL SAFE;
+ALTER FUNCTION citext(bpchar) PARALLEL SAFE;
+ALTER FUNCTION citext(boolean) PARALLEL SAFE;
+ALTER FUNCTION citext(inet) PARALLEL SAFE;
+ALTER FUNCTION citext_eq(citext, citext) PARALLEL SAFE;
+ALTER FUNCTION citext_ne(citext, citext) PARALLEL SAFE;
+ALTER FUNCTION citext_lt(citext, citext) PARALLEL SAFE;
+ALTER FUNCTION citext_le(citext, citext) PARALLEL SAFE;
+ALTER FUNCTION citext_gt(citext, citext) PARALLEL SAFE;
+ALTER FUNCTION citext_ge(citext, citext) PARALLEL SAFE;
+ALTER FUNCTION citext_cmp(citext, citext) PARALLEL SAFE;
+ALTER FUNCTION citext_hash(citext) PARALLEL SAFE;
+ALTER FUNCTION citext_smaller(citext, citext) PARALLEL SAFE;
+ALTER FUNCTION citext_larger(citext, citext) PARALLEL SAFE;
+ALTER FUNCTION texticlike(citext, citext) PARALLEL SAFE;
+ALTER FUNCTION texticnlike(citext, citext) PARALLEL SAFE;
+ALTER FUNCTION texticregexeq(citext, citext) PARALLEL SAFE;
+ALTER FUNCTION texticregexne(citext, citext) PARALLEL SAFE;
+ALTER FUNCTION texticlike(citext, text) PARALLEL SAFE;
+ALTER FUNCTION texticnlike(citext, text) PARALLEL SAFE;
+ALTER FUNCTION texticregexeq(citext, text) PARALLEL SAFE;
+ALTER FUNCTION texticregexne(citext, text) PARALLEL SAFE;
+ALTER FUNCTION regexp_matches(citext, citext) PARALLEL SAFE;
+ALTER FUNCTION regexp_matches(citext, citext, text) PARALLEL SAFE;
+ALTER FUNCTION regexp_replace(citext, citext, text) PARALLEL SAFE;
+ALTER FUNCTION regexp_replace(citext, citext, text, text) PARALLEL SAFE;
+ALTER FUNCTION regexp_split_to_array(citext, citext) PARALLEL SAFE;
+ALTER FUNCTION regexp_split_to_array(citext, citext, text) PARALLEL SAFE;
+ALTER FUNCTION regexp_split_to_table(citext, citext) PARALLEL SAFE;
+ALTER FUNCTION regexp_split_to_table(citext, citext, text) PARALLEL SAFE;
+ALTER FUNCTION strpos(citext, citext) PARALLEL SAFE;
+ALTER FUNCTION replace(citext, citext, citext) PARALLEL SAFE;
+ALTER FUNCTION split_part(citext, citext, int) PARALLEL SAFE;
+ALTER FUNCTION translate(citext, citext, text) PARALLEL SAFE;
+
+-- We have to update aggregates the hard way for lack of ALTER support
+DO LANGUAGE plpgsql
+$$
+DECLARE
+ my_schema pg_catalog.text := pg_catalog.quote_ident(pg_catalog.current_schema());
+ old_path pg_catalog.text := pg_catalog.current_setting('search_path');
+BEGIN
+-- for safety, transiently set search_path to just pg_catalog+pg_temp
+PERFORM pg_catalog.set_config('search_path', 'pg_catalog, pg_temp', true);
+
+UPDATE pg_proc SET proparallel = 's'
+WHERE oid = (my_schema || '.min(' || my_schema || '.citext)')::pg_catalog.regprocedure;
+
+UPDATE pg_proc SET proparallel = 's'
+WHERE oid = (my_schema || '.max(' || my_schema || '.citext)')::pg_catalog.regprocedure;
+
+UPDATE pg_aggregate SET aggcombinefn = (my_schema || '.citext_smaller')::regproc
+WHERE aggfnoid = (my_schema || '.max(' || my_schema || '.citext)')::pg_catalog.regprocedure;
+
+UPDATE pg_aggregate SET aggcombinefn = (my_schema || '.citext_larger')::regproc
+WHERE aggfnoid = (my_schema || '.max(' || my_schema || '.citext)')::pg_catalog.regprocedure;
+
+PERFORM pg_catalog.set_config('search_path', old_path, true);
+END
+$$;
diff --git a/pgsql/share/extension/citext--1.2--1.3.sql b/pgsql/share/extension/citext--1.2--1.3.sql
new file mode 100644
index 0000000000000000000000000000000000000000..24a71452c624a5da480e2c655e902e3d586eb784
--- /dev/null
+++ b/pgsql/share/extension/citext--1.2--1.3.sql
@@ -0,0 +1,21 @@
+/* contrib/citext/citext--1.2--1.3.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION citext UPDATE TO '1.3'" to load this file. \quit
+
+-- We have to update aggregates the hard way for lack of ALTER support
+DO LANGUAGE plpgsql
+$$
+DECLARE
+ my_schema pg_catalog.text := pg_catalog.quote_ident(pg_catalog.current_schema());
+ old_path pg_catalog.text := pg_catalog.current_setting('search_path');
+BEGIN
+-- for safety, transiently set search_path to just pg_catalog+pg_temp
+PERFORM pg_catalog.set_config('search_path', 'pg_catalog, pg_temp', true);
+
+UPDATE pg_aggregate SET aggcombinefn = (my_schema || '.citext_smaller')::regproc
+WHERE aggfnoid = (my_schema || '.min(' || my_schema || '.citext)')::pg_catalog.regprocedure;
+
+PERFORM pg_catalog.set_config('search_path', old_path, true);
+END
+$$;
diff --git a/pgsql/share/extension/citext--1.3--1.4.sql b/pgsql/share/extension/citext--1.3--1.4.sql
new file mode 100644
index 0000000000000000000000000000000000000000..7b3665118615c00bf5589ba35daa0231685d140d
--- /dev/null
+++ b/pgsql/share/extension/citext--1.3--1.4.sql
@@ -0,0 +1,12 @@
+/* contrib/citext/citext--1.3--1.4.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION citext UPDATE TO '1.4'" to load this file. \quit
+
+CREATE FUNCTION regexp_match( citext, citext ) RETURNS TEXT[] AS $$
+ SELECT pg_catalog.regexp_match( $1::pg_catalog.text, $2::pg_catalog.text, 'i' );
+$$ LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION regexp_match( citext, citext, text ) RETURNS TEXT[] AS $$
+ SELECT pg_catalog.regexp_match( $1::pg_catalog.text, $2::pg_catalog.text, CASE WHEN pg_catalog.strpos($3, 'c') = 0 THEN $3 || 'i' ELSE $3 END );
+$$ LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE;
diff --git a/pgsql/share/extension/citext--1.4--1.5.sql b/pgsql/share/extension/citext--1.4--1.5.sql
new file mode 100644
index 0000000000000000000000000000000000000000..5ae522b7dadb9a70b484c8b6367557cc009ee77d
--- /dev/null
+++ b/pgsql/share/extension/citext--1.4--1.5.sql
@@ -0,0 +1,88 @@
+/* contrib/citext/citext--1.4--1.5.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION citext UPDATE TO '1.5'" to load this file. \quit
+
+ALTER OPERATOR <= (citext, citext) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel
+);
+
+ALTER OPERATOR >= (citext, citext) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel
+);
+
+CREATE FUNCTION citext_pattern_lt( citext, citext )
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION citext_pattern_le( citext, citext )
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION citext_pattern_gt( citext, citext )
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION citext_pattern_ge( citext, citext )
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE OPERATOR ~<~ (
+ LEFTARG = CITEXT,
+ RIGHTARG = CITEXT,
+ NEGATOR = ~>=~,
+ COMMUTATOR = ~>~,
+ PROCEDURE = citext_pattern_lt,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel
+);
+
+CREATE OPERATOR ~<=~ (
+ LEFTARG = CITEXT,
+ RIGHTARG = CITEXT,
+ NEGATOR = ~>~,
+ COMMUTATOR = ~>=~,
+ PROCEDURE = citext_pattern_le,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel
+);
+
+CREATE OPERATOR ~>=~ (
+ LEFTARG = CITEXT,
+ RIGHTARG = CITEXT,
+ NEGATOR = ~<~,
+ COMMUTATOR = ~<=~,
+ PROCEDURE = citext_pattern_ge,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel
+);
+
+CREATE OPERATOR ~>~ (
+ LEFTARG = CITEXT,
+ RIGHTARG = CITEXT,
+ NEGATOR = ~<=~,
+ COMMUTATOR = ~<~,
+ PROCEDURE = citext_pattern_gt,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel
+);
+
+CREATE FUNCTION citext_pattern_cmp(citext, citext)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR CLASS citext_pattern_ops
+FOR TYPE CITEXT USING btree AS
+ OPERATOR 1 ~<~ (citext, citext),
+ OPERATOR 2 ~<=~ (citext, citext),
+ OPERATOR 3 = (citext, citext),
+ OPERATOR 4 ~>=~ (citext, citext),
+ OPERATOR 5 ~>~ (citext, citext),
+ FUNCTION 1 citext_pattern_cmp(citext, citext);
diff --git a/pgsql/share/extension/citext--1.4.sql b/pgsql/share/extension/citext--1.4.sql
new file mode 100644
index 0000000000000000000000000000000000000000..7b0619893527ac9a5c7756a35456167de97a6566
--- /dev/null
+++ b/pgsql/share/extension/citext--1.4.sql
@@ -0,0 +1,501 @@
+/* contrib/citext/citext--1.4.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION citext" to load this file. \quit
+
+--
+-- PostgreSQL code for CITEXT.
+--
+-- Most I/O functions, and a few others, piggyback on the "text" type
+-- functions via the implicit cast to text.
+--
+
+--
+-- Shell type to keep things a bit quieter.
+--
+
+CREATE TYPE citext;
+
+--
+-- Input and output functions.
+--
+CREATE FUNCTION citextin(cstring)
+RETURNS citext
+AS 'textin'
+LANGUAGE internal IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION citextout(citext)
+RETURNS cstring
+AS 'textout'
+LANGUAGE internal IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION citextrecv(internal)
+RETURNS citext
+AS 'textrecv'
+LANGUAGE internal STABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION citextsend(citext)
+RETURNS bytea
+AS 'textsend'
+LANGUAGE internal STABLE STRICT PARALLEL SAFE;
+
+--
+-- The type itself.
+--
+
+CREATE TYPE citext (
+ INPUT = citextin,
+ OUTPUT = citextout,
+ RECEIVE = citextrecv,
+ SEND = citextsend,
+ INTERNALLENGTH = VARIABLE,
+ STORAGE = extended,
+ -- make it a non-preferred member of string type category
+ CATEGORY = 'S',
+ PREFERRED = false,
+ COLLATABLE = true
+);
+
+--
+-- Type casting functions for those situations where the I/O casts don't
+-- automatically kick in.
+--
+
+CREATE FUNCTION citext(bpchar)
+RETURNS citext
+AS 'rtrim1'
+LANGUAGE internal IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION citext(boolean)
+RETURNS citext
+AS 'booltext'
+LANGUAGE internal IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION citext(inet)
+RETURNS citext
+AS 'network_show'
+LANGUAGE internal IMMUTABLE STRICT PARALLEL SAFE;
+
+--
+-- Implicit and assignment type casts.
+--
+
+CREATE CAST (citext AS text) WITHOUT FUNCTION AS IMPLICIT;
+CREATE CAST (citext AS varchar) WITHOUT FUNCTION AS IMPLICIT;
+CREATE CAST (citext AS bpchar) WITHOUT FUNCTION AS ASSIGNMENT;
+CREATE CAST (text AS citext) WITHOUT FUNCTION AS ASSIGNMENT;
+CREATE CAST (varchar AS citext) WITHOUT FUNCTION AS ASSIGNMENT;
+CREATE CAST (bpchar AS citext) WITH FUNCTION citext(bpchar) AS ASSIGNMENT;
+CREATE CAST (boolean AS citext) WITH FUNCTION citext(boolean) AS ASSIGNMENT;
+CREATE CAST (inet AS citext) WITH FUNCTION citext(inet) AS ASSIGNMENT;
+
+--
+-- Operator Functions.
+--
+
+CREATE FUNCTION citext_eq( citext, citext )
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION citext_ne( citext, citext )
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION citext_lt( citext, citext )
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION citext_le( citext, citext )
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION citext_gt( citext, citext )
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION citext_ge( citext, citext )
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+--
+-- Operators.
+--
+
+CREATE OPERATOR = (
+ LEFTARG = CITEXT,
+ RIGHTARG = CITEXT,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ PROCEDURE = citext_eq,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ HASHES,
+ MERGES
+);
+
+CREATE OPERATOR <> (
+ LEFTARG = CITEXT,
+ RIGHTARG = CITEXT,
+ NEGATOR = =,
+ COMMUTATOR = <>,
+ PROCEDURE = citext_ne,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel
+);
+
+CREATE OPERATOR < (
+ LEFTARG = CITEXT,
+ RIGHTARG = CITEXT,
+ NEGATOR = >=,
+ COMMUTATOR = >,
+ PROCEDURE = citext_lt,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel
+);
+
+CREATE OPERATOR <= (
+ LEFTARG = CITEXT,
+ RIGHTARG = CITEXT,
+ NEGATOR = >,
+ COMMUTATOR = >=,
+ PROCEDURE = citext_le,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel
+);
+
+CREATE OPERATOR >= (
+ LEFTARG = CITEXT,
+ RIGHTARG = CITEXT,
+ NEGATOR = <,
+ COMMUTATOR = <=,
+ PROCEDURE = citext_ge,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel
+);
+
+CREATE OPERATOR > (
+ LEFTARG = CITEXT,
+ RIGHTARG = CITEXT,
+ NEGATOR = <=,
+ COMMUTATOR = <,
+ PROCEDURE = citext_gt,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel
+);
+
+--
+-- Support functions for indexing.
+--
+
+CREATE FUNCTION citext_cmp(citext, citext)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION citext_hash(citext)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+--
+-- The btree indexing operator class.
+--
+
+CREATE OPERATOR CLASS citext_ops
+DEFAULT FOR TYPE CITEXT USING btree AS
+ OPERATOR 1 < (citext, citext),
+ OPERATOR 2 <= (citext, citext),
+ OPERATOR 3 = (citext, citext),
+ OPERATOR 4 >= (citext, citext),
+ OPERATOR 5 > (citext, citext),
+ FUNCTION 1 citext_cmp(citext, citext);
+
+--
+-- The hash indexing operator class.
+--
+
+CREATE OPERATOR CLASS citext_ops
+DEFAULT FOR TYPE citext USING hash AS
+ OPERATOR 1 = (citext, citext),
+ FUNCTION 1 citext_hash(citext);
+
+--
+-- Aggregates.
+--
+
+CREATE FUNCTION citext_smaller(citext, citext)
+RETURNS citext
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION citext_larger(citext, citext)
+RETURNS citext
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE AGGREGATE min(citext) (
+ SFUNC = citext_smaller,
+ STYPE = citext,
+ SORTOP = <,
+ PARALLEL = SAFE,
+ COMBINEFUNC = citext_smaller
+);
+
+CREATE AGGREGATE max(citext) (
+ SFUNC = citext_larger,
+ STYPE = citext,
+ SORTOP = >,
+ PARALLEL = SAFE,
+ COMBINEFUNC = citext_larger
+);
+
+--
+-- CITEXT pattern matching.
+--
+
+CREATE FUNCTION texticlike(citext, citext)
+RETURNS bool AS 'texticlike'
+LANGUAGE internal IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION texticnlike(citext, citext)
+RETURNS bool AS 'texticnlike'
+LANGUAGE internal IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION texticregexeq(citext, citext)
+RETURNS bool AS 'texticregexeq'
+LANGUAGE internal IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION texticregexne(citext, citext)
+RETURNS bool AS 'texticregexne'
+LANGUAGE internal IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE OPERATOR ~ (
+ PROCEDURE = texticregexeq,
+ LEFTARG = citext,
+ RIGHTARG = citext,
+ NEGATOR = !~,
+ RESTRICT = icregexeqsel,
+ JOIN = icregexeqjoinsel
+);
+
+CREATE OPERATOR ~* (
+ PROCEDURE = texticregexeq,
+ LEFTARG = citext,
+ RIGHTARG = citext,
+ NEGATOR = !~*,
+ RESTRICT = icregexeqsel,
+ JOIN = icregexeqjoinsel
+);
+
+CREATE OPERATOR !~ (
+ PROCEDURE = texticregexne,
+ LEFTARG = citext,
+ RIGHTARG = citext,
+ NEGATOR = ~,
+ RESTRICT = icregexnesel,
+ JOIN = icregexnejoinsel
+);
+
+CREATE OPERATOR !~* (
+ PROCEDURE = texticregexne,
+ LEFTARG = citext,
+ RIGHTARG = citext,
+ NEGATOR = ~*,
+ RESTRICT = icregexnesel,
+ JOIN = icregexnejoinsel
+);
+
+CREATE OPERATOR ~~ (
+ PROCEDURE = texticlike,
+ LEFTARG = citext,
+ RIGHTARG = citext,
+ NEGATOR = !~~,
+ RESTRICT = iclikesel,
+ JOIN = iclikejoinsel
+);
+
+CREATE OPERATOR ~~* (
+ PROCEDURE = texticlike,
+ LEFTARG = citext,
+ RIGHTARG = citext,
+ NEGATOR = !~~*,
+ RESTRICT = iclikesel,
+ JOIN = iclikejoinsel
+);
+
+CREATE OPERATOR !~~ (
+ PROCEDURE = texticnlike,
+ LEFTARG = citext,
+ RIGHTARG = citext,
+ NEGATOR = ~~,
+ RESTRICT = icnlikesel,
+ JOIN = icnlikejoinsel
+);
+
+CREATE OPERATOR !~~* (
+ PROCEDURE = texticnlike,
+ LEFTARG = citext,
+ RIGHTARG = citext,
+ NEGATOR = ~~*,
+ RESTRICT = icnlikesel,
+ JOIN = icnlikejoinsel
+);
+
+--
+-- Matching citext to text.
+--
+
+CREATE FUNCTION texticlike(citext, text)
+RETURNS bool AS 'texticlike'
+LANGUAGE internal IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION texticnlike(citext, text)
+RETURNS bool AS 'texticnlike'
+LANGUAGE internal IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION texticregexeq(citext, text)
+RETURNS bool AS 'texticregexeq'
+LANGUAGE internal IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION texticregexne(citext, text)
+RETURNS bool AS 'texticregexne'
+LANGUAGE internal IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE OPERATOR ~ (
+ PROCEDURE = texticregexeq,
+ LEFTARG = citext,
+ RIGHTARG = text,
+ NEGATOR = !~,
+ RESTRICT = icregexeqsel,
+ JOIN = icregexeqjoinsel
+);
+
+CREATE OPERATOR ~* (
+ PROCEDURE = texticregexeq,
+ LEFTARG = citext,
+ RIGHTARG = text,
+ NEGATOR = !~*,
+ RESTRICT = icregexeqsel,
+ JOIN = icregexeqjoinsel
+);
+
+CREATE OPERATOR !~ (
+ PROCEDURE = texticregexne,
+ LEFTARG = citext,
+ RIGHTARG = text,
+ NEGATOR = ~,
+ RESTRICT = icregexnesel,
+ JOIN = icregexnejoinsel
+);
+
+CREATE OPERATOR !~* (
+ PROCEDURE = texticregexne,
+ LEFTARG = citext,
+ RIGHTARG = text,
+ NEGATOR = ~*,
+ RESTRICT = icregexnesel,
+ JOIN = icregexnejoinsel
+);
+
+CREATE OPERATOR ~~ (
+ PROCEDURE = texticlike,
+ LEFTARG = citext,
+ RIGHTARG = text,
+ NEGATOR = !~~,
+ RESTRICT = iclikesel,
+ JOIN = iclikejoinsel
+);
+
+CREATE OPERATOR ~~* (
+ PROCEDURE = texticlike,
+ LEFTARG = citext,
+ RIGHTARG = text,
+ NEGATOR = !~~*,
+ RESTRICT = iclikesel,
+ JOIN = iclikejoinsel
+);
+
+CREATE OPERATOR !~~ (
+ PROCEDURE = texticnlike,
+ LEFTARG = citext,
+ RIGHTARG = text,
+ NEGATOR = ~~,
+ RESTRICT = icnlikesel,
+ JOIN = icnlikejoinsel
+);
+
+CREATE OPERATOR !~~* (
+ PROCEDURE = texticnlike,
+ LEFTARG = citext,
+ RIGHTARG = text,
+ NEGATOR = ~~*,
+ RESTRICT = icnlikesel,
+ JOIN = icnlikejoinsel
+);
+
+--
+-- Matching citext in string comparison functions.
+-- XXX TODO Ideally these would be implemented in C.
+--
+
+CREATE FUNCTION regexp_match( citext, citext ) RETURNS TEXT[] AS $$
+ SELECT pg_catalog.regexp_match( $1::pg_catalog.text, $2::pg_catalog.text, 'i' );
+$$ LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION regexp_match( citext, citext, text ) RETURNS TEXT[] AS $$
+ SELECT pg_catalog.regexp_match( $1::pg_catalog.text, $2::pg_catalog.text, CASE WHEN pg_catalog.strpos($3, 'c') = 0 THEN $3 || 'i' ELSE $3 END );
+$$ LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION regexp_matches( citext, citext ) RETURNS SETOF TEXT[] AS $$
+ SELECT pg_catalog.regexp_matches( $1::pg_catalog.text, $2::pg_catalog.text, 'i' );
+$$ LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE ROWS 1;
+
+CREATE FUNCTION regexp_matches( citext, citext, text ) RETURNS SETOF TEXT[] AS $$
+ SELECT pg_catalog.regexp_matches( $1::pg_catalog.text, $2::pg_catalog.text, CASE WHEN pg_catalog.strpos($3, 'c') = 0 THEN $3 || 'i' ELSE $3 END );
+$$ LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE ROWS 10;
+
+CREATE FUNCTION regexp_replace( citext, citext, text ) returns TEXT AS $$
+ SELECT pg_catalog.regexp_replace( $1::pg_catalog.text, $2::pg_catalog.text, $3, 'i');
+$$ LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION regexp_replace( citext, citext, text, text ) returns TEXT AS $$
+ SELECT pg_catalog.regexp_replace( $1::pg_catalog.text, $2::pg_catalog.text, $3, CASE WHEN pg_catalog.strpos($4, 'c') = 0 THEN $4 || 'i' ELSE $4 END);
+$$ LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION regexp_split_to_array( citext, citext ) RETURNS TEXT[] AS $$
+ SELECT pg_catalog.regexp_split_to_array( $1::pg_catalog.text, $2::pg_catalog.text, 'i' );
+$$ LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION regexp_split_to_array( citext, citext, text ) RETURNS TEXT[] AS $$
+ SELECT pg_catalog.regexp_split_to_array( $1::pg_catalog.text, $2::pg_catalog.text, CASE WHEN pg_catalog.strpos($3, 'c') = 0 THEN $3 || 'i' ELSE $3 END );
+$$ LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION regexp_split_to_table( citext, citext ) RETURNS SETOF TEXT AS $$
+ SELECT pg_catalog.regexp_split_to_table( $1::pg_catalog.text, $2::pg_catalog.text, 'i' );
+$$ LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION regexp_split_to_table( citext, citext, text ) RETURNS SETOF TEXT AS $$
+ SELECT pg_catalog.regexp_split_to_table( $1::pg_catalog.text, $2::pg_catalog.text, CASE WHEN pg_catalog.strpos($3, 'c') = 0 THEN $3 || 'i' ELSE $3 END );
+$$ LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION strpos( citext, citext ) RETURNS INT AS $$
+ SELECT pg_catalog.strpos( pg_catalog.lower( $1::pg_catalog.text ), pg_catalog.lower( $2::pg_catalog.text ) );
+$$ LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION replace( citext, citext, citext ) RETURNS TEXT AS $$
+ SELECT pg_catalog.regexp_replace( $1::pg_catalog.text, pg_catalog.regexp_replace($2::pg_catalog.text, '([^a-zA-Z_0-9])', E'\\\\\\1', 'g'), $3::pg_catalog.text, 'gi' );
+$$ LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION split_part( citext, citext, int ) RETURNS TEXT AS $$
+ SELECT (pg_catalog.regexp_split_to_array( $1::pg_catalog.text, pg_catalog.regexp_replace($2::pg_catalog.text, '([^a-zA-Z_0-9])', E'\\\\\\1', 'g'), 'i'))[$3];
+$$ LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION translate( citext, citext, text ) RETURNS TEXT AS $$
+ SELECT pg_catalog.translate( pg_catalog.translate( $1::pg_catalog.text, pg_catalog.lower($2::pg_catalog.text), $3), pg_catalog.upper($2::pg_catalog.text), $3);
+$$ LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE;
diff --git a/pgsql/share/extension/citext--1.5--1.6.sql b/pgsql/share/extension/citext--1.5--1.6.sql
new file mode 100644
index 0000000000000000000000000000000000000000..32268983aefb4ca28d2fbeb562c96b9338a5eb45
--- /dev/null
+++ b/pgsql/share/extension/citext--1.5--1.6.sql
@@ -0,0 +1,12 @@
+/* contrib/citext/citext--1.5--1.6.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION citext UPDATE TO '1.6'" to load this file. \quit
+
+CREATE FUNCTION citext_hash_extended(citext, int8)
+RETURNS int8
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+ALTER OPERATOR FAMILY citext_ops USING hash ADD
+ FUNCTION 2 citext_hash_extended(citext, int8);
diff --git a/pgsql/share/extension/citext.control b/pgsql/share/extension/citext.control
new file mode 100644
index 0000000000000000000000000000000000000000..ccf445475d020b3a948311d5f66e5105f6c4c4a8
--- /dev/null
+++ b/pgsql/share/extension/citext.control
@@ -0,0 +1,6 @@
+# citext extension
+comment = 'data type for case-insensitive character strings'
+default_version = '1.6'
+module_pathname = '$libdir/citext'
+relocatable = true
+trusted = true
diff --git a/pgsql/share/extension/cube--1.0--1.1.sql b/pgsql/share/extension/cube--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..fbe61e7f3da5b84d47ed818009b4c53e77573707
--- /dev/null
+++ b/pgsql/share/extension/cube--1.0--1.1.sql
@@ -0,0 +1,59 @@
+/* contrib/cube/cube--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION cube UPDATE TO '1.1'" to load this file. \quit
+
+CREATE FUNCTION distance_chebyshev(cube, cube)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION distance_taxicab(cube, cube)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION cube_coord(cube, int4)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION cube_coord_llur(cube, int4)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE OPERATOR -> (
+ LEFTARG = cube, RIGHTARG = int, PROCEDURE = cube_coord
+);
+
+CREATE OPERATOR ~> (
+ LEFTARG = cube, RIGHTARG = int, PROCEDURE = cube_coord_llur
+);
+
+CREATE OPERATOR <#> (
+ LEFTARG = cube, RIGHTARG = cube, PROCEDURE = distance_taxicab,
+ COMMUTATOR = '<#>'
+);
+
+CREATE OPERATOR <-> (
+ LEFTARG = cube, RIGHTARG = cube, PROCEDURE = cube_distance,
+ COMMUTATOR = '<->'
+);
+
+CREATE OPERATOR <=> (
+ LEFTARG = cube, RIGHTARG = cube, PROCEDURE = distance_chebyshev,
+ COMMUTATOR = '<=>'
+);
+
+CREATE FUNCTION g_cube_distance (internal, cube, smallint, oid)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+ALTER OPERATOR FAMILY gist_cube_ops USING gist ADD
+ OPERATOR 15 ~> (cube, int) FOR ORDER BY float_ops,
+ OPERATOR 16 <#> (cube, cube) FOR ORDER BY float_ops,
+ OPERATOR 17 <-> (cube, cube) FOR ORDER BY float_ops,
+ OPERATOR 18 <=> (cube, cube) FOR ORDER BY float_ops,
+ FUNCTION 8 (cube, cube) g_cube_distance (internal, cube, smallint, oid);
diff --git a/pgsql/share/extension/cube--1.1--1.2.sql b/pgsql/share/extension/cube--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..76aba239e5bced7d81a8a2f5d6766019b03d1b93
--- /dev/null
+++ b/pgsql/share/extension/cube--1.1--1.2.sql
@@ -0,0 +1,75 @@
+/* contrib/cube/cube--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION cube UPDATE TO '1.2'" to load this file. \quit
+
+-- Update procedure signatures the hard way.
+-- We use to_regprocedure() so that query doesn't fail if run against 9.6beta1 definitions,
+-- wherein the signatures have been updated already. In that case to_regprocedure() will
+-- return NULL and no updates will happen.
+DO LANGUAGE plpgsql
+$$
+DECLARE
+ my_schema pg_catalog.text := pg_catalog.quote_ident(pg_catalog.current_schema());
+ old_path pg_catalog.text := pg_catalog.current_setting('search_path');
+BEGIN
+-- for safety, transiently set search_path to just pg_catalog+pg_temp
+PERFORM pg_catalog.set_config('search_path', 'pg_catalog, pg_temp', true);
+
+UPDATE pg_catalog.pg_proc SET
+ proargtypes = pg_catalog.array_to_string(newtypes::pg_catalog.oid[], ' ')::pg_catalog.oidvector,
+ pronargs = pg_catalog.array_length(newtypes, 1)
+FROM (VALUES
+(NULL::pg_catalog.text, NULL::pg_catalog.text[]), -- establish column types
+('g_cube_consistent(internal,SCH.cube,int4,oid,internal)', '{internal,SCH.cube,int2,oid,internal}'),
+('g_cube_distance(internal,SCH.cube,smallint,oid)', '{internal,SCH.cube,smallint,oid,internal}')
+) AS update_data (oldproc, newtypestext),
+LATERAL (
+ SELECT array_agg(replace(typ, 'SCH', my_schema)::regtype) as newtypes FROM unnest(newtypestext) typ
+) ls
+WHERE oid = to_regprocedure(my_schema || '.' || replace(oldproc, 'SCH', my_schema));
+
+PERFORM pg_catalog.set_config('search_path', old_path, true);
+END
+$$;
+
+ALTER FUNCTION cube_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION cube(float8[], float8[]) PARALLEL SAFE;
+ALTER FUNCTION cube(float8[]) PARALLEL SAFE;
+ALTER FUNCTION cube_out(cube) PARALLEL SAFE;
+ALTER FUNCTION cube_eq(cube, cube) PARALLEL SAFE;
+ALTER FUNCTION cube_ne(cube, cube) PARALLEL SAFE;
+ALTER FUNCTION cube_lt(cube, cube) PARALLEL SAFE;
+ALTER FUNCTION cube_gt(cube, cube) PARALLEL SAFE;
+ALTER FUNCTION cube_le(cube, cube) PARALLEL SAFE;
+ALTER FUNCTION cube_ge(cube, cube) PARALLEL SAFE;
+ALTER FUNCTION cube_cmp(cube, cube) PARALLEL SAFE;
+ALTER FUNCTION cube_contains(cube, cube) PARALLEL SAFE;
+ALTER FUNCTION cube_contained(cube, cube) PARALLEL SAFE;
+ALTER FUNCTION cube_overlap(cube, cube) PARALLEL SAFE;
+ALTER FUNCTION cube_union(cube, cube) PARALLEL SAFE;
+ALTER FUNCTION cube_inter(cube, cube) PARALLEL SAFE;
+ALTER FUNCTION cube_size(cube) PARALLEL SAFE;
+ALTER FUNCTION cube_subset(cube, int4[]) PARALLEL SAFE;
+ALTER FUNCTION cube_distance(cube, cube) PARALLEL SAFE;
+ALTER FUNCTION distance_chebyshev(cube, cube) PARALLEL SAFE;
+ALTER FUNCTION distance_taxicab(cube, cube) PARALLEL SAFE;
+ALTER FUNCTION cube_dim(cube) PARALLEL SAFE;
+ALTER FUNCTION cube_ll_coord(cube, int4) PARALLEL SAFE;
+ALTER FUNCTION cube_ur_coord(cube, int4) PARALLEL SAFE;
+ALTER FUNCTION cube_coord(cube, int4) PARALLEL SAFE;
+ALTER FUNCTION cube_coord_llur(cube, int4) PARALLEL SAFE;
+ALTER FUNCTION cube(float8) PARALLEL SAFE;
+ALTER FUNCTION cube(float8, float8) PARALLEL SAFE;
+ALTER FUNCTION cube(cube, float8) PARALLEL SAFE;
+ALTER FUNCTION cube(cube, float8, float8) PARALLEL SAFE;
+ALTER FUNCTION cube_is_point(cube) PARALLEL SAFE;
+ALTER FUNCTION cube_enlarge(cube, float8, int4) PARALLEL SAFE;
+ALTER FUNCTION g_cube_consistent(internal, cube, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION g_cube_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION g_cube_decompress(internal) PARALLEL SAFE;
+ALTER FUNCTION g_cube_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION g_cube_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION g_cube_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION g_cube_same(cube, cube, internal) PARALLEL SAFE;
+ALTER FUNCTION g_cube_distance(internal, cube, smallint, oid, internal) PARALLEL SAFE;
diff --git a/pgsql/share/extension/cube--1.2--1.3.sql b/pgsql/share/extension/cube--1.2--1.3.sql
new file mode 100644
index 0000000000000000000000000000000000000000..a688f19f025ac8d946e3aefe37900ab46052efb7
--- /dev/null
+++ b/pgsql/share/extension/cube--1.2--1.3.sql
@@ -0,0 +1,12 @@
+/* contrib/cube/cube--1.2--1.3.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION cube UPDATE TO '1.3'" to load this file. \quit
+
+ALTER OPERATOR <= (cube, cube) SET (
+ RESTRICT = scalarlesel, JOIN = scalarlejoinsel
+);
+
+ALTER OPERATOR >= (cube, cube) SET (
+ RESTRICT = scalargesel, JOIN = scalargejoinsel
+);
diff --git a/pgsql/share/extension/cube--1.2.sql b/pgsql/share/extension/cube--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..dea2614888d368e8e40b47ac308e539b29a2a042
--- /dev/null
+++ b/pgsql/share/extension/cube--1.2.sql
@@ -0,0 +1,378 @@
+/* contrib/cube/cube--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION cube" to load this file. \quit
+
+-- Create the user-defined type for N-dimensional boxes
+
+CREATE FUNCTION cube_in(cstring)
+RETURNS cube
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION cube(float8[], float8[]) RETURNS cube
+AS 'MODULE_PATHNAME', 'cube_a_f8_f8'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION cube(float8[]) RETURNS cube
+AS 'MODULE_PATHNAME', 'cube_a_f8'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION cube_out(cube)
+RETURNS cstring
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE TYPE cube (
+ INTERNALLENGTH = variable,
+ INPUT = cube_in,
+ OUTPUT = cube_out,
+ ALIGNMENT = double
+);
+
+COMMENT ON TYPE cube IS 'multi-dimensional cube ''(FLOAT-1, FLOAT-2, ..., FLOAT-N), (FLOAT-1, FLOAT-2, ..., FLOAT-N)''';
+
+--
+-- External C-functions for R-tree methods
+--
+
+-- Comparison methods
+
+CREATE FUNCTION cube_eq(cube, cube)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+COMMENT ON FUNCTION cube_eq(cube, cube) IS 'same as';
+
+CREATE FUNCTION cube_ne(cube, cube)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+COMMENT ON FUNCTION cube_ne(cube, cube) IS 'different';
+
+CREATE FUNCTION cube_lt(cube, cube)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+COMMENT ON FUNCTION cube_lt(cube, cube) IS 'lower than';
+
+CREATE FUNCTION cube_gt(cube, cube)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+COMMENT ON FUNCTION cube_gt(cube, cube) IS 'greater than';
+
+CREATE FUNCTION cube_le(cube, cube)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+COMMENT ON FUNCTION cube_le(cube, cube) IS 'lower than or equal to';
+
+CREATE FUNCTION cube_ge(cube, cube)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+COMMENT ON FUNCTION cube_ge(cube, cube) IS 'greater than or equal to';
+
+CREATE FUNCTION cube_cmp(cube, cube)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+COMMENT ON FUNCTION cube_cmp(cube, cube) IS 'btree comparison function';
+
+CREATE FUNCTION cube_contains(cube, cube)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+COMMENT ON FUNCTION cube_contains(cube, cube) IS 'contains';
+
+CREATE FUNCTION cube_contained(cube, cube)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+COMMENT ON FUNCTION cube_contained(cube, cube) IS 'contained in';
+
+CREATE FUNCTION cube_overlap(cube, cube)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+COMMENT ON FUNCTION cube_overlap(cube, cube) IS 'overlaps';
+
+-- support routines for indexing
+
+CREATE FUNCTION cube_union(cube, cube)
+RETURNS cube
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION cube_inter(cube, cube)
+RETURNS cube
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION cube_size(cube)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+
+-- Misc N-dimensional functions
+
+CREATE FUNCTION cube_subset(cube, int4[])
+RETURNS cube
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+-- proximity routines
+
+CREATE FUNCTION cube_distance(cube, cube)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION distance_chebyshev(cube, cube)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION distance_taxicab(cube, cube)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+-- Extracting elements functions
+
+CREATE FUNCTION cube_dim(cube)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION cube_ll_coord(cube, int4)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION cube_ur_coord(cube, int4)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION cube_coord(cube, int4)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION cube_coord_llur(cube, int4)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION cube(float8) RETURNS cube
+AS 'MODULE_PATHNAME', 'cube_f8'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION cube(float8, float8) RETURNS cube
+AS 'MODULE_PATHNAME', 'cube_f8_f8'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION cube(cube, float8) RETURNS cube
+AS 'MODULE_PATHNAME', 'cube_c_f8'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION cube(cube, float8, float8) RETURNS cube
+AS 'MODULE_PATHNAME', 'cube_c_f8_f8'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+-- Test if cube is also a point
+
+CREATE FUNCTION cube_is_point(cube)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+-- Increasing the size of a cube by a radius in at least n dimensions
+
+CREATE FUNCTION cube_enlarge(cube, float8, int4)
+RETURNS cube
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+--
+-- OPERATORS
+--
+
+CREATE OPERATOR < (
+ LEFTARG = cube, RIGHTARG = cube, PROCEDURE = cube_lt,
+ COMMUTATOR = '>', NEGATOR = '>=',
+ RESTRICT = scalarltsel, JOIN = scalarltjoinsel
+);
+
+CREATE OPERATOR > (
+ LEFTARG = cube, RIGHTARG = cube, PROCEDURE = cube_gt,
+ COMMUTATOR = '<', NEGATOR = '<=',
+ RESTRICT = scalargtsel, JOIN = scalargtjoinsel
+);
+
+CREATE OPERATOR <= (
+ LEFTARG = cube, RIGHTARG = cube, PROCEDURE = cube_le,
+ COMMUTATOR = '>=', NEGATOR = '>',
+ RESTRICT = scalarltsel, JOIN = scalarltjoinsel
+);
+
+CREATE OPERATOR >= (
+ LEFTARG = cube, RIGHTARG = cube, PROCEDURE = cube_ge,
+ COMMUTATOR = '<=', NEGATOR = '<',
+ RESTRICT = scalargtsel, JOIN = scalargtjoinsel
+);
+
+CREATE OPERATOR && (
+ LEFTARG = cube, RIGHTARG = cube, PROCEDURE = cube_overlap,
+ COMMUTATOR = '&&',
+ RESTRICT = areasel, JOIN = areajoinsel
+);
+
+CREATE OPERATOR = (
+ LEFTARG = cube, RIGHTARG = cube, PROCEDURE = cube_eq,
+ COMMUTATOR = '=', NEGATOR = '<>',
+ RESTRICT = eqsel, JOIN = eqjoinsel,
+ MERGES
+);
+
+CREATE OPERATOR <> (
+ LEFTARG = cube, RIGHTARG = cube, PROCEDURE = cube_ne,
+ COMMUTATOR = '<>', NEGATOR = '=',
+ RESTRICT = neqsel, JOIN = neqjoinsel
+);
+
+CREATE OPERATOR @> (
+ LEFTARG = cube, RIGHTARG = cube, PROCEDURE = cube_contains,
+ COMMUTATOR = '<@',
+ RESTRICT = contsel, JOIN = contjoinsel
+);
+
+CREATE OPERATOR <@ (
+ LEFTARG = cube, RIGHTARG = cube, PROCEDURE = cube_contained,
+ COMMUTATOR = '@>',
+ RESTRICT = contsel, JOIN = contjoinsel
+);
+
+CREATE OPERATOR -> (
+ LEFTARG = cube, RIGHTARG = int, PROCEDURE = cube_coord
+);
+
+CREATE OPERATOR ~> (
+ LEFTARG = cube, RIGHTARG = int, PROCEDURE = cube_coord_llur
+);
+
+CREATE OPERATOR <#> (
+ LEFTARG = cube, RIGHTARG = cube, PROCEDURE = distance_taxicab,
+ COMMUTATOR = '<#>'
+);
+
+CREATE OPERATOR <-> (
+ LEFTARG = cube, RIGHTARG = cube, PROCEDURE = cube_distance,
+ COMMUTATOR = '<->'
+);
+
+CREATE OPERATOR <=> (
+ LEFTARG = cube, RIGHTARG = cube, PROCEDURE = distance_chebyshev,
+ COMMUTATOR = '<=>'
+);
+
+-- these are obsolete/deprecated:
+CREATE OPERATOR @ (
+ LEFTARG = cube, RIGHTARG = cube, PROCEDURE = cube_contains,
+ COMMUTATOR = '~',
+ RESTRICT = contsel, JOIN = contjoinsel
+);
+
+CREATE OPERATOR ~ (
+ LEFTARG = cube, RIGHTARG = cube, PROCEDURE = cube_contained,
+ COMMUTATOR = '@',
+ RESTRICT = contsel, JOIN = contjoinsel
+);
+
+
+-- define the GiST support methods
+CREATE FUNCTION g_cube_consistent(internal,cube,smallint,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION g_cube_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION g_cube_decompress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION g_cube_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION g_cube_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION g_cube_union(internal, internal)
+RETURNS cube
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION g_cube_same(cube, cube, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION g_cube_distance (internal, cube, smallint, oid, internal)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+-- Create the operator classes for indexing
+
+CREATE OPERATOR CLASS cube_ops
+ DEFAULT FOR TYPE cube USING btree AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 cube_cmp(cube, cube);
+
+CREATE OPERATOR CLASS gist_cube_ops
+ DEFAULT FOR TYPE cube USING gist AS
+ OPERATOR 3 && ,
+ OPERATOR 6 = ,
+ OPERATOR 7 @> ,
+ OPERATOR 8 <@ ,
+ OPERATOR 13 @ ,
+ OPERATOR 14 ~ ,
+ OPERATOR 15 ~> (cube, int) FOR ORDER BY float_ops,
+ OPERATOR 16 <#> (cube, cube) FOR ORDER BY float_ops,
+ OPERATOR 17 <-> (cube, cube) FOR ORDER BY float_ops,
+ OPERATOR 18 <=> (cube, cube) FOR ORDER BY float_ops,
+
+ FUNCTION 1 g_cube_consistent (internal, cube, smallint, oid, internal),
+ FUNCTION 2 g_cube_union (internal, internal),
+ FUNCTION 3 g_cube_compress (internal),
+ FUNCTION 4 g_cube_decompress (internal),
+ FUNCTION 5 g_cube_penalty (internal, internal, internal),
+ FUNCTION 6 g_cube_picksplit (internal, internal),
+ FUNCTION 7 g_cube_same (cube, cube, internal),
+ FUNCTION 8 g_cube_distance (internal, cube, smallint, oid, internal);
diff --git a/pgsql/share/extension/cube--1.3--1.4.sql b/pgsql/share/extension/cube--1.3--1.4.sql
new file mode 100644
index 0000000000000000000000000000000000000000..41629395df27908084447a1c34c68f5065e3944d
--- /dev/null
+++ b/pgsql/share/extension/cube--1.3--1.4.sql
@@ -0,0 +1,58 @@
+/* contrib/cube/cube--1.3--1.4.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION cube UPDATE TO '1.4'" to load this file. \quit
+
+--
+-- Get rid of unnecessary compress and decompress support functions.
+--
+-- To be allowed to drop the opclass entry for a support function,
+-- we must change the entry's dependency type from 'internal' to 'auto',
+-- as though it were a loose member of the opfamily rather than being
+-- bound into a particular opclass. There's no SQL command for that,
+-- so fake it with a manual update on pg_depend.
+--
+DO LANGUAGE plpgsql
+$$
+DECLARE
+ my_schema pg_catalog.text := pg_catalog.quote_ident(pg_catalog.current_schema());
+ old_path pg_catalog.text := pg_catalog.current_setting('search_path');
+BEGIN
+-- for safety, transiently set search_path to just pg_catalog+pg_temp
+PERFORM pg_catalog.set_config('search_path', 'pg_catalog, pg_temp', true);
+
+UPDATE pg_catalog.pg_depend
+SET deptype = 'a'
+WHERE classid = 'pg_catalog.pg_amproc'::pg_catalog.regclass
+ AND objid =
+ (SELECT objid
+ FROM pg_catalog.pg_depend
+ WHERE classid = 'pg_catalog.pg_amproc'::pg_catalog.regclass
+ AND refclassid = 'pg_catalog.pg_proc'::pg_catalog.regclass
+ AND (refobjid = (my_schema || '.g_cube_compress(pg_catalog.internal)')::pg_catalog.regprocedure))
+ AND refclassid = 'pg_catalog.pg_opclass'::pg_catalog.regclass
+ AND deptype = 'i';
+
+UPDATE pg_catalog.pg_depend
+SET deptype = 'a'
+WHERE classid = 'pg_catalog.pg_amproc'::pg_catalog.regclass
+ AND objid =
+ (SELECT objid
+ FROM pg_catalog.pg_depend
+ WHERE classid = 'pg_catalog.pg_amproc'::pg_catalog.regclass
+ AND refclassid = 'pg_catalog.pg_proc'::pg_catalog.regclass
+ AND (refobjid = (my_schema || '.g_cube_decompress(pg_catalog.internal)')::pg_catalog.regprocedure))
+ AND refclassid = 'pg_catalog.pg_opclass'::pg_catalog.regclass
+ AND deptype = 'i';
+
+PERFORM pg_catalog.set_config('search_path', old_path, true);
+END
+$$;
+
+ALTER OPERATOR FAMILY gist_cube_ops USING gist drop function 3 (cube);
+ALTER EXTENSION cube DROP function g_cube_compress(pg_catalog.internal);
+DROP FUNCTION g_cube_compress(pg_catalog.internal);
+
+ALTER OPERATOR FAMILY gist_cube_ops USING gist drop function 4 (cube);
+ALTER EXTENSION cube DROP function g_cube_decompress(pg_catalog.internal);
+DROP FUNCTION g_cube_decompress(pg_catalog.internal);
diff --git a/pgsql/share/extension/cube--1.4--1.5.sql b/pgsql/share/extension/cube--1.4--1.5.sql
new file mode 100644
index 0000000000000000000000000000000000000000..4b5bf8d205e990a5e23af9fb6321c6a235996b81
--- /dev/null
+++ b/pgsql/share/extension/cube--1.4--1.5.sql
@@ -0,0 +1,21 @@
+/* contrib/cube/cube--1.4--1.5.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION cube UPDATE TO '1.5'" to load this file. \quit
+
+-- Remove @ and ~
+DROP OPERATOR @ (cube, cube);
+DROP OPERATOR ~ (cube, cube);
+
+-- Add binary input/output handlers
+CREATE FUNCTION cube_recv(internal)
+RETURNS cube
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION cube_send(cube)
+RETURNS bytea
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+ALTER TYPE cube SET ( RECEIVE = cube_recv, SEND = cube_send );
diff --git a/pgsql/share/extension/cube.control b/pgsql/share/extension/cube.control
new file mode 100644
index 0000000000000000000000000000000000000000..50427ec1170fd45bc20ff76205aff5b8aab99ebc
--- /dev/null
+++ b/pgsql/share/extension/cube.control
@@ -0,0 +1,6 @@
+# cube extension
+comment = 'data type for multidimensional cubes'
+default_version = '1.5'
+module_pathname = '$libdir/cube'
+relocatable = true
+trusted = true
diff --git a/pgsql/share/extension/dblink--1.0--1.1.sql b/pgsql/share/extension/dblink--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..67293f0ef8ea002a12b8a541278b165ad73c0079
--- /dev/null
+++ b/pgsql/share/extension/dblink--1.0--1.1.sql
@@ -0,0 +1,14 @@
+/* contrib/dblink/dblink--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION dblink UPDATE TO '1.1'" to load this file. \quit
+
+CREATE FUNCTION dblink_fdw_validator(
+ options text[],
+ catalog oid
+)
+RETURNS void
+AS 'MODULE_PATHNAME', 'dblink_fdw_validator'
+LANGUAGE C STRICT;
+
+CREATE FOREIGN DATA WRAPPER dblink_fdw VALIDATOR dblink_fdw_validator;
diff --git a/pgsql/share/extension/dblink--1.1--1.2.sql b/pgsql/share/extension/dblink--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..69d58afd1400cce8c4c6af8e098db519303be8e8
--- /dev/null
+++ b/pgsql/share/extension/dblink--1.1--1.2.sql
@@ -0,0 +1,46 @@
+/* contrib/dblink/dblink--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION dblink UPDATE TO '1.2'" to load this file. \quit
+
+ALTER FUNCTION dblink_connect(text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_connect(text, text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_connect_u(text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_connect_u(text, text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_disconnect() PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_disconnect(text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_open(text, text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_open(text, text, boolean) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_open(text, text, text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_open(text, text, text, boolean) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_fetch(text, int) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_fetch(text, int, boolean) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_fetch(text, text, int) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_fetch(text, text, int, boolean) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_close(text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_close(text, boolean) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_close(text, text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_close(text, text, boolean) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink(text, text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink(text, text, boolean) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink(text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink(text, boolean) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_exec(text, text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_exec(text, text, boolean) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_exec(text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_exec(text, boolean) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_get_pkey(text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_build_sql_insert(text, int2vector, int, _text, _text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_build_sql_delete(text, int2vector, int, _text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_build_sql_update(text, int2vector, int, _text, _text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_current_query() PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_send_query(text, text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_is_busy(text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_get_result(text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_get_result(text, bool) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_get_connections() PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_cancel_query(text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_error_message(text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_get_notify() PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_get_notify(text) PARALLEL RESTRICTED;
+ALTER FUNCTION dblink_fdw_validator(text[], oid) PARALLEL SAFE;
diff --git a/pgsql/share/extension/dblink--1.2.sql b/pgsql/share/extension/dblink--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..405eccb0ff92611732512a6f7adcbb6a32e715db
--- /dev/null
+++ b/pgsql/share/extension/dblink--1.2.sql
@@ -0,0 +1,235 @@
+/* contrib/dblink/dblink--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION dblink" to load this file. \quit
+
+-- dblink_connect now restricts non-superusers to password
+-- authenticated connections
+CREATE FUNCTION dblink_connect (text)
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_connect'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_connect (text, text)
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_connect'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+-- dblink_connect_u allows non-superusers to use
+-- non-password authenticated connections, but initially
+-- privileges are revoked from public
+CREATE FUNCTION dblink_connect_u (text)
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_connect'
+LANGUAGE C STRICT PARALLEL RESTRICTED SECURITY DEFINER;
+
+CREATE FUNCTION dblink_connect_u (text, text)
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_connect'
+LANGUAGE C STRICT PARALLEL RESTRICTED SECURITY DEFINER;
+
+REVOKE ALL ON FUNCTION dblink_connect_u (text) FROM public;
+REVOKE ALL ON FUNCTION dblink_connect_u (text, text) FROM public;
+
+CREATE FUNCTION dblink_disconnect ()
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_disconnect'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_disconnect (text)
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_disconnect'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_open (text, text)
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_open'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_open (text, text, boolean)
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_open'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_open (text, text, text)
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_open'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_open (text, text, text, boolean)
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_open'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_fetch (text, int)
+RETURNS setof record
+AS 'MODULE_PATHNAME','dblink_fetch'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_fetch (text, int, boolean)
+RETURNS setof record
+AS 'MODULE_PATHNAME','dblink_fetch'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_fetch (text, text, int)
+RETURNS setof record
+AS 'MODULE_PATHNAME','dblink_fetch'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_fetch (text, text, int, boolean)
+RETURNS setof record
+AS 'MODULE_PATHNAME','dblink_fetch'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_close (text)
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_close'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_close (text, boolean)
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_close'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_close (text, text)
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_close'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_close (text, text, boolean)
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_close'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink (text, text)
+RETURNS setof record
+AS 'MODULE_PATHNAME','dblink_record'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink (text, text, boolean)
+RETURNS setof record
+AS 'MODULE_PATHNAME','dblink_record'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink (text)
+RETURNS setof record
+AS 'MODULE_PATHNAME','dblink_record'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink (text, boolean)
+RETURNS setof record
+AS 'MODULE_PATHNAME','dblink_record'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_exec (text, text)
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_exec'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_exec (text, text, boolean)
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_exec'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_exec (text)
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_exec'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_exec (text,boolean)
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_exec'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE TYPE dblink_pkey_results AS (position int, colname text);
+
+CREATE FUNCTION dblink_get_pkey (text)
+RETURNS setof dblink_pkey_results
+AS 'MODULE_PATHNAME','dblink_get_pkey'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_build_sql_insert (text, int2vector, int, _text, _text)
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_build_sql_insert'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_build_sql_delete (text, int2vector, int, _text)
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_build_sql_delete'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_build_sql_update (text, int2vector, int, _text, _text)
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_build_sql_update'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_current_query ()
+RETURNS text
+AS 'MODULE_PATHNAME','dblink_current_query'
+LANGUAGE C PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_send_query(text, text)
+RETURNS int4
+AS 'MODULE_PATHNAME', 'dblink_send_query'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_is_busy(text)
+RETURNS int4
+AS 'MODULE_PATHNAME', 'dblink_is_busy'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_get_result(text)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'dblink_get_result'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_get_result(text, bool)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'dblink_get_result'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_get_connections()
+RETURNS text[]
+AS 'MODULE_PATHNAME', 'dblink_get_connections'
+LANGUAGE C PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_cancel_query(text)
+RETURNS text
+AS 'MODULE_PATHNAME', 'dblink_cancel_query'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_error_message(text)
+RETURNS text
+AS 'MODULE_PATHNAME', 'dblink_error_message'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_get_notify(
+ OUT notify_name TEXT,
+ OUT be_pid INT4,
+ OUT extra TEXT
+)
+RETURNS setof record
+AS 'MODULE_PATHNAME', 'dblink_get_notify'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION dblink_get_notify(
+ conname TEXT,
+ OUT notify_name TEXT,
+ OUT be_pid INT4,
+ OUT extra TEXT
+)
+RETURNS setof record
+AS 'MODULE_PATHNAME', 'dblink_get_notify'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+/* New stuff in 1.1 begins here */
+
+CREATE FUNCTION dblink_fdw_validator(
+ options text[],
+ catalog oid
+)
+RETURNS void
+AS 'MODULE_PATHNAME', 'dblink_fdw_validator'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+CREATE FOREIGN DATA WRAPPER dblink_fdw VALIDATOR dblink_fdw_validator;
diff --git a/pgsql/share/extension/dblink.control b/pgsql/share/extension/dblink.control
new file mode 100644
index 0000000000000000000000000000000000000000..bdd17d28a4b5e56fefa00a5ea59819a978c45976
--- /dev/null
+++ b/pgsql/share/extension/dblink.control
@@ -0,0 +1,5 @@
+# dblink extension
+comment = 'connect to other PostgreSQL databases from within a database'
+default_version = '1.2'
+module_pathname = '$libdir/dblink'
+relocatable = true
diff --git a/pgsql/share/extension/dict_int--1.0.sql b/pgsql/share/extension/dict_int--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..acb1461b569908733228d4082fa78b6477317f81
--- /dev/null
+++ b/pgsql/share/extension/dict_int--1.0.sql
@@ -0,0 +1,25 @@
+/* contrib/dict_int/dict_int--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION dict_int" to load this file. \quit
+
+CREATE FUNCTION dintdict_init(internal)
+ RETURNS internal
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C STRICT;
+
+CREATE FUNCTION dintdict_lexize(internal, internal, internal, internal)
+ RETURNS internal
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C STRICT;
+
+CREATE TEXT SEARCH TEMPLATE intdict_template (
+ LEXIZE = dintdict_lexize,
+ INIT = dintdict_init
+);
+
+CREATE TEXT SEARCH DICTIONARY intdict (
+ TEMPLATE = intdict_template
+);
+
+COMMENT ON TEXT SEARCH DICTIONARY intdict IS 'dictionary for integers';
diff --git a/pgsql/share/extension/dict_int.control b/pgsql/share/extension/dict_int.control
new file mode 100644
index 0000000000000000000000000000000000000000..ec04ccea91a3a72e06a00dbb86fc775d08e240ef
--- /dev/null
+++ b/pgsql/share/extension/dict_int.control
@@ -0,0 +1,6 @@
+# dict_int extension
+comment = 'text search dictionary template for integers'
+default_version = '1.0'
+module_pathname = '$libdir/dict_int'
+relocatable = true
+trusted = true
diff --git a/pgsql/share/extension/dict_xsyn--1.0.sql b/pgsql/share/extension/dict_xsyn--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..3d6bb51ca893e40409396b5b7686f4880664a74b
--- /dev/null
+++ b/pgsql/share/extension/dict_xsyn--1.0.sql
@@ -0,0 +1,25 @@
+/* contrib/dict_xsyn/dict_xsyn--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION dict_xsyn" to load this file. \quit
+
+CREATE FUNCTION dxsyn_init(internal)
+ RETURNS internal
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C STRICT;
+
+CREATE FUNCTION dxsyn_lexize(internal, internal, internal, internal)
+ RETURNS internal
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C STRICT;
+
+CREATE TEXT SEARCH TEMPLATE xsyn_template (
+ LEXIZE = dxsyn_lexize,
+ INIT = dxsyn_init
+);
+
+CREATE TEXT SEARCH DICTIONARY xsyn (
+ TEMPLATE = xsyn_template
+);
+
+COMMENT ON TEXT SEARCH DICTIONARY xsyn IS 'eXtended synonym dictionary';
diff --git a/pgsql/share/extension/dict_xsyn.control b/pgsql/share/extension/dict_xsyn.control
new file mode 100644
index 0000000000000000000000000000000000000000..3fd465a95577471ae99b42b63a21ad31eac71ac9
--- /dev/null
+++ b/pgsql/share/extension/dict_xsyn.control
@@ -0,0 +1,5 @@
+# dict_xsyn extension
+comment = 'text search dictionary template for extended synonym processing'
+default_version = '1.0'
+module_pathname = '$libdir/dict_xsyn'
+relocatable = true
diff --git a/pgsql/share/extension/dummy_index_am--1.0.sql b/pgsql/share/extension/dummy_index_am--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..005863de87823fcccb080662783a58b4effeb0ed
--- /dev/null
+++ b/pgsql/share/extension/dummy_index_am--1.0.sql
@@ -0,0 +1,19 @@
+/* src/test/modules/dummy_index_am/dummy_index_am--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION dummy_index_am" to load this file. \quit
+
+CREATE FUNCTION dihandler(internal)
+RETURNS index_am_handler
+AS 'MODULE_PATHNAME'
+LANGUAGE C;
+
+-- Access method
+CREATE ACCESS METHOD dummy_index_am TYPE INDEX HANDLER dihandler;
+COMMENT ON ACCESS METHOD dummy_index_am IS 'dummy index access method';
+
+-- Operator classes
+CREATE OPERATOR CLASS int4_ops
+DEFAULT FOR TYPE int4 USING dummy_index_am AS
+ OPERATOR 1 = (int4, int4),
+ FUNCTION 1 hashint4(int4);
diff --git a/pgsql/share/extension/dummy_index_am.control b/pgsql/share/extension/dummy_index_am.control
new file mode 100644
index 0000000000000000000000000000000000000000..77bdea08ae0a67fe2c5cd326c09497a22304ba6c
--- /dev/null
+++ b/pgsql/share/extension/dummy_index_am.control
@@ -0,0 +1,5 @@
+# dummy_index_am extension
+comment = 'dummy_index_am - index access method template'
+default_version = '1.0'
+module_pathname = '$libdir/dummy_index_am'
+relocatable = true
diff --git a/pgsql/share/extension/dummy_seclabel--1.0.sql b/pgsql/share/extension/dummy_seclabel--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..5f3cb5bc12b56c04fb5fbfb70e92660cc054758c
--- /dev/null
+++ b/pgsql/share/extension/dummy_seclabel--1.0.sql
@@ -0,0 +1,8 @@
+/* src/test/modules/dummy_seclabel/dummy_seclabel--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION dummy_seclabel" to load this file. \quit
+
+CREATE FUNCTION dummy_seclabel_dummy()
+ RETURNS pg_catalog.void
+ AS 'MODULE_PATHNAME' LANGUAGE C;
diff --git a/pgsql/share/extension/dummy_seclabel.control b/pgsql/share/extension/dummy_seclabel.control
new file mode 100644
index 0000000000000000000000000000000000000000..8c3727285f83605deb9e25d732df76c4f9749e10
--- /dev/null
+++ b/pgsql/share/extension/dummy_seclabel.control
@@ -0,0 +1,4 @@
+comment = 'Test code for SECURITY LABEL feature'
+default_version = '1.0'
+module_pathname = '$libdir/dummy_seclabel'
+relocatable = true
diff --git a/pgsql/share/extension/earthdistance--1.0--1.1.sql b/pgsql/share/extension/earthdistance--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..802f1515a8939234862e3d6e58d3cf57a89ed623
--- /dev/null
+++ b/pgsql/share/extension/earthdistance--1.0--1.1.sql
@@ -0,0 +1,14 @@
+/* contrib/earthdistance/earthdistance--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION earthdistance UPDATE TO '1.1'" to load this file. \quit
+
+ALTER FUNCTION earth() PARALLEL SAFE;
+ALTER FUNCTION sec_to_gc(float8) PARALLEL SAFE;
+ALTER FUNCTION gc_to_sec(float8) PARALLEL SAFE;
+ALTER FUNCTION ll_to_earth(float8, float8) PARALLEL SAFE;
+ALTER FUNCTION latitude(earth) PARALLEL SAFE;
+ALTER FUNCTION longitude(earth) PARALLEL SAFE;
+ALTER FUNCTION earth_distance(earth, earth) PARALLEL SAFE;
+ALTER FUNCTION earth_box(earth, float8) PARALLEL SAFE;
+ALTER FUNCTION geo_distance(point, point) PARALLEL SAFE;
diff --git a/pgsql/share/extension/earthdistance--1.1.sql b/pgsql/share/extension/earthdistance--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..9ef20ab848c516ce025da42ad1c542c3bbbbcfe4
--- /dev/null
+++ b/pgsql/share/extension/earthdistance--1.1.sql
@@ -0,0 +1,98 @@
+/* contrib/earthdistance/earthdistance--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION earthdistance" to load this file. \quit
+
+-- earth() returns the radius of the earth in meters. This is the only
+-- place you need to change things for the cube base distance functions
+-- in order to use different units (or a better value for the Earth's radius).
+
+CREATE FUNCTION earth() RETURNS float8
+LANGUAGE SQL IMMUTABLE PARALLEL SAFE
+AS 'SELECT ''6378168''::float8';
+
+-- Astronomers may want to change the earth function so that distances will be
+-- returned in degrees. To do this comment out the above definition and
+-- uncomment the one below. Note that doing this will break the regression
+-- tests.
+--
+-- CREATE FUNCTION earth() RETURNS float8
+-- LANGUAGE SQL IMMUTABLE
+-- AS 'SELECT 180/pi()';
+
+-- Define domain for locations on the surface of the earth using a cube
+-- datatype with constraints. cube provides 3D indexing.
+-- The cube is restricted to be a point, no more than 3 dimensions
+-- (for less than 3 dimensions 0 is assumed for the missing coordinates)
+-- and that the point must be very near the surface of the sphere
+-- centered about the origin with the radius of the earth.
+
+CREATE DOMAIN earth AS cube
+ CONSTRAINT not_point check(cube_is_point(value))
+ CONSTRAINT not_3d check(cube_dim(value) <= 3)
+ CONSTRAINT on_surface check(abs(cube_distance(value, '(0)'::cube) /
+ earth() - '1'::float8) < '10e-7'::float8);
+
+CREATE FUNCTION sec_to_gc(float8)
+RETURNS float8
+LANGUAGE SQL
+IMMUTABLE STRICT
+PARALLEL SAFE
+AS 'SELECT CASE WHEN $1 < 0 THEN 0::float8 WHEN $1/(2*earth()) > 1 THEN pi()*earth() ELSE 2*earth()*asin($1/(2*earth())) END';
+
+CREATE FUNCTION gc_to_sec(float8)
+RETURNS float8
+LANGUAGE SQL
+IMMUTABLE STRICT
+PARALLEL SAFE
+AS 'SELECT CASE WHEN $1 < 0 THEN 0::float8 WHEN $1/earth() > pi() THEN 2*earth() ELSE 2*earth()*sin($1/(2*earth())) END';
+
+CREATE FUNCTION ll_to_earth(float8, float8)
+RETURNS earth
+LANGUAGE SQL
+IMMUTABLE STRICT
+PARALLEL SAFE
+AS 'SELECT cube(cube(cube(earth()*cos(radians($1))*cos(radians($2))),earth()*cos(radians($1))*sin(radians($2))),earth()*sin(radians($1)))::earth';
+
+CREATE FUNCTION latitude(earth)
+RETURNS float8
+LANGUAGE SQL
+IMMUTABLE STRICT
+PARALLEL SAFE
+AS 'SELECT CASE WHEN cube_ll_coord($1, 3)/earth() < -1 THEN -90::float8 WHEN cube_ll_coord($1, 3)/earth() > 1 THEN 90::float8 ELSE degrees(asin(cube_ll_coord($1, 3)/earth())) END';
+
+CREATE FUNCTION longitude(earth)
+RETURNS float8
+LANGUAGE SQL
+IMMUTABLE STRICT
+PARALLEL SAFE
+AS 'SELECT degrees(atan2(cube_ll_coord($1, 2), cube_ll_coord($1, 1)))';
+
+CREATE FUNCTION earth_distance(earth, earth)
+RETURNS float8
+LANGUAGE SQL
+IMMUTABLE STRICT
+PARALLEL SAFE
+AS 'SELECT sec_to_gc(cube_distance($1, $2))';
+
+CREATE FUNCTION earth_box(earth, float8)
+RETURNS cube
+LANGUAGE SQL
+IMMUTABLE STRICT
+PARALLEL SAFE
+AS 'SELECT cube_enlarge($1, gc_to_sec($2), 3)';
+
+--------------- geo_distance
+
+CREATE FUNCTION geo_distance (point, point)
+RETURNS float8
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE AS 'MODULE_PATHNAME';
+
+--------------- geo_distance as operator <@>
+
+CREATE OPERATOR <@> (
+ LEFTARG = point,
+ RIGHTARG = point,
+ PROCEDURE = geo_distance,
+ COMMUTATOR = <@>
+);
diff --git a/pgsql/share/extension/earthdistance.control b/pgsql/share/extension/earthdistance.control
new file mode 100644
index 0000000000000000000000000000000000000000..5816d22cdd98810f75f4a2a4dc34ae32510e496a
--- /dev/null
+++ b/pgsql/share/extension/earthdistance.control
@@ -0,0 +1,6 @@
+# earthdistance extension
+comment = 'calculate great-circle distances on the surface of the Earth'
+default_version = '1.1'
+module_pathname = '$libdir/earthdistance'
+relocatable = true
+requires = 'cube'
diff --git a/pgsql/share/extension/file_fdw--1.0.sql b/pgsql/share/extension/file_fdw--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..856e6bf0a71f0a58fd4b06dc3235b029e27af33f
--- /dev/null
+++ b/pgsql/share/extension/file_fdw--1.0.sql
@@ -0,0 +1,18 @@
+/* contrib/file_fdw/file_fdw--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION file_fdw" to load this file. \quit
+
+CREATE FUNCTION file_fdw_handler()
+RETURNS fdw_handler
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT;
+
+CREATE FUNCTION file_fdw_validator(text[], oid)
+RETURNS void
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT;
+
+CREATE FOREIGN DATA WRAPPER file_fdw
+ HANDLER file_fdw_handler
+ VALIDATOR file_fdw_validator;
diff --git a/pgsql/share/extension/file_fdw.control b/pgsql/share/extension/file_fdw.control
new file mode 100644
index 0000000000000000000000000000000000000000..f0fccab53bccc812fe602029f705ad30f83078c7
--- /dev/null
+++ b/pgsql/share/extension/file_fdw.control
@@ -0,0 +1,5 @@
+# file_fdw extension
+comment = 'foreign-data wrapper for flat file access'
+default_version = '1.0'
+module_pathname = '$libdir/file_fdw'
+relocatable = true
diff --git a/pgsql/share/extension/fuzzystrmatch--1.0--1.1.sql b/pgsql/share/extension/fuzzystrmatch--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..f2b15550dd448ee9fdbe385ef75fe99b3ec95ead
--- /dev/null
+++ b/pgsql/share/extension/fuzzystrmatch--1.0--1.1.sql
@@ -0,0 +1,15 @@
+/* contrib/fuzzystrmatch/fuzzystrmatch--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION fuzzystrmatch UPDATE TO '1.1'" to load this file. \quit
+
+ALTER FUNCTION levenshtein(text, text) PARALLEL SAFE;
+ALTER FUNCTION levenshtein(text, text, int, int, int) PARALLEL SAFE;
+ALTER FUNCTION levenshtein_less_equal(text, text, int) PARALLEL SAFE;
+ALTER FUNCTION levenshtein_less_equal(text, text, int, int, int, int) PARALLEL SAFE;
+ALTER FUNCTION metaphone(text, int) PARALLEL SAFE;
+ALTER FUNCTION soundex(text) PARALLEL SAFE;
+ALTER FUNCTION text_soundex(text) PARALLEL SAFE;
+ALTER FUNCTION difference(text, text) PARALLEL SAFE;
+ALTER FUNCTION dmetaphone(text) PARALLEL SAFE;
+ALTER FUNCTION dmetaphone_alt(text) PARALLEL SAFE;
diff --git a/pgsql/share/extension/fuzzystrmatch--1.1--1.2.sql b/pgsql/share/extension/fuzzystrmatch--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..d8542a781c15dedc220f1703728e92a157d0217e
--- /dev/null
+++ b/pgsql/share/extension/fuzzystrmatch--1.1--1.2.sql
@@ -0,0 +1,8 @@
+/* contrib/fuzzystrmatch/fuzzystrmatch--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION fuzzystrmatch UPDATE TO '1.2'" to load this file. \quit
+
+CREATE FUNCTION daitch_mokotoff(text) RETURNS text[]
+AS 'MODULE_PATHNAME', 'daitch_mokotoff'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
diff --git a/pgsql/share/extension/fuzzystrmatch--1.1.sql b/pgsql/share/extension/fuzzystrmatch--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..41de9d949bba7d1757571777d1eea13268d7c5d5
--- /dev/null
+++ b/pgsql/share/extension/fuzzystrmatch--1.1.sql
@@ -0,0 +1,44 @@
+/* contrib/fuzzystrmatch/fuzzystrmatch--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION fuzzystrmatch" to load this file. \quit
+
+CREATE FUNCTION levenshtein (text,text) RETURNS int
+AS 'MODULE_PATHNAME','levenshtein'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION levenshtein (text,text,int,int,int) RETURNS int
+AS 'MODULE_PATHNAME','levenshtein_with_costs'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION levenshtein_less_equal (text,text,int) RETURNS int
+AS 'MODULE_PATHNAME','levenshtein_less_equal'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION levenshtein_less_equal (text,text,int,int,int,int) RETURNS int
+AS 'MODULE_PATHNAME','levenshtein_less_equal_with_costs'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION metaphone (text,int) RETURNS text
+AS 'MODULE_PATHNAME','metaphone'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION soundex(text) RETURNS text
+AS 'MODULE_PATHNAME', 'soundex'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION text_soundex(text) RETURNS text
+AS 'MODULE_PATHNAME', 'soundex'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION difference(text,text) RETURNS int
+AS 'MODULE_PATHNAME', 'difference'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION dmetaphone (text) RETURNS text
+AS 'MODULE_PATHNAME', 'dmetaphone'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION dmetaphone_alt (text) RETURNS text
+AS 'MODULE_PATHNAME', 'dmetaphone_alt'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
diff --git a/pgsql/share/extension/fuzzystrmatch.control b/pgsql/share/extension/fuzzystrmatch.control
new file mode 100644
index 0000000000000000000000000000000000000000..8b6e9fd9935542ac4f2912ddafb4fa49298a8eff
--- /dev/null
+++ b/pgsql/share/extension/fuzzystrmatch.control
@@ -0,0 +1,6 @@
+# fuzzystrmatch extension
+comment = 'determine similarities and distance between strings'
+default_version = '1.2'
+module_pathname = '$libdir/fuzzystrmatch'
+relocatable = true
+trusted = true
diff --git a/pgsql/share/extension/hstore--1.1--1.2.sql b/pgsql/share/extension/hstore--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..cc69fc7f802e13907f8a34bbe15df3e8fee82ace
--- /dev/null
+++ b/pgsql/share/extension/hstore--1.1--1.2.sql
@@ -0,0 +1,53 @@
+/* contrib/hstore/hstore--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION hstore UPDATE TO '1.2'" to load this file. \quit
+
+
+-- A version of 1.1 was shipped with these objects mistakenly in 9.3.0.
+-- Therefore we only add them if we detect that they aren't already there and
+-- dependent on the extension.
+
+DO LANGUAGE plpgsql
+$$
+DECLARE
+ my_schema pg_catalog.text := pg_catalog.quote_ident(pg_catalog.current_schema());
+ old_path pg_catalog.text := pg_catalog.current_setting('search_path');
+BEGIN
+-- for safety, transiently set search_path to just pg_catalog+pg_temp
+PERFORM pg_catalog.set_config('search_path', 'pg_catalog, pg_temp', true);
+
+ PERFORM 1
+ FROM pg_proc p
+ JOIN pg_depend d
+ ON p.proname = 'hstore_to_json_loose'
+ AND d.classid = 'pg_proc'::regclass
+ AND d.objid = p.oid
+ AND d.refclassid = 'pg_extension'::regclass
+ JOIN pg_extension x
+ ON d.refobjid = x.oid
+ AND x.extname = 'hstore';
+
+ IF NOT FOUND
+ THEN
+ PERFORM pg_catalog.set_config('search_path', old_path, true);
+
+ CREATE FUNCTION hstore_to_json(hstore)
+ RETURNS json
+ AS 'MODULE_PATHNAME', 'hstore_to_json'
+ LANGUAGE C IMMUTABLE STRICT;
+
+ CREATE CAST (hstore AS json)
+ WITH FUNCTION hstore_to_json(hstore);
+
+ CREATE FUNCTION hstore_to_json_loose(hstore)
+ RETURNS json
+ AS 'MODULE_PATHNAME', 'hstore_to_json_loose'
+ LANGUAGE C IMMUTABLE STRICT;
+
+ END IF;
+
+PERFORM pg_catalog.set_config('search_path', old_path, true);
+END;
+
+$$;
diff --git a/pgsql/share/extension/hstore--1.2--1.3.sql b/pgsql/share/extension/hstore--1.2--1.3.sql
new file mode 100644
index 0000000000000000000000000000000000000000..0a7056015b7415a9d72801076e4be7e015bfb6a4
--- /dev/null
+++ b/pgsql/share/extension/hstore--1.2--1.3.sql
@@ -0,0 +1,17 @@
+/* contrib/hstore/hstore--1.2--1.3.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION hstore UPDATE TO '1.3'" to load this file. \quit
+
+CREATE FUNCTION hstore_to_jsonb(hstore)
+RETURNS jsonb
+AS 'MODULE_PATHNAME', 'hstore_to_jsonb'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE CAST (hstore AS jsonb)
+ WITH FUNCTION hstore_to_jsonb(hstore);
+
+CREATE FUNCTION hstore_to_jsonb_loose(hstore)
+RETURNS jsonb
+AS 'MODULE_PATHNAME', 'hstore_to_jsonb_loose'
+LANGUAGE C IMMUTABLE STRICT;
diff --git a/pgsql/share/extension/hstore--1.3--1.4.sql b/pgsql/share/extension/hstore--1.3--1.4.sql
new file mode 100644
index 0000000000000000000000000000000000000000..53f26f9fb847846f2cec484fccf3650f041b4983
--- /dev/null
+++ b/pgsql/share/extension/hstore--1.3--1.4.sql
@@ -0,0 +1,99 @@
+/* contrib/hstore/hstore--1.3--1.4.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION hstore UPDATE TO '1.4'" to load this file. \quit
+
+-- Update procedure signatures the hard way.
+-- We use to_regprocedure() so that query doesn't fail if run against 9.6beta1 definitions,
+-- wherein the signatures have been updated already. In that case to_regprocedure() will
+-- return NULL and no updates will happen.
+DO LANGUAGE plpgsql
+$$
+DECLARE
+ my_schema pg_catalog.text := pg_catalog.quote_ident(pg_catalog.current_schema());
+ old_path pg_catalog.text := pg_catalog.current_setting('search_path');
+BEGIN
+-- for safety, transiently set search_path to just pg_catalog+pg_temp
+PERFORM pg_catalog.set_config('search_path', 'pg_catalog, pg_temp', true);
+
+UPDATE pg_catalog.pg_proc SET
+ proargtypes = pg_catalog.array_to_string(newtypes::pg_catalog.oid[], ' ')::pg_catalog.oidvector,
+ pronargs = pg_catalog.array_length(newtypes, 1)
+FROM (VALUES
+(NULL::pg_catalog.text, NULL::pg_catalog.text[]), -- establish column types
+('ghstore_same(internal,internal,internal)', '{SCH.ghstore,SCH.ghstore,internal}'),
+('ghstore_consistent(internal,internal,int4,oid,internal)', '{internal,SCH.hstore,int2,oid,internal}'),
+('gin_extract_hstore(internal,internal)', '{SCH.hstore,internal}'),
+('gin_extract_hstore_query(internal,internal,int2,internal,internal)', '{SCH.hstore,internal,int2,internal,internal}'),
+('gin_consistent_hstore(internal,int2,internal,int4,internal,internal)', '{internal,int2,SCH.hstore,int4,internal,internal}')
+) AS update_data (oldproc, newtypestext),
+LATERAL (
+ SELECT array_agg(replace(typ, 'SCH', my_schema)::regtype) as newtypes FROM unnest(newtypestext) typ
+) ls
+WHERE oid = to_regprocedure(my_schema || '.' || replace(oldproc, 'SCH', my_schema));
+
+UPDATE pg_catalog.pg_proc SET
+ prorettype = (my_schema || '.ghstore')::pg_catalog.regtype
+WHERE oid = pg_catalog.to_regprocedure((my_schema || '.ghstore_union(internal,internal)'));
+
+PERFORM pg_catalog.set_config('search_path', old_path, true);
+END
+$$;
+
+ALTER FUNCTION hstore_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION hstore_out(hstore) PARALLEL SAFE;
+ALTER FUNCTION hstore_recv(internal) PARALLEL SAFE;
+ALTER FUNCTION hstore_send(hstore) PARALLEL SAFE;
+ALTER FUNCTION hstore_version_diag(hstore) PARALLEL SAFE;
+ALTER FUNCTION fetchval(hstore, text) PARALLEL SAFE;
+ALTER FUNCTION slice_array(hstore, text[]) PARALLEL SAFE;
+ALTER FUNCTION slice(hstore, text[]) PARALLEL SAFE;
+ALTER FUNCTION isexists(hstore, text) PARALLEL SAFE;
+ALTER FUNCTION exist(hstore, text) PARALLEL SAFE;
+ALTER FUNCTION exists_any(hstore, text[]) PARALLEL SAFE;
+ALTER FUNCTION exists_all(hstore, text[]) PARALLEL SAFE;
+ALTER FUNCTION isdefined(hstore, text) PARALLEL SAFE;
+ALTER FUNCTION defined(hstore, text) PARALLEL SAFE;
+ALTER FUNCTION delete(hstore, text) PARALLEL SAFE;
+ALTER FUNCTION delete(hstore, text[]) PARALLEL SAFE;
+ALTER FUNCTION delete(hstore, hstore) PARALLEL SAFE;
+ALTER FUNCTION hs_concat(hstore, hstore) PARALLEL SAFE;
+ALTER FUNCTION hs_contains(hstore, hstore) PARALLEL SAFE;
+ALTER FUNCTION hs_contained(hstore, hstore) PARALLEL SAFE;
+ALTER FUNCTION tconvert(text, text) PARALLEL SAFE;
+ALTER FUNCTION hstore(text, text) PARALLEL SAFE;
+ALTER FUNCTION hstore(text[], text[]) PARALLEL SAFE;
+ALTER FUNCTION hstore(text[]) PARALLEL SAFE;
+ALTER FUNCTION hstore_to_json(hstore) PARALLEL SAFE;
+ALTER FUNCTION hstore_to_json_loose(hstore) PARALLEL SAFE;
+ALTER FUNCTION hstore_to_jsonb(hstore) PARALLEL SAFE;
+ALTER FUNCTION hstore_to_jsonb_loose(hstore) PARALLEL SAFE;
+ALTER FUNCTION hstore(record) PARALLEL SAFE;
+ALTER FUNCTION hstore_to_array(hstore) PARALLEL SAFE;
+ALTER FUNCTION hstore_to_matrix(hstore) PARALLEL SAFE;
+ALTER FUNCTION akeys(hstore) PARALLEL SAFE;
+ALTER FUNCTION avals(hstore) PARALLEL SAFE;
+ALTER FUNCTION skeys(hstore) PARALLEL SAFE;
+ALTER FUNCTION svals(hstore) PARALLEL SAFE;
+ALTER FUNCTION each(hstore) PARALLEL SAFE;
+ALTER FUNCTION populate_record(anyelement, hstore) PARALLEL SAFE;
+ALTER FUNCTION hstore_eq(hstore, hstore) PARALLEL SAFE;
+ALTER FUNCTION hstore_ne(hstore, hstore) PARALLEL SAFE;
+ALTER FUNCTION hstore_gt(hstore, hstore) PARALLEL SAFE;
+ALTER FUNCTION hstore_ge(hstore, hstore) PARALLEL SAFE;
+ALTER FUNCTION hstore_lt(hstore, hstore) PARALLEL SAFE;
+ALTER FUNCTION hstore_le(hstore, hstore) PARALLEL SAFE;
+ALTER FUNCTION hstore_cmp(hstore, hstore) PARALLEL SAFE;
+ALTER FUNCTION hstore_hash(hstore) PARALLEL SAFE;
+ALTER FUNCTION ghstore_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION ghstore_out(ghstore) PARALLEL SAFE;
+ALTER FUNCTION ghstore_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION ghstore_decompress(internal) PARALLEL SAFE;
+ALTER FUNCTION ghstore_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION ghstore_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION ghstore_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION ghstore_same(ghstore, ghstore, internal) PARALLEL SAFE;
+ALTER FUNCTION ghstore_consistent(internal, hstore, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gin_extract_hstore(hstore, internal) PARALLEL SAFE;
+ALTER FUNCTION gin_extract_hstore_query(hstore, internal, int2, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gin_consistent_hstore(internal, int2, hstore, int4, internal, internal) PARALLEL SAFE;
diff --git a/pgsql/share/extension/hstore--1.4--1.5.sql b/pgsql/share/extension/hstore--1.4--1.5.sql
new file mode 100644
index 0000000000000000000000000000000000000000..92c1832dce16d962414506d24d6a88397c653471
--- /dev/null
+++ b/pgsql/share/extension/hstore--1.4--1.5.sql
@@ -0,0 +1,14 @@
+/* contrib/hstore/hstore--1.4--1.5.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION hstore UPDATE TO '1.5'" to load this file. \quit
+
+ALTER OPERATOR #<=# (hstore, hstore) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel
+);
+
+ALTER OPERATOR #>=# (hstore, hstore) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel
+);
diff --git a/pgsql/share/extension/hstore--1.4.sql b/pgsql/share/extension/hstore--1.4.sql
new file mode 100644
index 0000000000000000000000000000000000000000..4294d14ceb51be92629e36c0f84b749e6cdb56b5
--- /dev/null
+++ b/pgsql/share/extension/hstore--1.4.sql
@@ -0,0 +1,550 @@
+/* contrib/hstore/hstore--1.4.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION hstore" to load this file. \quit
+
+CREATE TYPE hstore;
+
+CREATE FUNCTION hstore_in(cstring)
+RETURNS hstore
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION hstore_out(hstore)
+RETURNS cstring
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION hstore_recv(internal)
+RETURNS hstore
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION hstore_send(hstore)
+RETURNS bytea
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE TYPE hstore (
+ INTERNALLENGTH = -1,
+ INPUT = hstore_in,
+ OUTPUT = hstore_out,
+ RECEIVE = hstore_recv,
+ SEND = hstore_send,
+ STORAGE = extended
+);
+
+CREATE FUNCTION hstore_version_diag(hstore)
+RETURNS integer
+AS 'MODULE_PATHNAME','hstore_version_diag'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION fetchval(hstore,text)
+RETURNS text
+AS 'MODULE_PATHNAME','hstore_fetchval'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR -> (
+ LEFTARG = hstore,
+ RIGHTARG = text,
+ PROCEDURE = fetchval
+);
+
+CREATE FUNCTION slice_array(hstore,text[])
+RETURNS text[]
+AS 'MODULE_PATHNAME','hstore_slice_to_array'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR -> (
+ LEFTARG = hstore,
+ RIGHTARG = text[],
+ PROCEDURE = slice_array
+);
+
+CREATE FUNCTION slice(hstore,text[])
+RETURNS hstore
+AS 'MODULE_PATHNAME','hstore_slice_to_hstore'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION isexists(hstore,text)
+RETURNS bool
+AS 'MODULE_PATHNAME','hstore_exists'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION exist(hstore,text)
+RETURNS bool
+AS 'MODULE_PATHNAME','hstore_exists'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR ? (
+ LEFTARG = hstore,
+ RIGHTARG = text,
+ PROCEDURE = exist,
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE FUNCTION exists_any(hstore,text[])
+RETURNS bool
+AS 'MODULE_PATHNAME','hstore_exists_any'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR ?| (
+ LEFTARG = hstore,
+ RIGHTARG = text[],
+ PROCEDURE = exists_any,
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE FUNCTION exists_all(hstore,text[])
+RETURNS bool
+AS 'MODULE_PATHNAME','hstore_exists_all'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR ?& (
+ LEFTARG = hstore,
+ RIGHTARG = text[],
+ PROCEDURE = exists_all,
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE FUNCTION isdefined(hstore,text)
+RETURNS bool
+AS 'MODULE_PATHNAME','hstore_defined'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION defined(hstore,text)
+RETURNS bool
+AS 'MODULE_PATHNAME','hstore_defined'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION delete(hstore,text)
+RETURNS hstore
+AS 'MODULE_PATHNAME','hstore_delete'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION delete(hstore,text[])
+RETURNS hstore
+AS 'MODULE_PATHNAME','hstore_delete_array'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION delete(hstore,hstore)
+RETURNS hstore
+AS 'MODULE_PATHNAME','hstore_delete_hstore'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR - (
+ LEFTARG = hstore,
+ RIGHTARG = text,
+ PROCEDURE = delete
+);
+
+CREATE OPERATOR - (
+ LEFTARG = hstore,
+ RIGHTARG = text[],
+ PROCEDURE = delete
+);
+
+CREATE OPERATOR - (
+ LEFTARG = hstore,
+ RIGHTARG = hstore,
+ PROCEDURE = delete
+);
+
+CREATE FUNCTION hs_concat(hstore,hstore)
+RETURNS hstore
+AS 'MODULE_PATHNAME','hstore_concat'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR || (
+ LEFTARG = hstore,
+ RIGHTARG = hstore,
+ PROCEDURE = hs_concat
+);
+
+CREATE FUNCTION hs_contains(hstore,hstore)
+RETURNS bool
+AS 'MODULE_PATHNAME','hstore_contains'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION hs_contained(hstore,hstore)
+RETURNS bool
+AS 'MODULE_PATHNAME','hstore_contained'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR @> (
+ LEFTARG = hstore,
+ RIGHTARG = hstore,
+ PROCEDURE = hs_contains,
+ COMMUTATOR = '<@',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR <@ (
+ LEFTARG = hstore,
+ RIGHTARG = hstore,
+ PROCEDURE = hs_contained,
+ COMMUTATOR = '@>',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+-- obsolete:
+CREATE OPERATOR @ (
+ LEFTARG = hstore,
+ RIGHTARG = hstore,
+ PROCEDURE = hs_contains,
+ COMMUTATOR = '~',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ~ (
+ LEFTARG = hstore,
+ RIGHTARG = hstore,
+ PROCEDURE = hs_contained,
+ COMMUTATOR = '@',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE FUNCTION tconvert(text,text)
+RETURNS hstore
+AS 'MODULE_PATHNAME','hstore_from_text'
+LANGUAGE C IMMUTABLE PARALLEL SAFE; -- not STRICT; needs to allow (key,NULL)
+
+CREATE FUNCTION hstore(text,text)
+RETURNS hstore
+AS 'MODULE_PATHNAME','hstore_from_text'
+LANGUAGE C IMMUTABLE PARALLEL SAFE; -- not STRICT; needs to allow (key,NULL)
+
+CREATE FUNCTION hstore(text[],text[])
+RETURNS hstore
+AS 'MODULE_PATHNAME', 'hstore_from_arrays'
+LANGUAGE C IMMUTABLE PARALLEL SAFE; -- not STRICT; allows (keys,null)
+
+CREATE FUNCTION hstore(text[])
+RETURNS hstore
+AS 'MODULE_PATHNAME', 'hstore_from_array'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE CAST (text[] AS hstore)
+ WITH FUNCTION hstore(text[]);
+
+CREATE FUNCTION hstore_to_json(hstore)
+RETURNS json
+AS 'MODULE_PATHNAME', 'hstore_to_json'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE CAST (hstore AS json)
+ WITH FUNCTION hstore_to_json(hstore);
+
+CREATE FUNCTION hstore_to_json_loose(hstore)
+RETURNS json
+AS 'MODULE_PATHNAME', 'hstore_to_json_loose'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION hstore_to_jsonb(hstore)
+RETURNS jsonb
+AS 'MODULE_PATHNAME', 'hstore_to_jsonb'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE CAST (hstore AS jsonb)
+ WITH FUNCTION hstore_to_jsonb(hstore);
+
+CREATE FUNCTION hstore_to_jsonb_loose(hstore)
+RETURNS jsonb
+AS 'MODULE_PATHNAME', 'hstore_to_jsonb_loose'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION hstore(record)
+RETURNS hstore
+AS 'MODULE_PATHNAME', 'hstore_from_record'
+LANGUAGE C IMMUTABLE PARALLEL SAFE; -- not STRICT; allows (null::recordtype)
+
+CREATE FUNCTION hstore_to_array(hstore)
+RETURNS text[]
+AS 'MODULE_PATHNAME','hstore_to_array'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR %% (
+ RIGHTARG = hstore,
+ PROCEDURE = hstore_to_array
+);
+
+CREATE FUNCTION hstore_to_matrix(hstore)
+RETURNS text[]
+AS 'MODULE_PATHNAME','hstore_to_matrix'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR %# (
+ RIGHTARG = hstore,
+ PROCEDURE = hstore_to_matrix
+);
+
+CREATE FUNCTION akeys(hstore)
+RETURNS text[]
+AS 'MODULE_PATHNAME','hstore_akeys'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION avals(hstore)
+RETURNS text[]
+AS 'MODULE_PATHNAME','hstore_avals'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION skeys(hstore)
+RETURNS setof text
+AS 'MODULE_PATHNAME','hstore_skeys'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION svals(hstore)
+RETURNS setof text
+AS 'MODULE_PATHNAME','hstore_svals'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION each(IN hs hstore,
+ OUT key text,
+ OUT value text)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME','hstore_each'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION populate_record(anyelement,hstore)
+RETURNS anyelement
+AS 'MODULE_PATHNAME', 'hstore_populate_record'
+LANGUAGE C IMMUTABLE PARALLEL SAFE; -- not STRICT; allows (null::rectype,hstore)
+
+CREATE OPERATOR #= (
+ LEFTARG = anyelement,
+ RIGHTARG = hstore,
+ PROCEDURE = populate_record
+);
+
+-- btree support
+
+CREATE FUNCTION hstore_eq(hstore,hstore)
+RETURNS boolean
+AS 'MODULE_PATHNAME','hstore_eq'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION hstore_ne(hstore,hstore)
+RETURNS boolean
+AS 'MODULE_PATHNAME','hstore_ne'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION hstore_gt(hstore,hstore)
+RETURNS boolean
+AS 'MODULE_PATHNAME','hstore_gt'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION hstore_ge(hstore,hstore)
+RETURNS boolean
+AS 'MODULE_PATHNAME','hstore_ge'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION hstore_lt(hstore,hstore)
+RETURNS boolean
+AS 'MODULE_PATHNAME','hstore_lt'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION hstore_le(hstore,hstore)
+RETURNS boolean
+AS 'MODULE_PATHNAME','hstore_le'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION hstore_cmp(hstore,hstore)
+RETURNS integer
+AS 'MODULE_PATHNAME','hstore_cmp'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR = (
+ LEFTARG = hstore,
+ RIGHTARG = hstore,
+ PROCEDURE = hstore_eq,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES
+);
+CREATE OPERATOR <> (
+ LEFTARG = hstore,
+ RIGHTARG = hstore,
+ PROCEDURE = hstore_ne,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel
+);
+
+-- the comparison operators have funky names (and are undocumented)
+-- in an attempt to discourage anyone from actually using them. they
+-- only exist to support the btree opclass
+
+CREATE OPERATOR #<# (
+ LEFTARG = hstore,
+ RIGHTARG = hstore,
+ PROCEDURE = hstore_lt,
+ COMMUTATOR = #>#,
+ NEGATOR = #>=#,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel
+);
+CREATE OPERATOR #<=# (
+ LEFTARG = hstore,
+ RIGHTARG = hstore,
+ PROCEDURE = hstore_le,
+ COMMUTATOR = #>=#,
+ NEGATOR = #>#,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel
+);
+CREATE OPERATOR #># (
+ LEFTARG = hstore,
+ RIGHTARG = hstore,
+ PROCEDURE = hstore_gt,
+ COMMUTATOR = #<#,
+ NEGATOR = #<=#,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel
+);
+CREATE OPERATOR #>=# (
+ LEFTARG = hstore,
+ RIGHTARG = hstore,
+ PROCEDURE = hstore_ge,
+ COMMUTATOR = #<=#,
+ NEGATOR = #<#,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel
+);
+
+CREATE OPERATOR CLASS btree_hstore_ops
+DEFAULT FOR TYPE hstore USING btree
+AS
+ OPERATOR 1 #<# ,
+ OPERATOR 2 #<=# ,
+ OPERATOR 3 = ,
+ OPERATOR 4 #>=# ,
+ OPERATOR 5 #># ,
+ FUNCTION 1 hstore_cmp(hstore,hstore);
+
+-- hash support
+
+CREATE FUNCTION hstore_hash(hstore)
+RETURNS integer
+AS 'MODULE_PATHNAME','hstore_hash'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR CLASS hash_hstore_ops
+DEFAULT FOR TYPE hstore USING hash
+AS
+ OPERATOR 1 = ,
+ FUNCTION 1 hstore_hash(hstore);
+
+-- GiST support
+
+CREATE TYPE ghstore;
+
+CREATE FUNCTION ghstore_in(cstring)
+RETURNS ghstore
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ghstore_out(ghstore)
+RETURNS cstring
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE TYPE ghstore (
+ INTERNALLENGTH = -1,
+ INPUT = ghstore_in,
+ OUTPUT = ghstore_out
+);
+
+CREATE FUNCTION ghstore_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION ghstore_decompress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION ghstore_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION ghstore_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION ghstore_union(internal, internal)
+RETURNS ghstore
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION ghstore_same(ghstore, ghstore, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION ghstore_consistent(internal,hstore,smallint,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE OPERATOR CLASS gist_hstore_ops
+DEFAULT FOR TYPE hstore USING gist
+AS
+ OPERATOR 7 @> ,
+ OPERATOR 9 ?(hstore,text) ,
+ OPERATOR 10 ?|(hstore,text[]) ,
+ OPERATOR 11 ?&(hstore,text[]) ,
+ --OPERATOR 8 <@ ,
+ OPERATOR 13 @ ,
+ --OPERATOR 14 ~ ,
+ FUNCTION 1 ghstore_consistent (internal, hstore, smallint, oid, internal),
+ FUNCTION 2 ghstore_union (internal, internal),
+ FUNCTION 3 ghstore_compress (internal),
+ FUNCTION 4 ghstore_decompress (internal),
+ FUNCTION 5 ghstore_penalty (internal, internal, internal),
+ FUNCTION 6 ghstore_picksplit (internal, internal),
+ FUNCTION 7 ghstore_same (ghstore, ghstore, internal),
+ STORAGE ghstore;
+
+-- GIN support
+
+CREATE FUNCTION gin_extract_hstore(hstore, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gin_extract_hstore_query(hstore, internal, int2, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gin_consistent_hstore(internal, int2, hstore, int4, internal, internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE OPERATOR CLASS gin_hstore_ops
+DEFAULT FOR TYPE hstore USING gin
+AS
+ OPERATOR 7 @>,
+ OPERATOR 9 ?(hstore,text),
+ OPERATOR 10 ?|(hstore,text[]),
+ OPERATOR 11 ?&(hstore,text[]),
+ FUNCTION 1 bttextcmp(text,text),
+ FUNCTION 2 gin_extract_hstore(hstore, internal),
+ FUNCTION 3 gin_extract_hstore_query(hstore, internal, int2, internal, internal),
+ FUNCTION 4 gin_consistent_hstore(internal, int2, hstore, int4, internal, internal),
+ STORAGE text;
diff --git a/pgsql/share/extension/hstore--1.5--1.6.sql b/pgsql/share/extension/hstore--1.5--1.6.sql
new file mode 100644
index 0000000000000000000000000000000000000000..c5a2bae02ff0ca4708e5944d4ffebe18b9cfb8a2
--- /dev/null
+++ b/pgsql/share/extension/hstore--1.5--1.6.sql
@@ -0,0 +1,12 @@
+/* contrib/hstore/hstore--1.5--1.6.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION hstore UPDATE TO '1.6'" to load this file. \quit
+
+CREATE FUNCTION hstore_hash_extended(hstore, int8)
+RETURNS int8
+AS 'MODULE_PATHNAME','hstore_hash_extended'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+ALTER OPERATOR FAMILY hash_hstore_ops USING hash ADD
+ FUNCTION 2 hstore_hash_extended(hstore, int8);
diff --git a/pgsql/share/extension/hstore--1.6--1.7.sql b/pgsql/share/extension/hstore--1.6--1.7.sql
new file mode 100644
index 0000000000000000000000000000000000000000..3e5cb67c9334557c8197a3697a67d73a9bf8540c
--- /dev/null
+++ b/pgsql/share/extension/hstore--1.6--1.7.sql
@@ -0,0 +1,27 @@
+/* contrib/hstore/hstore--1.6--1.7.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION hstore UPDATE TO '1.7'" to load this file. \quit
+
+CREATE FUNCTION ghstore_options(internal)
+RETURNS void
+AS 'MODULE_PATHNAME', 'ghstore_options'
+LANGUAGE C IMMUTABLE PARALLEL SAFE;
+
+ALTER OPERATOR FAMILY gist_hstore_ops USING gist
+ADD FUNCTION 10 (hstore) ghstore_options (internal);
+
+ALTER OPERATOR ? (hstore, text)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ?| (hstore, text[])
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ?& (hstore, text[])
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR @> (hstore, hstore)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR <@ (hstore, hstore)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR @ (hstore, hstore)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ~ (hstore, hstore)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
diff --git a/pgsql/share/extension/hstore--1.7--1.8.sql b/pgsql/share/extension/hstore--1.7--1.8.sql
new file mode 100644
index 0000000000000000000000000000000000000000..fb450a9d6ab1f715d39d8c8dec0e1f252e9ddca0
--- /dev/null
+++ b/pgsql/share/extension/hstore--1.7--1.8.sql
@@ -0,0 +1,17 @@
+/* contrib/hstore/hstore--1.7--1.8.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION hstore UPDATE TO '1.8'" to load this file. \quit
+
+CREATE FUNCTION hstore_subscript_handler(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME', 'hstore_subscript_handler'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+ALTER TYPE hstore SET (
+ SUBSCRIPT = hstore_subscript_handler
+);
+
+-- Remove @ and ~
+DROP OPERATOR @ (hstore, hstore);
+DROP OPERATOR ~ (hstore, hstore);
diff --git a/pgsql/share/extension/hstore.control b/pgsql/share/extension/hstore.control
new file mode 100644
index 0000000000000000000000000000000000000000..89e3c746c461d189551069cfc4554b73810991aa
--- /dev/null
+++ b/pgsql/share/extension/hstore.control
@@ -0,0 +1,6 @@
+# hstore extension
+comment = 'data type for storing sets of (key, value) pairs'
+default_version = '1.8'
+module_pathname = '$libdir/hstore'
+relocatable = true
+trusted = true
diff --git a/pgsql/share/extension/hstore_plperl--1.0.sql b/pgsql/share/extension/hstore_plperl--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..af743c873350856f60d33e9e663f16b6581f9e13
--- /dev/null
+++ b/pgsql/share/extension/hstore_plperl--1.0.sql
@@ -0,0 +1,17 @@
+/* contrib/hstore_plperl/hstore_plperl--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION hstore_plperl" to load this file. \quit
+
+CREATE FUNCTION hstore_to_plperl(val internal) RETURNS internal
+LANGUAGE C STRICT IMMUTABLE
+AS 'MODULE_PATHNAME';
+
+CREATE FUNCTION plperl_to_hstore(val internal) RETURNS hstore
+LANGUAGE C STRICT IMMUTABLE
+AS 'MODULE_PATHNAME';
+
+CREATE TRANSFORM FOR hstore LANGUAGE plperl (
+ FROM SQL WITH FUNCTION hstore_to_plperl(internal),
+ TO SQL WITH FUNCTION plperl_to_hstore(internal)
+);
diff --git a/pgsql/share/extension/hstore_plperl.control b/pgsql/share/extension/hstore_plperl.control
new file mode 100644
index 0000000000000000000000000000000000000000..16277f68c1ccfae18d53345144d1643422d626d5
--- /dev/null
+++ b/pgsql/share/extension/hstore_plperl.control
@@ -0,0 +1,6 @@
+# hstore_plperl extension
+comment = 'transform between hstore and plperl'
+default_version = '1.0'
+module_pathname = '$libdir/hstore_plperl'
+relocatable = true
+requires = 'hstore,plperl'
diff --git a/pgsql/share/extension/hstore_plperlu--1.0.sql b/pgsql/share/extension/hstore_plperlu--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..7c3bc86eba965175776ef654f7555e68e89209ff
--- /dev/null
+++ b/pgsql/share/extension/hstore_plperlu--1.0.sql
@@ -0,0 +1,17 @@
+/* contrib/hstore_plperl/hstore_plperlu--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION hstore_plperlu" to load this file. \quit
+
+CREATE FUNCTION hstore_to_plperlu(val internal) RETURNS internal
+LANGUAGE C STRICT IMMUTABLE
+AS 'MODULE_PATHNAME', 'hstore_to_plperl';
+
+CREATE FUNCTION plperlu_to_hstore(val internal) RETURNS hstore
+LANGUAGE C STRICT IMMUTABLE
+AS 'MODULE_PATHNAME', 'plperl_to_hstore';
+
+CREATE TRANSFORM FOR hstore LANGUAGE plperlu (
+ FROM SQL WITH FUNCTION hstore_to_plperlu(internal),
+ TO SQL WITH FUNCTION plperlu_to_hstore(internal)
+);
diff --git a/pgsql/share/extension/hstore_plperlu.control b/pgsql/share/extension/hstore_plperlu.control
new file mode 100644
index 0000000000000000000000000000000000000000..c8d43b41a5faa6fd58a487d8f0b47ac0262eccbd
--- /dev/null
+++ b/pgsql/share/extension/hstore_plperlu.control
@@ -0,0 +1,6 @@
+# hstore_plperlu extension
+comment = 'transform between hstore and plperlu'
+default_version = '1.0'
+module_pathname = '$libdir/hstore_plperl'
+relocatable = true
+requires = 'hstore,plperlu'
diff --git a/pgsql/share/extension/hstore_plpython3u--1.0.sql b/pgsql/share/extension/hstore_plpython3u--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..0b410ab18354c6cdeac299a2b989fb46dddfd8b7
--- /dev/null
+++ b/pgsql/share/extension/hstore_plpython3u--1.0.sql
@@ -0,0 +1,19 @@
+/* contrib/hstore_plpython/hstore_plpython3u--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION hstore_plpython3u" to load this file. \quit
+
+CREATE FUNCTION hstore_to_plpython3(val internal) RETURNS internal
+LANGUAGE C STRICT IMMUTABLE
+AS 'MODULE_PATHNAME', 'hstore_to_plpython';
+
+CREATE FUNCTION plpython3_to_hstore(val internal) RETURNS hstore
+LANGUAGE C STRICT IMMUTABLE
+AS 'MODULE_PATHNAME', 'plpython_to_hstore';
+
+CREATE TRANSFORM FOR hstore LANGUAGE plpython3u (
+ FROM SQL WITH FUNCTION hstore_to_plpython3(internal),
+ TO SQL WITH FUNCTION plpython3_to_hstore(internal)
+);
+
+COMMENT ON TRANSFORM FOR hstore LANGUAGE plpython3u IS 'transform between hstore and Python dict';
diff --git a/pgsql/share/extension/hstore_plpython3u.control b/pgsql/share/extension/hstore_plpython3u.control
new file mode 100644
index 0000000000000000000000000000000000000000..d86f38e9a7bc9058ad95c0af9833b5a226fc0331
--- /dev/null
+++ b/pgsql/share/extension/hstore_plpython3u.control
@@ -0,0 +1,6 @@
+# hstore_plpython3u extension
+comment = 'transform between hstore and plpython3u'
+default_version = '1.0'
+module_pathname = '$libdir/hstore_plpython3'
+relocatable = true
+requires = 'hstore,plpython3u'
diff --git a/pgsql/share/extension/insert_username--1.0.sql b/pgsql/share/extension/insert_username--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..0deb0bf3f8be5a4ba124873e5898b9527354cf04
--- /dev/null
+++ b/pgsql/share/extension/insert_username--1.0.sql
@@ -0,0 +1,9 @@
+/* contrib/spi/insert_username--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION insert_username" to load this file. \quit
+
+CREATE FUNCTION insert_username()
+RETURNS trigger
+AS 'MODULE_PATHNAME'
+LANGUAGE C;
diff --git a/pgsql/share/extension/insert_username.control b/pgsql/share/extension/insert_username.control
new file mode 100644
index 0000000000000000000000000000000000000000..9d110643ee8864e3d395172454bbcac348ff862b
--- /dev/null
+++ b/pgsql/share/extension/insert_username.control
@@ -0,0 +1,5 @@
+# insert_username extension
+comment = 'functions for tracking who changed a table'
+default_version = '1.0'
+module_pathname = '$libdir/insert_username'
+relocatable = true
diff --git a/pgsql/share/extension/intagg--1.0--1.1.sql b/pgsql/share/extension/intagg--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..c0cc17a033bdd55a64ab992de3bb8468fb6ab5cd
--- /dev/null
+++ b/pgsql/share/extension/intagg--1.0--1.1.sql
@@ -0,0 +1,23 @@
+/* contrib/intagg/intagg--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION intagg UPDATE TO '1.1'" to load this file. \quit
+
+ALTER FUNCTION int_agg_state(internal, int4) PARALLEL SAFE;
+ALTER FUNCTION int_agg_final_array(internal) PARALLEL SAFE;
+ALTER FUNCTION int_array_enum(int4[]) PARALLEL SAFE;
+DO LANGUAGE plpgsql
+$$
+DECLARE
+ my_schema pg_catalog.text := pg_catalog.quote_ident(pg_catalog.current_schema());
+ old_path pg_catalog.text := pg_catalog.current_setting('search_path');
+BEGIN
+-- for safety, transiently set search_path to just pg_catalog+pg_temp
+PERFORM pg_catalog.set_config('search_path', 'pg_catalog, pg_temp', true);
+
+UPDATE pg_proc SET proparallel = 's'
+WHERE oid = (my_schema || '.int_array_aggregate(int4)')::pg_catalog.regprocedure;
+
+PERFORM pg_catalog.set_config('search_path', old_path, true);
+END
+$$;
diff --git a/pgsql/share/extension/intagg--1.1.sql b/pgsql/share/extension/intagg--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..3796a2afbdf8877fd0a8d918c0f8e2e69f8778ff
--- /dev/null
+++ b/pgsql/share/extension/intagg--1.1.sql
@@ -0,0 +1,37 @@
+/* contrib/intagg/intagg--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION intagg" to load this file. \quit
+
+-- Internal function for the aggregate
+-- Is called for each item in an aggregation
+CREATE FUNCTION int_agg_state (internal, int4)
+RETURNS internal
+AS 'array_agg_transfn'
+PARALLEL SAFE
+LANGUAGE INTERNAL;
+
+-- Internal function for the aggregate
+-- Is called at the end of the aggregation, and returns an array.
+CREATE FUNCTION int_agg_final_array (internal)
+RETURNS int4[]
+AS 'array_agg_finalfn'
+PARALLEL SAFE
+LANGUAGE INTERNAL;
+
+-- The aggregate function itself
+-- uses the above functions to create an array of integers from an aggregation.
+CREATE AGGREGATE int_array_aggregate(int4) (
+ SFUNC = int_agg_state,
+ STYPE = internal,
+ FINALFUNC = int_agg_final_array,
+ PARALLEL = SAFE
+);
+
+-- The enumeration function
+-- returns each element in a one dimensional integer array
+-- as a row.
+CREATE FUNCTION int_array_enum(int4[])
+RETURNS setof integer
+AS 'array_unnest'
+LANGUAGE INTERNAL IMMUTABLE STRICT PARALLEL SAFE;
diff --git a/pgsql/share/extension/intagg.control b/pgsql/share/extension/intagg.control
new file mode 100644
index 0000000000000000000000000000000000000000..a733bbfc1d2d7b3e2cc9cd2ad5807a9225decfe9
--- /dev/null
+++ b/pgsql/share/extension/intagg.control
@@ -0,0 +1,4 @@
+# intagg extension
+comment = 'integer aggregator and enumerator (obsolete)'
+default_version = '1.1'
+relocatable = true
diff --git a/pgsql/share/extension/intarray--1.0--1.1.sql b/pgsql/share/extension/intarray--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..fecebddfcaedec9282a266a7c2bcbec557a53141
--- /dev/null
+++ b/pgsql/share/extension/intarray--1.0--1.1.sql
@@ -0,0 +1,49 @@
+/* contrib/intarray/intarray--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "ALTER EXTENSION intarray UPDATE TO '1.1'" to load this file. \quit
+
+CREATE FUNCTION _int_matchsel(internal, oid, internal, integer)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE;
+
+ALTER OPERATOR @@ (_int4, query_int) SET (RESTRICT = _int_matchsel);
+ALTER OPERATOR ~~ (query_int, _int4) SET (RESTRICT = _int_matchsel);
+
+CREATE FUNCTION _int_overlap_sel(internal, oid, internal, integer)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE;
+
+CREATE FUNCTION _int_contains_sel(internal, oid, internal, integer)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE;
+
+CREATE FUNCTION _int_contained_sel(internal, oid, internal, integer)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE;
+
+CREATE FUNCTION _int_overlap_joinsel(internal, oid, internal, smallint, internal)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE;
+
+CREATE FUNCTION _int_contains_joinsel(internal, oid, internal, smallint, internal)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE;
+
+CREATE FUNCTION _int_contained_joinsel(internal, oid, internal, smallint, internal)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE;
+
+ALTER OPERATOR && (_int4, _int4) SET (RESTRICT = _int_overlap_sel, JOIN = _int_overlap_joinsel);
+ALTER OPERATOR @> (_int4, _int4) SET (RESTRICT = _int_contains_sel, JOIN = _int_contains_joinsel);
+ALTER OPERATOR <@ (_int4, _int4) SET (RESTRICT = _int_contained_sel, JOIN = _int_contained_joinsel);
+
+ALTER OPERATOR @ (_int4, _int4) SET (RESTRICT = _int_contains_sel, JOIN = _int_contains_joinsel);
+ALTER OPERATOR ~ (_int4, _int4) SET (RESTRICT = _int_contained_sel, JOIN = _int_contained_joinsel);
diff --git a/pgsql/share/extension/intarray--1.1--1.2.sql b/pgsql/share/extension/intarray--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..919340ef01efa56343ae1d81df05b9dd2694bc08
--- /dev/null
+++ b/pgsql/share/extension/intarray--1.1--1.2.sql
@@ -0,0 +1,94 @@
+/* contrib/intarray/intarray--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION intarray UPDATE TO '1.2'" to load this file. \quit
+
+-- Update procedure signatures the hard way.
+-- We use to_regprocedure() so that query doesn't fail if run against 9.6beta1 definitions,
+-- wherein the signatures have been updated already. In that case to_regprocedure() will
+-- return NULL and no updates will happen.
+DO LANGUAGE plpgsql
+$$
+DECLARE
+ my_schema pg_catalog.text := pg_catalog.quote_ident(pg_catalog.current_schema());
+ old_path pg_catalog.text := pg_catalog.current_setting('search_path');
+BEGIN
+-- for safety, transiently set search_path to just pg_catalog+pg_temp
+PERFORM pg_catalog.set_config('search_path', 'pg_catalog, pg_temp', true);
+
+UPDATE pg_catalog.pg_proc SET
+ proargtypes = pg_catalog.array_to_string(newtypes::pg_catalog.oid[], ' ')::pg_catalog.oidvector,
+ pronargs = pg_catalog.array_length(newtypes, 1)
+FROM (VALUES
+(NULL::pg_catalog.text, NULL::pg_catalog.text[]), -- establish column types
+('g_int_consistent(internal,_int4,int4,oid,internal)', '{internal,_int4,int2,oid,internal}'),
+('g_intbig_consistent(internal,internal,int4,oid,internal)', '{internal,_int4,int2,oid,internal}'),
+('g_intbig_same(internal,internal,internal)', '{SCH.intbig_gkey,SCH.intbig_gkey,internal}'),
+('ginint4_queryextract(internal,internal,int2,internal,internal,internal,internal)', '{_int4,internal,int2,internal,internal,internal,internal}'),
+('ginint4_consistent(internal,int2,internal,int4,internal,internal,internal,internal)', '{internal,int2,_int4,int4,internal,internal,internal,internal}')
+) AS update_data (oldproc, newtypestext),
+LATERAL (
+ SELECT array_agg(replace(typ, 'SCH', my_schema)::regtype) as newtypes FROM unnest(newtypestext) typ
+) ls
+WHERE oid = to_regprocedure(my_schema || '.' || replace(oldproc, 'SCH', my_schema));
+
+UPDATE pg_catalog.pg_proc SET
+ prorettype = (my_schema || '.intbig_gkey')::pg_catalog.regtype
+WHERE oid = pg_catalog.to_regprocedure(my_schema || '.g_intbig_union(internal,internal)');
+
+PERFORM pg_catalog.set_config('search_path', old_path, true);
+END
+$$;
+
+ALTER FUNCTION bqarr_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION bqarr_out(query_int) PARALLEL SAFE;
+ALTER FUNCTION querytree(query_int) PARALLEL SAFE;
+ALTER FUNCTION boolop(_int4, query_int) PARALLEL SAFE;
+ALTER FUNCTION rboolop(query_int, _int4) PARALLEL SAFE;
+ALTER FUNCTION _int_matchsel(internal, oid, internal, integer) PARALLEL SAFE;
+ALTER FUNCTION _int_contains(_int4, _int4) PARALLEL SAFE;
+ALTER FUNCTION _int_contained(_int4, _int4) PARALLEL SAFE;
+ALTER FUNCTION _int_overlap(_int4, _int4) PARALLEL SAFE;
+ALTER FUNCTION _int_same(_int4, _int4) PARALLEL SAFE;
+ALTER FUNCTION _int_different(_int4, _int4) PARALLEL SAFE;
+ALTER FUNCTION _int_union(_int4, _int4) PARALLEL SAFE;
+ALTER FUNCTION _int_inter(_int4, _int4) PARALLEL SAFE;
+ALTER FUNCTION _int_overlap_sel(internal, oid, internal, integer) PARALLEL SAFE;
+ALTER FUNCTION _int_contains_sel(internal, oid, internal, integer) PARALLEL SAFE;
+ALTER FUNCTION _int_contained_sel(internal, oid, internal, integer) PARALLEL SAFE;
+ALTER FUNCTION _int_overlap_joinsel(internal, oid, internal, smallint, internal) PARALLEL SAFE;
+ALTER FUNCTION _int_contains_joinsel(internal, oid, internal, smallint, internal) PARALLEL SAFE;
+ALTER FUNCTION _int_contained_joinsel(internal, oid, internal, smallint, internal) PARALLEL SAFE;
+ALTER FUNCTION intset(int4) PARALLEL SAFE;
+ALTER FUNCTION icount(_int4) PARALLEL SAFE;
+ALTER FUNCTION sort(_int4, text) PARALLEL SAFE;
+ALTER FUNCTION sort(_int4) PARALLEL SAFE;
+ALTER FUNCTION sort_asc(_int4) PARALLEL SAFE;
+ALTER FUNCTION sort_desc(_int4) PARALLEL SAFE;
+ALTER FUNCTION uniq(_int4) PARALLEL SAFE;
+ALTER FUNCTION idx(_int4, int4) PARALLEL SAFE;
+ALTER FUNCTION subarray(_int4, int4, int4) PARALLEL SAFE;
+ALTER FUNCTION subarray(_int4, int4) PARALLEL SAFE;
+ALTER FUNCTION intarray_push_elem(_int4, int4) PARALLEL SAFE;
+ALTER FUNCTION intarray_push_array(_int4, _int4) PARALLEL SAFE;
+ALTER FUNCTION intarray_del_elem(_int4, int4) PARALLEL SAFE;
+ALTER FUNCTION intset_union_elem(_int4, int4) PARALLEL SAFE;
+ALTER FUNCTION intset_subtract(_int4, _int4) PARALLEL SAFE;
+ALTER FUNCTION g_int_consistent(internal, _int4, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION g_int_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION g_int_decompress(internal) PARALLEL SAFE;
+ALTER FUNCTION g_int_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION g_int_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION g_int_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION g_int_same(_int4, _int4, internal) PARALLEL SAFE;
+ALTER FUNCTION _intbig_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION _intbig_out(intbig_gkey) PARALLEL SAFE;
+ALTER FUNCTION g_intbig_consistent(internal, _int4, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION g_intbig_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION g_intbig_decompress(internal) PARALLEL SAFE;
+ALTER FUNCTION g_intbig_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION g_intbig_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION g_intbig_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION g_intbig_same(intbig_gkey, intbig_gkey, internal) PARALLEL SAFE;
+ALTER FUNCTION ginint4_queryextract(_int4, internal, int2, internal, internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION ginint4_consistent(internal, int2, _int4, int4, internal, internal, internal, internal) PARALLEL SAFE;
diff --git a/pgsql/share/extension/intarray--1.2--1.3.sql b/pgsql/share/extension/intarray--1.2--1.3.sql
new file mode 100644
index 0000000000000000000000000000000000000000..790d15917708ea2c30451bf4aaf2b131ae305b61
--- /dev/null
+++ b/pgsql/share/extension/intarray--1.2--1.3.sql
@@ -0,0 +1,20 @@
+/* contrib/intarray/intarray--1.2--1.3.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION intarray UPDATE TO '1.3'" to load this file. \quit
+
+CREATE FUNCTION g_int_options(internal)
+RETURNS void
+AS 'MODULE_PATHNAME', 'g_int_options'
+LANGUAGE C IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION g_intbig_options(internal)
+RETURNS void
+AS 'MODULE_PATHNAME', 'g_intbig_options'
+LANGUAGE C IMMUTABLE PARALLEL SAFE;
+
+ALTER OPERATOR FAMILY gist__int_ops USING gist
+ADD FUNCTION 10 (_int4) g_int_options (internal);
+
+ALTER OPERATOR FAMILY gist__intbig_ops USING gist
+ADD FUNCTION 10 (_int4) g_intbig_options (internal);
diff --git a/pgsql/share/extension/intarray--1.2.sql b/pgsql/share/extension/intarray--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..f10b53db1caccf989b2b83a54781fba8ef93e210
--- /dev/null
+++ b/pgsql/share/extension/intarray--1.2.sql
@@ -0,0 +1,520 @@
+/* contrib/intarray/intarray--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION intarray" to load this file. \quit
+
+--
+-- Create the user-defined type for the 1-D integer arrays (_int4)
+--
+
+-- Query type
+CREATE FUNCTION bqarr_in(cstring)
+RETURNS query_int
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION bqarr_out(query_int)
+RETURNS cstring
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE TYPE query_int (
+ INTERNALLENGTH = -1,
+ INPUT = bqarr_in,
+ OUTPUT = bqarr_out
+);
+
+--only for debug
+CREATE FUNCTION querytree(query_int)
+RETURNS text
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+
+CREATE FUNCTION boolop(_int4, query_int)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION boolop(_int4, query_int) IS 'boolean operation with array';
+
+CREATE FUNCTION rboolop(query_int, _int4)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION rboolop(query_int, _int4) IS 'boolean operation with array';
+
+CREATE FUNCTION _int_matchsel(internal, oid, internal, integer)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE PARALLEL SAFE;
+
+CREATE OPERATOR @@ (
+ LEFTARG = _int4,
+ RIGHTARG = query_int,
+ PROCEDURE = boolop,
+ COMMUTATOR = '~~',
+ RESTRICT = _int_matchsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ~~ (
+ LEFTARG = query_int,
+ RIGHTARG = _int4,
+ PROCEDURE = rboolop,
+ COMMUTATOR = '@@',
+ RESTRICT = _int_matchsel,
+ JOIN = contjoinsel
+);
+
+
+--
+-- External C-functions for R-tree methods
+--
+
+-- Comparison methods
+
+CREATE FUNCTION _int_contains(_int4, _int4)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION _int_contains(_int4, _int4) IS 'contains';
+
+CREATE FUNCTION _int_contained(_int4, _int4)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION _int_contained(_int4, _int4) IS 'contained in';
+
+CREATE FUNCTION _int_overlap(_int4, _int4)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION _int_overlap(_int4, _int4) IS 'overlaps';
+
+CREATE FUNCTION _int_same(_int4, _int4)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION _int_same(_int4, _int4) IS 'same as';
+
+CREATE FUNCTION _int_different(_int4, _int4)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION _int_different(_int4, _int4) IS 'different';
+
+-- support routines for indexing
+
+CREATE FUNCTION _int_union(_int4, _int4)
+RETURNS _int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION _int_inter(_int4, _int4)
+RETURNS _int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION _int_overlap_sel(internal, oid, internal, integer)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE PARALLEL SAFE;
+
+CREATE FUNCTION _int_contains_sel(internal, oid, internal, integer)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE PARALLEL SAFE;
+
+CREATE FUNCTION _int_contained_sel(internal, oid, internal, integer)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE PARALLEL SAFE;
+
+CREATE FUNCTION _int_overlap_joinsel(internal, oid, internal, smallint, internal)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE PARALLEL SAFE;
+
+CREATE FUNCTION _int_contains_joinsel(internal, oid, internal, smallint, internal)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE PARALLEL SAFE;
+
+CREATE FUNCTION _int_contained_joinsel(internal, oid, internal, smallint, internal)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE PARALLEL SAFE;
+
+--
+-- OPERATORS
+--
+
+CREATE OPERATOR && (
+ LEFTARG = _int4,
+ RIGHTARG = _int4,
+ PROCEDURE = _int_overlap,
+ COMMUTATOR = '&&',
+ RESTRICT = _int_overlap_sel,
+ JOIN = _int_overlap_joinsel
+);
+
+--CREATE OPERATOR = (
+-- LEFTARG = _int4,
+-- RIGHTARG = _int4,
+-- PROCEDURE = _int_same,
+-- COMMUTATOR = '=',
+-- NEGATOR = '<>',
+-- RESTRICT = eqsel,
+-- JOIN = eqjoinsel,
+-- SORT1 = '<',
+-- SORT2 = '<'
+--);
+
+--CREATE OPERATOR <> (
+-- LEFTARG = _int4,
+-- RIGHTARG = _int4,
+-- PROCEDURE = _int_different,
+-- COMMUTATOR = '<>',
+-- NEGATOR = '=',
+-- RESTRICT = neqsel,
+-- JOIN = neqjoinsel
+--);
+
+CREATE OPERATOR @> (
+ LEFTARG = _int4,
+ RIGHTARG = _int4,
+ PROCEDURE = _int_contains,
+ COMMUTATOR = '<@',
+ RESTRICT = _int_contains_sel,
+ JOIN = _int_contains_joinsel
+);
+
+CREATE OPERATOR <@ (
+ LEFTARG = _int4,
+ RIGHTARG = _int4,
+ PROCEDURE = _int_contained,
+ COMMUTATOR = '@>',
+ RESTRICT = _int_contained_sel,
+ JOIN = _int_contained_joinsel
+);
+
+-- obsolete:
+CREATE OPERATOR @ (
+ LEFTARG = _int4,
+ RIGHTARG = _int4,
+ PROCEDURE = _int_contains,
+ COMMUTATOR = '~',
+ RESTRICT = _int_contains_sel,
+ JOIN = _int_contains_joinsel
+);
+
+CREATE OPERATOR ~ (
+ LEFTARG = _int4,
+ RIGHTARG = _int4,
+ PROCEDURE = _int_contained,
+ COMMUTATOR = '@',
+ RESTRICT = _int_contained_sel,
+ JOIN = _int_contained_joinsel
+);
+
+--------------
+CREATE FUNCTION intset(int4)
+RETURNS _int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION icount(_int4)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR # (
+ RIGHTARG = _int4,
+ PROCEDURE = icount
+);
+
+CREATE FUNCTION sort(_int4, text)
+RETURNS _int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION sort(_int4)
+RETURNS _int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION sort_asc(_int4)
+RETURNS _int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION sort_desc(_int4)
+RETURNS _int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION uniq(_int4)
+RETURNS _int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION idx(_int4, int4)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR # (
+ LEFTARG = _int4,
+ RIGHTARG = int4,
+ PROCEDURE = idx
+);
+
+CREATE FUNCTION subarray(_int4, int4, int4)
+RETURNS _int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION subarray(_int4, int4)
+RETURNS _int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION intarray_push_elem(_int4, int4)
+RETURNS _int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR + (
+ LEFTARG = _int4,
+ RIGHTARG = int4,
+ PROCEDURE = intarray_push_elem
+);
+
+CREATE FUNCTION intarray_push_array(_int4, _int4)
+RETURNS _int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR + (
+ LEFTARG = _int4,
+ RIGHTARG = _int4,
+ COMMUTATOR = +,
+ PROCEDURE = intarray_push_array
+);
+
+CREATE FUNCTION intarray_del_elem(_int4, int4)
+RETURNS _int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR - (
+ LEFTARG = _int4,
+ RIGHTARG = int4,
+ PROCEDURE = intarray_del_elem
+);
+
+CREATE FUNCTION intset_union_elem(_int4, int4)
+RETURNS _int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR | (
+ LEFTARG = _int4,
+ RIGHTARG = int4,
+ PROCEDURE = intset_union_elem
+);
+
+CREATE OPERATOR | (
+ LEFTARG = _int4,
+ RIGHTARG = _int4,
+ COMMUTATOR = |,
+ PROCEDURE = _int_union
+);
+
+CREATE FUNCTION intset_subtract(_int4, _int4)
+RETURNS _int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR - (
+ LEFTARG = _int4,
+ RIGHTARG = _int4,
+ PROCEDURE = intset_subtract
+);
+
+CREATE OPERATOR & (
+ LEFTARG = _int4,
+ RIGHTARG = _int4,
+ COMMUTATOR = &,
+ PROCEDURE = _int_inter
+);
+--------------
+
+-- define the GiST support methods
+CREATE FUNCTION g_int_consistent(internal,_int4,smallint,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION g_int_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION g_int_decompress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION g_int_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION g_int_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION g_int_union(internal, internal)
+RETURNS _int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION g_int_same(_int4, _int4, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+
+-- Create the operator class for indexing
+
+CREATE OPERATOR CLASS gist__int_ops
+DEFAULT FOR TYPE _int4 USING gist AS
+ OPERATOR 3 &&,
+ OPERATOR 6 = (anyarray, anyarray),
+ OPERATOR 7 @>,
+ OPERATOR 8 <@,
+ OPERATOR 13 @,
+ OPERATOR 14 ~,
+ OPERATOR 20 @@ (_int4, query_int),
+ FUNCTION 1 g_int_consistent (internal, _int4, smallint, oid, internal),
+ FUNCTION 2 g_int_union (internal, internal),
+ FUNCTION 3 g_int_compress (internal),
+ FUNCTION 4 g_int_decompress (internal),
+ FUNCTION 5 g_int_penalty (internal, internal, internal),
+ FUNCTION 6 g_int_picksplit (internal, internal),
+ FUNCTION 7 g_int_same (_int4, _int4, internal);
+
+
+---------------------------------------------
+-- intbig
+---------------------------------------------
+-- define the GiST support methods
+
+CREATE FUNCTION _intbig_in(cstring)
+RETURNS intbig_gkey
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION _intbig_out(intbig_gkey)
+RETURNS cstring
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE TYPE intbig_gkey (
+ INTERNALLENGTH = -1,
+ INPUT = _intbig_in,
+ OUTPUT = _intbig_out
+);
+
+CREATE FUNCTION g_intbig_consistent(internal,_int4,smallint,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION g_intbig_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION g_intbig_decompress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION g_intbig_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION g_intbig_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION g_intbig_union(internal, internal)
+RETURNS intbig_gkey
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION g_intbig_same(intbig_gkey, intbig_gkey, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+-- register the opclass for indexing (not as default)
+
+CREATE OPERATOR CLASS gist__intbig_ops
+FOR TYPE _int4 USING gist
+AS
+ OPERATOR 3 &&,
+ OPERATOR 6 = (anyarray, anyarray),
+ OPERATOR 7 @>,
+ OPERATOR 8 <@,
+ OPERATOR 13 @,
+ OPERATOR 14 ~,
+ OPERATOR 20 @@ (_int4, query_int),
+ FUNCTION 1 g_intbig_consistent (internal, _int4, smallint, oid, internal),
+ FUNCTION 2 g_intbig_union (internal, internal),
+ FUNCTION 3 g_intbig_compress (internal),
+ FUNCTION 4 g_intbig_decompress (internal),
+ FUNCTION 5 g_intbig_penalty (internal, internal, internal),
+ FUNCTION 6 g_intbig_picksplit (internal, internal),
+ FUNCTION 7 g_intbig_same (intbig_gkey, intbig_gkey, internal),
+ STORAGE intbig_gkey;
+
+--GIN
+
+CREATE FUNCTION ginint4_queryextract(_int4, internal, int2, internal, internal, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION ginint4_consistent(internal, int2, _int4, int4, internal, internal, internal, internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE OPERATOR CLASS gin__int_ops
+FOR TYPE _int4 USING gin
+AS
+ OPERATOR 3 &&,
+ OPERATOR 6 = (anyarray, anyarray),
+ OPERATOR 7 @>,
+ OPERATOR 8 <@,
+ OPERATOR 13 @,
+ OPERATOR 14 ~,
+ OPERATOR 20 @@ (_int4, query_int),
+ FUNCTION 1 btint4cmp (int4, int4),
+ FUNCTION 2 ginarrayextract (anyarray, internal, internal),
+ FUNCTION 3 ginint4_queryextract (_int4, internal, int2, internal, internal, internal, internal),
+ FUNCTION 4 ginint4_consistent (internal, int2, _int4, int4, internal, internal, internal, internal),
+ STORAGE int4;
diff --git a/pgsql/share/extension/intarray--1.3--1.4.sql b/pgsql/share/extension/intarray--1.3--1.4.sql
new file mode 100644
index 0000000000000000000000000000000000000000..3fbebb541737f3ab40a8c02715947dfe7069014b
--- /dev/null
+++ b/pgsql/share/extension/intarray--1.3--1.4.sql
@@ -0,0 +1,21 @@
+/* contrib/intarray/intarray--1.3--1.4.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION intarray UPDATE TO '1.4'" to load this file. \quit
+
+-- Remove <@ from the GiST opclasses, as it's not usefully indexable
+-- due to mishandling of empty arrays. (It's OK in GIN.)
+
+ALTER OPERATOR FAMILY gist__int_ops USING gist
+DROP OPERATOR 8 (_int4, _int4);
+
+ALTER OPERATOR FAMILY gist__intbig_ops USING gist
+DROP OPERATOR 8 (_int4, _int4);
+
+-- Likewise for the old spelling ~.
+
+ALTER OPERATOR FAMILY gist__int_ops USING gist
+DROP OPERATOR 14 (_int4, _int4);
+
+ALTER OPERATOR FAMILY gist__intbig_ops USING gist
+DROP OPERATOR 14 (_int4, _int4);
diff --git a/pgsql/share/extension/intarray--1.4--1.5.sql b/pgsql/share/extension/intarray--1.4--1.5.sql
new file mode 100644
index 0000000000000000000000000000000000000000..2454ebcddc2270457c35aac868132f0f0e646c0e
--- /dev/null
+++ b/pgsql/share/extension/intarray--1.4--1.5.sql
@@ -0,0 +1,8 @@
+/* contrib/intarray/intarray--1.4--1.5.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION intarray UPDATE TO '1.5'" to load this file. \quit
+
+-- Remove @ and ~
+DROP OPERATOR @ (_int4, _int4);
+DROP OPERATOR ~ (_int4, _int4);
diff --git a/pgsql/share/extension/intarray.control b/pgsql/share/extension/intarray.control
new file mode 100644
index 0000000000000000000000000000000000000000..c3ff753e2cfd99ab92dd25894db20256a6fbf183
--- /dev/null
+++ b/pgsql/share/extension/intarray.control
@@ -0,0 +1,6 @@
+# intarray extension
+comment = 'functions, operators, and index support for 1-D arrays of integers'
+default_version = '1.5'
+module_pathname = '$libdir/_int'
+relocatable = true
+trusted = true
diff --git a/pgsql/share/extension/isn--1.0--1.1.sql b/pgsql/share/extension/isn--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..6f1ccb076b91bf83f950b5ef183921e62932fda7
--- /dev/null
+++ b/pgsql/share/extension/isn--1.0--1.1.sql
@@ -0,0 +1,250 @@
+/* contrib/isn/isn--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION isn UPDATE TO '1.1'" to load this file. \quit
+
+ALTER FUNCTION ean13_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION ean13_out(ean13) PARALLEL SAFE;
+ALTER FUNCTION isbn13_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION ean13_out(isbn13) PARALLEL SAFE;
+ALTER FUNCTION ismn13_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION ean13_out(ismn13) PARALLEL SAFE;
+ALTER FUNCTION issn13_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION ean13_out(issn13) PARALLEL SAFE;
+ALTER FUNCTION isbn_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION isn_out(isbn) PARALLEL SAFE;
+ALTER FUNCTION ismn_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION isn_out(ismn) PARALLEL SAFE;
+ALTER FUNCTION issn_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION isn_out(issn) PARALLEL SAFE;
+ALTER FUNCTION upc_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION isn_out(upc) PARALLEL SAFE;
+ALTER FUNCTION isnlt(ean13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnle(ean13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isneq(ean13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnge(ean13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isngt(ean13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnne(ean13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnlt(ean13, isbn13) PARALLEL SAFE;
+ALTER FUNCTION isnle(ean13, isbn13) PARALLEL SAFE;
+ALTER FUNCTION isneq(ean13, isbn13) PARALLEL SAFE;
+ALTER FUNCTION isnge(ean13, isbn13) PARALLEL SAFE;
+ALTER FUNCTION isngt(ean13, isbn13) PARALLEL SAFE;
+ALTER FUNCTION isnne(ean13, isbn13) PARALLEL SAFE;
+ALTER FUNCTION isnlt(ean13, ismn13) PARALLEL SAFE;
+ALTER FUNCTION isnle(ean13, ismn13) PARALLEL SAFE;
+ALTER FUNCTION isneq(ean13, ismn13) PARALLEL SAFE;
+ALTER FUNCTION isnge(ean13, ismn13) PARALLEL SAFE;
+ALTER FUNCTION isngt(ean13, ismn13) PARALLEL SAFE;
+ALTER FUNCTION isnne(ean13, ismn13) PARALLEL SAFE;
+ALTER FUNCTION isnlt(ean13, issn13) PARALLEL SAFE;
+ALTER FUNCTION isnle(ean13, issn13) PARALLEL SAFE;
+ALTER FUNCTION isneq(ean13, issn13) PARALLEL SAFE;
+ALTER FUNCTION isnge(ean13, issn13) PARALLEL SAFE;
+ALTER FUNCTION isngt(ean13, issn13) PARALLEL SAFE;
+ALTER FUNCTION isnne(ean13, issn13) PARALLEL SAFE;
+ALTER FUNCTION isnlt(ean13, isbn) PARALLEL SAFE;
+ALTER FUNCTION isnle(ean13, isbn) PARALLEL SAFE;
+ALTER FUNCTION isneq(ean13, isbn) PARALLEL SAFE;
+ALTER FUNCTION isnge(ean13, isbn) PARALLEL SAFE;
+ALTER FUNCTION isngt(ean13, isbn) PARALLEL SAFE;
+ALTER FUNCTION isnne(ean13, isbn) PARALLEL SAFE;
+ALTER FUNCTION isnlt(ean13, ismn) PARALLEL SAFE;
+ALTER FUNCTION isnle(ean13, ismn) PARALLEL SAFE;
+ALTER FUNCTION isneq(ean13, ismn) PARALLEL SAFE;
+ALTER FUNCTION isnge(ean13, ismn) PARALLEL SAFE;
+ALTER FUNCTION isngt(ean13, ismn) PARALLEL SAFE;
+ALTER FUNCTION isnne(ean13, ismn) PARALLEL SAFE;
+ALTER FUNCTION isnlt(ean13, issn) PARALLEL SAFE;
+ALTER FUNCTION isnle(ean13, issn) PARALLEL SAFE;
+ALTER FUNCTION isneq(ean13, issn) PARALLEL SAFE;
+ALTER FUNCTION isnge(ean13, issn) PARALLEL SAFE;
+ALTER FUNCTION isngt(ean13, issn) PARALLEL SAFE;
+ALTER FUNCTION isnne(ean13, issn) PARALLEL SAFE;
+ALTER FUNCTION isnlt(ean13, upc) PARALLEL SAFE;
+ALTER FUNCTION isnle(ean13, upc) PARALLEL SAFE;
+ALTER FUNCTION isneq(ean13, upc) PARALLEL SAFE;
+ALTER FUNCTION isnge(ean13, upc) PARALLEL SAFE;
+ALTER FUNCTION isngt(ean13, upc) PARALLEL SAFE;
+ALTER FUNCTION isnne(ean13, upc) PARALLEL SAFE;
+ALTER FUNCTION isnlt(isbn13, isbn13) PARALLEL SAFE;
+ALTER FUNCTION isnle(isbn13, isbn13) PARALLEL SAFE;
+ALTER FUNCTION isneq(isbn13, isbn13) PARALLEL SAFE;
+ALTER FUNCTION isnge(isbn13, isbn13) PARALLEL SAFE;
+ALTER FUNCTION isngt(isbn13, isbn13) PARALLEL SAFE;
+ALTER FUNCTION isnne(isbn13, isbn13) PARALLEL SAFE;
+ALTER FUNCTION isnlt(isbn13, isbn) PARALLEL SAFE;
+ALTER FUNCTION isnle(isbn13, isbn) PARALLEL SAFE;
+ALTER FUNCTION isneq(isbn13, isbn) PARALLEL SAFE;
+ALTER FUNCTION isnge(isbn13, isbn) PARALLEL SAFE;
+ALTER FUNCTION isngt(isbn13, isbn) PARALLEL SAFE;
+ALTER FUNCTION isnne(isbn13, isbn) PARALLEL SAFE;
+ALTER FUNCTION isnlt(isbn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnle(isbn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isneq(isbn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnge(isbn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isngt(isbn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnne(isbn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnlt(isbn, isbn) PARALLEL SAFE;
+ALTER FUNCTION isnle(isbn, isbn) PARALLEL SAFE;
+ALTER FUNCTION isneq(isbn, isbn) PARALLEL SAFE;
+ALTER FUNCTION isnge(isbn, isbn) PARALLEL SAFE;
+ALTER FUNCTION isngt(isbn, isbn) PARALLEL SAFE;
+ALTER FUNCTION isnne(isbn, isbn) PARALLEL SAFE;
+ALTER FUNCTION isnlt(isbn, isbn13) PARALLEL SAFE;
+ALTER FUNCTION isnle(isbn, isbn13) PARALLEL SAFE;
+ALTER FUNCTION isneq(isbn, isbn13) PARALLEL SAFE;
+ALTER FUNCTION isnge(isbn, isbn13) PARALLEL SAFE;
+ALTER FUNCTION isngt(isbn, isbn13) PARALLEL SAFE;
+ALTER FUNCTION isnne(isbn, isbn13) PARALLEL SAFE;
+ALTER FUNCTION isnlt(isbn, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnle(isbn, ean13) PARALLEL SAFE;
+ALTER FUNCTION isneq(isbn, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnge(isbn, ean13) PARALLEL SAFE;
+ALTER FUNCTION isngt(isbn, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnne(isbn, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnlt(ismn13, ismn13) PARALLEL SAFE;
+ALTER FUNCTION isnle(ismn13, ismn13) PARALLEL SAFE;
+ALTER FUNCTION isneq(ismn13, ismn13) PARALLEL SAFE;
+ALTER FUNCTION isnge(ismn13, ismn13) PARALLEL SAFE;
+ALTER FUNCTION isngt(ismn13, ismn13) PARALLEL SAFE;
+ALTER FUNCTION isnne(ismn13, ismn13) PARALLEL SAFE;
+ALTER FUNCTION isnlt(ismn13, ismn) PARALLEL SAFE;
+ALTER FUNCTION isnle(ismn13, ismn) PARALLEL SAFE;
+ALTER FUNCTION isneq(ismn13, ismn) PARALLEL SAFE;
+ALTER FUNCTION isnge(ismn13, ismn) PARALLEL SAFE;
+ALTER FUNCTION isngt(ismn13, ismn) PARALLEL SAFE;
+ALTER FUNCTION isnne(ismn13, ismn) PARALLEL SAFE;
+ALTER FUNCTION isnlt(ismn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnle(ismn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isneq(ismn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnge(ismn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isngt(ismn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnne(ismn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnlt(ismn, ismn) PARALLEL SAFE;
+ALTER FUNCTION isnle(ismn, ismn) PARALLEL SAFE;
+ALTER FUNCTION isneq(ismn, ismn) PARALLEL SAFE;
+ALTER FUNCTION isnge(ismn, ismn) PARALLEL SAFE;
+ALTER FUNCTION isngt(ismn, ismn) PARALLEL SAFE;
+ALTER FUNCTION isnne(ismn, ismn) PARALLEL SAFE;
+ALTER FUNCTION isnlt(ismn, ismn13) PARALLEL SAFE;
+ALTER FUNCTION isnle(ismn, ismn13) PARALLEL SAFE;
+ALTER FUNCTION isneq(ismn, ismn13) PARALLEL SAFE;
+ALTER FUNCTION isnge(ismn, ismn13) PARALLEL SAFE;
+ALTER FUNCTION isngt(ismn, ismn13) PARALLEL SAFE;
+ALTER FUNCTION isnne(ismn, ismn13) PARALLEL SAFE;
+ALTER FUNCTION isnlt(ismn, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnle(ismn, ean13) PARALLEL SAFE;
+ALTER FUNCTION isneq(ismn, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnge(ismn, ean13) PARALLEL SAFE;
+ALTER FUNCTION isngt(ismn, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnne(ismn, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnlt(issn13, issn13) PARALLEL SAFE;
+ALTER FUNCTION isnle(issn13, issn13) PARALLEL SAFE;
+ALTER FUNCTION isneq(issn13, issn13) PARALLEL SAFE;
+ALTER FUNCTION isnge(issn13, issn13) PARALLEL SAFE;
+ALTER FUNCTION isngt(issn13, issn13) PARALLEL SAFE;
+ALTER FUNCTION isnne(issn13, issn13) PARALLEL SAFE;
+ALTER FUNCTION isnlt(issn13, issn) PARALLEL SAFE;
+ALTER FUNCTION isnle(issn13, issn) PARALLEL SAFE;
+ALTER FUNCTION isneq(issn13, issn) PARALLEL SAFE;
+ALTER FUNCTION isnge(issn13, issn) PARALLEL SAFE;
+ALTER FUNCTION isngt(issn13, issn) PARALLEL SAFE;
+ALTER FUNCTION isnne(issn13, issn) PARALLEL SAFE;
+ALTER FUNCTION isnlt(issn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnle(issn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isneq(issn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnge(issn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isngt(issn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnne(issn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnlt(issn, issn) PARALLEL SAFE;
+ALTER FUNCTION isnle(issn, issn) PARALLEL SAFE;
+ALTER FUNCTION isneq(issn, issn) PARALLEL SAFE;
+ALTER FUNCTION isnge(issn, issn) PARALLEL SAFE;
+ALTER FUNCTION isngt(issn, issn) PARALLEL SAFE;
+ALTER FUNCTION isnne(issn, issn) PARALLEL SAFE;
+ALTER FUNCTION isnlt(issn, issn13) PARALLEL SAFE;
+ALTER FUNCTION isnle(issn, issn13) PARALLEL SAFE;
+ALTER FUNCTION isneq(issn, issn13) PARALLEL SAFE;
+ALTER FUNCTION isnge(issn, issn13) PARALLEL SAFE;
+ALTER FUNCTION isngt(issn, issn13) PARALLEL SAFE;
+ALTER FUNCTION isnne(issn, issn13) PARALLEL SAFE;
+ALTER FUNCTION isnlt(issn, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnle(issn, ean13) PARALLEL SAFE;
+ALTER FUNCTION isneq(issn, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnge(issn, ean13) PARALLEL SAFE;
+ALTER FUNCTION isngt(issn, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnne(issn, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnlt(upc, upc) PARALLEL SAFE;
+ALTER FUNCTION isnle(upc, upc) PARALLEL SAFE;
+ALTER FUNCTION isneq(upc, upc) PARALLEL SAFE;
+ALTER FUNCTION isnge(upc, upc) PARALLEL SAFE;
+ALTER FUNCTION isngt(upc, upc) PARALLEL SAFE;
+ALTER FUNCTION isnne(upc, upc) PARALLEL SAFE;
+ALTER FUNCTION isnlt(upc, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnle(upc, ean13) PARALLEL SAFE;
+ALTER FUNCTION isneq(upc, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnge(upc, ean13) PARALLEL SAFE;
+ALTER FUNCTION isngt(upc, ean13) PARALLEL SAFE;
+ALTER FUNCTION isnne(upc, ean13) PARALLEL SAFE;
+ALTER FUNCTION btean13cmp(ean13, ean13) PARALLEL SAFE;
+ALTER FUNCTION hashean13(ean13) PARALLEL SAFE;
+ALTER FUNCTION btean13cmp(ean13, isbn13) PARALLEL SAFE;
+ALTER FUNCTION btean13cmp(ean13, ismn13) PARALLEL SAFE;
+ALTER FUNCTION btean13cmp(ean13, issn13) PARALLEL SAFE;
+ALTER FUNCTION btean13cmp(ean13, isbn) PARALLEL SAFE;
+ALTER FUNCTION btean13cmp(ean13, ismn) PARALLEL SAFE;
+ALTER FUNCTION btean13cmp(ean13, issn) PARALLEL SAFE;
+ALTER FUNCTION btean13cmp(ean13, upc) PARALLEL SAFE;
+ALTER FUNCTION btisbn13cmp(isbn13, isbn13) PARALLEL SAFE;
+ALTER FUNCTION hashisbn13(isbn13) PARALLEL SAFE;
+ALTER FUNCTION btisbn13cmp(isbn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION btisbn13cmp(isbn13, isbn) PARALLEL SAFE;
+ALTER FUNCTION btisbncmp(isbn, isbn) PARALLEL SAFE;
+ALTER FUNCTION hashisbn(isbn) PARALLEL SAFE;
+ALTER FUNCTION btisbncmp(isbn, ean13) PARALLEL SAFE;
+ALTER FUNCTION btisbncmp(isbn, isbn13) PARALLEL SAFE;
+ALTER FUNCTION btismn13cmp(ismn13, ismn13) PARALLEL SAFE;
+ALTER FUNCTION hashismn13(ismn13) PARALLEL SAFE;
+ALTER FUNCTION btismn13cmp(ismn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION btismn13cmp(ismn13, ismn) PARALLEL SAFE;
+ALTER FUNCTION btismncmp(ismn, ismn) PARALLEL SAFE;
+ALTER FUNCTION hashismn(ismn) PARALLEL SAFE;
+ALTER FUNCTION btismncmp(ismn, ean13) PARALLEL SAFE;
+ALTER FUNCTION btismncmp(ismn, ismn13) PARALLEL SAFE;
+ALTER FUNCTION btissn13cmp(issn13, issn13) PARALLEL SAFE;
+ALTER FUNCTION hashissn13(issn13) PARALLEL SAFE;
+ALTER FUNCTION btissn13cmp(issn13, ean13) PARALLEL SAFE;
+ALTER FUNCTION btissn13cmp(issn13, issn) PARALLEL SAFE;
+ALTER FUNCTION btissncmp(issn, issn) PARALLEL SAFE;
+ALTER FUNCTION hashissn(issn) PARALLEL SAFE;
+ALTER FUNCTION btissncmp(issn, ean13) PARALLEL SAFE;
+ALTER FUNCTION btissncmp(issn, issn13) PARALLEL SAFE;
+ALTER FUNCTION btupccmp(upc, upc) PARALLEL SAFE;
+ALTER FUNCTION hashupc(upc) PARALLEL SAFE;
+ALTER FUNCTION btupccmp(upc, ean13) PARALLEL SAFE;
+ALTER FUNCTION isbn13(ean13) PARALLEL SAFE;
+ALTER FUNCTION ismn13(ean13) PARALLEL SAFE;
+ALTER FUNCTION issn13(ean13) PARALLEL SAFE;
+ALTER FUNCTION isbn(ean13) PARALLEL SAFE;
+ALTER FUNCTION ismn(ean13) PARALLEL SAFE;
+ALTER FUNCTION issn(ean13) PARALLEL SAFE;
+ALTER FUNCTION upc(ean13) PARALLEL SAFE;
+ALTER FUNCTION make_valid(ean13) PARALLEL SAFE;
+ALTER FUNCTION make_valid(isbn13) PARALLEL SAFE;
+ALTER FUNCTION make_valid(ismn13) PARALLEL SAFE;
+ALTER FUNCTION make_valid(issn13) PARALLEL SAFE;
+ALTER FUNCTION make_valid(isbn) PARALLEL SAFE;
+ALTER FUNCTION make_valid(ismn) PARALLEL SAFE;
+ALTER FUNCTION make_valid(issn) PARALLEL SAFE;
+ALTER FUNCTION make_valid(upc) PARALLEL SAFE;
+ALTER FUNCTION is_valid(ean13) PARALLEL SAFE;
+ALTER FUNCTION is_valid(isbn13) PARALLEL SAFE;
+ALTER FUNCTION is_valid(ismn13) PARALLEL SAFE;
+ALTER FUNCTION is_valid(issn13) PARALLEL SAFE;
+ALTER FUNCTION is_valid(isbn) PARALLEL SAFE;
+ALTER FUNCTION is_valid(ismn) PARALLEL SAFE;
+ALTER FUNCTION is_valid(issn) PARALLEL SAFE;
+ALTER FUNCTION is_valid(upc) PARALLEL SAFE;
+ALTER FUNCTION isn_weak(boolean) PARALLEL RESTRICTED;
+ALTER FUNCTION isn_weak() PARALLEL RESTRICTED;
diff --git a/pgsql/share/extension/isn--1.1--1.2.sql b/pgsql/share/extension/isn--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..d626a5f44dc01bbb87d09fd6bdde24abff297799
--- /dev/null
+++ b/pgsql/share/extension/isn--1.1--1.2.sql
@@ -0,0 +1,228 @@
+/* contrib/isn/isn--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION isn UPDATE TO '1.2'" to load this file. \quit
+
+ALTER OPERATOR <= (ean13, ean13) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (ean13, ean13) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (ean13, isbn13) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (ean13, isbn13) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (isbn13, ean13) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (isbn13, ean13) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (ean13, ismn13) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (ean13, ismn13) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (ismn13, ean13) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (ismn13, ean13) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (ean13, issn13) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (ean13, issn13) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (ean13, isbn) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (ean13, isbn) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (ean13, ismn) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (ean13, ismn) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (ean13, issn) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (ean13, issn) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (ean13, upc) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (ean13, upc) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (isbn13, isbn13) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (isbn13, isbn13) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (isbn13, isbn) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (isbn13, isbn) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (isbn, isbn) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (isbn, isbn) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (isbn, isbn13) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (isbn, isbn13) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (isbn, ean13) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (isbn, ean13) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (ismn13, ismn13) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (ismn13, ismn13) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (ismn13, ismn) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (ismn13, ismn) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (ismn, ismn) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (ismn, ismn) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (ismn, ismn13) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (ismn, ismn13) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (ismn, ean13) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (ismn, ean13) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (issn13, issn13) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (issn13, issn13) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (issn13, issn) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (issn13, issn) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (issn13, ean13) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (issn13, ean13) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (issn, issn) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (issn, issn) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (issn, issn13) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (issn, issn13) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (issn, ean13) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (issn, ean13) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (upc, upc) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (upc, upc) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
+
+ALTER OPERATOR <= (upc, ean13) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel);
+
+ALTER OPERATOR >= (upc, ean13) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel);
diff --git a/pgsql/share/extension/isn--1.1.sql b/pgsql/share/extension/isn--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..520696141d9cea103f78c17652c3be7d2de6eaae
--- /dev/null
+++ b/pgsql/share/extension/isn--1.1.sql
@@ -0,0 +1,3434 @@
+/* contrib/isn/isn--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION isn" to load this file. \quit
+
+-- Example:
+-- create table test ( id isbn );
+-- insert into test values('978-0-393-04002-9');
+--
+-- select isbn('978-0-393-04002-9');
+-- select isbn13('0-901690-54-6');
+--
+
+--
+-- Input and output functions and data types:
+--
+---------------------------------------------------
+CREATE FUNCTION ean13_in(cstring)
+ RETURNS ean13
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION ean13_out(ean13)
+ RETURNS cstring
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE TYPE ean13 (
+ INPUT = ean13_in,
+ OUTPUT = ean13_out,
+ LIKE = pg_catalog.int8
+);
+COMMENT ON TYPE ean13
+ IS 'International European Article Number (EAN13)';
+
+CREATE FUNCTION isbn13_in(cstring)
+ RETURNS isbn13
+ AS 'MODULE_PATHNAME', 'isbn_in'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION ean13_out(isbn13)
+ RETURNS cstring
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE TYPE isbn13 (
+ INPUT = isbn13_in,
+ OUTPUT = ean13_out,
+ LIKE = pg_catalog.int8
+);
+COMMENT ON TYPE isbn13
+ IS 'International Standard Book Number 13 (ISBN13)';
+
+CREATE FUNCTION ismn13_in(cstring)
+ RETURNS ismn13
+ AS 'MODULE_PATHNAME', 'ismn_in'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION ean13_out(ismn13)
+ RETURNS cstring
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE TYPE ismn13 (
+ INPUT = ismn13_in,
+ OUTPUT = ean13_out,
+ LIKE = pg_catalog.int8
+);
+COMMENT ON TYPE ismn13
+ IS 'International Standard Music Number 13 (ISMN13)';
+
+CREATE FUNCTION issn13_in(cstring)
+ RETURNS issn13
+ AS 'MODULE_PATHNAME', 'issn_in'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION ean13_out(issn13)
+ RETURNS cstring
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE TYPE issn13 (
+ INPUT = issn13_in,
+ OUTPUT = ean13_out,
+ LIKE = pg_catalog.int8
+);
+COMMENT ON TYPE issn13
+ IS 'International Standard Serial Number 13 (ISSN13)';
+
+-- Short format:
+
+CREATE FUNCTION isbn_in(cstring)
+ RETURNS isbn
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isn_out(isbn)
+ RETURNS cstring
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE TYPE isbn (
+ INPUT = isbn_in,
+ OUTPUT = isn_out,
+ LIKE = pg_catalog.int8
+);
+COMMENT ON TYPE isbn
+ IS 'International Standard Book Number (ISBN)';
+
+CREATE FUNCTION ismn_in(cstring)
+ RETURNS ismn
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isn_out(ismn)
+ RETURNS cstring
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE TYPE ismn (
+ INPUT = ismn_in,
+ OUTPUT = isn_out,
+ LIKE = pg_catalog.int8
+);
+COMMENT ON TYPE ismn
+ IS 'International Standard Music Number (ISMN)';
+
+CREATE FUNCTION issn_in(cstring)
+ RETURNS issn
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isn_out(issn)
+ RETURNS cstring
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE TYPE issn (
+ INPUT = issn_in,
+ OUTPUT = isn_out,
+ LIKE = pg_catalog.int8
+);
+COMMENT ON TYPE issn
+ IS 'International Standard Serial Number (ISSN)';
+
+CREATE FUNCTION upc_in(cstring)
+ RETURNS upc
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isn_out(upc)
+ RETURNS cstring
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE TYPE upc (
+ INPUT = upc_in,
+ OUTPUT = isn_out,
+ LIKE = pg_catalog.int8
+);
+COMMENT ON TYPE upc
+ IS 'Universal Product Code (UPC)';
+
+--
+-- Operator functions:
+--
+---------------------------------------------------
+-- EAN13:
+CREATE FUNCTION isnlt(ean13, ean13)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(ean13, ean13)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(ean13, ean13)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(ean13, ean13)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(ean13, ean13)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(ean13, ean13)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION isnlt(ean13, isbn13)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(ean13, isbn13)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(ean13, isbn13)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(ean13, isbn13)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(ean13, isbn13)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(ean13, isbn13)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION isnlt(ean13, ismn13)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(ean13, ismn13)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(ean13, ismn13)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(ean13, ismn13)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(ean13, ismn13)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(ean13, ismn13)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION isnlt(ean13, issn13)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(ean13, issn13)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(ean13, issn13)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(ean13, issn13)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(ean13, issn13)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(ean13, issn13)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION isnlt(ean13, isbn)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(ean13, isbn)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(ean13, isbn)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(ean13, isbn)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(ean13, isbn)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(ean13, isbn)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION isnlt(ean13, ismn)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(ean13, ismn)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(ean13, ismn)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(ean13, ismn)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(ean13, ismn)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(ean13, ismn)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION isnlt(ean13, issn)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(ean13, issn)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(ean13, issn)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(ean13, issn)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(ean13, issn)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(ean13, issn)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION isnlt(ean13, upc)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(ean13, upc)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(ean13, upc)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(ean13, upc)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(ean13, upc)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(ean13, upc)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+---------------------------------------------------
+-- ISBN13:
+CREATE FUNCTION isnlt(isbn13, isbn13)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(isbn13, isbn13)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(isbn13, isbn13)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(isbn13, isbn13)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(isbn13, isbn13)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(isbn13, isbn13)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION isnlt(isbn13, isbn)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(isbn13, isbn)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(isbn13, isbn)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(isbn13, isbn)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(isbn13, isbn)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(isbn13, isbn)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION isnlt(isbn13, ean13)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(isbn13, ean13)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(isbn13, ean13)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(isbn13, ean13)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(isbn13, ean13)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(isbn13, ean13)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+---------------------------------------------------
+-- ISBN:
+CREATE FUNCTION isnlt(isbn, isbn)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(isbn, isbn)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(isbn, isbn)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(isbn, isbn)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(isbn, isbn)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(isbn, isbn)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION isnlt(isbn, isbn13)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(isbn, isbn13)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(isbn, isbn13)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(isbn, isbn13)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(isbn, isbn13)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(isbn, isbn13)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION isnlt(isbn, ean13)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(isbn, ean13)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(isbn, ean13)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(isbn, ean13)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(isbn, ean13)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(isbn, ean13)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+---------------------------------------------------
+-- ISMN13:
+CREATE FUNCTION isnlt(ismn13, ismn13)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(ismn13, ismn13)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(ismn13, ismn13)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(ismn13, ismn13)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(ismn13, ismn13)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(ismn13, ismn13)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION isnlt(ismn13, ismn)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(ismn13, ismn)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(ismn13, ismn)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(ismn13, ismn)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(ismn13, ismn)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(ismn13, ismn)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION isnlt(ismn13, ean13)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(ismn13, ean13)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(ismn13, ean13)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(ismn13, ean13)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(ismn13, ean13)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(ismn13, ean13)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+---------------------------------------------------
+-- ISMN:
+CREATE FUNCTION isnlt(ismn, ismn)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(ismn, ismn)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(ismn, ismn)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(ismn, ismn)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(ismn, ismn)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(ismn, ismn)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION isnlt(ismn, ismn13)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(ismn, ismn13)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(ismn, ismn13)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(ismn, ismn13)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(ismn, ismn13)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(ismn, ismn13)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION isnlt(ismn, ean13)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(ismn, ean13)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(ismn, ean13)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(ismn, ean13)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(ismn, ean13)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(ismn, ean13)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+---------------------------------------------------
+-- ISSN13:
+CREATE FUNCTION isnlt(issn13, issn13)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(issn13, issn13)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(issn13, issn13)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(issn13, issn13)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(issn13, issn13)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(issn13, issn13)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION isnlt(issn13, issn)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(issn13, issn)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(issn13, issn)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(issn13, issn)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(issn13, issn)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(issn13, issn)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION isnlt(issn13, ean13)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(issn13, ean13)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(issn13, ean13)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(issn13, ean13)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(issn13, ean13)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(issn13, ean13)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+---------------------------------------------------
+-- ISSN:
+CREATE FUNCTION isnlt(issn, issn)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(issn, issn)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(issn, issn)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(issn, issn)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(issn, issn)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(issn, issn)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION isnlt(issn, issn13)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(issn, issn13)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(issn, issn13)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(issn, issn13)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(issn, issn13)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(issn, issn13)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION isnlt(issn, ean13)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(issn, ean13)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(issn, ean13)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(issn, ean13)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(issn, ean13)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(issn, ean13)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+---------------------------------------------------
+-- UPC:
+CREATE FUNCTION isnlt(upc, upc)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(upc, upc)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(upc, upc)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(upc, upc)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(upc, upc)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(upc, upc)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION isnlt(upc, ean13)
+ RETURNS boolean
+ AS 'int8lt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnle(upc, ean13)
+ RETURNS boolean
+ AS 'int8le'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isneq(upc, ean13)
+ RETURNS boolean
+ AS 'int8eq'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnge(upc, ean13)
+ RETURNS boolean
+ AS 'int8ge'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isngt(upc, ean13)
+ RETURNS boolean
+ AS 'int8gt'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION isnne(upc, ean13)
+ RETURNS boolean
+ AS 'int8ne'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+--
+-- Now the operators:
+--
+
+--
+-- EAN13 operators:
+--
+---------------------------------------------------
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = ean13,
+ RIGHTARG = ean13,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = ean13,
+ RIGHTARG = ean13,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = ean13,
+ RIGHTARG = ean13,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = ean13,
+ RIGHTARG = ean13,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = ean13,
+ RIGHTARG = ean13,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = ean13,
+ RIGHTARG = ean13,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = ean13,
+ RIGHTARG = isbn13,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = ean13,
+ RIGHTARG = isbn13,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = ean13,
+ RIGHTARG = isbn13,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = ean13,
+ RIGHTARG = isbn13,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = ean13,
+ RIGHTARG = isbn13,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = ean13,
+ RIGHTARG = isbn13,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = isbn13,
+ RIGHTARG = ean13,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = isbn13,
+ RIGHTARG = ean13,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = isbn13,
+ RIGHTARG = ean13,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = isbn13,
+ RIGHTARG = ean13,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = isbn13,
+ RIGHTARG = ean13,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = isbn13,
+ RIGHTARG = ean13,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = ean13,
+ RIGHTARG = ismn13,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = ean13,
+ RIGHTARG = ismn13,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = ean13,
+ RIGHTARG = ismn13,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = ean13,
+ RIGHTARG = ismn13,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel);
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = ean13,
+ RIGHTARG = ismn13,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel);
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = ean13,
+ RIGHTARG = ismn13,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = ismn13,
+ RIGHTARG = ean13,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = ismn13,
+ RIGHTARG = ean13,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = ismn13,
+ RIGHTARG = ean13,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = ismn13,
+ RIGHTARG = ean13,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = ismn13,
+ RIGHTARG = ean13,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = ismn13,
+ RIGHTARG = ean13,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = ean13,
+ RIGHTARG = issn13,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = ean13,
+ RIGHTARG = issn13,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = ean13,
+ RIGHTARG = issn13,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = ean13,
+ RIGHTARG = issn13,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel);
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = ean13,
+ RIGHTARG = issn13,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel);
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = ean13,
+ RIGHTARG = issn13,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = ean13,
+ RIGHTARG = isbn,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = ean13,
+ RIGHTARG = isbn,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = ean13,
+ RIGHTARG = isbn,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = ean13,
+ RIGHTARG = isbn,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel);
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = ean13,
+ RIGHTARG = isbn,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel);
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = ean13,
+ RIGHTARG = isbn,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = ean13,
+ RIGHTARG = ismn,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = ean13,
+ RIGHTARG = ismn,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = ean13,
+ RIGHTARG = ismn,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = ean13,
+ RIGHTARG = ismn,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel);
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = ean13,
+ RIGHTARG = ismn,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel);
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = ean13,
+ RIGHTARG = ismn,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = ean13,
+ RIGHTARG = issn,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = ean13,
+ RIGHTARG = issn,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = ean13,
+ RIGHTARG = issn,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = ean13,
+ RIGHTARG = issn,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel);
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = ean13,
+ RIGHTARG = issn,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel);
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = ean13,
+ RIGHTARG = issn,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = ean13,
+ RIGHTARG = upc,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = ean13,
+ RIGHTARG = upc,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = ean13,
+ RIGHTARG = upc,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = ean13,
+ RIGHTARG = upc,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel);
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = ean13,
+ RIGHTARG = upc,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel);
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = ean13,
+ RIGHTARG = upc,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+--
+-- ISBN13 operators:
+--
+---------------------------------------------------
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = isbn13,
+ RIGHTARG = isbn13,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = isbn13,
+ RIGHTARG = isbn13,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = isbn13,
+ RIGHTARG = isbn13,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = isbn13,
+ RIGHTARG = isbn13,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = isbn13,
+ RIGHTARG = isbn13,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = isbn13,
+ RIGHTARG = isbn13,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = isbn13,
+ RIGHTARG = isbn,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = isbn13,
+ RIGHTARG = isbn,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = isbn13,
+ RIGHTARG = isbn,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = isbn13,
+ RIGHTARG = isbn,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = isbn13,
+ RIGHTARG = isbn,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = isbn13,
+ RIGHTARG = isbn,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+--
+-- ISBN operators:
+--
+---------------------------------------------------
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = isbn,
+ RIGHTARG = isbn,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = isbn,
+ RIGHTARG = isbn,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = isbn,
+ RIGHTARG = isbn,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = isbn,
+ RIGHTARG = isbn,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = isbn,
+ RIGHTARG = isbn,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = isbn,
+ RIGHTARG = isbn,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = isbn,
+ RIGHTARG = isbn13,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = isbn,
+ RIGHTARG = isbn13,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = isbn,
+ RIGHTARG = isbn13,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = isbn,
+ RIGHTARG = isbn13,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = isbn,
+ RIGHTARG = isbn13,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = isbn,
+ RIGHTARG = isbn13,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = isbn,
+ RIGHTARG = ean13,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = isbn,
+ RIGHTARG = ean13,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = isbn,
+ RIGHTARG = ean13,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = isbn,
+ RIGHTARG = ean13,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = isbn,
+ RIGHTARG = ean13,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = isbn,
+ RIGHTARG = ean13,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+--
+-- ISMN13 operators:
+--
+---------------------------------------------------
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = ismn13,
+ RIGHTARG = ismn13,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = ismn13,
+ RIGHTARG = ismn13,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = ismn13,
+ RIGHTARG = ismn13,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = ismn13,
+ RIGHTARG = ismn13,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = ismn13,
+ RIGHTARG = ismn13,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = ismn13,
+ RIGHTARG = ismn13,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = ismn13,
+ RIGHTARG = ismn,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = ismn13,
+ RIGHTARG = ismn,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = ismn13,
+ RIGHTARG = ismn,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = ismn13,
+ RIGHTARG = ismn,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = ismn13,
+ RIGHTARG = ismn,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = ismn13,
+ RIGHTARG = ismn,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+--
+-- ISMN operators:
+--
+---------------------------------------------------
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = ismn,
+ RIGHTARG = ismn,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = ismn,
+ RIGHTARG = ismn,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = ismn,
+ RIGHTARG = ismn,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = ismn,
+ RIGHTARG = ismn,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = ismn,
+ RIGHTARG = ismn,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = ismn,
+ RIGHTARG = ismn,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = ismn,
+ RIGHTARG = ismn13,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = ismn,
+ RIGHTARG = ismn13,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = ismn,
+ RIGHTARG = ismn13,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = ismn,
+ RIGHTARG = ismn13,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = ismn,
+ RIGHTARG = ismn13,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = ismn,
+ RIGHTARG = ismn13,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = ismn,
+ RIGHTARG = ean13,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = ismn,
+ RIGHTARG = ean13,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = ismn,
+ RIGHTARG = ean13,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = ismn,
+ RIGHTARG = ean13,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = ismn,
+ RIGHTARG = ean13,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = ismn,
+ RIGHTARG = ean13,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+--
+-- ISSN13 operators:
+--
+---------------------------------------------------
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = issn13,
+ RIGHTARG = issn13,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = issn13,
+ RIGHTARG = issn13,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = issn13,
+ RIGHTARG = issn13,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = issn13,
+ RIGHTARG = issn13,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = issn13,
+ RIGHTARG = issn13,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = issn13,
+ RIGHTARG = issn13,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = issn13,
+ RIGHTARG = issn,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = issn13,
+ RIGHTARG = issn,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = issn13,
+ RIGHTARG = issn,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = issn13,
+ RIGHTARG = issn,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = issn13,
+ RIGHTARG = issn,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = issn13,
+ RIGHTARG = issn,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = issn13,
+ RIGHTARG = ean13,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = issn13,
+ RIGHTARG = ean13,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = issn13,
+ RIGHTARG = ean13,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = issn13,
+ RIGHTARG = ean13,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = issn13,
+ RIGHTARG = ean13,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = issn13,
+ RIGHTARG = ean13,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+--
+-- ISSN operators:
+--
+---------------------------------------------------
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = issn,
+ RIGHTARG = issn,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = issn,
+ RIGHTARG = issn,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = issn,
+ RIGHTARG = issn,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = issn,
+ RIGHTARG = issn,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = issn,
+ RIGHTARG = issn,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = issn,
+ RIGHTARG = issn,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = issn,
+ RIGHTARG = issn13,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = issn,
+ RIGHTARG = issn13,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = issn,
+ RIGHTARG = issn13,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = issn,
+ RIGHTARG = issn13,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = issn,
+ RIGHTARG = issn13,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = issn,
+ RIGHTARG = issn13,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = issn,
+ RIGHTARG = ean13,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = issn,
+ RIGHTARG = ean13,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = issn,
+ RIGHTARG = ean13,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = issn,
+ RIGHTARG = ean13,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = issn,
+ RIGHTARG = ean13,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = issn,
+ RIGHTARG = ean13,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+--
+-- UPC operators:
+--
+---------------------------------------------------
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = upc,
+ RIGHTARG = upc,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = upc,
+ RIGHTARG = upc,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = upc,
+ RIGHTARG = upc,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = upc,
+ RIGHTARG = upc,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = upc,
+ RIGHTARG = upc,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = upc,
+ RIGHTARG = upc,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+CREATE OPERATOR < (
+ PROCEDURE = isnlt,
+ LEFTARG = upc,
+ RIGHTARG = ean13,
+ COMMUTATOR = >,
+ NEGATOR = >=,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR <= (
+ PROCEDURE = isnle,
+ LEFTARG = upc,
+ RIGHTARG = ean13,
+ COMMUTATOR = >=,
+ NEGATOR = >,
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel);
+CREATE OPERATOR = (
+ PROCEDURE = isneq,
+ LEFTARG = upc,
+ RIGHTARG = ean13,
+ COMMUTATOR = =,
+ NEGATOR = <>,
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES,
+ HASHES);
+CREATE OPERATOR >= (
+ PROCEDURE = isnge,
+ LEFTARG = upc,
+ RIGHTARG = ean13,
+ COMMUTATOR = <=,
+ NEGATOR = <,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR > (
+ PROCEDURE = isngt,
+ LEFTARG = upc,
+ RIGHTARG = ean13,
+ COMMUTATOR = <,
+ NEGATOR = <=,
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel );
+CREATE OPERATOR <> (
+ PROCEDURE = isnne,
+ LEFTARG = upc,
+ RIGHTARG = ean13,
+ COMMUTATOR = <>,
+ NEGATOR = =,
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel);
+
+--
+-- Operator families for the various operator classes:
+--
+---------------------------------------------------
+
+CREATE OPERATOR FAMILY isn_ops USING btree;
+CREATE OPERATOR FAMILY isn_ops USING hash;
+
+--
+-- Operator classes:
+--
+---------------------------------------------------
+-- EAN13:
+CREATE FUNCTION btean13cmp(ean13, ean13)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE OPERATOR CLASS ean13_ops DEFAULT
+ FOR TYPE ean13 USING btree FAMILY isn_ops AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 btean13cmp(ean13, ean13);
+
+CREATE FUNCTION hashean13(ean13)
+ RETURNS int4
+ AS 'hashint8'
+ LANGUAGE 'internal' IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE OPERATOR CLASS ean13_ops DEFAULT
+ FOR TYPE ean13 USING hash FAMILY isn_ops AS
+ OPERATOR 1 =,
+ FUNCTION 1 hashean13(ean13);
+
+-- EAN13 vs other types:
+CREATE FUNCTION btean13cmp(ean13, isbn13)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION btean13cmp(ean13, ismn13)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION btean13cmp(ean13, issn13)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION btean13cmp(ean13, isbn)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION btean13cmp(ean13, ismn)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION btean13cmp(ean13, issn)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION btean13cmp(ean13, upc)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+ALTER OPERATOR FAMILY isn_ops USING btree ADD
+ OPERATOR 1 < (ean13, isbn13),
+ OPERATOR 1 < (ean13, ismn13),
+ OPERATOR 1 < (ean13, issn13),
+ OPERATOR 1 < (ean13, isbn),
+ OPERATOR 1 < (ean13, ismn),
+ OPERATOR 1 < (ean13, issn),
+ OPERATOR 1 < (ean13, upc),
+ OPERATOR 2 <= (ean13, isbn13),
+ OPERATOR 2 <= (ean13, ismn13),
+ OPERATOR 2 <= (ean13, issn13),
+ OPERATOR 2 <= (ean13, isbn),
+ OPERATOR 2 <= (ean13, ismn),
+ OPERATOR 2 <= (ean13, issn),
+ OPERATOR 2 <= (ean13, upc),
+ OPERATOR 3 = (ean13, isbn13),
+ OPERATOR 3 = (ean13, ismn13),
+ OPERATOR 3 = (ean13, issn13),
+ OPERATOR 3 = (ean13, isbn),
+ OPERATOR 3 = (ean13, ismn),
+ OPERATOR 3 = (ean13, issn),
+ OPERATOR 3 = (ean13, upc),
+ OPERATOR 4 >= (ean13, isbn13),
+ OPERATOR 4 >= (ean13, ismn13),
+ OPERATOR 4 >= (ean13, issn13),
+ OPERATOR 4 >= (ean13, isbn),
+ OPERATOR 4 >= (ean13, ismn),
+ OPERATOR 4 >= (ean13, issn),
+ OPERATOR 4 >= (ean13, upc),
+ OPERATOR 5 > (ean13, isbn13),
+ OPERATOR 5 > (ean13, ismn13),
+ OPERATOR 5 > (ean13, issn13),
+ OPERATOR 5 > (ean13, isbn),
+ OPERATOR 5 > (ean13, ismn),
+ OPERATOR 5 > (ean13, issn),
+ OPERATOR 5 > (ean13, upc),
+ FUNCTION 1 btean13cmp(ean13, isbn13),
+ FUNCTION 1 btean13cmp(ean13, ismn13),
+ FUNCTION 1 btean13cmp(ean13, issn13),
+ FUNCTION 1 btean13cmp(ean13, isbn),
+ FUNCTION 1 btean13cmp(ean13, ismn),
+ FUNCTION 1 btean13cmp(ean13, issn),
+ FUNCTION 1 btean13cmp(ean13, upc);
+
+ALTER OPERATOR FAMILY isn_ops USING hash ADD
+ OPERATOR 1 = (ean13, isbn13),
+ OPERATOR 1 = (ean13, ismn13),
+ OPERATOR 1 = (ean13, issn13),
+ OPERATOR 1 = (ean13, isbn),
+ OPERATOR 1 = (ean13, ismn),
+ OPERATOR 1 = (ean13, issn),
+ OPERATOR 1 = (ean13, upc);
+
+---------------------------------------------------
+-- ISBN13:
+CREATE FUNCTION btisbn13cmp(isbn13, isbn13)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE OPERATOR CLASS isbn13_ops DEFAULT
+ FOR TYPE isbn13 USING btree FAMILY isn_ops AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 btisbn13cmp(isbn13, isbn13);
+
+CREATE FUNCTION hashisbn13(isbn13)
+ RETURNS int4
+ AS 'hashint8'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE OPERATOR CLASS isbn13_ops DEFAULT
+ FOR TYPE isbn13 USING hash FAMILY isn_ops AS
+ OPERATOR 1 =,
+ FUNCTION 1 hashisbn13(isbn13);
+
+-- ISBN13 vs other types:
+CREATE FUNCTION btisbn13cmp(isbn13, ean13)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION btisbn13cmp(isbn13, isbn)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+ALTER OPERATOR FAMILY isn_ops USING btree ADD
+ OPERATOR 1 < (isbn13, ean13),
+ OPERATOR 1 < (isbn13, isbn),
+ OPERATOR 2 <= (isbn13, ean13),
+ OPERATOR 2 <= (isbn13, isbn),
+ OPERATOR 3 = (isbn13, ean13),
+ OPERATOR 3 = (isbn13, isbn),
+ OPERATOR 4 >= (isbn13, ean13),
+ OPERATOR 4 >= (isbn13, isbn),
+ OPERATOR 5 > (isbn13, ean13),
+ OPERATOR 5 > (isbn13, isbn),
+ FUNCTION 1 btisbn13cmp(isbn13, ean13),
+ FUNCTION 1 btisbn13cmp(isbn13, isbn);
+
+ALTER OPERATOR FAMILY isn_ops USING hash ADD
+ OPERATOR 1 = (isbn13, ean13),
+ OPERATOR 1 = (isbn13, isbn);
+
+---------------------------------------------------
+-- ISBN:
+CREATE FUNCTION btisbncmp(isbn, isbn)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE OPERATOR CLASS isbn_ops DEFAULT
+ FOR TYPE isbn USING btree FAMILY isn_ops AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 btisbncmp(isbn, isbn);
+
+CREATE FUNCTION hashisbn(isbn)
+ RETURNS int4
+ AS 'hashint8'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE OPERATOR CLASS isbn_ops DEFAULT
+ FOR TYPE isbn USING hash FAMILY isn_ops AS
+ OPERATOR 1 =,
+ FUNCTION 1 hashisbn(isbn);
+
+-- ISBN vs other types:
+CREATE FUNCTION btisbncmp(isbn, ean13)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION btisbncmp(isbn, isbn13)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+ALTER OPERATOR FAMILY isn_ops USING btree ADD
+ OPERATOR 1 < (isbn, ean13),
+ OPERATOR 1 < (isbn, isbn13),
+ OPERATOR 2 <= (isbn, ean13),
+ OPERATOR 2 <= (isbn, isbn13),
+ OPERATOR 3 = (isbn, ean13),
+ OPERATOR 3 = (isbn, isbn13),
+ OPERATOR 4 >= (isbn, ean13),
+ OPERATOR 4 >= (isbn, isbn13),
+ OPERATOR 5 > (isbn, ean13),
+ OPERATOR 5 > (isbn, isbn13),
+ FUNCTION 1 btisbncmp(isbn, ean13),
+ FUNCTION 1 btisbncmp(isbn, isbn13);
+
+ALTER OPERATOR FAMILY isn_ops USING hash ADD
+ OPERATOR 1 = (isbn, ean13),
+ OPERATOR 1 = (isbn, isbn13);
+
+---------------------------------------------------
+-- ISMN13:
+CREATE FUNCTION btismn13cmp(ismn13, ismn13)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE OPERATOR CLASS ismn13_ops DEFAULT
+ FOR TYPE ismn13 USING btree FAMILY isn_ops AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 btismn13cmp(ismn13, ismn13);
+
+CREATE FUNCTION hashismn13(ismn13)
+ RETURNS int4
+ AS 'hashint8'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE OPERATOR CLASS ismn13_ops DEFAULT
+ FOR TYPE ismn13 USING hash FAMILY isn_ops AS
+ OPERATOR 1 =,
+ FUNCTION 1 hashismn13(ismn13);
+
+-- ISMN13 vs other types:
+CREATE FUNCTION btismn13cmp(ismn13, ean13)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION btismn13cmp(ismn13, ismn)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+ALTER OPERATOR FAMILY isn_ops USING btree ADD
+ OPERATOR 1 < (ismn13, ean13),
+ OPERATOR 1 < (ismn13, ismn),
+ OPERATOR 2 <= (ismn13, ean13),
+ OPERATOR 2 <= (ismn13, ismn),
+ OPERATOR 3 = (ismn13, ean13),
+ OPERATOR 3 = (ismn13, ismn),
+ OPERATOR 4 >= (ismn13, ean13),
+ OPERATOR 4 >= (ismn13, ismn),
+ OPERATOR 5 > (ismn13, ean13),
+ OPERATOR 5 > (ismn13, ismn),
+ FUNCTION 1 btismn13cmp(ismn13, ean13),
+ FUNCTION 1 btismn13cmp(ismn13, ismn);
+
+ALTER OPERATOR FAMILY isn_ops USING hash ADD
+ OPERATOR 1 = (ismn13, ean13),
+ OPERATOR 1 = (ismn13, ismn);
+
+---------------------------------------------------
+-- ISMN:
+CREATE FUNCTION btismncmp(ismn, ismn)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE OPERATOR CLASS ismn_ops DEFAULT
+ FOR TYPE ismn USING btree FAMILY isn_ops AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 btismncmp(ismn, ismn);
+
+CREATE FUNCTION hashismn(ismn)
+ RETURNS int4
+ AS 'hashint8'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE OPERATOR CLASS ismn_ops DEFAULT
+ FOR TYPE ismn USING hash FAMILY isn_ops AS
+ OPERATOR 1 =,
+ FUNCTION 1 hashismn(ismn);
+
+-- ISMN vs other types:
+CREATE FUNCTION btismncmp(ismn, ean13)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION btismncmp(ismn, ismn13)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+ALTER OPERATOR FAMILY isn_ops USING btree ADD
+ OPERATOR 1 < (ismn, ean13),
+ OPERATOR 1 < (ismn, ismn13),
+ OPERATOR 2 <= (ismn, ean13),
+ OPERATOR 2 <= (ismn, ismn13),
+ OPERATOR 3 = (ismn, ean13),
+ OPERATOR 3 = (ismn, ismn13),
+ OPERATOR 4 >= (ismn, ean13),
+ OPERATOR 4 >= (ismn, ismn13),
+ OPERATOR 5 > (ismn, ean13),
+ OPERATOR 5 > (ismn, ismn13),
+ FUNCTION 1 btismncmp(ismn, ean13),
+ FUNCTION 1 btismncmp(ismn, ismn13);
+
+ALTER OPERATOR FAMILY isn_ops USING hash ADD
+ OPERATOR 1 = (ismn, ean13),
+ OPERATOR 1 = (ismn, ismn13);
+
+---------------------------------------------------
+-- ISSN13:
+CREATE FUNCTION btissn13cmp(issn13, issn13)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE OPERATOR CLASS issn13_ops DEFAULT
+ FOR TYPE issn13 USING btree FAMILY isn_ops AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 btissn13cmp(issn13, issn13);
+
+CREATE FUNCTION hashissn13(issn13)
+ RETURNS int4
+ AS 'hashint8'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE OPERATOR CLASS issn13_ops DEFAULT
+ FOR TYPE issn13 USING hash FAMILY isn_ops AS
+ OPERATOR 1 =,
+ FUNCTION 1 hashissn13(issn13);
+
+-- ISSN13 vs other types:
+CREATE FUNCTION btissn13cmp(issn13, ean13)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION btissn13cmp(issn13, issn)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+ALTER OPERATOR FAMILY isn_ops USING btree ADD
+ OPERATOR 1 < (issn13, ean13),
+ OPERATOR 1 < (issn13, issn),
+ OPERATOR 2 <= (issn13, ean13),
+ OPERATOR 2 <= (issn13, issn),
+ OPERATOR 3 = (issn13, ean13),
+ OPERATOR 3 = (issn13, issn),
+ OPERATOR 4 >= (issn13, ean13),
+ OPERATOR 4 >= (issn13, issn),
+ OPERATOR 5 > (issn13, ean13),
+ OPERATOR 5 > (issn13, issn),
+ FUNCTION 1 btissn13cmp(issn13, ean13),
+ FUNCTION 1 btissn13cmp(issn13, issn);
+
+ALTER OPERATOR FAMILY isn_ops USING hash ADD
+ OPERATOR 1 = (issn13, ean13),
+ OPERATOR 1 = (issn13, issn);
+
+---------------------------------------------------
+-- ISSN:
+CREATE FUNCTION btissncmp(issn, issn)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE OPERATOR CLASS issn_ops DEFAULT
+ FOR TYPE issn USING btree FAMILY isn_ops AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 btissncmp(issn, issn);
+
+CREATE FUNCTION hashissn(issn)
+ RETURNS int4
+ AS 'hashint8'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE OPERATOR CLASS issn_ops DEFAULT
+ FOR TYPE issn USING hash FAMILY isn_ops AS
+ OPERATOR 1 =,
+ FUNCTION 1 hashissn(issn);
+
+-- ISSN vs other types:
+CREATE FUNCTION btissncmp(issn, ean13)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION btissncmp(issn, issn13)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+ALTER OPERATOR FAMILY isn_ops USING btree ADD
+ OPERATOR 1 < (issn, ean13),
+ OPERATOR 1 < (issn, issn13),
+ OPERATOR 2 <= (issn, ean13),
+ OPERATOR 2 <= (issn, issn13),
+ OPERATOR 3 = (issn, ean13),
+ OPERATOR 3 = (issn, issn13),
+ OPERATOR 4 >= (issn, ean13),
+ OPERATOR 4 >= (issn, issn13),
+ OPERATOR 5 > (issn, ean13),
+ OPERATOR 5 > (issn, issn13),
+ FUNCTION 1 btissncmp(issn, ean13),
+ FUNCTION 1 btissncmp(issn, issn13);
+
+ALTER OPERATOR FAMILY isn_ops USING hash ADD
+ OPERATOR 1 = (issn, ean13),
+ OPERATOR 1 = (issn, issn13);
+
+---------------------------------------------------
+-- UPC:
+CREATE FUNCTION btupccmp(upc, upc)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE OPERATOR CLASS upc_ops DEFAULT
+ FOR TYPE upc USING btree FAMILY isn_ops AS
+ OPERATOR 1 <,
+ OPERATOR 2 <=,
+ OPERATOR 3 =,
+ OPERATOR 4 >=,
+ OPERATOR 5 >,
+ FUNCTION 1 btupccmp(upc, upc);
+
+CREATE FUNCTION hashupc(upc)
+ RETURNS int4
+ AS 'hashint8'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE OPERATOR CLASS upc_ops DEFAULT
+ FOR TYPE upc USING hash FAMILY isn_ops AS
+ OPERATOR 1 =,
+ FUNCTION 1 hashupc(upc);
+
+-- UPC vs other types:
+CREATE FUNCTION btupccmp(upc, ean13)
+ RETURNS int4
+ AS 'btint8cmp'
+ LANGUAGE 'internal'
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+ALTER OPERATOR FAMILY isn_ops USING btree ADD
+ OPERATOR 1 < (upc, ean13),
+ OPERATOR 2 <= (upc, ean13),
+ OPERATOR 3 = (upc, ean13),
+ OPERATOR 4 >= (upc, ean13),
+ OPERATOR 5 > (upc, ean13),
+ FUNCTION 1 btupccmp(upc, ean13);
+
+ALTER OPERATOR FAMILY isn_ops USING hash ADD
+ OPERATOR 1 = (upc, ean13);
+
+--
+-- Type casts:
+--
+---------------------------------------------------
+CREATE FUNCTION isbn13(ean13)
+RETURNS isbn13
+AS 'MODULE_PATHNAME', 'isbn_cast_from_ean13'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+CREATE FUNCTION ismn13(ean13)
+RETURNS ismn13
+AS 'MODULE_PATHNAME', 'ismn_cast_from_ean13'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+CREATE FUNCTION issn13(ean13)
+RETURNS issn13
+AS 'MODULE_PATHNAME', 'issn_cast_from_ean13'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+CREATE FUNCTION isbn(ean13)
+RETURNS isbn
+AS 'MODULE_PATHNAME', 'isbn_cast_from_ean13'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+CREATE FUNCTION ismn(ean13)
+RETURNS ismn
+AS 'MODULE_PATHNAME', 'ismn_cast_from_ean13'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+CREATE FUNCTION issn(ean13)
+RETURNS issn
+AS 'MODULE_PATHNAME', 'issn_cast_from_ean13'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+CREATE FUNCTION upc(ean13)
+RETURNS upc
+AS 'MODULE_PATHNAME', 'upc_cast_from_ean13'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+
+CREATE CAST (ean13 AS isbn13) WITH FUNCTION isbn13(ean13);
+CREATE CAST (ean13 AS isbn) WITH FUNCTION isbn(ean13);
+CREATE CAST (ean13 AS ismn13) WITH FUNCTION ismn13(ean13);
+CREATE CAST (ean13 AS ismn) WITH FUNCTION ismn(ean13);
+CREATE CAST (ean13 AS issn13) WITH FUNCTION issn13(ean13);
+CREATE CAST (ean13 AS issn) WITH FUNCTION issn(ean13);
+CREATE CAST (ean13 AS upc) WITH FUNCTION upc(ean13);
+
+CREATE CAST (isbn13 AS ean13) WITHOUT FUNCTION AS ASSIGNMENT;
+CREATE CAST (isbn AS ean13) WITHOUT FUNCTION AS ASSIGNMENT;
+CREATE CAST (ismn13 AS ean13) WITHOUT FUNCTION AS ASSIGNMENT;
+CREATE CAST (ismn AS ean13) WITHOUT FUNCTION AS ASSIGNMENT;
+CREATE CAST (issn13 AS ean13) WITHOUT FUNCTION AS ASSIGNMENT;
+CREATE CAST (issn AS ean13) WITHOUT FUNCTION AS ASSIGNMENT;
+CREATE CAST (upc AS ean13) WITHOUT FUNCTION AS ASSIGNMENT;
+
+CREATE CAST (isbn AS isbn13) WITHOUT FUNCTION AS ASSIGNMENT;
+CREATE CAST (isbn13 AS isbn) WITHOUT FUNCTION AS ASSIGNMENT;
+CREATE CAST (ismn AS ismn13) WITHOUT FUNCTION AS ASSIGNMENT;
+CREATE CAST (ismn13 AS ismn) WITHOUT FUNCTION AS ASSIGNMENT;
+CREATE CAST (issn AS issn13) WITHOUT FUNCTION AS ASSIGNMENT;
+CREATE CAST (issn13 AS issn) WITHOUT FUNCTION AS ASSIGNMENT;
+
+--
+-- Validation stuff for lose types:
+--
+CREATE FUNCTION make_valid(ean13)
+ RETURNS ean13
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION make_valid(isbn13)
+ RETURNS isbn13
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION make_valid(ismn13)
+ RETURNS ismn13
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION make_valid(issn13)
+ RETURNS issn13
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION make_valid(isbn)
+ RETURNS isbn
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION make_valid(ismn)
+ RETURNS ismn
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION make_valid(issn)
+ RETURNS issn
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION make_valid(upc)
+ RETURNS upc
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+CREATE FUNCTION is_valid(ean13)
+ RETURNS boolean
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION is_valid(isbn13)
+ RETURNS boolean
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION is_valid(ismn13)
+ RETURNS boolean
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION is_valid(issn13)
+ RETURNS boolean
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION is_valid(isbn)
+ RETURNS boolean
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION is_valid(ismn)
+ RETURNS boolean
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION is_valid(issn)
+ RETURNS boolean
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+CREATE FUNCTION is_valid(upc)
+ RETURNS boolean
+ AS 'MODULE_PATHNAME'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL SAFE;
+
+--
+-- isn_weak(boolean) - Sets the weak input mode.
+-- This function is intended for testing use only!
+--
+CREATE FUNCTION isn_weak(boolean)
+ RETURNS boolean
+ AS 'MODULE_PATHNAME', 'accept_weak_input'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL RESTRICTED;
+
+--
+-- isn_weak() - Gets the weak input mode status
+--
+CREATE FUNCTION isn_weak()
+ RETURNS boolean
+ AS 'MODULE_PATHNAME', 'weak_input_status'
+ LANGUAGE C
+ IMMUTABLE STRICT
+ PARALLEL RESTRICTED;
diff --git a/pgsql/share/extension/isn.control b/pgsql/share/extension/isn.control
new file mode 100644
index 0000000000000000000000000000000000000000..1cb5e2b23403619fbb0dcbcc1b47be79cc99284d
--- /dev/null
+++ b/pgsql/share/extension/isn.control
@@ -0,0 +1,6 @@
+# isn extension
+comment = 'data types for international product numbering standards'
+default_version = '1.2'
+module_pathname = '$libdir/isn'
+relocatable = true
+trusted = true
diff --git a/pgsql/share/extension/jsonb_plperl--1.0.sql b/pgsql/share/extension/jsonb_plperl--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..c7964ba07c23022e9d9026ba66b3231430b0f0b6
--- /dev/null
+++ b/pgsql/share/extension/jsonb_plperl--1.0.sql
@@ -0,0 +1,19 @@
+/* contrib/jsonb_plperl/jsonb_plperl--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION jsonb_plperl" to load this file. \quit
+
+CREATE FUNCTION jsonb_to_plperl(val internal) RETURNS internal
+LANGUAGE C STRICT IMMUTABLE
+AS 'MODULE_PATHNAME';
+
+CREATE FUNCTION plperl_to_jsonb(val internal) RETURNS jsonb
+LANGUAGE C STRICT IMMUTABLE
+AS 'MODULE_PATHNAME';
+
+CREATE TRANSFORM FOR jsonb LANGUAGE plperl (
+ FROM SQL WITH FUNCTION jsonb_to_plperl(internal),
+ TO SQL WITH FUNCTION plperl_to_jsonb(internal)
+);
+
+COMMENT ON TRANSFORM FOR jsonb LANGUAGE plperl IS 'transform between jsonb and Perl';
diff --git a/pgsql/share/extension/jsonb_plperl.control b/pgsql/share/extension/jsonb_plperl.control
new file mode 100644
index 0000000000000000000000000000000000000000..4acee93a2fcc563dc951c270ec8592555d66ceeb
--- /dev/null
+++ b/pgsql/share/extension/jsonb_plperl.control
@@ -0,0 +1,7 @@
+# jsonb_plperl extension
+comment = 'transform between jsonb and plperl'
+default_version = '1.0'
+module_pathname = '$libdir/jsonb_plperl'
+relocatable = true
+trusted = true
+requires = 'plperl'
diff --git a/pgsql/share/extension/jsonb_plperlu--1.0.sql b/pgsql/share/extension/jsonb_plperlu--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..aa84b37bef728807cbf8f5b71c3fad973844464d
--- /dev/null
+++ b/pgsql/share/extension/jsonb_plperlu--1.0.sql
@@ -0,0 +1,19 @@
+/* contrib/jsonb_plperl/jsonb_plperlu--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION jsonb_plperlu" to load this file. \quit
+
+CREATE FUNCTION jsonb_to_plperlu(val internal) RETURNS internal
+LANGUAGE C STRICT IMMUTABLE
+AS 'MODULE_PATHNAME', 'jsonb_to_plperl';
+
+CREATE FUNCTION plperlu_to_jsonb(val internal) RETURNS jsonb
+LANGUAGE C STRICT IMMUTABLE
+AS 'MODULE_PATHNAME', 'plperl_to_jsonb';
+
+CREATE TRANSFORM FOR jsonb LANGUAGE plperlu (
+ FROM SQL WITH FUNCTION jsonb_to_plperlu(internal),
+ TO SQL WITH FUNCTION plperlu_to_jsonb(internal)
+);
+
+COMMENT ON TRANSFORM FOR jsonb LANGUAGE plperlu IS 'transform between jsonb and Perl';
diff --git a/pgsql/share/extension/jsonb_plperlu.control b/pgsql/share/extension/jsonb_plperlu.control
new file mode 100644
index 0000000000000000000000000000000000000000..946fc514c510d24b651ef00e87272f045619176b
--- /dev/null
+++ b/pgsql/share/extension/jsonb_plperlu.control
@@ -0,0 +1,6 @@
+# jsonb_plperl extension
+comment = 'transform between jsonb and plperlu'
+default_version = '1.0'
+module_pathname = '$libdir/jsonb_plperl'
+relocatable = true
+requires = 'plperlu'
diff --git a/pgsql/share/extension/jsonb_plpython3u--1.0.sql b/pgsql/share/extension/jsonb_plpython3u--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..60c34c0ea80243a19848e137ebacb8bf550d00a0
--- /dev/null
+++ b/pgsql/share/extension/jsonb_plpython3u--1.0.sql
@@ -0,0 +1,19 @@
+/* contrib/jsonb_plpython/jsonb_plpython3u--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION jsonb_plpython3u" to load this file. \quit
+
+CREATE FUNCTION jsonb_to_plpython3(val internal) RETURNS internal
+LANGUAGE C STRICT IMMUTABLE
+AS 'MODULE_PATHNAME', 'jsonb_to_plpython';
+
+CREATE FUNCTION plpython3_to_jsonb(val internal) RETURNS jsonb
+LANGUAGE C STRICT IMMUTABLE
+AS 'MODULE_PATHNAME', 'plpython_to_jsonb';
+
+CREATE TRANSFORM FOR jsonb LANGUAGE plpython3u (
+ FROM SQL WITH FUNCTION jsonb_to_plpython3(internal),
+ TO SQL WITH FUNCTION plpython3_to_jsonb(internal)
+);
+
+COMMENT ON TRANSFORM FOR jsonb LANGUAGE plpython3u IS 'transform between jsonb and Python';
diff --git a/pgsql/share/extension/jsonb_plpython3u.control b/pgsql/share/extension/jsonb_plpython3u.control
new file mode 100644
index 0000000000000000000000000000000000000000..f701e80fa2e66657c2dfe3f62d570397f2bb9893
--- /dev/null
+++ b/pgsql/share/extension/jsonb_plpython3u.control
@@ -0,0 +1,6 @@
+# jsonb_plpython3u extension
+comment = 'transform between jsonb and plpython3u'
+default_version = '1.0'
+module_pathname = '$libdir/jsonb_plpython3'
+relocatable = true
+requires = 'plpython3u'
diff --git a/pgsql/share/extension/lo--1.0--1.1.sql b/pgsql/share/extension/lo--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..10a4ea2937192162408fb2e43518d4ab08112ab4
--- /dev/null
+++ b/pgsql/share/extension/lo--1.0--1.1.sql
@@ -0,0 +1,6 @@
+/* contrib/lo/lo--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION lo UPDATE TO '1.1'" to load this file. \quit
+
+ALTER FUNCTION lo_oid(lo) PARALLEL SAFE;
diff --git a/pgsql/share/extension/lo--1.1.sql b/pgsql/share/extension/lo--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..c817cb484f2d9c24a12c5caaeed00f9741a16cf1
--- /dev/null
+++ b/pgsql/share/extension/lo--1.1.sql
@@ -0,0 +1,25 @@
+/* contrib/lo/lo--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION lo" to load this file. \quit
+
+--
+-- Create the data type ... now just a domain over OID
+--
+
+CREATE DOMAIN lo AS pg_catalog.oid;
+
+--
+-- For backwards compatibility, define a function named lo_oid.
+--
+-- The other functions that formerly existed are not needed because
+-- the implicit casts between a domain and its underlying type handle them.
+--
+CREATE FUNCTION lo_oid(lo) RETURNS pg_catalog.oid AS
+'SELECT $1::pg_catalog.oid' LANGUAGE SQL STRICT IMMUTABLE PARALLEL SAFE;
+
+-- This is used in triggers
+CREATE FUNCTION lo_manage()
+RETURNS pg_catalog.trigger
+AS 'MODULE_PATHNAME'
+LANGUAGE C;
diff --git a/pgsql/share/extension/lo.control b/pgsql/share/extension/lo.control
new file mode 100644
index 0000000000000000000000000000000000000000..f73f8b5fae5e72789b4f4433089b95962eb13508
--- /dev/null
+++ b/pgsql/share/extension/lo.control
@@ -0,0 +1,6 @@
+# lo extension
+comment = 'Large Object maintenance'
+default_version = '1.1'
+module_pathname = '$libdir/lo'
+relocatable = true
+trusted = true
diff --git a/pgsql/share/extension/ltree--1.0--1.1.sql b/pgsql/share/extension/ltree--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..2ce6f5adbc21182ec43626f01fbbae0ea28fc5c4
--- /dev/null
+++ b/pgsql/share/extension/ltree--1.0--1.1.sql
@@ -0,0 +1,115 @@
+/* contrib/ltree/ltree--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION ltree UPDATE TO '1.1'" to load this file. \quit
+
+-- Update procedure signatures the hard way.
+-- We use to_regprocedure() so that query doesn't fail if run against 9.6beta1 definitions,
+-- wherein the signatures have been updated already. In that case to_regprocedure() will
+-- return NULL and no updates will happen.
+DO LANGUAGE plpgsql
+$$
+DECLARE
+ my_schema pg_catalog.text := pg_catalog.quote_ident(pg_catalog.current_schema());
+ old_path pg_catalog.text := pg_catalog.current_setting('search_path');
+BEGIN
+-- for safety, transiently set search_path to just pg_catalog+pg_temp
+PERFORM pg_catalog.set_config('search_path', 'pg_catalog, pg_temp', true);
+
+UPDATE pg_catalog.pg_proc SET
+ proargtypes = pg_catalog.array_to_string(newtypes::pg_catalog.oid[], ' ')::pg_catalog.oidvector,
+ pronargs = pg_catalog.array_length(newtypes, 1)
+FROM (VALUES
+(NULL::pg_catalog.text, NULL::pg_catalog.text[]), -- establish column types
+('ltree_consistent(internal,internal,int2,oid,internal)', '{internal,SCH.ltree,int2,oid,internal}'),
+('ltree_same(internal,internal,internal)', '{SCH.ltree_gist,SCH.ltree_gist,internal}'),
+('_ltree_consistent(internal,internal,int2,oid,internal)', '{internal,SCH._ltree,int2,oid,internal}'),
+('_ltree_same(internal,internal,internal)', '{SCH.ltree_gist,SCH.ltree_gist,internal}')
+) AS update_data (oldproc, newtypestext),
+LATERAL (
+ SELECT array_agg(replace(typ, 'SCH', my_schema)::regtype) as newtypes FROM unnest(newtypestext) typ
+) ls
+WHERE oid = to_regprocedure(my_schema || '.' || replace(oldproc, 'SCH', my_schema));
+
+UPDATE pg_catalog.pg_proc SET
+ prorettype = (my_schema || '.ltree_gist')::pg_catalog.regtype
+WHERE oid = pg_catalog.to_regprocedure(my_schema || '.ltree_union(internal,internal)');
+
+UPDATE pg_catalog.pg_proc SET
+ prorettype = (my_schema || '.ltree_gist')::pg_catalog.regtype
+WHERE oid = pg_catalog.to_regprocedure(my_schema || '._ltree_union(internal,internal)');
+
+PERFORM pg_catalog.set_config('search_path', old_path, true);
+END
+$$;
+
+ALTER FUNCTION ltree_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION ltree_out(ltree) PARALLEL SAFE;
+ALTER FUNCTION ltree_cmp(ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION ltree_lt(ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION ltree_le(ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION ltree_eq(ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION ltree_ge(ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION ltree_gt(ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION ltree_ne(ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION subltree(ltree, int4, int4) PARALLEL SAFE;
+ALTER FUNCTION subpath(ltree, int4, int4) PARALLEL SAFE;
+ALTER FUNCTION subpath(ltree, int4) PARALLEL SAFE;
+ALTER FUNCTION index(ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION index(ltree, ltree, int4) PARALLEL SAFE;
+ALTER FUNCTION nlevel(ltree) PARALLEL SAFE;
+ALTER FUNCTION ltree2text(ltree) PARALLEL SAFE;
+ALTER FUNCTION text2ltree(text) PARALLEL SAFE;
+ALTER FUNCTION lca(_ltree) PARALLEL SAFE;
+ALTER FUNCTION lca(ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION lca(ltree, ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION lca(ltree, ltree, ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION lca(ltree, ltree, ltree, ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION lca(ltree, ltree, ltree, ltree, ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION lca(ltree, ltree, ltree, ltree, ltree, ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION lca(ltree, ltree, ltree, ltree, ltree, ltree, ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION ltree_isparent(ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION ltree_risparent(ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION ltree_addltree(ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION ltree_addtext(ltree, text) PARALLEL SAFE;
+ALTER FUNCTION ltree_textadd(text, ltree) PARALLEL SAFE;
+ALTER FUNCTION ltreeparentsel(internal, oid, internal, integer) PARALLEL SAFE;
+ALTER FUNCTION lquery_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION lquery_out(lquery) PARALLEL SAFE;
+ALTER FUNCTION ltq_regex(ltree, lquery) PARALLEL SAFE;
+ALTER FUNCTION ltq_rregex(lquery, ltree) PARALLEL SAFE;
+ALTER FUNCTION lt_q_regex(ltree, _lquery) PARALLEL SAFE;
+ALTER FUNCTION lt_q_rregex(_lquery, ltree) PARALLEL SAFE;
+ALTER FUNCTION ltxtq_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION ltxtq_out(ltxtquery) PARALLEL SAFE;
+ALTER FUNCTION ltxtq_exec(ltree, ltxtquery) PARALLEL SAFE;
+ALTER FUNCTION ltxtq_rexec(ltxtquery, ltree) PARALLEL SAFE;
+ALTER FUNCTION ltree_gist_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION ltree_gist_out(ltree_gist) PARALLEL SAFE;
+ALTER FUNCTION ltree_consistent(internal, ltree, int2, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION ltree_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION ltree_decompress(internal) PARALLEL SAFE;
+ALTER FUNCTION ltree_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION ltree_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION ltree_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION ltree_same(ltree_gist, ltree_gist, internal) PARALLEL SAFE;
+ALTER FUNCTION _ltree_isparent(_ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION _ltree_r_isparent(ltree, _ltree) PARALLEL SAFE;
+ALTER FUNCTION _ltree_risparent(_ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION _ltree_r_risparent(ltree, _ltree) PARALLEL SAFE;
+ALTER FUNCTION _ltq_regex(_ltree, lquery) PARALLEL SAFE;
+ALTER FUNCTION _ltq_rregex(lquery, _ltree) PARALLEL SAFE;
+ALTER FUNCTION _lt_q_regex(_ltree, _lquery) PARALLEL SAFE;
+ALTER FUNCTION _lt_q_rregex(_lquery, _ltree) PARALLEL SAFE;
+ALTER FUNCTION _ltxtq_exec(_ltree, ltxtquery) PARALLEL SAFE;
+ALTER FUNCTION _ltxtq_rexec(ltxtquery, _ltree) PARALLEL SAFE;
+ALTER FUNCTION _ltree_extract_isparent(_ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION _ltree_extract_risparent(_ltree, ltree) PARALLEL SAFE;
+ALTER FUNCTION _ltq_extract_regex(_ltree, lquery) PARALLEL SAFE;
+ALTER FUNCTION _ltxtq_extract_exec(_ltree, ltxtquery) PARALLEL SAFE;
+ALTER FUNCTION _ltree_consistent(internal, _ltree, int2, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION _ltree_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION _ltree_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION _ltree_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION _ltree_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION _ltree_same(ltree_gist, ltree_gist, internal) PARALLEL SAFE;
diff --git a/pgsql/share/extension/ltree--1.1--1.2.sql b/pgsql/share/extension/ltree--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..e38e76b31e2defa6a26ca588c7043745d31cd574
--- /dev/null
+++ b/pgsql/share/extension/ltree--1.1--1.2.sql
@@ -0,0 +1,139 @@
+/* contrib/ltree/ltree--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION ltree UPDATE TO '1.2'" to load this file. \quit
+
+CREATE FUNCTION ltree_recv(internal)
+RETURNS ltree
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ltree_send(ltree)
+RETURNS bytea
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+ALTER TYPE ltree SET ( RECEIVE = ltree_recv, SEND = ltree_send );
+
+CREATE FUNCTION lquery_recv(internal)
+RETURNS lquery
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION lquery_send(lquery)
+RETURNS bytea
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+ALTER TYPE lquery SET ( RECEIVE = lquery_recv, SEND = lquery_send );
+
+CREATE FUNCTION ltxtq_recv(internal)
+RETURNS ltxtquery
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ltxtq_send(ltxtquery)
+RETURNS bytea
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+ALTER TYPE ltxtquery SET ( RECEIVE = ltxtq_recv, SEND = ltxtq_send );
+
+
+CREATE FUNCTION ltree_gist_options(internal)
+RETURNS void
+AS 'MODULE_PATHNAME', 'ltree_gist_options'
+LANGUAGE C IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION _ltree_gist_options(internal)
+RETURNS void
+AS 'MODULE_PATHNAME', '_ltree_gist_options'
+LANGUAGE C IMMUTABLE PARALLEL SAFE;
+
+ALTER OPERATOR FAMILY gist_ltree_ops USING gist
+ADD FUNCTION 10 (ltree) ltree_gist_options (internal);
+
+ALTER OPERATOR FAMILY gist__ltree_ops USING gist
+ADD FUNCTION 10 (_ltree) _ltree_gist_options (internal);
+
+ALTER OPERATOR < (ltree, ltree)
+ SET (RESTRICT = scalarltsel, JOIN = scalarltjoinsel);
+ALTER OPERATOR <= (ltree, ltree)
+ SET (RESTRICT = scalarlesel, JOIN = scalarlejoinsel);
+ALTER OPERATOR >= (ltree, ltree)
+ SET (RESTRICT = scalargesel, JOIN = scalargejoinsel);
+ALTER OPERATOR > (ltree, ltree)
+ SET (RESTRICT = scalargtsel, JOIN = scalargtjoinsel);
+
+ALTER OPERATOR @> (ltree, ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ^@> (ltree, ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR <@ (ltree, ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ^<@ (ltree, ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ~ (ltree, lquery)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ~ (lquery, ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ^~ (ltree, lquery)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ^~ (lquery, ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ? (ltree, _lquery)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ? (_lquery, ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ^? (ltree, _lquery)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ^? (_lquery, ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR @ (ltree, ltxtquery)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR @ (ltxtquery, ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ^@ (ltree, ltxtquery)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ^@ (ltxtquery, ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR @> (_ltree, ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR <@ (ltree, _ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR <@ (_ltree, ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR @> (ltree, _ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ~ (_ltree, lquery)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ~ (lquery, _ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ? (_ltree, _lquery)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ? (_lquery, _ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR @ (_ltree, ltxtquery)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR @ (ltxtquery, _ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ^@> (_ltree, ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ^<@ (ltree, _ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ^<@ (_ltree, ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ^@> (ltree, _ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ^~ (_ltree, lquery)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ^~ (lquery, _ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ^? (_ltree, _lquery)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ^? (_lquery, _ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ^@ (_ltree, ltxtquery)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR ^@ (ltxtquery, _ltree)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
diff --git a/pgsql/share/extension/ltree--1.1.sql b/pgsql/share/extension/ltree--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..d46f5fcd02eb6a4ecec6d07fb8356c3f29c6b7b7
--- /dev/null
+++ b/pgsql/share/extension/ltree--1.1.sql
@@ -0,0 +1,872 @@
+/* contrib/ltree/ltree--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION ltree" to load this file. \quit
+
+CREATE FUNCTION ltree_in(cstring)
+RETURNS ltree
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ltree_out(ltree)
+RETURNS cstring
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE TYPE ltree (
+ INTERNALLENGTH = -1,
+ INPUT = ltree_in,
+ OUTPUT = ltree_out,
+ STORAGE = extended
+);
+
+
+--Compare function for ltree
+CREATE FUNCTION ltree_cmp(ltree,ltree)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ltree_lt(ltree,ltree)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ltree_le(ltree,ltree)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ltree_eq(ltree,ltree)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ltree_ge(ltree,ltree)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ltree_gt(ltree,ltree)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ltree_ne(ltree,ltree)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+
+CREATE OPERATOR < (
+ LEFTARG = ltree,
+ RIGHTARG = ltree,
+ PROCEDURE = ltree_lt,
+ COMMUTATOR = '>',
+ NEGATOR = '>=',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR <= (
+ LEFTARG = ltree,
+ RIGHTARG = ltree,
+ PROCEDURE = ltree_le,
+ COMMUTATOR = '>=',
+ NEGATOR = '>',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR >= (
+ LEFTARG = ltree,
+ RIGHTARG = ltree,
+ PROCEDURE = ltree_ge,
+ COMMUTATOR = '<=',
+ NEGATOR = '<',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR > (
+ LEFTARG = ltree,
+ RIGHTARG = ltree,
+ PROCEDURE = ltree_gt,
+ COMMUTATOR = '<',
+ NEGATOR = '<=',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR = (
+ LEFTARG = ltree,
+ RIGHTARG = ltree,
+ PROCEDURE = ltree_eq,
+ COMMUTATOR = '=',
+ NEGATOR = '<>',
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ SORT1 = '<',
+ SORT2 = '<'
+);
+
+CREATE OPERATOR <> (
+ LEFTARG = ltree,
+ RIGHTARG = ltree,
+ PROCEDURE = ltree_ne,
+ COMMUTATOR = '<>',
+ NEGATOR = '=',
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel
+);
+
+--util functions
+
+CREATE FUNCTION subltree(ltree,int4,int4)
+RETURNS ltree
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION subpath(ltree,int4,int4)
+RETURNS ltree
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION subpath(ltree,int4)
+RETURNS ltree
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION index(ltree,ltree)
+RETURNS int4
+AS 'MODULE_PATHNAME', 'ltree_index'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION index(ltree,ltree,int4)
+RETURNS int4
+AS 'MODULE_PATHNAME', 'ltree_index'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION nlevel(ltree)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ltree2text(ltree)
+RETURNS text
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION text2ltree(text)
+RETURNS ltree
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION lca(_ltree)
+RETURNS ltree
+AS 'MODULE_PATHNAME','_lca'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION lca(ltree,ltree)
+RETURNS ltree
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION lca(ltree,ltree,ltree)
+RETURNS ltree
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION lca(ltree,ltree,ltree,ltree)
+RETURNS ltree
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION lca(ltree,ltree,ltree,ltree,ltree)
+RETURNS ltree
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION lca(ltree,ltree,ltree,ltree,ltree,ltree)
+RETURNS ltree
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION lca(ltree,ltree,ltree,ltree,ltree,ltree,ltree)
+RETURNS ltree
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION lca(ltree,ltree,ltree,ltree,ltree,ltree,ltree,ltree)
+RETURNS ltree
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ltree_isparent(ltree,ltree)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ltree_risparent(ltree,ltree)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ltree_addltree(ltree,ltree)
+RETURNS ltree
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ltree_addtext(ltree,text)
+RETURNS ltree
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ltree_textadd(text,ltree)
+RETURNS ltree
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ltreeparentsel(internal, oid, internal, integer)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR @> (
+ LEFTARG = ltree,
+ RIGHTARG = ltree,
+ PROCEDURE = ltree_isparent,
+ COMMUTATOR = '<@',
+ RESTRICT = ltreeparentsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ^@> (
+ LEFTARG = ltree,
+ RIGHTARG = ltree,
+ PROCEDURE = ltree_isparent,
+ COMMUTATOR = '^<@',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR <@ (
+ LEFTARG = ltree,
+ RIGHTARG = ltree,
+ PROCEDURE = ltree_risparent,
+ COMMUTATOR = '@>',
+ RESTRICT = ltreeparentsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ^<@ (
+ LEFTARG = ltree,
+ RIGHTARG = ltree,
+ PROCEDURE = ltree_risparent,
+ COMMUTATOR = '^@>',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR || (
+ LEFTARG = ltree,
+ RIGHTARG = ltree,
+ PROCEDURE = ltree_addltree
+);
+
+CREATE OPERATOR || (
+ LEFTARG = ltree,
+ RIGHTARG = text,
+ PROCEDURE = ltree_addtext
+);
+
+CREATE OPERATOR || (
+ LEFTARG = text,
+ RIGHTARG = ltree,
+ PROCEDURE = ltree_textadd
+);
+
+
+-- B-tree support
+
+CREATE OPERATOR CLASS ltree_ops
+ DEFAULT FOR TYPE ltree USING btree AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 ltree_cmp(ltree, ltree);
+
+
+--lquery type
+CREATE FUNCTION lquery_in(cstring)
+RETURNS lquery
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION lquery_out(lquery)
+RETURNS cstring
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE TYPE lquery (
+ INTERNALLENGTH = -1,
+ INPUT = lquery_in,
+ OUTPUT = lquery_out,
+ STORAGE = extended
+);
+
+CREATE FUNCTION ltq_regex(ltree,lquery)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ltq_rregex(lquery,ltree)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR ~ (
+ LEFTARG = ltree,
+ RIGHTARG = lquery,
+ PROCEDURE = ltq_regex,
+ COMMUTATOR = '~',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ~ (
+ LEFTARG = lquery,
+ RIGHTARG = ltree,
+ PROCEDURE = ltq_rregex,
+ COMMUTATOR = '~',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+--not-indexed
+CREATE OPERATOR ^~ (
+ LEFTARG = ltree,
+ RIGHTARG = lquery,
+ PROCEDURE = ltq_regex,
+ COMMUTATOR = '^~',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ^~ (
+ LEFTARG = lquery,
+ RIGHTARG = ltree,
+ PROCEDURE = ltq_rregex,
+ COMMUTATOR = '^~',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE FUNCTION lt_q_regex(ltree,_lquery)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION lt_q_rregex(_lquery,ltree)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR ? (
+ LEFTARG = ltree,
+ RIGHTARG = _lquery,
+ PROCEDURE = lt_q_regex,
+ COMMUTATOR = '?',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ? (
+ LEFTARG = _lquery,
+ RIGHTARG = ltree,
+ PROCEDURE = lt_q_rregex,
+ COMMUTATOR = '?',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+--not-indexed
+CREATE OPERATOR ^? (
+ LEFTARG = ltree,
+ RIGHTARG = _lquery,
+ PROCEDURE = lt_q_regex,
+ COMMUTATOR = '^?',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ^? (
+ LEFTARG = _lquery,
+ RIGHTARG = ltree,
+ PROCEDURE = lt_q_rregex,
+ COMMUTATOR = '^?',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE FUNCTION ltxtq_in(cstring)
+RETURNS ltxtquery
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ltxtq_out(ltxtquery)
+RETURNS cstring
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE TYPE ltxtquery (
+ INTERNALLENGTH = -1,
+ INPUT = ltxtq_in,
+ OUTPUT = ltxtq_out,
+ STORAGE = extended
+);
+
+-- operations WITH ltxtquery
+
+CREATE FUNCTION ltxtq_exec(ltree, ltxtquery)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ltxtq_rexec(ltxtquery, ltree)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR @ (
+ LEFTARG = ltree,
+ RIGHTARG = ltxtquery,
+ PROCEDURE = ltxtq_exec,
+ COMMUTATOR = '@',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR @ (
+ LEFTARG = ltxtquery,
+ RIGHTARG = ltree,
+ PROCEDURE = ltxtq_rexec,
+ COMMUTATOR = '@',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+--not-indexed
+CREATE OPERATOR ^@ (
+ LEFTARG = ltree,
+ RIGHTARG = ltxtquery,
+ PROCEDURE = ltxtq_exec,
+ COMMUTATOR = '^@',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ^@ (
+ LEFTARG = ltxtquery,
+ RIGHTARG = ltree,
+ PROCEDURE = ltxtq_rexec,
+ COMMUTATOR = '^@',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+--GiST support for ltree
+CREATE FUNCTION ltree_gist_in(cstring)
+RETURNS ltree_gist
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION ltree_gist_out(ltree_gist)
+RETURNS cstring
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE TYPE ltree_gist (
+ internallength = -1,
+ input = ltree_gist_in,
+ output = ltree_gist_out,
+ storage = plain
+);
+
+
+CREATE FUNCTION ltree_consistent(internal,ltree,int2,oid,internal)
+RETURNS bool as 'MODULE_PATHNAME' LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION ltree_compress(internal)
+RETURNS internal as 'MODULE_PATHNAME' LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION ltree_decompress(internal)
+RETURNS internal as 'MODULE_PATHNAME' LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION ltree_penalty(internal,internal,internal)
+RETURNS internal as 'MODULE_PATHNAME' LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION ltree_picksplit(internal, internal)
+RETURNS internal as 'MODULE_PATHNAME' LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION ltree_union(internal, internal)
+RETURNS ltree_gist as 'MODULE_PATHNAME' LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION ltree_same(ltree_gist, ltree_gist, internal)
+RETURNS internal as 'MODULE_PATHNAME' LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE OPERATOR CLASS gist_ltree_ops
+ DEFAULT FOR TYPE ltree USING gist AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ OPERATOR 10 @> ,
+ OPERATOR 11 <@ ,
+ OPERATOR 12 ~ (ltree, lquery) ,
+ OPERATOR 13 ~ (lquery, ltree) ,
+ OPERATOR 14 @ (ltree, ltxtquery) ,
+ OPERATOR 15 @ (ltxtquery, ltree) ,
+ OPERATOR 16 ? (ltree, _lquery) ,
+ OPERATOR 17 ? (_lquery, ltree) ,
+ FUNCTION 1 ltree_consistent (internal, ltree, int2, oid, internal),
+ FUNCTION 2 ltree_union (internal, internal),
+ FUNCTION 3 ltree_compress (internal),
+ FUNCTION 4 ltree_decompress (internal),
+ FUNCTION 5 ltree_penalty (internal, internal, internal),
+ FUNCTION 6 ltree_picksplit (internal, internal),
+ FUNCTION 7 ltree_same (ltree_gist, ltree_gist, internal),
+ STORAGE ltree_gist;
+
+
+-- arrays of ltree
+
+CREATE FUNCTION _ltree_isparent(_ltree,ltree)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION _ltree_r_isparent(ltree,_ltree)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION _ltree_risparent(_ltree,ltree)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION _ltree_r_risparent(ltree,_ltree)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION _ltq_regex(_ltree,lquery)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION _ltq_rregex(lquery,_ltree)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION _lt_q_regex(_ltree,_lquery)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION _lt_q_rregex(_lquery,_ltree)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION _ltxtq_exec(_ltree, ltxtquery)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION _ltxtq_rexec(ltxtquery, _ltree)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR @> (
+ LEFTARG = _ltree,
+ RIGHTARG = ltree,
+ PROCEDURE = _ltree_isparent,
+ COMMUTATOR = '<@',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR <@ (
+ LEFTARG = ltree,
+ RIGHTARG = _ltree,
+ PROCEDURE = _ltree_r_isparent,
+ COMMUTATOR = '@>',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR <@ (
+ LEFTARG = _ltree,
+ RIGHTARG = ltree,
+ PROCEDURE = _ltree_risparent,
+ COMMUTATOR = '@>',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR @> (
+ LEFTARG = ltree,
+ RIGHTARG = _ltree,
+ PROCEDURE = _ltree_r_risparent,
+ COMMUTATOR = '<@',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ~ (
+ LEFTARG = _ltree,
+ RIGHTARG = lquery,
+ PROCEDURE = _ltq_regex,
+ COMMUTATOR = '~',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ~ (
+ LEFTARG = lquery,
+ RIGHTARG = _ltree,
+ PROCEDURE = _ltq_rregex,
+ COMMUTATOR = '~',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ? (
+ LEFTARG = _ltree,
+ RIGHTARG = _lquery,
+ PROCEDURE = _lt_q_regex,
+ COMMUTATOR = '?',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ? (
+ LEFTARG = _lquery,
+ RIGHTARG = _ltree,
+ PROCEDURE = _lt_q_rregex,
+ COMMUTATOR = '?',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR @ (
+ LEFTARG = _ltree,
+ RIGHTARG = ltxtquery,
+ PROCEDURE = _ltxtq_exec,
+ COMMUTATOR = '@',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR @ (
+ LEFTARG = ltxtquery,
+ RIGHTARG = _ltree,
+ PROCEDURE = _ltxtq_rexec,
+ COMMUTATOR = '@',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+
+--not indexed
+CREATE OPERATOR ^@> (
+ LEFTARG = _ltree,
+ RIGHTARG = ltree,
+ PROCEDURE = _ltree_isparent,
+ COMMUTATOR = '^<@',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ^<@ (
+ LEFTARG = ltree,
+ RIGHTARG = _ltree,
+ PROCEDURE = _ltree_r_isparent,
+ COMMUTATOR = '^@>',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ^<@ (
+ LEFTARG = _ltree,
+ RIGHTARG = ltree,
+ PROCEDURE = _ltree_risparent,
+ COMMUTATOR = '^@>',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ^@> (
+ LEFTARG = ltree,
+ RIGHTARG = _ltree,
+ PROCEDURE = _ltree_r_risparent,
+ COMMUTATOR = '^<@',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ^~ (
+ LEFTARG = _ltree,
+ RIGHTARG = lquery,
+ PROCEDURE = _ltq_regex,
+ COMMUTATOR = '^~',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ^~ (
+ LEFTARG = lquery,
+ RIGHTARG = _ltree,
+ PROCEDURE = _ltq_rregex,
+ COMMUTATOR = '^~',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ^? (
+ LEFTARG = _ltree,
+ RIGHTARG = _lquery,
+ PROCEDURE = _lt_q_regex,
+ COMMUTATOR = '^?',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ^? (
+ LEFTARG = _lquery,
+ RIGHTARG = _ltree,
+ PROCEDURE = _lt_q_rregex,
+ COMMUTATOR = '^?',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ^@ (
+ LEFTARG = _ltree,
+ RIGHTARG = ltxtquery,
+ PROCEDURE = _ltxtq_exec,
+ COMMUTATOR = '^@',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ^@ (
+ LEFTARG = ltxtquery,
+ RIGHTARG = _ltree,
+ PROCEDURE = _ltxtq_rexec,
+ COMMUTATOR = '^@',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+--extractors
+CREATE FUNCTION _ltree_extract_isparent(_ltree,ltree)
+RETURNS ltree
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR ?@> (
+ LEFTARG = _ltree,
+ RIGHTARG = ltree,
+ PROCEDURE = _ltree_extract_isparent
+);
+
+CREATE FUNCTION _ltree_extract_risparent(_ltree,ltree)
+RETURNS ltree
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR ?<@ (
+ LEFTARG = _ltree,
+ RIGHTARG = ltree,
+ PROCEDURE = _ltree_extract_risparent
+);
+
+CREATE FUNCTION _ltq_extract_regex(_ltree,lquery)
+RETURNS ltree
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR ?~ (
+ LEFTARG = _ltree,
+ RIGHTARG = lquery,
+ PROCEDURE = _ltq_extract_regex
+);
+
+CREATE FUNCTION _ltxtq_extract_exec(_ltree,ltxtquery)
+RETURNS ltree
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR ?@ (
+ LEFTARG = _ltree,
+ RIGHTARG = ltxtquery,
+ PROCEDURE = _ltxtq_extract_exec
+);
+
+--GiST support for ltree[]
+CREATE FUNCTION _ltree_consistent(internal,_ltree,int2,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION _ltree_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION _ltree_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION _ltree_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION _ltree_union(internal, internal)
+RETURNS ltree_gist
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION _ltree_same(ltree_gist, ltree_gist, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE OPERATOR CLASS gist__ltree_ops
+ DEFAULT FOR TYPE _ltree USING gist AS
+ OPERATOR 10 <@ (_ltree, ltree),
+ OPERATOR 11 @> (ltree, _ltree),
+ OPERATOR 12 ~ (_ltree, lquery),
+ OPERATOR 13 ~ (lquery, _ltree),
+ OPERATOR 14 @ (_ltree, ltxtquery),
+ OPERATOR 15 @ (ltxtquery, _ltree),
+ OPERATOR 16 ? (_ltree, _lquery),
+ OPERATOR 17 ? (_lquery, _ltree),
+ FUNCTION 1 _ltree_consistent (internal, _ltree, int2, oid, internal),
+ FUNCTION 2 _ltree_union (internal, internal),
+ FUNCTION 3 _ltree_compress (internal),
+ FUNCTION 4 ltree_decompress (internal),
+ FUNCTION 5 _ltree_penalty (internal, internal, internal),
+ FUNCTION 6 _ltree_picksplit (internal, internal),
+ FUNCTION 7 _ltree_same (ltree_gist, ltree_gist, internal),
+ STORAGE ltree_gist;
diff --git a/pgsql/share/extension/ltree.control b/pgsql/share/extension/ltree.control
new file mode 100644
index 0000000000000000000000000000000000000000..b408d64781f794423afbd7b67684baa0f9bbb460
--- /dev/null
+++ b/pgsql/share/extension/ltree.control
@@ -0,0 +1,6 @@
+# ltree extension
+comment = 'data type for hierarchical tree-like structures'
+default_version = '1.2'
+module_pathname = '$libdir/ltree'
+relocatable = true
+trusted = true
diff --git a/pgsql/share/extension/ltree_plpython3u--1.0.sql b/pgsql/share/extension/ltree_plpython3u--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..09ada3c7e8b701393aca79123edec4f3362bdce4
--- /dev/null
+++ b/pgsql/share/extension/ltree_plpython3u--1.0.sql
@@ -0,0 +1,12 @@
+/* contrib/ltree_plpython/ltree_plpython3u--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION ltree_plpython3u" to load this file. \quit
+
+CREATE FUNCTION ltree_to_plpython3(val internal) RETURNS internal
+LANGUAGE C STRICT IMMUTABLE
+AS 'MODULE_PATHNAME', 'ltree_to_plpython';
+
+CREATE TRANSFORM FOR ltree LANGUAGE plpython3u (
+ FROM SQL WITH FUNCTION ltree_to_plpython3(internal)
+);
diff --git a/pgsql/share/extension/ltree_plpython3u.control b/pgsql/share/extension/ltree_plpython3u.control
new file mode 100644
index 0000000000000000000000000000000000000000..96c9764331b79fcf5d53c2026b907f6a85c32700
--- /dev/null
+++ b/pgsql/share/extension/ltree_plpython3u.control
@@ -0,0 +1,6 @@
+# ltree_plpython3u extension
+comment = 'transform between ltree and plpython3u'
+default_version = '1.0'
+module_pathname = '$libdir/ltree_plpython3'
+relocatable = true
+requires = 'ltree,plpython3u'
diff --git a/pgsql/share/extension/moddatetime--1.0.sql b/pgsql/share/extension/moddatetime--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..2ee61b814f36126449754fc35370a27798978e7f
--- /dev/null
+++ b/pgsql/share/extension/moddatetime--1.0.sql
@@ -0,0 +1,9 @@
+/* contrib/spi/moddatetime--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION moddatetime" to load this file. \quit
+
+CREATE FUNCTION moddatetime()
+RETURNS trigger
+AS 'MODULE_PATHNAME'
+LANGUAGE C;
diff --git a/pgsql/share/extension/moddatetime.control b/pgsql/share/extension/moddatetime.control
new file mode 100644
index 0000000000000000000000000000000000000000..93dfac589a34bbe4e08688567ea04e49402e4ffb
--- /dev/null
+++ b/pgsql/share/extension/moddatetime.control
@@ -0,0 +1,5 @@
+# moddatetime extension
+comment = 'functions for tracking last modification time'
+default_version = '1.0'
+module_pathname = '$libdir/moddatetime'
+relocatable = true
diff --git a/pgsql/share/extension/old_snapshot--1.0.sql b/pgsql/share/extension/old_snapshot--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..9ebb8829e3729a029022bd56b4d999e91449be87
--- /dev/null
+++ b/pgsql/share/extension/old_snapshot--1.0.sql
@@ -0,0 +1,14 @@
+/* contrib/old_snapshot/old_snapshot--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION old_snapshot" to load this file. \quit
+
+-- Show visibility map and page-level visibility information for each block.
+CREATE FUNCTION pg_old_snapshot_time_mapping(array_offset OUT int4,
+ end_timestamp OUT timestamptz,
+ newest_xmin OUT xid)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'pg_old_snapshot_time_mapping'
+LANGUAGE C STRICT;
+
+-- XXX. Do we want REVOKE commands here?
diff --git a/pgsql/share/extension/old_snapshot.control b/pgsql/share/extension/old_snapshot.control
new file mode 100644
index 0000000000000000000000000000000000000000..491eec536cd6fdb434f2f8040b8c997e3929f955
--- /dev/null
+++ b/pgsql/share/extension/old_snapshot.control
@@ -0,0 +1,5 @@
+# old_snapshot extension
+comment = 'utilities in support of old_snapshot_threshold'
+default_version = '1.0'
+module_pathname = '$libdir/old_snapshot'
+relocatable = true
diff --git a/pgsql/share/extension/pageinspect--1.0--1.1.sql b/pgsql/share/extension/pageinspect--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..0e2c3f45b35b01b0dee127be5040d22bc96ae0c8
--- /dev/null
+++ b/pgsql/share/extension/pageinspect--1.0--1.1.sql
@@ -0,0 +1,18 @@
+/* contrib/pageinspect/pageinspect--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pageinspect UPDATE TO '1.1'" to load this file. \quit
+
+DROP FUNCTION page_header(bytea);
+CREATE FUNCTION page_header(IN page bytea,
+ OUT lsn text,
+ OUT checksum smallint,
+ OUT flags smallint,
+ OUT lower smallint,
+ OUT upper smallint,
+ OUT special smallint,
+ OUT pagesize smallint,
+ OUT version smallint,
+ OUT prune_xid xid)
+AS 'MODULE_PATHNAME', 'page_header'
+LANGUAGE C STRICT;
diff --git a/pgsql/share/extension/pageinspect--1.1--1.2.sql b/pgsql/share/extension/pageinspect--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..31ffbb0eb53daba5863d49cc761da5e787dbb9fd
--- /dev/null
+++ b/pgsql/share/extension/pageinspect--1.1--1.2.sql
@@ -0,0 +1,18 @@
+/* contrib/pageinspect/pageinspect--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pageinspect UPDATE TO '1.2'" to load this file. \quit
+
+DROP FUNCTION page_header(bytea);
+CREATE FUNCTION page_header(IN page bytea,
+ OUT lsn pg_lsn,
+ OUT checksum smallint,
+ OUT flags smallint,
+ OUT lower smallint,
+ OUT upper smallint,
+ OUT special smallint,
+ OUT pagesize smallint,
+ OUT version smallint,
+ OUT prune_xid xid)
+AS 'MODULE_PATHNAME', 'page_header'
+LANGUAGE C STRICT;
diff --git a/pgsql/share/extension/pageinspect--1.10--1.11.sql b/pgsql/share/extension/pageinspect--1.10--1.11.sql
new file mode 100644
index 0000000000000000000000000000000000000000..8fa5e105bc42d81ccef1a518192857730af3a9eb
--- /dev/null
+++ b/pgsql/share/extension/pageinspect--1.10--1.11.sql
@@ -0,0 +1,28 @@
+/* contrib/pageinspect/pageinspect--1.10--1.11.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pageinspect UPDATE TO '1.11'" to load this file. \quit
+
+--
+-- Functions that fetch relation pages must be PARALLEL RESTRICTED,
+-- not PARALLEL SAFE, otherwise they will fail when run on a
+-- temporary table in a parallel worker process.
+--
+
+ALTER FUNCTION get_raw_page(text, int8) PARALLEL RESTRICTED;
+ALTER FUNCTION get_raw_page(text, text, int8) PARALLEL RESTRICTED;
+-- tuple_data_split must be restricted because it may fetch TOAST data.
+ALTER FUNCTION tuple_data_split(oid, bytea, integer, integer, text) PARALLEL RESTRICTED;
+ALTER FUNCTION tuple_data_split(oid, bytea, integer, integer, text, bool) PARALLEL RESTRICTED;
+-- heap_page_item_attrs must be restricted because it calls tuple_data_split.
+ALTER FUNCTION heap_page_item_attrs(bytea, regclass, bool) PARALLEL RESTRICTED;
+ALTER FUNCTION heap_page_item_attrs(bytea, regclass) PARALLEL RESTRICTED;
+ALTER FUNCTION bt_metap(text) PARALLEL RESTRICTED;
+ALTER FUNCTION bt_page_stats(text, int8) PARALLEL RESTRICTED;
+ALTER FUNCTION bt_page_items(text, int8) PARALLEL RESTRICTED;
+ALTER FUNCTION hash_bitmap_info(regclass, int8) PARALLEL RESTRICTED;
+-- brin_page_items might be parallel safe, because it seems to touch
+-- only index metadata, but I don't think there's a point in risking it.
+-- Likewise for gist_page_items.
+ALTER FUNCTION brin_page_items(bytea, regclass) PARALLEL RESTRICTED;
+ALTER FUNCTION gist_page_items(bytea, regclass) PARALLEL RESTRICTED;
diff --git a/pgsql/share/extension/pageinspect--1.11--1.12.sql b/pgsql/share/extension/pageinspect--1.11--1.12.sql
new file mode 100644
index 0000000000000000000000000000000000000000..a20d67a9e820f1850536f1e24cacd1775811b715
--- /dev/null
+++ b/pgsql/share/extension/pageinspect--1.11--1.12.sql
@@ -0,0 +1,40 @@
+/* contrib/pageinspect/pageinspect--1.11--1.12.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pageinspect UPDATE TO '1.12'" to load this file. \quit
+
+--
+-- bt_multi_page_stats()
+--
+CREATE FUNCTION bt_multi_page_stats(IN relname text, IN blkno int8, IN blk_count int8,
+ OUT blkno int8,
+ OUT type "char",
+ OUT live_items int4,
+ OUT dead_items int4,
+ OUT avg_item_size int4,
+ OUT page_size int4,
+ OUT free_size int4,
+ OUT btpo_prev int8,
+ OUT btpo_next int8,
+ OUT btpo_level int8,
+ OUT btpo_flags int4)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'bt_multi_page_stats'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+--
+-- add information about BRIN empty ranges
+--
+DROP FUNCTION brin_page_items(IN page bytea, IN index_oid regclass);
+CREATE FUNCTION brin_page_items(IN page bytea, IN index_oid regclass,
+ OUT itemoffset int,
+ OUT blknum int8,
+ OUT attnum int,
+ OUT allnulls bool,
+ OUT hasnulls bool,
+ OUT placeholder bool,
+ OUT empty bool,
+ OUT value text)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'brin_page_items'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
diff --git a/pgsql/share/extension/pageinspect--1.2--1.3.sql b/pgsql/share/extension/pageinspect--1.2--1.3.sql
new file mode 100644
index 0000000000000000000000000000000000000000..9c55a6e598ec3ac225c182971a267175f5efd6ac
--- /dev/null
+++ b/pgsql/share/extension/pageinspect--1.2--1.3.sql
@@ -0,0 +1,82 @@
+/* contrib/pageinspect/pageinspect--1.2--1.3.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pageinspect UPDATE TO '1.3'" to load this file. \quit
+
+--
+-- brin_page_type()
+--
+CREATE FUNCTION brin_page_type(IN page bytea)
+RETURNS text
+AS 'MODULE_PATHNAME', 'brin_page_type'
+LANGUAGE C STRICT;
+
+--
+-- brin_metapage_info()
+--
+CREATE FUNCTION brin_metapage_info(IN page bytea, OUT magic text,
+ OUT version integer, OUT pagesperrange integer, OUT lastrevmappage bigint)
+AS 'MODULE_PATHNAME', 'brin_metapage_info'
+LANGUAGE C STRICT;
+
+--
+-- brin_revmap_data()
+--
+CREATE FUNCTION brin_revmap_data(IN page bytea,
+ OUT pages tid)
+RETURNS SETOF tid
+AS 'MODULE_PATHNAME', 'brin_revmap_data'
+LANGUAGE C STRICT;
+
+--
+-- brin_page_items()
+--
+CREATE FUNCTION brin_page_items(IN page bytea, IN index_oid regclass,
+ OUT itemoffset int,
+ OUT blknum int,
+ OUT attnum int,
+ OUT allnulls bool,
+ OUT hasnulls bool,
+ OUT placeholder bool,
+ OUT value text)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'brin_page_items'
+LANGUAGE C STRICT;
+
+--
+-- gin_metapage_info()
+--
+CREATE FUNCTION gin_metapage_info(IN page bytea,
+ OUT pending_head bigint,
+ OUT pending_tail bigint,
+ OUT tail_free_size int4,
+ OUT n_pending_pages bigint,
+ OUT n_pending_tuples bigint,
+ OUT n_total_pages bigint,
+ OUT n_entry_pages bigint,
+ OUT n_data_pages bigint,
+ OUT n_entries bigint,
+ OUT version int4)
+AS 'MODULE_PATHNAME', 'gin_metapage_info'
+LANGUAGE C STRICT;
+
+--
+-- gin_page_opaque_info()
+--
+CREATE FUNCTION gin_page_opaque_info(IN page bytea,
+ OUT rightlink bigint,
+ OUT maxoff int4,
+ OUT flags text[])
+AS 'MODULE_PATHNAME', 'gin_page_opaque_info'
+LANGUAGE C STRICT;
+
+--
+-- gin_leafpage_items()
+--
+CREATE FUNCTION gin_leafpage_items(IN page bytea,
+ OUT first_tid tid,
+ OUT nbytes int2,
+ OUT tids tid[])
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'gin_leafpage_items'
+LANGUAGE C STRICT;
diff --git a/pgsql/share/extension/pageinspect--1.3--1.4.sql b/pgsql/share/extension/pageinspect--1.3--1.4.sql
new file mode 100644
index 0000000000000000000000000000000000000000..86e0dfafc0ba6ecedd3b0b25bb7e491710c332d8
--- /dev/null
+++ b/pgsql/share/extension/pageinspect--1.3--1.4.sql
@@ -0,0 +1,118 @@
+/* contrib/pageinspect/pageinspect--1.3--1.4.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pageinspect UPDATE TO '1.4'" to load this file. \quit
+
+--
+-- heap_page_items()
+--
+DROP FUNCTION heap_page_items(bytea);
+CREATE FUNCTION heap_page_items(IN page bytea,
+ OUT lp smallint,
+ OUT lp_off smallint,
+ OUT lp_flags smallint,
+ OUT lp_len smallint,
+ OUT t_xmin xid,
+ OUT t_xmax xid,
+ OUT t_field3 int4,
+ OUT t_ctid tid,
+ OUT t_infomask2 integer,
+ OUT t_infomask integer,
+ OUT t_hoff smallint,
+ OUT t_bits text,
+ OUT t_oid oid,
+ OUT t_data bytea)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'heap_page_items'
+LANGUAGE C STRICT;
+
+--
+-- tuple_data_split()
+--
+CREATE FUNCTION tuple_data_split(rel_oid oid,
+ t_data bytea,
+ t_infomask integer,
+ t_infomask2 integer,
+ t_bits text)
+RETURNS bytea[]
+AS 'MODULE_PATHNAME','tuple_data_split'
+LANGUAGE C;
+
+CREATE FUNCTION tuple_data_split(rel_oid oid,
+ t_data bytea,
+ t_infomask integer,
+ t_infomask2 integer,
+ t_bits text,
+ do_detoast bool)
+RETURNS bytea[]
+AS 'MODULE_PATHNAME','tuple_data_split'
+LANGUAGE C;
+
+--
+-- heap_page_item_attrs()
+--
+CREATE FUNCTION heap_page_item_attrs(
+ IN page bytea,
+ IN rel_oid regclass,
+ IN do_detoast bool,
+ OUT lp smallint,
+ OUT lp_off smallint,
+ OUT lp_flags smallint,
+ OUT lp_len smallint,
+ OUT t_xmin xid,
+ OUT t_xmax xid,
+ OUT t_field3 int4,
+ OUT t_ctid tid,
+ OUT t_infomask2 integer,
+ OUT t_infomask integer,
+ OUT t_hoff smallint,
+ OUT t_bits text,
+ OUT t_oid oid,
+ OUT t_attrs bytea[]
+ )
+RETURNS SETOF record AS $$
+SELECT lp,
+ lp_off,
+ lp_flags,
+ lp_len,
+ t_xmin,
+ t_xmax,
+ t_field3,
+ t_ctid,
+ t_infomask2,
+ t_infomask,
+ t_hoff,
+ t_bits,
+ t_oid,
+ tuple_data_split(
+ rel_oid,
+ t_data,
+ t_infomask,
+ t_infomask2,
+ t_bits,
+ do_detoast)
+ AS t_attrs
+ FROM heap_page_items(page);
+$$ LANGUAGE SQL;
+
+CREATE FUNCTION heap_page_item_attrs(
+ IN page bytea,
+ IN rel_oid regclass,
+ OUT lp smallint,
+ OUT lp_off smallint,
+ OUT lp_flags smallint,
+ OUT lp_len smallint,
+ OUT t_xmin xid,
+ OUT t_xmax xid,
+ OUT t_field3 int4,
+ OUT t_ctid tid,
+ OUT t_infomask2 integer,
+ OUT t_infomask integer,
+ OUT t_hoff smallint,
+ OUT t_bits text,
+ OUT t_oid oid,
+ OUT t_attrs bytea[]
+ )
+RETURNS SETOF record AS $$
+SELECT * from heap_page_item_attrs(page, rel_oid, false);
+$$ LANGUAGE SQL;
diff --git a/pgsql/share/extension/pageinspect--1.4--1.5.sql b/pgsql/share/extension/pageinspect--1.4--1.5.sql
new file mode 100644
index 0000000000000000000000000000000000000000..7ed7b541517d6a1fcd8f6b493f980d2c4527c928
--- /dev/null
+++ b/pgsql/share/extension/pageinspect--1.4--1.5.sql
@@ -0,0 +1,24 @@
+/* contrib/pageinspect/pageinspect--1.4--1.5.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pageinspect UPDATE TO '1.5'" to load this file. \quit
+
+ALTER FUNCTION get_raw_page(text, int4) PARALLEL SAFE;
+ALTER FUNCTION get_raw_page(text, text, int4) PARALLEL SAFE;
+ALTER FUNCTION page_header(bytea) PARALLEL SAFE;
+ALTER FUNCTION heap_page_items(bytea) PARALLEL SAFE;
+ALTER FUNCTION tuple_data_split(oid, bytea, integer, integer, text) PARALLEL SAFE;
+ALTER FUNCTION tuple_data_split(oid, bytea, integer, integer, text, bool) PARALLEL SAFE;
+ALTER FUNCTION heap_page_item_attrs(bytea, regclass, bool) PARALLEL SAFE;
+ALTER FUNCTION heap_page_item_attrs(bytea, regclass) PARALLEL SAFE;
+ALTER FUNCTION bt_metap(text) PARALLEL SAFE;
+ALTER FUNCTION bt_page_stats(text, int4) PARALLEL SAFE;
+ALTER FUNCTION bt_page_items(text, int4) PARALLEL SAFE;
+ALTER FUNCTION brin_page_type(bytea) PARALLEL SAFE;
+ALTER FUNCTION brin_metapage_info(bytea) PARALLEL SAFE;
+ALTER FUNCTION brin_revmap_data(bytea) PARALLEL SAFE;
+ALTER FUNCTION brin_page_items(bytea, regclass) PARALLEL SAFE;
+ALTER FUNCTION fsm_page_contents(bytea) PARALLEL SAFE;
+ALTER FUNCTION gin_metapage_info(bytea) PARALLEL SAFE;
+ALTER FUNCTION gin_page_opaque_info(bytea) PARALLEL SAFE;
+ALTER FUNCTION gin_leafpage_items(bytea) PARALLEL SAFE;
diff --git a/pgsql/share/extension/pageinspect--1.5--1.6.sql b/pgsql/share/extension/pageinspect--1.5--1.6.sql
new file mode 100644
index 0000000000000000000000000000000000000000..c4356288db3652219cccbee86ee3821251eba248
--- /dev/null
+++ b/pgsql/share/extension/pageinspect--1.5--1.6.sql
@@ -0,0 +1,99 @@
+/* contrib/pageinspect/pageinspect--1.5--1.6.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pageinspect UPDATE TO '1.6'" to load this file. \quit
+
+--
+-- HASH functions
+--
+
+--
+-- hash_page_type()
+--
+CREATE FUNCTION hash_page_type(IN page bytea)
+RETURNS text
+AS 'MODULE_PATHNAME', 'hash_page_type'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- hash_page_stats()
+--
+CREATE FUNCTION hash_page_stats(IN page bytea,
+ OUT live_items int4,
+ OUT dead_items int4,
+ OUT page_size int4,
+ OUT free_size int4,
+ OUT hasho_prevblkno int8,
+ OUT hasho_nextblkno int8,
+ OUT hasho_bucket int8,
+ OUT hasho_flag int4,
+ OUT hasho_page_id int4)
+AS 'MODULE_PATHNAME', 'hash_page_stats'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- hash_page_items()
+--
+CREATE FUNCTION hash_page_items(IN page bytea,
+ OUT itemoffset int4,
+ OUT ctid tid,
+ OUT data int8)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'hash_page_items'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- hash_bitmap_info()
+--
+CREATE FUNCTION hash_bitmap_info(IN index_oid regclass, IN blkno int8,
+ OUT bitmapblkno int8,
+ OUT bitmapbit int4,
+ OUT bitstatus bool)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'hash_bitmap_info'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- hash_metapage_info()
+--
+CREATE FUNCTION hash_metapage_info(IN page bytea,
+ OUT magic int8,
+ OUT version int8,
+ OUT ntuples double precision,
+ OUT ffactor int4,
+ OUT bsize int4,
+ OUT bmsize int4,
+ OUT bmshift int4,
+ OUT maxbucket int8,
+ OUT highmask int8,
+ OUT lowmask int8,
+ OUT ovflpoint int8,
+ OUT firstfree int8,
+ OUT nmaps int8,
+ OUT procid oid,
+ OUT spares int8[],
+ OUT mapp int8[])
+AS 'MODULE_PATHNAME', 'hash_metapage_info'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- page_checksum()
+--
+CREATE FUNCTION page_checksum(IN page bytea, IN blkno int4)
+RETURNS smallint
+AS 'MODULE_PATHNAME', 'page_checksum'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- bt_page_items_bytea()
+--
+CREATE FUNCTION bt_page_items(IN page bytea,
+ OUT itemoffset smallint,
+ OUT ctid tid,
+ OUT itemlen smallint,
+ OUT nulls bool,
+ OUT vars bool,
+ OUT data text)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'bt_page_items_bytea'
+LANGUAGE C STRICT PARALLEL SAFE;
diff --git a/pgsql/share/extension/pageinspect--1.5.sql b/pgsql/share/extension/pageinspect--1.5.sql
new file mode 100644
index 0000000000000000000000000000000000000000..1e40c3c97e227629c9d22e70444e9d293f50cfb4
--- /dev/null
+++ b/pgsql/share/extension/pageinspect--1.5.sql
@@ -0,0 +1,279 @@
+/* contrib/pageinspect/pageinspect--1.5.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION pageinspect" to load this file. \quit
+
+--
+-- get_raw_page()
+--
+CREATE FUNCTION get_raw_page(text, int4)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'get_raw_page'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+CREATE FUNCTION get_raw_page(text, text, int4)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'get_raw_page_fork'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- page_header()
+--
+CREATE FUNCTION page_header(IN page bytea,
+ OUT lsn pg_lsn,
+ OUT checksum smallint,
+ OUT flags smallint,
+ OUT lower smallint,
+ OUT upper smallint,
+ OUT special smallint,
+ OUT pagesize smallint,
+ OUT version smallint,
+ OUT prune_xid xid)
+AS 'MODULE_PATHNAME', 'page_header'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- heap_page_items()
+--
+CREATE FUNCTION heap_page_items(IN page bytea,
+ OUT lp smallint,
+ OUT lp_off smallint,
+ OUT lp_flags smallint,
+ OUT lp_len smallint,
+ OUT t_xmin xid,
+ OUT t_xmax xid,
+ OUT t_field3 int4,
+ OUT t_ctid tid,
+ OUT t_infomask2 integer,
+ OUT t_infomask integer,
+ OUT t_hoff smallint,
+ OUT t_bits text,
+ OUT t_oid oid,
+ OUT t_data bytea)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'heap_page_items'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- tuple_data_split()
+--
+CREATE FUNCTION tuple_data_split(rel_oid oid,
+ t_data bytea,
+ t_infomask integer,
+ t_infomask2 integer,
+ t_bits text)
+RETURNS bytea[]
+AS 'MODULE_PATHNAME','tuple_data_split'
+LANGUAGE C PARALLEL SAFE;
+
+CREATE FUNCTION tuple_data_split(rel_oid oid,
+ t_data bytea,
+ t_infomask integer,
+ t_infomask2 integer,
+ t_bits text,
+ do_detoast bool)
+RETURNS bytea[]
+AS 'MODULE_PATHNAME','tuple_data_split'
+LANGUAGE C PARALLEL SAFE;
+
+--
+-- heap_page_item_attrs()
+--
+CREATE FUNCTION heap_page_item_attrs(
+ IN page bytea,
+ IN rel_oid regclass,
+ IN do_detoast bool,
+ OUT lp smallint,
+ OUT lp_off smallint,
+ OUT lp_flags smallint,
+ OUT lp_len smallint,
+ OUT t_xmin xid,
+ OUT t_xmax xid,
+ OUT t_field3 int4,
+ OUT t_ctid tid,
+ OUT t_infomask2 integer,
+ OUT t_infomask integer,
+ OUT t_hoff smallint,
+ OUT t_bits text,
+ OUT t_oid oid,
+ OUT t_attrs bytea[]
+ )
+RETURNS SETOF record AS $$
+SELECT lp,
+ lp_off,
+ lp_flags,
+ lp_len,
+ t_xmin,
+ t_xmax,
+ t_field3,
+ t_ctid,
+ t_infomask2,
+ t_infomask,
+ t_hoff,
+ t_bits,
+ t_oid,
+ tuple_data_split(
+ rel_oid,
+ t_data,
+ t_infomask,
+ t_infomask2,
+ t_bits,
+ do_detoast)
+ AS t_attrs
+ FROM heap_page_items(page);
+$$ LANGUAGE SQL PARALLEL SAFE;
+
+CREATE FUNCTION heap_page_item_attrs(IN page bytea, IN rel_oid regclass,
+ OUT lp smallint,
+ OUT lp_off smallint,
+ OUT lp_flags smallint,
+ OUT lp_len smallint,
+ OUT t_xmin xid,
+ OUT t_xmax xid,
+ OUT t_field3 int4,
+ OUT t_ctid tid,
+ OUT t_infomask2 integer,
+ OUT t_infomask integer,
+ OUT t_hoff smallint,
+ OUT t_bits text,
+ OUT t_oid oid,
+ OUT t_attrs bytea[]
+ )
+RETURNS SETOF record AS $$
+SELECT * from heap_page_item_attrs(page, rel_oid, false);
+$$ LANGUAGE SQL PARALLEL SAFE;
+
+--
+-- bt_metap()
+--
+CREATE FUNCTION bt_metap(IN relname text,
+ OUT magic int4,
+ OUT version int4,
+ OUT root int4,
+ OUT level int4,
+ OUT fastroot int4,
+ OUT fastlevel int4)
+AS 'MODULE_PATHNAME', 'bt_metap'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- bt_page_stats()
+--
+CREATE FUNCTION bt_page_stats(IN relname text, IN blkno int4,
+ OUT blkno int4,
+ OUT type "char",
+ OUT live_items int4,
+ OUT dead_items int4,
+ OUT avg_item_size int4,
+ OUT page_size int4,
+ OUT free_size int4,
+ OUT btpo_prev int4,
+ OUT btpo_next int4,
+ OUT btpo int4,
+ OUT btpo_flags int4)
+AS 'MODULE_PATHNAME', 'bt_page_stats'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- bt_page_items()
+--
+CREATE FUNCTION bt_page_items(IN relname text, IN blkno int4,
+ OUT itemoffset smallint,
+ OUT ctid tid,
+ OUT itemlen smallint,
+ OUT nulls bool,
+ OUT vars bool,
+ OUT data text)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'bt_page_items'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- brin_page_type()
+--
+CREATE FUNCTION brin_page_type(IN page bytea)
+RETURNS text
+AS 'MODULE_PATHNAME', 'brin_page_type'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- brin_metapage_info()
+--
+CREATE FUNCTION brin_metapage_info(IN page bytea, OUT magic text,
+ OUT version integer, OUT pagesperrange integer, OUT lastrevmappage bigint)
+AS 'MODULE_PATHNAME', 'brin_metapage_info'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- brin_revmap_data()
+--
+CREATE FUNCTION brin_revmap_data(IN page bytea,
+ OUT pages tid)
+RETURNS SETOF tid
+AS 'MODULE_PATHNAME', 'brin_revmap_data'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- brin_page_items()
+--
+CREATE FUNCTION brin_page_items(IN page bytea, IN index_oid regclass,
+ OUT itemoffset int,
+ OUT blknum int,
+ OUT attnum int,
+ OUT allnulls bool,
+ OUT hasnulls bool,
+ OUT placeholder bool,
+ OUT value text)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'brin_page_items'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- fsm_page_contents()
+--
+CREATE FUNCTION fsm_page_contents(IN page bytea)
+RETURNS text
+AS 'MODULE_PATHNAME', 'fsm_page_contents'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- GIN functions
+--
+
+--
+-- gin_metapage_info()
+--
+CREATE FUNCTION gin_metapage_info(IN page bytea,
+ OUT pending_head bigint,
+ OUT pending_tail bigint,
+ OUT tail_free_size int4,
+ OUT n_pending_pages bigint,
+ OUT n_pending_tuples bigint,
+ OUT n_total_pages bigint,
+ OUT n_entry_pages bigint,
+ OUT n_data_pages bigint,
+ OUT n_entries bigint,
+ OUT version int4)
+AS 'MODULE_PATHNAME', 'gin_metapage_info'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- gin_page_opaque_info()
+--
+CREATE FUNCTION gin_page_opaque_info(IN page bytea,
+ OUT rightlink bigint,
+ OUT maxoff int4,
+ OUT flags text[])
+AS 'MODULE_PATHNAME', 'gin_page_opaque_info'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- gin_leafpage_items()
+--
+CREATE FUNCTION gin_leafpage_items(IN page bytea,
+ OUT first_tid tid,
+ OUT nbytes int2,
+ OUT tids tid[])
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'gin_leafpage_items'
+LANGUAGE C STRICT PARALLEL SAFE;
diff --git a/pgsql/share/extension/pageinspect--1.6--1.7.sql b/pgsql/share/extension/pageinspect--1.6--1.7.sql
new file mode 100644
index 0000000000000000000000000000000000000000..2433a21af274062820b59782000fbc25add8ec13
--- /dev/null
+++ b/pgsql/share/extension/pageinspect--1.6--1.7.sql
@@ -0,0 +1,26 @@
+/* contrib/pageinspect/pageinspect--1.6--1.7.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pageinspect UPDATE TO '1.7'" to load this file. \quit
+
+--
+-- bt_metap()
+--
+DROP FUNCTION bt_metap(IN relname text,
+ OUT magic int4,
+ OUT version int4,
+ OUT root int4,
+ OUT level int4,
+ OUT fastroot int4,
+ OUT fastlevel int4);
+CREATE FUNCTION bt_metap(IN relname text,
+ OUT magic int4,
+ OUT version int4,
+ OUT root int4,
+ OUT level int4,
+ OUT fastroot int4,
+ OUT fastlevel int4,
+ OUT oldest_xact int4,
+ OUT last_cleanup_num_tuples real)
+AS 'MODULE_PATHNAME', 'bt_metap'
+LANGUAGE C STRICT PARALLEL SAFE;
diff --git a/pgsql/share/extension/pageinspect--1.7--1.8.sql b/pgsql/share/extension/pageinspect--1.7--1.8.sql
new file mode 100644
index 0000000000000000000000000000000000000000..45031a026a62e03859d2f327a100373037c922a5
--- /dev/null
+++ b/pgsql/share/extension/pageinspect--1.7--1.8.sql
@@ -0,0 +1,69 @@
+/* contrib/pageinspect/pageinspect--1.7--1.8.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pageinspect UPDATE TO '1.8'" to load this file. \quit
+
+--
+-- heap_tuple_infomask_flags()
+--
+CREATE FUNCTION heap_tuple_infomask_flags(
+ t_infomask integer,
+ t_infomask2 integer,
+ raw_flags OUT text[],
+ combined_flags OUT text[])
+RETURNS record
+AS 'MODULE_PATHNAME', 'heap_tuple_infomask_flags'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- bt_metap()
+--
+DROP FUNCTION bt_metap(text);
+CREATE FUNCTION bt_metap(IN relname text,
+ OUT magic int4,
+ OUT version int4,
+ OUT root int8,
+ OUT level int8,
+ OUT fastroot int8,
+ OUT fastlevel int8,
+ OUT oldest_xact xid,
+ OUT last_cleanup_num_tuples float8,
+ OUT allequalimage boolean)
+AS 'MODULE_PATHNAME', 'bt_metap'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- bt_page_items(text, int4)
+--
+DROP FUNCTION bt_page_items(text, int4);
+CREATE FUNCTION bt_page_items(IN relname text, IN blkno int4,
+ OUT itemoffset smallint,
+ OUT ctid tid,
+ OUT itemlen smallint,
+ OUT nulls bool,
+ OUT vars bool,
+ OUT data text,
+ OUT dead boolean,
+ OUT htid tid,
+ OUT tids tid[])
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'bt_page_items'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- bt_page_items(bytea)
+--
+DROP FUNCTION bt_page_items(bytea);
+CREATE FUNCTION bt_page_items(IN page bytea,
+ OUT itemoffset smallint,
+ OUT ctid tid,
+ OUT itemlen smallint,
+ OUT nulls bool,
+ OUT vars bool,
+ OUT data text,
+ OUT dead boolean,
+ OUT htid tid,
+ OUT tids tid[])
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'bt_page_items_bytea'
+LANGUAGE C STRICT PARALLEL SAFE;
diff --git a/pgsql/share/extension/pageinspect--1.8--1.9.sql b/pgsql/share/extension/pageinspect--1.8--1.9.sql
new file mode 100644
index 0000000000000000000000000000000000000000..be89a64ca14028561bbf8146f5e16baa016b1875
--- /dev/null
+++ b/pgsql/share/extension/pageinspect--1.8--1.9.sql
@@ -0,0 +1,137 @@
+/* contrib/pageinspect/pageinspect--1.8--1.9.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pageinspect UPDATE TO '1.9'" to load this file. \quit
+
+--
+-- gist_page_opaque_info()
+--
+CREATE FUNCTION gist_page_opaque_info(IN page bytea,
+ OUT lsn pg_lsn,
+ OUT nsn pg_lsn,
+ OUT rightlink bigint,
+ OUT flags text[])
+AS 'MODULE_PATHNAME', 'gist_page_opaque_info'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+
+--
+-- gist_page_items_bytea()
+--
+CREATE FUNCTION gist_page_items_bytea(IN page bytea,
+ OUT itemoffset smallint,
+ OUT ctid tid,
+ OUT itemlen smallint,
+ OUT dead boolean,
+ OUT key_data bytea)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'gist_page_items_bytea'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- gist_page_items()
+--
+CREATE FUNCTION gist_page_items(IN page bytea,
+ IN index_oid regclass,
+ OUT itemoffset smallint,
+ OUT ctid tid,
+ OUT itemlen smallint,
+ OUT dead boolean,
+ OUT keys text)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'gist_page_items'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- get_raw_page()
+--
+DROP FUNCTION get_raw_page(text, int4);
+CREATE FUNCTION get_raw_page(text, int8)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'get_raw_page_1_9'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+DROP FUNCTION get_raw_page(text, text, int4);
+CREATE FUNCTION get_raw_page(text, text, int8)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'get_raw_page_fork_1_9'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- page_checksum()
+--
+DROP FUNCTION page_checksum(IN page bytea, IN blkno int4);
+CREATE FUNCTION page_checksum(IN page bytea, IN blkno int8)
+RETURNS smallint
+AS 'MODULE_PATHNAME', 'page_checksum_1_9'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- bt_metap()
+--
+DROP FUNCTION bt_metap(text);
+CREATE FUNCTION bt_metap(IN relname text,
+ OUT magic int4,
+ OUT version int4,
+ OUT root int8,
+ OUT level int8,
+ OUT fastroot int8,
+ OUT fastlevel int8,
+ OUT last_cleanup_num_delpages int8,
+ OUT last_cleanup_num_tuples float8,
+ OUT allequalimage boolean)
+AS 'MODULE_PATHNAME', 'bt_metap'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- bt_page_stats()
+--
+DROP FUNCTION bt_page_stats(text, int4);
+CREATE FUNCTION bt_page_stats(IN relname text, IN blkno int8,
+ OUT blkno int8,
+ OUT type "char",
+ OUT live_items int4,
+ OUT dead_items int4,
+ OUT avg_item_size int4,
+ OUT page_size int4,
+ OUT free_size int4,
+ OUT btpo_prev int8,
+ OUT btpo_next int8,
+ OUT btpo_level int8,
+ OUT btpo_flags int4)
+AS 'MODULE_PATHNAME', 'bt_page_stats_1_9'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- bt_page_items()
+--
+DROP FUNCTION bt_page_items(text, int4);
+CREATE FUNCTION bt_page_items(IN relname text, IN blkno int8,
+ OUT itemoffset smallint,
+ OUT ctid tid,
+ OUT itemlen smallint,
+ OUT nulls bool,
+ OUT vars bool,
+ OUT data text,
+ OUT dead boolean,
+ OUT htid tid,
+ OUT tids tid[])
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'bt_page_items_1_9'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- brin_page_items()
+--
+DROP FUNCTION brin_page_items(IN page bytea, IN index_oid regclass);
+CREATE FUNCTION brin_page_items(IN page bytea, IN index_oid regclass,
+ OUT itemoffset int,
+ OUT blknum int8,
+ OUT attnum int,
+ OUT allnulls bool,
+ OUT hasnulls bool,
+ OUT placeholder bool,
+ OUT value text)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'brin_page_items'
+LANGUAGE C STRICT PARALLEL SAFE;
diff --git a/pgsql/share/extension/pageinspect--1.9--1.10.sql b/pgsql/share/extension/pageinspect--1.9--1.10.sql
new file mode 100644
index 0000000000000000000000000000000000000000..8dd9a27505390d41db88821be6fd0ce6692f1d77
--- /dev/null
+++ b/pgsql/share/extension/pageinspect--1.9--1.10.sql
@@ -0,0 +1,21 @@
+/* contrib/pageinspect/pageinspect--1.9--1.10.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pageinspect UPDATE TO '1.10'" to load this file. \quit
+
+--
+-- page_header()
+--
+DROP FUNCTION page_header(IN page bytea);
+CREATE FUNCTION page_header(IN page bytea,
+ OUT lsn pg_lsn,
+ OUT checksum smallint,
+ OUT flags smallint,
+ OUT lower int,
+ OUT upper int,
+ OUT special int,
+ OUT pagesize int,
+ OUT version smallint,
+ OUT prune_xid xid)
+AS 'MODULE_PATHNAME', 'page_header'
+LANGUAGE C STRICT PARALLEL SAFE;
diff --git a/pgsql/share/extension/pageinspect.control b/pgsql/share/extension/pageinspect.control
new file mode 100644
index 0000000000000000000000000000000000000000..b2804e9b1284bfb6fd76ac025ca9cc57d47b82be
--- /dev/null
+++ b/pgsql/share/extension/pageinspect.control
@@ -0,0 +1,5 @@
+# pageinspect extension
+comment = 'inspect the contents of database pages at a low level'
+default_version = '1.12'
+module_pathname = '$libdir/pageinspect'
+relocatable = true
diff --git a/pgsql/share/extension/pg_buffercache--1.0--1.1.sql b/pgsql/share/extension/pg_buffercache--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..54d02f58c01896224d559d027144ecb0ad74a0f9
--- /dev/null
+++ b/pgsql/share/extension/pg_buffercache--1.0--1.1.sql
@@ -0,0 +1,11 @@
+/* contrib/pg_buffercache/pg_buffercache--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_buffercache UPDATE TO '1.1'" to load this file. \quit
+
+-- Upgrade view to 1.1. format
+CREATE OR REPLACE VIEW pg_buffercache AS
+ SELECT P.* FROM pg_buffercache_pages() AS P
+ (bufferid integer, relfilenode oid, reltablespace oid, reldatabase oid,
+ relforknumber int2, relblocknumber int8, isdirty bool, usagecount int2,
+ pinning_backends int4);
diff --git a/pgsql/share/extension/pg_buffercache--1.1--1.2.sql b/pgsql/share/extension/pg_buffercache--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..5997aad29c1fddd112129ff12d3052a8f2d4fba7
--- /dev/null
+++ b/pgsql/share/extension/pg_buffercache--1.1--1.2.sql
@@ -0,0 +1,6 @@
+/* contrib/pg_buffercache/pg_buffercache--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_buffercache UPDATE TO '1.2'" to load this file. \quit
+
+ALTER FUNCTION pg_buffercache_pages() PARALLEL SAFE;
diff --git a/pgsql/share/extension/pg_buffercache--1.2--1.3.sql b/pgsql/share/extension/pg_buffercache--1.2--1.3.sql
new file mode 100644
index 0000000000000000000000000000000000000000..b37ef0112e3dffd25a2e77d663c59002cb93d8a1
--- /dev/null
+++ b/pgsql/share/extension/pg_buffercache--1.2--1.3.sql
@@ -0,0 +1,7 @@
+/* contrib/pg_buffercache/pg_buffercache--1.2--1.3.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_buffercache UPDATE TO '1.3'" to load this file. \quit
+
+GRANT EXECUTE ON FUNCTION pg_buffercache_pages() TO pg_monitor;
+GRANT SELECT ON pg_buffercache TO pg_monitor;
diff --git a/pgsql/share/extension/pg_buffercache--1.2.sql b/pgsql/share/extension/pg_buffercache--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..6ee5d8435bdc7aeffc45cb35b116cf87485fa063
--- /dev/null
+++ b/pgsql/share/extension/pg_buffercache--1.2.sql
@@ -0,0 +1,21 @@
+/* contrib/pg_buffercache/pg_buffercache--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION pg_buffercache" to load this file. \quit
+
+-- Register the function.
+CREATE FUNCTION pg_buffercache_pages()
+RETURNS SETOF RECORD
+AS 'MODULE_PATHNAME', 'pg_buffercache_pages'
+LANGUAGE C PARALLEL SAFE;
+
+-- Create a view for convenient access.
+CREATE VIEW pg_buffercache AS
+ SELECT P.* FROM pg_buffercache_pages() AS P
+ (bufferid integer, relfilenode oid, reltablespace oid, reldatabase oid,
+ relforknumber int2, relblocknumber int8, isdirty bool, usagecount int2,
+ pinning_backends int4);
+
+-- Don't want these to be available to public.
+REVOKE ALL ON FUNCTION pg_buffercache_pages() FROM PUBLIC;
+REVOKE ALL ON pg_buffercache FROM PUBLIC;
diff --git a/pgsql/share/extension/pg_buffercache--1.3--1.4.sql b/pgsql/share/extension/pg_buffercache--1.3--1.4.sql
new file mode 100644
index 0000000000000000000000000000000000000000..d5aebf3ba39e793e099e2420f2aab6bc5cba22a5
--- /dev/null
+++ b/pgsql/share/extension/pg_buffercache--1.3--1.4.sql
@@ -0,0 +1,28 @@
+/* contrib/pg_buffercache/pg_buffercache--1.3--1.4.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_buffercache UPDATE TO '1.4'" to load this file. \quit
+
+CREATE FUNCTION pg_buffercache_summary(
+ OUT buffers_used int4,
+ OUT buffers_unused int4,
+ OUT buffers_dirty int4,
+ OUT buffers_pinned int4,
+ OUT usagecount_avg float8)
+AS 'MODULE_PATHNAME', 'pg_buffercache_summary'
+LANGUAGE C PARALLEL SAFE;
+
+CREATE FUNCTION pg_buffercache_usage_counts(
+ OUT usage_count int4,
+ OUT buffers int4,
+ OUT dirty int4,
+ OUT pinned int4)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'pg_buffercache_usage_counts'
+LANGUAGE C PARALLEL SAFE;
+
+-- Don't want these to be available to public.
+REVOKE ALL ON FUNCTION pg_buffercache_summary() FROM PUBLIC;
+GRANT EXECUTE ON FUNCTION pg_buffercache_summary() TO pg_monitor;
+REVOKE ALL ON FUNCTION pg_buffercache_usage_counts() FROM PUBLIC;
+GRANT EXECUTE ON FUNCTION pg_buffercache_usage_counts() TO pg_monitor;
diff --git a/pgsql/share/extension/pg_buffercache.control b/pgsql/share/extension/pg_buffercache.control
new file mode 100644
index 0000000000000000000000000000000000000000..a82ae5f9bb5368834428a1e975f62e8d75687595
--- /dev/null
+++ b/pgsql/share/extension/pg_buffercache.control
@@ -0,0 +1,5 @@
+# pg_buffercache extension
+comment = 'examine the shared buffer cache'
+default_version = '1.4'
+module_pathname = '$libdir/pg_buffercache'
+relocatable = true
diff --git a/pgsql/share/extension/pg_freespacemap--1.0--1.1.sql b/pgsql/share/extension/pg_freespacemap--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..52d6576df0ded4a49137d15c5f7f97e4c2b88f56
--- /dev/null
+++ b/pgsql/share/extension/pg_freespacemap--1.0--1.1.sql
@@ -0,0 +1,7 @@
+/* contrib/pg_freespacemap/pg_freespacemap--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_freespacemap UPDATE TO '1.1'" to load this file. \quit
+
+ALTER FUNCTION pg_freespace(regclass, bigint) PARALLEL SAFE;
+ALTER FUNCTION pg_freespace(regclass) PARALLEL SAFE;
diff --git a/pgsql/share/extension/pg_freespacemap--1.1--1.2.sql b/pgsql/share/extension/pg_freespacemap--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..f558defadde16fc5678826a68bd9359e717f9ea6
--- /dev/null
+++ b/pgsql/share/extension/pg_freespacemap--1.1--1.2.sql
@@ -0,0 +1,7 @@
+/* contrib/pg_freespacemap/pg_freespacemap--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_freespacemap UPDATE TO '1.2'" to load this file. \quit
+
+GRANT EXECUTE ON FUNCTION pg_freespace(regclass, bigint) TO pg_stat_scan_tables;
+GRANT EXECUTE ON FUNCTION pg_freespace(regclass) TO pg_stat_scan_tables;
diff --git a/pgsql/share/extension/pg_freespacemap--1.1.sql b/pgsql/share/extension/pg_freespacemap--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..e1b8242268b0645fd21124245871898112d5e312
--- /dev/null
+++ b/pgsql/share/extension/pg_freespacemap--1.1.sql
@@ -0,0 +1,25 @@
+/* contrib/pg_freespacemap/pg_freespacemap--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION pg_freespacemap" to load this file. \quit
+
+-- Register the C function.
+CREATE FUNCTION pg_freespace(regclass, bigint)
+RETURNS int2
+AS 'MODULE_PATHNAME', 'pg_freespace'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+-- pg_freespace shows the recorded space avail at each block in a relation
+CREATE FUNCTION
+ pg_freespace(rel regclass, blkno OUT bigint, avail OUT int2)
+RETURNS SETOF RECORD
+AS $$
+ SELECT blkno, pg_freespace($1, blkno) AS avail
+ FROM generate_series(0, pg_relation_size($1) / current_setting('block_size')::bigint - 1) AS blkno;
+$$
+LANGUAGE SQL PARALLEL SAFE;
+
+
+-- Don't want these to be available to public.
+REVOKE ALL ON FUNCTION pg_freespace(regclass, bigint) FROM PUBLIC;
+REVOKE ALL ON FUNCTION pg_freespace(regclass) FROM PUBLIC;
diff --git a/pgsql/share/extension/pg_freespacemap.control b/pgsql/share/extension/pg_freespacemap.control
new file mode 100644
index 0000000000000000000000000000000000000000..ac8fc5050a91702a188f31ca9ddd34efed316b11
--- /dev/null
+++ b/pgsql/share/extension/pg_freespacemap.control
@@ -0,0 +1,5 @@
+# pg_freespacemap extension
+comment = 'examine the free space map (FSM)'
+default_version = '1.2'
+module_pathname = '$libdir/pg_freespacemap'
+relocatable = true
diff --git a/pgsql/share/extension/pg_prewarm--1.0--1.1.sql b/pgsql/share/extension/pg_prewarm--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..99660548939e3e63a04077905a37902b62e9088b
--- /dev/null
+++ b/pgsql/share/extension/pg_prewarm--1.0--1.1.sql
@@ -0,0 +1,6 @@
+/* contrib/pg_prewarm/pg_prewarm--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_prewarm UPDATE TO '1.1'" to load this file. \quit
+
+ALTER FUNCTION pg_prewarm(regclass, text, text, int8, int8) PARALLEL SAFE;
diff --git a/pgsql/share/extension/pg_prewarm--1.1--1.2.sql b/pgsql/share/extension/pg_prewarm--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..2381c06eb9755a1772b7b6a35320d08579a34c41
--- /dev/null
+++ b/pgsql/share/extension/pg_prewarm--1.1--1.2.sql
@@ -0,0 +1,14 @@
+/* contrib/pg_prewarm/pg_prewarm--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_prewarm UPDATE TO '1.2'" to load this file. \quit
+
+CREATE FUNCTION autoprewarm_start_worker()
+RETURNS VOID STRICT
+AS 'MODULE_PATHNAME', 'autoprewarm_start_worker'
+LANGUAGE C;
+
+CREATE FUNCTION autoprewarm_dump_now()
+RETURNS pg_catalog.int8 STRICT
+AS 'MODULE_PATHNAME', 'autoprewarm_dump_now'
+LANGUAGE C;
diff --git a/pgsql/share/extension/pg_prewarm--1.1.sql b/pgsql/share/extension/pg_prewarm--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..b15089598cb176280b9eef8bb7cfc639d7f49c48
--- /dev/null
+++ b/pgsql/share/extension/pg_prewarm--1.1.sql
@@ -0,0 +1,14 @@
+/* contrib/pg_prewarm/pg_prewarm--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION pg_prewarm" to load this file. \quit
+
+-- Register the function.
+CREATE FUNCTION pg_prewarm(regclass,
+ mode text default 'buffer',
+ fork text default 'main',
+ first_block int8 default null,
+ last_block int8 default null)
+RETURNS int8
+AS 'MODULE_PATHNAME', 'pg_prewarm'
+LANGUAGE C PARALLEL SAFE;
diff --git a/pgsql/share/extension/pg_prewarm.control b/pgsql/share/extension/pg_prewarm.control
new file mode 100644
index 0000000000000000000000000000000000000000..40e3add4810f4ba702e58cda5c9a713b8c9eb8a1
--- /dev/null
+++ b/pgsql/share/extension/pg_prewarm.control
@@ -0,0 +1,5 @@
+# pg_prewarm extension
+comment = 'prewarm relation data'
+default_version = '1.2'
+module_pathname = '$libdir/pg_prewarm'
+relocatable = true
diff --git a/pgsql/share/extension/pg_stat_statements--1.0--1.1.sql b/pgsql/share/extension/pg_stat_statements--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..5be281ea47a47f5b042be072ba273de0ba9361eb
--- /dev/null
+++ b/pgsql/share/extension/pg_stat_statements--1.0--1.1.sql
@@ -0,0 +1,42 @@
+/* contrib/pg_stat_statements/pg_stat_statements--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_stat_statements UPDATE TO '1.1'" to load this file. \quit
+
+/* First we have to remove them from the extension */
+ALTER EXTENSION pg_stat_statements DROP VIEW pg_stat_statements;
+ALTER EXTENSION pg_stat_statements DROP FUNCTION pg_stat_statements();
+
+/* Then we can drop them */
+DROP VIEW pg_stat_statements;
+DROP FUNCTION pg_stat_statements();
+
+/* Now redefine */
+CREATE FUNCTION pg_stat_statements(
+ OUT userid oid,
+ OUT dbid oid,
+ OUT query text,
+ OUT calls int8,
+ OUT total_time float8,
+ OUT rows int8,
+ OUT shared_blks_hit int8,
+ OUT shared_blks_read int8,
+ OUT shared_blks_dirtied int8,
+ OUT shared_blks_written int8,
+ OUT local_blks_hit int8,
+ OUT local_blks_read int8,
+ OUT local_blks_dirtied int8,
+ OUT local_blks_written int8,
+ OUT temp_blks_read int8,
+ OUT temp_blks_written int8,
+ OUT blk_read_time float8,
+ OUT blk_write_time float8
+)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME'
+LANGUAGE C;
+
+CREATE VIEW pg_stat_statements AS
+ SELECT * FROM pg_stat_statements();
+
+GRANT SELECT ON pg_stat_statements TO PUBLIC;
diff --git a/pgsql/share/extension/pg_stat_statements--1.1--1.2.sql b/pgsql/share/extension/pg_stat_statements--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..74ae43868d13fe69aaa2bc437c8b47cbedcde5c7
--- /dev/null
+++ b/pgsql/share/extension/pg_stat_statements--1.1--1.2.sql
@@ -0,0 +1,43 @@
+/* contrib/pg_stat_statements/pg_stat_statements--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_stat_statements UPDATE TO '1.2'" to load this file. \quit
+
+/* First we have to remove them from the extension */
+ALTER EXTENSION pg_stat_statements DROP VIEW pg_stat_statements;
+ALTER EXTENSION pg_stat_statements DROP FUNCTION pg_stat_statements();
+
+/* Then we can drop them */
+DROP VIEW pg_stat_statements;
+DROP FUNCTION pg_stat_statements();
+
+/* Now redefine */
+CREATE FUNCTION pg_stat_statements(IN showtext boolean,
+ OUT userid oid,
+ OUT dbid oid,
+ OUT queryid bigint,
+ OUT query text,
+ OUT calls int8,
+ OUT total_time float8,
+ OUT rows int8,
+ OUT shared_blks_hit int8,
+ OUT shared_blks_read int8,
+ OUT shared_blks_dirtied int8,
+ OUT shared_blks_written int8,
+ OUT local_blks_hit int8,
+ OUT local_blks_read int8,
+ OUT local_blks_dirtied int8,
+ OUT local_blks_written int8,
+ OUT temp_blks_read int8,
+ OUT temp_blks_written int8,
+ OUT blk_read_time float8,
+ OUT blk_write_time float8
+)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'pg_stat_statements_1_2'
+LANGUAGE C STRICT VOLATILE;
+
+CREATE VIEW pg_stat_statements AS
+ SELECT * FROM pg_stat_statements(true);
+
+GRANT SELECT ON pg_stat_statements TO PUBLIC;
diff --git a/pgsql/share/extension/pg_stat_statements--1.2--1.3.sql b/pgsql/share/extension/pg_stat_statements--1.2--1.3.sql
new file mode 100644
index 0000000000000000000000000000000000000000..a56f151b9946113851fb2e3f3b3bfd5d4c6467b7
--- /dev/null
+++ b/pgsql/share/extension/pg_stat_statements--1.2--1.3.sql
@@ -0,0 +1,47 @@
+/* contrib/pg_stat_statements/pg_stat_statements--1.2--1.3.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_stat_statements UPDATE TO '1.3'" to load this file. \quit
+
+/* First we have to remove them from the extension */
+ALTER EXTENSION pg_stat_statements DROP VIEW pg_stat_statements;
+ALTER EXTENSION pg_stat_statements DROP FUNCTION pg_stat_statements(boolean);
+
+/* Then we can drop them */
+DROP VIEW pg_stat_statements;
+DROP FUNCTION pg_stat_statements(boolean);
+
+/* Now redefine */
+CREATE FUNCTION pg_stat_statements(IN showtext boolean,
+ OUT userid oid,
+ OUT dbid oid,
+ OUT queryid bigint,
+ OUT query text,
+ OUT calls int8,
+ OUT total_time float8,
+ OUT min_time float8,
+ OUT max_time float8,
+ OUT mean_time float8,
+ OUT stddev_time float8,
+ OUT rows int8,
+ OUT shared_blks_hit int8,
+ OUT shared_blks_read int8,
+ OUT shared_blks_dirtied int8,
+ OUT shared_blks_written int8,
+ OUT local_blks_hit int8,
+ OUT local_blks_read int8,
+ OUT local_blks_dirtied int8,
+ OUT local_blks_written int8,
+ OUT temp_blks_read int8,
+ OUT temp_blks_written int8,
+ OUT blk_read_time float8,
+ OUT blk_write_time float8
+)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'pg_stat_statements_1_3'
+LANGUAGE C STRICT VOLATILE;
+
+CREATE VIEW pg_stat_statements AS
+ SELECT * FROM pg_stat_statements(true);
+
+GRANT SELECT ON pg_stat_statements TO PUBLIC;
diff --git a/pgsql/share/extension/pg_stat_statements--1.3--1.4.sql b/pgsql/share/extension/pg_stat_statements--1.3--1.4.sql
new file mode 100644
index 0000000000000000000000000000000000000000..ae70c1f8028e57eb054b45c715aef95c8b764f1e
--- /dev/null
+++ b/pgsql/share/extension/pg_stat_statements--1.3--1.4.sql
@@ -0,0 +1,7 @@
+/* contrib/pg_stat_statements/pg_stat_statements--1.3--1.4.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_stat_statements UPDATE TO '1.4'" to load this file. \quit
+
+ALTER FUNCTION pg_stat_statements_reset() PARALLEL SAFE;
+ALTER FUNCTION pg_stat_statements(boolean) PARALLEL SAFE;
diff --git a/pgsql/share/extension/pg_stat_statements--1.4--1.5.sql b/pgsql/share/extension/pg_stat_statements--1.4--1.5.sql
new file mode 100644
index 0000000000000000000000000000000000000000..9c76122a2b76b5a2aefab525ae01e0c24a19d8cf
--- /dev/null
+++ b/pgsql/share/extension/pg_stat_statements--1.4--1.5.sql
@@ -0,0 +1,6 @@
+/* contrib/pg_stat_statements/pg_stat_statements--1.4--1.5.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_stat_statements UPDATE TO '1.5'" to load this file. \quit
+
+GRANT EXECUTE ON FUNCTION pg_stat_statements_reset() TO pg_read_all_stats;
diff --git a/pgsql/share/extension/pg_stat_statements--1.4.sql b/pgsql/share/extension/pg_stat_statements--1.4.sql
new file mode 100644
index 0000000000000000000000000000000000000000..58cdf600fced0ce66f9f0305d4f4aec193fa2e7a
--- /dev/null
+++ b/pgsql/share/extension/pg_stat_statements--1.4.sql
@@ -0,0 +1,48 @@
+/* contrib/pg_stat_statements/pg_stat_statements--1.4.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION pg_stat_statements" to load this file. \quit
+
+-- Register functions.
+CREATE FUNCTION pg_stat_statements_reset()
+RETURNS void
+AS 'MODULE_PATHNAME'
+LANGUAGE C PARALLEL SAFE;
+
+CREATE FUNCTION pg_stat_statements(IN showtext boolean,
+ OUT userid oid,
+ OUT dbid oid,
+ OUT queryid bigint,
+ OUT query text,
+ OUT calls int8,
+ OUT total_time float8,
+ OUT min_time float8,
+ OUT max_time float8,
+ OUT mean_time float8,
+ OUT stddev_time float8,
+ OUT rows int8,
+ OUT shared_blks_hit int8,
+ OUT shared_blks_read int8,
+ OUT shared_blks_dirtied int8,
+ OUT shared_blks_written int8,
+ OUT local_blks_hit int8,
+ OUT local_blks_read int8,
+ OUT local_blks_dirtied int8,
+ OUT local_blks_written int8,
+ OUT temp_blks_read int8,
+ OUT temp_blks_written int8,
+ OUT blk_read_time float8,
+ OUT blk_write_time float8
+)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'pg_stat_statements_1_3'
+LANGUAGE C STRICT VOLATILE PARALLEL SAFE;
+
+-- Register a view on the function for ease of use.
+CREATE VIEW pg_stat_statements AS
+ SELECT * FROM pg_stat_statements(true);
+
+GRANT SELECT ON pg_stat_statements TO PUBLIC;
+
+-- Don't want this to be available to non-superusers.
+REVOKE ALL ON FUNCTION pg_stat_statements_reset() FROM PUBLIC;
diff --git a/pgsql/share/extension/pg_stat_statements--1.5--1.6.sql b/pgsql/share/extension/pg_stat_statements--1.5--1.6.sql
new file mode 100644
index 0000000000000000000000000000000000000000..4f8c7f7ee8a09334cd4d3eb17fe5ee7558aa3f06
--- /dev/null
+++ b/pgsql/share/extension/pg_stat_statements--1.5--1.6.sql
@@ -0,0 +1,7 @@
+/* contrib/pg_stat_statements/pg_stat_statements--1.5--1.6.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_stat_statements UPDATE TO '1.6'" to load this file. \quit
+
+-- Execution is only allowed for superusers, fixing issue with 1.5.
+REVOKE EXECUTE ON FUNCTION pg_stat_statements_reset() FROM pg_read_all_stats;
diff --git a/pgsql/share/extension/pg_stat_statements--1.6--1.7.sql b/pgsql/share/extension/pg_stat_statements--1.6--1.7.sql
new file mode 100644
index 0000000000000000000000000000000000000000..6fc3fed4c93f53d9a907e870ba2222089139243b
--- /dev/null
+++ b/pgsql/share/extension/pg_stat_statements--1.6--1.7.sql
@@ -0,0 +1,22 @@
+/* contrib/pg_stat_statements/pg_stat_statements--1.6--1.7.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_stat_statements UPDATE TO '1.7'" to load this file. \quit
+
+/* First we have to remove them from the extension */
+ALTER EXTENSION pg_stat_statements DROP FUNCTION pg_stat_statements_reset();
+
+/* Then we can drop them */
+DROP FUNCTION pg_stat_statements_reset();
+
+/* Now redefine */
+CREATE FUNCTION pg_stat_statements_reset(IN userid Oid DEFAULT 0,
+ IN dbid Oid DEFAULT 0,
+ IN queryid bigint DEFAULT 0
+)
+RETURNS void
+AS 'MODULE_PATHNAME', 'pg_stat_statements_reset_1_7'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+-- Don't want this to be available to non-superusers.
+REVOKE ALL ON FUNCTION pg_stat_statements_reset(Oid, Oid, bigint) FROM PUBLIC;
diff --git a/pgsql/share/extension/pg_stat_statements--1.7--1.8.sql b/pgsql/share/extension/pg_stat_statements--1.7--1.8.sql
new file mode 100644
index 0000000000000000000000000000000000000000..0f63f08f7ebcb308fa21b69af5248bc78c1c45f0
--- /dev/null
+++ b/pgsql/share/extension/pg_stat_statements--1.7--1.8.sql
@@ -0,0 +1,56 @@
+/* contrib/pg_stat_statements/pg_stat_statements--1.7--1.8.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_stat_statements UPDATE TO '1.8'" to load this file. \quit
+
+/* First we have to remove them from the extension */
+ALTER EXTENSION pg_stat_statements DROP VIEW pg_stat_statements;
+ALTER EXTENSION pg_stat_statements DROP FUNCTION pg_stat_statements(boolean);
+
+/* Then we can drop them */
+DROP VIEW pg_stat_statements;
+DROP FUNCTION pg_stat_statements(boolean);
+
+/* Now redefine */
+CREATE FUNCTION pg_stat_statements(IN showtext boolean,
+ OUT userid oid,
+ OUT dbid oid,
+ OUT queryid bigint,
+ OUT query text,
+ OUT plans int8,
+ OUT total_plan_time float8,
+ OUT min_plan_time float8,
+ OUT max_plan_time float8,
+ OUT mean_plan_time float8,
+ OUT stddev_plan_time float8,
+ OUT calls int8,
+ OUT total_exec_time float8,
+ OUT min_exec_time float8,
+ OUT max_exec_time float8,
+ OUT mean_exec_time float8,
+ OUT stddev_exec_time float8,
+ OUT rows int8,
+ OUT shared_blks_hit int8,
+ OUT shared_blks_read int8,
+ OUT shared_blks_dirtied int8,
+ OUT shared_blks_written int8,
+ OUT local_blks_hit int8,
+ OUT local_blks_read int8,
+ OUT local_blks_dirtied int8,
+ OUT local_blks_written int8,
+ OUT temp_blks_read int8,
+ OUT temp_blks_written int8,
+ OUT blk_read_time float8,
+ OUT blk_write_time float8,
+ OUT wal_records int8,
+ OUT wal_fpi int8,
+ OUT wal_bytes numeric
+)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'pg_stat_statements_1_8'
+LANGUAGE C STRICT VOLATILE PARALLEL SAFE;
+
+CREATE VIEW pg_stat_statements AS
+ SELECT * FROM pg_stat_statements(true);
+
+GRANT SELECT ON pg_stat_statements TO PUBLIC;
diff --git a/pgsql/share/extension/pg_stat_statements--1.8--1.9.sql b/pgsql/share/extension/pg_stat_statements--1.8--1.9.sql
new file mode 100644
index 0000000000000000000000000000000000000000..c45223f888e9847fbb24430628f20ccfd294a686
--- /dev/null
+++ b/pgsql/share/extension/pg_stat_statements--1.8--1.9.sql
@@ -0,0 +1,71 @@
+/* contrib/pg_stat_statements/pg_stat_statements--1.8--1.9.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_stat_statements UPDATE TO '1.9'" to load this file. \quit
+
+--- Define pg_stat_statements_info
+CREATE FUNCTION pg_stat_statements_info(
+ OUT dealloc bigint,
+ OUT stats_reset timestamp with time zone
+)
+RETURNS record
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT VOLATILE PARALLEL SAFE;
+
+CREATE VIEW pg_stat_statements_info AS
+ SELECT * FROM pg_stat_statements_info();
+
+GRANT SELECT ON pg_stat_statements_info TO PUBLIC;
+
+/* First we have to remove them from the extension */
+ALTER EXTENSION pg_stat_statements DROP VIEW pg_stat_statements;
+ALTER EXTENSION pg_stat_statements DROP FUNCTION pg_stat_statements(boolean);
+
+/* Then we can drop them */
+DROP VIEW pg_stat_statements;
+DROP FUNCTION pg_stat_statements(boolean);
+
+/* Now redefine */
+CREATE FUNCTION pg_stat_statements(IN showtext boolean,
+ OUT userid oid,
+ OUT dbid oid,
+ OUT toplevel bool,
+ OUT queryid bigint,
+ OUT query text,
+ OUT plans int8,
+ OUT total_plan_time float8,
+ OUT min_plan_time float8,
+ OUT max_plan_time float8,
+ OUT mean_plan_time float8,
+ OUT stddev_plan_time float8,
+ OUT calls int8,
+ OUT total_exec_time float8,
+ OUT min_exec_time float8,
+ OUT max_exec_time float8,
+ OUT mean_exec_time float8,
+ OUT stddev_exec_time float8,
+ OUT rows int8,
+ OUT shared_blks_hit int8,
+ OUT shared_blks_read int8,
+ OUT shared_blks_dirtied int8,
+ OUT shared_blks_written int8,
+ OUT local_blks_hit int8,
+ OUT local_blks_read int8,
+ OUT local_blks_dirtied int8,
+ OUT local_blks_written int8,
+ OUT temp_blks_read int8,
+ OUT temp_blks_written int8,
+ OUT blk_read_time float8,
+ OUT blk_write_time float8,
+ OUT wal_records int8,
+ OUT wal_fpi int8,
+ OUT wal_bytes numeric
+)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'pg_stat_statements_1_9'
+LANGUAGE C STRICT VOLATILE PARALLEL SAFE;
+
+CREATE VIEW pg_stat_statements AS
+ SELECT * FROM pg_stat_statements(true);
+
+GRANT SELECT ON pg_stat_statements TO PUBLIC;
diff --git a/pgsql/share/extension/pg_stat_statements--1.9--1.10.sql b/pgsql/share/extension/pg_stat_statements--1.9--1.10.sql
new file mode 100644
index 0000000000000000000000000000000000000000..811813c49159f72add84af8ca2414c7190575d75
--- /dev/null
+++ b/pgsql/share/extension/pg_stat_statements--1.9--1.10.sql
@@ -0,0 +1,67 @@
+/* contrib/pg_stat_statements/pg_stat_statements--1.9--1.10.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_stat_statements UPDATE TO '1.10'" to load this file. \quit
+
+/* First we have to remove them from the extension */
+ALTER EXTENSION pg_stat_statements DROP VIEW pg_stat_statements;
+ALTER EXTENSION pg_stat_statements DROP FUNCTION pg_stat_statements(boolean);
+
+/* Then we can drop them */
+DROP VIEW pg_stat_statements;
+DROP FUNCTION pg_stat_statements(boolean);
+
+/* Now redefine */
+CREATE FUNCTION pg_stat_statements(IN showtext boolean,
+ OUT userid oid,
+ OUT dbid oid,
+ OUT toplevel bool,
+ OUT queryid bigint,
+ OUT query text,
+ OUT plans int8,
+ OUT total_plan_time float8,
+ OUT min_plan_time float8,
+ OUT max_plan_time float8,
+ OUT mean_plan_time float8,
+ OUT stddev_plan_time float8,
+ OUT calls int8,
+ OUT total_exec_time float8,
+ OUT min_exec_time float8,
+ OUT max_exec_time float8,
+ OUT mean_exec_time float8,
+ OUT stddev_exec_time float8,
+ OUT rows int8,
+ OUT shared_blks_hit int8,
+ OUT shared_blks_read int8,
+ OUT shared_blks_dirtied int8,
+ OUT shared_blks_written int8,
+ OUT local_blks_hit int8,
+ OUT local_blks_read int8,
+ OUT local_blks_dirtied int8,
+ OUT local_blks_written int8,
+ OUT temp_blks_read int8,
+ OUT temp_blks_written int8,
+ OUT blk_read_time float8,
+ OUT blk_write_time float8,
+ OUT temp_blk_read_time float8,
+ OUT temp_blk_write_time float8,
+ OUT wal_records int8,
+ OUT wal_fpi int8,
+ OUT wal_bytes numeric,
+ OUT jit_functions int8,
+ OUT jit_generation_time float8,
+ OUT jit_inlining_count int8,
+ OUT jit_inlining_time float8,
+ OUT jit_optimization_count int8,
+ OUT jit_optimization_time float8,
+ OUT jit_emission_count int8,
+ OUT jit_emission_time float8
+)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'pg_stat_statements_1_10'
+LANGUAGE C STRICT VOLATILE PARALLEL SAFE;
+
+CREATE VIEW pg_stat_statements AS
+ SELECT * FROM pg_stat_statements(true);
+
+GRANT SELECT ON pg_stat_statements TO PUBLIC;
diff --git a/pgsql/share/extension/pg_stat_statements.control b/pgsql/share/extension/pg_stat_statements.control
new file mode 100644
index 0000000000000000000000000000000000000000..0747e48138373377999693a1126a28b60e9aa92c
--- /dev/null
+++ b/pgsql/share/extension/pg_stat_statements.control
@@ -0,0 +1,5 @@
+# pg_stat_statements extension
+comment = 'track planning and execution statistics of all SQL statements executed'
+default_version = '1.10'
+module_pathname = '$libdir/pg_stat_statements'
+relocatable = true
diff --git a/pgsql/share/extension/pg_surgery--1.0.sql b/pgsql/share/extension/pg_surgery--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..d1e53a07bc9d54e3468663008564a17e81c0b14d
--- /dev/null
+++ b/pgsql/share/extension/pg_surgery--1.0.sql
@@ -0,0 +1,18 @@
+/* contrib/pg_surgery/pg_surgery--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION pg_surgery" to load this file. \quit
+
+CREATE FUNCTION heap_force_kill(reloid regclass, tids tid[])
+RETURNS VOID
+AS 'MODULE_PATHNAME', 'heap_force_kill'
+LANGUAGE C STRICT;
+
+REVOKE EXECUTE ON FUNCTION heap_force_kill(regclass, tid[]) FROM PUBLIC;
+
+CREATE FUNCTION heap_force_freeze(reloid regclass, tids tid[])
+RETURNS VOID
+AS 'MODULE_PATHNAME', 'heap_force_freeze'
+LANGUAGE C STRICT;
+
+REVOKE EXECUTE ON FUNCTION heap_force_freeze(regclass, tid[]) FROM PUBLIC;
diff --git a/pgsql/share/extension/pg_surgery.control b/pgsql/share/extension/pg_surgery.control
new file mode 100644
index 0000000000000000000000000000000000000000..2bcdad1e3f7fea9522ba6aae7830c9755df8c07e
--- /dev/null
+++ b/pgsql/share/extension/pg_surgery.control
@@ -0,0 +1,5 @@
+# pg_surgery extension
+comment = 'extension to perform surgery on a damaged relation'
+default_version = '1.0'
+module_pathname = '$libdir/pg_surgery'
+relocatable = true
diff --git a/pgsql/share/extension/pg_trgm--1.0--1.1.sql b/pgsql/share/extension/pg_trgm--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..b4e3e26037b23115a3cad9916c8909e6aa6bd32d
--- /dev/null
+++ b/pgsql/share/extension/pg_trgm--1.0--1.1.sql
@@ -0,0 +1,12 @@
+/* contrib/pg_trgm/pg_trgm--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_trgm UPDATE TO '1.1'" to load this file. \quit
+
+ALTER OPERATOR FAMILY gist_trgm_ops USING gist ADD
+ OPERATOR 5 pg_catalog.~ (text, text),
+ OPERATOR 6 pg_catalog.~* (text, text);
+
+ALTER OPERATOR FAMILY gin_trgm_ops USING gin ADD
+ OPERATOR 5 pg_catalog.~ (text, text),
+ OPERATOR 6 pg_catalog.~* (text, text);
diff --git a/pgsql/share/extension/pg_trgm--1.1--1.2.sql b/pgsql/share/extension/pg_trgm--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..ff0f13fd08c376ba9860b45d01d245c36af51e60
--- /dev/null
+++ b/pgsql/share/extension/pg_trgm--1.1--1.2.sql
@@ -0,0 +1,74 @@
+/* contrib/pg_trgm/pg_trgm--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_trgm UPDATE TO '1.2'" to load this file. \quit
+
+CREATE FUNCTION word_similarity(text,text)
+RETURNS float4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION word_similarity_op(text,text)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE; -- stable because depends on pg_trgm.word_similarity_threshold
+
+CREATE FUNCTION word_similarity_commutator_op(text,text)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE; -- stable because depends on pg_trgm.word_similarity_threshold
+
+CREATE FUNCTION word_similarity_dist_op(text,text)
+RETURNS float4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE FUNCTION word_similarity_dist_commutator_op(text,text)
+RETURNS float4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE;
+
+CREATE OPERATOR <% (
+ LEFTARG = text,
+ RIGHTARG = text,
+ PROCEDURE = word_similarity_op,
+ COMMUTATOR = '%>',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR %> (
+ LEFTARG = text,
+ RIGHTARG = text,
+ PROCEDURE = word_similarity_commutator_op,
+ COMMUTATOR = '<%',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR <<-> (
+ LEFTARG = text,
+ RIGHTARG = text,
+ PROCEDURE = word_similarity_dist_op,
+ COMMUTATOR = '<->>'
+);
+
+CREATE OPERATOR <->> (
+ LEFTARG = text,
+ RIGHTARG = text,
+ PROCEDURE = word_similarity_dist_commutator_op,
+ COMMUTATOR = '<<->'
+);
+
+CREATE FUNCTION gin_trgm_triconsistent(internal, int2, text, int4, internal, internal, internal)
+RETURNS "char"
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT;
+
+ALTER OPERATOR FAMILY gist_trgm_ops USING gist ADD
+ OPERATOR 7 %> (text, text),
+ OPERATOR 8 <->> (text, text) FOR ORDER BY pg_catalog.float_ops;
+
+ALTER OPERATOR FAMILY gin_trgm_ops USING gin ADD
+ OPERATOR 7 %> (text, text),
+ FUNCTION 6 (text, text) gin_trgm_triconsistent (internal, int2, text, int4, internal, internal, internal);
diff --git a/pgsql/share/extension/pg_trgm--1.2--1.3.sql b/pgsql/share/extension/pg_trgm--1.2--1.3.sql
new file mode 100644
index 0000000000000000000000000000000000000000..8dc772c4072721475ad7d5478f98593c897f8011
--- /dev/null
+++ b/pgsql/share/extension/pg_trgm--1.2--1.3.sql
@@ -0,0 +1,65 @@
+/* contrib/pg_trgm/pg_trgm--1.2--1.3.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_trgm UPDATE TO '1.3'" to load this file. \quit
+
+-- Update procedure signatures the hard way.
+-- We use to_regprocedure() so that query doesn't fail if run against 9.6beta1 definitions,
+-- wherein the signatures have been updated already. In that case to_regprocedure() will
+-- return NULL and no updates will happen.
+DO LANGUAGE plpgsql
+$$
+DECLARE
+ my_schema pg_catalog.text := pg_catalog.quote_ident(pg_catalog.current_schema());
+ old_path pg_catalog.text := pg_catalog.current_setting('search_path');
+BEGIN
+-- for safety, transiently set search_path to just pg_catalog+pg_temp
+PERFORM pg_catalog.set_config('search_path', 'pg_catalog, pg_temp', true);
+
+UPDATE pg_catalog.pg_proc SET
+ proargtypes = pg_catalog.array_to_string(newtypes::pg_catalog.oid[], ' ')::pg_catalog.oidvector,
+ pronargs = pg_catalog.array_length(newtypes, 1)
+FROM (VALUES
+(NULL::pg_catalog.text, NULL::pg_catalog.text[]), -- establish column types
+('gtrgm_consistent(internal,text,int4,oid,internal)', '{internal,text,int2,oid,internal}'),
+('gtrgm_distance(internal,text,int4,oid)', '{internal,text,int2,oid,internal}'),
+('gtrgm_union(bytea,internal)', '{internal,internal}')
+) AS update_data (oldproc, newtypestext),
+LATERAL (
+ SELECT array_agg(replace(typ, 'SCH', my_schema)::regtype) as newtypes FROM unnest(newtypestext) typ
+) ls
+WHERE oid = to_regprocedure(my_schema || '.' || replace(oldproc, 'SCH', my_schema));
+
+UPDATE pg_catalog.pg_proc SET
+ prorettype = (my_schema || '.gtrgm')::pg_catalog.regtype
+WHERE oid = pg_catalog.to_regprocedure(my_schema || '.gtrgm_union(internal,internal)');
+
+PERFORM pg_catalog.set_config('search_path', old_path, true);
+END
+$$;
+
+ALTER FUNCTION set_limit(float4) PARALLEL UNSAFE;
+ALTER FUNCTION show_limit() PARALLEL SAFE;
+ALTER FUNCTION show_trgm(text) PARALLEL SAFE;
+ALTER FUNCTION similarity(text, text) PARALLEL SAFE;
+ALTER FUNCTION similarity_op(text, text) PARALLEL SAFE;
+ALTER FUNCTION word_similarity(text, text) PARALLEL SAFE;
+ALTER FUNCTION word_similarity_op(text, text) PARALLEL SAFE;
+ALTER FUNCTION word_similarity_commutator_op(text, text) PARALLEL SAFE;
+ALTER FUNCTION similarity_dist(text, text) PARALLEL SAFE;
+ALTER FUNCTION word_similarity_dist_op(text, text) PARALLEL SAFE;
+ALTER FUNCTION word_similarity_dist_commutator_op(text, text) PARALLEL SAFE;
+ALTER FUNCTION gtrgm_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION gtrgm_out(gtrgm) PARALLEL SAFE;
+ALTER FUNCTION gtrgm_consistent(internal, text, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gtrgm_distance(internal, text, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gtrgm_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gtrgm_decompress(internal) PARALLEL SAFE;
+ALTER FUNCTION gtrgm_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gtrgm_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gtrgm_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gtrgm_same(gtrgm, gtrgm, internal) PARALLEL SAFE;
+ALTER FUNCTION gin_extract_value_trgm(text, internal) PARALLEL SAFE;
+ALTER FUNCTION gin_extract_query_trgm(text, internal, int2, internal, internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gin_trgm_consistent(internal, int2, text, int4, internal, internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gin_trgm_triconsistent(internal, int2, text, int4, internal, internal, internal) PARALLEL SAFE;
diff --git a/pgsql/share/extension/pg_trgm--1.3--1.4.sql b/pgsql/share/extension/pg_trgm--1.3--1.4.sql
new file mode 100644
index 0000000000000000000000000000000000000000..64a0c219b5cbbd9ee01c53a254769c2744ddb9b0
--- /dev/null
+++ b/pgsql/share/extension/pg_trgm--1.3--1.4.sql
@@ -0,0 +1,68 @@
+/* contrib/pg_trgm/pg_trgm--1.3--1.4.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_trgm UPDATE TO '1.4'" to load this file. \quit
+
+CREATE FUNCTION strict_word_similarity(text,text)
+RETURNS float4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION strict_word_similarity_op(text,text)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE PARALLEL SAFE; -- stable because depends on pg_trgm.word_similarity_threshold
+
+CREATE FUNCTION strict_word_similarity_commutator_op(text,text)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE PARALLEL SAFE; -- stable because depends on pg_trgm.word_similarity_threshold
+
+CREATE OPERATOR <<% (
+ LEFTARG = text,
+ RIGHTARG = text,
+ PROCEDURE = strict_word_similarity_op,
+ COMMUTATOR = '%>>',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR %>> (
+ LEFTARG = text,
+ RIGHTARG = text,
+ PROCEDURE = strict_word_similarity_commutator_op,
+ COMMUTATOR = '<<%',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE FUNCTION strict_word_similarity_dist_op(text,text)
+RETURNS float4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION strict_word_similarity_dist_commutator_op(text,text)
+RETURNS float4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR <<<-> (
+ LEFTARG = text,
+ RIGHTARG = text,
+ PROCEDURE = strict_word_similarity_dist_op,
+ COMMUTATOR = '<->>>'
+);
+
+CREATE OPERATOR <->>> (
+ LEFTARG = text,
+ RIGHTARG = text,
+ PROCEDURE = strict_word_similarity_dist_commutator_op,
+ COMMUTATOR = '<<<->'
+);
+
+ALTER OPERATOR FAMILY gist_trgm_ops USING gist ADD
+ OPERATOR 9 %>> (text, text),
+ OPERATOR 10 <->>> (text, text) FOR ORDER BY pg_catalog.float_ops;
+
+ALTER OPERATOR FAMILY gin_trgm_ops USING gin ADD
+ OPERATOR 9 %>> (text, text);
diff --git a/pgsql/share/extension/pg_trgm--1.3.sql b/pgsql/share/extension/pg_trgm--1.3.sql
new file mode 100644
index 0000000000000000000000000000000000000000..4c6edf8c245143ef6412fecddd14f8a9e497444a
--- /dev/null
+++ b/pgsql/share/extension/pg_trgm--1.3.sql
@@ -0,0 +1,254 @@
+/* contrib/pg_trgm/pg_trgm--1.3.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION pg_trgm" to load this file. \quit
+
+-- Deprecated function
+CREATE FUNCTION set_limit(float4)
+RETURNS float4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT VOLATILE PARALLEL UNSAFE;
+
+-- Deprecated function
+CREATE FUNCTION show_limit()
+RETURNS float4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE PARALLEL SAFE;
+
+CREATE FUNCTION show_trgm(text)
+RETURNS _text
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION similarity(text,text)
+RETURNS float4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION similarity_op(text,text)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE PARALLEL SAFE; -- stable because depends on pg_trgm.similarity_threshold
+
+CREATE OPERATOR % (
+ LEFTARG = text,
+ RIGHTARG = text,
+ PROCEDURE = similarity_op,
+ COMMUTATOR = '%',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE FUNCTION word_similarity(text,text)
+RETURNS float4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION word_similarity_op(text,text)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE PARALLEL SAFE; -- stable because depends on pg_trgm.word_similarity_threshold
+
+CREATE FUNCTION word_similarity_commutator_op(text,text)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT STABLE PARALLEL SAFE; -- stable because depends on pg_trgm.word_similarity_threshold
+
+CREATE OPERATOR <% (
+ LEFTARG = text,
+ RIGHTARG = text,
+ PROCEDURE = word_similarity_op,
+ COMMUTATOR = '%>',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR %> (
+ LEFTARG = text,
+ RIGHTARG = text,
+ PROCEDURE = word_similarity_commutator_op,
+ COMMUTATOR = '<%',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE FUNCTION similarity_dist(text,text)
+RETURNS float4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR <-> (
+ LEFTARG = text,
+ RIGHTARG = text,
+ PROCEDURE = similarity_dist,
+ COMMUTATOR = '<->'
+);
+
+CREATE FUNCTION word_similarity_dist_op(text,text)
+RETURNS float4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION word_similarity_dist_commutator_op(text,text)
+RETURNS float4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE OPERATOR <<-> (
+ LEFTARG = text,
+ RIGHTARG = text,
+ PROCEDURE = word_similarity_dist_op,
+ COMMUTATOR = '<->>'
+);
+
+CREATE OPERATOR <->> (
+ LEFTARG = text,
+ RIGHTARG = text,
+ PROCEDURE = word_similarity_dist_commutator_op,
+ COMMUTATOR = '<<->'
+);
+
+-- gist key
+CREATE FUNCTION gtrgm_in(cstring)
+RETURNS gtrgm
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION gtrgm_out(gtrgm)
+RETURNS cstring
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE TYPE gtrgm (
+ INTERNALLENGTH = -1,
+ INPUT = gtrgm_in,
+ OUTPUT = gtrgm_out
+);
+
+-- support functions for gist
+CREATE FUNCTION gtrgm_consistent(internal,text,smallint,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gtrgm_distance(internal,text,smallint,oid,internal)
+RETURNS float8
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gtrgm_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gtrgm_decompress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gtrgm_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gtrgm_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gtrgm_union(internal, internal)
+RETURNS gtrgm
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gtrgm_same(gtrgm, gtrgm, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+-- create the operator class for gist
+CREATE OPERATOR CLASS gist_trgm_ops
+FOR TYPE text USING gist
+AS
+ OPERATOR 1 % (text, text),
+ FUNCTION 1 gtrgm_consistent (internal, text, smallint, oid, internal),
+ FUNCTION 2 gtrgm_union (internal, internal),
+ FUNCTION 3 gtrgm_compress (internal),
+ FUNCTION 4 gtrgm_decompress (internal),
+ FUNCTION 5 gtrgm_penalty (internal, internal, internal),
+ FUNCTION 6 gtrgm_picksplit (internal, internal),
+ FUNCTION 7 gtrgm_same (gtrgm, gtrgm, internal),
+ STORAGE gtrgm;
+
+-- Add operators and support functions that are new in 9.1. We do it like
+-- this, leaving them "loose" in the operator family rather than bound into
+-- the gist_trgm_ops opclass, because that's the only state that could be
+-- reproduced during an upgrade from 9.0.
+
+ALTER OPERATOR FAMILY gist_trgm_ops USING gist ADD
+ OPERATOR 2 <-> (text, text) FOR ORDER BY pg_catalog.float_ops,
+ OPERATOR 3 pg_catalog.~~ (text, text),
+ OPERATOR 4 pg_catalog.~~* (text, text),
+ FUNCTION 8 (text, text) gtrgm_distance (internal, text, smallint, oid, internal);
+
+-- Add operators that are new in 9.3.
+
+ALTER OPERATOR FAMILY gist_trgm_ops USING gist ADD
+ OPERATOR 5 pg_catalog.~ (text, text),
+ OPERATOR 6 pg_catalog.~* (text, text);
+
+-- Add operators that are new in 9.6 (pg_trgm 1.2).
+
+ALTER OPERATOR FAMILY gist_trgm_ops USING gist ADD
+ OPERATOR 7 %> (text, text),
+ OPERATOR 8 <->> (text, text) FOR ORDER BY pg_catalog.float_ops;
+
+-- support functions for gin
+CREATE FUNCTION gin_extract_value_trgm(text, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gin_extract_query_trgm(text, internal, int2, internal, internal, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gin_trgm_consistent(internal, int2, text, int4, internal, internal, internal, internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+-- create the operator class for gin
+CREATE OPERATOR CLASS gin_trgm_ops
+FOR TYPE text USING gin
+AS
+ OPERATOR 1 % (text, text),
+ FUNCTION 1 btint4cmp (int4, int4),
+ FUNCTION 2 gin_extract_value_trgm (text, internal),
+ FUNCTION 3 gin_extract_query_trgm (text, internal, int2, internal, internal, internal, internal),
+ FUNCTION 4 gin_trgm_consistent (internal, int2, text, int4, internal, internal, internal, internal),
+ STORAGE int4;
+
+-- Add operators that are new in 9.1.
+
+ALTER OPERATOR FAMILY gin_trgm_ops USING gin ADD
+ OPERATOR 3 pg_catalog.~~ (text, text),
+ OPERATOR 4 pg_catalog.~~* (text, text);
+
+-- Add operators that are new in 9.3.
+
+ALTER OPERATOR FAMILY gin_trgm_ops USING gin ADD
+ OPERATOR 5 pg_catalog.~ (text, text),
+ OPERATOR 6 pg_catalog.~* (text, text);
+
+-- Add functions that are new in 9.6 (pg_trgm 1.2).
+
+CREATE FUNCTION gin_trgm_triconsistent(internal, int2, text, int4, internal, internal, internal)
+RETURNS "char"
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+ALTER OPERATOR FAMILY gin_trgm_ops USING gin ADD
+ OPERATOR 7 %> (text, text),
+ FUNCTION 6 (text,text) gin_trgm_triconsistent (internal, int2, text, int4, internal, internal, internal);
diff --git a/pgsql/share/extension/pg_trgm--1.4--1.5.sql b/pgsql/share/extension/pg_trgm--1.4--1.5.sql
new file mode 100644
index 0000000000000000000000000000000000000000..db122fce0ffcc32f4c34c15d6f37b5343d7e8cae
--- /dev/null
+++ b/pgsql/share/extension/pg_trgm--1.4--1.5.sql
@@ -0,0 +1,23 @@
+/* contrib/pg_trgm/pg_trgm--1.4--1.5.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_trgm UPDATE TO '1.5'" to load this file. \quit
+
+CREATE FUNCTION gtrgm_options(internal)
+RETURNS void
+AS 'MODULE_PATHNAME', 'gtrgm_options'
+LANGUAGE C IMMUTABLE PARALLEL SAFE;
+
+ALTER OPERATOR FAMILY gist_trgm_ops USING gist
+ADD FUNCTION 10 (text) gtrgm_options (internal);
+
+ALTER OPERATOR % (text, text)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR <% (text, text)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR %> (text, text)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR <<% (text, text)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
+ALTER OPERATOR %>> (text, text)
+ SET (RESTRICT = matchingsel, JOIN = matchingjoinsel);
diff --git a/pgsql/share/extension/pg_trgm--1.5--1.6.sql b/pgsql/share/extension/pg_trgm--1.5--1.6.sql
new file mode 100644
index 0000000000000000000000000000000000000000..9e74684eaddbebecb937350d86676a8d57671f0b
--- /dev/null
+++ b/pgsql/share/extension/pg_trgm--1.5--1.6.sql
@@ -0,0 +1,10 @@
+/* contrib/pg_trgm/pg_trgm--1.5--1.6.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_trgm UPDATE TO '1.6'" to load this file. \quit
+
+ALTER OPERATOR FAMILY gin_trgm_ops USING gin ADD
+ OPERATOR 11 pg_catalog.= (text, text);
+
+ALTER OPERATOR FAMILY gist_trgm_ops USING gist ADD
+ OPERATOR 11 pg_catalog.= (text, text);
diff --git a/pgsql/share/extension/pg_trgm.control b/pgsql/share/extension/pg_trgm.control
new file mode 100644
index 0000000000000000000000000000000000000000..1d6a9ddf259944cff08191edad2f2b44d399352f
--- /dev/null
+++ b/pgsql/share/extension/pg_trgm.control
@@ -0,0 +1,6 @@
+# pg_trgm extension
+comment = 'text similarity measurement and index searching based on trigrams'
+default_version = '1.6'
+module_pathname = '$libdir/pg_trgm'
+relocatable = true
+trusted = true
diff --git a/pgsql/share/extension/pg_visibility--1.0--1.1.sql b/pgsql/share/extension/pg_visibility--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..378824c8bf977c339f67d7d8aec5f5646c116ef9
--- /dev/null
+++ b/pgsql/share/extension/pg_visibility--1.0--1.1.sql
@@ -0,0 +1,24 @@
+/* contrib/pg_visibility/pg_visibility--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_visibility UPDATE TO '1.1'" to load this file. \quit
+
+CREATE FUNCTION pg_check_frozen(regclass, t_ctid OUT tid)
+RETURNS SETOF tid
+AS 'MODULE_PATHNAME', 'pg_check_frozen'
+LANGUAGE C STRICT;
+
+CREATE FUNCTION pg_check_visible(regclass, t_ctid OUT tid)
+RETURNS SETOF tid
+AS 'MODULE_PATHNAME', 'pg_check_visible'
+LANGUAGE C STRICT;
+
+CREATE FUNCTION pg_truncate_visibility_map(regclass)
+RETURNS void
+AS 'MODULE_PATHNAME', 'pg_truncate_visibility_map'
+LANGUAGE C STRICT
+PARALLEL UNSAFE; -- let's not make this any more dangerous
+
+REVOKE ALL ON FUNCTION pg_check_frozen(regclass) FROM PUBLIC;
+REVOKE ALL ON FUNCTION pg_check_visible(regclass) FROM PUBLIC;
+REVOKE ALL ON FUNCTION pg_truncate_visibility_map(regclass) FROM PUBLIC;
diff --git a/pgsql/share/extension/pg_visibility--1.1--1.2.sql b/pgsql/share/extension/pg_visibility--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..a5a4fe7ca852e2fea4a62c533d6a393a420911e8
--- /dev/null
+++ b/pgsql/share/extension/pg_visibility--1.1--1.2.sql
@@ -0,0 +1,13 @@
+/* contrib/pg_visibility/pg_visibility--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_visibility UPDATE TO '1.2'" to load this file. \quit
+
+-- Allow use of monitoring functions by pg_monitor members
+GRANT EXECUTE ON FUNCTION pg_visibility_map(regclass, bigint) TO pg_stat_scan_tables;
+GRANT EXECUTE ON FUNCTION pg_visibility(regclass, bigint) TO pg_stat_scan_tables;
+GRANT EXECUTE ON FUNCTION pg_visibility_map(regclass) TO pg_stat_scan_tables;
+GRANT EXECUTE ON FUNCTION pg_visibility(regclass) TO pg_stat_scan_tables;
+GRANT EXECUTE ON FUNCTION pg_visibility_map_summary(regclass) TO pg_stat_scan_tables;
+GRANT EXECUTE ON FUNCTION pg_check_frozen(regclass) TO pg_stat_scan_tables;
+GRANT EXECUTE ON FUNCTION pg_check_visible(regclass) TO pg_stat_scan_tables;
diff --git a/pgsql/share/extension/pg_visibility--1.1.sql b/pgsql/share/extension/pg_visibility--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..0a29967ee6d11f9caff54e09e947cff8f2097762
--- /dev/null
+++ b/pgsql/share/extension/pg_visibility--1.1.sql
@@ -0,0 +1,75 @@
+/* contrib/pg_visibility/pg_visibility--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION pg_visibility" to load this file. \quit
+
+-- Show visibility map information.
+CREATE FUNCTION pg_visibility_map(regclass, blkno bigint,
+ all_visible OUT boolean,
+ all_frozen OUT boolean)
+RETURNS record
+AS 'MODULE_PATHNAME', 'pg_visibility_map'
+LANGUAGE C STRICT;
+
+-- Show visibility map and page-level visibility information.
+CREATE FUNCTION pg_visibility(regclass, blkno bigint,
+ all_visible OUT boolean,
+ all_frozen OUT boolean,
+ pd_all_visible OUT boolean)
+RETURNS record
+AS 'MODULE_PATHNAME', 'pg_visibility'
+LANGUAGE C STRICT;
+
+-- Show visibility map information for each block in a relation.
+CREATE FUNCTION pg_visibility_map(regclass, blkno OUT bigint,
+ all_visible OUT boolean,
+ all_frozen OUT boolean)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'pg_visibility_map_rel'
+LANGUAGE C STRICT;
+
+-- Show visibility map and page-level visibility information for each block.
+CREATE FUNCTION pg_visibility(regclass, blkno OUT bigint,
+ all_visible OUT boolean,
+ all_frozen OUT boolean,
+ pd_all_visible OUT boolean)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'pg_visibility_rel'
+LANGUAGE C STRICT;
+
+-- Show summary of visibility map bits for a relation.
+CREATE FUNCTION pg_visibility_map_summary(regclass,
+ OUT all_visible bigint, OUT all_frozen bigint)
+RETURNS record
+AS 'MODULE_PATHNAME', 'pg_visibility_map_summary'
+LANGUAGE C STRICT;
+
+-- Show tupleids of non-frozen tuples if any in all_frozen pages
+-- for a relation.
+CREATE FUNCTION pg_check_frozen(regclass, t_ctid OUT tid)
+RETURNS SETOF tid
+AS 'MODULE_PATHNAME', 'pg_check_frozen'
+LANGUAGE C STRICT;
+
+-- Show tupleids of dead tuples if any in all_visible pages for a relation.
+CREATE FUNCTION pg_check_visible(regclass, t_ctid OUT tid)
+RETURNS SETOF tid
+AS 'MODULE_PATHNAME', 'pg_check_visible'
+LANGUAGE C STRICT;
+
+-- Truncate the visibility map fork.
+CREATE FUNCTION pg_truncate_visibility_map(regclass)
+RETURNS void
+AS 'MODULE_PATHNAME', 'pg_truncate_visibility_map'
+LANGUAGE C STRICT
+PARALLEL UNSAFE; -- let's not make this any more dangerous
+
+-- Don't want these to be available to public.
+REVOKE ALL ON FUNCTION pg_visibility_map(regclass, bigint) FROM PUBLIC;
+REVOKE ALL ON FUNCTION pg_visibility(regclass, bigint) FROM PUBLIC;
+REVOKE ALL ON FUNCTION pg_visibility_map(regclass) FROM PUBLIC;
+REVOKE ALL ON FUNCTION pg_visibility(regclass) FROM PUBLIC;
+REVOKE ALL ON FUNCTION pg_visibility_map_summary(regclass) FROM PUBLIC;
+REVOKE ALL ON FUNCTION pg_check_frozen(regclass) FROM PUBLIC;
+REVOKE ALL ON FUNCTION pg_check_visible(regclass) FROM PUBLIC;
+REVOKE ALL ON FUNCTION pg_truncate_visibility_map(regclass) FROM PUBLIC;
diff --git a/pgsql/share/extension/pg_visibility.control b/pgsql/share/extension/pg_visibility.control
new file mode 100644
index 0000000000000000000000000000000000000000..3cffa08b015ed8757fc361b4fb3b9c3dda424e39
--- /dev/null
+++ b/pgsql/share/extension/pg_visibility.control
@@ -0,0 +1,5 @@
+# pg_visibility extension
+comment = 'examine the visibility map (VM) and page-level visibility info'
+default_version = '1.2'
+module_pathname = '$libdir/pg_visibility'
+relocatable = true
diff --git a/pgsql/share/extension/pg_walinspect--1.0--1.1.sql b/pgsql/share/extension/pg_walinspect--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..a4d50d3c4e7fb3839f267bee79ecbcd1564db6b1
--- /dev/null
+++ b/pgsql/share/extension/pg_walinspect--1.0--1.1.sql
@@ -0,0 +1,42 @@
+/* contrib/pg_walinspect/pg_walinspect--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_walinspect UPDATE TO '1.1'" to load this file. \quit
+
+-- Unsupported functions after 1.1.
+DROP FUNCTION pg_get_wal_records_info_till_end_of_wal(pg_lsn);
+DROP FUNCTION pg_get_wal_stats_till_end_of_wal(pg_lsn, boolean);
+
+--
+-- pg_get_wal_block_info()
+--
+CREATE FUNCTION pg_get_wal_block_info(IN start_lsn pg_lsn,
+ IN end_lsn pg_lsn,
+ IN show_data boolean DEFAULT true,
+ OUT start_lsn pg_lsn,
+ OUT end_lsn pg_lsn,
+ OUT prev_lsn pg_lsn,
+ OUT block_id int2,
+ OUT reltablespace oid,
+ OUT reldatabase oid,
+ OUT relfilenode oid,
+ OUT relforknumber int2,
+ OUT relblocknumber int8,
+ OUT xid xid,
+ OUT resource_manager text,
+ OUT record_type text,
+ OUT record_length int4,
+ OUT main_data_length int4,
+ OUT block_data_length int4,
+ OUT block_fpi_length int4,
+ OUT block_fpi_info text[],
+ OUT description text,
+ OUT block_data bytea,
+ OUT block_fpi_data bytea
+)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'pg_get_wal_block_info'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+REVOKE EXECUTE ON FUNCTION pg_get_wal_block_info(pg_lsn, pg_lsn, boolean) FROM PUBLIC;
+GRANT EXECUTE ON FUNCTION pg_get_wal_block_info(pg_lsn, pg_lsn, boolean) TO pg_read_server_files;
diff --git a/pgsql/share/extension/pg_walinspect--1.0.sql b/pgsql/share/extension/pg_walinspect--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..08b3dd55567bc2d25da65e98911f51014188f0db
--- /dev/null
+++ b/pgsql/share/extension/pg_walinspect--1.0.sql
@@ -0,0 +1,118 @@
+/* contrib/pg_walinspect/pg_walinspect--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION pg_walinspect" to load this file. \quit
+
+--
+-- pg_get_wal_record_info()
+--
+CREATE FUNCTION pg_get_wal_record_info(IN in_lsn pg_lsn,
+ OUT start_lsn pg_lsn,
+ OUT end_lsn pg_lsn,
+ OUT prev_lsn pg_lsn,
+ OUT xid xid,
+ OUT resource_manager text,
+ OUT record_type text,
+ OUT record_length int4,
+ OUT main_data_length int4,
+ OUT fpi_length int4,
+ OUT description text,
+ OUT block_ref text
+)
+AS 'MODULE_PATHNAME', 'pg_get_wal_record_info'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+REVOKE EXECUTE ON FUNCTION pg_get_wal_record_info(pg_lsn) FROM PUBLIC;
+GRANT EXECUTE ON FUNCTION pg_get_wal_record_info(pg_lsn) TO pg_read_server_files;
+
+--
+-- pg_get_wal_records_info()
+--
+CREATE FUNCTION pg_get_wal_records_info(IN start_lsn pg_lsn,
+ IN end_lsn pg_lsn,
+ OUT start_lsn pg_lsn,
+ OUT end_lsn pg_lsn,
+ OUT prev_lsn pg_lsn,
+ OUT xid xid,
+ OUT resource_manager text,
+ OUT record_type text,
+ OUT record_length int4,
+ OUT main_data_length int4,
+ OUT fpi_length int4,
+ OUT description text,
+ OUT block_ref text
+)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'pg_get_wal_records_info'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+REVOKE EXECUTE ON FUNCTION pg_get_wal_records_info(pg_lsn, pg_lsn) FROM PUBLIC;
+GRANT EXECUTE ON FUNCTION pg_get_wal_records_info(pg_lsn, pg_lsn) TO pg_read_server_files;
+
+--
+-- pg_get_wal_records_info_till_end_of_wal()
+--
+CREATE FUNCTION pg_get_wal_records_info_till_end_of_wal(IN start_lsn pg_lsn,
+ OUT start_lsn pg_lsn,
+ OUT end_lsn pg_lsn,
+ OUT prev_lsn pg_lsn,
+ OUT xid xid,
+ OUT resource_manager text,
+ OUT record_type text,
+ OUT record_length int4,
+ OUT main_data_length int4,
+ OUT fpi_length int4,
+ OUT description text,
+ OUT block_ref text
+)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'pg_get_wal_records_info_till_end_of_wal'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+REVOKE EXECUTE ON FUNCTION pg_get_wal_records_info_till_end_of_wal(pg_lsn) FROM PUBLIC;
+GRANT EXECUTE ON FUNCTION pg_get_wal_records_info_till_end_of_wal(pg_lsn) TO pg_read_server_files;
+
+--
+-- pg_get_wal_stats()
+--
+CREATE FUNCTION pg_get_wal_stats(IN start_lsn pg_lsn,
+ IN end_lsn pg_lsn,
+ IN per_record boolean DEFAULT false,
+ OUT "resource_manager/record_type" text,
+ OUT count int8,
+ OUT count_percentage float8,
+ OUT record_size int8,
+ OUT record_size_percentage float8,
+ OUT fpi_size int8,
+ OUT fpi_size_percentage float8,
+ OUT combined_size int8,
+ OUT combined_size_percentage float8
+)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'pg_get_wal_stats'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+REVOKE EXECUTE ON FUNCTION pg_get_wal_stats(pg_lsn, pg_lsn, boolean) FROM PUBLIC;
+GRANT EXECUTE ON FUNCTION pg_get_wal_stats(pg_lsn, pg_lsn, boolean) TO pg_read_server_files;
+
+--
+-- pg_get_wal_stats_till_end_of_wal()
+--
+CREATE FUNCTION pg_get_wal_stats_till_end_of_wal(IN start_lsn pg_lsn,
+ IN per_record boolean DEFAULT false,
+ OUT "resource_manager/record_type" text,
+ OUT count int8,
+ OUT count_percentage float8,
+ OUT record_size int8,
+ OUT record_size_percentage float8,
+ OUT fpi_size int8,
+ OUT fpi_size_percentage float8,
+ OUT combined_size int8,
+ OUT combined_size_percentage float8
+)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'pg_get_wal_stats_till_end_of_wal'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+REVOKE EXECUTE ON FUNCTION pg_get_wal_stats_till_end_of_wal(pg_lsn, boolean) FROM PUBLIC;
+GRANT EXECUTE ON FUNCTION pg_get_wal_stats_till_end_of_wal(pg_lsn, boolean) TO pg_read_server_files;
diff --git a/pgsql/share/extension/pg_walinspect.control b/pgsql/share/extension/pg_walinspect.control
new file mode 100644
index 0000000000000000000000000000000000000000..efa3cb2cfe51e889341885362e2387fa6b568483
--- /dev/null
+++ b/pgsql/share/extension/pg_walinspect.control
@@ -0,0 +1,5 @@
+# pg_walinspect extension
+comment = 'functions to inspect contents of PostgreSQL Write-Ahead Log'
+default_version = '1.1'
+module_pathname = '$libdir/pg_walinspect'
+relocatable = true
diff --git a/pgsql/share/extension/pgcrypto--1.0--1.1.sql b/pgsql/share/extension/pgcrypto--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..42e0c7fffc830ac2ecdaabac185b7f119e11a67b
--- /dev/null
+++ b/pgsql/share/extension/pgcrypto--1.0--1.1.sql
@@ -0,0 +1,9 @@
+/* contrib/pgcrypto/pgcrypto--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pgcrypto UPDATE TO '1.1'" to load this file. \quit
+
+CREATE FUNCTION gen_random_uuid()
+RETURNS uuid
+AS 'MODULE_PATHNAME', 'pg_random_uuid'
+LANGUAGE C VOLATILE;
diff --git a/pgsql/share/extension/pgcrypto--1.1--1.2.sql b/pgsql/share/extension/pgcrypto--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..753e1693847c7891b6e722f76c134ab5aec44a7d
--- /dev/null
+++ b/pgsql/share/extension/pgcrypto--1.1--1.2.sql
@@ -0,0 +1,14 @@
+/* contrib/pgcrypto/pgcrypto--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pgcrypto UPDATE TO '1.2'" to load this file. \quit
+
+CREATE FUNCTION armor(bytea, text[], text[])
+RETURNS text
+AS 'MODULE_PATHNAME', 'pg_armor'
+LANGUAGE C IMMUTABLE STRICT;
+
+CREATE FUNCTION pgp_armor_headers(text, key OUT text, value OUT text)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'pgp_armor_headers'
+LANGUAGE C IMMUTABLE STRICT;
diff --git a/pgsql/share/extension/pgcrypto--1.2--1.3.sql b/pgsql/share/extension/pgcrypto--1.2--1.3.sql
new file mode 100644
index 0000000000000000000000000000000000000000..525a03759f108a665c4dc955844a665fad4e958e
--- /dev/null
+++ b/pgsql/share/extension/pgcrypto--1.2--1.3.sql
@@ -0,0 +1,41 @@
+/* contrib/pgcrypto/pgcrypto--1.2--1.3.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pgcrypto UPDATE TO '1.3'" to load this file. \quit
+
+ALTER FUNCTION digest(text, text) PARALLEL SAFE;
+ALTER FUNCTION digest(bytea, text) PARALLEL SAFE;
+ALTER FUNCTION hmac(text, text, text) PARALLEL SAFE;
+ALTER FUNCTION hmac(bytea, bytea, text) PARALLEL SAFE;
+ALTER FUNCTION crypt(text, text) PARALLEL SAFE;
+ALTER FUNCTION gen_salt(text) PARALLEL SAFE;
+ALTER FUNCTION gen_salt(text, int4) PARALLEL SAFE;
+ALTER FUNCTION encrypt(bytea, bytea, text) PARALLEL SAFE;
+ALTER FUNCTION decrypt(bytea, bytea, text) PARALLEL SAFE;
+ALTER FUNCTION encrypt_iv(bytea, bytea, bytea, text) PARALLEL SAFE;
+ALTER FUNCTION decrypt_iv(bytea, bytea, bytea, text) PARALLEL SAFE;
+ALTER FUNCTION gen_random_bytes(int4) PARALLEL SAFE;
+ALTER FUNCTION gen_random_uuid() PARALLEL SAFE;
+ALTER FUNCTION pgp_sym_encrypt(text, text) PARALLEL SAFE;
+ALTER FUNCTION pgp_sym_encrypt_bytea(bytea, text) PARALLEL SAFE;
+ALTER FUNCTION pgp_sym_encrypt(text, text, text) PARALLEL SAFE;
+ALTER FUNCTION pgp_sym_encrypt_bytea(bytea, text, text) PARALLEL SAFE;
+ALTER FUNCTION pgp_sym_decrypt(bytea, text) PARALLEL SAFE;
+ALTER FUNCTION pgp_sym_decrypt_bytea(bytea, text) PARALLEL SAFE;
+ALTER FUNCTION pgp_sym_decrypt(bytea, text, text) PARALLEL SAFE;
+ALTER FUNCTION pgp_sym_decrypt_bytea(bytea, text, text) PARALLEL SAFE;
+ALTER FUNCTION pgp_pub_encrypt(text, bytea) PARALLEL SAFE;
+ALTER FUNCTION pgp_pub_encrypt_bytea(bytea, bytea) PARALLEL SAFE;
+ALTER FUNCTION pgp_pub_encrypt(text, bytea, text) PARALLEL SAFE;
+ALTER FUNCTION pgp_pub_encrypt_bytea(bytea, bytea, text) PARALLEL SAFE;
+ALTER FUNCTION pgp_pub_decrypt(bytea, bytea) PARALLEL SAFE;
+ALTER FUNCTION pgp_pub_decrypt_bytea(bytea, bytea) PARALLEL SAFE;
+ALTER FUNCTION pgp_pub_decrypt(bytea, bytea, text) PARALLEL SAFE;
+ALTER FUNCTION pgp_pub_decrypt_bytea(bytea, bytea, text) PARALLEL SAFE;
+ALTER FUNCTION pgp_pub_decrypt(bytea, bytea, text, text) PARALLEL SAFE;
+ALTER FUNCTION pgp_pub_decrypt_bytea(bytea, bytea, text, text) PARALLEL SAFE;
+ALTER FUNCTION pgp_key_id(bytea) PARALLEL SAFE;
+ALTER FUNCTION armor(bytea) PARALLEL SAFE;
+ALTER FUNCTION armor(bytea, text[], text[]) PARALLEL SAFE;
+ALTER FUNCTION dearmor(text) PARALLEL SAFE;
+ALTER FUNCTION pgp_armor_headers(text) PARALLEL SAFE;
diff --git a/pgsql/share/extension/pgcrypto--1.3.sql b/pgsql/share/extension/pgcrypto--1.3.sql
new file mode 100644
index 0000000000000000000000000000000000000000..c2628caceb5b740a67d3e634b82b5262fbad7598
--- /dev/null
+++ b/pgsql/share/extension/pgcrypto--1.3.sql
@@ -0,0 +1,217 @@
+/* contrib/pgcrypto/pgcrypto--1.3.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION pgcrypto" to load this file. \quit
+
+CREATE FUNCTION digest(text, text)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pg_digest'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION digest(bytea, text)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pg_digest'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION hmac(text, text, text)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pg_hmac'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION hmac(bytea, bytea, text)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pg_hmac'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION crypt(text, text)
+RETURNS text
+AS 'MODULE_PATHNAME', 'pg_crypt'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gen_salt(text)
+RETURNS text
+AS 'MODULE_PATHNAME', 'pg_gen_salt'
+LANGUAGE C VOLATILE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gen_salt(text, int4)
+RETURNS text
+AS 'MODULE_PATHNAME', 'pg_gen_salt_rounds'
+LANGUAGE C VOLATILE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION encrypt(bytea, bytea, text)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pg_encrypt'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION decrypt(bytea, bytea, text)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pg_decrypt'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION encrypt_iv(bytea, bytea, bytea, text)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pg_encrypt_iv'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION decrypt_iv(bytea, bytea, bytea, text)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pg_decrypt_iv'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gen_random_bytes(int4)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pg_random_bytes'
+LANGUAGE C VOLATILE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gen_random_uuid()
+RETURNS uuid
+AS 'MODULE_PATHNAME', 'pg_random_uuid'
+LANGUAGE C VOLATILE PARALLEL SAFE;
+
+--
+-- pgp_sym_encrypt(data, key)
+--
+CREATE FUNCTION pgp_sym_encrypt(text, text)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pgp_sym_encrypt_text'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+CREATE FUNCTION pgp_sym_encrypt_bytea(bytea, text)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pgp_sym_encrypt_bytea'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- pgp_sym_encrypt(data, key, args)
+--
+CREATE FUNCTION pgp_sym_encrypt(text, text, text)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pgp_sym_encrypt_text'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+CREATE FUNCTION pgp_sym_encrypt_bytea(bytea, text, text)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pgp_sym_encrypt_bytea'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- pgp_sym_decrypt(data, key)
+--
+CREATE FUNCTION pgp_sym_decrypt(bytea, text)
+RETURNS text
+AS 'MODULE_PATHNAME', 'pgp_sym_decrypt_text'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION pgp_sym_decrypt_bytea(bytea, text)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pgp_sym_decrypt_bytea'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+--
+-- pgp_sym_decrypt(data, key, args)
+--
+CREATE FUNCTION pgp_sym_decrypt(bytea, text, text)
+RETURNS text
+AS 'MODULE_PATHNAME', 'pgp_sym_decrypt_text'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION pgp_sym_decrypt_bytea(bytea, text, text)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pgp_sym_decrypt_bytea'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+--
+-- pgp_pub_encrypt(data, key)
+--
+CREATE FUNCTION pgp_pub_encrypt(text, bytea)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pgp_pub_encrypt_text'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+CREATE FUNCTION pgp_pub_encrypt_bytea(bytea, bytea)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pgp_pub_encrypt_bytea'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- pgp_pub_encrypt(data, key, args)
+--
+CREATE FUNCTION pgp_pub_encrypt(text, bytea, text)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pgp_pub_encrypt_text'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+CREATE FUNCTION pgp_pub_encrypt_bytea(bytea, bytea, text)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pgp_pub_encrypt_bytea'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+--
+-- pgp_pub_decrypt(data, key)
+--
+CREATE FUNCTION pgp_pub_decrypt(bytea, bytea)
+RETURNS text
+AS 'MODULE_PATHNAME', 'pgp_pub_decrypt_text'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION pgp_pub_decrypt_bytea(bytea, bytea)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pgp_pub_decrypt_bytea'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+--
+-- pgp_pub_decrypt(data, key, psw)
+--
+CREATE FUNCTION pgp_pub_decrypt(bytea, bytea, text)
+RETURNS text
+AS 'MODULE_PATHNAME', 'pgp_pub_decrypt_text'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION pgp_pub_decrypt_bytea(bytea, bytea, text)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pgp_pub_decrypt_bytea'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+--
+-- pgp_pub_decrypt(data, key, psw, arg)
+--
+CREATE FUNCTION pgp_pub_decrypt(bytea, bytea, text, text)
+RETURNS text
+AS 'MODULE_PATHNAME', 'pgp_pub_decrypt_text'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION pgp_pub_decrypt_bytea(bytea, bytea, text, text)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pgp_pub_decrypt_bytea'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+--
+-- PGP key ID
+--
+CREATE FUNCTION pgp_key_id(bytea)
+RETURNS text
+AS 'MODULE_PATHNAME', 'pgp_key_id_w'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+--
+-- pgp armor
+--
+CREATE FUNCTION armor(bytea)
+RETURNS text
+AS 'MODULE_PATHNAME', 'pg_armor'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION armor(bytea, text[], text[])
+RETURNS text
+AS 'MODULE_PATHNAME', 'pg_armor'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION dearmor(text)
+RETURNS bytea
+AS 'MODULE_PATHNAME', 'pg_dearmor'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION pgp_armor_headers(text, key OUT text, value OUT text)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'pgp_armor_headers'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
diff --git a/pgsql/share/extension/pgcrypto.control b/pgsql/share/extension/pgcrypto.control
new file mode 100644
index 0000000000000000000000000000000000000000..d2151d3bc4be5b9513fa93ba1b4f2eb3d84aefb2
--- /dev/null
+++ b/pgsql/share/extension/pgcrypto.control
@@ -0,0 +1,6 @@
+# pgcrypto extension
+comment = 'cryptographic functions'
+default_version = '1.3'
+module_pathname = '$libdir/pgcrypto'
+relocatable = true
+trusted = true
diff --git a/pgsql/share/extension/pgrowlocks--1.0--1.1.sql b/pgsql/share/extension/pgrowlocks--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..3d5ca34c086498698a0a22120f0fdbea6fdcced9
--- /dev/null
+++ b/pgsql/share/extension/pgrowlocks--1.0--1.1.sql
@@ -0,0 +1,17 @@
+/* contrib/pgrowlocks/pgrowlocks--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pgrowlocks UPDATE TO '1.1'" to load this file. \quit
+
+ALTER EXTENSION pgrowlocks DROP FUNCTION pgrowlocks(text);
+DROP FUNCTION pgrowlocks(text);
+CREATE FUNCTION pgrowlocks(IN relname text,
+ OUT locked_row TID, -- row TID
+ OUT locker XID, -- locking XID
+ OUT multi bool, -- multi XID?
+ OUT xids xid[], -- multi XIDs
+ OUT modes text[], -- multi XID statuses
+ OUT pids INTEGER[]) -- locker's process id
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'pgrowlocks'
+LANGUAGE C STRICT;
diff --git a/pgsql/share/extension/pgrowlocks--1.1--1.2.sql b/pgsql/share/extension/pgrowlocks--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..94ebf5478b72124e1dd6633f6710cc52a26feeb0
--- /dev/null
+++ b/pgsql/share/extension/pgrowlocks--1.1--1.2.sql
@@ -0,0 +1,6 @@
+/* contrib/pgrowlocks/pgrowlocks--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pgrowlocks UPDATE TO '1.2'" to load this file. \quit
+
+ALTER FUNCTION pgrowlocks(text) PARALLEL SAFE;
diff --git a/pgsql/share/extension/pgrowlocks--1.2.sql b/pgsql/share/extension/pgrowlocks--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..ff76b8b68a42094e4f58b661c45ab7a5407b247b
--- /dev/null
+++ b/pgsql/share/extension/pgrowlocks--1.2.sql
@@ -0,0 +1,15 @@
+/* contrib/pgrowlocks/pgrowlocks--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION pgrowlocks" to load this file. \quit
+
+CREATE FUNCTION pgrowlocks(IN relname text,
+ OUT locked_row TID, -- row TID
+ OUT locker XID, -- locking XID
+ OUT multi bool, -- multi XID?
+ OUT xids xid[], -- multi XIDs
+ OUT modes text[], -- multi XID statuses
+ OUT pids INTEGER[]) -- locker's process id
+RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'pgrowlocks'
+LANGUAGE C STRICT PARALLEL SAFE;
diff --git a/pgsql/share/extension/pgrowlocks.control b/pgsql/share/extension/pgrowlocks.control
new file mode 100644
index 0000000000000000000000000000000000000000..9f92b2f1f450adc5b4d32721d1b411ddca7048fe
--- /dev/null
+++ b/pgsql/share/extension/pgrowlocks.control
@@ -0,0 +1,5 @@
+# pgrowlocks extension
+comment = 'show row-level locking information'
+default_version = '1.2'
+module_pathname = '$libdir/pgrowlocks'
+relocatable = true
diff --git a/pgsql/share/extension/pgstattuple--1.0--1.1.sql b/pgsql/share/extension/pgstattuple--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..cf582a0b81b50b62f32945f0d9dac29b1044ff4b
--- /dev/null
+++ b/pgsql/share/extension/pgstattuple--1.0--1.1.sql
@@ -0,0 +1,11 @@
+/* contrib/pgstattuple/pgstattuple--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pgstattuple UPDATE TO '1.1'" to load this file. \quit
+
+CREATE FUNCTION pgstatginindex(IN relname regclass,
+ OUT version INT4,
+ OUT pending_pages INT4,
+ OUT pending_tuples BIGINT)
+AS 'MODULE_PATHNAME', 'pgstatginindex'
+LANGUAGE C STRICT;
diff --git a/pgsql/share/extension/pgstattuple--1.1--1.2.sql b/pgsql/share/extension/pgstattuple--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..2783a63fb155c72d8755742526bc1271ffda80e7
--- /dev/null
+++ b/pgsql/share/extension/pgstattuple--1.1--1.2.sql
@@ -0,0 +1,39 @@
+/* contrib/pgstattuple/pgstattuple--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pgstattuple UPDATE TO '1.2'" to load this file. \quit
+
+ALTER EXTENSION pgstattuple DROP FUNCTION pgstattuple(oid);
+DROP FUNCTION pgstattuple(oid);
+
+CREATE FUNCTION pgstattuple(IN reloid regclass,
+ OUT table_len BIGINT, -- physical table length in bytes
+ OUT tuple_count BIGINT, -- number of live tuples
+ OUT tuple_len BIGINT, -- total tuples length in bytes
+ OUT tuple_percent FLOAT8, -- live tuples in %
+ OUT dead_tuple_count BIGINT, -- number of dead tuples
+ OUT dead_tuple_len BIGINT, -- total dead tuples length in bytes
+ OUT dead_tuple_percent FLOAT8, -- dead tuples in %
+ OUT free_space BIGINT, -- free space in bytes
+ OUT free_percent FLOAT8) -- free space in %
+AS 'MODULE_PATHNAME', 'pgstattuplebyid'
+LANGUAGE C STRICT;
+
+CREATE FUNCTION pgstatindex(IN relname regclass,
+ OUT version INT,
+ OUT tree_level INT,
+ OUT index_size BIGINT,
+ OUT root_block_no BIGINT,
+ OUT internal_pages BIGINT,
+ OUT leaf_pages BIGINT,
+ OUT empty_pages BIGINT,
+ OUT deleted_pages BIGINT,
+ OUT avg_leaf_density FLOAT8,
+ OUT leaf_fragmentation FLOAT8)
+AS 'MODULE_PATHNAME', 'pgstatindexbyid'
+LANGUAGE C STRICT;
+
+CREATE FUNCTION pg_relpages(IN relname regclass)
+RETURNS BIGINT
+AS 'MODULE_PATHNAME', 'pg_relpagesbyid'
+LANGUAGE C STRICT;
diff --git a/pgsql/share/extension/pgstattuple--1.2--1.3.sql b/pgsql/share/extension/pgstattuple--1.2--1.3.sql
new file mode 100644
index 0000000000000000000000000000000000000000..99301a27caf6cb1da9caff8fa1d66469069f34e9
--- /dev/null
+++ b/pgsql/share/extension/pgstattuple--1.2--1.3.sql
@@ -0,0 +1,18 @@
+/* contrib/pgstattuple/pgstattuple--1.2--1.3.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pgstattuple UPDATE TO '1.3'" to load this file. \quit
+
+CREATE FUNCTION pgstattuple_approx(IN reloid regclass,
+ OUT table_len BIGINT, -- physical table length in bytes
+ OUT scanned_percent FLOAT8, -- what percentage of the table's pages was scanned
+ OUT approx_tuple_count BIGINT, -- estimated number of live tuples
+ OUT approx_tuple_len BIGINT, -- estimated total length in bytes of live tuples
+ OUT approx_tuple_percent FLOAT8, -- live tuples in % (based on estimate)
+ OUT dead_tuple_count BIGINT, -- exact number of dead tuples
+ OUT dead_tuple_len BIGINT, -- exact total length in bytes of dead tuples
+ OUT dead_tuple_percent FLOAT8, -- dead tuples in % (based on estimate)
+ OUT approx_free_space BIGINT, -- estimated free space in bytes
+ OUT approx_free_percent FLOAT8) -- free space in % (based on estimate)
+AS 'MODULE_PATHNAME', 'pgstattuple_approx'
+LANGUAGE C STRICT;
diff --git a/pgsql/share/extension/pgstattuple--1.3--1.4.sql b/pgsql/share/extension/pgstattuple--1.3--1.4.sql
new file mode 100644
index 0000000000000000000000000000000000000000..913065026f13f499ce3d203321c7d8aebd029269
--- /dev/null
+++ b/pgsql/share/extension/pgstattuple--1.3--1.4.sql
@@ -0,0 +1,13 @@
+/* contrib/pgstattuple/pgstattuple--1.3--1.4.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pgstattuple UPDATE TO '1.4'" to load this file. \quit
+
+ALTER FUNCTION pgstattuple(text) PARALLEL SAFE;
+ALTER FUNCTION pgstatindex(text) PARALLEL SAFE;
+ALTER FUNCTION pg_relpages(text) PARALLEL SAFE;
+ALTER FUNCTION pgstatginindex(regclass) PARALLEL SAFE;
+ALTER FUNCTION pgstattuple(regclass) PARALLEL SAFE;
+ALTER FUNCTION pgstatindex(regclass) PARALLEL SAFE;
+ALTER FUNCTION pg_relpages(regclass) PARALLEL SAFE;
+ALTER FUNCTION pgstattuple_approx(regclass) PARALLEL SAFE;
diff --git a/pgsql/share/extension/pgstattuple--1.4--1.5.sql b/pgsql/share/extension/pgstattuple--1.4--1.5.sql
new file mode 100644
index 0000000000000000000000000000000000000000..5d03544a214d14fb19af61494284922daa7d14f9
--- /dev/null
+++ b/pgsql/share/extension/pgstattuple--1.4--1.5.sql
@@ -0,0 +1,136 @@
+/* contrib/pgstattuple/pgstattuple--1.4--1.5.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pgstattuple UPDATE TO '1.5'" to load this file. \quit
+
+CREATE OR REPLACE FUNCTION pgstattuple(IN relname text,
+ OUT table_len BIGINT, -- physical table length in bytes
+ OUT tuple_count BIGINT, -- number of live tuples
+ OUT tuple_len BIGINT, -- total tuples length in bytes
+ OUT tuple_percent FLOAT8, -- live tuples in %
+ OUT dead_tuple_count BIGINT, -- number of dead tuples
+ OUT dead_tuple_len BIGINT, -- total dead tuples length in bytes
+ OUT dead_tuple_percent FLOAT8, -- dead tuples in %
+ OUT free_space BIGINT, -- free space in bytes
+ OUT free_percent FLOAT8) -- free space in %
+AS 'MODULE_PATHNAME', 'pgstattuple_v1_5'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+REVOKE EXECUTE ON FUNCTION pgstattuple(text) FROM PUBLIC;
+GRANT EXECUTE ON FUNCTION pgstattuple(text) TO pg_stat_scan_tables;
+
+CREATE OR REPLACE FUNCTION pgstatindex(IN relname text,
+ OUT version INT,
+ OUT tree_level INT,
+ OUT index_size BIGINT,
+ OUT root_block_no BIGINT,
+ OUT internal_pages BIGINT,
+ OUT leaf_pages BIGINT,
+ OUT empty_pages BIGINT,
+ OUT deleted_pages BIGINT,
+ OUT avg_leaf_density FLOAT8,
+ OUT leaf_fragmentation FLOAT8)
+AS 'MODULE_PATHNAME', 'pgstatindex_v1_5'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+REVOKE EXECUTE ON FUNCTION pgstatindex(text) FROM PUBLIC;
+GRANT EXECUTE ON FUNCTION pgstatindex(text) TO pg_stat_scan_tables;
+
+CREATE OR REPLACE FUNCTION pg_relpages(IN relname text)
+RETURNS BIGINT
+AS 'MODULE_PATHNAME', 'pg_relpages_v1_5'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+REVOKE EXECUTE ON FUNCTION pg_relpages(text) FROM PUBLIC;
+GRANT EXECUTE ON FUNCTION pg_relpages(text) TO pg_stat_scan_tables;
+
+/* New stuff in 1.1 begins here */
+
+CREATE OR REPLACE FUNCTION pgstatginindex(IN relname regclass,
+ OUT version INT4,
+ OUT pending_pages INT4,
+ OUT pending_tuples BIGINT)
+AS 'MODULE_PATHNAME', 'pgstatginindex_v1_5'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+REVOKE EXECUTE ON FUNCTION pgstatginindex(regclass) FROM PUBLIC;
+GRANT EXECUTE ON FUNCTION pgstatginindex(regclass) TO pg_stat_scan_tables;
+
+/* New stuff in 1.2 begins here */
+
+CREATE OR REPLACE FUNCTION pgstattuple(IN reloid regclass,
+ OUT table_len BIGINT, -- physical table length in bytes
+ OUT tuple_count BIGINT, -- number of live tuples
+ OUT tuple_len BIGINT, -- total tuples length in bytes
+ OUT tuple_percent FLOAT8, -- live tuples in %
+ OUT dead_tuple_count BIGINT, -- number of dead tuples
+ OUT dead_tuple_len BIGINT, -- total dead tuples length in bytes
+ OUT dead_tuple_percent FLOAT8, -- dead tuples in %
+ OUT free_space BIGINT, -- free space in bytes
+ OUT free_percent FLOAT8) -- free space in %
+AS 'MODULE_PATHNAME', 'pgstattuplebyid_v1_5'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+REVOKE EXECUTE ON FUNCTION pgstattuple(regclass) FROM PUBLIC;
+GRANT EXECUTE ON FUNCTION pgstattuple(regclass) TO pg_stat_scan_tables;
+
+CREATE OR REPLACE FUNCTION pgstatindex(IN relname regclass,
+ OUT version INT,
+ OUT tree_level INT,
+ OUT index_size BIGINT,
+ OUT root_block_no BIGINT,
+ OUT internal_pages BIGINT,
+ OUT leaf_pages BIGINT,
+ OUT empty_pages BIGINT,
+ OUT deleted_pages BIGINT,
+ OUT avg_leaf_density FLOAT8,
+ OUT leaf_fragmentation FLOAT8)
+AS 'MODULE_PATHNAME', 'pgstatindexbyid_v1_5'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+REVOKE EXECUTE ON FUNCTION pgstatindex(regclass) FROM PUBLIC;
+GRANT EXECUTE ON FUNCTION pgstatindex(regclass) TO pg_stat_scan_tables;
+
+CREATE OR REPLACE FUNCTION pg_relpages(IN relname regclass)
+RETURNS BIGINT
+AS 'MODULE_PATHNAME', 'pg_relpagesbyid_v1_5'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+REVOKE EXECUTE ON FUNCTION pg_relpages(regclass) FROM PUBLIC;
+GRANT EXECUTE ON FUNCTION pg_relpages(regclass) TO pg_stat_scan_tables;
+
+/* New stuff in 1.3 begins here */
+
+CREATE OR REPLACE FUNCTION pgstattuple_approx(IN reloid regclass,
+ OUT table_len BIGINT, -- physical table length in bytes
+ OUT scanned_percent FLOAT8, -- what percentage of the table's pages was scanned
+ OUT approx_tuple_count BIGINT, -- estimated number of live tuples
+ OUT approx_tuple_len BIGINT, -- estimated total length in bytes of live tuples
+ OUT approx_tuple_percent FLOAT8, -- live tuples in % (based on estimate)
+ OUT dead_tuple_count BIGINT, -- exact number of dead tuples
+ OUT dead_tuple_len BIGINT, -- exact total length in bytes of dead tuples
+ OUT dead_tuple_percent FLOAT8, -- dead tuples in % (based on estimate)
+ OUT approx_free_space BIGINT, -- estimated free space in bytes
+ OUT approx_free_percent FLOAT8) -- free space in % (based on estimate)
+AS 'MODULE_PATHNAME', 'pgstattuple_approx_v1_5'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+REVOKE EXECUTE ON FUNCTION pgstattuple_approx(regclass) FROM PUBLIC;
+GRANT EXECUTE ON FUNCTION pgstattuple_approx(regclass) TO pg_stat_scan_tables;
+
+/* New stuff in 1.5 begins here */
+
+CREATE OR REPLACE FUNCTION pgstathashindex(IN relname regclass,
+ OUT version INTEGER,
+ OUT bucket_pages BIGINT,
+ OUT overflow_pages BIGINT,
+ OUT bitmap_pages BIGINT,
+ OUT unused_pages BIGINT,
+ OUT live_items BIGINT,
+ OUT dead_items BIGINT,
+ OUT free_percent FLOAT8)
+AS 'MODULE_PATHNAME', 'pgstathashindex'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+REVOKE EXECUTE ON FUNCTION pgstathashindex(regclass) FROM PUBLIC;
+GRANT EXECUTE ON FUNCTION pgstathashindex(regclass) TO pg_stat_scan_tables;
diff --git a/pgsql/share/extension/pgstattuple--1.4.sql b/pgsql/share/extension/pgstattuple--1.4.sql
new file mode 100644
index 0000000000000000000000000000000000000000..47377ebe79e4fc562baecd4795e617b562123037
--- /dev/null
+++ b/pgsql/share/extension/pgstattuple--1.4.sql
@@ -0,0 +1,95 @@
+/* contrib/pgstattuple/pgstattuple--1.4.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION pgstattuple" to load this file. \quit
+
+CREATE FUNCTION pgstattuple(IN relname text,
+ OUT table_len BIGINT, -- physical table length in bytes
+ OUT tuple_count BIGINT, -- number of live tuples
+ OUT tuple_len BIGINT, -- total tuples length in bytes
+ OUT tuple_percent FLOAT8, -- live tuples in %
+ OUT dead_tuple_count BIGINT, -- number of dead tuples
+ OUT dead_tuple_len BIGINT, -- total dead tuples length in bytes
+ OUT dead_tuple_percent FLOAT8, -- dead tuples in %
+ OUT free_space BIGINT, -- free space in bytes
+ OUT free_percent FLOAT8) -- free space in %
+AS 'MODULE_PATHNAME', 'pgstattuple'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+CREATE FUNCTION pgstatindex(IN relname text,
+ OUT version INT,
+ OUT tree_level INT,
+ OUT index_size BIGINT,
+ OUT root_block_no BIGINT,
+ OUT internal_pages BIGINT,
+ OUT leaf_pages BIGINT,
+ OUT empty_pages BIGINT,
+ OUT deleted_pages BIGINT,
+ OUT avg_leaf_density FLOAT8,
+ OUT leaf_fragmentation FLOAT8)
+AS 'MODULE_PATHNAME', 'pgstatindex'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+CREATE FUNCTION pg_relpages(IN relname text)
+RETURNS BIGINT
+AS 'MODULE_PATHNAME', 'pg_relpages'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+/* New stuff in 1.1 begins here */
+
+CREATE FUNCTION pgstatginindex(IN relname regclass,
+ OUT version INT4,
+ OUT pending_pages INT4,
+ OUT pending_tuples BIGINT)
+AS 'MODULE_PATHNAME', 'pgstatginindex'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+/* New stuff in 1.2 begins here */
+
+CREATE FUNCTION pgstattuple(IN reloid regclass,
+ OUT table_len BIGINT, -- physical table length in bytes
+ OUT tuple_count BIGINT, -- number of live tuples
+ OUT tuple_len BIGINT, -- total tuples length in bytes
+ OUT tuple_percent FLOAT8, -- live tuples in %
+ OUT dead_tuple_count BIGINT, -- number of dead tuples
+ OUT dead_tuple_len BIGINT, -- total dead tuples length in bytes
+ OUT dead_tuple_percent FLOAT8, -- dead tuples in %
+ OUT free_space BIGINT, -- free space in bytes
+ OUT free_percent FLOAT8) -- free space in %
+AS 'MODULE_PATHNAME', 'pgstattuplebyid'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+CREATE FUNCTION pgstatindex(IN relname regclass,
+ OUT version INT,
+ OUT tree_level INT,
+ OUT index_size BIGINT,
+ OUT root_block_no BIGINT,
+ OUT internal_pages BIGINT,
+ OUT leaf_pages BIGINT,
+ OUT empty_pages BIGINT,
+ OUT deleted_pages BIGINT,
+ OUT avg_leaf_density FLOAT8,
+ OUT leaf_fragmentation FLOAT8)
+AS 'MODULE_PATHNAME', 'pgstatindexbyid'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+CREATE FUNCTION pg_relpages(IN relname regclass)
+RETURNS BIGINT
+AS 'MODULE_PATHNAME', 'pg_relpagesbyid'
+LANGUAGE C STRICT PARALLEL SAFE;
+
+/* New stuff in 1.3 begins here */
+
+CREATE FUNCTION pgstattuple_approx(IN reloid regclass,
+ OUT table_len BIGINT, -- physical table length in bytes
+ OUT scanned_percent FLOAT8, -- what percentage of the table's pages was scanned
+ OUT approx_tuple_count BIGINT, -- estimated number of live tuples
+ OUT approx_tuple_len BIGINT, -- estimated total length in bytes of live tuples
+ OUT approx_tuple_percent FLOAT8, -- live tuples in % (based on estimate)
+ OUT dead_tuple_count BIGINT, -- exact number of dead tuples
+ OUT dead_tuple_len BIGINT, -- exact total length in bytes of dead tuples
+ OUT dead_tuple_percent FLOAT8, -- dead tuples in % (based on estimate)
+ OUT approx_free_space BIGINT, -- estimated free space in bytes
+ OUT approx_free_percent FLOAT8) -- free space in % (based on estimate)
+AS 'MODULE_PATHNAME', 'pgstattuple_approx'
+LANGUAGE C STRICT PARALLEL SAFE;
diff --git a/pgsql/share/extension/pgstattuple.control b/pgsql/share/extension/pgstattuple.control
new file mode 100644
index 0000000000000000000000000000000000000000..6af40757b27c2ff35b625dfa506bd34a9e7f7934
--- /dev/null
+++ b/pgsql/share/extension/pgstattuple.control
@@ -0,0 +1,5 @@
+# pgstattuple extension
+comment = 'show tuple-level statistics'
+default_version = '1.5'
+module_pathname = '$libdir/pgstattuple'
+relocatable = true
diff --git a/pgsql/share/extension/pldbgapi--1.0--1.1.sql b/pgsql/share/extension/pldbgapi--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..2d5075a616f7ff0352de7f1b39615fd19840962b
--- /dev/null
+++ b/pgsql/share/extension/pldbgapi--1.0--1.1.sql
@@ -0,0 +1,81 @@
+DO $do$
+
+declare
+ isedb bool;
+ createstmt text;
+begin
+
+ isedb = (SELECT version() LIKE '%EnterpriseDB%');
+
+ createstmt := $create_stmt$
+
+CREATE OR REPLACE FUNCTION pldbg_get_target_info(signature text, targetType "char") returns targetinfo AS $$
+ SELECT p.oid AS target,
+ pronamespace AS schema,
+ pronargs::int4 AS nargs,
+ -- The returned argtypes column is of type oidvector, but unlike
+ -- proargtypes, it's supposed to include OUT params. So we
+ -- essentially have to return proallargtypes, converted to an
+ -- oidvector. There is no oid[] -> oidvector cast, so we have to
+ -- do it via text.
+ CASE WHEN proallargtypes IS NOT NULL THEN
+ translate(proallargtypes::text, ',{}', ' ')::oidvector
+ ELSE
+ proargtypes
+ END AS argtypes,
+ proname AS targetname,
+ proargmodes AS argmodes,
+ proargnames AS proargnames,
+ prolang AS targetlang,
+ quote_ident(nspname) || '.' || quote_ident(proname) AS fqname,
+ proretset AS returnsset,
+ prorettype AS returntype,
+$create_stmt$;
+
+-- Add the three EDB-columns to the query (as dummies if we're installing
+-- to PostgreSQL)
+IF isedb THEN
+ createstmt := createstmt ||
+$create_stmt$
+ p.protype='0' AS isfunc,
+ CASE WHEN n.nspparent <> 0 THEN n.oid ELSE 0 END AS pkg,
+ edb_get_func_defvals(p.oid) AS argdefvals
+$create_stmt$;
+ELSE
+ createstmt := createstmt ||
+$create_stmt$
+ 't'::bool AS isfunc,
+ 0::oid AS pkg,
+ NULL::text[] AS argdefvals
+$create_stmt$;
+END IF;
+ -- End of conditional part
+
+ createstmt := createstmt ||
+$create_stmt$
+ FROM pg_proc p, pg_namespace n
+ WHERE p.pronamespace = n.oid
+ AND p.oid = $1::oid
+ -- We used to support querying by function name or trigger name/oid as well,
+ -- but that was never used in the client, so the support for that has been
+ -- removed. The targeType argument remains as a legacy of that. You're
+ -- expected to pass 'o' as target type, but it doesn't do anything.
+ AND $2 = 'o'
+$$ LANGUAGE SQL;
+$create_stmt$;
+
+ execute createstmt;
+
+-- Add a couple of EDB specific functions
+IF isedb THEN
+ CREATE OR REPLACE FUNCTION edb_oid_debug(functionOID oid) RETURNS integer AS $$
+ select pldbg_oid_debug($1);
+ $$ LANGUAGE SQL;
+
+ CREATE OR REPLACE FUNCTION pldbg_get_pkg_cons(packageOID oid) RETURNS oid AS $$
+ select oid from pg_proc where pronamespace=$1 and proname='cons';
+ $$ LANGUAGE SQL;
+END IF;
+
+end;
+$do$;
diff --git a/pgsql/share/extension/pldbgapi--1.1.sql b/pgsql/share/extension/pldbgapi--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..07d2f2dc0e71c5935e6af2625238374d6e792421
--- /dev/null
+++ b/pgsql/share/extension/pldbgapi--1.1.sql
@@ -0,0 +1,155 @@
+-- pldbg.sql
+-- This script creates the data types and functions defined by the PL debugger API
+--
+-- Copyright (c) 2004-2018 EnterpriseDB Corporation. All Rights Reserved.
+--
+-- Licensed under the Artistic License v2.0, see
+-- https://opensource.org/licenses/artistic-license-2.0
+-- for full details
+
+\echo Installing pldebugger as unpackaged objects. If you are using PostgreSQL
+\echo version 9.1 or above, use "CREATE EXTENSION pldbgapi" instead.
+
+CREATE TYPE breakpoint AS ( func OID, linenumber INTEGER, targetName TEXT );
+CREATE TYPE frame AS ( level INT, targetname TEXT, func OID, linenumber INTEGER, args TEXT );
+
+CREATE TYPE var AS ( name TEXT, varClass char, lineNumber INTEGER, isUnique bool, isConst bool, isNotNull bool, dtype OID, value TEXT );
+CREATE TYPE proxyInfo AS ( serverVersionStr TEXT, serverVersionNum INT, proxyAPIVer INT, serverProcessID INT );
+
+CREATE FUNCTION pldbg_oid_debug( functionOID OID ) RETURNS INTEGER AS '$libdir/plugin_debugger' LANGUAGE C STRICT;
+
+-- for backwards-compatibility
+CREATE FUNCTION plpgsql_oid_debug( functionOID OID ) RETURNS INTEGER AS $$ SELECT pldbg_oid_debug($1) $$ LANGUAGE sql STRICT;
+
+CREATE FUNCTION pldbg_abort_target( session INTEGER ) RETURNS SETOF boolean AS '$libdir/plugin_debugger' LANGUAGE C STRICT;
+CREATE FUNCTION pldbg_attach_to_port( portNumber INTEGER ) RETURNS INTEGER AS '$libdir/plugin_debugger' LANGUAGE C STRICT;
+CREATE FUNCTION pldbg_continue( session INTEGER ) RETURNS breakpoint AS '$libdir/plugin_debugger' LANGUAGE C STRICT;
+CREATE FUNCTION pldbg_create_listener() RETURNS INTEGER AS '$libdir/plugin_debugger' LANGUAGE C STRICT;
+CREATE FUNCTION pldbg_deposit_value( session INTEGER, varName TEXT, lineNumber INTEGER, value TEXT ) RETURNS boolean AS '$libdir/plugin_debugger' LANGUAGE C STRICT;
+CREATE FUNCTION pldbg_drop_breakpoint( session INTEGER, func OID, linenumber INTEGER ) RETURNS boolean AS '$libdir/plugin_debugger' LANGUAGE C STRICT;
+CREATE FUNCTION pldbg_get_breakpoints( session INTEGER ) RETURNS SETOF breakpoint AS '$libdir/plugin_debugger' LANGUAGE C STRICT;
+CREATE FUNCTION pldbg_get_source( session INTEGER, func OID ) RETURNS TEXT AS '$libdir/plugin_debugger' LANGUAGE C STRICT;
+CREATE FUNCTION pldbg_get_stack( session INTEGER ) RETURNS SETOF frame AS '$libdir/plugin_debugger' LANGUAGE C STRICT;
+CREATE FUNCTION pldbg_get_proxy_info( ) RETURNS proxyInfo AS '$libdir/plugin_debugger' LANGUAGE C STRICT;
+CREATE FUNCTION pldbg_get_variables( session INTEGER ) RETURNS SETOF var AS '$libdir/plugin_debugger' LANGUAGE C STRICT;
+CREATE FUNCTION pldbg_select_frame( session INTEGER, frame INTEGER ) RETURNS breakpoint AS '$libdir/plugin_debugger' LANGUAGE C STRICT;
+CREATE FUNCTION pldbg_set_breakpoint( session INTEGER, func OID, linenumber INTEGER ) RETURNS boolean AS '$libdir/plugin_debugger' LANGUAGE C STRICT;
+CREATE FUNCTION pldbg_set_global_breakpoint( session INTEGER, func OID, linenumber INTEGER, targetPID INTEGER ) RETURNS boolean AS '$libdir/plugin_debugger' LANGUAGE C;
+CREATE FUNCTION pldbg_step_into( session INTEGER ) RETURNS breakpoint AS '$libdir/plugin_debugger' LANGUAGE C STRICT;
+CREATE FUNCTION pldbg_step_over( session INTEGER ) RETURNS breakpoint AS '$libdir/plugin_debugger' LANGUAGE C STRICT;
+CREATE FUNCTION pldbg_wait_for_breakpoint( session INTEGER ) RETURNS breakpoint AS '$libdir/plugin_debugger' LANGUAGE C STRICT;
+CREATE FUNCTION pldbg_wait_for_target( session INTEGER ) RETURNS INTEGER AS '$libdir/plugin_debugger' LANGUAGE C STRICT;
+
+/*
+ * pldbg_get_target_info() function can be used to return information about
+ * a function.
+ *
+ * Deprecated. This is used by the pgAdmin debugger GUI, but new applications
+ * should just query the catalogs directly.
+ */
+CREATE TYPE targetinfo AS ( target OID, schema OID, nargs INT, argTypes oidvector, targetName NAME, argModes "char"[], argNames TEXT[], targetLang OID, fqName TEXT, returnsSet BOOL, returnType OID,
+
+ -- The following columns are only needed when running in an EnterpriseDB
+ -- server. On PostgreSQL, we return just dummy values for them.
+ --
+ -- 'isFunc' and 'pkg' only make sense on EnterpriseDB. 'isfunc' is true
+ -- if the function is a regular function, not a stored procedure or a
+ -- function that was created implictly to back a trigger created with the
+ -- Oracle-compatible CREATE TRIGGER syntax. If the function belongs to a
+ -- package, 'pkg' is the package's OID, or 0 otherwise.
+ --
+ -- 'argDefVals' is a representation of the function's argument DEFAULTs.
+ -- That would be nice to have on PostgreSQL as well. Unfortunately our
+ -- current implementation relies on an EDB-only function to get that
+ -- information, so we cannot just use it as is. TODO: rewrite that using
+ -- pg_get_expr(pg_proc.proargdefaults).
+ isFunc BOOL,
+ pkg OID,
+ argDefVals TEXT[]
+);
+
+-- Create the pldbg_get_target_info() function. We use an inline code block
+-- so that we can check and create it slightly differently if running on
+-- an EnterpriseDB server.
+
+DO $do$
+
+declare
+ isedb bool;
+ createstmt text;
+begin
+
+ isedb = (SELECT version() LIKE '%EnterpriseDB%');
+
+ createstmt := $create_stmt$
+
+CREATE FUNCTION pldbg_get_target_info(signature text, targetType "char") returns targetinfo AS $$
+ SELECT p.oid AS target,
+ pronamespace AS schema,
+ pronargs::int4 AS nargs,
+ -- The returned argtypes column is of type oidvector, but unlike
+ -- proargtypes, it's supposed to include OUT params. So we
+ -- essentially have to return proallargtypes, converted to an
+ -- oidvector. There is no oid[] -> oidvector cast, so we have to
+ -- do it via text.
+ CASE WHEN proallargtypes IS NOT NULL THEN
+ translate(proallargtypes::text, ',{}', ' ')::oidvector
+ ELSE
+ proargtypes
+ END AS argtypes,
+ proname AS targetname,
+ proargmodes AS argmodes,
+ proargnames AS proargnames,
+ prolang AS targetlang,
+ quote_ident(nspname) || '.' || quote_ident(proname) AS fqname,
+ proretset AS returnsset,
+ prorettype AS returntype,
+$create_stmt$;
+
+-- Add the three EDB-columns to the query (as dummies if we're installing
+-- to PostgreSQL)
+IF isedb THEN
+ createstmt := createstmt ||
+$create_stmt$
+ p.protype='0' AS isfunc,
+ CASE WHEN n.nspparent <> 0 THEN n.oid ELSE 0 END AS pkg,
+ edb_get_func_defvals(p.oid) AS argdefvals
+$create_stmt$;
+ELSE
+ createstmt := createstmt ||
+$create_stmt$
+ 't'::bool AS isfunc,
+ 0::oid AS pkg,
+ NULL::text[] AS argdefvals
+$create_stmt$;
+END IF;
+ -- End of conditional part
+
+ createstmt := createstmt ||
+$create_stmt$
+ FROM pg_proc p, pg_namespace n
+ WHERE p.pronamespace = n.oid
+ AND p.oid = $1::oid
+ -- We used to support querying by function name or trigger name/oid as well,
+ -- but that was never used in the client, so the support for that has been
+ -- removed. The targeType argument remains as a legacy of that. You're
+ -- expected to pass 'o' as target type, but it doesn't do anything.
+ AND $2 = 'o'
+$$ LANGUAGE SQL;
+$create_stmt$;
+
+ execute createstmt;
+
+-- Add a couple of EDB specific functions
+IF isedb THEN
+ CREATE FUNCTION edb_oid_debug(functionOID oid) RETURNS integer AS $$
+ select pldbg_oid_debug($1);
+ $$ LANGUAGE SQL;
+
+ CREATE FUNCTION pldbg_get_pkg_cons(packageOID oid) RETURNS oid AS $$
+ select oid from pg_proc where pronamespace=$1 and proname='cons';
+ $$ LANGUAGE SQL;
+END IF;
+
+end;
+$do$;
diff --git a/pgsql/share/extension/pldbgapi--unpackaged--1.1.sql b/pgsql/share/extension/pldbgapi--unpackaged--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..32661aff491d512fe6d67e139469861e3dc44644
--- /dev/null
+++ b/pgsql/share/extension/pldbgapi--unpackaged--1.1.sql
@@ -0,0 +1,45 @@
+ALTER EXTENSION pldbgapi ADD TYPE breakpoint;
+ALTER EXTENSION pldbgapi ADD TYPE frame;
+
+ALTER EXTENSION pldbgapi ADD TYPE targetinfo;
+
+ALTER EXTENSION pldbgapi ADD TYPE var;
+ALTER EXTENSION pldbgapi ADD TYPE proxyInfo;
+
+ALTER EXTENSION pldbgapi ADD FUNCTION plpgsql_oid_debug( functionOID OID );
+
+ALTER EXTENSION pldbgapi ADD FUNCTION pldbg_abort_target( session INTEGER );
+ALTER EXTENSION pldbgapi ADD FUNCTION pldbg_attach_to_port( portNumber INTEGER );
+ALTER EXTENSION pldbgapi ADD FUNCTION pldbg_continue( session INTEGER );
+ALTER EXTENSION pldbgapi ADD FUNCTION pldbg_create_listener();
+ALTER EXTENSION pldbgapi ADD FUNCTION pldbg_deposit_value( session INTEGER, varName TEXT, lineNumber INTEGER, value TEXT );
+ALTER EXTENSION pldbgapi ADD FUNCTION pldbg_drop_breakpoint( session INTEGER, func OID, linenumber INTEGER );
+ALTER EXTENSION pldbgapi ADD FUNCTION pldbg_get_breakpoints( session INTEGER );
+ALTER EXTENSION pldbgapi ADD FUNCTION pldbg_get_source( session INTEGER, func OID );
+ALTER EXTENSION pldbgapi ADD FUNCTION pldbg_get_stack( session INTEGER );
+ALTER EXTENSION pldbgapi ADD FUNCTION pldbg_get_proxy_info( );
+ALTER EXTENSION pldbgapi ADD FUNCTION pldbg_get_variables( session INTEGER );
+ALTER EXTENSION pldbgapi ADD FUNCTION pldbg_select_frame( session INTEGER, frame INTEGER );
+ALTER EXTENSION pldbgapi ADD FUNCTION pldbg_set_breakpoint( session INTEGER, func OID, linenumber INTEGER );
+ALTER EXTENSION pldbgapi ADD FUNCTION pldbg_set_global_breakpoint( session INTEGER, func OID, linenumber INTEGER, targetPID INTEGER );
+ALTER EXTENSION pldbgapi ADD FUNCTION pldbg_step_into( session INTEGER );
+ALTER EXTENSION pldbgapi ADD FUNCTION pldbg_step_over( session INTEGER );
+ALTER EXTENSION pldbgapi ADD FUNCTION pldbg_wait_for_breakpoint( session INTEGER );
+ALTER EXTENSION pldbgapi ADD FUNCTION pldbg_wait_for_target( session INTEGER );
+ALTER EXTENSION pldbgapi ADD FUNCTION pldbg_get_target_info( signature TEXT, targetType "char" );
+
+DO $do$
+
+declare
+ isedb bool;
+begin
+
+ isedb = (SELECT version() LIKE '%EnterpriseDB%');
+
+ -- Add a couple of EDB specific functions
+ IF isedb THEN
+ ALTER EXTENSION pldbgapi ADD edb_oid_debug( functionOID oid );
+ ALTER EXTENSION pldbgapi ADD pldbg_get_pkg_cons( packageOID oid );
+ END IF;
+
+$do$;
diff --git a/pgsql/share/extension/pldbgapi.control b/pgsql/share/extension/pldbgapi.control
new file mode 100644
index 0000000000000000000000000000000000000000..c65f46f6675fcef3de0189eaf11b93c10b7e4e85
--- /dev/null
+++ b/pgsql/share/extension/pldbgapi.control
@@ -0,0 +1,5 @@
+# pldebugger extension control file
+comment = 'server-side support for debugging PL/pgSQL functions'
+default_version = '1.1'
+module_pathname = '$libdir/pldbgapi'
+relocatable = true
diff --git a/pgsql/share/extension/plperl--1.0.sql b/pgsql/share/extension/plperl--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..5ff31e74e55c78b2739b46a28b2b989dc48d8437
--- /dev/null
+++ b/pgsql/share/extension/plperl--1.0.sql
@@ -0,0 +1,20 @@
+/* src/pl/plperl/plperl--1.0.sql */
+
+CREATE FUNCTION plperl_call_handler() RETURNS language_handler
+ LANGUAGE c AS 'MODULE_PATHNAME';
+
+CREATE FUNCTION plperl_inline_handler(internal) RETURNS void
+ STRICT LANGUAGE c AS 'MODULE_PATHNAME';
+
+CREATE FUNCTION plperl_validator(oid) RETURNS void
+ STRICT LANGUAGE c AS 'MODULE_PATHNAME';
+
+CREATE TRUSTED LANGUAGE plperl
+ HANDLER plperl_call_handler
+ INLINE plperl_inline_handler
+ VALIDATOR plperl_validator;
+
+-- The language object, but not the functions, can be owned by a non-superuser.
+ALTER LANGUAGE plperl OWNER TO @extowner@;
+
+COMMENT ON LANGUAGE plperl IS 'PL/Perl procedural language';
diff --git a/pgsql/share/extension/plperl.control b/pgsql/share/extension/plperl.control
new file mode 100644
index 0000000000000000000000000000000000000000..3a2230a151d6ce321fffb9faf4d3cfa0f1439eeb
--- /dev/null
+++ b/pgsql/share/extension/plperl.control
@@ -0,0 +1,8 @@
+# plperl extension
+comment = 'PL/Perl procedural language'
+default_version = '1.0'
+module_pathname = '$libdir/plperl'
+relocatable = false
+schema = pg_catalog
+superuser = true
+trusted = true
diff --git a/pgsql/share/extension/plperlu--1.0.sql b/pgsql/share/extension/plperlu--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..10d75945a166ae1928223a1f8dbcedbac19bbf13
--- /dev/null
+++ b/pgsql/share/extension/plperlu--1.0.sql
@@ -0,0 +1,17 @@
+/* src/pl/plperl/plperlu--1.0.sql */
+
+CREATE FUNCTION plperlu_call_handler() RETURNS language_handler
+ LANGUAGE c AS 'MODULE_PATHNAME';
+
+CREATE FUNCTION plperlu_inline_handler(internal) RETURNS void
+ STRICT LANGUAGE c AS 'MODULE_PATHNAME';
+
+CREATE FUNCTION plperlu_validator(oid) RETURNS void
+ STRICT LANGUAGE c AS 'MODULE_PATHNAME';
+
+CREATE LANGUAGE plperlu
+ HANDLER plperlu_call_handler
+ INLINE plperlu_inline_handler
+ VALIDATOR plperlu_validator;
+
+COMMENT ON LANGUAGE plperlu IS 'PL/PerlU untrusted procedural language';
diff --git a/pgsql/share/extension/plperlu.control b/pgsql/share/extension/plperlu.control
new file mode 100644
index 0000000000000000000000000000000000000000..69473caed47de76d15315dd0d58aa35ad8037061
--- /dev/null
+++ b/pgsql/share/extension/plperlu.control
@@ -0,0 +1,7 @@
+# plperlu extension
+comment = 'PL/PerlU untrusted procedural language'
+default_version = '1.0'
+module_pathname = '$libdir/plperl'
+relocatable = false
+schema = pg_catalog
+superuser = true
diff --git a/pgsql/share/extension/plpgsql--1.0.sql b/pgsql/share/extension/plpgsql--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..6e5b990fccc068e1782f72b58684a6efd29dbdcb
--- /dev/null
+++ b/pgsql/share/extension/plpgsql--1.0.sql
@@ -0,0 +1,20 @@
+/* src/pl/plpgsql/src/plpgsql--1.0.sql */
+
+CREATE FUNCTION plpgsql_call_handler() RETURNS language_handler
+ LANGUAGE c AS 'MODULE_PATHNAME';
+
+CREATE FUNCTION plpgsql_inline_handler(internal) RETURNS void
+ STRICT LANGUAGE c AS 'MODULE_PATHNAME';
+
+CREATE FUNCTION plpgsql_validator(oid) RETURNS void
+ STRICT LANGUAGE c AS 'MODULE_PATHNAME';
+
+CREATE TRUSTED LANGUAGE plpgsql
+ HANDLER plpgsql_call_handler
+ INLINE plpgsql_inline_handler
+ VALIDATOR plpgsql_validator;
+
+-- The language object, but not the functions, can be owned by a non-superuser.
+ALTER LANGUAGE plpgsql OWNER TO @extowner@;
+
+COMMENT ON LANGUAGE plpgsql IS 'PL/pgSQL procedural language';
diff --git a/pgsql/share/extension/plpgsql.control b/pgsql/share/extension/plpgsql.control
new file mode 100644
index 0000000000000000000000000000000000000000..42e764bf36b11a5909ad493a9c0214c53262f8bd
--- /dev/null
+++ b/pgsql/share/extension/plpgsql.control
@@ -0,0 +1,8 @@
+# plpgsql extension
+comment = 'PL/pgSQL procedural language'
+default_version = '1.0'
+module_pathname = '$libdir/plpgsql'
+relocatable = false
+schema = pg_catalog
+superuser = true
+trusted = true
diff --git a/pgsql/share/extension/plpython3u--1.0.sql b/pgsql/share/extension/plpython3u--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..ba2e6ac076bcad2c35ea133dabe17ece1bf50f1d
--- /dev/null
+++ b/pgsql/share/extension/plpython3u--1.0.sql
@@ -0,0 +1,17 @@
+/* src/pl/plpython/plpython3u--1.0.sql */
+
+CREATE FUNCTION plpython3_call_handler() RETURNS language_handler
+ LANGUAGE c AS 'MODULE_PATHNAME';
+
+CREATE FUNCTION plpython3_inline_handler(internal) RETURNS void
+ STRICT LANGUAGE c AS 'MODULE_PATHNAME';
+
+CREATE FUNCTION plpython3_validator(oid) RETURNS void
+ STRICT LANGUAGE c AS 'MODULE_PATHNAME';
+
+CREATE LANGUAGE plpython3u
+ HANDLER plpython3_call_handler
+ INLINE plpython3_inline_handler
+ VALIDATOR plpython3_validator;
+
+COMMENT ON LANGUAGE plpython3u IS 'PL/Python3U untrusted procedural language';
diff --git a/pgsql/share/extension/plpython3u.control b/pgsql/share/extension/plpython3u.control
new file mode 100644
index 0000000000000000000000000000000000000000..01905ef398b0fdee320ce060c7cf2f513889081e
--- /dev/null
+++ b/pgsql/share/extension/plpython3u.control
@@ -0,0 +1,7 @@
+# plpython3u extension
+comment = 'PL/Python3U untrusted procedural language'
+default_version = '1.0'
+module_pathname = '$libdir/plpython3'
+relocatable = false
+schema = pg_catalog
+superuser = true
diff --git a/pgsql/share/extension/plsample--1.0.sql b/pgsql/share/extension/plsample--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..fc5b280bd4fa53ad95cb1db4aa6782d172dd5378
--- /dev/null
+++ b/pgsql/share/extension/plsample--1.0.sql
@@ -0,0 +1,14 @@
+/* src/test/modules/plsample/plsample--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION plsample" to load this file. \quit
+
+CREATE FUNCTION plsample_call_handler() RETURNS language_handler
+ AS 'MODULE_PATHNAME' LANGUAGE C;
+
+CREATE TRUSTED LANGUAGE plsample
+ HANDLER plsample_call_handler;
+
+ALTER LANGUAGE plsample OWNER TO @extowner@;
+
+COMMENT ON LANGUAGE plsample IS 'PL/Sample procedural language';
diff --git a/pgsql/share/extension/plsample.control b/pgsql/share/extension/plsample.control
new file mode 100644
index 0000000000000000000000000000000000000000..1e67251a1e03e50f9da844cf2402b7f12a68faf1
--- /dev/null
+++ b/pgsql/share/extension/plsample.control
@@ -0,0 +1,8 @@
+# plsample extension
+comment = 'PL/Sample'
+default_version = '1.0'
+module_pathname = '$libdir/plsample'
+relocatable = false
+schema = pg_catalog
+superuser = false
+trusted = true
diff --git a/pgsql/share/extension/pltcl--1.0.sql b/pgsql/share/extension/pltcl--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..2ed2b920c8e44aa42c037a5ee941cd3f5d422aaf
--- /dev/null
+++ b/pgsql/share/extension/pltcl--1.0.sql
@@ -0,0 +1,12 @@
+/* src/pl/tcl/pltcl--1.0.sql */
+
+CREATE FUNCTION pltcl_call_handler() RETURNS language_handler
+ LANGUAGE c AS 'MODULE_PATHNAME';
+
+CREATE TRUSTED LANGUAGE pltcl
+ HANDLER pltcl_call_handler;
+
+-- The language object, but not the functions, can be owned by a non-superuser.
+ALTER LANGUAGE pltcl OWNER TO @extowner@;
+
+COMMENT ON LANGUAGE pltcl IS 'PL/Tcl procedural language';
diff --git a/pgsql/share/extension/pltcl.control b/pgsql/share/extension/pltcl.control
new file mode 100644
index 0000000000000000000000000000000000000000..1568c17e09d03fa61c84304c1de79a3efc5b4719
--- /dev/null
+++ b/pgsql/share/extension/pltcl.control
@@ -0,0 +1,8 @@
+# pltcl extension
+comment = 'PL/Tcl procedural language'
+default_version = '1.0'
+module_pathname = '$libdir/pltcl'
+relocatable = false
+schema = pg_catalog
+superuser = true
+trusted = true
diff --git a/pgsql/share/extension/pltclu--1.0.sql b/pgsql/share/extension/pltclu--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..fca869f7f2d56a92a5d77b6bb8300484d8411faf
--- /dev/null
+++ b/pgsql/share/extension/pltclu--1.0.sql
@@ -0,0 +1,9 @@
+/* src/pl/tcl/pltclu--1.0.sql */
+
+CREATE FUNCTION pltclu_call_handler() RETURNS language_handler
+ LANGUAGE c AS 'MODULE_PATHNAME';
+
+CREATE LANGUAGE pltclu
+ HANDLER pltclu_call_handler;
+
+COMMENT ON LANGUAGE pltclu IS 'PL/TclU untrusted procedural language';
diff --git a/pgsql/share/extension/pltclu.control b/pgsql/share/extension/pltclu.control
new file mode 100644
index 0000000000000000000000000000000000000000..1418dc5a9ef1c32270024e8f28c3ca1e897a70b7
--- /dev/null
+++ b/pgsql/share/extension/pltclu.control
@@ -0,0 +1,7 @@
+# pltclu extension
+comment = 'PL/TclU untrusted procedural language'
+default_version = '1.0'
+module_pathname = '$libdir/pltcl'
+relocatable = false
+schema = pg_catalog
+superuser = true
diff --git a/pgsql/share/extension/postgres_fdw--1.0--1.1.sql b/pgsql/share/extension/postgres_fdw--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..ed4ca378d4abe720aa29c9481e1a909f4b40f3cb
--- /dev/null
+++ b/pgsql/share/extension/postgres_fdw--1.0--1.1.sql
@@ -0,0 +1,20 @@
+/* contrib/postgres_fdw/postgres_fdw--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION postgres_fdw UPDATE TO '1.1'" to load this file. \quit
+
+CREATE FUNCTION postgres_fdw_get_connections (OUT server_name text,
+ OUT valid boolean)
+RETURNS SETOF record
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION postgres_fdw_disconnect (text)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION postgres_fdw_disconnect_all ()
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
diff --git a/pgsql/share/extension/postgres_fdw--1.0.sql b/pgsql/share/extension/postgres_fdw--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..a0f0fc1bf455a8935bd43e4f7535c1e1203a1c0a
--- /dev/null
+++ b/pgsql/share/extension/postgres_fdw--1.0.sql
@@ -0,0 +1,18 @@
+/* contrib/postgres_fdw/postgres_fdw--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION postgres_fdw" to load this file. \quit
+
+CREATE FUNCTION postgres_fdw_handler()
+RETURNS fdw_handler
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT;
+
+CREATE FUNCTION postgres_fdw_validator(text[], oid)
+RETURNS void
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT;
+
+CREATE FOREIGN DATA WRAPPER postgres_fdw
+ HANDLER postgres_fdw_handler
+ VALIDATOR postgres_fdw_validator;
diff --git a/pgsql/share/extension/postgres_fdw.control b/pgsql/share/extension/postgres_fdw.control
new file mode 100644
index 0000000000000000000000000000000000000000..d489382064cfb853b29212b230eedf63c40a467f
--- /dev/null
+++ b/pgsql/share/extension/postgres_fdw.control
@@ -0,0 +1,5 @@
+# postgres_fdw extension
+comment = 'foreign-data wrapper for remote PostgreSQL servers'
+default_version = '1.1'
+module_pathname = '$libdir/postgres_fdw'
+relocatable = true
diff --git a/pgsql/share/extension/refint--1.0.sql b/pgsql/share/extension/refint--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..faf797c215767ac33c04e4d46ab6d80e5d18dfa8
--- /dev/null
+++ b/pgsql/share/extension/refint--1.0.sql
@@ -0,0 +1,14 @@
+/* contrib/spi/refint--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION refint" to load this file. \quit
+
+CREATE FUNCTION check_primary_key()
+RETURNS trigger
+AS 'MODULE_PATHNAME'
+LANGUAGE C;
+
+CREATE FUNCTION check_foreign_key()
+RETURNS trigger
+AS 'MODULE_PATHNAME'
+LANGUAGE C;
diff --git a/pgsql/share/extension/refint.control b/pgsql/share/extension/refint.control
new file mode 100644
index 0000000000000000000000000000000000000000..cbede45784cfac2024ac6142493edf3a8000f633
--- /dev/null
+++ b/pgsql/share/extension/refint.control
@@ -0,0 +1,5 @@
+# refint extension
+comment = 'functions for implementing referential integrity (obsolete)'
+default_version = '1.0'
+module_pathname = '$libdir/refint'
+relocatable = true
diff --git a/pgsql/share/extension/seg--1.0--1.1.sql b/pgsql/share/extension/seg--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..ae6cb2fba8893809b4042502a63c7d20c7ecbb5f
--- /dev/null
+++ b/pgsql/share/extension/seg--1.0--1.1.sql
@@ -0,0 +1,63 @@
+/* contrib/seg/seg--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION seg UPDATE TO '1.1'" to load this file. \quit
+
+-- Update procedure signatures the hard way.
+-- We use to_regprocedure() so that query doesn't fail if run against 9.6beta1 definitions,
+-- wherein the signatures have been updated already. In that case to_regprocedure() will
+-- return NULL and no updates will happen.
+DO LANGUAGE plpgsql
+$$
+DECLARE
+ my_schema pg_catalog.text := pg_catalog.quote_ident(pg_catalog.current_schema());
+ old_path pg_catalog.text := pg_catalog.current_setting('search_path');
+BEGIN
+-- for safety, transiently set search_path to just pg_catalog+pg_temp
+PERFORM pg_catalog.set_config('search_path', 'pg_catalog, pg_temp', true);
+
+UPDATE pg_catalog.pg_proc SET
+ proargtypes = pg_catalog.array_to_string(newtypes::pg_catalog.oid[], ' ')::pg_catalog.oidvector,
+ pronargs = pg_catalog.array_length(newtypes, 1)
+FROM (VALUES
+(NULL::pg_catalog.text, NULL::pg_catalog.text[]), -- establish column types
+('gseg_consistent(internal,SCH.seg,int4,oid,internal)', '{internal,SCH.seg,int2,oid,internal}')
+) AS update_data (oldproc, newtypestext),
+LATERAL (
+ SELECT array_agg(replace(typ, 'SCH', my_schema)::regtype) as newtypes FROM unnest(newtypestext) typ
+) ls
+WHERE oid = to_regprocedure(my_schema || '.' || replace(oldproc, 'SCH', my_schema));
+
+PERFORM pg_catalog.set_config('search_path', old_path, true);
+END
+$$;
+
+ALTER FUNCTION seg_in(cstring) PARALLEL SAFE;
+ALTER FUNCTION seg_out(seg) PARALLEL SAFE;
+ALTER FUNCTION seg_over_left(seg, seg) PARALLEL SAFE;
+ALTER FUNCTION seg_over_right(seg, seg) PARALLEL SAFE;
+ALTER FUNCTION seg_left(seg, seg) PARALLEL SAFE;
+ALTER FUNCTION seg_right(seg, seg) PARALLEL SAFE;
+ALTER FUNCTION seg_lt(seg, seg) PARALLEL SAFE;
+ALTER FUNCTION seg_le(seg, seg) PARALLEL SAFE;
+ALTER FUNCTION seg_gt(seg, seg) PARALLEL SAFE;
+ALTER FUNCTION seg_ge(seg, seg) PARALLEL SAFE;
+ALTER FUNCTION seg_contains(seg, seg) PARALLEL SAFE;
+ALTER FUNCTION seg_contained(seg, seg) PARALLEL SAFE;
+ALTER FUNCTION seg_overlap(seg, seg) PARALLEL SAFE;
+ALTER FUNCTION seg_same(seg, seg) PARALLEL SAFE;
+ALTER FUNCTION seg_different(seg, seg) PARALLEL SAFE;
+ALTER FUNCTION seg_cmp(seg, seg) PARALLEL SAFE;
+ALTER FUNCTION seg_union(seg, seg) PARALLEL SAFE;
+ALTER FUNCTION seg_inter(seg, seg) PARALLEL SAFE;
+ALTER FUNCTION seg_size(seg) PARALLEL SAFE;
+ALTER FUNCTION seg_center(seg) PARALLEL SAFE;
+ALTER FUNCTION seg_upper(seg) PARALLEL SAFE;
+ALTER FUNCTION seg_lower(seg) PARALLEL SAFE;
+ALTER FUNCTION gseg_consistent(internal, seg, smallint, oid, internal) PARALLEL SAFE;
+ALTER FUNCTION gseg_compress(internal) PARALLEL SAFE;
+ALTER FUNCTION gseg_decompress(internal) PARALLEL SAFE;
+ALTER FUNCTION gseg_penalty(internal, internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gseg_picksplit(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gseg_union(internal, internal) PARALLEL SAFE;
+ALTER FUNCTION gseg_same(seg, seg, internal) PARALLEL SAFE;
diff --git a/pgsql/share/extension/seg--1.1--1.2.sql b/pgsql/share/extension/seg--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..a6e4456f071a3b0cfbaf3f3c96dbcf9c9b134d56
--- /dev/null
+++ b/pgsql/share/extension/seg--1.1--1.2.sql
@@ -0,0 +1,14 @@
+/* contrib/seg/seg--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION seg UPDATE TO '1.2'" to load this file. \quit
+
+ALTER OPERATOR <= (seg, seg) SET (
+ RESTRICT = scalarlesel,
+ JOIN = scalarlejoinsel
+);
+
+ALTER OPERATOR >= (seg, seg) SET (
+ RESTRICT = scalargesel,
+ JOIN = scalargejoinsel
+);
diff --git a/pgsql/share/extension/seg--1.1.sql b/pgsql/share/extension/seg--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..d95aabcfca3c0b949b304590c209faee90ce3e8f
--- /dev/null
+++ b/pgsql/share/extension/seg--1.1.sql
@@ -0,0 +1,395 @@
+/* contrib/seg/seg--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION seg" to load this file. \quit
+
+-- Create the user-defined type for 1-D floating point intervals (seg)
+
+CREATE FUNCTION seg_in(cstring)
+RETURNS seg
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION seg_out(seg)
+RETURNS cstring
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE TYPE seg (
+ INTERNALLENGTH = 12,
+ INPUT = seg_in,
+ OUTPUT = seg_out
+);
+
+COMMENT ON TYPE seg IS
+'floating point interval ''FLOAT .. FLOAT'', ''.. FLOAT'', ''FLOAT ..'' or ''FLOAT''';
+
+--
+-- External C-functions for R-tree methods
+--
+
+-- Left/Right methods
+
+CREATE FUNCTION seg_over_left(seg, seg)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION seg_over_left(seg, seg) IS
+'overlaps or is left of';
+
+CREATE FUNCTION seg_over_right(seg, seg)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION seg_over_right(seg, seg) IS
+'overlaps or is right of';
+
+CREATE FUNCTION seg_left(seg, seg)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION seg_left(seg, seg) IS
+'is left of';
+
+CREATE FUNCTION seg_right(seg, seg)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION seg_right(seg, seg) IS
+'is right of';
+
+
+-- Scalar comparison methods
+
+CREATE FUNCTION seg_lt(seg, seg)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION seg_lt(seg, seg) IS
+'less than';
+
+CREATE FUNCTION seg_le(seg, seg)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION seg_le(seg, seg) IS
+'less than or equal';
+
+CREATE FUNCTION seg_gt(seg, seg)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION seg_gt(seg, seg) IS
+'greater than';
+
+CREATE FUNCTION seg_ge(seg, seg)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION seg_ge(seg, seg) IS
+'greater than or equal';
+
+CREATE FUNCTION seg_contains(seg, seg)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION seg_contains(seg, seg) IS
+'contains';
+
+CREATE FUNCTION seg_contained(seg, seg)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION seg_contained(seg, seg) IS
+'contained in';
+
+CREATE FUNCTION seg_overlap(seg, seg)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION seg_overlap(seg, seg) IS
+'overlaps';
+
+CREATE FUNCTION seg_same(seg, seg)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION seg_same(seg, seg) IS
+'same as';
+
+CREATE FUNCTION seg_different(seg, seg)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION seg_different(seg, seg) IS
+'different';
+
+-- support routines for indexing
+
+CREATE FUNCTION seg_cmp(seg, seg)
+RETURNS int4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+COMMENT ON FUNCTION seg_cmp(seg, seg) IS 'btree comparison function';
+
+CREATE FUNCTION seg_union(seg, seg)
+RETURNS seg
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION seg_inter(seg, seg)
+RETURNS seg
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION seg_size(seg)
+RETURNS float4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+-- miscellaneous
+
+CREATE FUNCTION seg_center(seg)
+RETURNS float4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION seg_upper(seg)
+RETURNS float4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+CREATE FUNCTION seg_lower(seg)
+RETURNS float4
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT IMMUTABLE PARALLEL SAFE;
+
+
+--
+-- OPERATORS
+--
+
+CREATE OPERATOR < (
+ LEFTARG = seg,
+ RIGHTARG = seg,
+ PROCEDURE = seg_lt,
+ COMMUTATOR = '>',
+ NEGATOR = '>=',
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel
+);
+
+CREATE OPERATOR <= (
+ LEFTARG = seg,
+ RIGHTARG = seg,
+ PROCEDURE = seg_le,
+ COMMUTATOR = '>=',
+ NEGATOR = '>',
+ RESTRICT = scalarltsel,
+ JOIN = scalarltjoinsel
+);
+
+CREATE OPERATOR > (
+ LEFTARG = seg,
+ RIGHTARG = seg,
+ PROCEDURE = seg_gt,
+ COMMUTATOR = '<',
+ NEGATOR = '<=',
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel
+);
+
+CREATE OPERATOR >= (
+ LEFTARG = seg,
+ RIGHTARG = seg,
+ PROCEDURE = seg_ge,
+ COMMUTATOR = '<=',
+ NEGATOR = '<',
+ RESTRICT = scalargtsel,
+ JOIN = scalargtjoinsel
+);
+
+CREATE OPERATOR << (
+ LEFTARG = seg,
+ RIGHTARG = seg,
+ PROCEDURE = seg_left,
+ COMMUTATOR = '>>',
+ RESTRICT = positionsel,
+ JOIN = positionjoinsel
+);
+
+CREATE OPERATOR &< (
+ LEFTARG = seg,
+ RIGHTARG = seg,
+ PROCEDURE = seg_over_left,
+ RESTRICT = positionsel,
+ JOIN = positionjoinsel
+);
+
+CREATE OPERATOR && (
+ LEFTARG = seg,
+ RIGHTARG = seg,
+ PROCEDURE = seg_overlap,
+ COMMUTATOR = '&&',
+ RESTRICT = areasel,
+ JOIN = areajoinsel
+);
+
+CREATE OPERATOR &> (
+ LEFTARG = seg,
+ RIGHTARG = seg,
+ PROCEDURE = seg_over_right,
+ RESTRICT = positionsel,
+ JOIN = positionjoinsel
+);
+
+CREATE OPERATOR >> (
+ LEFTARG = seg,
+ RIGHTARG = seg,
+ PROCEDURE = seg_right,
+ COMMUTATOR = '<<',
+ RESTRICT = positionsel,
+ JOIN = positionjoinsel
+);
+
+CREATE OPERATOR = (
+ LEFTARG = seg,
+ RIGHTARG = seg,
+ PROCEDURE = seg_same,
+ COMMUTATOR = '=',
+ NEGATOR = '<>',
+ RESTRICT = eqsel,
+ JOIN = eqjoinsel,
+ MERGES
+);
+
+CREATE OPERATOR <> (
+ LEFTARG = seg,
+ RIGHTARG = seg,
+ PROCEDURE = seg_different,
+ COMMUTATOR = '<>',
+ NEGATOR = '=',
+ RESTRICT = neqsel,
+ JOIN = neqjoinsel
+);
+
+CREATE OPERATOR @> (
+ LEFTARG = seg,
+ RIGHTARG = seg,
+ PROCEDURE = seg_contains,
+ COMMUTATOR = '<@',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR <@ (
+ LEFTARG = seg,
+ RIGHTARG = seg,
+ PROCEDURE = seg_contained,
+ COMMUTATOR = '@>',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+-- obsolete:
+CREATE OPERATOR @ (
+ LEFTARG = seg,
+ RIGHTARG = seg,
+ PROCEDURE = seg_contains,
+ COMMUTATOR = '~',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+CREATE OPERATOR ~ (
+ LEFTARG = seg,
+ RIGHTARG = seg,
+ PROCEDURE = seg_contained,
+ COMMUTATOR = '@',
+ RESTRICT = contsel,
+ JOIN = contjoinsel
+);
+
+
+-- define the GiST support methods
+CREATE FUNCTION gseg_consistent(internal,seg,smallint,oid,internal)
+RETURNS bool
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gseg_compress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gseg_decompress(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gseg_penalty(internal,internal,internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gseg_picksplit(internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gseg_union(internal, internal)
+RETURNS seg
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION gseg_same(seg, seg, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
+
+
+-- Create the operator classes for indexing
+
+CREATE OPERATOR CLASS seg_ops
+ DEFAULT FOR TYPE seg USING btree AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 seg_cmp(seg, seg);
+
+CREATE OPERATOR CLASS gist_seg_ops
+DEFAULT FOR TYPE seg USING gist
+AS
+ OPERATOR 1 << ,
+ OPERATOR 2 &< ,
+ OPERATOR 3 && ,
+ OPERATOR 4 &> ,
+ OPERATOR 5 >> ,
+ OPERATOR 6 = ,
+ OPERATOR 7 @> ,
+ OPERATOR 8 <@ ,
+ OPERATOR 13 @ ,
+ OPERATOR 14 ~ ,
+ FUNCTION 1 gseg_consistent (internal, seg, smallint, oid, internal),
+ FUNCTION 2 gseg_union (internal, internal),
+ FUNCTION 3 gseg_compress (internal),
+ FUNCTION 4 gseg_decompress (internal),
+ FUNCTION 5 gseg_penalty (internal, internal, internal),
+ FUNCTION 6 gseg_picksplit (internal, internal),
+ FUNCTION 7 gseg_same (seg, seg, internal);
diff --git a/pgsql/share/extension/seg--1.2--1.3.sql b/pgsql/share/extension/seg--1.2--1.3.sql
new file mode 100644
index 0000000000000000000000000000000000000000..578e98953ca34eef32313c1622dd52c7c85f34cc
--- /dev/null
+++ b/pgsql/share/extension/seg--1.2--1.3.sql
@@ -0,0 +1,58 @@
+/* contrib/seg/seg--1.2--1.3.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION seg UPDATE TO '1.3'" to load this file. \quit
+
+--
+-- Get rid of unnecessary compress and decompress support functions.
+--
+-- To be allowed to drop the opclass entry for a support function,
+-- we must change the entry's dependency type from 'internal' to 'auto',
+-- as though it were a loose member of the opfamily rather than being
+-- bound into a particular opclass. There's no SQL command for that,
+-- so fake it with a manual update on pg_depend.
+--
+DO LANGUAGE plpgsql
+$$
+DECLARE
+ my_schema pg_catalog.text := pg_catalog.quote_ident(pg_catalog.current_schema());
+ old_path pg_catalog.text := pg_catalog.current_setting('search_path');
+BEGIN
+-- for safety, transiently set search_path to just pg_catalog+pg_temp
+PERFORM pg_catalog.set_config('search_path', 'pg_catalog, pg_temp', true);
+
+UPDATE pg_catalog.pg_depend
+SET deptype = 'a'
+WHERE classid = 'pg_catalog.pg_amproc'::pg_catalog.regclass
+ AND objid =
+ (SELECT objid
+ FROM pg_catalog.pg_depend
+ WHERE classid = 'pg_catalog.pg_amproc'::pg_catalog.regclass
+ AND refclassid = 'pg_catalog.pg_proc'::pg_catalog.regclass
+ AND (refobjid = (my_schema || '.gseg_compress(internal)')::pg_catalog.regprocedure))
+ AND refclassid = 'pg_catalog.pg_opclass'::pg_catalog.regclass
+ AND deptype = 'i';
+
+UPDATE pg_catalog.pg_depend
+SET deptype = 'a'
+WHERE classid = 'pg_catalog.pg_amproc'::pg_catalog.regclass
+ AND objid =
+ (SELECT objid
+ FROM pg_catalog.pg_depend
+ WHERE classid = 'pg_catalog.pg_amproc'::pg_catalog.regclass
+ AND refclassid = 'pg_catalog.pg_proc'::pg_catalog.regclass
+ AND (refobjid = (my_schema || '.gseg_decompress(internal)')::pg_catalog.regprocedure))
+ AND refclassid = 'pg_catalog.pg_opclass'::pg_catalog.regclass
+ AND deptype = 'i';
+
+PERFORM pg_catalog.set_config('search_path', old_path, true);
+END
+$$;
+
+ALTER OPERATOR FAMILY gist_seg_ops USING gist drop function 3 (seg);
+ALTER EXTENSION seg DROP function gseg_compress(pg_catalog.internal);
+DROP function gseg_compress(pg_catalog.internal);
+
+ALTER OPERATOR FAMILY gist_seg_ops USING gist drop function 4 (seg);
+ALTER EXTENSION seg DROP function gseg_decompress(pg_catalog.internal);
+DROP function gseg_decompress(pg_catalog.internal);
diff --git a/pgsql/share/extension/seg--1.3--1.4.sql b/pgsql/share/extension/seg--1.3--1.4.sql
new file mode 100644
index 0000000000000000000000000000000000000000..13babddba4e9e6e7eedbc6a33b7953e33715d839
--- /dev/null
+++ b/pgsql/share/extension/seg--1.3--1.4.sql
@@ -0,0 +1,8 @@
+/* contrib/seg/seg--1.3--1.4.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION seg UPDATE TO '1.4'" to load this file. \quit
+
+-- Remove @ and ~
+DROP OPERATOR @ (seg, seg);
+DROP OPERATOR ~ (seg, seg);
diff --git a/pgsql/share/extension/seg.control b/pgsql/share/extension/seg.control
new file mode 100644
index 0000000000000000000000000000000000000000..e2c6a4750fccdb605fb94b573b58136c833b3b6a
--- /dev/null
+++ b/pgsql/share/extension/seg.control
@@ -0,0 +1,6 @@
+# seg extension
+comment = 'data type for representing line segments or floating-point intervals'
+default_version = '1.4'
+module_pathname = '$libdir/seg'
+relocatable = true
+trusted = true
diff --git a/pgsql/share/extension/spgist_name_ops--1.0.sql b/pgsql/share/extension/spgist_name_ops--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..432216ee6de1770e2bdc7c335e430357987dcb7d
--- /dev/null
+++ b/pgsql/share/extension/spgist_name_ops--1.0.sql
@@ -0,0 +1,54 @@
+/* src/test/modules/spgist_name_ops/spgist_name_ops--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION spgist_name_ops" to load this file. \quit
+
+CREATE FUNCTION spgist_name_config(internal, internal)
+RETURNS void IMMUTABLE PARALLEL SAFE STRICT
+AS 'MODULE_PATHNAME' LANGUAGE C;
+
+CREATE FUNCTION spgist_name_choose(internal, internal)
+RETURNS void IMMUTABLE PARALLEL SAFE STRICT
+AS 'MODULE_PATHNAME' LANGUAGE C;
+
+CREATE FUNCTION spgist_name_inner_consistent(internal, internal)
+RETURNS void IMMUTABLE PARALLEL SAFE STRICT
+AS 'MODULE_PATHNAME' LANGUAGE C;
+
+CREATE FUNCTION spgist_name_leaf_consistent(internal, internal)
+RETURNS boolean IMMUTABLE PARALLEL SAFE STRICT
+AS 'MODULE_PATHNAME' LANGUAGE C;
+
+CREATE FUNCTION spgist_name_compress(name)
+RETURNS text IMMUTABLE PARALLEL SAFE STRICT
+AS 'MODULE_PATHNAME' LANGUAGE C;
+
+CREATE OPERATOR CLASS name_ops DEFAULT FOR TYPE name
+USING spgist AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 spgist_name_config(internal, internal),
+ FUNCTION 2 spgist_name_choose(internal, internal),
+ FUNCTION 3 spg_text_picksplit(internal, internal),
+ FUNCTION 4 spgist_name_inner_consistent(internal, internal),
+ FUNCTION 5 spgist_name_leaf_consistent(internal, internal),
+ FUNCTION 6 spgist_name_compress(name),
+ STORAGE text;
+
+-- Also test old-style where the STORAGE clause is disallowed
+CREATE OPERATOR CLASS name_ops_old FOR TYPE name
+USING spgist AS
+ OPERATOR 1 < ,
+ OPERATOR 2 <= ,
+ OPERATOR 3 = ,
+ OPERATOR 4 >= ,
+ OPERATOR 5 > ,
+ FUNCTION 1 spgist_name_config(internal, internal),
+ FUNCTION 2 spgist_name_choose(internal, internal),
+ FUNCTION 3 spg_text_picksplit(internal, internal),
+ FUNCTION 4 spgist_name_inner_consistent(internal, internal),
+ FUNCTION 5 spgist_name_leaf_consistent(internal, internal),
+ FUNCTION 6 spgist_name_compress(name);
diff --git a/pgsql/share/extension/spgist_name_ops.control b/pgsql/share/extension/spgist_name_ops.control
new file mode 100644
index 0000000000000000000000000000000000000000..f02df7ef8535547e0847b15df90b6a1fd9c45d1f
--- /dev/null
+++ b/pgsql/share/extension/spgist_name_ops.control
@@ -0,0 +1,4 @@
+comment = 'Test opclass for SP-GiST'
+default_version = '1.0'
+module_pathname = '$libdir/spgist_name_ops'
+relocatable = true
diff --git a/pgsql/share/extension/sslinfo--1.0--1.1.sql b/pgsql/share/extension/sslinfo--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..12d341f2075ebb44425ad0b49ee56de20c8d9a51
--- /dev/null
+++ b/pgsql/share/extension/sslinfo--1.0--1.1.sql
@@ -0,0 +1,12 @@
+/* contrib/sslinfo/sslinfo--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "ALTER EXTENSION sslinfo UPDATE TO '1.1'" to load this file. \quit
+
+CREATE FUNCTION
+ssl_extension_info(OUT name text,
+ OUT value text,
+ OUT critical boolean
+) RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'ssl_extension_info'
+LANGUAGE C STRICT;
diff --git a/pgsql/share/extension/sslinfo--1.1--1.2.sql b/pgsql/share/extension/sslinfo--1.1--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..f4f901438de911e653381f9a428741d7d0e51536
--- /dev/null
+++ b/pgsql/share/extension/sslinfo--1.1--1.2.sql
@@ -0,0 +1,15 @@
+/* contrib/sslinfo/sslinfo--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION sslinfo UPDATE TO '1.2'" to load this file. \quit
+
+ALTER FUNCTION ssl_client_serial() PARALLEL RESTRICTED;
+ALTER FUNCTION ssl_is_used() PARALLEL RESTRICTED;
+ALTER FUNCTION ssl_version() PARALLEL RESTRICTED;
+ALTER FUNCTION ssl_cipher() PARALLEL RESTRICTED;
+ALTER FUNCTION ssl_client_cert_present() PARALLEL RESTRICTED;
+ALTER FUNCTION ssl_client_dn_field(text) PARALLEL RESTRICTED;
+ALTER FUNCTION ssl_issuer_field(text) PARALLEL RESTRICTED;
+ALTER FUNCTION ssl_client_dn() PARALLEL RESTRICTED;
+ALTER FUNCTION ssl_issuer_dn() PARALLEL RESTRICTED;
+ALTER FUNCTION ssl_extension_info() PARALLEL RESTRICTED;
diff --git a/pgsql/share/extension/sslinfo--1.2.sql b/pgsql/share/extension/sslinfo--1.2.sql
new file mode 100644
index 0000000000000000000000000000000000000000..a555cfb507f41790c82037327de33071912305e2
--- /dev/null
+++ b/pgsql/share/extension/sslinfo--1.2.sql
@@ -0,0 +1,48 @@
+/* contrib/sslinfo/sslinfo--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION sslinfo" to load this file. \quit
+
+CREATE FUNCTION ssl_client_serial() RETURNS numeric
+AS 'MODULE_PATHNAME', 'ssl_client_serial'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION ssl_is_used() RETURNS boolean
+AS 'MODULE_PATHNAME', 'ssl_is_used'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION ssl_version() RETURNS text
+AS 'MODULE_PATHNAME', 'ssl_version'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION ssl_cipher() RETURNS text
+AS 'MODULE_PATHNAME', 'ssl_cipher'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION ssl_client_cert_present() RETURNS boolean
+AS 'MODULE_PATHNAME', 'ssl_client_cert_present'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION ssl_client_dn_field(text) RETURNS text
+AS 'MODULE_PATHNAME', 'ssl_client_dn_field'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION ssl_issuer_field(text) RETURNS text
+AS 'MODULE_PATHNAME', 'ssl_issuer_field'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION ssl_client_dn() RETURNS text
+AS 'MODULE_PATHNAME', 'ssl_client_dn'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION ssl_issuer_dn() RETURNS text
+AS 'MODULE_PATHNAME', 'ssl_issuer_dn'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
+
+CREATE FUNCTION
+ssl_extension_info(OUT name text,
+ OUT value text,
+ OUT critical boolean
+) RETURNS SETOF record
+AS 'MODULE_PATHNAME', 'ssl_extension_info'
+LANGUAGE C STRICT PARALLEL RESTRICTED;
diff --git a/pgsql/share/extension/sslinfo.control b/pgsql/share/extension/sslinfo.control
new file mode 100644
index 0000000000000000000000000000000000000000..c7754f924cf440d9111c5b376ea88c2df85434bc
--- /dev/null
+++ b/pgsql/share/extension/sslinfo.control
@@ -0,0 +1,5 @@
+# sslinfo extension
+comment = 'information about SSL certificates'
+default_version = '1.2'
+module_pathname = '$libdir/sslinfo'
+relocatable = true
diff --git a/pgsql/share/extension/tablefunc--1.0.sql b/pgsql/share/extension/tablefunc--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..8681ff470662924510dc81e4574cee44dbc35008
--- /dev/null
+++ b/pgsql/share/extension/tablefunc--1.0.sql
@@ -0,0 +1,88 @@
+/* contrib/tablefunc/tablefunc--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION tablefunc" to load this file. \quit
+
+CREATE FUNCTION normal_rand(int4, float8, float8)
+RETURNS setof float8
+AS 'MODULE_PATHNAME','normal_rand'
+LANGUAGE C VOLATILE STRICT;
+
+-- the generic crosstab function:
+CREATE FUNCTION crosstab(text)
+RETURNS setof record
+AS 'MODULE_PATHNAME','crosstab'
+LANGUAGE C STABLE STRICT;
+
+-- examples of building custom type-specific crosstab functions:
+CREATE TYPE tablefunc_crosstab_2 AS
+(
+ row_name TEXT,
+ category_1 TEXT,
+ category_2 TEXT
+);
+
+CREATE TYPE tablefunc_crosstab_3 AS
+(
+ row_name TEXT,
+ category_1 TEXT,
+ category_2 TEXT,
+ category_3 TEXT
+);
+
+CREATE TYPE tablefunc_crosstab_4 AS
+(
+ row_name TEXT,
+ category_1 TEXT,
+ category_2 TEXT,
+ category_3 TEXT,
+ category_4 TEXT
+);
+
+CREATE FUNCTION crosstab2(text)
+RETURNS setof tablefunc_crosstab_2
+AS 'MODULE_PATHNAME','crosstab'
+LANGUAGE C STABLE STRICT;
+
+CREATE FUNCTION crosstab3(text)
+RETURNS setof tablefunc_crosstab_3
+AS 'MODULE_PATHNAME','crosstab'
+LANGUAGE C STABLE STRICT;
+
+CREATE FUNCTION crosstab4(text)
+RETURNS setof tablefunc_crosstab_4
+AS 'MODULE_PATHNAME','crosstab'
+LANGUAGE C STABLE STRICT;
+
+-- obsolete:
+CREATE FUNCTION crosstab(text,int)
+RETURNS setof record
+AS 'MODULE_PATHNAME','crosstab'
+LANGUAGE C STABLE STRICT;
+
+CREATE FUNCTION crosstab(text,text)
+RETURNS setof record
+AS 'MODULE_PATHNAME','crosstab_hash'
+LANGUAGE C STABLE STRICT;
+
+CREATE FUNCTION connectby(text,text,text,text,int,text)
+RETURNS setof record
+AS 'MODULE_PATHNAME','connectby_text'
+LANGUAGE C STABLE STRICT;
+
+CREATE FUNCTION connectby(text,text,text,text,int)
+RETURNS setof record
+AS 'MODULE_PATHNAME','connectby_text'
+LANGUAGE C STABLE STRICT;
+
+-- These 2 take the name of a field to ORDER BY as 4th arg (for sorting siblings)
+
+CREATE FUNCTION connectby(text,text,text,text,text,int,text)
+RETURNS setof record
+AS 'MODULE_PATHNAME','connectby_text_serial'
+LANGUAGE C STABLE STRICT;
+
+CREATE FUNCTION connectby(text,text,text,text,text,int)
+RETURNS setof record
+AS 'MODULE_PATHNAME','connectby_text_serial'
+LANGUAGE C STABLE STRICT;
diff --git a/pgsql/share/extension/tablefunc.control b/pgsql/share/extension/tablefunc.control
new file mode 100644
index 0000000000000000000000000000000000000000..7b25d1617023c5e55c78da4810ef38078f2638ab
--- /dev/null
+++ b/pgsql/share/extension/tablefunc.control
@@ -0,0 +1,6 @@
+# tablefunc extension
+comment = 'functions that manipulate whole tables, including crosstab'
+default_version = '1.0'
+module_pathname = '$libdir/tablefunc'
+relocatable = true
+trusted = true
diff --git a/pgsql/share/extension/tcn--1.0.sql b/pgsql/share/extension/tcn--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..027a4effbb82b99282bc21cfe6eb3972734cb5fe
--- /dev/null
+++ b/pgsql/share/extension/tcn--1.0.sql
@@ -0,0 +1,9 @@
+/* contrib/tcn/tcn--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION tcn" to load this file. \quit
+
+CREATE FUNCTION triggered_change_notification()
+RETURNS pg_catalog.trigger
+AS 'MODULE_PATHNAME'
+LANGUAGE C;
diff --git a/pgsql/share/extension/tcn.control b/pgsql/share/extension/tcn.control
new file mode 100644
index 0000000000000000000000000000000000000000..6972e1102e29c1c66fe46f50a29ddeab7794c0c7
--- /dev/null
+++ b/pgsql/share/extension/tcn.control
@@ -0,0 +1,6 @@
+# tcn extension
+comment = 'Triggered change notifications'
+default_version = '1.0'
+module_pathname = '$libdir/tcn'
+relocatable = true
+trusted = true
diff --git a/pgsql/share/extension/test_bloomfilter--1.0.sql b/pgsql/share/extension/test_bloomfilter--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..7682318fe3065860e7e9186c12076871dc6cd5a7
--- /dev/null
+++ b/pgsql/share/extension/test_bloomfilter--1.0.sql
@@ -0,0 +1,11 @@
+/* src/test/modules/test_bloomfilter/test_bloomfilter--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_bloomfilter" to load this file. \quit
+
+CREATE FUNCTION test_bloomfilter(power integer,
+ nelements bigint,
+ seed integer DEFAULT -1,
+ tests integer DEFAULT 1)
+RETURNS pg_catalog.void STRICT
+AS 'MODULE_PATHNAME' LANGUAGE C;
diff --git a/pgsql/share/extension/test_bloomfilter.control b/pgsql/share/extension/test_bloomfilter.control
new file mode 100644
index 0000000000000000000000000000000000000000..99e56eebdffd3f0a79801c39ab5a71bbadaf221d
--- /dev/null
+++ b/pgsql/share/extension/test_bloomfilter.control
@@ -0,0 +1,4 @@
+comment = 'Test code for Bloom filter library'
+default_version = '1.0'
+module_pathname = '$libdir/test_bloomfilter'
+relocatable = true
diff --git a/pgsql/share/extension/test_copy_callbacks--1.0.sql b/pgsql/share/extension/test_copy_callbacks--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..215cf3fad694d008229802b7637c57cb26117355
--- /dev/null
+++ b/pgsql/share/extension/test_copy_callbacks--1.0.sql
@@ -0,0 +1,8 @@
+/* src/test/modules/test_copy_callbacks/test_copy_callbacks--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_copy_callbacks" to load this file. \quit
+
+CREATE FUNCTION test_copy_to_callback(pg_catalog.regclass)
+ RETURNS pg_catalog.void
+ AS 'MODULE_PATHNAME' LANGUAGE C;
diff --git a/pgsql/share/extension/test_copy_callbacks.control b/pgsql/share/extension/test_copy_callbacks.control
new file mode 100644
index 0000000000000000000000000000000000000000..b7ce3f12ff84402d1342fb5cbd1aac55cabb94e6
--- /dev/null
+++ b/pgsql/share/extension/test_copy_callbacks.control
@@ -0,0 +1,4 @@
+comment = 'Test code for COPY callbacks'
+default_version = '1.0'
+module_pathname = '$libdir/test_copy_callbacks'
+relocatable = true
diff --git a/pgsql/share/extension/test_custom_rmgrs--1.0.sql b/pgsql/share/extension/test_custom_rmgrs--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..ea2c444939654365cdf2a3db52925a3a908a494d
--- /dev/null
+++ b/pgsql/share/extension/test_custom_rmgrs--1.0.sql
@@ -0,0 +1,16 @@
+/* src/test/modules/test_custom_rmgrs/test_custom_rmgrs--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_custom_rmgrs" to load this file. \quit
+
+--
+-- test_custom_rmgrs_insert_wal_record()
+--
+-- Writes a simple message into WAL with the help of custom WAL
+-- resource manager.
+--
+CREATE FUNCTION test_custom_rmgrs_insert_wal_record(IN payload TEXT,
+ OUT lsn pg_lsn
+)
+AS 'MODULE_PATHNAME', 'test_custom_rmgrs_insert_wal_record'
+LANGUAGE C STRICT PARALLEL UNSAFE;
diff --git a/pgsql/share/extension/test_custom_rmgrs.control b/pgsql/share/extension/test_custom_rmgrs.control
new file mode 100644
index 0000000000000000000000000000000000000000..8113e0007d0de22aa0a141f471c4017a04e65ec3
--- /dev/null
+++ b/pgsql/share/extension/test_custom_rmgrs.control
@@ -0,0 +1,4 @@
+comment = 'Test code for custom WAL resource managers'
+default_version = '1.0'
+module_pathname = '$libdir/test_custom_rmgrs'
+relocatable = true
diff --git a/pgsql/share/extension/test_ddl_deparse--1.0.sql b/pgsql/share/extension/test_ddl_deparse--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..861d843690bbef5a6ee71305268be1d441cac0a2
--- /dev/null
+++ b/pgsql/share/extension/test_ddl_deparse--1.0.sql
@@ -0,0 +1,18 @@
+/* src/test/modules/test_ddl_deparse/test_ddl_deparse--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_ddl_deparse" to load this file. \quit
+
+CREATE FUNCTION get_command_type(pg_ddl_command)
+ RETURNS text IMMUTABLE STRICT
+ AS 'MODULE_PATHNAME' LANGUAGE C;
+
+CREATE FUNCTION get_command_tag(pg_ddl_command)
+ RETURNS text IMMUTABLE STRICT
+ AS 'MODULE_PATHNAME' LANGUAGE C;
+
+CREATE FUNCTION get_altertable_subcmdinfo(IN cmd pg_ddl_command,
+ OUT cmdtype text,
+ OUT objdesc text)
+ RETURNS SETOF record IMMUTABLE STRICT
+ AS 'MODULE_PATHNAME' LANGUAGE C;
diff --git a/pgsql/share/extension/test_ddl_deparse.control b/pgsql/share/extension/test_ddl_deparse.control
new file mode 100644
index 0000000000000000000000000000000000000000..09112ee53e57d42682f80bd70fdc989693206a5d
--- /dev/null
+++ b/pgsql/share/extension/test_ddl_deparse.control
@@ -0,0 +1,4 @@
+comment = 'Test code for DDL deparse feature'
+default_version = '1.0'
+module_pathname = '$libdir/test_ddl_deparse'
+relocatable = true
diff --git a/pgsql/share/extension/test_ext1--1.0.sql b/pgsql/share/extension/test_ext1--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..9a4bb1be789193150cf897ad822b3e1bf8497ce6
--- /dev/null
+++ b/pgsql/share/extension/test_ext1--1.0.sql
@@ -0,0 +1,3 @@
+/* src/test/modules/test_extensions/test_ext1--1.0.sql */
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_ext1" to load this file. \quit
diff --git a/pgsql/share/extension/test_ext1.control b/pgsql/share/extension/test_ext1.control
new file mode 100644
index 0000000000000000000000000000000000000000..9c069dfcaf8fb8b84b2e897396d27710ed3e1643
--- /dev/null
+++ b/pgsql/share/extension/test_ext1.control
@@ -0,0 +1,5 @@
+comment = 'Test extension 1'
+default_version = '1.0'
+schema = 'test_ext1'
+relocatable = false
+requires = 'test_ext2,test_ext4'
diff --git a/pgsql/share/extension/test_ext2--1.0.sql b/pgsql/share/extension/test_ext2--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..0f6d4ec2fb491000b6d890545300b2c758492680
--- /dev/null
+++ b/pgsql/share/extension/test_ext2--1.0.sql
@@ -0,0 +1,3 @@
+/* src/test/modules/test_extensions/test_ext2--1.0.sql */
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_ext2" to load this file. \quit
diff --git a/pgsql/share/extension/test_ext2.control b/pgsql/share/extension/test_ext2.control
new file mode 100644
index 0000000000000000000000000000000000000000..946b7d58febe37176d4ed855067662346f89d682
--- /dev/null
+++ b/pgsql/share/extension/test_ext2.control
@@ -0,0 +1,4 @@
+comment = 'Test extension 2'
+default_version = '1.0'
+relocatable = true
+requires = 'test_ext3,test_ext5'
diff --git a/pgsql/share/extension/test_ext3--1.0.sql b/pgsql/share/extension/test_ext3--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..4fcb63d2bc13e5f6a18d8d5b52c2176575f070bc
--- /dev/null
+++ b/pgsql/share/extension/test_ext3--1.0.sql
@@ -0,0 +1,9 @@
+/* src/test/modules/test_extensions/test_ext3--1.0.sql */
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_ext3" to load this file. \quit
+
+CREATE TABLE test_ext3_table (col_old INT);
+
+ALTER TABLE test_ext3_table RENAME col_old TO col_new;
+
+UPDATE test_ext3_table SET col_new = 0;
diff --git a/pgsql/share/extension/test_ext3.control b/pgsql/share/extension/test_ext3.control
new file mode 100644
index 0000000000000000000000000000000000000000..5f1afe72fc3b6e71739090dea8dc7917e668ae97
--- /dev/null
+++ b/pgsql/share/extension/test_ext3.control
@@ -0,0 +1,3 @@
+comment = 'Test extension 3'
+default_version = '1.0'
+relocatable = true
diff --git a/pgsql/share/extension/test_ext4--1.0.sql b/pgsql/share/extension/test_ext4--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..19f051f6f7874422f2706b862cbf2a676db519bf
--- /dev/null
+++ b/pgsql/share/extension/test_ext4--1.0.sql
@@ -0,0 +1,3 @@
+/* src/test/modules/test_extensions/test_ext4--1.0.sql */
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_ext4" to load this file. \quit
diff --git a/pgsql/share/extension/test_ext4.control b/pgsql/share/extension/test_ext4.control
new file mode 100644
index 0000000000000000000000000000000000000000..fc6259195099250e23329ca02cbd36213bf533bf
--- /dev/null
+++ b/pgsql/share/extension/test_ext4.control
@@ -0,0 +1,4 @@
+comment = 'Test extension 4'
+default_version = '1.0'
+relocatable = true
+requires = 'test_ext5'
diff --git a/pgsql/share/extension/test_ext5--1.0.sql b/pgsql/share/extension/test_ext5--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..baf6ef85dd6ae89450663e9faf0ad567ca35b107
--- /dev/null
+++ b/pgsql/share/extension/test_ext5--1.0.sql
@@ -0,0 +1,3 @@
+/* src/test/modules/test_extensions/test_ext5--1.0.sql */
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_ext5" to load this file. \quit
diff --git a/pgsql/share/extension/test_ext5.control b/pgsql/share/extension/test_ext5.control
new file mode 100644
index 0000000000000000000000000000000000000000..51bc57efeaa7b4b011b39142f4a5f1f634194541
--- /dev/null
+++ b/pgsql/share/extension/test_ext5.control
@@ -0,0 +1,3 @@
+comment = 'Test extension 5'
+default_version = '1.0'
+relocatable = true
diff --git a/pgsql/share/extension/test_ext6--1.0.sql b/pgsql/share/extension/test_ext6--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..65a4fc5f1052322d78c5d300060fff1d969891bf
--- /dev/null
+++ b/pgsql/share/extension/test_ext6--1.0.sql
@@ -0,0 +1 @@
+grant usage on schema @extschema@ to public;
diff --git a/pgsql/share/extension/test_ext6.control b/pgsql/share/extension/test_ext6.control
new file mode 100644
index 0000000000000000000000000000000000000000..04b2146685facc0f711f430c891dde61397b56f3
--- /dev/null
+++ b/pgsql/share/extension/test_ext6.control
@@ -0,0 +1,5 @@
+comment = 'test_ext6'
+default_version = '1.0'
+relocatable = false
+superuser = true
+schema = 'test_ext6'
diff --git a/pgsql/share/extension/test_ext7--1.0--2.0.sql b/pgsql/share/extension/test_ext7--1.0--2.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..50e3dca9cf6efbb13950ce67c2e2d935e20411df
--- /dev/null
+++ b/pgsql/share/extension/test_ext7--1.0--2.0.sql
@@ -0,0 +1,8 @@
+/* src/test/modules/test_extensions/test_ext7--1.0--2.0.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION test_ext7 UPDATE TO '2.0'" to load this file. \quit
+
+-- drop some tables with serial columns
+drop table ext7_table1;
+drop table old_table1;
diff --git a/pgsql/share/extension/test_ext7--1.0.sql b/pgsql/share/extension/test_ext7--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..0c2d72ab80be5f3a1b8920495d68e8f996be0a6a
--- /dev/null
+++ b/pgsql/share/extension/test_ext7--1.0.sql
@@ -0,0 +1,13 @@
+/* src/test/modules/test_extensions/test_ext7--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_ext7" to load this file. \quit
+
+-- link some existing serial-owning table to the extension
+alter extension test_ext7 add table old_table1;
+alter extension test_ext7 add sequence old_table1_col1_seq;
+
+-- ordinary member tables with serial columns
+create table ext7_table1 (col1 serial primary key);
+
+create table ext7_table2 (col2 serial primary key);
diff --git a/pgsql/share/extension/test_ext7.control b/pgsql/share/extension/test_ext7.control
new file mode 100644
index 0000000000000000000000000000000000000000..b58df53c11dab4f3dcf5340002785cc061811906
--- /dev/null
+++ b/pgsql/share/extension/test_ext7.control
@@ -0,0 +1,4 @@
+comment = 'Test extension 7'
+default_version = '1.0'
+schema = 'public'
+relocatable = false
diff --git a/pgsql/share/extension/test_ext8--1.0.sql b/pgsql/share/extension/test_ext8--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..1561ffefaa9c2881d4a301726af9adba0f6b9415
--- /dev/null
+++ b/pgsql/share/extension/test_ext8--1.0.sql
@@ -0,0 +1,21 @@
+/* src/test/modules/test_extensions/test_ext8--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_ext8" to load this file. \quit
+
+-- create some random data type
+create domain posint as int check (value > 0);
+
+-- use it in regular and temporary tables and functions
+
+create table ext8_table1 (f1 posint);
+
+create temp table ext8_temp_table1 (f1 posint);
+
+create function ext8_even (posint) returns bool as
+ 'select ($1 % 2) = 0' language sql;
+
+create function pg_temp.ext8_temp_even (posint) returns bool as
+ 'select ($1 % 2) = 0' language sql;
+
+-- we intentionally don't drop the temp objects before exiting
diff --git a/pgsql/share/extension/test_ext8.control b/pgsql/share/extension/test_ext8.control
new file mode 100644
index 0000000000000000000000000000000000000000..70f8caaf30ee7f67a258a05af93c206370467fa0
--- /dev/null
+++ b/pgsql/share/extension/test_ext8.control
@@ -0,0 +1,4 @@
+comment = 'Test extension 8'
+default_version = '1.0'
+schema = 'public'
+relocatable = false
diff --git a/pgsql/share/extension/test_ext_cine--1.0--1.1.sql b/pgsql/share/extension/test_ext_cine--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..6dadfd2416e68bfed98e63b1546f4eb098e6077e
--- /dev/null
+++ b/pgsql/share/extension/test_ext_cine--1.0--1.1.sql
@@ -0,0 +1,26 @@
+/* src/test/modules/test_extensions/test_ext_cine--1.0--1.1.sql */
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION test_ext_cine UPDATE TO '1.1'" to load this file. \quit
+
+--
+-- These are the same commands as in the 1.0 script; we expect them
+-- to do nothing.
+--
+
+CREATE COLLATION IF NOT EXISTS ext_cine_coll
+ ( LC_COLLATE = "POSIX", LC_CTYPE = "POSIX" );
+
+CREATE MATERIALIZED VIEW IF NOT EXISTS ext_cine_mv AS SELECT 42 AS f1;
+
+CREATE SERVER IF NOT EXISTS ext_cine_srv FOREIGN DATA WRAPPER ext_cine_fdw;
+
+CREATE SCHEMA IF NOT EXISTS ext_cine_schema;
+
+CREATE SEQUENCE IF NOT EXISTS ext_cine_seq;
+
+CREATE TABLE IF NOT EXISTS ext_cine_tab1 (x int);
+
+CREATE TABLE IF NOT EXISTS ext_cine_tab2 AS SELECT 42 AS y;
+
+-- just to verify the script ran
+CREATE TABLE ext_cine_tab3 (z int);
diff --git a/pgsql/share/extension/test_ext_cine--1.0.sql b/pgsql/share/extension/test_ext_cine--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..01408ffeb09d6c3d16c43b7a3459ca74ea4ca342
--- /dev/null
+++ b/pgsql/share/extension/test_ext_cine--1.0.sql
@@ -0,0 +1,25 @@
+/* src/test/modules/test_extensions/test_ext_cine--1.0.sql */
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_ext_cine" to load this file. \quit
+
+--
+-- CREATE IF NOT EXISTS is an entirely unsound thing for an extension
+-- to be doing, but let's at least plug the major security hole in it.
+--
+
+CREATE COLLATION IF NOT EXISTS ext_cine_coll
+ ( LC_COLLATE = "POSIX", LC_CTYPE = "POSIX" );
+
+CREATE MATERIALIZED VIEW IF NOT EXISTS ext_cine_mv AS SELECT 42 AS f1;
+
+CREATE FOREIGN DATA WRAPPER ext_cine_fdw;
+
+CREATE SERVER IF NOT EXISTS ext_cine_srv FOREIGN DATA WRAPPER ext_cine_fdw;
+
+CREATE SCHEMA IF NOT EXISTS ext_cine_schema;
+
+CREATE SEQUENCE IF NOT EXISTS ext_cine_seq;
+
+CREATE TABLE IF NOT EXISTS ext_cine_tab1 (x int);
+
+CREATE TABLE IF NOT EXISTS ext_cine_tab2 AS SELECT 42 AS y;
diff --git a/pgsql/share/extension/test_ext_cine.control b/pgsql/share/extension/test_ext_cine.control
new file mode 100644
index 0000000000000000000000000000000000000000..ced713bace794f98f4ed86a1337eefd6738389bc
--- /dev/null
+++ b/pgsql/share/extension/test_ext_cine.control
@@ -0,0 +1,3 @@
+comment = 'Test extension using CREATE IF NOT EXISTS'
+default_version = '1.0'
+relocatable = true
diff --git a/pgsql/share/extension/test_ext_cor--1.0.sql b/pgsql/share/extension/test_ext_cor--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..2e8d89ceccfd8f7ff090a8819d2e78ce970f5988
--- /dev/null
+++ b/pgsql/share/extension/test_ext_cor--1.0.sql
@@ -0,0 +1,20 @@
+/* src/test/modules/test_extensions/test_ext_cor--1.0.sql */
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_ext_cor" to load this file. \quit
+
+-- It's generally bad style to use CREATE OR REPLACE unnecessarily.
+-- Test what happens if an extension does it anyway.
+
+CREATE OR REPLACE FUNCTION ext_cor_func() RETURNS text
+ AS $$ SELECT 'ext_cor_func: from extension'::text $$ LANGUAGE sql;
+
+CREATE OR REPLACE VIEW ext_cor_view AS
+ SELECT 'ext_cor_view: from extension'::text AS col;
+
+-- These are for testing replacement of a shell type/operator, which works
+-- enough like an implicit OR REPLACE to be important to check.
+
+CREATE TYPE test_ext_type AS ENUM('x', 'y');
+
+CREATE OPERATOR <<@@ ( PROCEDURE = pt_contained_poly,
+ LEFTARG = point, RIGHTARG = polygon );
diff --git a/pgsql/share/extension/test_ext_cor.control b/pgsql/share/extension/test_ext_cor.control
new file mode 100644
index 0000000000000000000000000000000000000000..0e972e5d1b5bfa946dc6fe784c923ff6259242d7
--- /dev/null
+++ b/pgsql/share/extension/test_ext_cor.control
@@ -0,0 +1,3 @@
+comment = 'Test extension using CREATE OR REPLACE'
+default_version = '1.0'
+relocatable = true
diff --git a/pgsql/share/extension/test_ext_cyclic1--1.0.sql b/pgsql/share/extension/test_ext_cyclic1--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..81bdaf48d2139e28cef5c15eca5052002b8cc0d8
--- /dev/null
+++ b/pgsql/share/extension/test_ext_cyclic1--1.0.sql
@@ -0,0 +1,3 @@
+/* src/test/modules/test_extensions/test_ext_cyclic1--1.0.sql */
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_ext_cyclic1" to load this file. \quit
diff --git a/pgsql/share/extension/test_ext_cyclic1.control b/pgsql/share/extension/test_ext_cyclic1.control
new file mode 100644
index 0000000000000000000000000000000000000000..aaab4034636842f55f43c99ef681fce48f3c40e2
--- /dev/null
+++ b/pgsql/share/extension/test_ext_cyclic1.control
@@ -0,0 +1,4 @@
+comment = 'Test extension cyclic 1'
+default_version = '1.0'
+relocatable = true
+requires = 'test_ext_cyclic2'
diff --git a/pgsql/share/extension/test_ext_cyclic2--1.0.sql b/pgsql/share/extension/test_ext_cyclic2--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..ae2b3e9a9676e32739d68fda7c9a12957e244028
--- /dev/null
+++ b/pgsql/share/extension/test_ext_cyclic2--1.0.sql
@@ -0,0 +1,3 @@
+/* src/test/modules/test_extensions/test_ext_cyclic2--1.0.sql */
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_ext_cyclic2" to load this file. \quit
diff --git a/pgsql/share/extension/test_ext_cyclic2.control b/pgsql/share/extension/test_ext_cyclic2.control
new file mode 100644
index 0000000000000000000000000000000000000000..1e28f96391c771fd30ec9307ac8b0c649dbd258d
--- /dev/null
+++ b/pgsql/share/extension/test_ext_cyclic2.control
@@ -0,0 +1,4 @@
+comment = 'Test extension cyclic 2'
+default_version = '1.0'
+relocatable = true
+requires = 'test_ext_cyclic1'
diff --git a/pgsql/share/extension/test_ext_evttrig--1.0--2.0.sql b/pgsql/share/extension/test_ext_evttrig--1.0--2.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..fdd2f3542e6c3287f324faba4eb627522e640635
--- /dev/null
+++ b/pgsql/share/extension/test_ext_evttrig--1.0--2.0.sql
@@ -0,0 +1,7 @@
+/* src/test/modules/test_extensions/test_event_trigger--1.0--2.0.sql */
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION test_event_trigger UPDATE TO '2.0'" to load this file. \quit
+
+-- Test extension upgrade with event trigger.
+ALTER EVENT TRIGGER table_rewrite_trg DISABLE;
+ALTER TABLE t DROP COLUMN id;
diff --git a/pgsql/share/extension/test_ext_evttrig--1.0.sql b/pgsql/share/extension/test_ext_evttrig--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..0071712cb88bf115749e50fdf40e65c491486bfb
--- /dev/null
+++ b/pgsql/share/extension/test_ext_evttrig--1.0.sql
@@ -0,0 +1,16 @@
+/* src/test/modules/test_extensions/test_event_trigger--1.0.sql */
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_event_trigger" to load this file. \quit
+
+-- Base table with event trigger, used in a regression test involving
+-- extension upgrades.
+CREATE TABLE t (id text);
+CREATE OR REPLACE FUNCTION _evt_table_rewrite_fnct()
+RETURNS EVENT_TRIGGER LANGUAGE plpgsql AS
+$$
+ BEGIN
+ END;
+$$;
+CREATE EVENT TRIGGER table_rewrite_trg
+ ON table_rewrite
+ EXECUTE PROCEDURE _evt_table_rewrite_fnct();
diff --git a/pgsql/share/extension/test_ext_evttrig.control b/pgsql/share/extension/test_ext_evttrig.control
new file mode 100644
index 0000000000000000000000000000000000000000..915fae61666a6d6debd93420cbeae3999462a005
--- /dev/null
+++ b/pgsql/share/extension/test_ext_evttrig.control
@@ -0,0 +1,3 @@
+comment = 'Test extension - event trigger'
+default_version = '1.0'
+relocatable = true
diff --git a/pgsql/share/extension/test_ext_extschema--1.0.sql b/pgsql/share/extension/test_ext_extschema--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..aed53830aae928bdb1966c560e6714a64f977184
--- /dev/null
+++ b/pgsql/share/extension/test_ext_extschema--1.0.sql
@@ -0,0 +1,5 @@
+/* src/test/modules/test_extensions/test_ext_extschema--1.0.sql */
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_ext_extschema" to load this file. \quit
+
+SELECT 1 AS @extschema@;
diff --git a/pgsql/share/extension/test_ext_extschema.control b/pgsql/share/extension/test_ext_extschema.control
new file mode 100644
index 0000000000000000000000000000000000000000..b124d492c0da843f3aab2e28e4940e3feffcb84d
--- /dev/null
+++ b/pgsql/share/extension/test_ext_extschema.control
@@ -0,0 +1,3 @@
+comment = 'test @extschema@'
+default_version = '1.0'
+relocatable = false
diff --git a/pgsql/share/extension/test_ext_req_schema1--1.0.sql b/pgsql/share/extension/test_ext_req_schema1--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..d3afdb351d0c342ad1336995b833ca79f1226898
--- /dev/null
+++ b/pgsql/share/extension/test_ext_req_schema1--1.0.sql
@@ -0,0 +1,6 @@
+/* src/test/modules/test_extensions/test_ext_req_schema1--1.0.sql */
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_ext_req_schema1" to load this file. \quit
+
+CREATE FUNCTION dep_req1() RETURNS text
+LANGUAGE SQL AS $$ SELECT 'req1' $$;
diff --git a/pgsql/share/extension/test_ext_req_schema1.control b/pgsql/share/extension/test_ext_req_schema1.control
new file mode 100644
index 0000000000000000000000000000000000000000..d9a8ab5f8bfc5f1946c506428a469948a0080b58
--- /dev/null
+++ b/pgsql/share/extension/test_ext_req_schema1.control
@@ -0,0 +1,3 @@
+comment = 'Required extension to be referenced'
+default_version = '1.0'
+relocatable = true
diff --git a/pgsql/share/extension/test_ext_req_schema2--1.0.sql b/pgsql/share/extension/test_ext_req_schema2--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..b684fcfb169699fa716b93a511fcc385c6d50a04
--- /dev/null
+++ b/pgsql/share/extension/test_ext_req_schema2--1.0.sql
@@ -0,0 +1,9 @@
+/* src/test/modules/test_extensions/test_ext_req_schema2--1.0.sql */
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_ext_req_schema2" to load this file. \quit
+
+-- This formulation can handle relocation of the required extension.
+CREATE FUNCTION dep_req2() RETURNS text
+BEGIN ATOMIC
+ SELECT @extschema:test_ext_req_schema1@.dep_req1() || ' req2';
+END;
diff --git a/pgsql/share/extension/test_ext_req_schema2.control b/pgsql/share/extension/test_ext_req_schema2.control
new file mode 100644
index 0000000000000000000000000000000000000000..d2ba5add9702164f436e27a3db66a2e1cc4058e9
--- /dev/null
+++ b/pgsql/share/extension/test_ext_req_schema2.control
@@ -0,0 +1,4 @@
+comment = 'Test schema referencing of required extensions'
+default_version = '1.0'
+relocatable = true
+requires = 'test_ext_req_schema1'
diff --git a/pgsql/share/extension/test_ext_req_schema3--1.0.sql b/pgsql/share/extension/test_ext_req_schema3--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..0061202dee1a569160b6a2c3624e2125a41446a2
--- /dev/null
+++ b/pgsql/share/extension/test_ext_req_schema3--1.0.sql
@@ -0,0 +1,12 @@
+/* src/test/modules/test_extensions/test_ext_req_schema3--1.0.sql */
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_ext_req_schema3" to load this file. \quit
+
+-- This formulation cannot handle relocation of the required extension.
+CREATE FUNCTION dep_req3() RETURNS text
+LANGUAGE SQL IMMUTABLE PARALLEL SAFE
+AS $$ SELECT @extschema:test_ext_req_schema1@.dep_req1() || ' req3' $$;
+
+CREATE FUNCTION dep_req3b() RETURNS text
+LANGUAGE SQL IMMUTABLE PARALLEL SAFE
+AS $$ SELECT @extschema:test_ext_req_schema2@.dep_req2() || ' req3b' $$;
diff --git a/pgsql/share/extension/test_ext_req_schema3.control b/pgsql/share/extension/test_ext_req_schema3.control
new file mode 100644
index 0000000000000000000000000000000000000000..2c631cdf4604bdbe91eee5afb6c7c641fa2c276e
--- /dev/null
+++ b/pgsql/share/extension/test_ext_req_schema3.control
@@ -0,0 +1,5 @@
+comment = 'Test schema referencing of 2 required extensions'
+default_version = '1.0'
+relocatable = true
+requires = 'test_ext_req_schema1, test_ext_req_schema2'
+no_relocate = 'test_ext_req_schema1'
diff --git a/pgsql/share/extension/test_ginpostinglist--1.0.sql b/pgsql/share/extension/test_ginpostinglist--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..37396a48424596d7d6000981339591e63e09a46c
--- /dev/null
+++ b/pgsql/share/extension/test_ginpostinglist--1.0.sql
@@ -0,0 +1,8 @@
+/* src/test/modules/test_ginpostinglist/test_ginpostinglist--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_ginpostinglist" to load this file. \quit
+
+CREATE FUNCTION test_ginpostinglist()
+RETURNS pg_catalog.void STRICT
+AS 'MODULE_PATHNAME' LANGUAGE C;
diff --git a/pgsql/share/extension/test_ginpostinglist.control b/pgsql/share/extension/test_ginpostinglist.control
new file mode 100644
index 0000000000000000000000000000000000000000..e4f5a7ceadbe52ce336a7936a52a77df5aa9d84b
--- /dev/null
+++ b/pgsql/share/extension/test_ginpostinglist.control
@@ -0,0 +1,4 @@
+comment = 'Test code for ginpostinglist.c'
+default_version = '1.0'
+module_pathname = '$libdir/test_ginpostinglist'
+relocatable = true
diff --git a/pgsql/share/extension/test_integerset--1.0.sql b/pgsql/share/extension/test_integerset--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..d6d5a3f6cf7ec6b6a4976e6f7a1806ebb9f24583
--- /dev/null
+++ b/pgsql/share/extension/test_integerset--1.0.sql
@@ -0,0 +1,8 @@
+/* src/test/modules/test_integerset/test_integerset--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_integerset" to load this file. \quit
+
+CREATE FUNCTION test_integerset()
+RETURNS pg_catalog.void STRICT
+AS 'MODULE_PATHNAME' LANGUAGE C;
diff --git a/pgsql/share/extension/test_integerset.control b/pgsql/share/extension/test_integerset.control
new file mode 100644
index 0000000000000000000000000000000000000000..7d20c2d7b885b7ea0f1345baf1e1832af00aafd9
--- /dev/null
+++ b/pgsql/share/extension/test_integerset.control
@@ -0,0 +1,4 @@
+comment = 'Test code for integerset'
+default_version = '1.0'
+module_pathname = '$libdir/test_integerset'
+relocatable = true
diff --git a/pgsql/share/extension/test_lfind--1.0.sql b/pgsql/share/extension/test_lfind--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..81801926ae83cf32ae0e78f298f304e2ceda85da
--- /dev/null
+++ b/pgsql/share/extension/test_lfind--1.0.sql
@@ -0,0 +1,16 @@
+/* src/test/modules/test_lfind/test_lfind--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_lfind" to load this file. \quit
+
+CREATE FUNCTION test_lfind32()
+ RETURNS pg_catalog.void
+ AS 'MODULE_PATHNAME' LANGUAGE C;
+
+CREATE FUNCTION test_lfind8()
+ RETURNS pg_catalog.void
+ AS 'MODULE_PATHNAME' LANGUAGE C;
+
+CREATE FUNCTION test_lfind8_le()
+ RETURNS pg_catalog.void
+ AS 'MODULE_PATHNAME' LANGUAGE C;
diff --git a/pgsql/share/extension/test_lfind.control b/pgsql/share/extension/test_lfind.control
new file mode 100644
index 0000000000000000000000000000000000000000..d8b57dfca2d49dca39e4d72d893040cbe9131916
--- /dev/null
+++ b/pgsql/share/extension/test_lfind.control
@@ -0,0 +1,4 @@
+comment = 'Test code for optimized linear search functions'
+default_version = '1.0'
+module_pathname = '$libdir/test_lfind'
+relocatable = true
diff --git a/pgsql/share/extension/test_parser--1.0.sql b/pgsql/share/extension/test_parser--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..56bb2442c3d524354ae9031793199369636dfd88
--- /dev/null
+++ b/pgsql/share/extension/test_parser--1.0.sql
@@ -0,0 +1,32 @@
+/* src/test/modules/test_parser/test_parser--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_parser" to load this file. \quit
+
+CREATE FUNCTION testprs_start(internal, int4)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT;
+
+CREATE FUNCTION testprs_getlexeme(internal, internal, internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT;
+
+CREATE FUNCTION testprs_end(internal)
+RETURNS void
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT;
+
+CREATE FUNCTION testprs_lextype(internal)
+RETURNS internal
+AS 'MODULE_PATHNAME'
+LANGUAGE C STRICT;
+
+CREATE TEXT SEARCH PARSER testparser (
+ START = testprs_start,
+ GETTOKEN = testprs_getlexeme,
+ END = testprs_end,
+ HEADLINE = pg_catalog.prsd_headline,
+ LEXTYPES = testprs_lextype
+);
diff --git a/pgsql/share/extension/test_parser.control b/pgsql/share/extension/test_parser.control
new file mode 100644
index 0000000000000000000000000000000000000000..36b26b2087ca2f0fc3a4a3652154de456676022e
--- /dev/null
+++ b/pgsql/share/extension/test_parser.control
@@ -0,0 +1,5 @@
+# test_parser extension
+comment = 'example of a custom parser for full-text search'
+default_version = '1.0'
+module_pathname = '$libdir/test_parser'
+relocatable = true
diff --git a/pgsql/share/extension/test_pg_dump--1.0.sql b/pgsql/share/extension/test_pg_dump--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..1c68e146d9136d2ce84fb84cbd9fc74d8bfb98a1
--- /dev/null
+++ b/pgsql/share/extension/test_pg_dump--1.0.sql
@@ -0,0 +1,64 @@
+/* src/test/modules/test_pg_dump/test_pg_dump--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_pg_dump" to load this file. \quit
+
+CREATE TABLE regress_pg_dump_table (
+ col1 serial,
+ col2 int check (col2 > 0)
+);
+
+CREATE SEQUENCE regress_pg_dump_seq;
+
+CREATE SEQUENCE regress_seq_dumpable;
+SELECT pg_catalog.pg_extension_config_dump('regress_seq_dumpable', '');
+GRANT SELECT ON SEQUENCE regress_seq_dumpable TO public;
+
+CREATE TABLE regress_table_dumpable (
+ col1 int check (col1 > 0)
+);
+SELECT pg_catalog.pg_extension_config_dump('regress_table_dumpable', '');
+GRANT SELECT ON regress_table_dumpable TO public;
+
+CREATE SCHEMA regress_pg_dump_schema;
+
+GRANT USAGE ON regress_pg_dump_seq TO regress_dump_test_role;
+
+GRANT SELECT ON regress_pg_dump_table TO regress_dump_test_role;
+GRANT SELECT(col1) ON regress_pg_dump_table TO public;
+
+GRANT SELECT(col2) ON regress_pg_dump_table TO regress_dump_test_role;
+REVOKE SELECT(col2) ON regress_pg_dump_table FROM regress_dump_test_role;
+
+CREATE FUNCTION wgo_then_no_access() RETURNS int LANGUAGE SQL AS 'SELECT 1';
+GRANT ALL ON FUNCTION wgo_then_no_access()
+ TO pg_signal_backend WITH GRANT OPTION;
+
+CREATE SEQUENCE wgo_then_regular;
+GRANT ALL ON SEQUENCE wgo_then_regular TO pg_signal_backend WITH GRANT OPTION;
+REVOKE GRANT OPTION FOR SELECT ON SEQUENCE wgo_then_regular
+ FROM pg_signal_backend;
+
+CREATE ACCESS METHOD regress_test_am TYPE INDEX HANDLER bthandler;
+
+-- Create a set of objects that are part of the schema created by
+-- this extension.
+CREATE TABLE regress_pg_dump_schema.test_table (
+ col1 int,
+ col2 int check (col2 > 0)
+);
+GRANT SELECT ON regress_pg_dump_schema.test_table TO regress_dump_test_role;
+
+CREATE SEQUENCE regress_pg_dump_schema.test_seq;
+GRANT USAGE ON regress_pg_dump_schema.test_seq TO regress_dump_test_role;
+
+CREATE TYPE regress_pg_dump_schema.test_type AS (col1 int);
+GRANT USAGE ON TYPE regress_pg_dump_schema.test_type TO regress_dump_test_role;
+
+CREATE FUNCTION regress_pg_dump_schema.test_func () RETURNS int
+AS 'SELECT 1;' LANGUAGE SQL;
+GRANT EXECUTE ON FUNCTION regress_pg_dump_schema.test_func() TO regress_dump_test_role;
+
+CREATE AGGREGATE regress_pg_dump_schema.test_agg(int2)
+(SFUNC = int2_sum, STYPE = int8);
+GRANT EXECUTE ON FUNCTION regress_pg_dump_schema.test_agg(int2) TO regress_dump_test_role;
diff --git a/pgsql/share/extension/test_pg_dump.control b/pgsql/share/extension/test_pg_dump.control
new file mode 100644
index 0000000000000000000000000000000000000000..fe3450db76c567464aab6017ffd291ae50d2daf7
--- /dev/null
+++ b/pgsql/share/extension/test_pg_dump.control
@@ -0,0 +1,3 @@
+comment = 'Test pg_dump with an extension'
+default_version = '1.0'
+relocatable = true
diff --git a/pgsql/share/extension/test_predtest--1.0.sql b/pgsql/share/extension/test_predtest--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..11e144493d7ae617fa50a98aed24442690f75880
--- /dev/null
+++ b/pgsql/share/extension/test_predtest--1.0.sql
@@ -0,0 +1,16 @@
+/* src/test/modules/test_predtest/test_predtest--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_predtest" to load this file. \quit
+
+CREATE FUNCTION test_predtest(query text,
+ OUT strong_implied_by bool,
+ OUT weak_implied_by bool,
+ OUT strong_refuted_by bool,
+ OUT weak_refuted_by bool,
+ OUT s_i_holds bool,
+ OUT w_i_holds bool,
+ OUT s_r_holds bool,
+ OUT w_r_holds bool)
+STRICT
+AS 'MODULE_PATHNAME' LANGUAGE C;
diff --git a/pgsql/share/extension/test_predtest.control b/pgsql/share/extension/test_predtest.control
new file mode 100644
index 0000000000000000000000000000000000000000..a899a9dbe5f90d4e4c4527b386d8b7e271255ce3
--- /dev/null
+++ b/pgsql/share/extension/test_predtest.control
@@ -0,0 +1,4 @@
+comment = 'Test code for optimizer/util/predtest.c'
+default_version = '1.0'
+module_pathname = '$libdir/test_predtest'
+relocatable = true
diff --git a/pgsql/share/extension/test_rbtree--1.0.sql b/pgsql/share/extension/test_rbtree--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..04f2a3ada6d41ea10b73190e32701329d687ad0b
--- /dev/null
+++ b/pgsql/share/extension/test_rbtree--1.0.sql
@@ -0,0 +1,8 @@
+/* src/test/modules/test_rbtree/test_rbtree--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_rbtree" to load this file. \quit
+
+CREATE FUNCTION test_rb_tree(size INTEGER)
+ RETURNS pg_catalog.void STRICT
+ AS 'MODULE_PATHNAME' LANGUAGE C;
diff --git a/pgsql/share/extension/test_rbtree.control b/pgsql/share/extension/test_rbtree.control
new file mode 100644
index 0000000000000000000000000000000000000000..17966a5d3fe67382bf8ce6b6a285349287b656f2
--- /dev/null
+++ b/pgsql/share/extension/test_rbtree.control
@@ -0,0 +1,4 @@
+comment = 'Test code for red-black tree library'
+default_version = '1.0'
+module_pathname = '$libdir/test_rbtree'
+relocatable = true
diff --git a/pgsql/share/extension/test_regex--1.0.sql b/pgsql/share/extension/test_regex--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..7d991537f42bf15a1dc4ba84bf0ae9a3b5aa0ca8
--- /dev/null
+++ b/pgsql/share/extension/test_regex--1.0.sql
@@ -0,0 +1,9 @@
+/* src/test/modules/test_regex/test_regex--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_regex" to load this file. \quit
+
+CREATE FUNCTION test_regex(pattern text, string text, flags text)
+RETURNS SETOF text[]
+STRICT
+AS 'MODULE_PATHNAME' LANGUAGE C;
diff --git a/pgsql/share/extension/test_regex.control b/pgsql/share/extension/test_regex.control
new file mode 100644
index 0000000000000000000000000000000000000000..bfce1009cc5d46d94f6ce23df5348131d263927c
--- /dev/null
+++ b/pgsql/share/extension/test_regex.control
@@ -0,0 +1,4 @@
+comment = 'Test code for backend/regex/'
+default_version = '1.0'
+module_pathname = '$libdir/test_regex'
+relocatable = true
diff --git a/pgsql/share/extension/test_shm_mq--1.0.sql b/pgsql/share/extension/test_shm_mq--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..56db05d93df244a6047b55e36778162c7722d4b6
--- /dev/null
+++ b/pgsql/share/extension/test_shm_mq--1.0.sql
@@ -0,0 +1,19 @@
+/* src/test/modules/test_shm_mq/test_shm_mq--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_shm_mq" to load this file. \quit
+
+CREATE FUNCTION test_shm_mq(queue_size pg_catalog.int8,
+ message pg_catalog.text,
+ repeat_count pg_catalog.int4 default 1,
+ num_workers pg_catalog.int4 default 1)
+ RETURNS pg_catalog.void STRICT
+ AS 'MODULE_PATHNAME' LANGUAGE C;
+
+CREATE FUNCTION test_shm_mq_pipelined(queue_size pg_catalog.int8,
+ message pg_catalog.text,
+ repeat_count pg_catalog.int4 default 1,
+ num_workers pg_catalog.int4 default 1,
+ verify pg_catalog.bool default true)
+ RETURNS pg_catalog.void STRICT
+ AS 'MODULE_PATHNAME' LANGUAGE C;
diff --git a/pgsql/share/extension/test_shm_mq.control b/pgsql/share/extension/test_shm_mq.control
new file mode 100644
index 0000000000000000000000000000000000000000..d9a74c7a3236de24a1f277474dfd8b3203eed7f0
--- /dev/null
+++ b/pgsql/share/extension/test_shm_mq.control
@@ -0,0 +1,4 @@
+comment = 'Test code for shared memory message queues'
+default_version = '1.0'
+module_pathname = '$libdir/test_shm_mq'
+relocatable = true
diff --git a/pgsql/share/extension/test_slru--1.0.sql b/pgsql/share/extension/test_slru--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..8635e7df015744e58c62e7935a8c478fbd3d16ff
--- /dev/null
+++ b/pgsql/share/extension/test_slru--1.0.sql
@@ -0,0 +1,21 @@
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION test_slru" to load this file. \quit
+
+CREATE OR REPLACE FUNCTION test_slru_page_write(int, text) RETURNS VOID
+ AS 'MODULE_PATHNAME', 'test_slru_page_write' LANGUAGE C;
+CREATE OR REPLACE FUNCTION test_slru_page_writeall() RETURNS VOID
+ AS 'MODULE_PATHNAME', 'test_slru_page_writeall' LANGUAGE C;
+CREATE OR REPLACE FUNCTION test_slru_page_sync(int) RETURNS VOID
+ AS 'MODULE_PATHNAME', 'test_slru_page_sync' LANGUAGE C;
+CREATE OR REPLACE FUNCTION test_slru_page_read(int, bool DEFAULT true) RETURNS text
+ AS 'MODULE_PATHNAME', 'test_slru_page_read' LANGUAGE C;
+CREATE OR REPLACE FUNCTION test_slru_page_readonly(int) RETURNS text
+ AS 'MODULE_PATHNAME', 'test_slru_page_readonly' LANGUAGE C;
+CREATE OR REPLACE FUNCTION test_slru_page_exists(int) RETURNS bool
+ AS 'MODULE_PATHNAME', 'test_slru_page_exists' LANGUAGE C;
+CREATE OR REPLACE FUNCTION test_slru_page_delete(int) RETURNS VOID
+ AS 'MODULE_PATHNAME', 'test_slru_page_delete' LANGUAGE C;
+CREATE OR REPLACE FUNCTION test_slru_page_truncate(int) RETURNS VOID
+ AS 'MODULE_PATHNAME', 'test_slru_page_truncate' LANGUAGE C;
+CREATE OR REPLACE FUNCTION test_slru_delete_all() RETURNS VOID
+ AS 'MODULE_PATHNAME', 'test_slru_delete_all' LANGUAGE C;
diff --git a/pgsql/share/extension/test_slru.control b/pgsql/share/extension/test_slru.control
new file mode 100644
index 0000000000000000000000000000000000000000..742541b297bb57b57b0b6c3191f28695ffbf8859
--- /dev/null
+++ b/pgsql/share/extension/test_slru.control
@@ -0,0 +1,4 @@
+comment = 'Test code for SLRU'
+default_version = '1.0'
+module_pathname = '$libdir/test_slru'
+relocatable = false
diff --git a/pgsql/share/extension/tsm_system_rows--1.0.sql b/pgsql/share/extension/tsm_system_rows--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..de508ed72675fe3cb51fd1dce770227b97d31acc
--- /dev/null
+++ b/pgsql/share/extension/tsm_system_rows--1.0.sql
@@ -0,0 +1,9 @@
+/* contrib/tsm_system_rows/tsm_system_rows--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION tsm_system_rows" to load this file. \quit
+
+CREATE FUNCTION system_rows(internal)
+RETURNS tsm_handler
+AS 'MODULE_PATHNAME', 'tsm_system_rows_handler'
+LANGUAGE C STRICT;
diff --git a/pgsql/share/extension/tsm_system_rows.control b/pgsql/share/extension/tsm_system_rows.control
new file mode 100644
index 0000000000000000000000000000000000000000..b495fb126c0c24238a20d93299eb532eaa9468f7
--- /dev/null
+++ b/pgsql/share/extension/tsm_system_rows.control
@@ -0,0 +1,6 @@
+# tsm_system_rows extension
+comment = 'TABLESAMPLE method which accepts number of rows as a limit'
+default_version = '1.0'
+module_pathname = '$libdir/tsm_system_rows'
+relocatable = true
+trusted = true
diff --git a/pgsql/share/extension/tsm_system_time--1.0.sql b/pgsql/share/extension/tsm_system_time--1.0.sql
new file mode 100644
index 0000000000000000000000000000000000000000..c59d2e84efdabfa9e9163c036eb702e8ad981d26
--- /dev/null
+++ b/pgsql/share/extension/tsm_system_time--1.0.sql
@@ -0,0 +1,9 @@
+/* contrib/tsm_system_time/tsm_system_time--1.0.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION tsm_system_time" to load this file. \quit
+
+CREATE FUNCTION system_time(internal)
+RETURNS tsm_handler
+AS 'MODULE_PATHNAME', 'tsm_system_time_handler'
+LANGUAGE C STRICT;
diff --git a/pgsql/share/extension/tsm_system_time.control b/pgsql/share/extension/tsm_system_time.control
new file mode 100644
index 0000000000000000000000000000000000000000..b1b9789debca765b4a4cfdae2eed652e3c5593d8
--- /dev/null
+++ b/pgsql/share/extension/tsm_system_time.control
@@ -0,0 +1,6 @@
+# tsm_system_time extension
+comment = 'TABLESAMPLE method which accepts time in milliseconds as a limit'
+default_version = '1.0'
+module_pathname = '$libdir/tsm_system_time'
+relocatable = true
+trusted = true
diff --git a/pgsql/share/extension/unaccent--1.0--1.1.sql b/pgsql/share/extension/unaccent--1.0--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..8efa0d0cf6fee514098dcb06111983dbac416bb3
--- /dev/null
+++ b/pgsql/share/extension/unaccent--1.0--1.1.sql
@@ -0,0 +1,9 @@
+/* contrib/unaccent/unaccent--1.0--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION unaccent UPDATE TO '1.1'" to load this file. \quit
+
+ALTER FUNCTION unaccent(regdictionary, text) PARALLEL SAFE;
+ALTER FUNCTION unaccent(text) PARALLEL SAFE;
+ALTER FUNCTION unaccent_init(internal) PARALLEL SAFE;
+ALTER FUNCTION unaccent_lexize(internal, internal, internal, internal) PARALLEL SAFE;
diff --git a/pgsql/share/extension/unaccent--1.1.sql b/pgsql/share/extension/unaccent--1.1.sql
new file mode 100644
index 0000000000000000000000000000000000000000..ecc865178019c1dad6ff35fc5ba2815573984bb3
--- /dev/null
+++ b/pgsql/share/extension/unaccent--1.1.sql
@@ -0,0 +1,34 @@
+/* contrib/unaccent/unaccent--1.1.sql */
+
+-- complain if script is sourced in psql, rather than via CREATE EXTENSION
+\echo Use "CREATE EXTENSION unaccent" to load this file. \quit
+
+CREATE FUNCTION unaccent(regdictionary, text)
+ RETURNS text
+ AS 'MODULE_PATHNAME', 'unaccent_dict'
+ LANGUAGE C STABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION unaccent(text)
+ RETURNS text
+ AS 'MODULE_PATHNAME', 'unaccent_dict'
+ LANGUAGE C STABLE STRICT PARALLEL SAFE;
+
+CREATE FUNCTION unaccent_init(internal)
+ RETURNS internal
+ AS 'MODULE_PATHNAME', 'unaccent_init'
+ LANGUAGE C PARALLEL SAFE;
+
+CREATE FUNCTION unaccent_lexize(internal,internal,internal,internal)
+ RETURNS internal
+ AS 'MODULE_PATHNAME', 'unaccent_lexize'
+ LANGUAGE C PARALLEL SAFE;
+
+CREATE TEXT SEARCH TEMPLATE unaccent (
+ INIT = unaccent_init,
+ LEXIZE = unaccent_lexize
+);
+
+CREATE TEXT SEARCH DICTIONARY unaccent (
+ TEMPLATE = unaccent,
+ RULES = 'unaccent'
+);
diff --git a/pgsql/share/extension/unaccent.control b/pgsql/share/extension/unaccent.control
new file mode 100644
index 0000000000000000000000000000000000000000..649cf68a6e7b1e49909ed0f5211c564f35a805ab
--- /dev/null
+++ b/pgsql/share/extension/unaccent.control
@@ -0,0 +1,6 @@
+# unaccent extension
+comment = 'text search dictionary that removes accents'
+default_version = '1.1'
+module_pathname = '$libdir/unaccent'
+relocatable = true
+trusted = true
diff --git a/pgsql/share/fix-CVE-2024-4317.sql b/pgsql/share/fix-CVE-2024-4317.sql
new file mode 100644
index 0000000000000000000000000000000000000000..b24eba9a354cd7740e803df3d6d7eb7be6c5a4c6
--- /dev/null
+++ b/pgsql/share/fix-CVE-2024-4317.sql
@@ -0,0 +1,117 @@
+/*
+ * fix-CVE-2024-4317.sql
+ *
+ * Copyright (c) 2024, PostgreSQL Global Development Group
+ *
+ * src/backend/catalog/fix-CVE-2024-4317.sql
+ *
+ * This file should be run in every database in the cluster to address
+ * CVE-2024-4317.
+ */
+
+SET search_path = pg_catalog;
+
+CREATE OR REPLACE VIEW pg_stats_ext WITH (security_barrier) AS
+ SELECT cn.nspname AS schemaname,
+ c.relname AS tablename,
+ sn.nspname AS statistics_schemaname,
+ s.stxname AS statistics_name,
+ pg_get_userbyid(s.stxowner) AS statistics_owner,
+ ( SELECT array_agg(a.attname ORDER BY a.attnum)
+ FROM unnest(s.stxkeys) k
+ JOIN pg_attribute a
+ ON (a.attrelid = s.stxrelid AND a.attnum = k)
+ ) AS attnames,
+ pg_get_statisticsobjdef_expressions(s.oid) as exprs,
+ s.stxkind AS kinds,
+ sd.stxdinherit AS inherited,
+ sd.stxdndistinct AS n_distinct,
+ sd.stxddependencies AS dependencies,
+ m.most_common_vals,
+ m.most_common_val_nulls,
+ m.most_common_freqs,
+ m.most_common_base_freqs
+ FROM pg_statistic_ext s JOIN pg_class c ON (c.oid = s.stxrelid)
+ JOIN pg_statistic_ext_data sd ON (s.oid = sd.stxoid)
+ LEFT JOIN pg_namespace cn ON (cn.oid = c.relnamespace)
+ LEFT JOIN pg_namespace sn ON (sn.oid = s.stxnamespace)
+ LEFT JOIN LATERAL
+ ( SELECT array_agg(values) AS most_common_vals,
+ array_agg(nulls) AS most_common_val_nulls,
+ array_agg(frequency) AS most_common_freqs,
+ array_agg(base_frequency) AS most_common_base_freqs
+ FROM pg_mcv_list_items(sd.stxdmcv)
+ ) m ON sd.stxdmcv IS NOT NULL
+ WHERE pg_has_role(c.relowner, 'USAGE')
+ AND (c.relrowsecurity = false OR NOT row_security_active(c.oid));
+
+CREATE OR REPLACE VIEW pg_stats_ext_exprs WITH (security_barrier) AS
+ SELECT cn.nspname AS schemaname,
+ c.relname AS tablename,
+ sn.nspname AS statistics_schemaname,
+ s.stxname AS statistics_name,
+ pg_get_userbyid(s.stxowner) AS statistics_owner,
+ stat.expr,
+ sd.stxdinherit AS inherited,
+ (stat.a).stanullfrac AS null_frac,
+ (stat.a).stawidth AS avg_width,
+ (stat.a).stadistinct AS n_distinct,
+ (CASE
+ WHEN (stat.a).stakind1 = 1 THEN (stat.a).stavalues1
+ WHEN (stat.a).stakind2 = 1 THEN (stat.a).stavalues2
+ WHEN (stat.a).stakind3 = 1 THEN (stat.a).stavalues3
+ WHEN (stat.a).stakind4 = 1 THEN (stat.a).stavalues4
+ WHEN (stat.a).stakind5 = 1 THEN (stat.a).stavalues5
+ END) AS most_common_vals,
+ (CASE
+ WHEN (stat.a).stakind1 = 1 THEN (stat.a).stanumbers1
+ WHEN (stat.a).stakind2 = 1 THEN (stat.a).stanumbers2
+ WHEN (stat.a).stakind3 = 1 THEN (stat.a).stanumbers3
+ WHEN (stat.a).stakind4 = 1 THEN (stat.a).stanumbers4
+ WHEN (stat.a).stakind5 = 1 THEN (stat.a).stanumbers5
+ END) AS most_common_freqs,
+ (CASE
+ WHEN (stat.a).stakind1 = 2 THEN (stat.a).stavalues1
+ WHEN (stat.a).stakind2 = 2 THEN (stat.a).stavalues2
+ WHEN (stat.a).stakind3 = 2 THEN (stat.a).stavalues3
+ WHEN (stat.a).stakind4 = 2 THEN (stat.a).stavalues4
+ WHEN (stat.a).stakind5 = 2 THEN (stat.a).stavalues5
+ END) AS histogram_bounds,
+ (CASE
+ WHEN (stat.a).stakind1 = 3 THEN (stat.a).stanumbers1[1]
+ WHEN (stat.a).stakind2 = 3 THEN (stat.a).stanumbers2[1]
+ WHEN (stat.a).stakind3 = 3 THEN (stat.a).stanumbers3[1]
+ WHEN (stat.a).stakind4 = 3 THEN (stat.a).stanumbers4[1]
+ WHEN (stat.a).stakind5 = 3 THEN (stat.a).stanumbers5[1]
+ END) correlation,
+ (CASE
+ WHEN (stat.a).stakind1 = 4 THEN (stat.a).stavalues1
+ WHEN (stat.a).stakind2 = 4 THEN (stat.a).stavalues2
+ WHEN (stat.a).stakind3 = 4 THEN (stat.a).stavalues3
+ WHEN (stat.a).stakind4 = 4 THEN (stat.a).stavalues4
+ WHEN (stat.a).stakind5 = 4 THEN (stat.a).stavalues5
+ END) AS most_common_elems,
+ (CASE
+ WHEN (stat.a).stakind1 = 4 THEN (stat.a).stanumbers1
+ WHEN (stat.a).stakind2 = 4 THEN (stat.a).stanumbers2
+ WHEN (stat.a).stakind3 = 4 THEN (stat.a).stanumbers3
+ WHEN (stat.a).stakind4 = 4 THEN (stat.a).stanumbers4
+ WHEN (stat.a).stakind5 = 4 THEN (stat.a).stanumbers5
+ END) AS most_common_elem_freqs,
+ (CASE
+ WHEN (stat.a).stakind1 = 5 THEN (stat.a).stanumbers1
+ WHEN (stat.a).stakind2 = 5 THEN (stat.a).stanumbers2
+ WHEN (stat.a).stakind3 = 5 THEN (stat.a).stanumbers3
+ WHEN (stat.a).stakind4 = 5 THEN (stat.a).stanumbers4
+ WHEN (stat.a).stakind5 = 5 THEN (stat.a).stanumbers5
+ END) AS elem_count_histogram
+ FROM pg_statistic_ext s JOIN pg_class c ON (c.oid = s.stxrelid)
+ LEFT JOIN pg_statistic_ext_data sd ON (s.oid = sd.stxoid)
+ LEFT JOIN pg_namespace cn ON (cn.oid = c.relnamespace)
+ LEFT JOIN pg_namespace sn ON (sn.oid = s.stxnamespace)
+ JOIN LATERAL (
+ SELECT unnest(pg_get_statisticsobjdef_expressions(s.oid)) AS expr,
+ unnest(sd.stxdexpr)::pg_statistic AS a
+ ) stat ON (stat.expr IS NOT NULL)
+ WHERE pg_has_role(c.relowner, 'USAGE')
+ AND (c.relrowsecurity = false OR NOT row_security_active(c.oid));
diff --git a/pgsql/share/information_schema.sql b/pgsql/share/information_schema.sql
new file mode 100644
index 0000000000000000000000000000000000000000..8bcd42467a190aa69c8ca1afa3efea4a44a170a4
--- /dev/null
+++ b/pgsql/share/information_schema.sql
@@ -0,0 +1,3037 @@
+/*
+ * SQL Information Schema
+ * as defined in ISO/IEC 9075-11:2023
+ *
+ * Copyright (c) 2003-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/catalog/information_schema.sql
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+/*
+ * Note: Generally, the definitions in this file should be ordered
+ * according to the clause numbers in the SQL standard, which is also the
+ * alphabetical order. In some cases it is convenient or necessary to
+ * define one information schema view by using another one; in that case,
+ * put the referencing view at the very end and leave a note where it
+ * should have been put.
+ */
+
+
+/*
+ * 6.2
+ * INFORMATION_SCHEMA schema
+ */
+
+CREATE SCHEMA information_schema;
+GRANT USAGE ON SCHEMA information_schema TO PUBLIC;
+SET search_path TO information_schema;
+
+
+/*
+ * A few supporting functions first ...
+ */
+
+/* Expand any 1-D array into a set with integers 1..N */
+CREATE FUNCTION _pg_expandarray(IN anyarray, OUT x anyelement, OUT n int)
+ RETURNS SETOF RECORD
+ LANGUAGE sql STRICT IMMUTABLE PARALLEL SAFE
+ AS 'select $1[s],
+ s operator(pg_catalog.-) pg_catalog.array_lower($1,1) operator(pg_catalog.+) 1
+ from pg_catalog.generate_series(pg_catalog.array_lower($1,1),
+ pg_catalog.array_upper($1,1),
+ 1) as g(s)';
+
+/* Given an index's OID and an underlying-table column number, return the
+ * column's position in the index (NULL if not there) */
+CREATE FUNCTION _pg_index_position(oid, smallint) RETURNS int
+ LANGUAGE sql STRICT STABLE
+BEGIN ATOMIC
+SELECT (ss.a).n FROM
+ (SELECT information_schema._pg_expandarray(indkey) AS a
+ FROM pg_catalog.pg_index WHERE indexrelid = $1) ss
+ WHERE (ss.a).x = $2;
+END;
+
+CREATE FUNCTION _pg_truetypid(pg_attribute, pg_type) RETURNS oid
+ LANGUAGE sql
+ IMMUTABLE
+ PARALLEL SAFE
+ RETURNS NULL ON NULL INPUT
+RETURN CASE WHEN $2.typtype = 'd' THEN $2.typbasetype ELSE $1.atttypid END;
+
+CREATE FUNCTION _pg_truetypmod(pg_attribute, pg_type) RETURNS int4
+ LANGUAGE sql
+ IMMUTABLE
+ PARALLEL SAFE
+ RETURNS NULL ON NULL INPUT
+RETURN CASE WHEN $2.typtype = 'd' THEN $2.typtypmod ELSE $1.atttypmod END;
+
+-- these functions encapsulate knowledge about the encoding of typmod:
+
+CREATE FUNCTION _pg_char_max_length(typid oid, typmod int4) RETURNS integer
+ LANGUAGE sql
+ IMMUTABLE
+ PARALLEL SAFE
+ RETURNS NULL ON NULL INPUT
+RETURN
+ CASE WHEN $2 = -1 /* default typmod */
+ THEN null
+ WHEN $1 IN (1042, 1043) /* char, varchar */
+ THEN $2 - 4
+ WHEN $1 IN (1560, 1562) /* bit, varbit */
+ THEN $2
+ ELSE null
+ END;
+
+CREATE FUNCTION _pg_char_octet_length(typid oid, typmod int4) RETURNS integer
+ LANGUAGE sql
+ IMMUTABLE
+ PARALLEL SAFE
+ RETURNS NULL ON NULL INPUT
+RETURN
+ CASE WHEN $1 IN (25, 1042, 1043) /* text, char, varchar */
+ THEN CASE WHEN $2 = -1 /* default typmod */
+ THEN CAST(2^30 AS integer)
+ ELSE information_schema._pg_char_max_length($1, $2) *
+ pg_catalog.pg_encoding_max_length((SELECT encoding FROM pg_catalog.pg_database WHERE datname = pg_catalog.current_database()))
+ END
+ ELSE null
+ END;
+
+CREATE FUNCTION _pg_numeric_precision(typid oid, typmod int4) RETURNS integer
+ LANGUAGE sql
+ IMMUTABLE
+ PARALLEL SAFE
+ RETURNS NULL ON NULL INPUT
+RETURN
+ CASE $1
+ WHEN 21 /*int2*/ THEN 16
+ WHEN 23 /*int4*/ THEN 32
+ WHEN 20 /*int8*/ THEN 64
+ WHEN 1700 /*numeric*/ THEN
+ CASE WHEN $2 = -1
+ THEN null
+ ELSE (($2 - 4) >> 16) & 0xFFFF
+ END
+ WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
+ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
+ ELSE null
+ END;
+
+CREATE FUNCTION _pg_numeric_precision_radix(typid oid, typmod int4) RETURNS integer
+ LANGUAGE sql
+ IMMUTABLE
+ PARALLEL SAFE
+ RETURNS NULL ON NULL INPUT
+RETURN
+ CASE WHEN $1 IN (21, 23, 20, 700, 701) THEN 2
+ WHEN $1 IN (1700) THEN 10
+ ELSE null
+ END;
+
+CREATE FUNCTION _pg_numeric_scale(typid oid, typmod int4) RETURNS integer
+ LANGUAGE sql
+ IMMUTABLE
+ PARALLEL SAFE
+ RETURNS NULL ON NULL INPUT
+RETURN
+ CASE WHEN $1 IN (21, 23, 20) THEN 0
+ WHEN $1 IN (1700) THEN
+ CASE WHEN $2 = -1
+ THEN null
+ ELSE ($2 - 4) & 0xFFFF
+ END
+ ELSE null
+ END;
+
+CREATE FUNCTION _pg_datetime_precision(typid oid, typmod int4) RETURNS integer
+ LANGUAGE sql
+ IMMUTABLE
+ PARALLEL SAFE
+ RETURNS NULL ON NULL INPUT
+RETURN
+ CASE WHEN $1 IN (1082) /* date */
+ THEN 0
+ WHEN $1 IN (1083, 1114, 1184, 1266) /* time, timestamp, same + tz */
+ THEN CASE WHEN $2 < 0 THEN 6 ELSE $2 END
+ WHEN $1 IN (1186) /* interval */
+ THEN CASE WHEN $2 < 0 OR $2 & 0xFFFF = 0xFFFF THEN 6 ELSE $2 & 0xFFFF END
+ ELSE null
+ END;
+
+CREATE FUNCTION _pg_interval_type(typid oid, mod int4) RETURNS text
+ LANGUAGE sql
+ IMMUTABLE
+ PARALLEL SAFE
+ RETURNS NULL ON NULL INPUT
+RETURN
+ CASE WHEN $1 IN (1186) /* interval */
+ THEN pg_catalog.upper(substring(pg_catalog.format_type($1, $2) similar 'interval[()0-9]* #"%#"' escape '#'))
+ ELSE null
+ END;
+
+
+-- 6.3 INFORMATION_SCHEMA_CATALOG_NAME view appears later.
+
+
+/*
+ * 6.4
+ * CARDINAL_NUMBER domain
+ */
+
+CREATE DOMAIN cardinal_number AS integer
+ CONSTRAINT cardinal_number_domain_check CHECK (value >= 0);
+
+
+/*
+ * 6.5
+ * CHARACTER_DATA domain
+ */
+
+CREATE DOMAIN character_data AS character varying COLLATE "C";
+
+
+/*
+ * 6.6
+ * SQL_IDENTIFIER domain
+ */
+
+CREATE DOMAIN sql_identifier AS name;
+
+
+/*
+ * 6.3
+ * INFORMATION_SCHEMA_CATALOG_NAME view
+ */
+
+CREATE VIEW information_schema_catalog_name AS
+ SELECT CAST(current_database() AS sql_identifier) AS catalog_name;
+
+GRANT SELECT ON information_schema_catalog_name TO PUBLIC;
+
+
+/*
+ * 6.7
+ * TIME_STAMP domain
+ */
+
+CREATE DOMAIN time_stamp AS timestamp(2) with time zone
+ DEFAULT current_timestamp(2);
+
+/*
+ * 6.8
+ * YES_OR_NO domain
+ */
+
+CREATE DOMAIN yes_or_no AS character varying(3) COLLATE "C"
+ CONSTRAINT yes_or_no_check CHECK (value IN ('YES', 'NO'));
+
+
+-- 6.9 ADMINISTRABLE_ROLE_AUTHORIZATIONS view appears later.
+
+
+/*
+ * 6.10
+ * APPLICABLE_ROLES view
+ */
+
+CREATE VIEW applicable_roles AS
+ SELECT CAST(a.rolname AS sql_identifier) AS grantee,
+ CAST(b.rolname AS sql_identifier) AS role_name,
+ CAST(CASE WHEN m.admin_option THEN 'YES' ELSE 'NO' END AS yes_or_no) AS is_grantable
+ FROM (SELECT member, roleid, admin_option FROM pg_auth_members
+ -- This UNION could be UNION ALL, but UNION works even if we start
+ -- to allow explicit pg_database_owner membership.
+ UNION
+ SELECT datdba, pg_authid.oid, false
+ FROM pg_database, pg_authid
+ WHERE datname = current_database() AND rolname = 'pg_database_owner'
+ ) m
+ JOIN pg_authid a ON (m.member = a.oid)
+ JOIN pg_authid b ON (m.roleid = b.oid)
+ WHERE pg_has_role(a.oid, 'USAGE');
+
+GRANT SELECT ON applicable_roles TO PUBLIC;
+
+
+/*
+ * 6.9
+ * ADMINISTRABLE_ROLE_AUTHORIZATIONS view
+ */
+
+CREATE VIEW administrable_role_authorizations AS
+ SELECT *
+ FROM applicable_roles
+ WHERE is_grantable = 'YES';
+
+GRANT SELECT ON administrable_role_authorizations TO PUBLIC;
+
+
+/*
+ * 6.11
+ * ASSERTIONS view
+ */
+
+-- feature not supported
+
+
+/*
+ * 6.12
+ * ATTRIBUTES view
+ */
+
+CREATE VIEW attributes AS
+ SELECT CAST(current_database() AS sql_identifier) AS udt_catalog,
+ CAST(nc.nspname AS sql_identifier) AS udt_schema,
+ CAST(c.relname AS sql_identifier) AS udt_name,
+ CAST(a.attname AS sql_identifier) AS attribute_name,
+ CAST(a.attnum AS cardinal_number) AS ordinal_position,
+ CAST(pg_get_expr(ad.adbin, ad.adrelid) AS character_data) AS attribute_default,
+ CAST(CASE WHEN a.attnotnull OR (t.typtype = 'd' AND t.typnotnull) THEN 'NO' ELSE 'YES' END
+ AS yes_or_no)
+ AS is_nullable, -- This column was apparently removed between SQL:2003 and SQL:2008.
+
+ CAST(
+ CASE WHEN t.typelem <> 0 AND t.typlen = -1 THEN 'ARRAY'
+ WHEN nt.nspname = 'pg_catalog' THEN format_type(a.atttypid, null)
+ ELSE 'USER-DEFINED' END
+ AS character_data)
+ AS data_type,
+
+ CAST(
+ _pg_char_max_length(_pg_truetypid(a, t), _pg_truetypmod(a, t))
+ AS cardinal_number)
+ AS character_maximum_length,
+
+ CAST(
+ _pg_char_octet_length(_pg_truetypid(a, t), _pg_truetypmod(a, t))
+ AS cardinal_number)
+ AS character_octet_length,
+
+ CAST(null AS sql_identifier) AS character_set_catalog,
+ CAST(null AS sql_identifier) AS character_set_schema,
+ CAST(null AS sql_identifier) AS character_set_name,
+
+ CAST(CASE WHEN nco.nspname IS NOT NULL THEN current_database() END AS sql_identifier) AS collation_catalog,
+ CAST(nco.nspname AS sql_identifier) AS collation_schema,
+ CAST(co.collname AS sql_identifier) AS collation_name,
+
+ CAST(
+ _pg_numeric_precision(_pg_truetypid(a, t), _pg_truetypmod(a, t))
+ AS cardinal_number)
+ AS numeric_precision,
+
+ CAST(
+ _pg_numeric_precision_radix(_pg_truetypid(a, t), _pg_truetypmod(a, t))
+ AS cardinal_number)
+ AS numeric_precision_radix,
+
+ CAST(
+ _pg_numeric_scale(_pg_truetypid(a, t), _pg_truetypmod(a, t))
+ AS cardinal_number)
+ AS numeric_scale,
+
+ CAST(
+ _pg_datetime_precision(_pg_truetypid(a, t), _pg_truetypmod(a, t))
+ AS cardinal_number)
+ AS datetime_precision,
+
+ CAST(
+ _pg_interval_type(_pg_truetypid(a, t), _pg_truetypmod(a, t))
+ AS character_data)
+ AS interval_type,
+ CAST(null AS cardinal_number) AS interval_precision,
+
+ CAST(current_database() AS sql_identifier) AS attribute_udt_catalog,
+ CAST(nt.nspname AS sql_identifier) AS attribute_udt_schema,
+ CAST(t.typname AS sql_identifier) AS attribute_udt_name,
+
+ CAST(null AS sql_identifier) AS scope_catalog,
+ CAST(null AS sql_identifier) AS scope_schema,
+ CAST(null AS sql_identifier) AS scope_name,
+
+ CAST(null AS cardinal_number) AS maximum_cardinality,
+ CAST(a.attnum AS sql_identifier) AS dtd_identifier,
+ CAST('NO' AS yes_or_no) AS is_derived_reference_attribute
+
+ FROM (pg_attribute a LEFT JOIN pg_attrdef ad ON attrelid = adrelid AND attnum = adnum)
+ JOIN (pg_class c JOIN pg_namespace nc ON (c.relnamespace = nc.oid)) ON a.attrelid = c.oid
+ JOIN (pg_type t JOIN pg_namespace nt ON (t.typnamespace = nt.oid)) ON a.atttypid = t.oid
+ LEFT JOIN (pg_collation co JOIN pg_namespace nco ON (co.collnamespace = nco.oid))
+ ON a.attcollation = co.oid AND (nco.nspname, co.collname) <> ('pg_catalog', 'default')
+
+ WHERE a.attnum > 0 AND NOT a.attisdropped
+ AND c.relkind IN ('c')
+ AND (pg_has_role(c.relowner, 'USAGE')
+ OR has_type_privilege(c.reltype, 'USAGE'));
+
+GRANT SELECT ON attributes TO PUBLIC;
+
+
+/*
+ * 6.13
+ * CHARACTER_SETS view
+ */
+
+CREATE VIEW character_sets AS
+ SELECT CAST(null AS sql_identifier) AS character_set_catalog,
+ CAST(null AS sql_identifier) AS character_set_schema,
+ CAST(getdatabaseencoding() AS sql_identifier) AS character_set_name,
+ CAST(CASE WHEN getdatabaseencoding() = 'UTF8' THEN 'UCS' ELSE getdatabaseencoding() END AS sql_identifier) AS character_repertoire,
+ CAST(getdatabaseencoding() AS sql_identifier) AS form_of_use,
+ CAST(current_database() AS sql_identifier) AS default_collate_catalog,
+ CAST(nc.nspname AS sql_identifier) AS default_collate_schema,
+ CAST(c.collname AS sql_identifier) AS default_collate_name
+ FROM pg_database d
+ LEFT JOIN (pg_collation c JOIN pg_namespace nc ON (c.collnamespace = nc.oid))
+ ON (datcollate = collcollate AND datctype = collctype)
+ WHERE d.datname = current_database()
+ ORDER BY char_length(c.collname) DESC, c.collname ASC -- prefer full/canonical name
+ LIMIT 1;
+
+GRANT SELECT ON character_sets TO PUBLIC;
+
+
+/*
+ * 6.14
+ * CHECK_CONSTRAINT_ROUTINE_USAGE view
+ */
+
+CREATE VIEW check_constraint_routine_usage AS
+ SELECT DISTINCT
+ CAST(current_database() AS sql_identifier) AS constraint_catalog,
+ CAST(nc.nspname AS sql_identifier) AS constraint_schema,
+ CAST(c.conname AS sql_identifier) AS constraint_name,
+ CAST(current_database() AS sql_identifier) AS specific_catalog,
+ CAST(np.nspname AS sql_identifier) AS specific_schema,
+ CAST(nameconcatoid(p.proname, p.oid) AS sql_identifier) AS specific_name
+ FROM pg_namespace nc, pg_constraint c, pg_depend d, pg_proc p, pg_namespace np
+ WHERE nc.oid = c.connamespace
+ AND c.contype = 'c'
+ AND c.oid = d.objid
+ AND d.classid = 'pg_catalog.pg_constraint'::regclass
+ AND d.refobjid = p.oid
+ AND d.refclassid = 'pg_catalog.pg_proc'::regclass
+ AND p.pronamespace = np.oid
+ AND pg_has_role(p.proowner, 'USAGE');
+
+GRANT SELECT ON check_constraint_routine_usage TO PUBLIC;
+
+
+/*
+ * 6.15
+ * CHECK_CONSTRAINTS view
+ */
+
+CREATE VIEW check_constraints AS
+ SELECT CAST(current_database() AS sql_identifier) AS constraint_catalog,
+ CAST(rs.nspname AS sql_identifier) AS constraint_schema,
+ CAST(con.conname AS sql_identifier) AS constraint_name,
+ CAST(substring(pg_get_constraintdef(con.oid) from 7) AS character_data)
+ AS check_clause
+ FROM pg_constraint con
+ LEFT OUTER JOIN pg_namespace rs ON (rs.oid = con.connamespace)
+ LEFT OUTER JOIN pg_class c ON (c.oid = con.conrelid)
+ LEFT OUTER JOIN pg_type t ON (t.oid = con.contypid)
+ WHERE pg_has_role(coalesce(c.relowner, t.typowner), 'USAGE')
+ AND con.contype = 'c'
+
+ UNION
+ -- not-null constraints
+
+ SELECT CAST(current_database() AS sql_identifier) AS constraint_catalog,
+ CAST(n.nspname AS sql_identifier) AS constraint_schema,
+ CAST(CAST(n.oid AS text) || '_' || CAST(r.oid AS text) || '_' || CAST(a.attnum AS text) || '_not_null' AS sql_identifier) AS constraint_name, -- XXX
+ CAST(a.attname || ' IS NOT NULL' AS character_data)
+ AS check_clause
+ FROM pg_namespace n, pg_class r, pg_attribute a
+ WHERE n.oid = r.relnamespace
+ AND r.oid = a.attrelid
+ AND a.attnum > 0
+ AND NOT a.attisdropped
+ AND a.attnotnull
+ AND r.relkind IN ('r', 'p')
+ AND pg_has_role(r.relowner, 'USAGE');
+
+GRANT SELECT ON check_constraints TO PUBLIC;
+
+
+/*
+ * 6.16
+ * COLLATIONS view
+ */
+
+CREATE VIEW collations AS
+ SELECT CAST(current_database() AS sql_identifier) AS collation_catalog,
+ CAST(nc.nspname AS sql_identifier) AS collation_schema,
+ CAST(c.collname AS sql_identifier) AS collation_name,
+ CAST('NO PAD' AS character_data) AS pad_attribute
+ FROM pg_collation c, pg_namespace nc
+ WHERE c.collnamespace = nc.oid
+ AND collencoding IN (-1, (SELECT encoding FROM pg_database WHERE datname = current_database()));
+
+GRANT SELECT ON collations TO PUBLIC;
+
+
+/*
+ * 6.17
+ * COLLATION_CHARACTER_SET_APPLICABILITY view
+ */
+
+CREATE VIEW collation_character_set_applicability AS
+ SELECT CAST(current_database() AS sql_identifier) AS collation_catalog,
+ CAST(nc.nspname AS sql_identifier) AS collation_schema,
+ CAST(c.collname AS sql_identifier) AS collation_name,
+ CAST(null AS sql_identifier) AS character_set_catalog,
+ CAST(null AS sql_identifier) AS character_set_schema,
+ CAST(getdatabaseencoding() AS sql_identifier) AS character_set_name
+ FROM pg_collation c, pg_namespace nc
+ WHERE c.collnamespace = nc.oid
+ AND collencoding IN (-1, (SELECT encoding FROM pg_database WHERE datname = current_database()));
+
+GRANT SELECT ON collation_character_set_applicability TO PUBLIC;
+
+
+/*
+ * 6.18
+ * COLUMN_COLUMN_USAGE view
+ */
+
+CREATE VIEW column_column_usage AS
+ SELECT DISTINCT
+ CAST(current_database() AS sql_identifier) AS table_catalog,
+ CAST(n.nspname AS sql_identifier) AS table_schema,
+ CAST(c.relname AS sql_identifier) AS table_name,
+ CAST(ac.attname AS sql_identifier) AS column_name,
+ CAST(ad.attname AS sql_identifier) AS dependent_column
+
+ FROM pg_namespace n, pg_class c, pg_depend d,
+ pg_attribute ac, pg_attribute ad, pg_attrdef atd
+
+ WHERE n.oid = c.relnamespace
+ AND c.oid = ac.attrelid
+ AND c.oid = ad.attrelid
+ AND ac.attnum <> ad.attnum
+ AND ad.attrelid = atd.adrelid
+ AND ad.attnum = atd.adnum
+ AND d.classid = 'pg_catalog.pg_attrdef'::regclass
+ AND d.refclassid = 'pg_catalog.pg_class'::regclass
+ AND d.objid = atd.oid
+ AND d.refobjid = ac.attrelid
+ AND d.refobjsubid = ac.attnum
+ AND ad.attgenerated <> ''
+ AND pg_has_role(c.relowner, 'USAGE');
+
+GRANT SELECT ON column_column_usage TO PUBLIC;
+
+
+/*
+ * 6.19
+ * COLUMN_DOMAIN_USAGE view
+ */
+
+CREATE VIEW column_domain_usage AS
+ SELECT CAST(current_database() AS sql_identifier) AS domain_catalog,
+ CAST(nt.nspname AS sql_identifier) AS domain_schema,
+ CAST(t.typname AS sql_identifier) AS domain_name,
+ CAST(current_database() AS sql_identifier) AS table_catalog,
+ CAST(nc.nspname AS sql_identifier) AS table_schema,
+ CAST(c.relname AS sql_identifier) AS table_name,
+ CAST(a.attname AS sql_identifier) AS column_name
+
+ FROM pg_type t, pg_namespace nt, pg_class c, pg_namespace nc,
+ pg_attribute a
+
+ WHERE t.typnamespace = nt.oid
+ AND c.relnamespace = nc.oid
+ AND a.attrelid = c.oid
+ AND a.atttypid = t.oid
+ AND t.typtype = 'd'
+ AND c.relkind IN ('r', 'v', 'f', 'p')
+ AND a.attnum > 0
+ AND NOT a.attisdropped
+ AND pg_has_role(t.typowner, 'USAGE');
+
+GRANT SELECT ON column_domain_usage TO PUBLIC;
+
+
+/*
+ * 6.20
+ * COLUMN_PRIVILEGES
+ */
+
+CREATE VIEW column_privileges AS
+ SELECT CAST(u_grantor.rolname AS sql_identifier) AS grantor,
+ CAST(grantee.rolname AS sql_identifier) AS grantee,
+ CAST(current_database() AS sql_identifier) AS table_catalog,
+ CAST(nc.nspname AS sql_identifier) AS table_schema,
+ CAST(x.relname AS sql_identifier) AS table_name,
+ CAST(x.attname AS sql_identifier) AS column_name,
+ CAST(x.prtype AS character_data) AS privilege_type,
+ CAST(
+ CASE WHEN
+ -- object owner always has grant options
+ pg_has_role(x.grantee, x.relowner, 'USAGE')
+ OR x.grantable
+ THEN 'YES' ELSE 'NO' END AS yes_or_no) AS is_grantable
+
+ FROM (
+ SELECT pr_c.grantor,
+ pr_c.grantee,
+ attname,
+ relname,
+ relnamespace,
+ pr_c.prtype,
+ pr_c.grantable,
+ pr_c.relowner
+ FROM (SELECT oid, relname, relnamespace, relowner, (aclexplode(coalesce(relacl, acldefault('r', relowner)))).*
+ FROM pg_class
+ WHERE relkind IN ('r', 'v', 'f', 'p')
+ ) pr_c (oid, relname, relnamespace, relowner, grantor, grantee, prtype, grantable),
+ pg_attribute a
+ WHERE a.attrelid = pr_c.oid
+ AND a.attnum > 0
+ AND NOT a.attisdropped
+ UNION
+ SELECT pr_a.grantor,
+ pr_a.grantee,
+ attname,
+ relname,
+ relnamespace,
+ pr_a.prtype,
+ pr_a.grantable,
+ c.relowner
+ FROM (SELECT attrelid, attname, (aclexplode(coalesce(attacl, acldefault('c', relowner)))).*
+ FROM pg_attribute a JOIN pg_class cc ON (a.attrelid = cc.oid)
+ WHERE attnum > 0
+ AND NOT attisdropped
+ ) pr_a (attrelid, attname, grantor, grantee, prtype, grantable),
+ pg_class c
+ WHERE pr_a.attrelid = c.oid
+ AND relkind IN ('r', 'v', 'f', 'p')
+ ) x,
+ pg_namespace nc,
+ pg_authid u_grantor,
+ (
+ SELECT oid, rolname FROM pg_authid
+ UNION ALL
+ SELECT 0::oid, 'PUBLIC'
+ ) AS grantee (oid, rolname)
+
+ WHERE x.relnamespace = nc.oid
+ AND x.grantee = grantee.oid
+ AND x.grantor = u_grantor.oid
+ AND x.prtype IN ('INSERT', 'SELECT', 'UPDATE', 'REFERENCES')
+ AND (pg_has_role(u_grantor.oid, 'USAGE')
+ OR pg_has_role(grantee.oid, 'USAGE')
+ OR grantee.rolname = 'PUBLIC');
+
+GRANT SELECT ON column_privileges TO PUBLIC;
+
+
+/*
+ * 6.21
+ * COLUMN_UDT_USAGE view
+ */
+
+CREATE VIEW column_udt_usage AS
+ SELECT CAST(current_database() AS sql_identifier) AS udt_catalog,
+ CAST(coalesce(nbt.nspname, nt.nspname) AS sql_identifier) AS udt_schema,
+ CAST(coalesce(bt.typname, t.typname) AS sql_identifier) AS udt_name,
+ CAST(current_database() AS sql_identifier) AS table_catalog,
+ CAST(nc.nspname AS sql_identifier) AS table_schema,
+ CAST(c.relname AS sql_identifier) AS table_name,
+ CAST(a.attname AS sql_identifier) AS column_name
+
+ FROM pg_attribute a, pg_class c, pg_namespace nc,
+ (pg_type t JOIN pg_namespace nt ON (t.typnamespace = nt.oid))
+ LEFT JOIN (pg_type bt JOIN pg_namespace nbt ON (bt.typnamespace = nbt.oid))
+ ON (t.typtype = 'd' AND t.typbasetype = bt.oid)
+
+ WHERE a.attrelid = c.oid
+ AND a.atttypid = t.oid
+ AND nc.oid = c.relnamespace
+ AND a.attnum > 0 AND NOT a.attisdropped
+ AND c.relkind in ('r', 'v', 'f', 'p')
+ AND pg_has_role(coalesce(bt.typowner, t.typowner), 'USAGE');
+
+GRANT SELECT ON column_udt_usage TO PUBLIC;
+
+
+/*
+ * 6.22
+ * COLUMNS view
+ */
+
+CREATE VIEW columns AS
+ SELECT CAST(current_database() AS sql_identifier) AS table_catalog,
+ CAST(nc.nspname AS sql_identifier) AS table_schema,
+ CAST(c.relname AS sql_identifier) AS table_name,
+ CAST(a.attname AS sql_identifier) AS column_name,
+ CAST(a.attnum AS cardinal_number) AS ordinal_position,
+ CAST(CASE WHEN a.attgenerated = '' THEN pg_get_expr(ad.adbin, ad.adrelid) END AS character_data) AS column_default,
+ CAST(CASE WHEN a.attnotnull OR (t.typtype = 'd' AND t.typnotnull) THEN 'NO' ELSE 'YES' END
+ AS yes_or_no)
+ AS is_nullable,
+
+ CAST(
+ CASE WHEN t.typtype = 'd' THEN
+ CASE WHEN bt.typelem <> 0 AND bt.typlen = -1 THEN 'ARRAY'
+ WHEN nbt.nspname = 'pg_catalog' THEN format_type(t.typbasetype, null)
+ ELSE 'USER-DEFINED' END
+ ELSE
+ CASE WHEN t.typelem <> 0 AND t.typlen = -1 THEN 'ARRAY'
+ WHEN nt.nspname = 'pg_catalog' THEN format_type(a.atttypid, null)
+ ELSE 'USER-DEFINED' END
+ END
+ AS character_data)
+ AS data_type,
+
+ CAST(
+ _pg_char_max_length(_pg_truetypid(a, t), _pg_truetypmod(a, t))
+ AS cardinal_number)
+ AS character_maximum_length,
+
+ CAST(
+ _pg_char_octet_length(_pg_truetypid(a, t), _pg_truetypmod(a, t))
+ AS cardinal_number)
+ AS character_octet_length,
+
+ CAST(
+ _pg_numeric_precision(_pg_truetypid(a, t), _pg_truetypmod(a, t))
+ AS cardinal_number)
+ AS numeric_precision,
+
+ CAST(
+ _pg_numeric_precision_radix(_pg_truetypid(a, t), _pg_truetypmod(a, t))
+ AS cardinal_number)
+ AS numeric_precision_radix,
+
+ CAST(
+ _pg_numeric_scale(_pg_truetypid(a, t), _pg_truetypmod(a, t))
+ AS cardinal_number)
+ AS numeric_scale,
+
+ CAST(
+ _pg_datetime_precision(_pg_truetypid(a, t), _pg_truetypmod(a, t))
+ AS cardinal_number)
+ AS datetime_precision,
+
+ CAST(
+ _pg_interval_type(_pg_truetypid(a, t), _pg_truetypmod(a, t))
+ AS character_data)
+ AS interval_type,
+ CAST(null AS cardinal_number) AS interval_precision,
+
+ CAST(null AS sql_identifier) AS character_set_catalog,
+ CAST(null AS sql_identifier) AS character_set_schema,
+ CAST(null AS sql_identifier) AS character_set_name,
+
+ CAST(CASE WHEN nco.nspname IS NOT NULL THEN current_database() END AS sql_identifier) AS collation_catalog,
+ CAST(nco.nspname AS sql_identifier) AS collation_schema,
+ CAST(co.collname AS sql_identifier) AS collation_name,
+
+ CAST(CASE WHEN t.typtype = 'd' THEN current_database() ELSE null END
+ AS sql_identifier) AS domain_catalog,
+ CAST(CASE WHEN t.typtype = 'd' THEN nt.nspname ELSE null END
+ AS sql_identifier) AS domain_schema,
+ CAST(CASE WHEN t.typtype = 'd' THEN t.typname ELSE null END
+ AS sql_identifier) AS domain_name,
+
+ CAST(current_database() AS sql_identifier) AS udt_catalog,
+ CAST(coalesce(nbt.nspname, nt.nspname) AS sql_identifier) AS udt_schema,
+ CAST(coalesce(bt.typname, t.typname) AS sql_identifier) AS udt_name,
+
+ CAST(null AS sql_identifier) AS scope_catalog,
+ CAST(null AS sql_identifier) AS scope_schema,
+ CAST(null AS sql_identifier) AS scope_name,
+
+ CAST(null AS cardinal_number) AS maximum_cardinality,
+ CAST(a.attnum AS sql_identifier) AS dtd_identifier,
+ CAST('NO' AS yes_or_no) AS is_self_referencing,
+
+ CAST(CASE WHEN a.attidentity IN ('a', 'd') THEN 'YES' ELSE 'NO' END AS yes_or_no) AS is_identity,
+ CAST(CASE a.attidentity WHEN 'a' THEN 'ALWAYS' WHEN 'd' THEN 'BY DEFAULT' END AS character_data) AS identity_generation,
+ CAST(seq.seqstart AS character_data) AS identity_start,
+ CAST(seq.seqincrement AS character_data) AS identity_increment,
+ CAST(seq.seqmax AS character_data) AS identity_maximum,
+ CAST(seq.seqmin AS character_data) AS identity_minimum,
+ CAST(CASE WHEN seq.seqcycle THEN 'YES' ELSE 'NO' END AS yes_or_no) AS identity_cycle,
+
+ CAST(CASE WHEN a.attgenerated <> '' THEN 'ALWAYS' ELSE 'NEVER' END AS character_data) AS is_generated,
+ CAST(CASE WHEN a.attgenerated <> '' THEN pg_get_expr(ad.adbin, ad.adrelid) END AS character_data) AS generation_expression,
+
+ CAST(CASE WHEN c.relkind IN ('r', 'p') OR
+ (c.relkind IN ('v', 'f') AND
+ pg_column_is_updatable(c.oid, a.attnum, false))
+ THEN 'YES' ELSE 'NO' END AS yes_or_no) AS is_updatable
+
+ FROM (pg_attribute a LEFT JOIN pg_attrdef ad ON attrelid = adrelid AND attnum = adnum)
+ JOIN (pg_class c JOIN pg_namespace nc ON (c.relnamespace = nc.oid)) ON a.attrelid = c.oid
+ JOIN (pg_type t JOIN pg_namespace nt ON (t.typnamespace = nt.oid)) ON a.atttypid = t.oid
+ LEFT JOIN (pg_type bt JOIN pg_namespace nbt ON (bt.typnamespace = nbt.oid))
+ ON (t.typtype = 'd' AND t.typbasetype = bt.oid)
+ LEFT JOIN (pg_collation co JOIN pg_namespace nco ON (co.collnamespace = nco.oid))
+ ON a.attcollation = co.oid AND (nco.nspname, co.collname) <> ('pg_catalog', 'default')
+ LEFT JOIN (pg_depend dep JOIN pg_sequence seq ON (dep.classid = 'pg_class'::regclass AND dep.objid = seq.seqrelid AND dep.deptype = 'i'))
+ ON (dep.refclassid = 'pg_class'::regclass AND dep.refobjid = c.oid AND dep.refobjsubid = a.attnum)
+
+ WHERE (NOT pg_is_other_temp_schema(nc.oid))
+
+ AND a.attnum > 0 AND NOT a.attisdropped
+ AND c.relkind IN ('r', 'v', 'f', 'p')
+
+ AND (pg_has_role(c.relowner, 'USAGE')
+ OR has_column_privilege(c.oid, a.attnum,
+ 'SELECT, INSERT, UPDATE, REFERENCES'));
+
+GRANT SELECT ON columns TO PUBLIC;
+
+
+/*
+ * 6.23
+ * CONSTRAINT_COLUMN_USAGE view
+ */
+
+CREATE VIEW constraint_column_usage AS
+ SELECT CAST(current_database() AS sql_identifier) AS table_catalog,
+ CAST(tblschema AS sql_identifier) AS table_schema,
+ CAST(tblname AS sql_identifier) AS table_name,
+ CAST(colname AS sql_identifier) AS column_name,
+ CAST(current_database() AS sql_identifier) AS constraint_catalog,
+ CAST(cstrschema AS sql_identifier) AS constraint_schema,
+ CAST(cstrname AS sql_identifier) AS constraint_name
+
+ FROM (
+ /* check constraints */
+ SELECT DISTINCT nr.nspname, r.relname, r.relowner, a.attname, nc.nspname, c.conname
+ FROM pg_namespace nr, pg_class r, pg_attribute a, pg_depend d, pg_namespace nc, pg_constraint c
+ WHERE nr.oid = r.relnamespace
+ AND r.oid = a.attrelid
+ AND d.refclassid = 'pg_catalog.pg_class'::regclass
+ AND d.refobjid = r.oid
+ AND d.refobjsubid = a.attnum
+ AND d.classid = 'pg_catalog.pg_constraint'::regclass
+ AND d.objid = c.oid
+ AND c.connamespace = nc.oid
+ AND c.contype = 'c'
+ AND r.relkind IN ('r', 'p')
+ AND NOT a.attisdropped
+
+ UNION ALL
+
+ /* unique/primary key/foreign key constraints */
+ SELECT nr.nspname, r.relname, r.relowner, a.attname, nc.nspname, c.conname
+ FROM pg_namespace nr, pg_class r, pg_attribute a, pg_namespace nc,
+ pg_constraint c
+ WHERE nr.oid = r.relnamespace
+ AND r.oid = a.attrelid
+ AND nc.oid = c.connamespace
+ AND r.oid = CASE c.contype WHEN 'f' THEN c.confrelid ELSE c.conrelid END
+ AND a.attnum = ANY (CASE c.contype WHEN 'f' THEN c.confkey ELSE c.conkey END)
+ AND NOT a.attisdropped
+ AND c.contype IN ('p', 'u', 'f')
+ AND r.relkind IN ('r', 'p')
+
+ ) AS x (tblschema, tblname, tblowner, colname, cstrschema, cstrname)
+
+ WHERE pg_has_role(x.tblowner, 'USAGE');
+
+GRANT SELECT ON constraint_column_usage TO PUBLIC;
+
+
+/*
+ * 6.24
+ * CONSTRAINT_PERIOD_USAGE view
+ */
+
+-- feature not supported
+
+
+/*
+ * 6.25
+ * CONSTRAINT_TABLE_USAGE view
+ */
+
+CREATE VIEW constraint_table_usage AS
+ SELECT CAST(current_database() AS sql_identifier) AS table_catalog,
+ CAST(nr.nspname AS sql_identifier) AS table_schema,
+ CAST(r.relname AS sql_identifier) AS table_name,
+ CAST(current_database() AS sql_identifier) AS constraint_catalog,
+ CAST(nc.nspname AS sql_identifier) AS constraint_schema,
+ CAST(c.conname AS sql_identifier) AS constraint_name
+
+ FROM pg_constraint c, pg_namespace nc,
+ pg_class r, pg_namespace nr
+
+ WHERE c.connamespace = nc.oid AND r.relnamespace = nr.oid
+ AND ( (c.contype = 'f' AND c.confrelid = r.oid)
+ OR (c.contype IN ('p', 'u') AND c.conrelid = r.oid) )
+ AND r.relkind IN ('r', 'p')
+ AND pg_has_role(r.relowner, 'USAGE');
+
+GRANT SELECT ON constraint_table_usage TO PUBLIC;
+
+
+-- 6.26 DATA_TYPE_PRIVILEGES view appears later.
+
+
+/*
+ * 6.27
+ * DIRECT_SUPERTABLES view
+ */
+
+-- feature not supported
+
+
+/*
+ * 6.28
+ * DIRECT_SUPERTYPES view
+ */
+
+-- feature not supported
+
+
+/*
+ * 6.29
+ * DOMAIN_CONSTRAINTS view
+ */
+
+CREATE VIEW domain_constraints AS
+ SELECT CAST(current_database() AS sql_identifier) AS constraint_catalog,
+ CAST(rs.nspname AS sql_identifier) AS constraint_schema,
+ CAST(con.conname AS sql_identifier) AS constraint_name,
+ CAST(current_database() AS sql_identifier) AS domain_catalog,
+ CAST(n.nspname AS sql_identifier) AS domain_schema,
+ CAST(t.typname AS sql_identifier) AS domain_name,
+ CAST(CASE WHEN condeferrable THEN 'YES' ELSE 'NO' END
+ AS yes_or_no) AS is_deferrable,
+ CAST(CASE WHEN condeferred THEN 'YES' ELSE 'NO' END
+ AS yes_or_no) AS initially_deferred
+ FROM pg_namespace rs, pg_namespace n, pg_constraint con, pg_type t
+ WHERE rs.oid = con.connamespace
+ AND n.oid = t.typnamespace
+ AND t.oid = con.contypid
+ AND (pg_has_role(t.typowner, 'USAGE')
+ OR has_type_privilege(t.oid, 'USAGE'));
+
+GRANT SELECT ON domain_constraints TO PUBLIC;
+
+
+/*
+ * DOMAIN_UDT_USAGE view
+ * apparently removed in SQL:2003
+ */
+
+CREATE VIEW domain_udt_usage AS
+ SELECT CAST(current_database() AS sql_identifier) AS udt_catalog,
+ CAST(nbt.nspname AS sql_identifier) AS udt_schema,
+ CAST(bt.typname AS sql_identifier) AS udt_name,
+ CAST(current_database() AS sql_identifier) AS domain_catalog,
+ CAST(nt.nspname AS sql_identifier) AS domain_schema,
+ CAST(t.typname AS sql_identifier) AS domain_name
+
+ FROM pg_type t, pg_namespace nt,
+ pg_type bt, pg_namespace nbt
+
+ WHERE t.typnamespace = nt.oid
+ AND t.typbasetype = bt.oid
+ AND bt.typnamespace = nbt.oid
+ AND t.typtype = 'd'
+ AND pg_has_role(bt.typowner, 'USAGE');
+
+GRANT SELECT ON domain_udt_usage TO PUBLIC;
+
+
+/*
+ * 6.30
+ * DOMAINS view
+ */
+
+CREATE VIEW domains AS
+ SELECT CAST(current_database() AS sql_identifier) AS domain_catalog,
+ CAST(nt.nspname AS sql_identifier) AS domain_schema,
+ CAST(t.typname AS sql_identifier) AS domain_name,
+
+ CAST(
+ CASE WHEN t.typelem <> 0 AND t.typlen = -1 THEN 'ARRAY'
+ WHEN nbt.nspname = 'pg_catalog' THEN format_type(t.typbasetype, null)
+ ELSE 'USER-DEFINED' END
+ AS character_data)
+ AS data_type,
+
+ CAST(
+ _pg_char_max_length(t.typbasetype, t.typtypmod)
+ AS cardinal_number)
+ AS character_maximum_length,
+
+ CAST(
+ _pg_char_octet_length(t.typbasetype, t.typtypmod)
+ AS cardinal_number)
+ AS character_octet_length,
+
+ CAST(null AS sql_identifier) AS character_set_catalog,
+ CAST(null AS sql_identifier) AS character_set_schema,
+ CAST(null AS sql_identifier) AS character_set_name,
+
+ CAST(CASE WHEN nco.nspname IS NOT NULL THEN current_database() END AS sql_identifier) AS collation_catalog,
+ CAST(nco.nspname AS sql_identifier) AS collation_schema,
+ CAST(co.collname AS sql_identifier) AS collation_name,
+
+ CAST(
+ _pg_numeric_precision(t.typbasetype, t.typtypmod)
+ AS cardinal_number)
+ AS numeric_precision,
+
+ CAST(
+ _pg_numeric_precision_radix(t.typbasetype, t.typtypmod)
+ AS cardinal_number)
+ AS numeric_precision_radix,
+
+ CAST(
+ _pg_numeric_scale(t.typbasetype, t.typtypmod)
+ AS cardinal_number)
+ AS numeric_scale,
+
+ CAST(
+ _pg_datetime_precision(t.typbasetype, t.typtypmod)
+ AS cardinal_number)
+ AS datetime_precision,
+
+ CAST(
+ _pg_interval_type(t.typbasetype, t.typtypmod)
+ AS character_data)
+ AS interval_type,
+ CAST(null AS cardinal_number) AS interval_precision,
+
+ CAST(t.typdefault AS character_data) AS domain_default,
+
+ CAST(current_database() AS sql_identifier) AS udt_catalog,
+ CAST(nbt.nspname AS sql_identifier) AS udt_schema,
+ CAST(bt.typname AS sql_identifier) AS udt_name,
+
+ CAST(null AS sql_identifier) AS scope_catalog,
+ CAST(null AS sql_identifier) AS scope_schema,
+ CAST(null AS sql_identifier) AS scope_name,
+
+ CAST(null AS cardinal_number) AS maximum_cardinality,
+ CAST(1 AS sql_identifier) AS dtd_identifier
+
+ FROM (pg_type t JOIN pg_namespace nt ON t.typnamespace = nt.oid)
+ JOIN (pg_type bt JOIN pg_namespace nbt ON bt.typnamespace = nbt.oid)
+ ON (t.typbasetype = bt.oid AND t.typtype = 'd')
+ LEFT JOIN (pg_collation co JOIN pg_namespace nco ON (co.collnamespace = nco.oid))
+ ON t.typcollation = co.oid AND (nco.nspname, co.collname) <> ('pg_catalog', 'default')
+
+ WHERE (pg_has_role(t.typowner, 'USAGE')
+ OR has_type_privilege(t.oid, 'USAGE'));
+
+GRANT SELECT ON domains TO PUBLIC;
+
+
+-- 6.31 ELEMENT_TYPES view appears later.
+
+
+/*
+ * 6.32
+ * ENABLED_ROLES view
+ */
+
+CREATE VIEW enabled_roles AS
+ SELECT CAST(a.rolname AS sql_identifier) AS role_name
+ FROM pg_authid a
+ WHERE pg_has_role(a.oid, 'USAGE');
+
+GRANT SELECT ON enabled_roles TO PUBLIC;
+
+
+/*
+ * 6.33
+ * FIELDS view
+ */
+
+-- feature not supported
+
+
+/*
+ * 6.34
+ * KEY_COLUMN_USAGE view
+ */
+
+CREATE VIEW key_column_usage AS
+ SELECT CAST(current_database() AS sql_identifier) AS constraint_catalog,
+ CAST(nc_nspname AS sql_identifier) AS constraint_schema,
+ CAST(conname AS sql_identifier) AS constraint_name,
+ CAST(current_database() AS sql_identifier) AS table_catalog,
+ CAST(nr_nspname AS sql_identifier) AS table_schema,
+ CAST(relname AS sql_identifier) AS table_name,
+ CAST(a.attname AS sql_identifier) AS column_name,
+ CAST((ss.x).n AS cardinal_number) AS ordinal_position,
+ CAST(CASE WHEN contype = 'f' THEN
+ _pg_index_position(ss.conindid, ss.confkey[(ss.x).n])
+ ELSE NULL
+ END AS cardinal_number)
+ AS position_in_unique_constraint
+ FROM pg_attribute a,
+ (SELECT r.oid AS roid, r.relname, r.relowner,
+ nc.nspname AS nc_nspname, nr.nspname AS nr_nspname,
+ c.oid AS coid, c.conname, c.contype, c.conindid,
+ c.confkey, c.confrelid,
+ _pg_expandarray(c.conkey) AS x
+ FROM pg_namespace nr, pg_class r, pg_namespace nc,
+ pg_constraint c
+ WHERE nr.oid = r.relnamespace
+ AND r.oid = c.conrelid
+ AND nc.oid = c.connamespace
+ AND c.contype IN ('p', 'u', 'f')
+ AND r.relkind IN ('r', 'p')
+ AND (NOT pg_is_other_temp_schema(nr.oid)) ) AS ss
+ WHERE ss.roid = a.attrelid
+ AND a.attnum = (ss.x).x
+ AND NOT a.attisdropped
+ AND (pg_has_role(relowner, 'USAGE')
+ OR has_column_privilege(roid, a.attnum,
+ 'SELECT, INSERT, UPDATE, REFERENCES'));
+
+GRANT SELECT ON key_column_usage TO PUBLIC;
+
+
+/*
+ * 6.35
+ * KEY_PERIOD_USAGE view
+ */
+
+-- feature not supported
+
+
+/*
+ * 6.36
+ * METHOD_SPECIFICATION_PARAMETERS view
+ */
+
+-- feature not supported
+
+
+/*
+ * 6.37
+ * METHOD_SPECIFICATIONS view
+ */
+
+-- feature not supported
+
+
+/*
+ * 6.38
+ * PARAMETERS view
+ */
+
+CREATE VIEW parameters AS
+ SELECT CAST(current_database() AS sql_identifier) AS specific_catalog,
+ CAST(n_nspname AS sql_identifier) AS specific_schema,
+ CAST(nameconcatoid(proname, p_oid) AS sql_identifier) AS specific_name,
+ CAST((ss.x).n AS cardinal_number) AS ordinal_position,
+ CAST(
+ CASE WHEN proargmodes IS NULL THEN 'IN'
+ WHEN proargmodes[(ss.x).n] = 'i' THEN 'IN'
+ WHEN proargmodes[(ss.x).n] = 'o' THEN 'OUT'
+ WHEN proargmodes[(ss.x).n] = 'b' THEN 'INOUT'
+ WHEN proargmodes[(ss.x).n] = 'v' THEN 'IN'
+ WHEN proargmodes[(ss.x).n] = 't' THEN 'OUT'
+ END AS character_data) AS parameter_mode,
+ CAST('NO' AS yes_or_no) AS is_result,
+ CAST('NO' AS yes_or_no) AS as_locator,
+ CAST(NULLIF(proargnames[(ss.x).n], '') AS sql_identifier) AS parameter_name,
+ CAST(
+ CASE WHEN t.typelem <> 0 AND t.typlen = -1 THEN 'ARRAY'
+ WHEN nt.nspname = 'pg_catalog' THEN format_type(t.oid, null)
+ ELSE 'USER-DEFINED' END AS character_data)
+ AS data_type,
+ CAST(null AS cardinal_number) AS character_maximum_length,
+ CAST(null AS cardinal_number) AS character_octet_length,
+ CAST(null AS sql_identifier) AS character_set_catalog,
+ CAST(null AS sql_identifier) AS character_set_schema,
+ CAST(null AS sql_identifier) AS character_set_name,
+ CAST(null AS sql_identifier) AS collation_catalog,
+ CAST(null AS sql_identifier) AS collation_schema,
+ CAST(null AS sql_identifier) AS collation_name,
+ CAST(null AS cardinal_number) AS numeric_precision,
+ CAST(null AS cardinal_number) AS numeric_precision_radix,
+ CAST(null AS cardinal_number) AS numeric_scale,
+ CAST(null AS cardinal_number) AS datetime_precision,
+ CAST(null AS character_data) AS interval_type,
+ CAST(null AS cardinal_number) AS interval_precision,
+ CAST(current_database() AS sql_identifier) AS udt_catalog,
+ CAST(nt.nspname AS sql_identifier) AS udt_schema,
+ CAST(t.typname AS sql_identifier) AS udt_name,
+ CAST(null AS sql_identifier) AS scope_catalog,
+ CAST(null AS sql_identifier) AS scope_schema,
+ CAST(null AS sql_identifier) AS scope_name,
+ CAST(null AS cardinal_number) AS maximum_cardinality,
+ CAST((ss.x).n AS sql_identifier) AS dtd_identifier,
+ CAST(
+ CASE WHEN pg_has_role(proowner, 'USAGE')
+ THEN pg_get_function_arg_default(p_oid, (ss.x).n)
+ ELSE NULL END
+ AS character_data) AS parameter_default
+
+ FROM pg_type t, pg_namespace nt,
+ (SELECT n.nspname AS n_nspname, p.proname, p.oid AS p_oid, p.proowner,
+ p.proargnames, p.proargmodes,
+ _pg_expandarray(coalesce(p.proallargtypes, p.proargtypes::oid[])) AS x
+ FROM pg_namespace n, pg_proc p
+ WHERE n.oid = p.pronamespace
+ AND (pg_has_role(p.proowner, 'USAGE') OR
+ has_function_privilege(p.oid, 'EXECUTE'))) AS ss
+ WHERE t.oid = (ss.x).x AND t.typnamespace = nt.oid;
+
+GRANT SELECT ON parameters TO PUBLIC;
+
+
+/*
+ * 6.39
+ * PERIODS view
+ */
+
+-- feature not supported
+
+
+/*
+ * 6.40
+ * PRIVATE_PARAMETERS view
+ */
+
+-- feature not supported
+
+
+/*
+ * 6.41
+ * REFERENCED_TYPES view
+ */
+
+-- feature not supported
+
+
+/*
+ * 6.42
+ * REFERENTIAL_CONSTRAINTS view
+ */
+
+CREATE VIEW referential_constraints AS
+ SELECT CAST(current_database() AS sql_identifier) AS constraint_catalog,
+ CAST(ncon.nspname AS sql_identifier) AS constraint_schema,
+ CAST(con.conname AS sql_identifier) AS constraint_name,
+ CAST(
+ CASE WHEN npkc.nspname IS NULL THEN NULL
+ ELSE current_database() END
+ AS sql_identifier) AS unique_constraint_catalog,
+ CAST(npkc.nspname AS sql_identifier) AS unique_constraint_schema,
+ CAST(pkc.conname AS sql_identifier) AS unique_constraint_name,
+
+ CAST(
+ CASE con.confmatchtype WHEN 'f' THEN 'FULL'
+ WHEN 'p' THEN 'PARTIAL'
+ WHEN 's' THEN 'NONE' END
+ AS character_data) AS match_option,
+
+ CAST(
+ CASE con.confupdtype WHEN 'c' THEN 'CASCADE'
+ WHEN 'n' THEN 'SET NULL'
+ WHEN 'd' THEN 'SET DEFAULT'
+ WHEN 'r' THEN 'RESTRICT'
+ WHEN 'a' THEN 'NO ACTION' END
+ AS character_data) AS update_rule,
+
+ CAST(
+ CASE con.confdeltype WHEN 'c' THEN 'CASCADE'
+ WHEN 'n' THEN 'SET NULL'
+ WHEN 'd' THEN 'SET DEFAULT'
+ WHEN 'r' THEN 'RESTRICT'
+ WHEN 'a' THEN 'NO ACTION' END
+ AS character_data) AS delete_rule
+
+ FROM (pg_namespace ncon
+ INNER JOIN pg_constraint con ON ncon.oid = con.connamespace
+ INNER JOIN pg_class c ON con.conrelid = c.oid AND con.contype = 'f')
+ LEFT JOIN pg_depend d1 -- find constraint's dependency on an index
+ ON d1.objid = con.oid AND d1.classid = 'pg_constraint'::regclass
+ AND d1.refclassid = 'pg_class'::regclass AND d1.refobjsubid = 0
+ LEFT JOIN pg_depend d2 -- find pkey/unique constraint for that index
+ ON d2.refclassid = 'pg_constraint'::regclass
+ AND d2.classid = 'pg_class'::regclass
+ AND d2.objid = d1.refobjid AND d2.objsubid = 0
+ AND d2.deptype = 'i'
+ LEFT JOIN pg_constraint pkc ON pkc.oid = d2.refobjid
+ AND pkc.contype IN ('p', 'u')
+ AND pkc.conrelid = con.confrelid
+ LEFT JOIN pg_namespace npkc ON pkc.connamespace = npkc.oid
+
+ WHERE pg_has_role(c.relowner, 'USAGE')
+ -- SELECT privilege omitted, per SQL standard
+ OR has_table_privilege(c.oid, 'INSERT, UPDATE, DELETE, TRUNCATE, REFERENCES, TRIGGER')
+ OR has_any_column_privilege(c.oid, 'INSERT, UPDATE, REFERENCES') ;
+
+GRANT SELECT ON referential_constraints TO PUBLIC;
+
+
+/*
+ * 6.43
+ * ROLE_COLUMN_GRANTS view
+ */
+
+CREATE VIEW role_column_grants AS
+ SELECT grantor,
+ grantee,
+ table_catalog,
+ table_schema,
+ table_name,
+ column_name,
+ privilege_type,
+ is_grantable
+ FROM column_privileges
+ WHERE grantor IN (SELECT role_name FROM enabled_roles)
+ OR grantee IN (SELECT role_name FROM enabled_roles);
+
+GRANT SELECT ON role_column_grants TO PUBLIC;
+
+
+-- 6.44 ROLE_ROUTINE_GRANTS view is based on 6.51 ROUTINE_PRIVILEGES and is defined there instead.
+
+
+-- 6.45 ROLE_TABLE_GRANTS view is based on 6.64 TABLE_PRIVILEGES and is defined there instead.
+
+
+/*
+ * 6.46
+ * ROLE_TABLE_METHOD_GRANTS view
+ */
+
+-- feature not supported
+
+
+
+-- 6.47 ROLE_USAGE_GRANTS view is based on 6.76 USAGE_PRIVILEGES and is defined there instead.
+
+
+-- 6.48 ROLE_UDT_GRANTS view is based on 6.75 UDT_PRIVILEGES and is defined there instead.
+
+
+/*
+ * 6.49
+ * ROUTINE_COLUMN_USAGE view
+ */
+
+CREATE VIEW routine_column_usage AS
+ SELECT DISTINCT
+ CAST(current_database() AS sql_identifier) AS specific_catalog,
+ CAST(np.nspname AS sql_identifier) AS specific_schema,
+ CAST(nameconcatoid(p.proname, p.oid) AS sql_identifier) AS specific_name,
+ CAST(current_database() AS sql_identifier) AS routine_catalog,
+ CAST(np.nspname AS sql_identifier) AS routine_schema,
+ CAST(p.proname AS sql_identifier) AS routine_name,
+ CAST(current_database() AS sql_identifier) AS table_catalog,
+ CAST(nt.nspname AS sql_identifier) AS table_schema,
+ CAST(t.relname AS sql_identifier) AS table_name,
+ CAST(a.attname AS sql_identifier) AS column_name
+
+ FROM pg_namespace np, pg_proc p, pg_depend d,
+ pg_class t, pg_namespace nt, pg_attribute a
+
+ WHERE np.oid = p.pronamespace
+ AND p.oid = d.objid
+ AND d.classid = 'pg_catalog.pg_proc'::regclass
+ AND d.refobjid = t.oid
+ AND d.refclassid = 'pg_catalog.pg_class'::regclass
+ AND t.relnamespace = nt.oid
+ AND t.relkind IN ('r', 'v', 'f', 'p')
+ AND t.oid = a.attrelid
+ AND d.refobjsubid = a.attnum
+ AND pg_has_role(t.relowner, 'USAGE');
+
+GRANT SELECT ON routine_column_usage TO PUBLIC;
+
+
+/*
+ * 6.50
+ * ROUTINE_PERIOD_USAGE view
+ */
+
+-- feature not supported
+
+
+/*
+ * 6.51
+ * ROUTINE_PRIVILEGES view
+ */
+
+CREATE VIEW routine_privileges AS
+ SELECT CAST(u_grantor.rolname AS sql_identifier) AS grantor,
+ CAST(grantee.rolname AS sql_identifier) AS grantee,
+ CAST(current_database() AS sql_identifier) AS specific_catalog,
+ CAST(n.nspname AS sql_identifier) AS specific_schema,
+ CAST(nameconcatoid(p.proname, p.oid) AS sql_identifier) AS specific_name,
+ CAST(current_database() AS sql_identifier) AS routine_catalog,
+ CAST(n.nspname AS sql_identifier) AS routine_schema,
+ CAST(p.proname AS sql_identifier) AS routine_name,
+ CAST('EXECUTE' AS character_data) AS privilege_type,
+ CAST(
+ CASE WHEN
+ -- object owner always has grant options
+ pg_has_role(grantee.oid, p.proowner, 'USAGE')
+ OR p.grantable
+ THEN 'YES' ELSE 'NO' END AS yes_or_no) AS is_grantable
+
+ FROM (
+ SELECT oid, proname, proowner, pronamespace, (aclexplode(coalesce(proacl, acldefault('f', proowner)))).* FROM pg_proc
+ ) p (oid, proname, proowner, pronamespace, grantor, grantee, prtype, grantable),
+ pg_namespace n,
+ pg_authid u_grantor,
+ (
+ SELECT oid, rolname FROM pg_authid
+ UNION ALL
+ SELECT 0::oid, 'PUBLIC'
+ ) AS grantee (oid, rolname)
+
+ WHERE p.pronamespace = n.oid
+ AND grantee.oid = p.grantee
+ AND u_grantor.oid = p.grantor
+ AND p.prtype IN ('EXECUTE')
+ AND (pg_has_role(u_grantor.oid, 'USAGE')
+ OR pg_has_role(grantee.oid, 'USAGE')
+ OR grantee.rolname = 'PUBLIC');
+
+GRANT SELECT ON routine_privileges TO PUBLIC;
+
+
+/*
+ * 6.43
+ * ROLE_ROUTINE_GRANTS view
+ */
+
+CREATE VIEW role_routine_grants AS
+ SELECT grantor,
+ grantee,
+ specific_catalog,
+ specific_schema,
+ specific_name,
+ routine_catalog,
+ routine_schema,
+ routine_name,
+ privilege_type,
+ is_grantable
+ FROM routine_privileges
+ WHERE grantor IN (SELECT role_name FROM enabled_roles)
+ OR grantee IN (SELECT role_name FROM enabled_roles);
+
+GRANT SELECT ON role_routine_grants TO PUBLIC;
+
+
+/*
+ * 6.52
+ * ROUTINE_ROUTINE_USAGE view
+ */
+
+CREATE VIEW routine_routine_usage AS
+ SELECT DISTINCT
+ CAST(current_database() AS sql_identifier) AS specific_catalog,
+ CAST(np.nspname AS sql_identifier) AS specific_schema,
+ CAST(nameconcatoid(p.proname, p.oid) AS sql_identifier) AS specific_name,
+ CAST(current_database() AS sql_identifier) AS routine_catalog,
+ CAST(np1.nspname AS sql_identifier) AS routine_schema,
+ CAST(nameconcatoid(p1.proname, p1.oid) AS sql_identifier) AS routine_name
+
+ FROM pg_namespace np, pg_proc p, pg_depend d,
+ pg_proc p1, pg_namespace np1
+
+ WHERE np.oid = p.pronamespace
+ AND p.oid = d.objid
+ AND d.classid = 'pg_catalog.pg_proc'::regclass
+ AND d.refobjid = p1.oid
+ AND d.refclassid = 'pg_catalog.pg_proc'::regclass
+ AND p1.pronamespace = np1.oid
+ AND p.prokind IN ('f', 'p') AND p1.prokind IN ('f', 'p')
+ AND pg_has_role(p1.proowner, 'USAGE');
+
+GRANT SELECT ON routine_routine_usage TO PUBLIC;
+
+
+/*
+ * 6.53
+ * ROUTINE_SEQUENCE_USAGE view
+ */
+
+CREATE VIEW routine_sequence_usage AS
+ SELECT DISTINCT
+ CAST(current_database() AS sql_identifier) AS specific_catalog,
+ CAST(np.nspname AS sql_identifier) AS specific_schema,
+ CAST(nameconcatoid(p.proname, p.oid) AS sql_identifier) AS specific_name,
+ CAST(current_database() AS sql_identifier) AS routine_catalog,
+ CAST(np.nspname AS sql_identifier) AS routine_schema,
+ CAST(p.proname AS sql_identifier) AS routine_name,
+ CAST(current_database() AS sql_identifier) AS sequence_catalog,
+ CAST(ns.nspname AS sql_identifier) AS sequence_schema,
+ CAST(s.relname AS sql_identifier) AS sequence_name
+
+ FROM pg_namespace np, pg_proc p, pg_depend d,
+ pg_class s, pg_namespace ns
+
+ WHERE np.oid = p.pronamespace
+ AND p.oid = d.objid
+ AND d.classid = 'pg_catalog.pg_proc'::regclass
+ AND d.refobjid = s.oid
+ AND d.refclassid = 'pg_catalog.pg_class'::regclass
+ AND s.relnamespace = ns.oid
+ AND s.relkind = 'S'
+ AND pg_has_role(s.relowner, 'USAGE');
+
+GRANT SELECT ON routine_sequence_usage TO PUBLIC;
+
+
+/*
+ * 6.54
+ * ROUTINE_TABLE_USAGE view
+ */
+
+CREATE VIEW routine_table_usage AS
+ SELECT DISTINCT
+ CAST(current_database() AS sql_identifier) AS specific_catalog,
+ CAST(np.nspname AS sql_identifier) AS specific_schema,
+ CAST(nameconcatoid(p.proname, p.oid) AS sql_identifier) AS specific_name,
+ CAST(current_database() AS sql_identifier) AS routine_catalog,
+ CAST(np.nspname AS sql_identifier) AS routine_schema,
+ CAST(p.proname AS sql_identifier) AS routine_name,
+ CAST(current_database() AS sql_identifier) AS table_catalog,
+ CAST(nt.nspname AS sql_identifier) AS table_schema,
+ CAST(t.relname AS sql_identifier) AS table_name
+
+ FROM pg_namespace np, pg_proc p, pg_depend d,
+ pg_class t, pg_namespace nt
+
+ WHERE np.oid = p.pronamespace
+ AND p.oid = d.objid
+ AND d.classid = 'pg_catalog.pg_proc'::regclass
+ AND d.refobjid = t.oid
+ AND d.refclassid = 'pg_catalog.pg_class'::regclass
+ AND t.relnamespace = nt.oid
+ AND t.relkind IN ('r', 'v', 'f', 'p')
+ AND pg_has_role(t.relowner, 'USAGE');
+
+GRANT SELECT ON routine_table_usage TO PUBLIC;
+
+
+/*
+ * 6.55
+ * ROUTINES view
+ */
+
+CREATE VIEW routines AS
+ SELECT CAST(current_database() AS sql_identifier) AS specific_catalog,
+ CAST(n.nspname AS sql_identifier) AS specific_schema,
+ CAST(nameconcatoid(p.proname, p.oid) AS sql_identifier) AS specific_name,
+ CAST(current_database() AS sql_identifier) AS routine_catalog,
+ CAST(n.nspname AS sql_identifier) AS routine_schema,
+ CAST(p.proname AS sql_identifier) AS routine_name,
+ CAST(CASE p.prokind WHEN 'f' THEN 'FUNCTION' WHEN 'p' THEN 'PROCEDURE' END
+ AS character_data) AS routine_type,
+ CAST(null AS sql_identifier) AS module_catalog,
+ CAST(null AS sql_identifier) AS module_schema,
+ CAST(null AS sql_identifier) AS module_name,
+ CAST(null AS sql_identifier) AS udt_catalog,
+ CAST(null AS sql_identifier) AS udt_schema,
+ CAST(null AS sql_identifier) AS udt_name,
+
+ CAST(
+ CASE WHEN p.prokind = 'p' THEN NULL
+ WHEN t.typelem <> 0 AND t.typlen = -1 THEN 'ARRAY'
+ WHEN nt.nspname = 'pg_catalog' THEN format_type(t.oid, null)
+ ELSE 'USER-DEFINED' END AS character_data)
+ AS data_type,
+ CAST(null AS cardinal_number) AS character_maximum_length,
+ CAST(null AS cardinal_number) AS character_octet_length,
+ CAST(null AS sql_identifier) AS character_set_catalog,
+ CAST(null AS sql_identifier) AS character_set_schema,
+ CAST(null AS sql_identifier) AS character_set_name,
+ CAST(null AS sql_identifier) AS collation_catalog,
+ CAST(null AS sql_identifier) AS collation_schema,
+ CAST(null AS sql_identifier) AS collation_name,
+ CAST(null AS cardinal_number) AS numeric_precision,
+ CAST(null AS cardinal_number) AS numeric_precision_radix,
+ CAST(null AS cardinal_number) AS numeric_scale,
+ CAST(null AS cardinal_number) AS datetime_precision,
+ CAST(null AS character_data) AS interval_type,
+ CAST(null AS cardinal_number) AS interval_precision,
+ CAST(CASE WHEN nt.nspname IS NOT NULL THEN current_database() END AS sql_identifier) AS type_udt_catalog,
+ CAST(nt.nspname AS sql_identifier) AS type_udt_schema,
+ CAST(t.typname AS sql_identifier) AS type_udt_name,
+ CAST(null AS sql_identifier) AS scope_catalog,
+ CAST(null AS sql_identifier) AS scope_schema,
+ CAST(null AS sql_identifier) AS scope_name,
+ CAST(null AS cardinal_number) AS maximum_cardinality,
+ CAST(CASE WHEN p.prokind <> 'p' THEN 0 END AS sql_identifier) AS dtd_identifier,
+
+ CAST(CASE WHEN l.lanname = 'sql' THEN 'SQL' ELSE 'EXTERNAL' END AS character_data)
+ AS routine_body,
+ CAST(
+ CASE WHEN pg_has_role(p.proowner, 'USAGE') THEN p.prosrc ELSE null END
+ AS character_data) AS routine_definition,
+ CAST(
+ CASE WHEN l.lanname = 'c' THEN p.prosrc ELSE null END
+ AS character_data) AS external_name,
+ CAST(upper(l.lanname) AS character_data) AS external_language,
+
+ CAST('GENERAL' AS character_data) AS parameter_style,
+ CAST(CASE WHEN p.provolatile = 'i' THEN 'YES' ELSE 'NO' END AS yes_or_no) AS is_deterministic,
+ CAST('MODIFIES' AS character_data) AS sql_data_access,
+ CAST(CASE WHEN p.prokind <> 'p' THEN
+ CASE WHEN p.proisstrict THEN 'YES' ELSE 'NO' END END AS yes_or_no) AS is_null_call,
+ CAST(null AS character_data) AS sql_path,
+ CAST('YES' AS yes_or_no) AS schema_level_routine,
+ CAST(0 AS cardinal_number) AS max_dynamic_result_sets,
+ CAST(null AS yes_or_no) AS is_user_defined_cast,
+ CAST(null AS yes_or_no) AS is_implicitly_invocable,
+ CAST(CASE WHEN p.prosecdef THEN 'DEFINER' ELSE 'INVOKER' END AS character_data) AS security_type,
+ CAST(null AS sql_identifier) AS to_sql_specific_catalog,
+ CAST(null AS sql_identifier) AS to_sql_specific_schema,
+ CAST(null AS sql_identifier) AS to_sql_specific_name,
+ CAST('NO' AS yes_or_no) AS as_locator,
+ CAST(null AS time_stamp) AS created,
+ CAST(null AS time_stamp) AS last_altered,
+ CAST(null AS yes_or_no) AS new_savepoint_level,
+ CAST('NO' AS yes_or_no) AS is_udt_dependent,
+
+ CAST(null AS character_data) AS result_cast_from_data_type,
+ CAST(null AS yes_or_no) AS result_cast_as_locator,
+ CAST(null AS cardinal_number) AS result_cast_char_max_length,
+ CAST(null AS cardinal_number) AS result_cast_char_octet_length,
+ CAST(null AS sql_identifier) AS result_cast_char_set_catalog,
+ CAST(null AS sql_identifier) AS result_cast_char_set_schema,
+ CAST(null AS sql_identifier) AS result_cast_char_set_name,
+ CAST(null AS sql_identifier) AS result_cast_collation_catalog,
+ CAST(null AS sql_identifier) AS result_cast_collation_schema,
+ CAST(null AS sql_identifier) AS result_cast_collation_name,
+ CAST(null AS cardinal_number) AS result_cast_numeric_precision,
+ CAST(null AS cardinal_number) AS result_cast_numeric_precision_radix,
+ CAST(null AS cardinal_number) AS result_cast_numeric_scale,
+ CAST(null AS cardinal_number) AS result_cast_datetime_precision,
+ CAST(null AS character_data) AS result_cast_interval_type,
+ CAST(null AS cardinal_number) AS result_cast_interval_precision,
+ CAST(null AS sql_identifier) AS result_cast_type_udt_catalog,
+ CAST(null AS sql_identifier) AS result_cast_type_udt_schema,
+ CAST(null AS sql_identifier) AS result_cast_type_udt_name,
+ CAST(null AS sql_identifier) AS result_cast_scope_catalog,
+ CAST(null AS sql_identifier) AS result_cast_scope_schema,
+ CAST(null AS sql_identifier) AS result_cast_scope_name,
+ CAST(null AS cardinal_number) AS result_cast_maximum_cardinality,
+ CAST(null AS sql_identifier) AS result_cast_dtd_identifier
+
+ FROM (pg_namespace n
+ JOIN pg_proc p ON n.oid = p.pronamespace
+ JOIN pg_language l ON p.prolang = l.oid)
+ LEFT JOIN
+ (pg_type t JOIN pg_namespace nt ON t.typnamespace = nt.oid)
+ ON p.prorettype = t.oid AND p.prokind <> 'p'
+
+ WHERE (pg_has_role(p.proowner, 'USAGE')
+ OR has_function_privilege(p.oid, 'EXECUTE'));
+
+GRANT SELECT ON routines TO PUBLIC;
+
+
+/*
+ * 6.56
+ * SCHEMATA view
+ */
+
+CREATE VIEW schemata AS
+ SELECT CAST(current_database() AS sql_identifier) AS catalog_name,
+ CAST(n.nspname AS sql_identifier) AS schema_name,
+ CAST(u.rolname AS sql_identifier) AS schema_owner,
+ CAST(null AS sql_identifier) AS default_character_set_catalog,
+ CAST(null AS sql_identifier) AS default_character_set_schema,
+ CAST(null AS sql_identifier) AS default_character_set_name,
+ CAST(null AS character_data) AS sql_path
+ FROM pg_namespace n, pg_authid u
+ WHERE n.nspowner = u.oid
+ AND (pg_has_role(n.nspowner, 'USAGE')
+ OR has_schema_privilege(n.oid, 'CREATE, USAGE'));
+
+GRANT SELECT ON schemata TO PUBLIC;
+
+
+/*
+ * 6.57
+ * SEQUENCES view
+ */
+
+CREATE VIEW sequences AS
+ SELECT CAST(current_database() AS sql_identifier) AS sequence_catalog,
+ CAST(nc.nspname AS sql_identifier) AS sequence_schema,
+ CAST(c.relname AS sql_identifier) AS sequence_name,
+ CAST(format_type(s.seqtypid, null) AS character_data) AS data_type,
+ CAST(_pg_numeric_precision(s.seqtypid, -1) AS cardinal_number) AS numeric_precision,
+ CAST(2 AS cardinal_number) AS numeric_precision_radix,
+ CAST(0 AS cardinal_number) AS numeric_scale,
+ CAST(s.seqstart AS character_data) AS start_value,
+ CAST(s.seqmin AS character_data) AS minimum_value,
+ CAST(s.seqmax AS character_data) AS maximum_value,
+ CAST(s.seqincrement AS character_data) AS increment,
+ CAST(CASE WHEN s.seqcycle THEN 'YES' ELSE 'NO' END AS yes_or_no) AS cycle_option
+ FROM pg_namespace nc, pg_class c, pg_sequence s
+ WHERE c.relnamespace = nc.oid
+ AND c.relkind = 'S'
+ AND NOT EXISTS (SELECT 1 FROM pg_depend WHERE classid = 'pg_class'::regclass AND objid = c.oid AND deptype = 'i')
+ AND (NOT pg_is_other_temp_schema(nc.oid))
+ AND c.oid = s.seqrelid
+ AND (pg_has_role(c.relowner, 'USAGE')
+ OR has_sequence_privilege(c.oid, 'SELECT, UPDATE, USAGE') );
+
+GRANT SELECT ON sequences TO PUBLIC;
+
+
+/*
+ * 6.58
+ * SQL_FEATURES table
+ */
+
+CREATE TABLE sql_features (
+ feature_id character_data,
+ feature_name character_data,
+ sub_feature_id character_data,
+ sub_feature_name character_data,
+ is_supported yes_or_no,
+ is_verified_by character_data,
+ comments character_data
+);
+
+-- Will be filled with external data by initdb.
+
+GRANT SELECT ON sql_features TO PUBLIC;
+
+
+/*
+ * 6.59
+ * SQL_IMPLEMENTATION_INFO table
+ */
+
+CREATE TABLE sql_implementation_info (
+ implementation_info_id character_data,
+ implementation_info_name character_data,
+ integer_value cardinal_number,
+ character_value character_data,
+ comments character_data
+);
+
+INSERT INTO sql_implementation_info VALUES ('10003', 'CATALOG NAME', NULL, 'Y', NULL);
+INSERT INTO sql_implementation_info VALUES ('10004', 'COLLATING SEQUENCE', NULL, (SELECT default_collate_name FROM character_sets), NULL);
+INSERT INTO sql_implementation_info VALUES ('23', 'CURSOR COMMIT BEHAVIOR', 1, NULL, 'close cursors and retain prepared statements');
+INSERT INTO sql_implementation_info VALUES ('2', 'DATA SOURCE NAME', NULL, '', NULL);
+INSERT INTO sql_implementation_info VALUES ('17', 'DBMS NAME', NULL, (select trim(trailing ' ' from substring(version() from '^[^0-9]*'))), NULL);
+INSERT INTO sql_implementation_info VALUES ('18', 'DBMS VERSION', NULL, '???', NULL); -- filled by initdb
+INSERT INTO sql_implementation_info VALUES ('26', 'DEFAULT TRANSACTION ISOLATION', 2, NULL, 'READ COMMITTED; user-settable');
+INSERT INTO sql_implementation_info VALUES ('28', 'IDENTIFIER CASE', 3, NULL, 'stored in mixed case - case sensitive');
+INSERT INTO sql_implementation_info VALUES ('85', 'NULL COLLATION', 0, NULL, 'nulls higher than non-nulls');
+INSERT INTO sql_implementation_info VALUES ('13', 'SERVER NAME', NULL, '', NULL);
+INSERT INTO sql_implementation_info VALUES ('94', 'SPECIAL CHARACTERS', NULL, '', 'all non-ASCII characters allowed');
+INSERT INTO sql_implementation_info VALUES ('46', 'TRANSACTION CAPABLE', 2, NULL, 'both DML and DDL');
+
+GRANT SELECT ON sql_implementation_info TO PUBLIC;
+
+
+/*
+ * 6.60
+ * SQL_PARTS table
+ */
+
+CREATE TABLE sql_parts (
+ feature_id character_data,
+ feature_name character_data,
+ is_supported yes_or_no,
+ is_verified_by character_data,
+ comments character_data
+);
+
+INSERT INTO sql_parts VALUES ('1', 'Framework (SQL/Framework)', 'NO', NULL, '');
+INSERT INTO sql_parts VALUES ('2', 'Foundation (SQL/Foundation)', 'NO', NULL, '');
+INSERT INTO sql_parts VALUES ('3', 'Call-Level Interface (SQL/CLI)', 'NO', NULL, '');
+INSERT INTO sql_parts VALUES ('4', 'Persistent Stored Modules (SQL/PSM)', 'NO', NULL, '');
+INSERT INTO sql_parts VALUES ('9', 'Management of External Data (SQL/MED)', 'NO', NULL, '');
+INSERT INTO sql_parts VALUES ('10', 'Object Language Bindings (SQL/OLB)', 'NO', NULL, '');
+INSERT INTO sql_parts VALUES ('11', 'Information and Definition Schema (SQL/Schemata)', 'NO', NULL, '');
+INSERT INTO sql_parts VALUES ('13', 'Routines and Types Using the Java Programming Language (SQL/JRT)', 'NO', NULL, '');
+INSERT INTO sql_parts VALUES ('14', 'XML-Related Specifications (SQL/XML)', 'NO', NULL, '');
+INSERT INTO sql_parts VALUES ('15', 'Multi-Dimensional Arrays (SQL/MDA)', 'NO', NULL, '');
+INSERT INTO sql_parts VALUES ('16', 'Property Graph Queries (SQL/PGQ)', 'NO', NULL, '');
+
+
+/*
+ * 6.61
+ * SQL_SIZING table
+ */
+
+CREATE TABLE sql_sizing (
+ sizing_id cardinal_number,
+ sizing_name character_data,
+ supported_value cardinal_number,
+ comments character_data
+);
+
+INSERT INTO sql_sizing VALUES (34, 'MAXIMUM CATALOG NAME LENGTH', 63, NULL);
+INSERT INTO sql_sizing VALUES (30, 'MAXIMUM COLUMN NAME LENGTH', 63, NULL);
+INSERT INTO sql_sizing VALUES (97, 'MAXIMUM COLUMNS IN GROUP BY', 0, NULL);
+INSERT INTO sql_sizing VALUES (99, 'MAXIMUM COLUMNS IN ORDER BY', 0, NULL);
+INSERT INTO sql_sizing VALUES (100, 'MAXIMUM COLUMNS IN SELECT', 1664, NULL); -- match MaxTupleAttributeNumber
+INSERT INTO sql_sizing VALUES (101, 'MAXIMUM COLUMNS IN TABLE', 1600, NULL); -- match MaxHeapAttributeNumber
+INSERT INTO sql_sizing VALUES (1, 'MAXIMUM CONCURRENT ACTIVITIES', 0, NULL);
+INSERT INTO sql_sizing VALUES (31, 'MAXIMUM CURSOR NAME LENGTH', 63, NULL);
+INSERT INTO sql_sizing VALUES (0, 'MAXIMUM DRIVER CONNECTIONS', NULL, NULL);
+INSERT INTO sql_sizing VALUES (10005, 'MAXIMUM IDENTIFIER LENGTH', 63, NULL);
+INSERT INTO sql_sizing VALUES (32, 'MAXIMUM SCHEMA NAME LENGTH', 63, NULL);
+INSERT INTO sql_sizing VALUES (20000, 'MAXIMUM STATEMENT OCTETS', 0, NULL);
+INSERT INTO sql_sizing VALUES (20001, 'MAXIMUM STATEMENT OCTETS DATA', 0, NULL);
+INSERT INTO sql_sizing VALUES (20002, 'MAXIMUM STATEMENT OCTETS SCHEMA', 0, NULL);
+INSERT INTO sql_sizing VALUES (35, 'MAXIMUM TABLE NAME LENGTH', 63, NULL);
+INSERT INTO sql_sizing VALUES (106, 'MAXIMUM TABLES IN SELECT', 0, NULL);
+INSERT INTO sql_sizing VALUES (107, 'MAXIMUM USER NAME LENGTH', 63, NULL);
+INSERT INTO sql_sizing VALUES (25000, 'MAXIMUM CURRENT DEFAULT TRANSFORM GROUP LENGTH', NULL, NULL);
+INSERT INTO sql_sizing VALUES (25001, 'MAXIMUM CURRENT TRANSFORM GROUP LENGTH', NULL, NULL);
+INSERT INTO sql_sizing VALUES (25002, 'MAXIMUM CURRENT PATH LENGTH', 0, NULL);
+INSERT INTO sql_sizing VALUES (25003, 'MAXIMUM CURRENT ROLE LENGTH', NULL, NULL);
+INSERT INTO sql_sizing VALUES (25004, 'MAXIMUM SESSION USER LENGTH', 63, NULL);
+INSERT INTO sql_sizing VALUES (25005, 'MAXIMUM SYSTEM USER LENGTH', 63, NULL);
+
+UPDATE sql_sizing
+ SET supported_value = (SELECT typlen-1 FROM pg_catalog.pg_type WHERE typname = 'name'),
+ comments = 'Might be less, depending on character set.'
+ WHERE supported_value = 63;
+
+GRANT SELECT ON sql_sizing TO PUBLIC;
+
+
+/*
+ * 6.62
+ * TABLE_CONSTRAINTS view
+ */
+
+CREATE VIEW table_constraints AS
+ SELECT CAST(current_database() AS sql_identifier) AS constraint_catalog,
+ CAST(nc.nspname AS sql_identifier) AS constraint_schema,
+ CAST(c.conname AS sql_identifier) AS constraint_name,
+ CAST(current_database() AS sql_identifier) AS table_catalog,
+ CAST(nr.nspname AS sql_identifier) AS table_schema,
+ CAST(r.relname AS sql_identifier) AS table_name,
+ CAST(
+ CASE c.contype WHEN 'c' THEN 'CHECK'
+ WHEN 'f' THEN 'FOREIGN KEY'
+ WHEN 'p' THEN 'PRIMARY KEY'
+ WHEN 'u' THEN 'UNIQUE' END
+ AS character_data) AS constraint_type,
+ CAST(CASE WHEN c.condeferrable THEN 'YES' ELSE 'NO' END AS yes_or_no)
+ AS is_deferrable,
+ CAST(CASE WHEN c.condeferred THEN 'YES' ELSE 'NO' END AS yes_or_no)
+ AS initially_deferred,
+ CAST('YES' AS yes_or_no) AS enforced,
+ CAST(CASE WHEN c.contype = 'u'
+ THEN CASE WHEN (SELECT NOT indnullsnotdistinct FROM pg_index WHERE indexrelid = conindid) THEN 'YES' ELSE 'NO' END
+ END
+ AS yes_or_no) AS nulls_distinct
+
+ FROM pg_namespace nc,
+ pg_namespace nr,
+ pg_constraint c,
+ pg_class r
+
+ WHERE nc.oid = c.connamespace AND nr.oid = r.relnamespace
+ AND c.conrelid = r.oid
+ AND c.contype NOT IN ('t', 'x') -- ignore nonstandard constraints
+ AND r.relkind IN ('r', 'p')
+ AND (NOT pg_is_other_temp_schema(nr.oid))
+ AND (pg_has_role(r.relowner, 'USAGE')
+ -- SELECT privilege omitted, per SQL standard
+ OR has_table_privilege(r.oid, 'INSERT, UPDATE, DELETE, TRUNCATE, REFERENCES, TRIGGER')
+ OR has_any_column_privilege(r.oid, 'INSERT, UPDATE, REFERENCES') )
+
+ UNION ALL
+
+ -- not-null constraints
+
+ SELECT CAST(current_database() AS sql_identifier) AS constraint_catalog,
+ CAST(nr.nspname AS sql_identifier) AS constraint_schema,
+ CAST(CAST(nr.oid AS text) || '_' || CAST(r.oid AS text) || '_' || CAST(a.attnum AS text) || '_not_null' AS sql_identifier) AS constraint_name, -- XXX
+ CAST(current_database() AS sql_identifier) AS table_catalog,
+ CAST(nr.nspname AS sql_identifier) AS table_schema,
+ CAST(r.relname AS sql_identifier) AS table_name,
+ CAST('CHECK' AS character_data) AS constraint_type,
+ CAST('NO' AS yes_or_no) AS is_deferrable,
+ CAST('NO' AS yes_or_no) AS initially_deferred,
+ CAST('YES' AS yes_or_no) AS enforced,
+ CAST(NULL AS yes_or_no) AS nulls_distinct
+
+ FROM pg_namespace nr,
+ pg_class r,
+ pg_attribute a
+
+ WHERE nr.oid = r.relnamespace
+ AND r.oid = a.attrelid
+ AND a.attnotnull
+ AND a.attnum > 0
+ AND NOT a.attisdropped
+ AND r.relkind IN ('r', 'p')
+ AND (NOT pg_is_other_temp_schema(nr.oid))
+ AND (pg_has_role(r.relowner, 'USAGE')
+ -- SELECT privilege omitted, per SQL standard
+ OR has_table_privilege(r.oid, 'INSERT, UPDATE, DELETE, TRUNCATE, REFERENCES, TRIGGER')
+ OR has_any_column_privilege(r.oid, 'INSERT, UPDATE, REFERENCES') );
+
+GRANT SELECT ON table_constraints TO PUBLIC;
+
+
+/*
+ * 6.63
+ * TABLE_METHOD_PRIVILEGES view
+ */
+
+-- feature not supported
+
+
+/*
+ * 6.64
+ * TABLE_PRIVILEGES view
+ */
+
+CREATE VIEW table_privileges AS
+ SELECT CAST(u_grantor.rolname AS sql_identifier) AS grantor,
+ CAST(grantee.rolname AS sql_identifier) AS grantee,
+ CAST(current_database() AS sql_identifier) AS table_catalog,
+ CAST(nc.nspname AS sql_identifier) AS table_schema,
+ CAST(c.relname AS sql_identifier) AS table_name,
+ CAST(c.prtype AS character_data) AS privilege_type,
+ CAST(
+ CASE WHEN
+ -- object owner always has grant options
+ pg_has_role(grantee.oid, c.relowner, 'USAGE')
+ OR c.grantable
+ THEN 'YES' ELSE 'NO' END AS yes_or_no) AS is_grantable,
+ CAST(CASE WHEN c.prtype = 'SELECT' THEN 'YES' ELSE 'NO' END AS yes_or_no) AS with_hierarchy
+
+ FROM (
+ SELECT oid, relname, relnamespace, relkind, relowner, (aclexplode(coalesce(relacl, acldefault('r', relowner)))).* FROM pg_class
+ ) AS c (oid, relname, relnamespace, relkind, relowner, grantor, grantee, prtype, grantable),
+ pg_namespace nc,
+ pg_authid u_grantor,
+ (
+ SELECT oid, rolname FROM pg_authid
+ UNION ALL
+ SELECT 0::oid, 'PUBLIC'
+ ) AS grantee (oid, rolname)
+
+ WHERE c.relnamespace = nc.oid
+ AND c.relkind IN ('r', 'v', 'f', 'p')
+ AND c.grantee = grantee.oid
+ AND c.grantor = u_grantor.oid
+ AND c.prtype IN ('INSERT', 'SELECT', 'UPDATE', 'DELETE', 'TRUNCATE', 'REFERENCES', 'TRIGGER')
+ AND (pg_has_role(u_grantor.oid, 'USAGE')
+ OR pg_has_role(grantee.oid, 'USAGE')
+ OR grantee.rolname = 'PUBLIC');
+
+GRANT SELECT ON table_privileges TO PUBLIC;
+
+
+/*
+ * 6.45
+ * ROLE_TABLE_GRANTS view
+ */
+
+CREATE VIEW role_table_grants AS
+ SELECT grantor,
+ grantee,
+ table_catalog,
+ table_schema,
+ table_name,
+ privilege_type,
+ is_grantable,
+ with_hierarchy
+ FROM table_privileges
+ WHERE grantor IN (SELECT role_name FROM enabled_roles)
+ OR grantee IN (SELECT role_name FROM enabled_roles);
+
+GRANT SELECT ON role_table_grants TO PUBLIC;
+
+
+/*
+ * 6.65
+ * TABLES view
+ */
+
+CREATE VIEW tables AS
+ SELECT CAST(current_database() AS sql_identifier) AS table_catalog,
+ CAST(nc.nspname AS sql_identifier) AS table_schema,
+ CAST(c.relname AS sql_identifier) AS table_name,
+
+ CAST(
+ CASE WHEN nc.oid = pg_my_temp_schema() THEN 'LOCAL TEMPORARY'
+ WHEN c.relkind IN ('r', 'p') THEN 'BASE TABLE'
+ WHEN c.relkind = 'v' THEN 'VIEW'
+ WHEN c.relkind = 'f' THEN 'FOREIGN'
+ ELSE null END
+ AS character_data) AS table_type,
+
+ CAST(null AS sql_identifier) AS self_referencing_column_name,
+ CAST(null AS character_data) AS reference_generation,
+
+ CAST(CASE WHEN t.typname IS NOT NULL THEN current_database() ELSE null END AS sql_identifier) AS user_defined_type_catalog,
+ CAST(nt.nspname AS sql_identifier) AS user_defined_type_schema,
+ CAST(t.typname AS sql_identifier) AS user_defined_type_name,
+
+ CAST(CASE WHEN c.relkind IN ('r', 'p') OR
+ (c.relkind IN ('v', 'f') AND
+ -- 1 << CMD_INSERT
+ pg_relation_is_updatable(c.oid, false) & 8 = 8)
+ THEN 'YES' ELSE 'NO' END AS yes_or_no) AS is_insertable_into,
+
+ CAST(CASE WHEN t.typname IS NOT NULL THEN 'YES' ELSE 'NO' END AS yes_or_no) AS is_typed,
+ CAST(null AS character_data) AS commit_action
+
+ FROM pg_namespace nc JOIN pg_class c ON (nc.oid = c.relnamespace)
+ LEFT JOIN (pg_type t JOIN pg_namespace nt ON (t.typnamespace = nt.oid)) ON (c.reloftype = t.oid)
+
+ WHERE c.relkind IN ('r', 'v', 'f', 'p')
+ AND (NOT pg_is_other_temp_schema(nc.oid))
+ AND (pg_has_role(c.relowner, 'USAGE')
+ OR has_table_privilege(c.oid, 'SELECT, INSERT, UPDATE, DELETE, TRUNCATE, REFERENCES, TRIGGER')
+ OR has_any_column_privilege(c.oid, 'SELECT, INSERT, UPDATE, REFERENCES') );
+
+GRANT SELECT ON tables TO PUBLIC;
+
+
+/*
+ * 6.66
+ * TRANSFORMS view
+ */
+
+CREATE VIEW transforms AS
+ SELECT CAST(current_database() AS sql_identifier) AS udt_catalog,
+ CAST(nt.nspname AS sql_identifier) AS udt_schema,
+ CAST(t.typname AS sql_identifier) AS udt_name,
+ CAST(current_database() AS sql_identifier) AS specific_catalog,
+ CAST(np.nspname AS sql_identifier) AS specific_schema,
+ CAST(nameconcatoid(p.proname, p.oid) AS sql_identifier) AS specific_name,
+ CAST(l.lanname AS sql_identifier) AS group_name,
+ CAST('FROM SQL' AS character_data) AS transform_type
+ FROM pg_type t JOIN pg_transform x ON t.oid = x.trftype
+ JOIN pg_language l ON x.trflang = l.oid
+ JOIN pg_proc p ON x.trffromsql = p.oid
+ JOIN pg_namespace nt ON t.typnamespace = nt.oid
+ JOIN pg_namespace np ON p.pronamespace = np.oid
+
+ UNION
+
+ SELECT CAST(current_database() AS sql_identifier) AS udt_catalog,
+ CAST(nt.nspname AS sql_identifier) AS udt_schema,
+ CAST(t.typname AS sql_identifier) AS udt_name,
+ CAST(current_database() AS sql_identifier) AS specific_catalog,
+ CAST(np.nspname AS sql_identifier) AS specific_schema,
+ CAST(nameconcatoid(p.proname, p.oid) AS sql_identifier) AS specific_name,
+ CAST(l.lanname AS sql_identifier) AS group_name,
+ CAST('TO SQL' AS character_data) AS transform_type
+ FROM pg_type t JOIN pg_transform x ON t.oid = x.trftype
+ JOIN pg_language l ON x.trflang = l.oid
+ JOIN pg_proc p ON x.trftosql = p.oid
+ JOIN pg_namespace nt ON t.typnamespace = nt.oid
+ JOIN pg_namespace np ON p.pronamespace = np.oid
+
+ ORDER BY udt_catalog, udt_schema, udt_name, group_name, transform_type -- some sensible grouping for interactive use
+;
+
+
+/*
+ * 6.67
+ * TRANSLATIONS view
+ */
+
+-- feature not supported
+
+
+/*
+ * 6.68
+ * TRIGGERED_UPDATE_COLUMNS view
+ */
+
+CREATE VIEW triggered_update_columns AS
+ SELECT CAST(current_database() AS sql_identifier) AS trigger_catalog,
+ CAST(n.nspname AS sql_identifier) AS trigger_schema,
+ CAST(t.tgname AS sql_identifier) AS trigger_name,
+ CAST(current_database() AS sql_identifier) AS event_object_catalog,
+ CAST(n.nspname AS sql_identifier) AS event_object_schema,
+ CAST(c.relname AS sql_identifier) AS event_object_table,
+ CAST(a.attname AS sql_identifier) AS event_object_column
+
+ FROM pg_namespace n, pg_class c, pg_trigger t,
+ (SELECT tgoid, (ta0.tgat).x AS tgattnum, (ta0.tgat).n AS tgattpos
+ FROM (SELECT oid AS tgoid, information_schema._pg_expandarray(tgattr) AS tgat FROM pg_trigger) AS ta0) AS ta,
+ pg_attribute a
+
+ WHERE n.oid = c.relnamespace
+ AND c.oid = t.tgrelid
+ AND t.oid = ta.tgoid
+ AND (a.attrelid, a.attnum) = (t.tgrelid, ta.tgattnum)
+ AND NOT t.tgisinternal
+ AND (NOT pg_is_other_temp_schema(n.oid))
+ AND (pg_has_role(c.relowner, 'USAGE')
+ -- SELECT privilege omitted, per SQL standard
+ OR has_column_privilege(c.oid, a.attnum, 'INSERT, UPDATE, REFERENCES') );
+
+GRANT SELECT ON triggered_update_columns TO PUBLIC;
+
+
+/*
+ * 6.69
+ * TRIGGER_COLUMN_USAGE view
+ */
+
+-- not tracked by PostgreSQL
+
+
+/*
+ * 6.70
+ * TRIGGER_PERIOD_USAGE view
+ */
+
+-- feature not supported
+
+
+/*
+ * 6.71
+ * TRIGGER_ROUTINE_USAGE view
+ */
+
+-- not tracked by PostgreSQL
+
+
+/*
+ * 6.72
+ * TRIGGER_SEQUENCE_USAGE view
+ */
+
+-- not tracked by PostgreSQL
+
+
+/*
+ * 6.73
+ * TRIGGER_TABLE_USAGE view
+ */
+
+-- not tracked by PostgreSQL
+
+
+/*
+ * 6.74
+ * TRIGGERS view
+ */
+
+CREATE VIEW triggers AS
+ SELECT CAST(current_database() AS sql_identifier) AS trigger_catalog,
+ CAST(n.nspname AS sql_identifier) AS trigger_schema,
+ CAST(t.tgname AS sql_identifier) AS trigger_name,
+ CAST(em.text AS character_data) AS event_manipulation,
+ CAST(current_database() AS sql_identifier) AS event_object_catalog,
+ CAST(n.nspname AS sql_identifier) AS event_object_schema,
+ CAST(c.relname AS sql_identifier) AS event_object_table,
+ CAST(
+ -- To determine action order, partition by schema, table,
+ -- event_manipulation (INSERT/DELETE/UPDATE), ROW/STATEMENT (1),
+ -- BEFORE/AFTER (66), then order by trigger name. It's preferable
+ -- to partition by view output columns, so that query constraints
+ -- can be pushed down below the window function.
+ rank() OVER (PARTITION BY CAST(n.nspname AS sql_identifier),
+ CAST(c.relname AS sql_identifier),
+ em.num,
+ t.tgtype & 1,
+ t.tgtype & 66
+ ORDER BY t.tgname)
+ AS cardinal_number) AS action_order,
+ CAST(
+ CASE WHEN pg_has_role(c.relowner, 'USAGE')
+ THEN (regexp_match(pg_get_triggerdef(t.oid), E'.{35,} WHEN \\((.+)\\) EXECUTE FUNCTION'))[1]
+ ELSE null END
+ AS character_data) AS action_condition,
+ CAST(
+ substring(pg_get_triggerdef(t.oid) from
+ position('EXECUTE FUNCTION' in substring(pg_get_triggerdef(t.oid) from 48)) + 47)
+ AS character_data) AS action_statement,
+ CAST(
+ -- hard-wired reference to TRIGGER_TYPE_ROW
+ CASE t.tgtype & 1 WHEN 1 THEN 'ROW' ELSE 'STATEMENT' END
+ AS character_data) AS action_orientation,
+ CAST(
+ -- hard-wired refs to TRIGGER_TYPE_BEFORE, TRIGGER_TYPE_INSTEAD
+ CASE t.tgtype & 66 WHEN 2 THEN 'BEFORE' WHEN 64 THEN 'INSTEAD OF' ELSE 'AFTER' END
+ AS character_data) AS action_timing,
+ CAST(tgoldtable AS sql_identifier) AS action_reference_old_table,
+ CAST(tgnewtable AS sql_identifier) AS action_reference_new_table,
+ CAST(null AS sql_identifier) AS action_reference_old_row,
+ CAST(null AS sql_identifier) AS action_reference_new_row,
+ CAST(null AS time_stamp) AS created
+
+ FROM pg_namespace n, pg_class c, pg_trigger t,
+ -- hard-wired refs to TRIGGER_TYPE_INSERT, TRIGGER_TYPE_DELETE,
+ -- TRIGGER_TYPE_UPDATE; we intentionally omit TRIGGER_TYPE_TRUNCATE
+ (VALUES (4, 'INSERT'),
+ (8, 'DELETE'),
+ (16, 'UPDATE')) AS em (num, text)
+
+ WHERE n.oid = c.relnamespace
+ AND c.oid = t.tgrelid
+ AND t.tgtype & em.num <> 0
+ AND NOT t.tgisinternal
+ AND (NOT pg_is_other_temp_schema(n.oid))
+ AND (pg_has_role(c.relowner, 'USAGE')
+ -- SELECT privilege omitted, per SQL standard
+ OR has_table_privilege(c.oid, 'INSERT, UPDATE, DELETE, TRUNCATE, REFERENCES, TRIGGER')
+ OR has_any_column_privilege(c.oid, 'INSERT, UPDATE, REFERENCES') );
+
+GRANT SELECT ON triggers TO PUBLIC;
+
+
+/*
+ * 6.75
+ * UDT_PRIVILEGES view
+ */
+
+CREATE VIEW udt_privileges AS
+ SELECT CAST(u_grantor.rolname AS sql_identifier) AS grantor,
+ CAST(grantee.rolname AS sql_identifier) AS grantee,
+ CAST(current_database() AS sql_identifier) AS udt_catalog,
+ CAST(n.nspname AS sql_identifier) AS udt_schema,
+ CAST(t.typname AS sql_identifier) AS udt_name,
+ CAST('TYPE USAGE' AS character_data) AS privilege_type, -- sic
+ CAST(
+ CASE WHEN
+ -- object owner always has grant options
+ pg_has_role(grantee.oid, t.typowner, 'USAGE')
+ OR t.grantable
+ THEN 'YES' ELSE 'NO' END AS yes_or_no) AS is_grantable
+
+ FROM (
+ SELECT oid, typname, typnamespace, typtype, typowner, (aclexplode(coalesce(typacl, acldefault('T', typowner)))).* FROM pg_type
+ ) AS t (oid, typname, typnamespace, typtype, typowner, grantor, grantee, prtype, grantable),
+ pg_namespace n,
+ pg_authid u_grantor,
+ (
+ SELECT oid, rolname FROM pg_authid
+ UNION ALL
+ SELECT 0::oid, 'PUBLIC'
+ ) AS grantee (oid, rolname)
+
+ WHERE t.typnamespace = n.oid
+ AND t.typtype = 'c'
+ AND t.grantee = grantee.oid
+ AND t.grantor = u_grantor.oid
+ AND t.prtype IN ('USAGE')
+ AND (pg_has_role(u_grantor.oid, 'USAGE')
+ OR pg_has_role(grantee.oid, 'USAGE')
+ OR grantee.rolname = 'PUBLIC');
+
+GRANT SELECT ON udt_privileges TO PUBLIC;
+
+
+/*
+ * 6.48
+ * ROLE_UDT_GRANTS view
+ */
+
+CREATE VIEW role_udt_grants AS
+ SELECT grantor,
+ grantee,
+ udt_catalog,
+ udt_schema,
+ udt_name,
+ privilege_type,
+ is_grantable
+ FROM udt_privileges
+ WHERE grantor IN (SELECT role_name FROM enabled_roles)
+ OR grantee IN (SELECT role_name FROM enabled_roles);
+
+GRANT SELECT ON role_udt_grants TO PUBLIC;
+
+
+/*
+ * 6.76
+ * USAGE_PRIVILEGES view
+ */
+
+CREATE VIEW usage_privileges AS
+
+ /* collations */
+ -- Collations have no real privileges, so we represent all collations with implicit usage privilege here.
+ SELECT CAST(u.rolname AS sql_identifier) AS grantor,
+ CAST('PUBLIC' AS sql_identifier) AS grantee,
+ CAST(current_database() AS sql_identifier) AS object_catalog,
+ CAST(n.nspname AS sql_identifier) AS object_schema,
+ CAST(c.collname AS sql_identifier) AS object_name,
+ CAST('COLLATION' AS character_data) AS object_type,
+ CAST('USAGE' AS character_data) AS privilege_type,
+ CAST('NO' AS yes_or_no) AS is_grantable
+
+ FROM pg_authid u,
+ pg_namespace n,
+ pg_collation c
+
+ WHERE u.oid = c.collowner
+ AND c.collnamespace = n.oid
+ AND collencoding IN (-1, (SELECT encoding FROM pg_database WHERE datname = current_database()))
+
+ UNION ALL
+
+ /* domains */
+ SELECT CAST(u_grantor.rolname AS sql_identifier) AS grantor,
+ CAST(grantee.rolname AS sql_identifier) AS grantee,
+ CAST(current_database() AS sql_identifier) AS object_catalog,
+ CAST(n.nspname AS sql_identifier) AS object_schema,
+ CAST(t.typname AS sql_identifier) AS object_name,
+ CAST('DOMAIN' AS character_data) AS object_type,
+ CAST('USAGE' AS character_data) AS privilege_type,
+ CAST(
+ CASE WHEN
+ -- object owner always has grant options
+ pg_has_role(grantee.oid, t.typowner, 'USAGE')
+ OR t.grantable
+ THEN 'YES' ELSE 'NO' END AS yes_or_no) AS is_grantable
+
+ FROM (
+ SELECT oid, typname, typnamespace, typtype, typowner, (aclexplode(coalesce(typacl, acldefault('T', typowner)))).* FROM pg_type
+ ) AS t (oid, typname, typnamespace, typtype, typowner, grantor, grantee, prtype, grantable),
+ pg_namespace n,
+ pg_authid u_grantor,
+ (
+ SELECT oid, rolname FROM pg_authid
+ UNION ALL
+ SELECT 0::oid, 'PUBLIC'
+ ) AS grantee (oid, rolname)
+
+ WHERE t.typnamespace = n.oid
+ AND t.typtype = 'd'
+ AND t.grantee = grantee.oid
+ AND t.grantor = u_grantor.oid
+ AND t.prtype IN ('USAGE')
+ AND (pg_has_role(u_grantor.oid, 'USAGE')
+ OR pg_has_role(grantee.oid, 'USAGE')
+ OR grantee.rolname = 'PUBLIC')
+
+ UNION ALL
+
+ /* foreign-data wrappers */
+ SELECT CAST(u_grantor.rolname AS sql_identifier) AS grantor,
+ CAST(grantee.rolname AS sql_identifier) AS grantee,
+ CAST(current_database() AS sql_identifier) AS object_catalog,
+ CAST('' AS sql_identifier) AS object_schema,
+ CAST(fdw.fdwname AS sql_identifier) AS object_name,
+ CAST('FOREIGN DATA WRAPPER' AS character_data) AS object_type,
+ CAST('USAGE' AS character_data) AS privilege_type,
+ CAST(
+ CASE WHEN
+ -- object owner always has grant options
+ pg_has_role(grantee.oid, fdw.fdwowner, 'USAGE')
+ OR fdw.grantable
+ THEN 'YES' ELSE 'NO' END AS yes_or_no) AS is_grantable
+
+ FROM (
+ SELECT fdwname, fdwowner, (aclexplode(coalesce(fdwacl, acldefault('F', fdwowner)))).* FROM pg_foreign_data_wrapper
+ ) AS fdw (fdwname, fdwowner, grantor, grantee, prtype, grantable),
+ pg_authid u_grantor,
+ (
+ SELECT oid, rolname FROM pg_authid
+ UNION ALL
+ SELECT 0::oid, 'PUBLIC'
+ ) AS grantee (oid, rolname)
+
+ WHERE u_grantor.oid = fdw.grantor
+ AND grantee.oid = fdw.grantee
+ AND fdw.prtype IN ('USAGE')
+ AND (pg_has_role(u_grantor.oid, 'USAGE')
+ OR pg_has_role(grantee.oid, 'USAGE')
+ OR grantee.rolname = 'PUBLIC')
+
+ UNION ALL
+
+ /* foreign servers */
+ SELECT CAST(u_grantor.rolname AS sql_identifier) AS grantor,
+ CAST(grantee.rolname AS sql_identifier) AS grantee,
+ CAST(current_database() AS sql_identifier) AS object_catalog,
+ CAST('' AS sql_identifier) AS object_schema,
+ CAST(srv.srvname AS sql_identifier) AS object_name,
+ CAST('FOREIGN SERVER' AS character_data) AS object_type,
+ CAST('USAGE' AS character_data) AS privilege_type,
+ CAST(
+ CASE WHEN
+ -- object owner always has grant options
+ pg_has_role(grantee.oid, srv.srvowner, 'USAGE')
+ OR srv.grantable
+ THEN 'YES' ELSE 'NO' END AS yes_or_no) AS is_grantable
+
+ FROM (
+ SELECT srvname, srvowner, (aclexplode(coalesce(srvacl, acldefault('S', srvowner)))).* FROM pg_foreign_server
+ ) AS srv (srvname, srvowner, grantor, grantee, prtype, grantable),
+ pg_authid u_grantor,
+ (
+ SELECT oid, rolname FROM pg_authid
+ UNION ALL
+ SELECT 0::oid, 'PUBLIC'
+ ) AS grantee (oid, rolname)
+
+ WHERE u_grantor.oid = srv.grantor
+ AND grantee.oid = srv.grantee
+ AND srv.prtype IN ('USAGE')
+ AND (pg_has_role(u_grantor.oid, 'USAGE')
+ OR pg_has_role(grantee.oid, 'USAGE')
+ OR grantee.rolname = 'PUBLIC')
+
+ UNION ALL
+
+ /* sequences */
+ SELECT CAST(u_grantor.rolname AS sql_identifier) AS grantor,
+ CAST(grantee.rolname AS sql_identifier) AS grantee,
+ CAST(current_database() AS sql_identifier) AS object_catalog,
+ CAST(n.nspname AS sql_identifier) AS object_schema,
+ CAST(c.relname AS sql_identifier) AS object_name,
+ CAST('SEQUENCE' AS character_data) AS object_type,
+ CAST('USAGE' AS character_data) AS privilege_type,
+ CAST(
+ CASE WHEN
+ -- object owner always has grant options
+ pg_has_role(grantee.oid, c.relowner, 'USAGE')
+ OR c.grantable
+ THEN 'YES' ELSE 'NO' END AS yes_or_no) AS is_grantable
+
+ FROM (
+ SELECT oid, relname, relnamespace, relkind, relowner, (aclexplode(coalesce(relacl, acldefault('r', relowner)))).* FROM pg_class
+ ) AS c (oid, relname, relnamespace, relkind, relowner, grantor, grantee, prtype, grantable),
+ pg_namespace n,
+ pg_authid u_grantor,
+ (
+ SELECT oid, rolname FROM pg_authid
+ UNION ALL
+ SELECT 0::oid, 'PUBLIC'
+ ) AS grantee (oid, rolname)
+
+ WHERE c.relnamespace = n.oid
+ AND c.relkind = 'S'
+ AND c.grantee = grantee.oid
+ AND c.grantor = u_grantor.oid
+ AND c.prtype IN ('USAGE')
+ AND (pg_has_role(u_grantor.oid, 'USAGE')
+ OR pg_has_role(grantee.oid, 'USAGE')
+ OR grantee.rolname = 'PUBLIC');
+
+GRANT SELECT ON usage_privileges TO PUBLIC;
+
+
+/*
+ * 6.47
+ * ROLE_USAGE_GRANTS view
+ */
+
+CREATE VIEW role_usage_grants AS
+ SELECT grantor,
+ grantee,
+ object_catalog,
+ object_schema,
+ object_name,
+ object_type,
+ privilege_type,
+ is_grantable
+ FROM usage_privileges
+ WHERE grantor IN (SELECT role_name FROM enabled_roles)
+ OR grantee IN (SELECT role_name FROM enabled_roles);
+
+GRANT SELECT ON role_usage_grants TO PUBLIC;
+
+
+/*
+ * 6.77
+ * USER_DEFINED_TYPES view
+ */
+
+CREATE VIEW user_defined_types AS
+ SELECT CAST(current_database() AS sql_identifier) AS user_defined_type_catalog,
+ CAST(n.nspname AS sql_identifier) AS user_defined_type_schema,
+ CAST(c.relname AS sql_identifier) AS user_defined_type_name,
+ CAST('STRUCTURED' AS character_data) AS user_defined_type_category,
+ CAST('YES' AS yes_or_no) AS is_instantiable,
+ CAST(null AS yes_or_no) AS is_final,
+ CAST(null AS character_data) AS ordering_form,
+ CAST(null AS character_data) AS ordering_category,
+ CAST(null AS sql_identifier) AS ordering_routine_catalog,
+ CAST(null AS sql_identifier) AS ordering_routine_schema,
+ CAST(null AS sql_identifier) AS ordering_routine_name,
+ CAST(null AS character_data) AS reference_type,
+ CAST(null AS character_data) AS data_type,
+ CAST(null AS cardinal_number) AS character_maximum_length,
+ CAST(null AS cardinal_number) AS character_octet_length,
+ CAST(null AS sql_identifier) AS character_set_catalog,
+ CAST(null AS sql_identifier) AS character_set_schema,
+ CAST(null AS sql_identifier) AS character_set_name,
+ CAST(null AS sql_identifier) AS collation_catalog,
+ CAST(null AS sql_identifier) AS collation_schema,
+ CAST(null AS sql_identifier) AS collation_name,
+ CAST(null AS cardinal_number) AS numeric_precision,
+ CAST(null AS cardinal_number) AS numeric_precision_radix,
+ CAST(null AS cardinal_number) AS numeric_scale,
+ CAST(null AS cardinal_number) AS datetime_precision,
+ CAST(null AS character_data) AS interval_type,
+ CAST(null AS cardinal_number) AS interval_precision,
+ CAST(null AS sql_identifier) AS source_dtd_identifier,
+ CAST(null AS sql_identifier) AS ref_dtd_identifier
+
+ FROM pg_namespace n, pg_class c, pg_type t
+
+ WHERE n.oid = c.relnamespace
+ AND t.typrelid = c.oid
+ AND c.relkind = 'c'
+ AND (pg_has_role(t.typowner, 'USAGE')
+ OR has_type_privilege(t.oid, 'USAGE'));
+
+GRANT SELECT ON user_defined_types TO PUBLIC;
+
+
+/*
+ * 6.78
+ * VIEW_COLUMN_USAGE
+ */
+
+CREATE VIEW view_column_usage AS
+ SELECT DISTINCT
+ CAST(current_database() AS sql_identifier) AS view_catalog,
+ CAST(nv.nspname AS sql_identifier) AS view_schema,
+ CAST(v.relname AS sql_identifier) AS view_name,
+ CAST(current_database() AS sql_identifier) AS table_catalog,
+ CAST(nt.nspname AS sql_identifier) AS table_schema,
+ CAST(t.relname AS sql_identifier) AS table_name,
+ CAST(a.attname AS sql_identifier) AS column_name
+
+ FROM pg_namespace nv, pg_class v, pg_depend dv,
+ pg_depend dt, pg_class t, pg_namespace nt,
+ pg_attribute a
+
+ WHERE nv.oid = v.relnamespace
+ AND v.relkind = 'v'
+ AND v.oid = dv.refobjid
+ AND dv.refclassid = 'pg_catalog.pg_class'::regclass
+ AND dv.classid = 'pg_catalog.pg_rewrite'::regclass
+ AND dv.deptype = 'i'
+ AND dv.objid = dt.objid
+ AND dv.refobjid <> dt.refobjid
+ AND dt.classid = 'pg_catalog.pg_rewrite'::regclass
+ AND dt.refclassid = 'pg_catalog.pg_class'::regclass
+ AND dt.refobjid = t.oid
+ AND t.relnamespace = nt.oid
+ AND t.relkind IN ('r', 'v', 'f', 'p')
+ AND t.oid = a.attrelid
+ AND dt.refobjsubid = a.attnum
+ AND pg_has_role(t.relowner, 'USAGE');
+
+GRANT SELECT ON view_column_usage TO PUBLIC;
+
+
+/*
+ * 6.79
+ * VIEW_PERIOD_USAGE
+ */
+
+-- feature not supported
+
+
+/*
+ * 6.80
+ * VIEW_ROUTINE_USAGE
+ */
+
+CREATE VIEW view_routine_usage AS
+ SELECT DISTINCT
+ CAST(current_database() AS sql_identifier) AS table_catalog,
+ CAST(nv.nspname AS sql_identifier) AS table_schema,
+ CAST(v.relname AS sql_identifier) AS table_name,
+ CAST(current_database() AS sql_identifier) AS specific_catalog,
+ CAST(np.nspname AS sql_identifier) AS specific_schema,
+ CAST(nameconcatoid(p.proname, p.oid) AS sql_identifier) AS specific_name
+
+ FROM pg_namespace nv, pg_class v, pg_depend dv,
+ pg_depend dp, pg_proc p, pg_namespace np
+
+ WHERE nv.oid = v.relnamespace
+ AND v.relkind = 'v'
+ AND v.oid = dv.refobjid
+ AND dv.refclassid = 'pg_catalog.pg_class'::regclass
+ AND dv.classid = 'pg_catalog.pg_rewrite'::regclass
+ AND dv.deptype = 'i'
+ AND dv.objid = dp.objid
+ AND dp.classid = 'pg_catalog.pg_rewrite'::regclass
+ AND dp.refclassid = 'pg_catalog.pg_proc'::regclass
+ AND dp.refobjid = p.oid
+ AND p.pronamespace = np.oid
+ AND pg_has_role(p.proowner, 'USAGE');
+
+GRANT SELECT ON view_routine_usage TO PUBLIC;
+
+
+/*
+ * 6.81
+ * VIEW_TABLE_USAGE
+ */
+
+CREATE VIEW view_table_usage AS
+ SELECT DISTINCT
+ CAST(current_database() AS sql_identifier) AS view_catalog,
+ CAST(nv.nspname AS sql_identifier) AS view_schema,
+ CAST(v.relname AS sql_identifier) AS view_name,
+ CAST(current_database() AS sql_identifier) AS table_catalog,
+ CAST(nt.nspname AS sql_identifier) AS table_schema,
+ CAST(t.relname AS sql_identifier) AS table_name
+
+ FROM pg_namespace nv, pg_class v, pg_depend dv,
+ pg_depend dt, pg_class t, pg_namespace nt
+
+ WHERE nv.oid = v.relnamespace
+ AND v.relkind = 'v'
+ AND v.oid = dv.refobjid
+ AND dv.refclassid = 'pg_catalog.pg_class'::regclass
+ AND dv.classid = 'pg_catalog.pg_rewrite'::regclass
+ AND dv.deptype = 'i'
+ AND dv.objid = dt.objid
+ AND dv.refobjid <> dt.refobjid
+ AND dt.classid = 'pg_catalog.pg_rewrite'::regclass
+ AND dt.refclassid = 'pg_catalog.pg_class'::regclass
+ AND dt.refobjid = t.oid
+ AND t.relnamespace = nt.oid
+ AND t.relkind IN ('r', 'v', 'f', 'p')
+ AND pg_has_role(t.relowner, 'USAGE');
+
+GRANT SELECT ON view_table_usage TO PUBLIC;
+
+
+/*
+ * 6.82
+ * VIEWS view
+ */
+
+CREATE VIEW views AS
+ SELECT CAST(current_database() AS sql_identifier) AS table_catalog,
+ CAST(nc.nspname AS sql_identifier) AS table_schema,
+ CAST(c.relname AS sql_identifier) AS table_name,
+
+ CAST(
+ CASE WHEN pg_has_role(c.relowner, 'USAGE')
+ THEN pg_get_viewdef(c.oid)
+ ELSE null END
+ AS character_data) AS view_definition,
+
+ CAST(
+ CASE WHEN 'check_option=cascaded' = ANY (c.reloptions)
+ THEN 'CASCADED'
+ WHEN 'check_option=local' = ANY (c.reloptions)
+ THEN 'LOCAL'
+ ELSE 'NONE' END
+ AS character_data) AS check_option,
+
+ CAST(
+ -- (1 << CMD_UPDATE) + (1 << CMD_DELETE)
+ CASE WHEN pg_relation_is_updatable(c.oid, false) & 20 = 20
+ THEN 'YES' ELSE 'NO' END
+ AS yes_or_no) AS is_updatable,
+
+ CAST(
+ -- 1 << CMD_INSERT
+ CASE WHEN pg_relation_is_updatable(c.oid, false) & 8 = 8
+ THEN 'YES' ELSE 'NO' END
+ AS yes_or_no) AS is_insertable_into,
+
+ CAST(
+ -- TRIGGER_TYPE_ROW + TRIGGER_TYPE_INSTEAD + TRIGGER_TYPE_UPDATE
+ CASE WHEN EXISTS (SELECT 1 FROM pg_trigger WHERE tgrelid = c.oid AND tgtype & 81 = 81)
+ THEN 'YES' ELSE 'NO' END
+ AS yes_or_no) AS is_trigger_updatable,
+
+ CAST(
+ -- TRIGGER_TYPE_ROW + TRIGGER_TYPE_INSTEAD + TRIGGER_TYPE_DELETE
+ CASE WHEN EXISTS (SELECT 1 FROM pg_trigger WHERE tgrelid = c.oid AND tgtype & 73 = 73)
+ THEN 'YES' ELSE 'NO' END
+ AS yes_or_no) AS is_trigger_deletable,
+
+ CAST(
+ -- TRIGGER_TYPE_ROW + TRIGGER_TYPE_INSTEAD + TRIGGER_TYPE_INSERT
+ CASE WHEN EXISTS (SELECT 1 FROM pg_trigger WHERE tgrelid = c.oid AND tgtype & 69 = 69)
+ THEN 'YES' ELSE 'NO' END
+ AS yes_or_no) AS is_trigger_insertable_into
+
+ FROM pg_namespace nc, pg_class c
+
+ WHERE c.relnamespace = nc.oid
+ AND c.relkind = 'v'
+ AND (NOT pg_is_other_temp_schema(nc.oid))
+ AND (pg_has_role(c.relowner, 'USAGE')
+ OR has_table_privilege(c.oid, 'SELECT, INSERT, UPDATE, DELETE, TRUNCATE, REFERENCES, TRIGGER')
+ OR has_any_column_privilege(c.oid, 'SELECT, INSERT, UPDATE, REFERENCES') );
+
+GRANT SELECT ON views TO PUBLIC;
+
+
+-- The following views have dependencies that force them to appear out of order.
+
+/*
+ * 6.26
+ * DATA_TYPE_PRIVILEGES view
+ */
+
+CREATE VIEW data_type_privileges AS
+ SELECT CAST(current_database() AS sql_identifier) AS object_catalog,
+ CAST(x.objschema AS sql_identifier) AS object_schema,
+ CAST(x.objname AS sql_identifier) AS object_name,
+ CAST(x.objtype AS character_data) AS object_type,
+ CAST(x.objdtdid AS sql_identifier) AS dtd_identifier
+
+ FROM
+ (
+ SELECT udt_schema, udt_name, 'USER-DEFINED TYPE'::text, dtd_identifier FROM attributes
+ UNION ALL
+ SELECT table_schema, table_name, 'TABLE'::text, dtd_identifier FROM columns
+ UNION ALL
+ SELECT domain_schema, domain_name, 'DOMAIN'::text, dtd_identifier FROM domains
+ UNION ALL
+ SELECT specific_schema, specific_name, 'ROUTINE'::text, dtd_identifier FROM parameters
+ UNION ALL
+ SELECT specific_schema, specific_name, 'ROUTINE'::text, dtd_identifier FROM routines
+ ) AS x (objschema, objname, objtype, objdtdid);
+
+GRANT SELECT ON data_type_privileges TO PUBLIC;
+
+
+/*
+ * 6.31
+ * ELEMENT_TYPES view
+ */
+
+CREATE VIEW element_types AS
+ SELECT CAST(current_database() AS sql_identifier) AS object_catalog,
+ CAST(n.nspname AS sql_identifier) AS object_schema,
+ CAST(x.objname AS sql_identifier) AS object_name,
+ CAST(x.objtype AS character_data) AS object_type,
+ CAST(x.objdtdid AS sql_identifier) AS collection_type_identifier,
+ CAST(
+ CASE WHEN nbt.nspname = 'pg_catalog' THEN format_type(bt.oid, null)
+ ELSE 'USER-DEFINED' END AS character_data) AS data_type,
+
+ CAST(null AS cardinal_number) AS character_maximum_length,
+ CAST(null AS cardinal_number) AS character_octet_length,
+ CAST(null AS sql_identifier) AS character_set_catalog,
+ CAST(null AS sql_identifier) AS character_set_schema,
+ CAST(null AS sql_identifier) AS character_set_name,
+ CAST(CASE WHEN nco.nspname IS NOT NULL THEN current_database() END AS sql_identifier) AS collation_catalog,
+ CAST(nco.nspname AS sql_identifier) AS collation_schema,
+ CAST(co.collname AS sql_identifier) AS collation_name,
+ CAST(null AS cardinal_number) AS numeric_precision,
+ CAST(null AS cardinal_number) AS numeric_precision_radix,
+ CAST(null AS cardinal_number) AS numeric_scale,
+ CAST(null AS cardinal_number) AS datetime_precision,
+ CAST(null AS character_data) AS interval_type,
+ CAST(null AS cardinal_number) AS interval_precision,
+
+ CAST(null AS character_data) AS domain_default, -- XXX maybe a bug in the standard
+
+ CAST(current_database() AS sql_identifier) AS udt_catalog,
+ CAST(nbt.nspname AS sql_identifier) AS udt_schema,
+ CAST(bt.typname AS sql_identifier) AS udt_name,
+
+ CAST(null AS sql_identifier) AS scope_catalog,
+ CAST(null AS sql_identifier) AS scope_schema,
+ CAST(null AS sql_identifier) AS scope_name,
+
+ CAST(null AS cardinal_number) AS maximum_cardinality,
+ CAST('a' || CAST(x.objdtdid AS text) AS sql_identifier) AS dtd_identifier
+
+ FROM pg_namespace n, pg_type at, pg_namespace nbt, pg_type bt,
+ (
+ /* columns, attributes */
+ SELECT c.relnamespace, CAST(c.relname AS sql_identifier),
+ CASE WHEN c.relkind = 'c' THEN 'USER-DEFINED TYPE'::text ELSE 'TABLE'::text END,
+ a.attnum, a.atttypid, a.attcollation
+ FROM pg_class c, pg_attribute a
+ WHERE c.oid = a.attrelid
+ AND c.relkind IN ('r', 'v', 'f', 'c', 'p')
+ AND attnum > 0 AND NOT attisdropped
+
+ UNION ALL
+
+ /* domains */
+ SELECT t.typnamespace, CAST(t.typname AS sql_identifier),
+ 'DOMAIN'::text, 1, t.typbasetype, t.typcollation
+ FROM pg_type t
+ WHERE t.typtype = 'd'
+
+ UNION ALL
+
+ /* parameters */
+ SELECT pronamespace,
+ CAST(nameconcatoid(proname, oid) AS sql_identifier),
+ 'ROUTINE'::text, (ss.x).n, (ss.x).x, 0
+ FROM (SELECT p.pronamespace, p.proname, p.oid,
+ _pg_expandarray(coalesce(p.proallargtypes, p.proargtypes::oid[])) AS x
+ FROM pg_proc p) AS ss
+
+ UNION ALL
+
+ /* result types */
+ SELECT p.pronamespace,
+ CAST(nameconcatoid(p.proname, p.oid) AS sql_identifier),
+ 'ROUTINE'::text, 0, p.prorettype, 0
+ FROM pg_proc p
+
+ ) AS x (objschema, objname, objtype, objdtdid, objtypeid, objcollation)
+ LEFT JOIN (pg_collation co JOIN pg_namespace nco ON (co.collnamespace = nco.oid))
+ ON x.objcollation = co.oid AND (nco.nspname, co.collname) <> ('pg_catalog', 'default')
+
+ WHERE n.oid = x.objschema
+ AND at.oid = x.objtypeid
+ AND (at.typelem <> 0 AND at.typlen = -1)
+ AND at.typelem = bt.oid
+ AND nbt.oid = bt.typnamespace
+
+ AND (n.nspname, x.objname, x.objtype, CAST(x.objdtdid AS sql_identifier)) IN
+ ( SELECT object_schema, object_name, object_type, dtd_identifier
+ FROM data_type_privileges );
+
+GRANT SELECT ON element_types TO PUBLIC;
+
+
+-- SQL/MED views; these use section numbers from part 9 of the standard.
+
+/* Base view for foreign table columns */
+CREATE VIEW _pg_foreign_table_columns AS
+ SELECT n.nspname,
+ c.relname,
+ a.attname,
+ a.attfdwoptions
+ FROM pg_foreign_table t, pg_authid u, pg_namespace n, pg_class c,
+ pg_attribute a
+ WHERE u.oid = c.relowner
+ AND (pg_has_role(c.relowner, 'USAGE')
+ OR has_column_privilege(c.oid, a.attnum, 'SELECT, INSERT, UPDATE, REFERENCES'))
+ AND n.oid = c.relnamespace
+ AND c.oid = t.ftrelid
+ AND c.relkind = 'f'
+ AND a.attrelid = c.oid
+ AND a.attnum > 0;
+
+/*
+ * 24.3
+ * COLUMN_OPTIONS view
+ */
+CREATE VIEW column_options AS
+ SELECT CAST(current_database() AS sql_identifier) AS table_catalog,
+ CAST(c.nspname AS sql_identifier) AS table_schema,
+ CAST(c.relname AS sql_identifier) AS table_name,
+ CAST(c.attname AS sql_identifier) AS column_name,
+ CAST((pg_options_to_table(c.attfdwoptions)).option_name AS sql_identifier) AS option_name,
+ CAST((pg_options_to_table(c.attfdwoptions)).option_value AS character_data) AS option_value
+ FROM _pg_foreign_table_columns c;
+
+GRANT SELECT ON column_options TO PUBLIC;
+
+
+/* Base view for foreign-data wrappers */
+CREATE VIEW _pg_foreign_data_wrappers AS
+ SELECT w.oid,
+ w.fdwowner,
+ w.fdwoptions,
+ CAST(current_database() AS sql_identifier) AS foreign_data_wrapper_catalog,
+ CAST(fdwname AS sql_identifier) AS foreign_data_wrapper_name,
+ CAST(u.rolname AS sql_identifier) AS authorization_identifier,
+ CAST('c' AS character_data) AS foreign_data_wrapper_language
+ FROM pg_foreign_data_wrapper w, pg_authid u
+ WHERE u.oid = w.fdwowner
+ AND (pg_has_role(fdwowner, 'USAGE')
+ OR has_foreign_data_wrapper_privilege(w.oid, 'USAGE'));
+
+
+/*
+ * 24.5
+ * FOREIGN_DATA_WRAPPER_OPTIONS view
+ */
+CREATE VIEW foreign_data_wrapper_options AS
+ SELECT foreign_data_wrapper_catalog,
+ foreign_data_wrapper_name,
+ CAST((pg_options_to_table(w.fdwoptions)).option_name AS sql_identifier) AS option_name,
+ CAST((pg_options_to_table(w.fdwoptions)).option_value AS character_data) AS option_value
+ FROM _pg_foreign_data_wrappers w;
+
+GRANT SELECT ON foreign_data_wrapper_options TO PUBLIC;
+
+
+/*
+ * 24.6
+ * FOREIGN_DATA_WRAPPERS view
+ */
+CREATE VIEW foreign_data_wrappers AS
+ SELECT foreign_data_wrapper_catalog,
+ foreign_data_wrapper_name,
+ authorization_identifier,
+ CAST(NULL AS character_data) AS library_name,
+ foreign_data_wrapper_language
+ FROM _pg_foreign_data_wrappers w;
+
+GRANT SELECT ON foreign_data_wrappers TO PUBLIC;
+
+
+/* Base view for foreign servers */
+CREATE VIEW _pg_foreign_servers AS
+ SELECT s.oid,
+ s.srvoptions,
+ CAST(current_database() AS sql_identifier) AS foreign_server_catalog,
+ CAST(srvname AS sql_identifier) AS foreign_server_name,
+ CAST(current_database() AS sql_identifier) AS foreign_data_wrapper_catalog,
+ CAST(w.fdwname AS sql_identifier) AS foreign_data_wrapper_name,
+ CAST(srvtype AS character_data) AS foreign_server_type,
+ CAST(srvversion AS character_data) AS foreign_server_version,
+ CAST(u.rolname AS sql_identifier) AS authorization_identifier
+ FROM pg_foreign_server s, pg_foreign_data_wrapper w, pg_authid u
+ WHERE w.oid = s.srvfdw
+ AND u.oid = s.srvowner
+ AND (pg_has_role(s.srvowner, 'USAGE')
+ OR has_server_privilege(s.oid, 'USAGE'));
+
+
+/*
+ * 24.7
+ * FOREIGN_SERVER_OPTIONS view
+ */
+CREATE VIEW foreign_server_options AS
+ SELECT foreign_server_catalog,
+ foreign_server_name,
+ CAST((pg_options_to_table(s.srvoptions)).option_name AS sql_identifier) AS option_name,
+ CAST((pg_options_to_table(s.srvoptions)).option_value AS character_data) AS option_value
+ FROM _pg_foreign_servers s;
+
+GRANT SELECT ON TABLE foreign_server_options TO PUBLIC;
+
+
+/*
+ * 24.8
+ * FOREIGN_SERVERS view
+ */
+CREATE VIEW foreign_servers AS
+ SELECT foreign_server_catalog,
+ foreign_server_name,
+ foreign_data_wrapper_catalog,
+ foreign_data_wrapper_name,
+ foreign_server_type,
+ foreign_server_version,
+ authorization_identifier
+ FROM _pg_foreign_servers;
+
+GRANT SELECT ON foreign_servers TO PUBLIC;
+
+
+/* Base view for foreign tables */
+CREATE VIEW _pg_foreign_tables AS
+ SELECT
+ CAST(current_database() AS sql_identifier) AS foreign_table_catalog,
+ CAST(n.nspname AS sql_identifier) AS foreign_table_schema,
+ CAST(c.relname AS sql_identifier) AS foreign_table_name,
+ t.ftoptions AS ftoptions,
+ CAST(current_database() AS sql_identifier) AS foreign_server_catalog,
+ CAST(srvname AS sql_identifier) AS foreign_server_name,
+ CAST(u.rolname AS sql_identifier) AS authorization_identifier
+ FROM pg_foreign_table t, pg_foreign_server s, pg_foreign_data_wrapper w,
+ pg_authid u, pg_namespace n, pg_class c
+ WHERE w.oid = s.srvfdw
+ AND u.oid = c.relowner
+ AND (pg_has_role(c.relowner, 'USAGE')
+ OR has_table_privilege(c.oid, 'SELECT, INSERT, UPDATE, DELETE, TRUNCATE, REFERENCES, TRIGGER')
+ OR has_any_column_privilege(c.oid, 'SELECT, INSERT, UPDATE, REFERENCES'))
+ AND n.oid = c.relnamespace
+ AND c.oid = t.ftrelid
+ AND c.relkind = 'f'
+ AND s.oid = t.ftserver;
+
+
+/*
+ * 24.9
+ * FOREIGN_TABLE_OPTIONS view
+ */
+CREATE VIEW foreign_table_options AS
+ SELECT foreign_table_catalog,
+ foreign_table_schema,
+ foreign_table_name,
+ CAST((pg_options_to_table(t.ftoptions)).option_name AS sql_identifier) AS option_name,
+ CAST((pg_options_to_table(t.ftoptions)).option_value AS character_data) AS option_value
+ FROM _pg_foreign_tables t;
+
+GRANT SELECT ON TABLE foreign_table_options TO PUBLIC;
+
+
+/*
+ * 24.10
+ * FOREIGN_TABLES view
+ */
+CREATE VIEW foreign_tables AS
+ SELECT foreign_table_catalog,
+ foreign_table_schema,
+ foreign_table_name,
+ foreign_server_catalog,
+ foreign_server_name
+ FROM _pg_foreign_tables;
+
+GRANT SELECT ON foreign_tables TO PUBLIC;
+
+
+
+/* Base view for user mappings */
+CREATE VIEW _pg_user_mappings AS
+ SELECT um.oid,
+ um.umoptions,
+ um.umuser,
+ CAST(COALESCE(u.rolname,'PUBLIC') AS sql_identifier ) AS authorization_identifier,
+ s.foreign_server_catalog,
+ s.foreign_server_name,
+ s.authorization_identifier AS srvowner
+ FROM pg_user_mapping um LEFT JOIN pg_authid u ON (u.oid = um.umuser),
+ _pg_foreign_servers s
+ WHERE s.oid = um.umserver;
+
+
+/*
+ * 24.13
+ * USER_MAPPING_OPTIONS view
+ */
+CREATE VIEW user_mapping_options AS
+ SELECT authorization_identifier,
+ foreign_server_catalog,
+ foreign_server_name,
+ CAST(opts.option_name AS sql_identifier) AS option_name,
+ CAST(CASE WHEN (umuser <> 0 AND authorization_identifier = current_user)
+ OR (umuser = 0 AND pg_has_role(srvowner, 'USAGE'))
+ OR (SELECT rolsuper FROM pg_authid WHERE rolname = current_user)
+ THEN opts.option_value
+ ELSE NULL END AS character_data) AS option_value
+ FROM _pg_user_mappings um,
+ pg_options_to_table(um.umoptions) opts;
+
+GRANT SELECT ON user_mapping_options TO PUBLIC;
+
+
+/*
+ * 24.14
+ * USER_MAPPINGS view
+ */
+CREATE VIEW user_mappings AS
+ SELECT authorization_identifier,
+ foreign_server_catalog,
+ foreign_server_name
+ FROM _pg_user_mappings;
+
+GRANT SELECT ON user_mappings TO PUBLIC;
diff --git a/pgsql/share/pg_hba.conf.sample b/pgsql/share/pg_hba.conf.sample
new file mode 100644
index 0000000000000000000000000000000000000000..bad13497a3465d7b6aa7bad8f278aefd1a9d912b
--- /dev/null
+++ b/pgsql/share/pg_hba.conf.sample
@@ -0,0 +1,122 @@
+# PostgreSQL Client Authentication Configuration File
+# ===================================================
+#
+# Refer to the "Client Authentication" section in the PostgreSQL
+# documentation for a complete description of this file. A short
+# synopsis follows.
+#
+# ----------------------
+# Authentication Records
+# ----------------------
+#
+# This file controls: which hosts are allowed to connect, how clients
+# are authenticated, which PostgreSQL user names they can use, which
+# databases they can access. Records take one of these forms:
+#
+# local DATABASE USER METHOD [OPTIONS]
+# host DATABASE USER ADDRESS METHOD [OPTIONS]
+# hostssl DATABASE USER ADDRESS METHOD [OPTIONS]
+# hostnossl DATABASE USER ADDRESS METHOD [OPTIONS]
+# hostgssenc DATABASE USER ADDRESS METHOD [OPTIONS]
+# hostnogssenc DATABASE USER ADDRESS METHOD [OPTIONS]
+#
+# (The uppercase items must be replaced by actual values.)
+#
+# The first field is the connection type:
+# - "local" is a Unix-domain socket
+# - "host" is a TCP/IP socket (encrypted or not)
+# - "hostssl" is a TCP/IP socket that is SSL-encrypted
+# - "hostnossl" is a TCP/IP socket that is not SSL-encrypted
+# - "hostgssenc" is a TCP/IP socket that is GSSAPI-encrypted
+# - "hostnogssenc" is a TCP/IP socket that is not GSSAPI-encrypted
+#
+# DATABASE can be "all", "sameuser", "samerole", "replication", a
+# database name, a regular expression (if it starts with a slash (/))
+# or a comma-separated list thereof. The "all" keyword does not match
+# "replication". Access to replication must be enabled in a separate
+# record (see example below).
+#
+# USER can be "all", a user name, a group name prefixed with "+", a
+# regular expression (if it starts with a slash (/)) or a comma-separated
+# list thereof. In both the DATABASE and USER fields you can also write
+# a file name prefixed with "@" to include names from a separate file.
+#
+# ADDRESS specifies the set of hosts the record matches. It can be a
+# host name, or it is made up of an IP address and a CIDR mask that is
+# an integer (between 0 and 32 (IPv4) or 128 (IPv6) inclusive) that
+# specifies the number of significant bits in the mask. A host name
+# that starts with a dot (.) matches a suffix of the actual host name.
+# Alternatively, you can write an IP address and netmask in separate
+# columns to specify the set of hosts. Instead of a CIDR-address, you
+# can write "samehost" to match any of the server's own IP addresses,
+# or "samenet" to match any address in any subnet that the server is
+# directly connected to.
+#
+# METHOD can be "trust", "reject", "md5", "password", "scram-sha-256",
+# "gss", "sspi", "ident", "peer", "pam", "ldap", "radius" or "cert".
+# Note that "password" sends passwords in clear text; "md5" or
+# "scram-sha-256" are preferred since they send encrypted passwords.
+#
+# OPTIONS are a set of options for the authentication in the format
+# NAME=VALUE. The available options depend on the different
+# authentication methods -- refer to the "Client Authentication"
+# section in the documentation for a list of which options are
+# available for which authentication methods.
+#
+# Database and user names containing spaces, commas, quotes and other
+# special characters must be quoted. Quoting one of the keywords
+# "all", "sameuser", "samerole" or "replication" makes the name lose
+# its special character, and just match a database or username with
+# that name.
+#
+# ---------------
+# Include Records
+# ---------------
+#
+# This file allows the inclusion of external files or directories holding
+# more records, using the following keywords:
+#
+# include FILE
+# include_if_exists FILE
+# include_dir DIRECTORY
+#
+# FILE is the file name to include, and DIR is the directory name containing
+# the file(s) to include. Any file in a directory will be loaded if suffixed
+# with ".conf". The files of a directory are ordered by name.
+# include_if_exists ignores missing files. FILE and DIRECTORY can be
+# specified as a relative or an absolute path, and can be double-quoted if
+# they contain spaces.
+#
+# -------------
+# Miscellaneous
+# -------------
+#
+# This file is read on server startup and when the server receives a
+# SIGHUP signal. If you edit the file on a running system, you have to
+# SIGHUP the server for the changes to take effect, run "pg_ctl reload",
+# or execute "SELECT pg_reload_conf()".
+#
+# ----------------------------------
+# Put your actual configuration here
+# ----------------------------------
+#
+# If you want to allow non-local connections, you need to add more
+# "host" records. In that case you will also need to make PostgreSQL
+# listen on a non-local interface via the listen_addresses
+# configuration parameter, or via the -i or -h command line switches.
+
+@authcomment@
+
+# TYPE DATABASE USER ADDRESS METHOD
+
+@remove-line-for-nolocal@# "local" is for Unix domain socket connections only
+@remove-line-for-nolocal@local all all @authmethodlocal@
+# IPv4 local connections:
+host all all 127.0.0.1/32 @authmethodhost@
+# IPv6 local connections:
+host all all ::1/128 @authmethodhost@
+# Allow replication connections from localhost, by a user with the
+# replication privilege.
+@remove-line-for-nolocal@local replication all @authmethodlocal@
+host replication all 127.0.0.1/32 @authmethodhost@
+host replication all ::1/128 @authmethodhost@
diff --git a/pgsql/share/pg_ident.conf.sample b/pgsql/share/pg_ident.conf.sample
new file mode 100644
index 0000000000000000000000000000000000000000..f5225f26cdf2ce8843b243e9a7ea90c676193324
--- /dev/null
+++ b/pgsql/share/pg_ident.conf.sample
@@ -0,0 +1,72 @@
+# PostgreSQL User Name Maps
+# =========================
+#
+# ---------------
+# Mapping Records
+# ---------------
+#
+# Refer to the PostgreSQL documentation, chapter "Client
+# Authentication" for a complete description. A short synopsis
+# follows.
+#
+# This file controls PostgreSQL user name mapping. It maps external
+# user names to their corresponding PostgreSQL user names. Records
+# are of the form:
+#
+# MAPNAME SYSTEM-USERNAME PG-USERNAME
+#
+# (The uppercase quantities must be replaced by actual values.)
+#
+# MAPNAME is the (otherwise freely chosen) map name that was used in
+# pg_hba.conf. SYSTEM-USERNAME is the detected user name of the
+# client. PG-USERNAME is the requested PostgreSQL user name. The
+# existence of a record specifies that SYSTEM-USERNAME may connect as
+# PG-USERNAME.
+#
+# If SYSTEM-USERNAME starts with a slash (/), it will be treated as a
+# regular expression. Optionally this can contain a capture (a
+# parenthesized subexpression). The substring matching the capture
+# will be substituted for \1 (backslash-one) if present in
+# PG-USERNAME.
+#
+# PG-USERNAME can be "all", a user name, a group name prefixed with "+", or
+# a regular expression (if it starts with a slash (/)). If it is a regular
+# expression, the substring matching with \1 has no effect.
+#
+# Multiple maps may be specified in this file and used by pg_hba.conf.
+#
+# No map names are defined in the default configuration. If all
+# system user names and PostgreSQL user names are the same, you don't
+# need anything in this file.
+#
+# ---------------
+# Include Records
+# ---------------
+#
+# This file allows the inclusion of external files or directories holding
+# more records, using the following keywords:
+#
+# include FILE
+# include_if_exists FILE
+# include_dir DIRECTORY
+#
+# FILE is the file name to include, and DIR is the directory name containing
+# the file(s) to include. Any file in a directory will be loaded if suffixed
+# with ".conf". The files of a directory are ordered by name.
+# include_if_exists ignores missing files. FILE and DIRECTORY can be
+# specified as a relative or an absolute path, and can be double-quoted if
+# they contain spaces.
+#
+# -------------------------------
+# Miscellaneous
+# -------------------------------
+#
+# This file is read on server startup and when the postmaster receives
+# a SIGHUP signal. If you edit the file on a running system, you have
+# to SIGHUP the postmaster for the changes to take effect. You can
+# use "pg_ctl reload" to do that.
+
+# Put your actual configuration here
+# ----------------------------------
+
+# MAPNAME SYSTEM-USERNAME PG-USERNAME
diff --git a/pgsql/share/pg_service.conf.sample b/pgsql/share/pg_service.conf.sample
new file mode 100644
index 0000000000000000000000000000000000000000..5a1c083538b9141cbd26f906844e4e1ea8044398
--- /dev/null
+++ b/pgsql/share/pg_service.conf.sample
@@ -0,0 +1,17 @@
+#
+# Connection configuration file
+#
+# A service is a set of named connection parameters. You may specify
+# multiple services in this file. Each starts with a service name in
+# brackets. Subsequent lines have connection configuration parameters of
+# the pattern "param=value" or LDAP URLs starting with "ldap://"
+# to look up such parameters. A sample configuration for postgres is
+# included in this file. Lines beginning with '#' are comments.
+#
+# Copy this to your sysconf directory (typically /usr/local/pgsql/etc) and
+# rename it pg_service.conf.
+#
+#
+#[postgres]
+#dbname=postgres
+#user=postgres
diff --git a/pgsql/share/postgres.bki b/pgsql/share/postgres.bki
new file mode 100644
index 0000000000000000000000000000000000000000..5dc79ce9e48660472035c7db39a7915cdc436d81
--- /dev/null
+++ b/pgsql/share/postgres.bki
@@ -0,0 +1,11599 @@
+# PostgreSQL 16
+create pg_proc 1255 bootstrap rowtype_oid 81
+ (
+ oid = oid ,
+ proname = name ,
+ pronamespace = oid ,
+ proowner = oid ,
+ prolang = oid ,
+ procost = float4 ,
+ prorows = float4 ,
+ provariadic = oid ,
+ prosupport = regproc ,
+ prokind = char ,
+ prosecdef = bool ,
+ proleakproof = bool ,
+ proisstrict = bool ,
+ proretset = bool ,
+ provolatile = char ,
+ proparallel = char ,
+ pronargs = int2 ,
+ pronargdefaults = int2 ,
+ prorettype = oid ,
+ proargtypes = oidvector FORCE NOT NULL ,
+ proallargtypes = _oid ,
+ proargmodes = _char ,
+ proargnames = _text ,
+ proargdefaults = pg_node_tree ,
+ protrftypes = _oid ,
+ prosrc = text FORCE NOT NULL ,
+ probin = text ,
+ prosqlbody = pg_node_tree ,
+ proconfig = _text ,
+ proacl = _aclitem
+ )
+insert ( 1242 boolin 11 10 12 1 0 0 0 f f f t f i s 1 0 16 2275 _null_ _null_ _null_ _null_ _null_ boolin _null_ _null_ _null_ _null_ )
+insert ( 1243 boolout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 16 _null_ _null_ _null_ _null_ _null_ boolout _null_ _null_ _null_ _null_ )
+insert ( 1244 byteain 11 10 12 1 0 0 0 f f f t f i s 1 0 17 2275 _null_ _null_ _null_ _null_ _null_ byteain _null_ _null_ _null_ _null_ )
+insert ( 31 byteaout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 17 _null_ _null_ _null_ _null_ _null_ byteaout _null_ _null_ _null_ _null_ )
+insert ( 1245 charin 11 10 12 1 0 0 0 f f f t f i s 1 0 18 2275 _null_ _null_ _null_ _null_ _null_ charin _null_ _null_ _null_ _null_ )
+insert ( 33 charout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 18 _null_ _null_ _null_ _null_ _null_ charout _null_ _null_ _null_ _null_ )
+insert ( 34 namein 11 10 12 1 0 0 0 f f f t f i s 1 0 19 2275 _null_ _null_ _null_ _null_ _null_ namein _null_ _null_ _null_ _null_ )
+insert ( 35 nameout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 19 _null_ _null_ _null_ _null_ _null_ nameout _null_ _null_ _null_ _null_ )
+insert ( 38 int2in 11 10 12 1 0 0 0 f f f t f i s 1 0 21 2275 _null_ _null_ _null_ _null_ _null_ int2in _null_ _null_ _null_ _null_ )
+insert ( 39 int2out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 21 _null_ _null_ _null_ _null_ _null_ int2out _null_ _null_ _null_ _null_ )
+insert ( 40 int2vectorin 11 10 12 1 0 0 0 f f f t f i s 1 0 22 2275 _null_ _null_ _null_ _null_ _null_ int2vectorin _null_ _null_ _null_ _null_ )
+insert ( 41 int2vectorout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 22 _null_ _null_ _null_ _null_ _null_ int2vectorout _null_ _null_ _null_ _null_ )
+insert ( 42 int4in 11 10 12 1 0 0 0 f f f t f i s 1 0 23 2275 _null_ _null_ _null_ _null_ _null_ int4in _null_ _null_ _null_ _null_ )
+insert ( 43 int4out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 23 _null_ _null_ _null_ _null_ _null_ int4out _null_ _null_ _null_ _null_ )
+insert ( 44 regprocin 11 10 12 1 0 0 0 f f f t f s s 1 0 24 2275 _null_ _null_ _null_ _null_ _null_ regprocin _null_ _null_ _null_ _null_ )
+insert ( 45 regprocout 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 24 _null_ _null_ _null_ _null_ _null_ regprocout _null_ _null_ _null_ _null_ )
+insert ( 3494 to_regproc 11 10 12 1 0 0 0 f f f t f s s 1 0 24 25 _null_ _null_ _null_ _null_ _null_ to_regproc _null_ _null_ _null_ _null_ )
+insert ( 3479 to_regprocedure 11 10 12 1 0 0 0 f f f t f s s 1 0 2202 25 _null_ _null_ _null_ _null_ _null_ to_regprocedure _null_ _null_ _null_ _null_ )
+insert ( 46 textin 11 10 12 1 0 0 0 f f f t f i s 1 0 25 2275 _null_ _null_ _null_ _null_ _null_ textin _null_ _null_ _null_ _null_ )
+insert ( 47 textout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 25 _null_ _null_ _null_ _null_ _null_ textout _null_ _null_ _null_ _null_ )
+insert ( 48 tidin 11 10 12 1 0 0 0 f f f t f i s 1 0 27 2275 _null_ _null_ _null_ _null_ _null_ tidin _null_ _null_ _null_ _null_ )
+insert ( 49 tidout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 27 _null_ _null_ _null_ _null_ _null_ tidout _null_ _null_ _null_ _null_ )
+insert ( 50 xidin 11 10 12 1 0 0 0 f f f t f i s 1 0 28 2275 _null_ _null_ _null_ _null_ _null_ xidin _null_ _null_ _null_ _null_ )
+insert ( 51 xidout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 28 _null_ _null_ _null_ _null_ _null_ xidout _null_ _null_ _null_ _null_ )
+insert ( 5070 xid8in 11 10 12 1 0 0 0 f f f t f i s 1 0 5069 2275 _null_ _null_ _null_ _null_ _null_ xid8in _null_ _null_ _null_ _null_ )
+insert ( 5081 xid8out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 5069 _null_ _null_ _null_ _null_ _null_ xid8out _null_ _null_ _null_ _null_ )
+insert ( 5082 xid8recv 11 10 12 1 0 0 0 f f f t f i s 1 0 5069 2281 _null_ _null_ _null_ _null_ _null_ xid8recv _null_ _null_ _null_ _null_ )
+insert ( 5083 xid8send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 5069 _null_ _null_ _null_ _null_ _null_ xid8send _null_ _null_ _null_ _null_ )
+insert ( 52 cidin 11 10 12 1 0 0 0 f f f t f i s 1 0 29 2275 _null_ _null_ _null_ _null_ _null_ cidin _null_ _null_ _null_ _null_ )
+insert ( 53 cidout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 29 _null_ _null_ _null_ _null_ _null_ cidout _null_ _null_ _null_ _null_ )
+insert ( 54 oidvectorin 11 10 12 1 0 0 0 f f f t f i s 1 0 30 2275 _null_ _null_ _null_ _null_ _null_ oidvectorin _null_ _null_ _null_ _null_ )
+insert ( 55 oidvectorout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 30 _null_ _null_ _null_ _null_ _null_ oidvectorout _null_ _null_ _null_ _null_ )
+insert ( 56 boollt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '16 16' _null_ _null_ _null_ _null_ _null_ boollt _null_ _null_ _null_ _null_ )
+insert ( 57 boolgt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '16 16' _null_ _null_ _null_ _null_ _null_ boolgt _null_ _null_ _null_ _null_ )
+insert ( 60 booleq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '16 16' _null_ _null_ _null_ _null_ _null_ booleq _null_ _null_ _null_ _null_ )
+insert ( 61 chareq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '18 18' _null_ _null_ _null_ _null_ _null_ chareq _null_ _null_ _null_ _null_ )
+insert ( 62 nameeq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '19 19' _null_ _null_ _null_ _null_ _null_ nameeq _null_ _null_ _null_ _null_ )
+insert ( 63 int2eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '21 21' _null_ _null_ _null_ _null_ _null_ int2eq _null_ _null_ _null_ _null_ )
+insert ( 64 int2lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '21 21' _null_ _null_ _null_ _null_ _null_ int2lt _null_ _null_ _null_ _null_ )
+insert ( 65 int4eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '23 23' _null_ _null_ _null_ _null_ _null_ int4eq _null_ _null_ _null_ _null_ )
+insert ( 66 int4lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '23 23' _null_ _null_ _null_ _null_ _null_ int4lt _null_ _null_ _null_ _null_ )
+insert ( 67 texteq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ texteq _null_ _null_ _null_ _null_ )
+insert ( 3696 starts_with 11 10 12 1 0 0 6242 f f t t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ text_starts_with _null_ _null_ _null_ _null_ )
+insert ( 6242 text_starts_with_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ text_starts_with_support _null_ _null_ _null_ _null_ )
+insert ( 68 xideq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '28 28' _null_ _null_ _null_ _null_ _null_ xideq _null_ _null_ _null_ _null_ )
+insert ( 3308 xidneq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '28 28' _null_ _null_ _null_ _null_ _null_ xidneq _null_ _null_ _null_ _null_ )
+insert ( 5084 xid8eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '5069 5069' _null_ _null_ _null_ _null_ _null_ xid8eq _null_ _null_ _null_ _null_ )
+insert ( 5085 xid8ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '5069 5069' _null_ _null_ _null_ _null_ _null_ xid8ne _null_ _null_ _null_ _null_ )
+insert ( 5034 xid8lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '5069 5069' _null_ _null_ _null_ _null_ _null_ xid8lt _null_ _null_ _null_ _null_ )
+insert ( 5035 xid8gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '5069 5069' _null_ _null_ _null_ _null_ _null_ xid8gt _null_ _null_ _null_ _null_ )
+insert ( 5036 xid8le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '5069 5069' _null_ _null_ _null_ _null_ _null_ xid8le _null_ _null_ _null_ _null_ )
+insert ( 5037 xid8ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '5069 5069' _null_ _null_ _null_ _null_ _null_ xid8ge _null_ _null_ _null_ _null_ )
+insert ( 5096 xid8cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '5069 5069' _null_ _null_ _null_ _null_ _null_ xid8cmp _null_ _null_ _null_ _null_ )
+insert ( 5071 xid 11 10 12 1 0 0 0 f f f t f i s 1 0 28 5069 _null_ _null_ _null_ _null_ _null_ xid8toxid _null_ _null_ _null_ _null_ )
+insert ( 5097 xid8_larger 11 10 12 1 0 0 0 f f f t f i s 2 0 5069 '5069 5069' _null_ _null_ _null_ _null_ _null_ xid8_larger _null_ _null_ _null_ _null_ )
+insert ( 5098 xid8_smaller 11 10 12 1 0 0 0 f f f t f i s 2 0 5069 '5069 5069' _null_ _null_ _null_ _null_ _null_ xid8_smaller _null_ _null_ _null_ _null_ )
+insert ( 69 cideq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '29 29' _null_ _null_ _null_ _null_ _null_ cideq _null_ _null_ _null_ _null_ )
+insert ( 70 charne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '18 18' _null_ _null_ _null_ _null_ _null_ charne _null_ _null_ _null_ _null_ )
+insert ( 1246 charlt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '18 18' _null_ _null_ _null_ _null_ _null_ charlt _null_ _null_ _null_ _null_ )
+insert ( 72 charle 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '18 18' _null_ _null_ _null_ _null_ _null_ charle _null_ _null_ _null_ _null_ )
+insert ( 73 chargt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '18 18' _null_ _null_ _null_ _null_ _null_ chargt _null_ _null_ _null_ _null_ )
+insert ( 74 charge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '18 18' _null_ _null_ _null_ _null_ _null_ charge _null_ _null_ _null_ _null_ )
+insert ( 77 int4 11 10 12 1 0 0 0 f f f t f i s 1 0 23 18 _null_ _null_ _null_ _null_ _null_ chartoi4 _null_ _null_ _null_ _null_ )
+insert ( 78 char 11 10 12 1 0 0 0 f f f t f i s 1 0 18 23 _null_ _null_ _null_ _null_ _null_ i4tochar _null_ _null_ _null_ _null_ )
+insert ( 79 nameregexeq 11 10 12 1 0 0 1364 f f f t f i s 2 0 16 '19 25' _null_ _null_ _null_ _null_ _null_ nameregexeq _null_ _null_ _null_ _null_ )
+insert ( 1252 nameregexne 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '19 25' _null_ _null_ _null_ _null_ _null_ nameregexne _null_ _null_ _null_ _null_ )
+insert ( 1254 textregexeq 11 10 12 1 0 0 1364 f f f t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ textregexeq _null_ _null_ _null_ _null_ )
+insert ( 1256 textregexne 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ textregexne _null_ _null_ _null_ _null_ )
+insert ( 1364 textregexeq_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ textregexeq_support _null_ _null_ _null_ _null_ )
+insert ( 1257 textlen 11 10 12 1 0 0 0 f f f t f i s 1 0 23 25 _null_ _null_ _null_ _null_ _null_ textlen _null_ _null_ _null_ _null_ )
+insert ( 1258 textcat 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '25 25' _null_ _null_ _null_ _null_ _null_ textcat _null_ _null_ _null_ _null_ )
+insert ( 84 boolne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '16 16' _null_ _null_ _null_ _null_ _null_ boolne _null_ _null_ _null_ _null_ )
+insert ( 89 version 11 10 12 1 0 0 0 f f f t f s s 0 0 25 '' _null_ _null_ _null_ _null_ _null_ pgsql_version _null_ _null_ _null_ _null_ )
+insert ( 86 pg_ddl_command_in 11 10 12 1 0 0 0 f f f t f i s 1 0 32 2275 _null_ _null_ _null_ _null_ _null_ pg_ddl_command_in _null_ _null_ _null_ _null_ )
+insert ( 87 pg_ddl_command_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 32 _null_ _null_ _null_ _null_ _null_ pg_ddl_command_out _null_ _null_ _null_ _null_ )
+insert ( 88 pg_ddl_command_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 32 2281 _null_ _null_ _null_ _null_ _null_ pg_ddl_command_recv _null_ _null_ _null_ _null_ )
+insert ( 90 pg_ddl_command_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 32 _null_ _null_ _null_ _null_ _null_ pg_ddl_command_send _null_ _null_ _null_ _null_ )
+insert ( 101 eqsel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ eqsel _null_ _null_ _null_ _null_ )
+insert ( 102 neqsel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ neqsel _null_ _null_ _null_ _null_ )
+insert ( 103 scalarltsel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ scalarltsel _null_ _null_ _null_ _null_ )
+insert ( 104 scalargtsel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ scalargtsel _null_ _null_ _null_ _null_ )
+insert ( 105 eqjoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ eqjoinsel _null_ _null_ _null_ _null_ )
+insert ( 106 neqjoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ neqjoinsel _null_ _null_ _null_ _null_ )
+insert ( 107 scalarltjoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ scalarltjoinsel _null_ _null_ _null_ _null_ )
+insert ( 108 scalargtjoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ scalargtjoinsel _null_ _null_ _null_ _null_ )
+insert ( 336 scalarlesel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ scalarlesel _null_ _null_ _null_ _null_ )
+insert ( 337 scalargesel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ scalargesel _null_ _null_ _null_ _null_ )
+insert ( 386 scalarlejoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ scalarlejoinsel _null_ _null_ _null_ _null_ )
+insert ( 398 scalargejoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ scalargejoinsel _null_ _null_ _null_ _null_ )
+insert ( 109 unknownin 11 10 12 1 0 0 0 f f f t f i s 1 0 705 2275 _null_ _null_ _null_ _null_ _null_ unknownin _null_ _null_ _null_ _null_ )
+insert ( 110 unknownout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 705 _null_ _null_ _null_ _null_ _null_ unknownout _null_ _null_ _null_ _null_ )
+insert ( 115 box_above_eq 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '603 603' _null_ _null_ _null_ _null_ _null_ box_above_eq _null_ _null_ _null_ _null_ )
+insert ( 116 box_below_eq 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '603 603' _null_ _null_ _null_ _null_ _null_ box_below_eq _null_ _null_ _null_ _null_ )
+insert ( 117 point_in 11 10 12 1 0 0 0 f f f t f i s 1 0 600 2275 _null_ _null_ _null_ _null_ _null_ point_in _null_ _null_ _null_ _null_ )
+insert ( 118 point_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 600 _null_ _null_ _null_ _null_ _null_ point_out _null_ _null_ _null_ _null_ )
+insert ( 119 lseg_in 11 10 12 1 0 0 0 f f f t f i s 1 0 601 2275 _null_ _null_ _null_ _null_ _null_ lseg_in _null_ _null_ _null_ _null_ )
+insert ( 120 lseg_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 601 _null_ _null_ _null_ _null_ _null_ lseg_out _null_ _null_ _null_ _null_ )
+insert ( 121 path_in 11 10 12 1 0 0 0 f f f t f i s 1 0 602 2275 _null_ _null_ _null_ _null_ _null_ path_in _null_ _null_ _null_ _null_ )
+insert ( 122 path_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 602 _null_ _null_ _null_ _null_ _null_ path_out _null_ _null_ _null_ _null_ )
+insert ( 123 box_in 11 10 12 1 0 0 0 f f f t f i s 1 0 603 2275 _null_ _null_ _null_ _null_ _null_ box_in _null_ _null_ _null_ _null_ )
+insert ( 124 box_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 603 _null_ _null_ _null_ _null_ _null_ box_out _null_ _null_ _null_ _null_ )
+insert ( 125 box_overlap 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '603 603' _null_ _null_ _null_ _null_ _null_ box_overlap _null_ _null_ _null_ _null_ )
+insert ( 126 box_ge 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '603 603' _null_ _null_ _null_ _null_ _null_ box_ge _null_ _null_ _null_ _null_ )
+insert ( 127 box_gt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '603 603' _null_ _null_ _null_ _null_ _null_ box_gt _null_ _null_ _null_ _null_ )
+insert ( 128 box_eq 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '603 603' _null_ _null_ _null_ _null_ _null_ box_eq _null_ _null_ _null_ _null_ )
+insert ( 129 box_lt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '603 603' _null_ _null_ _null_ _null_ _null_ box_lt _null_ _null_ _null_ _null_ )
+insert ( 130 box_le 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '603 603' _null_ _null_ _null_ _null_ _null_ box_le _null_ _null_ _null_ _null_ )
+insert ( 131 point_above 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '600 600' _null_ _null_ _null_ _null_ _null_ point_above _null_ _null_ _null_ _null_ )
+insert ( 132 point_left 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '600 600' _null_ _null_ _null_ _null_ _null_ point_left _null_ _null_ _null_ _null_ )
+insert ( 133 point_right 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '600 600' _null_ _null_ _null_ _null_ _null_ point_right _null_ _null_ _null_ _null_ )
+insert ( 134 point_below 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '600 600' _null_ _null_ _null_ _null_ _null_ point_below _null_ _null_ _null_ _null_ )
+insert ( 135 point_eq 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '600 600' _null_ _null_ _null_ _null_ _null_ point_eq _null_ _null_ _null_ _null_ )
+insert ( 136 on_pb 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '600 603' _null_ _null_ _null_ _null_ _null_ on_pb _null_ _null_ _null_ _null_ )
+insert ( 137 on_ppath 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '600 602' _null_ _null_ _null_ _null_ _null_ on_ppath _null_ _null_ _null_ _null_ )
+insert ( 138 box_center 11 10 12 1 0 0 0 f f f t f i s 1 0 600 603 _null_ _null_ _null_ _null_ _null_ box_center _null_ _null_ _null_ _null_ )
+insert ( 139 areasel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ areasel _null_ _null_ _null_ _null_ )
+insert ( 140 areajoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ areajoinsel _null_ _null_ _null_ _null_ )
+insert ( 141 int4mul 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '23 23' _null_ _null_ _null_ _null_ _null_ int4mul _null_ _null_ _null_ _null_ )
+insert ( 144 int4ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '23 23' _null_ _null_ _null_ _null_ _null_ int4ne _null_ _null_ _null_ _null_ )
+insert ( 145 int2ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '21 21' _null_ _null_ _null_ _null_ _null_ int2ne _null_ _null_ _null_ _null_ )
+insert ( 146 int2gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '21 21' _null_ _null_ _null_ _null_ _null_ int2gt _null_ _null_ _null_ _null_ )
+insert ( 147 int4gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '23 23' _null_ _null_ _null_ _null_ _null_ int4gt _null_ _null_ _null_ _null_ )
+insert ( 148 int2le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '21 21' _null_ _null_ _null_ _null_ _null_ int2le _null_ _null_ _null_ _null_ )
+insert ( 149 int4le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '23 23' _null_ _null_ _null_ _null_ _null_ int4le _null_ _null_ _null_ _null_ )
+insert ( 150 int4ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '23 23' _null_ _null_ _null_ _null_ _null_ int4ge _null_ _null_ _null_ _null_ )
+insert ( 151 int2ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '21 21' _null_ _null_ _null_ _null_ _null_ int2ge _null_ _null_ _null_ _null_ )
+insert ( 152 int2mul 11 10 12 1 0 0 0 f f f t f i s 2 0 21 '21 21' _null_ _null_ _null_ _null_ _null_ int2mul _null_ _null_ _null_ _null_ )
+insert ( 153 int2div 11 10 12 1 0 0 0 f f f t f i s 2 0 21 '21 21' _null_ _null_ _null_ _null_ _null_ int2div _null_ _null_ _null_ _null_ )
+insert ( 154 int4div 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '23 23' _null_ _null_ _null_ _null_ _null_ int4div _null_ _null_ _null_ _null_ )
+insert ( 155 int2mod 11 10 12 1 0 0 0 f f f t f i s 2 0 21 '21 21' _null_ _null_ _null_ _null_ _null_ int2mod _null_ _null_ _null_ _null_ )
+insert ( 156 int4mod 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '23 23' _null_ _null_ _null_ _null_ _null_ int4mod _null_ _null_ _null_ _null_ )
+insert ( 157 textne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ textne _null_ _null_ _null_ _null_ )
+insert ( 158 int24eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '21 23' _null_ _null_ _null_ _null_ _null_ int24eq _null_ _null_ _null_ _null_ )
+insert ( 159 int42eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '23 21' _null_ _null_ _null_ _null_ _null_ int42eq _null_ _null_ _null_ _null_ )
+insert ( 160 int24lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '21 23' _null_ _null_ _null_ _null_ _null_ int24lt _null_ _null_ _null_ _null_ )
+insert ( 161 int42lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '23 21' _null_ _null_ _null_ _null_ _null_ int42lt _null_ _null_ _null_ _null_ )
+insert ( 162 int24gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '21 23' _null_ _null_ _null_ _null_ _null_ int24gt _null_ _null_ _null_ _null_ )
+insert ( 163 int42gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '23 21' _null_ _null_ _null_ _null_ _null_ int42gt _null_ _null_ _null_ _null_ )
+insert ( 164 int24ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '21 23' _null_ _null_ _null_ _null_ _null_ int24ne _null_ _null_ _null_ _null_ )
+insert ( 165 int42ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '23 21' _null_ _null_ _null_ _null_ _null_ int42ne _null_ _null_ _null_ _null_ )
+insert ( 166 int24le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '21 23' _null_ _null_ _null_ _null_ _null_ int24le _null_ _null_ _null_ _null_ )
+insert ( 167 int42le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '23 21' _null_ _null_ _null_ _null_ _null_ int42le _null_ _null_ _null_ _null_ )
+insert ( 168 int24ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '21 23' _null_ _null_ _null_ _null_ _null_ int24ge _null_ _null_ _null_ _null_ )
+insert ( 169 int42ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '23 21' _null_ _null_ _null_ _null_ _null_ int42ge _null_ _null_ _null_ _null_ )
+insert ( 170 int24mul 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '21 23' _null_ _null_ _null_ _null_ _null_ int24mul _null_ _null_ _null_ _null_ )
+insert ( 171 int42mul 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '23 21' _null_ _null_ _null_ _null_ _null_ int42mul _null_ _null_ _null_ _null_ )
+insert ( 172 int24div 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '21 23' _null_ _null_ _null_ _null_ _null_ int24div _null_ _null_ _null_ _null_ )
+insert ( 173 int42div 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '23 21' _null_ _null_ _null_ _null_ _null_ int42div _null_ _null_ _null_ _null_ )
+insert ( 176 int2pl 11 10 12 1 0 0 0 f f f t f i s 2 0 21 '21 21' _null_ _null_ _null_ _null_ _null_ int2pl _null_ _null_ _null_ _null_ )
+insert ( 177 int4pl 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '23 23' _null_ _null_ _null_ _null_ _null_ int4pl _null_ _null_ _null_ _null_ )
+insert ( 178 int24pl 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '21 23' _null_ _null_ _null_ _null_ _null_ int24pl _null_ _null_ _null_ _null_ )
+insert ( 179 int42pl 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '23 21' _null_ _null_ _null_ _null_ _null_ int42pl _null_ _null_ _null_ _null_ )
+insert ( 180 int2mi 11 10 12 1 0 0 0 f f f t f i s 2 0 21 '21 21' _null_ _null_ _null_ _null_ _null_ int2mi _null_ _null_ _null_ _null_ )
+insert ( 181 int4mi 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '23 23' _null_ _null_ _null_ _null_ _null_ int4mi _null_ _null_ _null_ _null_ )
+insert ( 182 int24mi 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '21 23' _null_ _null_ _null_ _null_ _null_ int24mi _null_ _null_ _null_ _null_ )
+insert ( 183 int42mi 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '23 21' _null_ _null_ _null_ _null_ _null_ int42mi _null_ _null_ _null_ _null_ )
+insert ( 184 oideq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '26 26' _null_ _null_ _null_ _null_ _null_ oideq _null_ _null_ _null_ _null_ )
+insert ( 185 oidne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '26 26' _null_ _null_ _null_ _null_ _null_ oidne _null_ _null_ _null_ _null_ )
+insert ( 186 box_same 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '603 603' _null_ _null_ _null_ _null_ _null_ box_same _null_ _null_ _null_ _null_ )
+insert ( 187 box_contain 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '603 603' _null_ _null_ _null_ _null_ _null_ box_contain _null_ _null_ _null_ _null_ )
+insert ( 188 box_left 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '603 603' _null_ _null_ _null_ _null_ _null_ box_left _null_ _null_ _null_ _null_ )
+insert ( 189 box_overleft 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '603 603' _null_ _null_ _null_ _null_ _null_ box_overleft _null_ _null_ _null_ _null_ )
+insert ( 190 box_overright 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '603 603' _null_ _null_ _null_ _null_ _null_ box_overright _null_ _null_ _null_ _null_ )
+insert ( 191 box_right 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '603 603' _null_ _null_ _null_ _null_ _null_ box_right _null_ _null_ _null_ _null_ )
+insert ( 192 box_contained 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '603 603' _null_ _null_ _null_ _null_ _null_ box_contained _null_ _null_ _null_ _null_ )
+insert ( 193 box_contain_pt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '603 600' _null_ _null_ _null_ _null_ _null_ box_contain_pt _null_ _null_ _null_ _null_ )
+insert ( 195 pg_node_tree_in 11 10 12 1 0 0 0 f f f t f i s 1 0 194 2275 _null_ _null_ _null_ _null_ _null_ pg_node_tree_in _null_ _null_ _null_ _null_ )
+insert ( 196 pg_node_tree_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 194 _null_ _null_ _null_ _null_ _null_ pg_node_tree_out _null_ _null_ _null_ _null_ )
+insert ( 197 pg_node_tree_recv 11 10 12 1 0 0 0 f f f t f s s 1 0 194 2281 _null_ _null_ _null_ _null_ _null_ pg_node_tree_recv _null_ _null_ _null_ _null_ )
+insert ( 198 pg_node_tree_send 11 10 12 1 0 0 0 f f f t f s s 1 0 17 194 _null_ _null_ _null_ _null_ _null_ pg_node_tree_send _null_ _null_ _null_ _null_ )
+insert ( 200 float4in 11 10 12 1 0 0 0 f f f t f i s 1 0 700 2275 _null_ _null_ _null_ _null_ _null_ float4in _null_ _null_ _null_ _null_ )
+insert ( 201 float4out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 700 _null_ _null_ _null_ _null_ _null_ float4out _null_ _null_ _null_ _null_ )
+insert ( 202 float4mul 11 10 12 1 0 0 0 f f f t f i s 2 0 700 '700 700' _null_ _null_ _null_ _null_ _null_ float4mul _null_ _null_ _null_ _null_ )
+insert ( 203 float4div 11 10 12 1 0 0 0 f f f t f i s 2 0 700 '700 700' _null_ _null_ _null_ _null_ _null_ float4div _null_ _null_ _null_ _null_ )
+insert ( 204 float4pl 11 10 12 1 0 0 0 f f f t f i s 2 0 700 '700 700' _null_ _null_ _null_ _null_ _null_ float4pl _null_ _null_ _null_ _null_ )
+insert ( 205 float4mi 11 10 12 1 0 0 0 f f f t f i s 2 0 700 '700 700' _null_ _null_ _null_ _null_ _null_ float4mi _null_ _null_ _null_ _null_ )
+insert ( 206 float4um 11 10 12 1 0 0 0 f f f t f i s 1 0 700 700 _null_ _null_ _null_ _null_ _null_ float4um _null_ _null_ _null_ _null_ )
+insert ( 207 float4abs 11 10 12 1 0 0 0 f f f t f i s 1 0 700 700 _null_ _null_ _null_ _null_ _null_ float4abs _null_ _null_ _null_ _null_ )
+insert ( 208 float4_accum 11 10 12 1 0 0 0 f f f t f i s 2 0 1022 '1022 700' _null_ _null_ _null_ _null_ _null_ float4_accum _null_ _null_ _null_ _null_ )
+insert ( 209 float4larger 11 10 12 1 0 0 0 f f f t f i s 2 0 700 '700 700' _null_ _null_ _null_ _null_ _null_ float4larger _null_ _null_ _null_ _null_ )
+insert ( 211 float4smaller 11 10 12 1 0 0 0 f f f t f i s 2 0 700 '700 700' _null_ _null_ _null_ _null_ _null_ float4smaller _null_ _null_ _null_ _null_ )
+insert ( 212 int4um 11 10 12 1 0 0 0 f f f t f i s 1 0 23 23 _null_ _null_ _null_ _null_ _null_ int4um _null_ _null_ _null_ _null_ )
+insert ( 213 int2um 11 10 12 1 0 0 0 f f f t f i s 1 0 21 21 _null_ _null_ _null_ _null_ _null_ int2um _null_ _null_ _null_ _null_ )
+insert ( 214 float8in 11 10 12 1 0 0 0 f f f t f i s 1 0 701 2275 _null_ _null_ _null_ _null_ _null_ float8in _null_ _null_ _null_ _null_ )
+insert ( 215 float8out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 701 _null_ _null_ _null_ _null_ _null_ float8out _null_ _null_ _null_ _null_ )
+insert ( 216 float8mul 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ float8mul _null_ _null_ _null_ _null_ )
+insert ( 217 float8div 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ float8div _null_ _null_ _null_ _null_ )
+insert ( 218 float8pl 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ float8pl _null_ _null_ _null_ _null_ )
+insert ( 219 float8mi 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ float8mi _null_ _null_ _null_ _null_ )
+insert ( 220 float8um 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ float8um _null_ _null_ _null_ _null_ )
+insert ( 221 float8abs 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ float8abs _null_ _null_ _null_ _null_ )
+insert ( 222 float8_accum 11 10 12 1 0 0 0 f f f t f i s 2 0 1022 '1022 701' _null_ _null_ _null_ _null_ _null_ float8_accum _null_ _null_ _null_ _null_ )
+insert ( 276 float8_combine 11 10 12 1 0 0 0 f f f t f i s 2 0 1022 '1022 1022' _null_ _null_ _null_ _null_ _null_ float8_combine _null_ _null_ _null_ _null_ )
+insert ( 223 float8larger 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ float8larger _null_ _null_ _null_ _null_ )
+insert ( 224 float8smaller 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ float8smaller _null_ _null_ _null_ _null_ )
+insert ( 225 lseg_center 11 10 12 1 0 0 0 f f f t f i s 1 0 600 601 _null_ _null_ _null_ _null_ _null_ lseg_center _null_ _null_ _null_ _null_ )
+insert ( 227 poly_center 11 10 12 1 0 0 0 f f f t f i s 1 0 600 604 _null_ _null_ _null_ _null_ _null_ poly_center _null_ _null_ _null_ _null_ )
+insert ( 228 dround 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dround _null_ _null_ _null_ _null_ )
+insert ( 229 dtrunc 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dtrunc _null_ _null_ _null_ _null_ )
+insert ( 2308 ceil 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dceil _null_ _null_ _null_ _null_ )
+insert ( 2320 ceiling 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dceil _null_ _null_ _null_ _null_ )
+insert ( 2309 floor 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dfloor _null_ _null_ _null_ _null_ )
+insert ( 2310 sign 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dsign _null_ _null_ _null_ _null_ )
+insert ( 230 dsqrt 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dsqrt _null_ _null_ _null_ _null_ )
+insert ( 231 dcbrt 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dcbrt _null_ _null_ _null_ _null_ )
+insert ( 232 dpow 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ dpow _null_ _null_ _null_ _null_ )
+insert ( 233 dexp 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dexp _null_ _null_ _null_ _null_ )
+insert ( 234 dlog1 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dlog1 _null_ _null_ _null_ _null_ )
+insert ( 235 float8 11 10 12 1 0 0 0 f f t t f i s 1 0 701 21 _null_ _null_ _null_ _null_ _null_ i2tod _null_ _null_ _null_ _null_ )
+insert ( 236 float4 11 10 12 1 0 0 0 f f t t f i s 1 0 700 21 _null_ _null_ _null_ _null_ _null_ i2tof _null_ _null_ _null_ _null_ )
+insert ( 237 int2 11 10 12 1 0 0 0 f f f t f i s 1 0 21 701 _null_ _null_ _null_ _null_ _null_ dtoi2 _null_ _null_ _null_ _null_ )
+insert ( 238 int2 11 10 12 1 0 0 0 f f f t f i s 1 0 21 700 _null_ _null_ _null_ _null_ _null_ ftoi2 _null_ _null_ _null_ _null_ )
+insert ( 239 line_distance 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '628 628' _null_ _null_ _null_ _null_ _null_ line_distance _null_ _null_ _null_ _null_ )
+insert ( 240 nameeqtext 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '19 25' _null_ _null_ _null_ _null_ _null_ nameeqtext _null_ _null_ _null_ _null_ )
+insert ( 241 namelttext 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '19 25' _null_ _null_ _null_ _null_ _null_ namelttext _null_ _null_ _null_ _null_ )
+insert ( 242 nameletext 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '19 25' _null_ _null_ _null_ _null_ _null_ nameletext _null_ _null_ _null_ _null_ )
+insert ( 243 namegetext 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '19 25' _null_ _null_ _null_ _null_ _null_ namegetext _null_ _null_ _null_ _null_ )
+insert ( 244 namegttext 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '19 25' _null_ _null_ _null_ _null_ _null_ namegttext _null_ _null_ _null_ _null_ )
+insert ( 245 namenetext 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '19 25' _null_ _null_ _null_ _null_ _null_ namenetext _null_ _null_ _null_ _null_ )
+insert ( 246 btnametextcmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '19 25' _null_ _null_ _null_ _null_ _null_ btnametextcmp _null_ _null_ _null_ _null_ )
+insert ( 247 texteqname 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '25 19' _null_ _null_ _null_ _null_ _null_ texteqname _null_ _null_ _null_ _null_ )
+insert ( 248 textltname 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '25 19' _null_ _null_ _null_ _null_ _null_ textltname _null_ _null_ _null_ _null_ )
+insert ( 249 textlename 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '25 19' _null_ _null_ _null_ _null_ _null_ textlename _null_ _null_ _null_ _null_ )
+insert ( 250 textgename 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '25 19' _null_ _null_ _null_ _null_ _null_ textgename _null_ _null_ _null_ _null_ )
+insert ( 251 textgtname 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '25 19' _null_ _null_ _null_ _null_ _null_ textgtname _null_ _null_ _null_ _null_ )
+insert ( 252 textnename 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '25 19' _null_ _null_ _null_ _null_ _null_ textnename _null_ _null_ _null_ _null_ )
+insert ( 253 bttextnamecmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '25 19' _null_ _null_ _null_ _null_ _null_ bttextnamecmp _null_ _null_ _null_ _null_ )
+insert ( 266 nameconcatoid 11 10 12 1 0 0 0 f f f t f i s 2 0 19 '19 26' _null_ _null_ _null_ _null_ _null_ nameconcatoid _null_ _null_ _null_ _null_ )
+insert ( 274 timeofday 11 10 12 1 0 0 0 f f f t f v s 0 0 25 '' _null_ _null_ _null_ _null_ _null_ timeofday _null_ _null_ _null_ _null_ )
+insert ( 277 inter_sl 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '601 628' _null_ _null_ _null_ _null_ _null_ inter_sl _null_ _null_ _null_ _null_ )
+insert ( 278 inter_lb 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '628 603' _null_ _null_ _null_ _null_ _null_ inter_lb _null_ _null_ _null_ _null_ )
+insert ( 279 float48mul 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '700 701' _null_ _null_ _null_ _null_ _null_ float48mul _null_ _null_ _null_ _null_ )
+insert ( 280 float48div 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '700 701' _null_ _null_ _null_ _null_ _null_ float48div _null_ _null_ _null_ _null_ )
+insert ( 281 float48pl 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '700 701' _null_ _null_ _null_ _null_ _null_ float48pl _null_ _null_ _null_ _null_ )
+insert ( 282 float48mi 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '700 701' _null_ _null_ _null_ _null_ _null_ float48mi _null_ _null_ _null_ _null_ )
+insert ( 283 float84mul 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '701 700' _null_ _null_ _null_ _null_ _null_ float84mul _null_ _null_ _null_ _null_ )
+insert ( 284 float84div 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '701 700' _null_ _null_ _null_ _null_ _null_ float84div _null_ _null_ _null_ _null_ )
+insert ( 285 float84pl 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '701 700' _null_ _null_ _null_ _null_ _null_ float84pl _null_ _null_ _null_ _null_ )
+insert ( 286 float84mi 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '701 700' _null_ _null_ _null_ _null_ _null_ float84mi _null_ _null_ _null_ _null_ )
+insert ( 287 float4eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '700 700' _null_ _null_ _null_ _null_ _null_ float4eq _null_ _null_ _null_ _null_ )
+insert ( 288 float4ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '700 700' _null_ _null_ _null_ _null_ _null_ float4ne _null_ _null_ _null_ _null_ )
+insert ( 289 float4lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '700 700' _null_ _null_ _null_ _null_ _null_ float4lt _null_ _null_ _null_ _null_ )
+insert ( 290 float4le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '700 700' _null_ _null_ _null_ _null_ _null_ float4le _null_ _null_ _null_ _null_ )
+insert ( 291 float4gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '700 700' _null_ _null_ _null_ _null_ _null_ float4gt _null_ _null_ _null_ _null_ )
+insert ( 292 float4ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '700 700' _null_ _null_ _null_ _null_ _null_ float4ge _null_ _null_ _null_ _null_ )
+insert ( 293 float8eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '701 701' _null_ _null_ _null_ _null_ _null_ float8eq _null_ _null_ _null_ _null_ )
+insert ( 294 float8ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '701 701' _null_ _null_ _null_ _null_ _null_ float8ne _null_ _null_ _null_ _null_ )
+insert ( 295 float8lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '701 701' _null_ _null_ _null_ _null_ _null_ float8lt _null_ _null_ _null_ _null_ )
+insert ( 296 float8le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '701 701' _null_ _null_ _null_ _null_ _null_ float8le _null_ _null_ _null_ _null_ )
+insert ( 297 float8gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '701 701' _null_ _null_ _null_ _null_ _null_ float8gt _null_ _null_ _null_ _null_ )
+insert ( 298 float8ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '701 701' _null_ _null_ _null_ _null_ _null_ float8ge _null_ _null_ _null_ _null_ )
+insert ( 299 float48eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '700 701' _null_ _null_ _null_ _null_ _null_ float48eq _null_ _null_ _null_ _null_ )
+insert ( 300 float48ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '700 701' _null_ _null_ _null_ _null_ _null_ float48ne _null_ _null_ _null_ _null_ )
+insert ( 301 float48lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '700 701' _null_ _null_ _null_ _null_ _null_ float48lt _null_ _null_ _null_ _null_ )
+insert ( 302 float48le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '700 701' _null_ _null_ _null_ _null_ _null_ float48le _null_ _null_ _null_ _null_ )
+insert ( 303 float48gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '700 701' _null_ _null_ _null_ _null_ _null_ float48gt _null_ _null_ _null_ _null_ )
+insert ( 304 float48ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '700 701' _null_ _null_ _null_ _null_ _null_ float48ge _null_ _null_ _null_ _null_ )
+insert ( 305 float84eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '701 700' _null_ _null_ _null_ _null_ _null_ float84eq _null_ _null_ _null_ _null_ )
+insert ( 306 float84ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '701 700' _null_ _null_ _null_ _null_ _null_ float84ne _null_ _null_ _null_ _null_ )
+insert ( 307 float84lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '701 700' _null_ _null_ _null_ _null_ _null_ float84lt _null_ _null_ _null_ _null_ )
+insert ( 308 float84le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '701 700' _null_ _null_ _null_ _null_ _null_ float84le _null_ _null_ _null_ _null_ )
+insert ( 309 float84gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '701 700' _null_ _null_ _null_ _null_ _null_ float84gt _null_ _null_ _null_ _null_ )
+insert ( 310 float84ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '701 700' _null_ _null_ _null_ _null_ _null_ float84ge _null_ _null_ _null_ _null_ )
+insert ( 320 width_bucket 11 10 12 1 0 0 0 f f f t f i s 4 0 23 '701 701 701 23' _null_ _null_ _null_ _null_ _null_ width_bucket_float8 _null_ _null_ _null_ _null_ )
+insert ( 311 float8 11 10 12 1 0 0 0 f f t t f i s 1 0 701 700 _null_ _null_ _null_ _null_ _null_ ftod _null_ _null_ _null_ _null_ )
+insert ( 312 float4 11 10 12 1 0 0 0 f f f t f i s 1 0 700 701 _null_ _null_ _null_ _null_ _null_ dtof _null_ _null_ _null_ _null_ )
+insert ( 313 int4 11 10 12 1 0 0 0 f f t t f i s 1 0 23 21 _null_ _null_ _null_ _null_ _null_ i2toi4 _null_ _null_ _null_ _null_ )
+insert ( 314 int2 11 10 12 1 0 0 0 f f f t f i s 1 0 21 23 _null_ _null_ _null_ _null_ _null_ i4toi2 _null_ _null_ _null_ _null_ )
+insert ( 316 float8 11 10 12 1 0 0 0 f f t t f i s 1 0 701 23 _null_ _null_ _null_ _null_ _null_ i4tod _null_ _null_ _null_ _null_ )
+insert ( 317 int4 11 10 12 1 0 0 0 f f f t f i s 1 0 23 701 _null_ _null_ _null_ _null_ _null_ dtoi4 _null_ _null_ _null_ _null_ )
+insert ( 318 float4 11 10 12 1 0 0 0 f f t t f i s 1 0 700 23 _null_ _null_ _null_ _null_ _null_ i4tof _null_ _null_ _null_ _null_ )
+insert ( 319 int4 11 10 12 1 0 0 0 f f f t f i s 1 0 23 700 _null_ _null_ _null_ _null_ _null_ ftoi4 _null_ _null_ _null_ _null_ )
+insert ( 3 heap_tableam_handler 11 10 12 1 0 0 0 f f f t f v s 1 0 269 2281 _null_ _null_ _null_ _null_ _null_ heap_tableam_handler _null_ _null_ _null_ _null_ )
+insert ( 330 bthandler 11 10 12 1 0 0 0 f f f t f v s 1 0 325 2281 _null_ _null_ _null_ _null_ _null_ bthandler _null_ _null_ _null_ _null_ )
+insert ( 331 hashhandler 11 10 12 1 0 0 0 f f f t f v s 1 0 325 2281 _null_ _null_ _null_ _null_ _null_ hashhandler _null_ _null_ _null_ _null_ )
+insert ( 332 gisthandler 11 10 12 1 0 0 0 f f f t f v s 1 0 325 2281 _null_ _null_ _null_ _null_ _null_ gisthandler _null_ _null_ _null_ _null_ )
+insert ( 333 ginhandler 11 10 12 1 0 0 0 f f f t f v s 1 0 325 2281 _null_ _null_ _null_ _null_ _null_ ginhandler _null_ _null_ _null_ _null_ )
+insert ( 334 spghandler 11 10 12 1 0 0 0 f f f t f v s 1 0 325 2281 _null_ _null_ _null_ _null_ _null_ spghandler _null_ _null_ _null_ _null_ )
+insert ( 335 brinhandler 11 10 12 1 0 0 0 f f f t f v s 1 0 325 2281 _null_ _null_ _null_ _null_ _null_ brinhandler _null_ _null_ _null_ _null_ )
+insert ( 3952 brin_summarize_new_values 11 10 12 1 0 0 0 f f f t f v u 1 0 23 2205 _null_ _null_ _null_ _null_ _null_ brin_summarize_new_values _null_ _null_ _null_ _null_ )
+insert ( 3999 brin_summarize_range 11 10 12 1 0 0 0 f f f t f v u 2 0 23 '2205 20' _null_ _null_ _null_ _null_ _null_ brin_summarize_range _null_ _null_ _null_ _null_ )
+insert ( 4014 brin_desummarize_range 11 10 12 1 0 0 0 f f f t f v u 2 0 2278 '2205 20' _null_ _null_ _null_ _null_ _null_ brin_desummarize_range _null_ _null_ _null_ _null_ )
+insert ( 338 amvalidate 11 10 12 1 0 0 0 f f f t f v s 1 0 16 26 _null_ _null_ _null_ _null_ _null_ amvalidate _null_ _null_ _null_ _null_ )
+insert ( 636 pg_indexam_has_property 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '26 25' _null_ _null_ _null_ _null_ _null_ pg_indexam_has_property _null_ _null_ _null_ _null_ )
+insert ( 637 pg_index_has_property 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '2205 25' _null_ _null_ _null_ _null_ _null_ pg_index_has_property _null_ _null_ _null_ _null_ )
+insert ( 638 pg_index_column_has_property 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '2205 23 25' _null_ _null_ _null_ _null_ _null_ pg_index_column_has_property _null_ _null_ _null_ _null_ )
+insert ( 676 pg_indexam_progress_phasename 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '26 20' _null_ _null_ _null_ _null_ _null_ pg_indexam_progress_phasename _null_ _null_ _null_ _null_ )
+insert ( 339 poly_same 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '604 604' _null_ _null_ _null_ _null_ _null_ poly_same _null_ _null_ _null_ _null_ )
+insert ( 340 poly_contain 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '604 604' _null_ _null_ _null_ _null_ _null_ poly_contain _null_ _null_ _null_ _null_ )
+insert ( 341 poly_left 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '604 604' _null_ _null_ _null_ _null_ _null_ poly_left _null_ _null_ _null_ _null_ )
+insert ( 342 poly_overleft 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '604 604' _null_ _null_ _null_ _null_ _null_ poly_overleft _null_ _null_ _null_ _null_ )
+insert ( 343 poly_overright 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '604 604' _null_ _null_ _null_ _null_ _null_ poly_overright _null_ _null_ _null_ _null_ )
+insert ( 344 poly_right 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '604 604' _null_ _null_ _null_ _null_ _null_ poly_right _null_ _null_ _null_ _null_ )
+insert ( 345 poly_contained 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '604 604' _null_ _null_ _null_ _null_ _null_ poly_contained _null_ _null_ _null_ _null_ )
+insert ( 346 poly_overlap 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '604 604' _null_ _null_ _null_ _null_ _null_ poly_overlap _null_ _null_ _null_ _null_ )
+insert ( 347 poly_in 11 10 12 1 0 0 0 f f f t f i s 1 0 604 2275 _null_ _null_ _null_ _null_ _null_ poly_in _null_ _null_ _null_ _null_ )
+insert ( 348 poly_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 604 _null_ _null_ _null_ _null_ _null_ poly_out _null_ _null_ _null_ _null_ )
+insert ( 350 btint2cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '21 21' _null_ _null_ _null_ _null_ _null_ btint2cmp _null_ _null_ _null_ _null_ )
+insert ( 3129 btint2sortsupport 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ btint2sortsupport _null_ _null_ _null_ _null_ )
+insert ( 351 btint4cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '23 23' _null_ _null_ _null_ _null_ _null_ btint4cmp _null_ _null_ _null_ _null_ )
+insert ( 3130 btint4sortsupport 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ btint4sortsupport _null_ _null_ _null_ _null_ )
+insert ( 842 btint8cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '20 20' _null_ _null_ _null_ _null_ _null_ btint8cmp _null_ _null_ _null_ _null_ )
+insert ( 3131 btint8sortsupport 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ btint8sortsupport _null_ _null_ _null_ _null_ )
+insert ( 354 btfloat4cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '700 700' _null_ _null_ _null_ _null_ _null_ btfloat4cmp _null_ _null_ _null_ _null_ )
+insert ( 3132 btfloat4sortsupport 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ btfloat4sortsupport _null_ _null_ _null_ _null_ )
+insert ( 355 btfloat8cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '701 701' _null_ _null_ _null_ _null_ _null_ btfloat8cmp _null_ _null_ _null_ _null_ )
+insert ( 3133 btfloat8sortsupport 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ btfloat8sortsupport _null_ _null_ _null_ _null_ )
+insert ( 356 btoidcmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '26 26' _null_ _null_ _null_ _null_ _null_ btoidcmp _null_ _null_ _null_ _null_ )
+insert ( 3134 btoidsortsupport 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ btoidsortsupport _null_ _null_ _null_ _null_ )
+insert ( 404 btoidvectorcmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '30 30' _null_ _null_ _null_ _null_ _null_ btoidvectorcmp _null_ _null_ _null_ _null_ )
+insert ( 358 btcharcmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '18 18' _null_ _null_ _null_ _null_ _null_ btcharcmp _null_ _null_ _null_ _null_ )
+insert ( 359 btnamecmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '19 19' _null_ _null_ _null_ _null_ _null_ btnamecmp _null_ _null_ _null_ _null_ )
+insert ( 3135 btnamesortsupport 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ btnamesortsupport _null_ _null_ _null_ _null_ )
+insert ( 360 bttextcmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '25 25' _null_ _null_ _null_ _null_ _null_ bttextcmp _null_ _null_ _null_ _null_ )
+insert ( 3255 bttextsortsupport 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ bttextsortsupport _null_ _null_ _null_ _null_ )
+insert ( 5050 btvarstrequalimage 11 10 12 1 0 0 0 f f f t f i s 1 0 16 26 _null_ _null_ _null_ _null_ _null_ btvarstrequalimage _null_ _null_ _null_ _null_ )
+insert ( 377 cash_cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '790 790' _null_ _null_ _null_ _null_ _null_ cash_cmp _null_ _null_ _null_ _null_ )
+insert ( 382 btarraycmp 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '2277 2277' _null_ _null_ _null_ _null_ _null_ btarraycmp _null_ _null_ _null_ _null_ )
+insert ( 4126 in_range 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '20 20 20 16 16' _null_ _null_ _null_ _null_ _null_ in_range_int8_int8 _null_ _null_ _null_ _null_ )
+insert ( 4127 in_range 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '23 23 20 16 16' _null_ _null_ _null_ _null_ _null_ in_range_int4_int8 _null_ _null_ _null_ _null_ )
+insert ( 4128 in_range 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '23 23 23 16 16' _null_ _null_ _null_ _null_ _null_ in_range_int4_int4 _null_ _null_ _null_ _null_ )
+insert ( 4129 in_range 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '23 23 21 16 16' _null_ _null_ _null_ _null_ _null_ in_range_int4_int2 _null_ _null_ _null_ _null_ )
+insert ( 4130 in_range 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '21 21 20 16 16' _null_ _null_ _null_ _null_ _null_ in_range_int2_int8 _null_ _null_ _null_ _null_ )
+insert ( 4131 in_range 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '21 21 23 16 16' _null_ _null_ _null_ _null_ _null_ in_range_int2_int4 _null_ _null_ _null_ _null_ )
+insert ( 4132 in_range 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '21 21 21 16 16' _null_ _null_ _null_ _null_ _null_ in_range_int2_int2 _null_ _null_ _null_ _null_ )
+insert ( 4139 in_range 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '701 701 701 16 16' _null_ _null_ _null_ _null_ _null_ in_range_float8_float8 _null_ _null_ _null_ _null_ )
+insert ( 4140 in_range 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '700 700 701 16 16' _null_ _null_ _null_ _null_ _null_ in_range_float4_float8 _null_ _null_ _null_ _null_ )
+insert ( 4141 in_range 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '1700 1700 1700 16 16' _null_ _null_ _null_ _null_ _null_ in_range_numeric_numeric _null_ _null_ _null_ _null_ )
+insert ( 361 lseg_distance 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '601 601' _null_ _null_ _null_ _null_ _null_ lseg_distance _null_ _null_ _null_ _null_ )
+insert ( 362 lseg_interpt 11 10 12 1 0 0 0 f f f t f i s 2 0 600 '601 601' _null_ _null_ _null_ _null_ _null_ lseg_interpt _null_ _null_ _null_ _null_ )
+insert ( 363 dist_ps 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '600 601' _null_ _null_ _null_ _null_ _null_ dist_ps _null_ _null_ _null_ _null_ )
+insert ( 380 dist_sp 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '601 600' _null_ _null_ _null_ _null_ _null_ dist_sp _null_ _null_ _null_ _null_ )
+insert ( 364 dist_pb 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '600 603' _null_ _null_ _null_ _null_ _null_ dist_pb _null_ _null_ _null_ _null_ )
+insert ( 357 dist_bp 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '603 600' _null_ _null_ _null_ _null_ _null_ dist_bp _null_ _null_ _null_ _null_ )
+insert ( 365 dist_sb 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '601 603' _null_ _null_ _null_ _null_ _null_ dist_sb _null_ _null_ _null_ _null_ )
+insert ( 381 dist_bs 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '603 601' _null_ _null_ _null_ _null_ _null_ dist_bs _null_ _null_ _null_ _null_ )
+insert ( 366 close_ps 11 10 12 1 0 0 0 f f f t f i s 2 0 600 '600 601' _null_ _null_ _null_ _null_ _null_ close_ps _null_ _null_ _null_ _null_ )
+insert ( 367 close_pb 11 10 12 1 0 0 0 f f f t f i s 2 0 600 '600 603' _null_ _null_ _null_ _null_ _null_ close_pb _null_ _null_ _null_ _null_ )
+insert ( 368 close_sb 11 10 12 1 0 0 0 f f f t f i s 2 0 600 '601 603' _null_ _null_ _null_ _null_ _null_ close_sb _null_ _null_ _null_ _null_ )
+insert ( 369 on_ps 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '600 601' _null_ _null_ _null_ _null_ _null_ on_ps _null_ _null_ _null_ _null_ )
+insert ( 370 path_distance 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '602 602' _null_ _null_ _null_ _null_ _null_ path_distance _null_ _null_ _null_ _null_ )
+insert ( 371 dist_ppath 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '600 602' _null_ _null_ _null_ _null_ _null_ dist_ppath _null_ _null_ _null_ _null_ )
+insert ( 421 dist_pathp 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '602 600' _null_ _null_ _null_ _null_ _null_ dist_pathp _null_ _null_ _null_ _null_ )
+insert ( 372 on_sb 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '601 603' _null_ _null_ _null_ _null_ _null_ on_sb _null_ _null_ _null_ _null_ )
+insert ( 373 inter_sb 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '601 603' _null_ _null_ _null_ _null_ _null_ inter_sb _null_ _null_ _null_ _null_ )
+insert ( 401 text 11 10 12 1 0 0 0 f f f t f i s 1 0 25 1042 _null_ _null_ _null_ _null_ _null_ rtrim1 _null_ _null_ _null_ _null_ )
+insert ( 406 text 11 10 12 1 0 0 0 f f t t f i s 1 0 25 19 _null_ _null_ _null_ _null_ _null_ name_text _null_ _null_ _null_ _null_ )
+insert ( 407 name 11 10 12 1 0 0 0 f f t t f i s 1 0 19 25 _null_ _null_ _null_ _null_ _null_ text_name _null_ _null_ _null_ _null_ )
+insert ( 408 bpchar 11 10 12 1 0 0 0 f f f t f i s 1 0 1042 19 _null_ _null_ _null_ _null_ _null_ name_bpchar _null_ _null_ _null_ _null_ )
+insert ( 409 name 11 10 12 1 0 0 0 f f t t f i s 1 0 19 1042 _null_ _null_ _null_ _null_ _null_ bpchar_name _null_ _null_ _null_ _null_ )
+insert ( 449 hashint2 11 10 12 1 0 0 0 f f f t f i s 1 0 23 21 _null_ _null_ _null_ _null_ _null_ hashint2 _null_ _null_ _null_ _null_ )
+insert ( 441 hashint2extended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '21 20' _null_ _null_ _null_ _null_ _null_ hashint2extended _null_ _null_ _null_ _null_ )
+insert ( 450 hashint4 11 10 12 1 0 0 0 f f f t f i s 1 0 23 23 _null_ _null_ _null_ _null_ _null_ hashint4 _null_ _null_ _null_ _null_ )
+insert ( 425 hashint4extended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '23 20' _null_ _null_ _null_ _null_ _null_ hashint4extended _null_ _null_ _null_ _null_ )
+insert ( 949 hashint8 11 10 12 1 0 0 0 f f f t f i s 1 0 23 20 _null_ _null_ _null_ _null_ _null_ hashint8 _null_ _null_ _null_ _null_ )
+insert ( 442 hashint8extended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 20' _null_ _null_ _null_ _null_ _null_ hashint8extended _null_ _null_ _null_ _null_ )
+insert ( 451 hashfloat4 11 10 12 1 0 0 0 f f f t f i s 1 0 23 700 _null_ _null_ _null_ _null_ _null_ hashfloat4 _null_ _null_ _null_ _null_ )
+insert ( 443 hashfloat4extended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '700 20' _null_ _null_ _null_ _null_ _null_ hashfloat4extended _null_ _null_ _null_ _null_ )
+insert ( 452 hashfloat8 11 10 12 1 0 0 0 f f f t f i s 1 0 23 701 _null_ _null_ _null_ _null_ _null_ hashfloat8 _null_ _null_ _null_ _null_ )
+insert ( 444 hashfloat8extended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '701 20' _null_ _null_ _null_ _null_ _null_ hashfloat8extended _null_ _null_ _null_ _null_ )
+insert ( 453 hashoid 11 10 12 1 0 0 0 f f f t f i s 1 0 23 26 _null_ _null_ _null_ _null_ _null_ hashoid _null_ _null_ _null_ _null_ )
+insert ( 445 hashoidextended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '26 20' _null_ _null_ _null_ _null_ _null_ hashoidextended _null_ _null_ _null_ _null_ )
+insert ( 454 hashchar 11 10 12 1 0 0 0 f f f t f i s 1 0 23 18 _null_ _null_ _null_ _null_ _null_ hashchar _null_ _null_ _null_ _null_ )
+insert ( 446 hashcharextended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '18 20' _null_ _null_ _null_ _null_ _null_ hashcharextended _null_ _null_ _null_ _null_ )
+insert ( 455 hashname 11 10 12 1 0 0 0 f f f t f i s 1 0 23 19 _null_ _null_ _null_ _null_ _null_ hashname _null_ _null_ _null_ _null_ )
+insert ( 447 hashnameextended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '19 20' _null_ _null_ _null_ _null_ _null_ hashnameextended _null_ _null_ _null_ _null_ )
+insert ( 400 hashtext 11 10 12 1 0 0 0 f f f t f i s 1 0 23 25 _null_ _null_ _null_ _null_ _null_ hashtext _null_ _null_ _null_ _null_ )
+insert ( 448 hashtextextended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '25 20' _null_ _null_ _null_ _null_ _null_ hashtextextended _null_ _null_ _null_ _null_ )
+insert ( 456 hashvarlena 11 10 12 1 0 0 0 f f f t f i s 1 0 23 2281 _null_ _null_ _null_ _null_ _null_ hashvarlena _null_ _null_ _null_ _null_ )
+insert ( 772 hashvarlenaextended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '2281 20' _null_ _null_ _null_ _null_ _null_ hashvarlenaextended _null_ _null_ _null_ _null_ )
+insert ( 457 hashoidvector 11 10 12 1 0 0 0 f f f t f i s 1 0 23 30 _null_ _null_ _null_ _null_ _null_ hashoidvector _null_ _null_ _null_ _null_ )
+insert ( 776 hashoidvectorextended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '30 20' _null_ _null_ _null_ _null_ _null_ hashoidvectorextended _null_ _null_ _null_ _null_ )
+insert ( 329 hash_aclitem 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1033 _null_ _null_ _null_ _null_ _null_ hash_aclitem _null_ _null_ _null_ _null_ )
+insert ( 777 hash_aclitem_extended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '1033 20' _null_ _null_ _null_ _null_ _null_ hash_aclitem_extended _null_ _null_ _null_ _null_ )
+insert ( 399 hashmacaddr 11 10 12 1 0 0 0 f f f t f i s 1 0 23 829 _null_ _null_ _null_ _null_ _null_ hashmacaddr _null_ _null_ _null_ _null_ )
+insert ( 778 hashmacaddrextended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '829 20' _null_ _null_ _null_ _null_ _null_ hashmacaddrextended _null_ _null_ _null_ _null_ )
+insert ( 422 hashinet 11 10 12 1 0 0 0 f f f t f i s 1 0 23 869 _null_ _null_ _null_ _null_ _null_ hashinet _null_ _null_ _null_ _null_ )
+insert ( 779 hashinetextended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '869 20' _null_ _null_ _null_ _null_ _null_ hashinetextended _null_ _null_ _null_ _null_ )
+insert ( 432 hash_numeric 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1700 _null_ _null_ _null_ _null_ _null_ hash_numeric _null_ _null_ _null_ _null_ )
+insert ( 780 hash_numeric_extended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '1700 20' _null_ _null_ _null_ _null_ _null_ hash_numeric_extended _null_ _null_ _null_ _null_ )
+insert ( 328 hashmacaddr8 11 10 12 1 0 0 0 f f f t f i s 1 0 23 774 _null_ _null_ _null_ _null_ _null_ hashmacaddr8 _null_ _null_ _null_ _null_ )
+insert ( 781 hashmacaddr8extended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '774 20' _null_ _null_ _null_ _null_ _null_ hashmacaddr8extended _null_ _null_ _null_ _null_ )
+insert ( 438 num_nulls 11 10 12 1 0 2276 0 f f f f f i s 1 0 23 2276 '{2276}' '{v}' _null_ _null_ _null_ pg_num_nulls _null_ _null_ _null_ _null_ )
+insert ( 440 num_nonnulls 11 10 12 1 0 2276 0 f f f f f i s 1 0 23 2276 '{2276}' '{v}' _null_ _null_ _null_ pg_num_nonnulls _null_ _null_ _null_ _null_ )
+insert ( 458 text_larger 11 10 12 1 0 0 0 f f t t f i s 2 0 25 '25 25' _null_ _null_ _null_ _null_ _null_ text_larger _null_ _null_ _null_ _null_ )
+insert ( 459 text_smaller 11 10 12 1 0 0 0 f f t t f i s 2 0 25 '25 25' _null_ _null_ _null_ _null_ _null_ text_smaller _null_ _null_ _null_ _null_ )
+insert ( 460 int8in 11 10 12 1 0 0 0 f f f t f i s 1 0 20 2275 _null_ _null_ _null_ _null_ _null_ int8in _null_ _null_ _null_ _null_ )
+insert ( 461 int8out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 20 _null_ _null_ _null_ _null_ _null_ int8out _null_ _null_ _null_ _null_ )
+insert ( 462 int8um 11 10 12 1 0 0 0 f f f t f i s 1 0 20 20 _null_ _null_ _null_ _null_ _null_ int8um _null_ _null_ _null_ _null_ )
+insert ( 463 int8pl 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 20' _null_ _null_ _null_ _null_ _null_ int8pl _null_ _null_ _null_ _null_ )
+insert ( 464 int8mi 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 20' _null_ _null_ _null_ _null_ _null_ int8mi _null_ _null_ _null_ _null_ )
+insert ( 465 int8mul 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 20' _null_ _null_ _null_ _null_ _null_ int8mul _null_ _null_ _null_ _null_ )
+insert ( 466 int8div 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 20' _null_ _null_ _null_ _null_ _null_ int8div _null_ _null_ _null_ _null_ )
+insert ( 467 int8eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '20 20' _null_ _null_ _null_ _null_ _null_ int8eq _null_ _null_ _null_ _null_ )
+insert ( 468 int8ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '20 20' _null_ _null_ _null_ _null_ _null_ int8ne _null_ _null_ _null_ _null_ )
+insert ( 469 int8lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '20 20' _null_ _null_ _null_ _null_ _null_ int8lt _null_ _null_ _null_ _null_ )
+insert ( 470 int8gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '20 20' _null_ _null_ _null_ _null_ _null_ int8gt _null_ _null_ _null_ _null_ )
+insert ( 471 int8le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '20 20' _null_ _null_ _null_ _null_ _null_ int8le _null_ _null_ _null_ _null_ )
+insert ( 472 int8ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '20 20' _null_ _null_ _null_ _null_ _null_ int8ge _null_ _null_ _null_ _null_ )
+insert ( 474 int84eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '20 23' _null_ _null_ _null_ _null_ _null_ int84eq _null_ _null_ _null_ _null_ )
+insert ( 475 int84ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '20 23' _null_ _null_ _null_ _null_ _null_ int84ne _null_ _null_ _null_ _null_ )
+insert ( 476 int84lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '20 23' _null_ _null_ _null_ _null_ _null_ int84lt _null_ _null_ _null_ _null_ )
+insert ( 477 int84gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '20 23' _null_ _null_ _null_ _null_ _null_ int84gt _null_ _null_ _null_ _null_ )
+insert ( 478 int84le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '20 23' _null_ _null_ _null_ _null_ _null_ int84le _null_ _null_ _null_ _null_ )
+insert ( 479 int84ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '20 23' _null_ _null_ _null_ _null_ _null_ int84ge _null_ _null_ _null_ _null_ )
+insert ( 480 int4 11 10 12 1 0 0 0 f f f t f i s 1 0 23 20 _null_ _null_ _null_ _null_ _null_ int84 _null_ _null_ _null_ _null_ )
+insert ( 481 int8 11 10 12 1 0 0 0 f f t t f i s 1 0 20 23 _null_ _null_ _null_ _null_ _null_ int48 _null_ _null_ _null_ _null_ )
+insert ( 482 float8 11 10 12 1 0 0 0 f f t t f i s 1 0 701 20 _null_ _null_ _null_ _null_ _null_ i8tod _null_ _null_ _null_ _null_ )
+insert ( 483 int8 11 10 12 1 0 0 0 f f f t f i s 1 0 20 701 _null_ _null_ _null_ _null_ _null_ dtoi8 _null_ _null_ _null_ _null_ )
+insert ( 626 hash_array 11 10 12 1 0 0 0 f f f t f i s 1 0 23 2277 _null_ _null_ _null_ _null_ _null_ hash_array _null_ _null_ _null_ _null_ )
+insert ( 782 hash_array_extended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '2277 20' _null_ _null_ _null_ _null_ _null_ hash_array_extended _null_ _null_ _null_ _null_ )
+insert ( 652 float4 11 10 12 1 0 0 0 f f t t f i s 1 0 700 20 _null_ _null_ _null_ _null_ _null_ i8tof _null_ _null_ _null_ _null_ )
+insert ( 653 int8 11 10 12 1 0 0 0 f f f t f i s 1 0 20 700 _null_ _null_ _null_ _null_ _null_ ftoi8 _null_ _null_ _null_ _null_ )
+insert ( 714 int2 11 10 12 1 0 0 0 f f f t f i s 1 0 21 20 _null_ _null_ _null_ _null_ _null_ int82 _null_ _null_ _null_ _null_ )
+insert ( 754 int8 11 10 12 1 0 0 0 f f t t f i s 1 0 20 21 _null_ _null_ _null_ _null_ _null_ int28 _null_ _null_ _null_ _null_ )
+insert ( 655 namelt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '19 19' _null_ _null_ _null_ _null_ _null_ namelt _null_ _null_ _null_ _null_ )
+insert ( 656 namele 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '19 19' _null_ _null_ _null_ _null_ _null_ namele _null_ _null_ _null_ _null_ )
+insert ( 657 namegt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '19 19' _null_ _null_ _null_ _null_ _null_ namegt _null_ _null_ _null_ _null_ )
+insert ( 658 namege 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '19 19' _null_ _null_ _null_ _null_ _null_ namege _null_ _null_ _null_ _null_ )
+insert ( 659 namene 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '19 19' _null_ _null_ _null_ _null_ _null_ namene _null_ _null_ _null_ _null_ )
+insert ( 668 bpchar 11 10 12 1 0 0 0 f f f t f i s 3 0 1042 '1042 23 16' _null_ _null_ _null_ _null_ _null_ bpchar _null_ _null_ _null_ _null_ )
+insert ( 3097 varchar_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ varchar_support _null_ _null_ _null_ _null_ )
+insert ( 669 varchar 11 10 12 1 0 0 3097 f f f t f i s 3 0 1043 '1043 23 16' _null_ _null_ _null_ _null_ _null_ varchar _null_ _null_ _null_ _null_ )
+insert ( 619 oidvectorne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '30 30' _null_ _null_ _null_ _null_ _null_ oidvectorne _null_ _null_ _null_ _null_ )
+insert ( 677 oidvectorlt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '30 30' _null_ _null_ _null_ _null_ _null_ oidvectorlt _null_ _null_ _null_ _null_ )
+insert ( 678 oidvectorle 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '30 30' _null_ _null_ _null_ _null_ _null_ oidvectorle _null_ _null_ _null_ _null_ )
+insert ( 679 oidvectoreq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '30 30' _null_ _null_ _null_ _null_ _null_ oidvectoreq _null_ _null_ _null_ _null_ )
+insert ( 680 oidvectorge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '30 30' _null_ _null_ _null_ _null_ _null_ oidvectorge _null_ _null_ _null_ _null_ )
+insert ( 681 oidvectorgt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '30 30' _null_ _null_ _null_ _null_ _null_ oidvectorgt _null_ _null_ _null_ _null_ )
+insert ( 710 getpgusername 11 10 12 1 0 0 0 f f f t f s s 0 0 19 '' _null_ _null_ _null_ _null_ _null_ current_user _null_ _null_ _null_ _null_ )
+insert ( 716 oidlt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '26 26' _null_ _null_ _null_ _null_ _null_ oidlt _null_ _null_ _null_ _null_ )
+insert ( 717 oidle 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '26 26' _null_ _null_ _null_ _null_ _null_ oidle _null_ _null_ _null_ _null_ )
+insert ( 720 octet_length 11 10 12 1 0 0 0 f f f t f i s 1 0 23 17 _null_ _null_ _null_ _null_ _null_ byteaoctetlen _null_ _null_ _null_ _null_ )
+insert ( 721 get_byte 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '17 23' _null_ _null_ _null_ _null_ _null_ byteaGetByte _null_ _null_ _null_ _null_ )
+insert ( 722 set_byte 11 10 12 1 0 0 0 f f f t f i s 3 0 17 '17 23 23' _null_ _null_ _null_ _null_ _null_ byteaSetByte _null_ _null_ _null_ _null_ )
+insert ( 723 get_bit 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '17 20' _null_ _null_ _null_ _null_ _null_ byteaGetBit _null_ _null_ _null_ _null_ )
+insert ( 724 set_bit 11 10 12 1 0 0 0 f f f t f i s 3 0 17 '17 20 23' _null_ _null_ _null_ _null_ _null_ byteaSetBit _null_ _null_ _null_ _null_ )
+insert ( 749 overlay 11 10 12 1 0 0 0 f f f t f i s 4 0 17 '17 17 23 23' _null_ _null_ _null_ _null_ _null_ byteaoverlay _null_ _null_ _null_ _null_ )
+insert ( 752 overlay 11 10 12 1 0 0 0 f f f t f i s 3 0 17 '17 17 23' _null_ _null_ _null_ _null_ _null_ byteaoverlay_no_len _null_ _null_ _null_ _null_ )
+insert ( 6163 bit_count 11 10 12 1 0 0 0 f f f t f i s 1 0 20 17 _null_ _null_ _null_ _null_ _null_ bytea_bit_count _null_ _null_ _null_ _null_ )
+insert ( 725 dist_pl 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '600 628' _null_ _null_ _null_ _null_ _null_ dist_pl _null_ _null_ _null_ _null_ )
+insert ( 702 dist_lp 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '628 600' _null_ _null_ _null_ _null_ _null_ dist_lp _null_ _null_ _null_ _null_ )
+insert ( 727 dist_sl 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '601 628' _null_ _null_ _null_ _null_ _null_ dist_sl _null_ _null_ _null_ _null_ )
+insert ( 704 dist_ls 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '628 601' _null_ _null_ _null_ _null_ _null_ dist_ls _null_ _null_ _null_ _null_ )
+insert ( 728 dist_cpoly 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '718 604' _null_ _null_ _null_ _null_ _null_ dist_cpoly _null_ _null_ _null_ _null_ )
+insert ( 785 dist_polyc 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '604 718' _null_ _null_ _null_ _null_ _null_ dist_polyc _null_ _null_ _null_ _null_ )
+insert ( 729 poly_distance 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '604 604' _null_ _null_ _null_ _null_ _null_ poly_distance _null_ _null_ _null_ _null_ )
+insert ( 3275 dist_ppoly 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '600 604' _null_ _null_ _null_ _null_ _null_ dist_ppoly _null_ _null_ _null_ _null_ )
+insert ( 3292 dist_polyp 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '604 600' _null_ _null_ _null_ _null_ _null_ dist_polyp _null_ _null_ _null_ _null_ )
+insert ( 3290 dist_cpoint 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '718 600' _null_ _null_ _null_ _null_ _null_ dist_cpoint _null_ _null_ _null_ _null_ )
+insert ( 740 text_lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ text_lt _null_ _null_ _null_ _null_ )
+insert ( 741 text_le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ text_le _null_ _null_ _null_ _null_ )
+insert ( 742 text_gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ text_gt _null_ _null_ _null_ _null_ )
+insert ( 743 text_ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ text_ge _null_ _null_ _null_ _null_ )
+insert ( 745 current_user 11 10 12 1 0 0 0 f f f t f s s 0 0 19 '' _null_ _null_ _null_ _null_ _null_ current_user _null_ _null_ _null_ _null_ )
+insert ( 746 session_user 11 10 12 1 0 0 0 f f f t f s s 0 0 19 '' _null_ _null_ _null_ _null_ _null_ session_user _null_ _null_ _null_ _null_ )
+insert ( 6311 system_user 11 10 12 1 0 0 0 f f f t f s s 0 0 25 '' _null_ _null_ _null_ _null_ _null_ system_user _null_ _null_ _null_ _null_ )
+insert ( 744 array_eq 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2277 2277' _null_ _null_ _null_ _null_ _null_ array_eq _null_ _null_ _null_ _null_ )
+insert ( 390 array_ne 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2277 2277' _null_ _null_ _null_ _null_ _null_ array_ne _null_ _null_ _null_ _null_ )
+insert ( 391 array_lt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2277 2277' _null_ _null_ _null_ _null_ _null_ array_lt _null_ _null_ _null_ _null_ )
+insert ( 392 array_gt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2277 2277' _null_ _null_ _null_ _null_ _null_ array_gt _null_ _null_ _null_ _null_ )
+insert ( 393 array_le 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2277 2277' _null_ _null_ _null_ _null_ _null_ array_le _null_ _null_ _null_ _null_ )
+insert ( 396 array_ge 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2277 2277' _null_ _null_ _null_ _null_ _null_ array_ge _null_ _null_ _null_ _null_ )
+insert ( 747 array_dims 11 10 12 1 0 0 0 f f f t f i s 1 0 25 2277 _null_ _null_ _null_ _null_ _null_ array_dims _null_ _null_ _null_ _null_ )
+insert ( 748 array_ndims 11 10 12 1 0 0 0 f f f t f i s 1 0 23 2277 _null_ _null_ _null_ _null_ _null_ array_ndims _null_ _null_ _null_ _null_ )
+insert ( 750 array_in 11 10 12 1 0 0 0 f f f t f s s 3 0 2277 '2275 26 23' _null_ _null_ _null_ _null_ _null_ array_in _null_ _null_ _null_ _null_ )
+insert ( 751 array_out 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 2277 _null_ _null_ _null_ _null_ _null_ array_out _null_ _null_ _null_ _null_ )
+insert ( 2091 array_lower 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '2277 23' _null_ _null_ _null_ _null_ _null_ array_lower _null_ _null_ _null_ _null_ )
+insert ( 2092 array_upper 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '2277 23' _null_ _null_ _null_ _null_ _null_ array_upper _null_ _null_ _null_ _null_ )
+insert ( 2176 array_length 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '2277 23' _null_ _null_ _null_ _null_ _null_ array_length _null_ _null_ _null_ _null_ )
+insert ( 3179 cardinality 11 10 12 1 0 0 0 f f f t f i s 1 0 23 2277 _null_ _null_ _null_ _null_ _null_ array_cardinality _null_ _null_ _null_ _null_ )
+insert ( 378 array_append 11 10 12 1 0 0 0 f f f f f i s 2 0 5078 '5078 5077' _null_ _null_ _null_ _null_ _null_ array_append _null_ _null_ _null_ _null_ )
+insert ( 379 array_prepend 11 10 12 1 0 0 0 f f f f f i s 2 0 5078 '5077 5078' _null_ _null_ _null_ _null_ _null_ array_prepend _null_ _null_ _null_ _null_ )
+insert ( 383 array_cat 11 10 12 1 0 0 0 f f f f f i s 2 0 5078 '5078 5078' _null_ _null_ _null_ _null_ _null_ array_cat _null_ _null_ _null_ _null_ )
+insert ( 394 string_to_array 11 10 12 1 0 0 0 f f f f f i s 2 0 1009 '25 25' _null_ _null_ _null_ _null_ _null_ text_to_array _null_ _null_ _null_ _null_ )
+insert ( 376 string_to_array 11 10 12 1 0 0 0 f f f f f i s 3 0 1009 '25 25 25' _null_ _null_ _null_ _null_ _null_ text_to_array_null _null_ _null_ _null_ _null_ )
+insert ( 6160 string_to_table 11 10 12 1 1000 0 0 f f f f t i s 2 0 25 '25 25' _null_ _null_ _null_ _null_ _null_ text_to_table _null_ _null_ _null_ _null_ )
+insert ( 6161 string_to_table 11 10 12 1 1000 0 0 f f f f t i s 3 0 25 '25 25 25' _null_ _null_ _null_ _null_ _null_ text_to_table_null _null_ _null_ _null_ _null_ )
+insert ( 395 array_to_string 11 10 12 1 0 0 0 f f f t f s s 2 0 25 '2277 25' _null_ _null_ _null_ _null_ _null_ array_to_text _null_ _null_ _null_ _null_ )
+insert ( 384 array_to_string 11 10 12 1 0 0 0 f f f f f s s 3 0 25 '2277 25 25' _null_ _null_ _null_ _null_ _null_ array_to_text_null _null_ _null_ _null_ _null_ )
+insert ( 515 array_larger 11 10 12 1 0 0 0 f f f t f i s 2 0 2277 '2277 2277' _null_ _null_ _null_ _null_ _null_ array_larger _null_ _null_ _null_ _null_ )
+insert ( 516 array_smaller 11 10 12 1 0 0 0 f f f t f i s 2 0 2277 '2277 2277' _null_ _null_ _null_ _null_ _null_ array_smaller _null_ _null_ _null_ _null_ )
+insert ( 3277 array_position 11 10 12 1 0 0 0 f f f f f i s 2 0 23 '5078 5077' _null_ _null_ _null_ _null_ _null_ array_position _null_ _null_ _null_ _null_ )
+insert ( 3278 array_position 11 10 12 1 0 0 0 f f f f f i s 3 0 23 '5078 5077 23' _null_ _null_ _null_ _null_ _null_ array_position_start _null_ _null_ _null_ _null_ )
+insert ( 3279 array_positions 11 10 12 1 0 0 0 f f f f f i s 2 0 1007 '5078 5077' _null_ _null_ _null_ _null_ _null_ array_positions _null_ _null_ _null_ _null_ )
+insert ( 1191 generate_subscripts 11 10 12 1 1000 0 0 f f f t t i s 3 0 23 '2277 23 16' _null_ _null_ _null_ _null_ _null_ generate_subscripts _null_ _null_ _null_ _null_ )
+insert ( 1192 generate_subscripts 11 10 12 1 1000 0 0 f f f t t i s 2 0 23 '2277 23' _null_ _null_ _null_ _null_ _null_ generate_subscripts_nodir _null_ _null_ _null_ _null_ )
+insert ( 1193 array_fill 11 10 12 1 0 0 0 f f f f f i s 2 0 2277 '2283 1007' _null_ _null_ _null_ _null_ _null_ array_fill _null_ _null_ _null_ _null_ )
+insert ( 1286 array_fill 11 10 12 1 0 0 0 f f f f f i s 3 0 2277 '2283 1007 1007' _null_ _null_ _null_ _null_ _null_ array_fill_with_lower_bounds _null_ _null_ _null_ _null_ )
+insert ( 2331 unnest 11 10 12 1 100 0 3996 f f f t t i s 1 0 2283 2277 _null_ _null_ _null_ _null_ _null_ array_unnest _null_ _null_ _null_ _null_ )
+insert ( 3996 array_unnest_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ array_unnest_support _null_ _null_ _null_ _null_ )
+insert ( 3167 array_remove 11 10 12 1 0 0 0 f f f f f i s 2 0 5078 '5078 5077' _null_ _null_ _null_ _null_ _null_ array_remove _null_ _null_ _null_ _null_ )
+insert ( 3168 array_replace 11 10 12 1 0 0 0 f f f f f i s 3 0 5078 '5078 5077 5077' _null_ _null_ _null_ _null_ _null_ array_replace _null_ _null_ _null_ _null_ )
+insert ( 2333 array_agg_transfn 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 2776' _null_ _null_ _null_ _null_ _null_ array_agg_transfn _null_ _null_ _null_ _null_ )
+insert ( 6293 array_agg_combine 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 2281' _null_ _null_ _null_ _null_ _null_ array_agg_combine _null_ _null_ _null_ _null_ )
+insert ( 6294 array_agg_serialize 11 10 12 1 0 0 0 f f f t f i s 1 0 17 2281 _null_ _null_ _null_ _null_ _null_ array_agg_serialize _null_ _null_ _null_ _null_ )
+insert ( 6295 array_agg_deserialize 11 10 12 1 0 0 0 f f f t f i s 2 0 2281 '17 2281' _null_ _null_ _null_ _null_ _null_ array_agg_deserialize _null_ _null_ _null_ _null_ )
+insert ( 2334 array_agg_finalfn 11 10 12 1 0 0 0 f f f f f i s 2 0 2277 '2281 2776' _null_ _null_ _null_ _null_ _null_ array_agg_finalfn _null_ _null_ _null_ _null_ )
+insert ( 2335 array_agg 11 10 12 1 0 0 0 a f f f f i s 1 0 2277 2776 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 4051 array_agg_array_transfn 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 2277' _null_ _null_ _null_ _null_ _null_ array_agg_array_transfn _null_ _null_ _null_ _null_ )
+insert ( 6296 array_agg_array_combine 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 2281' _null_ _null_ _null_ _null_ _null_ array_agg_array_combine _null_ _null_ _null_ _null_ )
+insert ( 6297 array_agg_array_serialize 11 10 12 1 0 0 0 f f f t f i s 1 0 17 2281 _null_ _null_ _null_ _null_ _null_ array_agg_array_serialize _null_ _null_ _null_ _null_ )
+insert ( 6298 array_agg_array_deserialize 11 10 12 1 0 0 0 f f f t f i s 2 0 2281 '17 2281' _null_ _null_ _null_ _null_ _null_ array_agg_array_deserialize _null_ _null_ _null_ _null_ )
+insert ( 4052 array_agg_array_finalfn 11 10 12 1 0 0 0 f f f f f i s 2 0 2277 '2281 2277' _null_ _null_ _null_ _null_ _null_ array_agg_array_finalfn _null_ _null_ _null_ _null_ )
+insert ( 4053 array_agg 11 10 12 1 0 0 0 a f f f f i s 1 0 2277 2277 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3218 width_bucket 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '5077 5078' _null_ _null_ _null_ _null_ _null_ width_bucket_array _null_ _null_ _null_ _null_ )
+insert ( 6172 trim_array 11 10 12 1 0 0 0 f f f t f i s 2 0 2277 '2277 23' _null_ _null_ _null_ _null_ _null_ trim_array _null_ _null_ _null_ _null_ )
+insert ( 6215 array_shuffle 11 10 12 1 0 0 0 f f f t f v s 1 0 2277 2277 _null_ _null_ _null_ _null_ _null_ array_shuffle _null_ _null_ _null_ _null_ )
+insert ( 6216 array_sample 11 10 12 1 0 0 0 f f f t f v s 2 0 2277 '2277 23' _null_ _null_ _null_ _null_ _null_ array_sample _null_ _null_ _null_ _null_ )
+insert ( 3816 array_typanalyze 11 10 12 1 0 0 0 f f f t f s s 1 0 16 2281 _null_ _null_ _null_ _null_ _null_ array_typanalyze _null_ _null_ _null_ _null_ )
+insert ( 3817 arraycontsel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ arraycontsel _null_ _null_ _null_ _null_ )
+insert ( 3818 arraycontjoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ arraycontjoinsel _null_ _null_ _null_ _null_ )
+insert ( 764 lo_import 11 10 12 1 0 0 0 f f f t f v u 1 0 26 25 _null_ _null_ _null_ _null_ _null_ be_lo_import _null_ _null_ _null_ _null_ )
+insert ( 767 lo_import 11 10 12 1 0 0 0 f f f t f v u 2 0 26 '25 26' _null_ _null_ _null_ _null_ _null_ be_lo_import_with_oid _null_ _null_ _null_ _null_ )
+insert ( 765 lo_export 11 10 12 1 0 0 0 f f f t f v u 2 0 23 '26 25' _null_ _null_ _null_ _null_ _null_ be_lo_export _null_ _null_ _null_ _null_ )
+insert ( 766 int4inc 11 10 12 1 0 0 0 f f f t f i s 1 0 23 23 _null_ _null_ _null_ _null_ _null_ int4inc _null_ _null_ _null_ _null_ )
+insert ( 768 int4larger 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '23 23' _null_ _null_ _null_ _null_ _null_ int4larger _null_ _null_ _null_ _null_ )
+insert ( 769 int4smaller 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '23 23' _null_ _null_ _null_ _null_ _null_ int4smaller _null_ _null_ _null_ _null_ )
+insert ( 770 int2larger 11 10 12 1 0 0 0 f f f t f i s 2 0 21 '21 21' _null_ _null_ _null_ _null_ _null_ int2larger _null_ _null_ _null_ _null_ )
+insert ( 771 int2smaller 11 10 12 1 0 0 0 f f f t f i s 2 0 21 '21 21' _null_ _null_ _null_ _null_ _null_ int2smaller _null_ _null_ _null_ _null_ )
+insert ( 846 cash_mul_flt4 11 10 12 1 0 0 0 f f f t f i s 2 0 790 '790 700' _null_ _null_ _null_ _null_ _null_ cash_mul_flt4 _null_ _null_ _null_ _null_ )
+insert ( 847 cash_div_flt4 11 10 12 1 0 0 0 f f f t f i s 2 0 790 '790 700' _null_ _null_ _null_ _null_ _null_ cash_div_flt4 _null_ _null_ _null_ _null_ )
+insert ( 848 flt4_mul_cash 11 10 12 1 0 0 0 f f f t f i s 2 0 790 '700 790' _null_ _null_ _null_ _null_ _null_ flt4_mul_cash _null_ _null_ _null_ _null_ )
+insert ( 849 position 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '25 25' _null_ _null_ _null_ _null_ _null_ textpos _null_ _null_ _null_ _null_ )
+insert ( 850 textlike 11 10 12 1 0 0 1023 f f f t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ textlike _null_ _null_ _null_ _null_ )
+insert ( 1023 textlike_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ textlike_support _null_ _null_ _null_ _null_ )
+insert ( 851 textnlike 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ textnlike _null_ _null_ _null_ _null_ )
+insert ( 852 int48eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '23 20' _null_ _null_ _null_ _null_ _null_ int48eq _null_ _null_ _null_ _null_ )
+insert ( 853 int48ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '23 20' _null_ _null_ _null_ _null_ _null_ int48ne _null_ _null_ _null_ _null_ )
+insert ( 854 int48lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '23 20' _null_ _null_ _null_ _null_ _null_ int48lt _null_ _null_ _null_ _null_ )
+insert ( 855 int48gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '23 20' _null_ _null_ _null_ _null_ _null_ int48gt _null_ _null_ _null_ _null_ )
+insert ( 856 int48le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '23 20' _null_ _null_ _null_ _null_ _null_ int48le _null_ _null_ _null_ _null_ )
+insert ( 857 int48ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '23 20' _null_ _null_ _null_ _null_ _null_ int48ge _null_ _null_ _null_ _null_ )
+insert ( 858 namelike 11 10 12 1 0 0 1023 f f f t f i s 2 0 16 '19 25' _null_ _null_ _null_ _null_ _null_ namelike _null_ _null_ _null_ _null_ )
+insert ( 859 namenlike 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '19 25' _null_ _null_ _null_ _null_ _null_ namenlike _null_ _null_ _null_ _null_ )
+insert ( 860 bpchar 11 10 12 1 0 0 0 f f f t f i s 1 0 1042 18 _null_ _null_ _null_ _null_ _null_ char_bpchar _null_ _null_ _null_ _null_ )
+insert ( 861 current_database 11 10 12 1 0 0 0 f f f t f s s 0 0 19 '' _null_ _null_ _null_ _null_ _null_ current_database _null_ _null_ _null_ _null_ )
+insert ( 817 current_query 11 10 12 1 0 0 0 f f f f f v r 0 0 25 '' _null_ _null_ _null_ _null_ _null_ current_query _null_ _null_ _null_ _null_ )
+insert ( 3399 int8_mul_cash 11 10 12 1 0 0 0 f f f t f i s 2 0 790 '20 790' _null_ _null_ _null_ _null_ _null_ int8_mul_cash _null_ _null_ _null_ _null_ )
+insert ( 862 int4_mul_cash 11 10 12 1 0 0 0 f f f t f i s 2 0 790 '23 790' _null_ _null_ _null_ _null_ _null_ int4_mul_cash _null_ _null_ _null_ _null_ )
+insert ( 863 int2_mul_cash 11 10 12 1 0 0 0 f f f t f i s 2 0 790 '21 790' _null_ _null_ _null_ _null_ _null_ int2_mul_cash _null_ _null_ _null_ _null_ )
+insert ( 3344 cash_mul_int8 11 10 12 1 0 0 0 f f f t f i s 2 0 790 '790 20' _null_ _null_ _null_ _null_ _null_ cash_mul_int8 _null_ _null_ _null_ _null_ )
+insert ( 3345 cash_div_int8 11 10 12 1 0 0 0 f f f t f i s 2 0 790 '790 20' _null_ _null_ _null_ _null_ _null_ cash_div_int8 _null_ _null_ _null_ _null_ )
+insert ( 864 cash_mul_int4 11 10 12 1 0 0 0 f f f t f i s 2 0 790 '790 23' _null_ _null_ _null_ _null_ _null_ cash_mul_int4 _null_ _null_ _null_ _null_ )
+insert ( 865 cash_div_int4 11 10 12 1 0 0 0 f f f t f i s 2 0 790 '790 23' _null_ _null_ _null_ _null_ _null_ cash_div_int4 _null_ _null_ _null_ _null_ )
+insert ( 866 cash_mul_int2 11 10 12 1 0 0 0 f f f t f i s 2 0 790 '790 21' _null_ _null_ _null_ _null_ _null_ cash_mul_int2 _null_ _null_ _null_ _null_ )
+insert ( 867 cash_div_int2 11 10 12 1 0 0 0 f f f t f i s 2 0 790 '790 21' _null_ _null_ _null_ _null_ _null_ cash_div_int2 _null_ _null_ _null_ _null_ )
+insert ( 886 cash_in 11 10 12 1 0 0 0 f f f t f s s 1 0 790 2275 _null_ _null_ _null_ _null_ _null_ cash_in _null_ _null_ _null_ _null_ )
+insert ( 887 cash_out 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 790 _null_ _null_ _null_ _null_ _null_ cash_out _null_ _null_ _null_ _null_ )
+insert ( 888 cash_eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '790 790' _null_ _null_ _null_ _null_ _null_ cash_eq _null_ _null_ _null_ _null_ )
+insert ( 889 cash_ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '790 790' _null_ _null_ _null_ _null_ _null_ cash_ne _null_ _null_ _null_ _null_ )
+insert ( 890 cash_lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '790 790' _null_ _null_ _null_ _null_ _null_ cash_lt _null_ _null_ _null_ _null_ )
+insert ( 891 cash_le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '790 790' _null_ _null_ _null_ _null_ _null_ cash_le _null_ _null_ _null_ _null_ )
+insert ( 892 cash_gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '790 790' _null_ _null_ _null_ _null_ _null_ cash_gt _null_ _null_ _null_ _null_ )
+insert ( 893 cash_ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '790 790' _null_ _null_ _null_ _null_ _null_ cash_ge _null_ _null_ _null_ _null_ )
+insert ( 894 cash_pl 11 10 12 1 0 0 0 f f f t f i s 2 0 790 '790 790' _null_ _null_ _null_ _null_ _null_ cash_pl _null_ _null_ _null_ _null_ )
+insert ( 895 cash_mi 11 10 12 1 0 0 0 f f f t f i s 2 0 790 '790 790' _null_ _null_ _null_ _null_ _null_ cash_mi _null_ _null_ _null_ _null_ )
+insert ( 896 cash_mul_flt8 11 10 12 1 0 0 0 f f f t f i s 2 0 790 '790 701' _null_ _null_ _null_ _null_ _null_ cash_mul_flt8 _null_ _null_ _null_ _null_ )
+insert ( 897 cash_div_flt8 11 10 12 1 0 0 0 f f f t f i s 2 0 790 '790 701' _null_ _null_ _null_ _null_ _null_ cash_div_flt8 _null_ _null_ _null_ _null_ )
+insert ( 898 cashlarger 11 10 12 1 0 0 0 f f f t f i s 2 0 790 '790 790' _null_ _null_ _null_ _null_ _null_ cashlarger _null_ _null_ _null_ _null_ )
+insert ( 899 cashsmaller 11 10 12 1 0 0 0 f f f t f i s 2 0 790 '790 790' _null_ _null_ _null_ _null_ _null_ cashsmaller _null_ _null_ _null_ _null_ )
+insert ( 919 flt8_mul_cash 11 10 12 1 0 0 0 f f f t f i s 2 0 790 '701 790' _null_ _null_ _null_ _null_ _null_ flt8_mul_cash _null_ _null_ _null_ _null_ )
+insert ( 935 cash_words 11 10 12 1 0 0 0 f f f t f i s 1 0 25 790 _null_ _null_ _null_ _null_ _null_ cash_words _null_ _null_ _null_ _null_ )
+insert ( 3822 cash_div_cash 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '790 790' _null_ _null_ _null_ _null_ _null_ cash_div_cash _null_ _null_ _null_ _null_ )
+insert ( 3823 numeric 11 10 12 1 0 0 0 f f f t f s s 1 0 1700 790 _null_ _null_ _null_ _null_ _null_ cash_numeric _null_ _null_ _null_ _null_ )
+insert ( 3824 money 11 10 12 1 0 0 0 f f f t f s s 1 0 790 1700 _null_ _null_ _null_ _null_ _null_ numeric_cash _null_ _null_ _null_ _null_ )
+insert ( 3811 money 11 10 12 1 0 0 0 f f f t f s s 1 0 790 23 _null_ _null_ _null_ _null_ _null_ int4_cash _null_ _null_ _null_ _null_ )
+insert ( 3812 money 11 10 12 1 0 0 0 f f f t f s s 1 0 790 20 _null_ _null_ _null_ _null_ _null_ int8_cash _null_ _null_ _null_ _null_ )
+insert ( 940 mod 11 10 12 1 0 0 0 f f f t f i s 2 0 21 '21 21' _null_ _null_ _null_ _null_ _null_ int2mod _null_ _null_ _null_ _null_ )
+insert ( 941 mod 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '23 23' _null_ _null_ _null_ _null_ _null_ int4mod _null_ _null_ _null_ _null_ )
+insert ( 945 int8mod 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 20' _null_ _null_ _null_ _null_ _null_ int8mod _null_ _null_ _null_ _null_ )
+insert ( 947 mod 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 20' _null_ _null_ _null_ _null_ _null_ int8mod _null_ _null_ _null_ _null_ )
+insert ( 5044 gcd 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '23 23' _null_ _null_ _null_ _null_ _null_ int4gcd _null_ _null_ _null_ _null_ )
+insert ( 5045 gcd 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 20' _null_ _null_ _null_ _null_ _null_ int8gcd _null_ _null_ _null_ _null_ )
+insert ( 5046 lcm 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '23 23' _null_ _null_ _null_ _null_ _null_ int4lcm _null_ _null_ _null_ _null_ )
+insert ( 5047 lcm 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 20' _null_ _null_ _null_ _null_ _null_ int8lcm _null_ _null_ _null_ _null_ )
+insert ( 944 char 11 10 12 1 0 0 0 f f f t f i s 1 0 18 25 _null_ _null_ _null_ _null_ _null_ text_char _null_ _null_ _null_ _null_ )
+insert ( 946 text 11 10 12 1 0 0 0 f f f t f i s 1 0 25 18 _null_ _null_ _null_ _null_ _null_ char_text _null_ _null_ _null_ _null_ )
+insert ( 952 lo_open 11 10 12 1 0 0 0 f f f t f v u 2 0 23 '26 23' _null_ _null_ _null_ _null_ _null_ be_lo_open _null_ _null_ _null_ _null_ )
+insert ( 953 lo_close 11 10 12 1 0 0 0 f f f t f v u 1 0 23 23 _null_ _null_ _null_ _null_ _null_ be_lo_close _null_ _null_ _null_ _null_ )
+insert ( 954 loread 11 10 12 1 0 0 0 f f f t f v u 2 0 17 '23 23' _null_ _null_ _null_ _null_ _null_ be_loread _null_ _null_ _null_ _null_ )
+insert ( 955 lowrite 11 10 12 1 0 0 0 f f f t f v u 2 0 23 '23 17' _null_ _null_ _null_ _null_ _null_ be_lowrite _null_ _null_ _null_ _null_ )
+insert ( 956 lo_lseek 11 10 12 1 0 0 0 f f f t f v u 3 0 23 '23 23 23' _null_ _null_ _null_ _null_ _null_ be_lo_lseek _null_ _null_ _null_ _null_ )
+insert ( 3170 lo_lseek64 11 10 12 1 0 0 0 f f f t f v u 3 0 20 '23 20 23' _null_ _null_ _null_ _null_ _null_ be_lo_lseek64 _null_ _null_ _null_ _null_ )
+insert ( 957 lo_creat 11 10 12 1 0 0 0 f f f t f v u 1 0 26 23 _null_ _null_ _null_ _null_ _null_ be_lo_creat _null_ _null_ _null_ _null_ )
+insert ( 715 lo_create 11 10 12 1 0 0 0 f f f t f v u 1 0 26 26 _null_ _null_ _null_ _null_ _null_ be_lo_create _null_ _null_ _null_ _null_ )
+insert ( 958 lo_tell 11 10 12 1 0 0 0 f f f t f v u 1 0 23 23 _null_ _null_ _null_ _null_ _null_ be_lo_tell _null_ _null_ _null_ _null_ )
+insert ( 3171 lo_tell64 11 10 12 1 0 0 0 f f f t f v u 1 0 20 23 _null_ _null_ _null_ _null_ _null_ be_lo_tell64 _null_ _null_ _null_ _null_ )
+insert ( 1004 lo_truncate 11 10 12 1 0 0 0 f f f t f v u 2 0 23 '23 23' _null_ _null_ _null_ _null_ _null_ be_lo_truncate _null_ _null_ _null_ _null_ )
+insert ( 3172 lo_truncate64 11 10 12 1 0 0 0 f f f t f v u 2 0 23 '23 20' _null_ _null_ _null_ _null_ _null_ be_lo_truncate64 _null_ _null_ _null_ _null_ )
+insert ( 3457 lo_from_bytea 11 10 12 1 0 0 0 f f f t f v u 2 0 26 '26 17' _null_ _null_ _null_ _null_ _null_ be_lo_from_bytea _null_ _null_ _null_ _null_ )
+insert ( 3458 lo_get 11 10 12 1 0 0 0 f f f t f v u 1 0 17 26 _null_ _null_ _null_ _null_ _null_ be_lo_get _null_ _null_ _null_ _null_ )
+insert ( 3459 lo_get 11 10 12 1 0 0 0 f f f t f v u 3 0 17 '26 20 23' _null_ _null_ _null_ _null_ _null_ be_lo_get_fragment _null_ _null_ _null_ _null_ )
+insert ( 3460 lo_put 11 10 12 1 0 0 0 f f f t f v u 3 0 2278 '26 20 17' _null_ _null_ _null_ _null_ _null_ be_lo_put _null_ _null_ _null_ _null_ )
+insert ( 959 on_pl 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '600 628' _null_ _null_ _null_ _null_ _null_ on_pl _null_ _null_ _null_ _null_ )
+insert ( 960 on_sl 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '601 628' _null_ _null_ _null_ _null_ _null_ on_sl _null_ _null_ _null_ _null_ )
+insert ( 961 close_pl 11 10 12 1 0 0 0 f f f t f i s 2 0 600 '600 628' _null_ _null_ _null_ _null_ _null_ close_pl _null_ _null_ _null_ _null_ )
+insert ( 964 lo_unlink 11 10 12 1 0 0 0 f f f t f v u 1 0 23 26 _null_ _null_ _null_ _null_ _null_ be_lo_unlink _null_ _null_ _null_ _null_ )
+insert ( 973 path_inter 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '602 602' _null_ _null_ _null_ _null_ _null_ path_inter _null_ _null_ _null_ _null_ )
+insert ( 975 area 11 10 12 1 0 0 0 f f f t f i s 1 0 701 603 _null_ _null_ _null_ _null_ _null_ box_area _null_ _null_ _null_ _null_ )
+insert ( 976 width 11 10 12 1 0 0 0 f f f t f i s 1 0 701 603 _null_ _null_ _null_ _null_ _null_ box_width _null_ _null_ _null_ _null_ )
+insert ( 977 height 11 10 12 1 0 0 0 f f f t f i s 1 0 701 603 _null_ _null_ _null_ _null_ _null_ box_height _null_ _null_ _null_ _null_ )
+insert ( 978 box_distance 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '603 603' _null_ _null_ _null_ _null_ _null_ box_distance _null_ _null_ _null_ _null_ )
+insert ( 979 area 11 10 12 1 0 0 0 f f f t f i s 1 0 701 602 _null_ _null_ _null_ _null_ _null_ path_area _null_ _null_ _null_ _null_ )
+insert ( 980 box_intersect 11 10 12 1 0 0 0 f f f t f i s 2 0 603 '603 603' _null_ _null_ _null_ _null_ _null_ box_intersect _null_ _null_ _null_ _null_ )
+insert ( 4067 bound_box 11 10 12 1 0 0 0 f f f t f i s 2 0 603 '603 603' _null_ _null_ _null_ _null_ _null_ boxes_bound_box _null_ _null_ _null_ _null_ )
+insert ( 981 diagonal 11 10 12 1 0 0 0 f f f t f i s 1 0 601 603 _null_ _null_ _null_ _null_ _null_ box_diagonal _null_ _null_ _null_ _null_ )
+insert ( 982 path_n_lt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '602 602' _null_ _null_ _null_ _null_ _null_ path_n_lt _null_ _null_ _null_ _null_ )
+insert ( 983 path_n_gt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '602 602' _null_ _null_ _null_ _null_ _null_ path_n_gt _null_ _null_ _null_ _null_ )
+insert ( 984 path_n_eq 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '602 602' _null_ _null_ _null_ _null_ _null_ path_n_eq _null_ _null_ _null_ _null_ )
+insert ( 985 path_n_le 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '602 602' _null_ _null_ _null_ _null_ _null_ path_n_le _null_ _null_ _null_ _null_ )
+insert ( 986 path_n_ge 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '602 602' _null_ _null_ _null_ _null_ _null_ path_n_ge _null_ _null_ _null_ _null_ )
+insert ( 987 path_length 11 10 12 1 0 0 0 f f f t f i s 1 0 701 602 _null_ _null_ _null_ _null_ _null_ path_length _null_ _null_ _null_ _null_ )
+insert ( 988 point_ne 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '600 600' _null_ _null_ _null_ _null_ _null_ point_ne _null_ _null_ _null_ _null_ )
+insert ( 989 point_vert 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '600 600' _null_ _null_ _null_ _null_ _null_ point_vert _null_ _null_ _null_ _null_ )
+insert ( 990 point_horiz 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '600 600' _null_ _null_ _null_ _null_ _null_ point_horiz _null_ _null_ _null_ _null_ )
+insert ( 991 point_distance 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '600 600' _null_ _null_ _null_ _null_ _null_ point_distance _null_ _null_ _null_ _null_ )
+insert ( 992 slope 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '600 600' _null_ _null_ _null_ _null_ _null_ point_slope _null_ _null_ _null_ _null_ )
+insert ( 993 lseg 11 10 12 1 0 0 0 f f f t f i s 2 0 601 '600 600' _null_ _null_ _null_ _null_ _null_ lseg_construct _null_ _null_ _null_ _null_ )
+insert ( 994 lseg_intersect 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '601 601' _null_ _null_ _null_ _null_ _null_ lseg_intersect _null_ _null_ _null_ _null_ )
+insert ( 995 lseg_parallel 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '601 601' _null_ _null_ _null_ _null_ _null_ lseg_parallel _null_ _null_ _null_ _null_ )
+insert ( 996 lseg_perp 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '601 601' _null_ _null_ _null_ _null_ _null_ lseg_perp _null_ _null_ _null_ _null_ )
+insert ( 997 lseg_vertical 11 10 12 1 0 0 0 f f f t f i s 1 0 16 601 _null_ _null_ _null_ _null_ _null_ lseg_vertical _null_ _null_ _null_ _null_ )
+insert ( 998 lseg_horizontal 11 10 12 1 0 0 0 f f f t f i s 1 0 16 601 _null_ _null_ _null_ _null_ _null_ lseg_horizontal _null_ _null_ _null_ _null_ )
+insert ( 999 lseg_eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '601 601' _null_ _null_ _null_ _null_ _null_ lseg_eq _null_ _null_ _null_ _null_ )
+insert ( 1026 timezone 11 10 12 1 0 0 0 f f f t f i s 2 0 1114 '1186 1184' _null_ _null_ _null_ _null_ _null_ timestamptz_izone _null_ _null_ _null_ _null_ )
+insert ( 1031 aclitemin 11 10 12 1 0 0 0 f f f t f s s 1 0 1033 2275 _null_ _null_ _null_ _null_ _null_ aclitemin _null_ _null_ _null_ _null_ )
+insert ( 1032 aclitemout 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 1033 _null_ _null_ _null_ _null_ _null_ aclitemout _null_ _null_ _null_ _null_ )
+insert ( 1035 aclinsert 11 10 12 1 0 0 0 f f f t f i s 2 0 1034 '1034 1033' _null_ _null_ _null_ _null_ _null_ aclinsert _null_ _null_ _null_ _null_ )
+insert ( 1036 aclremove 11 10 12 1 0 0 0 f f f t f i s 2 0 1034 '1034 1033' _null_ _null_ _null_ _null_ _null_ aclremove _null_ _null_ _null_ _null_ )
+insert ( 1037 aclcontains 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1034 1033' _null_ _null_ _null_ _null_ _null_ aclcontains _null_ _null_ _null_ _null_ )
+insert ( 1062 aclitemeq 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1033 1033' _null_ _null_ _null_ _null_ _null_ aclitem_eq _null_ _null_ _null_ _null_ )
+insert ( 1365 makeaclitem 11 10 12 1 0 0 0 f f f t f i s 4 0 1033 '26 26 25 16' _null_ _null_ _null_ _null_ _null_ makeaclitem _null_ _null_ _null_ _null_ )
+insert ( 3943 acldefault 11 10 12 1 0 0 0 f f f t f i s 2 0 1034 '18 26' _null_ _null_ _null_ _null_ _null_ acldefault_sql _null_ _null_ _null_ _null_ )
+insert ( 1689 aclexplode 11 10 12 1 10 0 0 f f f t t s s 1 0 2249 1034 '{1034,26,26,25,16}' '{i,o,o,o,o}' '{acl,grantor,grantee,privilege_type,is_grantable}' _null_ _null_ aclexplode _null_ _null_ _null_ _null_ )
+insert ( 1044 bpcharin 11 10 12 1 0 0 0 f f f t f i s 3 0 1042 '2275 26 23' _null_ _null_ _null_ _null_ _null_ bpcharin _null_ _null_ _null_ _null_ )
+insert ( 1045 bpcharout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 1042 _null_ _null_ _null_ _null_ _null_ bpcharout _null_ _null_ _null_ _null_ )
+insert ( 2913 bpchartypmodin 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1263 _null_ _null_ _null_ _null_ _null_ bpchartypmodin _null_ _null_ _null_ _null_ )
+insert ( 2914 bpchartypmodout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 23 _null_ _null_ _null_ _null_ _null_ bpchartypmodout _null_ _null_ _null_ _null_ )
+insert ( 1046 varcharin 11 10 12 1 0 0 0 f f f t f i s 3 0 1043 '2275 26 23' _null_ _null_ _null_ _null_ _null_ varcharin _null_ _null_ _null_ _null_ )
+insert ( 1047 varcharout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 1043 _null_ _null_ _null_ _null_ _null_ varcharout _null_ _null_ _null_ _null_ )
+insert ( 2915 varchartypmodin 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1263 _null_ _null_ _null_ _null_ _null_ varchartypmodin _null_ _null_ _null_ _null_ )
+insert ( 2916 varchartypmodout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 23 _null_ _null_ _null_ _null_ _null_ varchartypmodout _null_ _null_ _null_ _null_ )
+insert ( 1048 bpchareq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1042 1042' _null_ _null_ _null_ _null_ _null_ bpchareq _null_ _null_ _null_ _null_ )
+insert ( 1049 bpcharlt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1042 1042' _null_ _null_ _null_ _null_ _null_ bpcharlt _null_ _null_ _null_ _null_ )
+insert ( 1050 bpcharle 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1042 1042' _null_ _null_ _null_ _null_ _null_ bpcharle _null_ _null_ _null_ _null_ )
+insert ( 1051 bpchargt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1042 1042' _null_ _null_ _null_ _null_ _null_ bpchargt _null_ _null_ _null_ _null_ )
+insert ( 1052 bpcharge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1042 1042' _null_ _null_ _null_ _null_ _null_ bpcharge _null_ _null_ _null_ _null_ )
+insert ( 1053 bpcharne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1042 1042' _null_ _null_ _null_ _null_ _null_ bpcharne _null_ _null_ _null_ _null_ )
+insert ( 1063 bpchar_larger 11 10 12 1 0 0 0 f f t t f i s 2 0 1042 '1042 1042' _null_ _null_ _null_ _null_ _null_ bpchar_larger _null_ _null_ _null_ _null_ )
+insert ( 1064 bpchar_smaller 11 10 12 1 0 0 0 f f t t f i s 2 0 1042 '1042 1042' _null_ _null_ _null_ _null_ _null_ bpchar_smaller _null_ _null_ _null_ _null_ )
+insert ( 1078 bpcharcmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '1042 1042' _null_ _null_ _null_ _null_ _null_ bpcharcmp _null_ _null_ _null_ _null_ )
+insert ( 3328 bpchar_sortsupport 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ bpchar_sortsupport _null_ _null_ _null_ _null_ )
+insert ( 1080 hashbpchar 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1042 _null_ _null_ _null_ _null_ _null_ hashbpchar _null_ _null_ _null_ _null_ )
+insert ( 972 hashbpcharextended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '1042 20' _null_ _null_ _null_ _null_ _null_ hashbpcharextended _null_ _null_ _null_ _null_ )
+insert ( 1081 format_type 11 10 12 1 0 0 0 f f f f f s s 2 0 25 '26 23' _null_ _null_ _null_ _null_ _null_ format_type _null_ _null_ _null_ _null_ )
+insert ( 1084 date_in 11 10 12 1 0 0 0 f f f t f s s 1 0 1082 2275 _null_ _null_ _null_ _null_ _null_ date_in _null_ _null_ _null_ _null_ )
+insert ( 1085 date_out 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 1082 _null_ _null_ _null_ _null_ _null_ date_out _null_ _null_ _null_ _null_ )
+insert ( 1086 date_eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1082 1082' _null_ _null_ _null_ _null_ _null_ date_eq _null_ _null_ _null_ _null_ )
+insert ( 1087 date_lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1082 1082' _null_ _null_ _null_ _null_ _null_ date_lt _null_ _null_ _null_ _null_ )
+insert ( 1088 date_le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1082 1082' _null_ _null_ _null_ _null_ _null_ date_le _null_ _null_ _null_ _null_ )
+insert ( 1089 date_gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1082 1082' _null_ _null_ _null_ _null_ _null_ date_gt _null_ _null_ _null_ _null_ )
+insert ( 1090 date_ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1082 1082' _null_ _null_ _null_ _null_ _null_ date_ge _null_ _null_ _null_ _null_ )
+insert ( 1091 date_ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1082 1082' _null_ _null_ _null_ _null_ _null_ date_ne _null_ _null_ _null_ _null_ )
+insert ( 1092 date_cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '1082 1082' _null_ _null_ _null_ _null_ _null_ date_cmp _null_ _null_ _null_ _null_ )
+insert ( 3136 date_sortsupport 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ date_sortsupport _null_ _null_ _null_ _null_ )
+insert ( 4133 in_range 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '1082 1082 1186 16 16' _null_ _null_ _null_ _null_ _null_ in_range_date_interval _null_ _null_ _null_ _null_ )
+insert ( 1102 time_lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1083 1083' _null_ _null_ _null_ _null_ _null_ time_lt _null_ _null_ _null_ _null_ )
+insert ( 1103 time_le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1083 1083' _null_ _null_ _null_ _null_ _null_ time_le _null_ _null_ _null_ _null_ )
+insert ( 1104 time_gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1083 1083' _null_ _null_ _null_ _null_ _null_ time_gt _null_ _null_ _null_ _null_ )
+insert ( 1105 time_ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1083 1083' _null_ _null_ _null_ _null_ _null_ time_ge _null_ _null_ _null_ _null_ )
+insert ( 1106 time_ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1083 1083' _null_ _null_ _null_ _null_ _null_ time_ne _null_ _null_ _null_ _null_ )
+insert ( 1107 time_cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '1083 1083' _null_ _null_ _null_ _null_ _null_ time_cmp _null_ _null_ _null_ _null_ )
+insert ( 1138 date_larger 11 10 12 1 0 0 0 f f f t f i s 2 0 1082 '1082 1082' _null_ _null_ _null_ _null_ _null_ date_larger _null_ _null_ _null_ _null_ )
+insert ( 1139 date_smaller 11 10 12 1 0 0 0 f f f t f i s 2 0 1082 '1082 1082' _null_ _null_ _null_ _null_ _null_ date_smaller _null_ _null_ _null_ _null_ )
+insert ( 1140 date_mi 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '1082 1082' _null_ _null_ _null_ _null_ _null_ date_mi _null_ _null_ _null_ _null_ )
+insert ( 1141 date_pli 11 10 12 1 0 0 0 f f f t f i s 2 0 1082 '1082 23' _null_ _null_ _null_ _null_ _null_ date_pli _null_ _null_ _null_ _null_ )
+insert ( 1142 date_mii 11 10 12 1 0 0 0 f f f t f i s 2 0 1082 '1082 23' _null_ _null_ _null_ _null_ _null_ date_mii _null_ _null_ _null_ _null_ )
+insert ( 1143 time_in 11 10 12 1 0 0 0 f f f t f s s 3 0 1083 '2275 26 23' _null_ _null_ _null_ _null_ _null_ time_in _null_ _null_ _null_ _null_ )
+insert ( 1144 time_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 1083 _null_ _null_ _null_ _null_ _null_ time_out _null_ _null_ _null_ _null_ )
+insert ( 2909 timetypmodin 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1263 _null_ _null_ _null_ _null_ _null_ timetypmodin _null_ _null_ _null_ _null_ )
+insert ( 2910 timetypmodout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 23 _null_ _null_ _null_ _null_ _null_ timetypmodout _null_ _null_ _null_ _null_ )
+insert ( 1145 time_eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1083 1083' _null_ _null_ _null_ _null_ _null_ time_eq _null_ _null_ _null_ _null_ )
+insert ( 1146 circle_add_pt 11 10 12 1 0 0 0 f f f t f i s 2 0 718 '718 600' _null_ _null_ _null_ _null_ _null_ circle_add_pt _null_ _null_ _null_ _null_ )
+insert ( 1147 circle_sub_pt 11 10 12 1 0 0 0 f f f t f i s 2 0 718 '718 600' _null_ _null_ _null_ _null_ _null_ circle_sub_pt _null_ _null_ _null_ _null_ )
+insert ( 1148 circle_mul_pt 11 10 12 1 0 0 0 f f f t f i s 2 0 718 '718 600' _null_ _null_ _null_ _null_ _null_ circle_mul_pt _null_ _null_ _null_ _null_ )
+insert ( 1149 circle_div_pt 11 10 12 1 0 0 0 f f f t f i s 2 0 718 '718 600' _null_ _null_ _null_ _null_ _null_ circle_div_pt _null_ _null_ _null_ _null_ )
+insert ( 1150 timestamptz_in 11 10 12 1 0 0 0 f f f t f s s 3 0 1184 '2275 26 23' _null_ _null_ _null_ _null_ _null_ timestamptz_in _null_ _null_ _null_ _null_ )
+insert ( 1151 timestamptz_out 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 1184 _null_ _null_ _null_ _null_ _null_ timestamptz_out _null_ _null_ _null_ _null_ )
+insert ( 2907 timestamptztypmodin 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1263 _null_ _null_ _null_ _null_ _null_ timestamptztypmodin _null_ _null_ _null_ _null_ )
+insert ( 2908 timestamptztypmodout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 23 _null_ _null_ _null_ _null_ _null_ timestamptztypmodout _null_ _null_ _null_ _null_ )
+insert ( 1152 timestamptz_eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1184 1184' _null_ _null_ _null_ _null_ _null_ timestamp_eq _null_ _null_ _null_ _null_ )
+insert ( 1153 timestamptz_ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1184 1184' _null_ _null_ _null_ _null_ _null_ timestamp_ne _null_ _null_ _null_ _null_ )
+insert ( 1154 timestamptz_lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1184 1184' _null_ _null_ _null_ _null_ _null_ timestamp_lt _null_ _null_ _null_ _null_ )
+insert ( 1155 timestamptz_le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1184 1184' _null_ _null_ _null_ _null_ _null_ timestamp_le _null_ _null_ _null_ _null_ )
+insert ( 1156 timestamptz_ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1184 1184' _null_ _null_ _null_ _null_ _null_ timestamp_ge _null_ _null_ _null_ _null_ )
+insert ( 1157 timestamptz_gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1184 1184' _null_ _null_ _null_ _null_ _null_ timestamp_gt _null_ _null_ _null_ _null_ )
+insert ( 1158 to_timestamp 11 10 12 1 0 0 0 f f f t f i s 1 0 1184 701 _null_ _null_ _null_ _null_ _null_ float8_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 1159 timezone 11 10 12 1 0 0 0 f f f t f i s 2 0 1114 '25 1184' _null_ _null_ _null_ _null_ _null_ timestamptz_zone _null_ _null_ _null_ _null_ )
+insert ( 1160 interval_in 11 10 12 1 0 0 0 f f f t f s s 3 0 1186 '2275 26 23' _null_ _null_ _null_ _null_ _null_ interval_in _null_ _null_ _null_ _null_ )
+insert ( 1161 interval_out 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 1186 _null_ _null_ _null_ _null_ _null_ interval_out _null_ _null_ _null_ _null_ )
+insert ( 2903 intervaltypmodin 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1263 _null_ _null_ _null_ _null_ _null_ intervaltypmodin _null_ _null_ _null_ _null_ )
+insert ( 2904 intervaltypmodout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 23 _null_ _null_ _null_ _null_ _null_ intervaltypmodout _null_ _null_ _null_ _null_ )
+insert ( 1162 interval_eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1186 1186' _null_ _null_ _null_ _null_ _null_ interval_eq _null_ _null_ _null_ _null_ )
+insert ( 1163 interval_ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1186 1186' _null_ _null_ _null_ _null_ _null_ interval_ne _null_ _null_ _null_ _null_ )
+insert ( 1164 interval_lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1186 1186' _null_ _null_ _null_ _null_ _null_ interval_lt _null_ _null_ _null_ _null_ )
+insert ( 1165 interval_le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1186 1186' _null_ _null_ _null_ _null_ _null_ interval_le _null_ _null_ _null_ _null_ )
+insert ( 1166 interval_ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1186 1186' _null_ _null_ _null_ _null_ _null_ interval_ge _null_ _null_ _null_ _null_ )
+insert ( 1167 interval_gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1186 1186' _null_ _null_ _null_ _null_ _null_ interval_gt _null_ _null_ _null_ _null_ )
+insert ( 1168 interval_um 11 10 12 1 0 0 0 f f f t f i s 1 0 1186 1186 _null_ _null_ _null_ _null_ _null_ interval_um _null_ _null_ _null_ _null_ )
+insert ( 1169 interval_pl 11 10 12 1 0 0 0 f f f t f i s 2 0 1186 '1186 1186' _null_ _null_ _null_ _null_ _null_ interval_pl _null_ _null_ _null_ _null_ )
+insert ( 1170 interval_mi 11 10 12 1 0 0 0 f f f t f i s 2 0 1186 '1186 1186' _null_ _null_ _null_ _null_ _null_ interval_mi _null_ _null_ _null_ _null_ )
+insert ( 1171 date_part 11 10 12 1 0 0 0 f f f t f s s 2 0 701 '25 1184' _null_ _null_ _null_ _null_ _null_ timestamptz_part _null_ _null_ _null_ _null_ )
+insert ( 6203 extract 11 10 12 1 0 0 0 f f f t f s s 2 0 1700 '25 1184' _null_ _null_ _null_ _null_ _null_ extract_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 1172 date_part 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '25 1186' _null_ _null_ _null_ _null_ _null_ interval_part _null_ _null_ _null_ _null_ )
+insert ( 6204 extract 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '25 1186' _null_ _null_ _null_ _null_ _null_ extract_interval _null_ _null_ _null_ _null_ )
+insert ( 1174 timestamptz 11 10 12 1 0 0 0 f f f t f s s 1 0 1184 1082 _null_ _null_ _null_ _null_ _null_ date_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 2711 justify_interval 11 10 12 1 0 0 0 f f f t f i s 1 0 1186 1186 _null_ _null_ _null_ _null_ _null_ interval_justify_interval _null_ _null_ _null_ _null_ )
+insert ( 1175 justify_hours 11 10 12 1 0 0 0 f f f t f i s 1 0 1186 1186 _null_ _null_ _null_ _null_ _null_ interval_justify_hours _null_ _null_ _null_ _null_ )
+insert ( 1295 justify_days 11 10 12 1 0 0 0 f f f t f i s 1 0 1186 1186 _null_ _null_ _null_ _null_ _null_ interval_justify_days _null_ _null_ _null_ _null_ )
+insert ( 1176 timestamptz 11 10 14 1 0 0 0 f f f t f s s 2 0 1184 '1082 1083' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1178 date 11 10 12 1 0 0 0 f f f t f s s 1 0 1082 1184 _null_ _null_ _null_ _null_ _null_ timestamptz_date _null_ _null_ _null_ _null_ )
+insert ( 1181 age 11 10 12 1 0 0 0 f f f t f s r 1 0 23 28 _null_ _null_ _null_ _null_ _null_ xid_age _null_ _null_ _null_ _null_ )
+insert ( 3939 mxid_age 11 10 12 1 0 0 0 f f f t f s s 1 0 23 28 _null_ _null_ _null_ _null_ _null_ mxid_age _null_ _null_ _null_ _null_ )
+insert ( 1188 timestamptz_mi 11 10 12 1 0 0 0 f f f t f i s 2 0 1186 '1184 1184' _null_ _null_ _null_ _null_ _null_ timestamp_mi _null_ _null_ _null_ _null_ )
+insert ( 1189 timestamptz_pl_interval 11 10 12 1 0 0 0 f f f t f s s 2 0 1184 '1184 1186' _null_ _null_ _null_ _null_ _null_ timestamptz_pl_interval _null_ _null_ _null_ _null_ )
+insert ( 6221 date_add 11 10 12 1 0 0 0 f f f t f s s 2 0 1184 '1184 1186' _null_ _null_ _null_ _null_ _null_ timestamptz_pl_interval _null_ _null_ _null_ _null_ )
+insert ( 6222 date_add 11 10 12 1 0 0 0 f f f t f i s 3 0 1184 '1184 1186 25' _null_ _null_ _null_ _null_ _null_ timestamptz_pl_interval_at_zone _null_ _null_ _null_ _null_ )
+insert ( 1190 timestamptz_mi_interval 11 10 12 1 0 0 0 f f f t f s s 2 0 1184 '1184 1186' _null_ _null_ _null_ _null_ _null_ timestamptz_mi_interval _null_ _null_ _null_ _null_ )
+insert ( 6223 date_subtract 11 10 12 1 0 0 0 f f f t f s s 2 0 1184 '1184 1186' _null_ _null_ _null_ _null_ _null_ timestamptz_mi_interval _null_ _null_ _null_ _null_ )
+insert ( 6273 date_subtract 11 10 12 1 0 0 0 f f f t f i s 3 0 1184 '1184 1186 25' _null_ _null_ _null_ _null_ _null_ timestamptz_mi_interval_at_zone _null_ _null_ _null_ _null_ )
+insert ( 1195 timestamptz_smaller 11 10 12 1 0 0 0 f f f t f i s 2 0 1184 '1184 1184' _null_ _null_ _null_ _null_ _null_ timestamp_smaller _null_ _null_ _null_ _null_ )
+insert ( 1196 timestamptz_larger 11 10 12 1 0 0 0 f f f t f i s 2 0 1184 '1184 1184' _null_ _null_ _null_ _null_ _null_ timestamp_larger _null_ _null_ _null_ _null_ )
+insert ( 1197 interval_smaller 11 10 12 1 0 0 0 f f f t f i s 2 0 1186 '1186 1186' _null_ _null_ _null_ _null_ _null_ interval_smaller _null_ _null_ _null_ _null_ )
+insert ( 1198 interval_larger 11 10 12 1 0 0 0 f f f t f i s 2 0 1186 '1186 1186' _null_ _null_ _null_ _null_ _null_ interval_larger _null_ _null_ _null_ _null_ )
+insert ( 1199 age 11 10 12 1 0 0 0 f f f t f i s 2 0 1186 '1184 1184' _null_ _null_ _null_ _null_ _null_ timestamptz_age _null_ _null_ _null_ _null_ )
+insert ( 3918 interval_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ interval_support _null_ _null_ _null_ _null_ )
+insert ( 1200 interval 11 10 12 1 0 0 3918 f f f t f i s 2 0 1186 '1186 23' _null_ _null_ _null_ _null_ _null_ interval_scale _null_ _null_ _null_ _null_ )
+insert ( 1215 obj_description 11 10 14 100 0 0 0 f f f t f s s 2 0 25 '26 19' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1216 col_description 11 10 14 100 0 0 0 f f f t f s s 2 0 25 '26 23' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1993 shobj_description 11 10 14 100 0 0 0 f f f t f s s 2 0 25 '26 19' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1217 date_trunc 11 10 12 1 0 0 0 f f f t f s s 2 0 1184 '25 1184' _null_ _null_ _null_ _null_ _null_ timestamptz_trunc _null_ _null_ _null_ _null_ )
+insert ( 1284 date_trunc 11 10 12 1 0 0 0 f f f t f i s 3 0 1184 '25 1184 25' _null_ _null_ _null_ _null_ _null_ timestamptz_trunc_zone _null_ _null_ _null_ _null_ )
+insert ( 1218 date_trunc 11 10 12 1 0 0 0 f f f t f i s 2 0 1186 '25 1186' _null_ _null_ _null_ _null_ _null_ interval_trunc _null_ _null_ _null_ _null_ )
+insert ( 1219 int8inc 11 10 12 1 0 0 0 f f f t f i s 1 0 20 20 _null_ _null_ _null_ _null_ _null_ int8inc _null_ _null_ _null_ _null_ )
+insert ( 3546 int8dec 11 10 12 1 0 0 0 f f f t f i s 1 0 20 20 _null_ _null_ _null_ _null_ _null_ int8dec _null_ _null_ _null_ _null_ )
+insert ( 2804 int8inc_any 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 2276' _null_ _null_ _null_ _null_ _null_ int8inc_any _null_ _null_ _null_ _null_ )
+insert ( 3547 int8dec_any 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 2276' _null_ _null_ _null_ _null_ _null_ int8dec_any _null_ _null_ _null_ _null_ )
+insert ( 1230 int8abs 11 10 12 1 0 0 0 f f f t f i s 1 0 20 20 _null_ _null_ _null_ _null_ _null_ int8abs _null_ _null_ _null_ _null_ )
+insert ( 1236 int8larger 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 20' _null_ _null_ _null_ _null_ _null_ int8larger _null_ _null_ _null_ _null_ )
+insert ( 1237 int8smaller 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 20' _null_ _null_ _null_ _null_ _null_ int8smaller _null_ _null_ _null_ _null_ )
+insert ( 1238 texticregexeq 11 10 12 1 0 0 1024 f f f t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ texticregexeq _null_ _null_ _null_ _null_ )
+insert ( 1024 texticregexeq_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ texticregexeq_support _null_ _null_ _null_ _null_ )
+insert ( 1239 texticregexne 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ texticregexne _null_ _null_ _null_ _null_ )
+insert ( 1240 nameicregexeq 11 10 12 1 0 0 1024 f f f t f i s 2 0 16 '19 25' _null_ _null_ _null_ _null_ _null_ nameicregexeq _null_ _null_ _null_ _null_ )
+insert ( 1241 nameicregexne 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '19 25' _null_ _null_ _null_ _null_ _null_ nameicregexne _null_ _null_ _null_ _null_ )
+insert ( 1251 int4abs 11 10 12 1 0 0 0 f f f t f i s 1 0 23 23 _null_ _null_ _null_ _null_ _null_ int4abs _null_ _null_ _null_ _null_ )
+insert ( 1253 int2abs 11 10 12 1 0 0 0 f f f t f i s 1 0 21 21 _null_ _null_ _null_ _null_ _null_ int2abs _null_ _null_ _null_ _null_ )
+insert ( 1271 overlaps 11 10 12 1 0 0 0 f f f f f i s 4 0 16 '1266 1266 1266 1266' _null_ _null_ _null_ _null_ _null_ overlaps_timetz _null_ _null_ _null_ _null_ )
+insert ( 1272 datetime_pl 11 10 12 1 0 0 0 f f f t f i s 2 0 1114 '1082 1083' _null_ _null_ _null_ _null_ _null_ datetime_timestamp _null_ _null_ _null_ _null_ )
+insert ( 1273 date_part 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '25 1266' _null_ _null_ _null_ _null_ _null_ timetz_part _null_ _null_ _null_ _null_ )
+insert ( 6201 extract 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '25 1266' _null_ _null_ _null_ _null_ _null_ extract_timetz _null_ _null_ _null_ _null_ )
+insert ( 1274 int84pl 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 23' _null_ _null_ _null_ _null_ _null_ int84pl _null_ _null_ _null_ _null_ )
+insert ( 1275 int84mi 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 23' _null_ _null_ _null_ _null_ _null_ int84mi _null_ _null_ _null_ _null_ )
+insert ( 1276 int84mul 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 23' _null_ _null_ _null_ _null_ _null_ int84mul _null_ _null_ _null_ _null_ )
+insert ( 1277 int84div 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 23' _null_ _null_ _null_ _null_ _null_ int84div _null_ _null_ _null_ _null_ )
+insert ( 1278 int48pl 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '23 20' _null_ _null_ _null_ _null_ _null_ int48pl _null_ _null_ _null_ _null_ )
+insert ( 1279 int48mi 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '23 20' _null_ _null_ _null_ _null_ _null_ int48mi _null_ _null_ _null_ _null_ )
+insert ( 1280 int48mul 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '23 20' _null_ _null_ _null_ _null_ _null_ int48mul _null_ _null_ _null_ _null_ )
+insert ( 1281 int48div 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '23 20' _null_ _null_ _null_ _null_ _null_ int48div _null_ _null_ _null_ _null_ )
+insert ( 837 int82pl 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 21' _null_ _null_ _null_ _null_ _null_ int82pl _null_ _null_ _null_ _null_ )
+insert ( 838 int82mi 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 21' _null_ _null_ _null_ _null_ _null_ int82mi _null_ _null_ _null_ _null_ )
+insert ( 839 int82mul 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 21' _null_ _null_ _null_ _null_ _null_ int82mul _null_ _null_ _null_ _null_ )
+insert ( 840 int82div 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 21' _null_ _null_ _null_ _null_ _null_ int82div _null_ _null_ _null_ _null_ )
+insert ( 841 int28pl 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '21 20' _null_ _null_ _null_ _null_ _null_ int28pl _null_ _null_ _null_ _null_ )
+insert ( 942 int28mi 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '21 20' _null_ _null_ _null_ _null_ _null_ int28mi _null_ _null_ _null_ _null_ )
+insert ( 943 int28mul 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '21 20' _null_ _null_ _null_ _null_ _null_ int28mul _null_ _null_ _null_ _null_ )
+insert ( 948 int28div 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '21 20' _null_ _null_ _null_ _null_ _null_ int28div _null_ _null_ _null_ _null_ )
+insert ( 1287 oid 11 10 12 1 0 0 0 f f f t f i s 1 0 26 20 _null_ _null_ _null_ _null_ _null_ i8tooid _null_ _null_ _null_ _null_ )
+insert ( 1288 int8 11 10 12 1 0 0 0 f f t t f i s 1 0 20 26 _null_ _null_ _null_ _null_ _null_ oidtoi8 _null_ _null_ _null_ _null_ )
+insert ( 1291 suppress_redundant_updates_trigger 11 10 12 1 0 0 0 f f f t f v s 0 0 2279 '' _null_ _null_ _null_ _null_ _null_ suppress_redundant_updates_trigger _null_ _null_ _null_ _null_ )
+insert ( 1292 tideq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '27 27' _null_ _null_ _null_ _null_ _null_ tideq _null_ _null_ _null_ _null_ )
+insert ( 1294 currtid2 11 10 12 1 0 0 0 f f f t f v u 2 0 27 '25 27' _null_ _null_ _null_ _null_ _null_ currtid_byrelname _null_ _null_ _null_ _null_ )
+insert ( 1265 tidne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '27 27' _null_ _null_ _null_ _null_ _null_ tidne _null_ _null_ _null_ _null_ )
+insert ( 2790 tidgt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '27 27' _null_ _null_ _null_ _null_ _null_ tidgt _null_ _null_ _null_ _null_ )
+insert ( 2791 tidlt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '27 27' _null_ _null_ _null_ _null_ _null_ tidlt _null_ _null_ _null_ _null_ )
+insert ( 2792 tidge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '27 27' _null_ _null_ _null_ _null_ _null_ tidge _null_ _null_ _null_ _null_ )
+insert ( 2793 tidle 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '27 27' _null_ _null_ _null_ _null_ _null_ tidle _null_ _null_ _null_ _null_ )
+insert ( 2794 bttidcmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '27 27' _null_ _null_ _null_ _null_ _null_ bttidcmp _null_ _null_ _null_ _null_ )
+insert ( 2795 tidlarger 11 10 12 1 0 0 0 f f f t f i s 2 0 27 '27 27' _null_ _null_ _null_ _null_ _null_ tidlarger _null_ _null_ _null_ _null_ )
+insert ( 2796 tidsmaller 11 10 12 1 0 0 0 f f f t f i s 2 0 27 '27 27' _null_ _null_ _null_ _null_ _null_ tidsmaller _null_ _null_ _null_ _null_ )
+insert ( 2233 hashtid 11 10 12 1 0 0 0 f f f t f i s 1 0 23 27 _null_ _null_ _null_ _null_ _null_ hashtid _null_ _null_ _null_ _null_ )
+insert ( 2234 hashtidextended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '27 20' _null_ _null_ _null_ _null_ _null_ hashtidextended _null_ _null_ _null_ _null_ )
+insert ( 1296 timedate_pl 11 10 14 1 0 0 0 f f f t f i s 2 0 1114 '1083 1082' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1297 datetimetz_pl 11 10 12 1 0 0 0 f f f t f i s 2 0 1184 '1082 1266' _null_ _null_ _null_ _null_ _null_ datetimetz_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 1298 timetzdate_pl 11 10 14 1 0 0 0 f f f t f i s 2 0 1184 '1266 1082' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1299 now 11 10 12 1 0 0 0 f f f t f s s 0 0 1184 '' _null_ _null_ _null_ _null_ _null_ now _null_ _null_ _null_ _null_ )
+insert ( 2647 transaction_timestamp 11 10 12 1 0 0 0 f f f t f s s 0 0 1184 '' _null_ _null_ _null_ _null_ _null_ now _null_ _null_ _null_ _null_ )
+insert ( 2648 statement_timestamp 11 10 12 1 0 0 0 f f f t f s s 0 0 1184 '' _null_ _null_ _null_ _null_ _null_ statement_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2649 clock_timestamp 11 10 12 1 0 0 0 f f f t f v s 0 0 1184 '' _null_ _null_ _null_ _null_ _null_ clock_timestamp _null_ _null_ _null_ _null_ )
+insert ( 1300 positionsel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ positionsel _null_ _null_ _null_ _null_ )
+insert ( 1301 positionjoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ positionjoinsel _null_ _null_ _null_ _null_ )
+insert ( 1302 contsel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ contsel _null_ _null_ _null_ _null_ )
+insert ( 1303 contjoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ contjoinsel _null_ _null_ _null_ _null_ )
+insert ( 1304 overlaps 11 10 12 1 0 0 0 f f f f f i s 4 0 16 '1184 1184 1184 1184' _null_ _null_ _null_ _null_ _null_ overlaps_timestamp _null_ _null_ _null_ _null_ )
+insert ( 1305 overlaps 11 10 14 1 0 0 0 f f f f f s s 4 0 16 '1184 1186 1184 1186' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1306 overlaps 11 10 14 1 0 0 0 f f f f f s s 4 0 16 '1184 1184 1184 1186' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1307 overlaps 11 10 14 1 0 0 0 f f f f f s s 4 0 16 '1184 1186 1184 1184' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1308 overlaps 11 10 12 1 0 0 0 f f f f f i s 4 0 16 '1083 1083 1083 1083' _null_ _null_ _null_ _null_ _null_ overlaps_time _null_ _null_ _null_ _null_ )
+insert ( 1309 overlaps 11 10 14 1 0 0 0 f f f f f i s 4 0 16 '1083 1186 1083 1186' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1310 overlaps 11 10 14 1 0 0 0 f f f f f i s 4 0 16 '1083 1083 1083 1186' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1311 overlaps 11 10 14 1 0 0 0 f f f f f i s 4 0 16 '1083 1186 1083 1083' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1312 timestamp_in 11 10 12 1 0 0 0 f f f t f s s 3 0 1114 '2275 26 23' _null_ _null_ _null_ _null_ _null_ timestamp_in _null_ _null_ _null_ _null_ )
+insert ( 1313 timestamp_out 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 1114 _null_ _null_ _null_ _null_ _null_ timestamp_out _null_ _null_ _null_ _null_ )
+insert ( 2905 timestamptypmodin 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1263 _null_ _null_ _null_ _null_ _null_ timestamptypmodin _null_ _null_ _null_ _null_ )
+insert ( 2906 timestamptypmodout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 23 _null_ _null_ _null_ _null_ _null_ timestamptypmodout _null_ _null_ _null_ _null_ )
+insert ( 1314 timestamptz_cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '1184 1184' _null_ _null_ _null_ _null_ _null_ timestamp_cmp _null_ _null_ _null_ _null_ )
+insert ( 1315 interval_cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '1186 1186' _null_ _null_ _null_ _null_ _null_ interval_cmp _null_ _null_ _null_ _null_ )
+insert ( 1316 time 11 10 12 1 0 0 0 f f f t f i s 1 0 1083 1114 _null_ _null_ _null_ _null_ _null_ timestamp_time _null_ _null_ _null_ _null_ )
+insert ( 1317 length 11 10 12 1 0 0 0 f f f t f i s 1 0 23 25 _null_ _null_ _null_ _null_ _null_ textlen _null_ _null_ _null_ _null_ )
+insert ( 1318 length 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1042 _null_ _null_ _null_ _null_ _null_ bpcharlen _null_ _null_ _null_ _null_ )
+insert ( 1319 xideqint4 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '28 23' _null_ _null_ _null_ _null_ _null_ xideq _null_ _null_ _null_ _null_ )
+insert ( 3309 xidneqint4 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '28 23' _null_ _null_ _null_ _null_ _null_ xidneq _null_ _null_ _null_ _null_ )
+insert ( 1326 interval_div 11 10 12 1 0 0 0 f f f t f i s 2 0 1186 '1186 701' _null_ _null_ _null_ _null_ _null_ interval_div _null_ _null_ _null_ _null_ )
+insert ( 1339 dlog10 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dlog10 _null_ _null_ _null_ _null_ )
+insert ( 1340 log 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dlog10 _null_ _null_ _null_ _null_ )
+insert ( 1194 log10 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dlog10 _null_ _null_ _null_ _null_ )
+insert ( 1341 ln 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dlog1 _null_ _null_ _null_ _null_ )
+insert ( 1342 round 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dround _null_ _null_ _null_ _null_ )
+insert ( 1343 trunc 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dtrunc _null_ _null_ _null_ _null_ )
+insert ( 1344 sqrt 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dsqrt _null_ _null_ _null_ _null_ )
+insert ( 1345 cbrt 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dcbrt _null_ _null_ _null_ _null_ )
+insert ( 1346 pow 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ dpow _null_ _null_ _null_ _null_ )
+insert ( 1368 power 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ dpow _null_ _null_ _null_ _null_ )
+insert ( 1347 exp 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dexp _null_ _null_ _null_ _null_ )
+insert ( 1348 obj_description 11 10 14 100 0 0 0 f f f t f s s 1 0 25 26 _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1349 oidvectortypes 11 10 12 1 0 0 0 f f f t f s s 1 0 25 30 _null_ _null_ _null_ _null_ _null_ oidvectortypes _null_ _null_ _null_ _null_ )
+insert ( 1350 timetz_in 11 10 12 1 0 0 0 f f f t f s s 3 0 1266 '2275 26 23' _null_ _null_ _null_ _null_ _null_ timetz_in _null_ _null_ _null_ _null_ )
+insert ( 1351 timetz_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 1266 _null_ _null_ _null_ _null_ _null_ timetz_out _null_ _null_ _null_ _null_ )
+insert ( 2911 timetztypmodin 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1263 _null_ _null_ _null_ _null_ _null_ timetztypmodin _null_ _null_ _null_ _null_ )
+insert ( 2912 timetztypmodout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 23 _null_ _null_ _null_ _null_ _null_ timetztypmodout _null_ _null_ _null_ _null_ )
+insert ( 1352 timetz_eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1266 1266' _null_ _null_ _null_ _null_ _null_ timetz_eq _null_ _null_ _null_ _null_ )
+insert ( 1353 timetz_ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1266 1266' _null_ _null_ _null_ _null_ _null_ timetz_ne _null_ _null_ _null_ _null_ )
+insert ( 1354 timetz_lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1266 1266' _null_ _null_ _null_ _null_ _null_ timetz_lt _null_ _null_ _null_ _null_ )
+insert ( 1355 timetz_le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1266 1266' _null_ _null_ _null_ _null_ _null_ timetz_le _null_ _null_ _null_ _null_ )
+insert ( 1356 timetz_ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1266 1266' _null_ _null_ _null_ _null_ _null_ timetz_ge _null_ _null_ _null_ _null_ )
+insert ( 1357 timetz_gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1266 1266' _null_ _null_ _null_ _null_ _null_ timetz_gt _null_ _null_ _null_ _null_ )
+insert ( 1358 timetz_cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '1266 1266' _null_ _null_ _null_ _null_ _null_ timetz_cmp _null_ _null_ _null_ _null_ )
+insert ( 1359 timestamptz 11 10 12 1 0 0 0 f f f t f i s 2 0 1184 '1082 1266' _null_ _null_ _null_ _null_ _null_ datetimetz_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 1367 character_length 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1042 _null_ _null_ _null_ _null_ _null_ bpcharlen _null_ _null_ _null_ _null_ )
+insert ( 1369 character_length 11 10 12 1 0 0 0 f f f t f i s 1 0 23 25 _null_ _null_ _null_ _null_ _null_ textlen _null_ _null_ _null_ _null_ )
+insert ( 1370 interval 11 10 12 1 0 0 0 f f t t f i s 1 0 1186 1083 _null_ _null_ _null_ _null_ _null_ time_interval _null_ _null_ _null_ _null_ )
+insert ( 1372 char_length 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1042 _null_ _null_ _null_ _null_ _null_ bpcharlen _null_ _null_ _null_ _null_ )
+insert ( 1374 octet_length 11 10 12 1 0 0 0 f f f t f i s 1 0 23 25 _null_ _null_ _null_ _null_ _null_ textoctetlen _null_ _null_ _null_ _null_ )
+insert ( 1375 octet_length 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1042 _null_ _null_ _null_ _null_ _null_ bpcharoctetlen _null_ _null_ _null_ _null_ )
+insert ( 1377 time_larger 11 10 12 1 0 0 0 f f f t f i s 2 0 1083 '1083 1083' _null_ _null_ _null_ _null_ _null_ time_larger _null_ _null_ _null_ _null_ )
+insert ( 1378 time_smaller 11 10 12 1 0 0 0 f f f t f i s 2 0 1083 '1083 1083' _null_ _null_ _null_ _null_ _null_ time_smaller _null_ _null_ _null_ _null_ )
+insert ( 1379 timetz_larger 11 10 12 1 0 0 0 f f f t f i s 2 0 1266 '1266 1266' _null_ _null_ _null_ _null_ _null_ timetz_larger _null_ _null_ _null_ _null_ )
+insert ( 1380 timetz_smaller 11 10 12 1 0 0 0 f f f t f i s 2 0 1266 '1266 1266' _null_ _null_ _null_ _null_ _null_ timetz_smaller _null_ _null_ _null_ _null_ )
+insert ( 1381 char_length 11 10 12 1 0 0 0 f f f t f i s 1 0 23 25 _null_ _null_ _null_ _null_ _null_ textlen _null_ _null_ _null_ _null_ )
+insert ( 1384 date_part 11 10 14 1 0 0 0 f f f t f i s 2 0 701 '25 1082' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 6199 extract 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '25 1082' _null_ _null_ _null_ _null_ _null_ extract_date _null_ _null_ _null_ _null_ )
+insert ( 1385 date_part 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '25 1083' _null_ _null_ _null_ _null_ _null_ time_part _null_ _null_ _null_ _null_ )
+insert ( 6200 extract 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '25 1083' _null_ _null_ _null_ _null_ _null_ extract_time _null_ _null_ _null_ _null_ )
+insert ( 1386 age 11 10 14 1 0 0 0 f f f t f s s 1 0 1186 1184 _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1388 timetz 11 10 12 1 0 0 0 f f f t f s s 1 0 1266 1184 _null_ _null_ _null_ _null_ _null_ timestamptz_timetz _null_ _null_ _null_ _null_ )
+insert ( 1373 isfinite 11 10 12 1 0 0 0 f f f t f i s 1 0 16 1082 _null_ _null_ _null_ _null_ _null_ date_finite _null_ _null_ _null_ _null_ )
+insert ( 1389 isfinite 11 10 12 1 0 0 0 f f f t f i s 1 0 16 1184 _null_ _null_ _null_ _null_ _null_ timestamp_finite _null_ _null_ _null_ _null_ )
+insert ( 1390 isfinite 11 10 12 1 0 0 0 f f f t f i s 1 0 16 1186 _null_ _null_ _null_ _null_ _null_ interval_finite _null_ _null_ _null_ _null_ )
+insert ( 1376 factorial 11 10 12 1 0 0 0 f f f t f i s 1 0 1700 20 _null_ _null_ _null_ _null_ _null_ numeric_fac _null_ _null_ _null_ _null_ )
+insert ( 1394 abs 11 10 12 1 0 0 0 f f f t f i s 1 0 700 700 _null_ _null_ _null_ _null_ _null_ float4abs _null_ _null_ _null_ _null_ )
+insert ( 1395 abs 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ float8abs _null_ _null_ _null_ _null_ )
+insert ( 1396 abs 11 10 12 1 0 0 0 f f f t f i s 1 0 20 20 _null_ _null_ _null_ _null_ _null_ int8abs _null_ _null_ _null_ _null_ )
+insert ( 1397 abs 11 10 12 1 0 0 0 f f f t f i s 1 0 23 23 _null_ _null_ _null_ _null_ _null_ int4abs _null_ _null_ _null_ _null_ )
+insert ( 1398 abs 11 10 12 1 0 0 0 f f f t f i s 1 0 21 21 _null_ _null_ _null_ _null_ _null_ int2abs _null_ _null_ _null_ _null_ )
+insert ( 1400 name 11 10 12 1 0 0 0 f f t t f i s 1 0 19 1043 _null_ _null_ _null_ _null_ _null_ text_name _null_ _null_ _null_ _null_ )
+insert ( 1401 varchar 11 10 12 1 0 0 0 f f t t f i s 1 0 1043 19 _null_ _null_ _null_ _null_ _null_ name_text _null_ _null_ _null_ _null_ )
+insert ( 1402 current_schema 11 10 12 1 0 0 0 f f f t f s u 0 0 19 '' _null_ _null_ _null_ _null_ _null_ current_schema _null_ _null_ _null_ _null_ )
+insert ( 1403 current_schemas 11 10 12 1 0 0 0 f f f t f s u 1 0 1003 16 _null_ _null_ _null_ _null_ _null_ current_schemas _null_ _null_ _null_ _null_ )
+insert ( 1404 overlay 11 10 12 1 0 0 0 f f f t f i s 4 0 25 '25 25 23 23' _null_ _null_ _null_ _null_ _null_ textoverlay _null_ _null_ _null_ _null_ )
+insert ( 1405 overlay 11 10 12 1 0 0 0 f f f t f i s 3 0 25 '25 25 23' _null_ _null_ _null_ _null_ _null_ textoverlay_no_len _null_ _null_ _null_ _null_ )
+insert ( 1406 isvertical 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '600 600' _null_ _null_ _null_ _null_ _null_ point_vert _null_ _null_ _null_ _null_ )
+insert ( 1407 ishorizontal 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '600 600' _null_ _null_ _null_ _null_ _null_ point_horiz _null_ _null_ _null_ _null_ )
+insert ( 1408 isparallel 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '601 601' _null_ _null_ _null_ _null_ _null_ lseg_parallel _null_ _null_ _null_ _null_ )
+insert ( 1409 isperp 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '601 601' _null_ _null_ _null_ _null_ _null_ lseg_perp _null_ _null_ _null_ _null_ )
+insert ( 1410 isvertical 11 10 12 1 0 0 0 f f f t f i s 1 0 16 601 _null_ _null_ _null_ _null_ _null_ lseg_vertical _null_ _null_ _null_ _null_ )
+insert ( 1411 ishorizontal 11 10 12 1 0 0 0 f f f t f i s 1 0 16 601 _null_ _null_ _null_ _null_ _null_ lseg_horizontal _null_ _null_ _null_ _null_ )
+insert ( 1412 isparallel 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '628 628' _null_ _null_ _null_ _null_ _null_ line_parallel _null_ _null_ _null_ _null_ )
+insert ( 1413 isperp 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '628 628' _null_ _null_ _null_ _null_ _null_ line_perp _null_ _null_ _null_ _null_ )
+insert ( 1414 isvertical 11 10 12 1 0 0 0 f f f t f i s 1 0 16 628 _null_ _null_ _null_ _null_ _null_ line_vertical _null_ _null_ _null_ _null_ )
+insert ( 1415 ishorizontal 11 10 12 1 0 0 0 f f f t f i s 1 0 16 628 _null_ _null_ _null_ _null_ _null_ line_horizontal _null_ _null_ _null_ _null_ )
+insert ( 1416 point 11 10 12 1 0 0 0 f f f t f i s 1 0 600 718 _null_ _null_ _null_ _null_ _null_ circle_center _null_ _null_ _null_ _null_ )
+insert ( 1419 time 11 10 12 1 0 0 0 f f f t f i s 1 0 1083 1186 _null_ _null_ _null_ _null_ _null_ interval_time _null_ _null_ _null_ _null_ )
+insert ( 1421 box 11 10 12 1 0 0 0 f f f t f i s 2 0 603 '600 600' _null_ _null_ _null_ _null_ _null_ points_box _null_ _null_ _null_ _null_ )
+insert ( 1422 box_add 11 10 12 1 0 0 0 f f f t f i s 2 0 603 '603 600' _null_ _null_ _null_ _null_ _null_ box_add _null_ _null_ _null_ _null_ )
+insert ( 1423 box_sub 11 10 12 1 0 0 0 f f f t f i s 2 0 603 '603 600' _null_ _null_ _null_ _null_ _null_ box_sub _null_ _null_ _null_ _null_ )
+insert ( 1424 box_mul 11 10 12 1 0 0 0 f f f t f i s 2 0 603 '603 600' _null_ _null_ _null_ _null_ _null_ box_mul _null_ _null_ _null_ _null_ )
+insert ( 1425 box_div 11 10 12 1 0 0 0 f f f t f i s 2 0 603 '603 600' _null_ _null_ _null_ _null_ _null_ box_div _null_ _null_ _null_ _null_ )
+insert ( 1426 path_contain_pt 11 10 14 1 0 0 0 f f f t f i s 2 0 16 '602 600' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1428 poly_contain_pt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '604 600' _null_ _null_ _null_ _null_ _null_ poly_contain_pt _null_ _null_ _null_ _null_ )
+insert ( 1429 pt_contained_poly 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '600 604' _null_ _null_ _null_ _null_ _null_ pt_contained_poly _null_ _null_ _null_ _null_ )
+insert ( 1430 isclosed 11 10 12 1 0 0 0 f f f t f i s 1 0 16 602 _null_ _null_ _null_ _null_ _null_ path_isclosed _null_ _null_ _null_ _null_ )
+insert ( 1431 isopen 11 10 12 1 0 0 0 f f f t f i s 1 0 16 602 _null_ _null_ _null_ _null_ _null_ path_isopen _null_ _null_ _null_ _null_ )
+insert ( 1432 path_npoints 11 10 12 1 0 0 0 f f f t f i s 1 0 23 602 _null_ _null_ _null_ _null_ _null_ path_npoints _null_ _null_ _null_ _null_ )
+insert ( 1433 pclose 11 10 12 1 0 0 0 f f f t f i s 1 0 602 602 _null_ _null_ _null_ _null_ _null_ path_close _null_ _null_ _null_ _null_ )
+insert ( 1434 popen 11 10 12 1 0 0 0 f f f t f i s 1 0 602 602 _null_ _null_ _null_ _null_ _null_ path_open _null_ _null_ _null_ _null_ )
+insert ( 1435 path_add 11 10 12 1 0 0 0 f f f t f i s 2 0 602 '602 602' _null_ _null_ _null_ _null_ _null_ path_add _null_ _null_ _null_ _null_ )
+insert ( 1436 path_add_pt 11 10 12 1 0 0 0 f f f t f i s 2 0 602 '602 600' _null_ _null_ _null_ _null_ _null_ path_add_pt _null_ _null_ _null_ _null_ )
+insert ( 1437 path_sub_pt 11 10 12 1 0 0 0 f f f t f i s 2 0 602 '602 600' _null_ _null_ _null_ _null_ _null_ path_sub_pt _null_ _null_ _null_ _null_ )
+insert ( 1438 path_mul_pt 11 10 12 1 0 0 0 f f f t f i s 2 0 602 '602 600' _null_ _null_ _null_ _null_ _null_ path_mul_pt _null_ _null_ _null_ _null_ )
+insert ( 1439 path_div_pt 11 10 12 1 0 0 0 f f f t f i s 2 0 602 '602 600' _null_ _null_ _null_ _null_ _null_ path_div_pt _null_ _null_ _null_ _null_ )
+insert ( 1440 point 11 10 12 1 0 0 0 f f f t f i s 2 0 600 '701 701' _null_ _null_ _null_ _null_ _null_ construct_point _null_ _null_ _null_ _null_ )
+insert ( 1441 point_add 11 10 12 1 0 0 0 f f f t f i s 2 0 600 '600 600' _null_ _null_ _null_ _null_ _null_ point_add _null_ _null_ _null_ _null_ )
+insert ( 1442 point_sub 11 10 12 1 0 0 0 f f f t f i s 2 0 600 '600 600' _null_ _null_ _null_ _null_ _null_ point_sub _null_ _null_ _null_ _null_ )
+insert ( 1443 point_mul 11 10 12 1 0 0 0 f f f t f i s 2 0 600 '600 600' _null_ _null_ _null_ _null_ _null_ point_mul _null_ _null_ _null_ _null_ )
+insert ( 1444 point_div 11 10 12 1 0 0 0 f f f t f i s 2 0 600 '600 600' _null_ _null_ _null_ _null_ _null_ point_div _null_ _null_ _null_ _null_ )
+insert ( 1445 poly_npoints 11 10 12 1 0 0 0 f f f t f i s 1 0 23 604 _null_ _null_ _null_ _null_ _null_ poly_npoints _null_ _null_ _null_ _null_ )
+insert ( 1446 box 11 10 12 1 0 0 0 f f f t f i s 1 0 603 604 _null_ _null_ _null_ _null_ _null_ poly_box _null_ _null_ _null_ _null_ )
+insert ( 1447 path 11 10 12 1 0 0 0 f f f t f i s 1 0 602 604 _null_ _null_ _null_ _null_ _null_ poly_path _null_ _null_ _null_ _null_ )
+insert ( 1448 polygon 11 10 12 1 0 0 0 f f f t f i s 1 0 604 603 _null_ _null_ _null_ _null_ _null_ box_poly _null_ _null_ _null_ _null_ )
+insert ( 1449 polygon 11 10 12 1 0 0 0 f f f t f i s 1 0 604 602 _null_ _null_ _null_ _null_ _null_ path_poly _null_ _null_ _null_ _null_ )
+insert ( 1450 circle_in 11 10 12 1 0 0 0 f f f t f i s 1 0 718 2275 _null_ _null_ _null_ _null_ _null_ circle_in _null_ _null_ _null_ _null_ )
+insert ( 1451 circle_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 718 _null_ _null_ _null_ _null_ _null_ circle_out _null_ _null_ _null_ _null_ )
+insert ( 1452 circle_same 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '718 718' _null_ _null_ _null_ _null_ _null_ circle_same _null_ _null_ _null_ _null_ )
+insert ( 1453 circle_contain 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '718 718' _null_ _null_ _null_ _null_ _null_ circle_contain _null_ _null_ _null_ _null_ )
+insert ( 1454 circle_left 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '718 718' _null_ _null_ _null_ _null_ _null_ circle_left _null_ _null_ _null_ _null_ )
+insert ( 1455 circle_overleft 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '718 718' _null_ _null_ _null_ _null_ _null_ circle_overleft _null_ _null_ _null_ _null_ )
+insert ( 1456 circle_overright 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '718 718' _null_ _null_ _null_ _null_ _null_ circle_overright _null_ _null_ _null_ _null_ )
+insert ( 1457 circle_right 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '718 718' _null_ _null_ _null_ _null_ _null_ circle_right _null_ _null_ _null_ _null_ )
+insert ( 1458 circle_contained 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '718 718' _null_ _null_ _null_ _null_ _null_ circle_contained _null_ _null_ _null_ _null_ )
+insert ( 1459 circle_overlap 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '718 718' _null_ _null_ _null_ _null_ _null_ circle_overlap _null_ _null_ _null_ _null_ )
+insert ( 1460 circle_below 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '718 718' _null_ _null_ _null_ _null_ _null_ circle_below _null_ _null_ _null_ _null_ )
+insert ( 1461 circle_above 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '718 718' _null_ _null_ _null_ _null_ _null_ circle_above _null_ _null_ _null_ _null_ )
+insert ( 1462 circle_eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '718 718' _null_ _null_ _null_ _null_ _null_ circle_eq _null_ _null_ _null_ _null_ )
+insert ( 1463 circle_ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '718 718' _null_ _null_ _null_ _null_ _null_ circle_ne _null_ _null_ _null_ _null_ )
+insert ( 1464 circle_lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '718 718' _null_ _null_ _null_ _null_ _null_ circle_lt _null_ _null_ _null_ _null_ )
+insert ( 1465 circle_gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '718 718' _null_ _null_ _null_ _null_ _null_ circle_gt _null_ _null_ _null_ _null_ )
+insert ( 1466 circle_le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '718 718' _null_ _null_ _null_ _null_ _null_ circle_le _null_ _null_ _null_ _null_ )
+insert ( 1467 circle_ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '718 718' _null_ _null_ _null_ _null_ _null_ circle_ge _null_ _null_ _null_ _null_ )
+insert ( 1468 area 11 10 12 1 0 0 0 f f f t f i s 1 0 701 718 _null_ _null_ _null_ _null_ _null_ circle_area _null_ _null_ _null_ _null_ )
+insert ( 1469 diameter 11 10 12 1 0 0 0 f f f t f i s 1 0 701 718 _null_ _null_ _null_ _null_ _null_ circle_diameter _null_ _null_ _null_ _null_ )
+insert ( 1470 radius 11 10 12 1 0 0 0 f f f t f i s 1 0 701 718 _null_ _null_ _null_ _null_ _null_ circle_radius _null_ _null_ _null_ _null_ )
+insert ( 1471 circle_distance 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '718 718' _null_ _null_ _null_ _null_ _null_ circle_distance _null_ _null_ _null_ _null_ )
+insert ( 1472 circle_center 11 10 12 1 0 0 0 f f f t f i s 1 0 600 718 _null_ _null_ _null_ _null_ _null_ circle_center _null_ _null_ _null_ _null_ )
+insert ( 1473 circle 11 10 12 1 0 0 0 f f f t f i s 2 0 718 '600 701' _null_ _null_ _null_ _null_ _null_ cr_circle _null_ _null_ _null_ _null_ )
+insert ( 1474 circle 11 10 12 1 0 0 0 f f f t f i s 1 0 718 604 _null_ _null_ _null_ _null_ _null_ poly_circle _null_ _null_ _null_ _null_ )
+insert ( 1475 polygon 11 10 12 1 0 0 0 f f f t f i s 2 0 604 '23 718' _null_ _null_ _null_ _null_ _null_ circle_poly _null_ _null_ _null_ _null_ )
+insert ( 1476 dist_pc 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '600 718' _null_ _null_ _null_ _null_ _null_ dist_pc _null_ _null_ _null_ _null_ )
+insert ( 1477 circle_contain_pt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '718 600' _null_ _null_ _null_ _null_ _null_ circle_contain_pt _null_ _null_ _null_ _null_ )
+insert ( 1478 pt_contained_circle 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '600 718' _null_ _null_ _null_ _null_ _null_ pt_contained_circle _null_ _null_ _null_ _null_ )
+insert ( 4091 box 11 10 12 1 0 0 0 f f f t f i s 1 0 603 600 _null_ _null_ _null_ _null_ _null_ point_box _null_ _null_ _null_ _null_ )
+insert ( 1479 circle 11 10 12 1 0 0 0 f f f t f i s 1 0 718 603 _null_ _null_ _null_ _null_ _null_ box_circle _null_ _null_ _null_ _null_ )
+insert ( 1480 box 11 10 12 1 0 0 0 f f f t f i s 1 0 603 718 _null_ _null_ _null_ _null_ _null_ circle_box _null_ _null_ _null_ _null_ )
+insert ( 1482 lseg_ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '601 601' _null_ _null_ _null_ _null_ _null_ lseg_ne _null_ _null_ _null_ _null_ )
+insert ( 1483 lseg_lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '601 601' _null_ _null_ _null_ _null_ _null_ lseg_lt _null_ _null_ _null_ _null_ )
+insert ( 1484 lseg_le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '601 601' _null_ _null_ _null_ _null_ _null_ lseg_le _null_ _null_ _null_ _null_ )
+insert ( 1485 lseg_gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '601 601' _null_ _null_ _null_ _null_ _null_ lseg_gt _null_ _null_ _null_ _null_ )
+insert ( 1486 lseg_ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '601 601' _null_ _null_ _null_ _null_ _null_ lseg_ge _null_ _null_ _null_ _null_ )
+insert ( 1487 lseg_length 11 10 12 1 0 0 0 f f f t f i s 1 0 701 601 _null_ _null_ _null_ _null_ _null_ lseg_length _null_ _null_ _null_ _null_ )
+insert ( 1488 close_ls 11 10 12 1 0 0 0 f f f t f i s 2 0 600 '628 601' _null_ _null_ _null_ _null_ _null_ close_ls _null_ _null_ _null_ _null_ )
+insert ( 1489 close_lseg 11 10 12 1 0 0 0 f f f t f i s 2 0 600 '601 601' _null_ _null_ _null_ _null_ _null_ close_lseg _null_ _null_ _null_ _null_ )
+insert ( 1490 line_in 11 10 12 1 0 0 0 f f f t f i s 1 0 628 2275 _null_ _null_ _null_ _null_ _null_ line_in _null_ _null_ _null_ _null_ )
+insert ( 1491 line_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 628 _null_ _null_ _null_ _null_ _null_ line_out _null_ _null_ _null_ _null_ )
+insert ( 1492 line_eq 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '628 628' _null_ _null_ _null_ _null_ _null_ line_eq _null_ _null_ _null_ _null_ )
+insert ( 1493 line 11 10 12 1 0 0 0 f f f t f i s 2 0 628 '600 600' _null_ _null_ _null_ _null_ _null_ line_construct_pp _null_ _null_ _null_ _null_ )
+insert ( 1494 line_interpt 11 10 12 1 0 0 0 f f f t f i s 2 0 600 '628 628' _null_ _null_ _null_ _null_ _null_ line_interpt _null_ _null_ _null_ _null_ )
+insert ( 1495 line_intersect 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '628 628' _null_ _null_ _null_ _null_ _null_ line_intersect _null_ _null_ _null_ _null_ )
+insert ( 1496 line_parallel 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '628 628' _null_ _null_ _null_ _null_ _null_ line_parallel _null_ _null_ _null_ _null_ )
+insert ( 1497 line_perp 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '628 628' _null_ _null_ _null_ _null_ _null_ line_perp _null_ _null_ _null_ _null_ )
+insert ( 1498 line_vertical 11 10 12 1 0 0 0 f f f t f i s 1 0 16 628 _null_ _null_ _null_ _null_ _null_ line_vertical _null_ _null_ _null_ _null_ )
+insert ( 1499 line_horizontal 11 10 12 1 0 0 0 f f f t f i s 1 0 16 628 _null_ _null_ _null_ _null_ _null_ line_horizontal _null_ _null_ _null_ _null_ )
+insert ( 1530 length 11 10 12 1 0 0 0 f f f t f i s 1 0 701 601 _null_ _null_ _null_ _null_ _null_ lseg_length _null_ _null_ _null_ _null_ )
+insert ( 1531 length 11 10 12 1 0 0 0 f f f t f i s 1 0 701 602 _null_ _null_ _null_ _null_ _null_ path_length _null_ _null_ _null_ _null_ )
+insert ( 1532 point 11 10 12 1 0 0 0 f f f t f i s 1 0 600 601 _null_ _null_ _null_ _null_ _null_ lseg_center _null_ _null_ _null_ _null_ )
+insert ( 1534 point 11 10 12 1 0 0 0 f f f t f i s 1 0 600 603 _null_ _null_ _null_ _null_ _null_ box_center _null_ _null_ _null_ _null_ )
+insert ( 1540 point 11 10 12 1 0 0 0 f f f t f i s 1 0 600 604 _null_ _null_ _null_ _null_ _null_ poly_center _null_ _null_ _null_ _null_ )
+insert ( 1541 lseg 11 10 12 1 0 0 0 f f f t f i s 1 0 601 603 _null_ _null_ _null_ _null_ _null_ box_diagonal _null_ _null_ _null_ _null_ )
+insert ( 1542 center 11 10 12 1 0 0 0 f f f t f i s 1 0 600 603 _null_ _null_ _null_ _null_ _null_ box_center _null_ _null_ _null_ _null_ )
+insert ( 1543 center 11 10 12 1 0 0 0 f f f t f i s 1 0 600 718 _null_ _null_ _null_ _null_ _null_ circle_center _null_ _null_ _null_ _null_ )
+insert ( 1544 polygon 11 10 14 1 0 0 0 f f f t f i s 1 0 604 718 _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1545 npoints 11 10 12 1 0 0 0 f f f t f i s 1 0 23 602 _null_ _null_ _null_ _null_ _null_ path_npoints _null_ _null_ _null_ _null_ )
+insert ( 1556 npoints 11 10 12 1 0 0 0 f f f t f i s 1 0 23 604 _null_ _null_ _null_ _null_ _null_ poly_npoints _null_ _null_ _null_ _null_ )
+insert ( 1564 bit_in 11 10 12 1 0 0 0 f f f t f i s 3 0 1560 '2275 26 23' _null_ _null_ _null_ _null_ _null_ bit_in _null_ _null_ _null_ _null_ )
+insert ( 1565 bit_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 1560 _null_ _null_ _null_ _null_ _null_ bit_out _null_ _null_ _null_ _null_ )
+insert ( 2919 bittypmodin 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1263 _null_ _null_ _null_ _null_ _null_ bittypmodin _null_ _null_ _null_ _null_ )
+insert ( 2920 bittypmodout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 23 _null_ _null_ _null_ _null_ _null_ bittypmodout _null_ _null_ _null_ _null_ )
+insert ( 1569 like 11 10 12 1 0 0 1023 f f f t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ textlike _null_ _null_ _null_ _null_ )
+insert ( 1570 notlike 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ textnlike _null_ _null_ _null_ _null_ )
+insert ( 1571 like 11 10 12 1 0 0 1023 f f f t f i s 2 0 16 '19 25' _null_ _null_ _null_ _null_ _null_ namelike _null_ _null_ _null_ _null_ )
+insert ( 1572 notlike 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '19 25' _null_ _null_ _null_ _null_ _null_ namenlike _null_ _null_ _null_ _null_ )
+insert ( 1574 nextval 11 10 12 1 0 0 0 f f f t f v u 1 0 20 2205 _null_ _null_ _null_ _null_ _null_ nextval_oid _null_ _null_ _null_ _null_ )
+insert ( 1575 currval 11 10 12 1 0 0 0 f f f t f v u 1 0 20 2205 _null_ _null_ _null_ _null_ _null_ currval_oid _null_ _null_ _null_ _null_ )
+insert ( 1576 setval 11 10 12 1 0 0 0 f f f t f v u 2 0 20 '2205 20' _null_ _null_ _null_ _null_ _null_ setval_oid _null_ _null_ _null_ _null_ )
+insert ( 1765 setval 11 10 12 1 0 0 0 f f f t f v u 3 0 20 '2205 20 16' _null_ _null_ _null_ _null_ _null_ setval3_oid _null_ _null_ _null_ _null_ )
+insert ( 3078 pg_sequence_parameters 11 10 12 1 0 0 0 f f f t f s s 1 0 2249 26 '{26,20,20,20,20,16,20,26}' '{i,o,o,o,o,o,o,o}' '{sequence_oid,start_value,minimum_value,maximum_value,increment,cycle_option,cache_size,data_type}' _null_ _null_ pg_sequence_parameters _null_ _null_ _null_ _null_ )
+insert ( 4032 pg_sequence_last_value 11 10 12 1 0 0 0 f f f t f v u 1 0 20 2205 _null_ _null_ _null_ _null_ _null_ pg_sequence_last_value _null_ _null_ _null_ _null_ )
+insert ( 275 pg_nextoid 11 10 12 1 0 0 0 f f f t f v u 3 0 26 '2205 19 2205' _null_ _null_ _null_ _null_ _null_ pg_nextoid _null_ _null_ _null_ _null_ )
+insert ( 6241 pg_stop_making_pinned_objects 11 10 12 1 0 0 0 f f f t f v u 0 0 2278 '' _null_ _null_ _null_ _null_ _null_ pg_stop_making_pinned_objects _null_ _null_ _null_ _null_ )
+insert ( 1579 varbit_in 11 10 12 1 0 0 0 f f f t f i s 3 0 1562 '2275 26 23' _null_ _null_ _null_ _null_ _null_ varbit_in _null_ _null_ _null_ _null_ )
+insert ( 1580 varbit_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 1562 _null_ _null_ _null_ _null_ _null_ varbit_out _null_ _null_ _null_ _null_ )
+insert ( 2902 varbittypmodin 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1263 _null_ _null_ _null_ _null_ _null_ varbittypmodin _null_ _null_ _null_ _null_ )
+insert ( 2921 varbittypmodout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 23 _null_ _null_ _null_ _null_ _null_ varbittypmodout _null_ _null_ _null_ _null_ )
+insert ( 1581 biteq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1560 1560' _null_ _null_ _null_ _null_ _null_ biteq _null_ _null_ _null_ _null_ )
+insert ( 1582 bitne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1560 1560' _null_ _null_ _null_ _null_ _null_ bitne _null_ _null_ _null_ _null_ )
+insert ( 1592 bitge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1560 1560' _null_ _null_ _null_ _null_ _null_ bitge _null_ _null_ _null_ _null_ )
+insert ( 1593 bitgt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1560 1560' _null_ _null_ _null_ _null_ _null_ bitgt _null_ _null_ _null_ _null_ )
+insert ( 1594 bitle 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1560 1560' _null_ _null_ _null_ _null_ _null_ bitle _null_ _null_ _null_ _null_ )
+insert ( 1595 bitlt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1560 1560' _null_ _null_ _null_ _null_ _null_ bitlt _null_ _null_ _null_ _null_ )
+insert ( 1596 bitcmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '1560 1560' _null_ _null_ _null_ _null_ _null_ bitcmp _null_ _null_ _null_ _null_ )
+insert ( 1598 random 11 10 12 1 0 0 0 f f f t f v r 0 0 701 '' _null_ _null_ _null_ _null_ _null_ drandom _null_ _null_ _null_ _null_ )
+insert ( 6212 random_normal 11 10 12 1 0 0 0 f f f t f v r 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ drandom_normal _null_ _null_ _null_ _null_ )
+insert ( 1599 setseed 11 10 12 1 0 0 0 f f f t f v r 1 0 2278 701 _null_ _null_ _null_ _null_ _null_ setseed _null_ _null_ _null_ _null_ )
+insert ( 1600 asin 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dasin _null_ _null_ _null_ _null_ )
+insert ( 1601 acos 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dacos _null_ _null_ _null_ _null_ )
+insert ( 1602 atan 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ datan _null_ _null_ _null_ _null_ )
+insert ( 1603 atan2 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ datan2 _null_ _null_ _null_ _null_ )
+insert ( 1604 sin 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dsin _null_ _null_ _null_ _null_ )
+insert ( 1605 cos 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dcos _null_ _null_ _null_ _null_ )
+insert ( 1606 tan 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dtan _null_ _null_ _null_ _null_ )
+insert ( 1607 cot 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dcot _null_ _null_ _null_ _null_ )
+insert ( 2731 asind 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dasind _null_ _null_ _null_ _null_ )
+insert ( 2732 acosd 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dacosd _null_ _null_ _null_ _null_ )
+insert ( 2733 atand 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ datand _null_ _null_ _null_ _null_ )
+insert ( 2734 atan2d 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ datan2d _null_ _null_ _null_ _null_ )
+insert ( 2735 sind 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dsind _null_ _null_ _null_ _null_ )
+insert ( 2736 cosd 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dcosd _null_ _null_ _null_ _null_ )
+insert ( 2737 tand 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dtand _null_ _null_ _null_ _null_ )
+insert ( 2738 cotd 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dcotd _null_ _null_ _null_ _null_ )
+insert ( 1608 degrees 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ degrees _null_ _null_ _null_ _null_ )
+insert ( 1609 radians 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ radians _null_ _null_ _null_ _null_ )
+insert ( 1610 pi 11 10 12 1 0 0 0 f f f t f i s 0 0 701 '' _null_ _null_ _null_ _null_ _null_ dpi _null_ _null_ _null_ _null_ )
+insert ( 2462 sinh 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dsinh _null_ _null_ _null_ _null_ )
+insert ( 2463 cosh 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dcosh _null_ _null_ _null_ _null_ )
+insert ( 2464 tanh 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dtanh _null_ _null_ _null_ _null_ )
+insert ( 2465 asinh 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dasinh _null_ _null_ _null_ _null_ )
+insert ( 2466 acosh 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ dacosh _null_ _null_ _null_ _null_ )
+insert ( 2467 atanh 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ datanh _null_ _null_ _null_ _null_ )
+insert ( 6219 erf 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ derf _null_ _null_ _null_ _null_ )
+insert ( 6220 erfc 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ derfc _null_ _null_ _null_ _null_ )
+insert ( 1618 interval_mul 11 10 12 1 0 0 0 f f f t f i s 2 0 1186 '1186 701' _null_ _null_ _null_ _null_ _null_ interval_mul _null_ _null_ _null_ _null_ )
+insert ( 1620 ascii 11 10 12 1 0 0 0 f f f t f i s 1 0 23 25 _null_ _null_ _null_ _null_ _null_ ascii _null_ _null_ _null_ _null_ )
+insert ( 1621 chr 11 10 12 1 0 0 0 f f f t f i s 1 0 25 23 _null_ _null_ _null_ _null_ _null_ chr _null_ _null_ _null_ _null_ )
+insert ( 1622 repeat 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '25 23' _null_ _null_ _null_ _null_ _null_ repeat _null_ _null_ _null_ _null_ )
+insert ( 1623 similar_escape 11 10 12 1 0 0 0 f f f f f i s 2 0 25 '25 25' _null_ _null_ _null_ _null_ _null_ similar_escape _null_ _null_ _null_ _null_ )
+insert ( 1986 similar_to_escape 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '25 25' _null_ _null_ _null_ _null_ _null_ similar_to_escape_2 _null_ _null_ _null_ _null_ )
+insert ( 1987 similar_to_escape 11 10 12 1 0 0 0 f f f t f i s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ similar_to_escape_1 _null_ _null_ _null_ _null_ )
+insert ( 1624 mul_d_interval 11 10 12 1 0 0 0 f f f t f i s 2 0 1186 '701 1186' _null_ _null_ _null_ _null_ _null_ mul_d_interval _null_ _null_ _null_ _null_ )
+insert ( 1631 bpcharlike 11 10 12 1 0 0 1023 f f f t f i s 2 0 16 '1042 25' _null_ _null_ _null_ _null_ _null_ textlike _null_ _null_ _null_ _null_ )
+insert ( 1632 bpcharnlike 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1042 25' _null_ _null_ _null_ _null_ _null_ textnlike _null_ _null_ _null_ _null_ )
+insert ( 1633 texticlike 11 10 12 1 0 0 1025 f f f t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ texticlike _null_ _null_ _null_ _null_ )
+insert ( 1025 texticlike_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ texticlike_support _null_ _null_ _null_ _null_ )
+insert ( 1634 texticnlike 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ texticnlike _null_ _null_ _null_ _null_ )
+insert ( 1635 nameiclike 11 10 12 1 0 0 1025 f f f t f i s 2 0 16 '19 25' _null_ _null_ _null_ _null_ _null_ nameiclike _null_ _null_ _null_ _null_ )
+insert ( 1636 nameicnlike 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '19 25' _null_ _null_ _null_ _null_ _null_ nameicnlike _null_ _null_ _null_ _null_ )
+insert ( 1637 like_escape 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '25 25' _null_ _null_ _null_ _null_ _null_ like_escape _null_ _null_ _null_ _null_ )
+insert ( 1656 bpcharicregexeq 11 10 12 1 0 0 1024 f f f t f i s 2 0 16 '1042 25' _null_ _null_ _null_ _null_ _null_ texticregexeq _null_ _null_ _null_ _null_ )
+insert ( 1657 bpcharicregexne 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1042 25' _null_ _null_ _null_ _null_ _null_ texticregexne _null_ _null_ _null_ _null_ )
+insert ( 1658 bpcharregexeq 11 10 12 1 0 0 1364 f f f t f i s 2 0 16 '1042 25' _null_ _null_ _null_ _null_ _null_ textregexeq _null_ _null_ _null_ _null_ )
+insert ( 1659 bpcharregexne 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1042 25' _null_ _null_ _null_ _null_ _null_ textregexne _null_ _null_ _null_ _null_ )
+insert ( 1660 bpchariclike 11 10 12 1 0 0 1025 f f f t f i s 2 0 16 '1042 25' _null_ _null_ _null_ _null_ _null_ texticlike _null_ _null_ _null_ _null_ )
+insert ( 1661 bpcharicnlike 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1042 25' _null_ _null_ _null_ _null_ _null_ texticnlike _null_ _null_ _null_ _null_ )
+insert ( 868 strpos 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '25 25' _null_ _null_ _null_ _null_ _null_ textpos _null_ _null_ _null_ _null_ )
+insert ( 870 lower 11 10 12 1 0 0 0 f f f t f i s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ lower _null_ _null_ _null_ _null_ )
+insert ( 871 upper 11 10 12 1 0 0 0 f f f t f i s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ upper _null_ _null_ _null_ _null_ )
+insert ( 872 initcap 11 10 12 1 0 0 0 f f f t f i s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ initcap _null_ _null_ _null_ _null_ )
+insert ( 873 lpad 11 10 12 1 0 0 0 f f f t f i s 3 0 25 '25 23 25' _null_ _null_ _null_ _null_ _null_ lpad _null_ _null_ _null_ _null_ )
+insert ( 874 rpad 11 10 12 1 0 0 0 f f f t f i s 3 0 25 '25 23 25' _null_ _null_ _null_ _null_ _null_ rpad _null_ _null_ _null_ _null_ )
+insert ( 875 ltrim 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '25 25' _null_ _null_ _null_ _null_ _null_ ltrim _null_ _null_ _null_ _null_ )
+insert ( 876 rtrim 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '25 25' _null_ _null_ _null_ _null_ _null_ rtrim _null_ _null_ _null_ _null_ )
+insert ( 877 substr 11 10 12 1 0 0 0 f f f t f i s 3 0 25 '25 23 23' _null_ _null_ _null_ _null_ _null_ text_substr _null_ _null_ _null_ _null_ )
+insert ( 878 translate 11 10 12 1 0 0 0 f f f t f i s 3 0 25 '25 25 25' _null_ _null_ _null_ _null_ _null_ translate _null_ _null_ _null_ _null_ )
+insert ( 879 lpad 11 10 14 1 0 0 0 f f f t f i s 2 0 25 '25 23' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 880 rpad 11 10 14 1 0 0 0 f f f t f i s 2 0 25 '25 23' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 881 ltrim 11 10 12 1 0 0 0 f f f t f i s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ ltrim1 _null_ _null_ _null_ _null_ )
+insert ( 882 rtrim 11 10 12 1 0 0 0 f f f t f i s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ rtrim1 _null_ _null_ _null_ _null_ )
+insert ( 883 substr 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '25 23' _null_ _null_ _null_ _null_ _null_ text_substr_no_len _null_ _null_ _null_ _null_ )
+insert ( 884 btrim 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '25 25' _null_ _null_ _null_ _null_ _null_ btrim _null_ _null_ _null_ _null_ )
+insert ( 885 btrim 11 10 12 1 0 0 0 f f f t f i s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ btrim1 _null_ _null_ _null_ _null_ )
+insert ( 936 substring 11 10 12 1 0 0 0 f f f t f i s 3 0 25 '25 23 23' _null_ _null_ _null_ _null_ _null_ text_substr _null_ _null_ _null_ _null_ )
+insert ( 937 substring 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '25 23' _null_ _null_ _null_ _null_ _null_ text_substr_no_len _null_ _null_ _null_ _null_ )
+insert ( 2087 replace 11 10 12 1 0 0 0 f f f t f i s 3 0 25 '25 25 25' _null_ _null_ _null_ _null_ _null_ replace_text _null_ _null_ _null_ _null_ )
+insert ( 2284 regexp_replace 11 10 12 1 0 0 0 f f f t f i s 3 0 25 '25 25 25' _null_ _null_ _null_ _null_ _null_ textregexreplace_noopt _null_ _null_ _null_ _null_ )
+insert ( 2285 regexp_replace 11 10 12 1 0 0 0 f f f t f i s 4 0 25 '25 25 25 25' _null_ _null_ _null_ _null_ _null_ textregexreplace _null_ _null_ _null_ _null_ )
+insert ( 6251 regexp_replace 11 10 12 1 0 0 0 f f f t f i s 6 0 25 '25 25 25 23 23 25' _null_ _null_ _null_ _null_ _null_ textregexreplace_extended _null_ _null_ _null_ _null_ )
+insert ( 6252 regexp_replace 11 10 12 1 0 0 0 f f f t f i s 5 0 25 '25 25 25 23 23' _null_ _null_ _null_ _null_ _null_ textregexreplace_extended_no_flags _null_ _null_ _null_ _null_ )
+insert ( 6253 regexp_replace 11 10 12 1 0 0 0 f f f t f i s 4 0 25 '25 25 25 23' _null_ _null_ _null_ _null_ _null_ textregexreplace_extended_no_n _null_ _null_ _null_ _null_ )
+insert ( 3396 regexp_match 11 10 12 1 0 0 0 f f f t f i s 2 0 1009 '25 25' _null_ _null_ _null_ _null_ _null_ regexp_match_no_flags _null_ _null_ _null_ _null_ )
+insert ( 3397 regexp_match 11 10 12 1 0 0 0 f f f t f i s 3 0 1009 '25 25 25' _null_ _null_ _null_ _null_ _null_ regexp_match _null_ _null_ _null_ _null_ )
+insert ( 2763 regexp_matches 11 10 12 1 1 0 0 f f f t t i s 2 0 1009 '25 25' _null_ _null_ _null_ _null_ _null_ regexp_matches_no_flags _null_ _null_ _null_ _null_ )
+insert ( 2764 regexp_matches 11 10 12 1 10 0 0 f f f t t i s 3 0 1009 '25 25 25' _null_ _null_ _null_ _null_ _null_ regexp_matches _null_ _null_ _null_ _null_ )
+insert ( 6254 regexp_count 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '25 25' _null_ _null_ _null_ _null_ _null_ regexp_count_no_start _null_ _null_ _null_ _null_ )
+insert ( 6255 regexp_count 11 10 12 1 0 0 0 f f f t f i s 3 0 23 '25 25 23' _null_ _null_ _null_ _null_ _null_ regexp_count_no_flags _null_ _null_ _null_ _null_ )
+insert ( 6256 regexp_count 11 10 12 1 0 0 0 f f f t f i s 4 0 23 '25 25 23 25' _null_ _null_ _null_ _null_ _null_ regexp_count _null_ _null_ _null_ _null_ )
+insert ( 6257 regexp_instr 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '25 25' _null_ _null_ _null_ _null_ _null_ regexp_instr_no_start _null_ _null_ _null_ _null_ )
+insert ( 6258 regexp_instr 11 10 12 1 0 0 0 f f f t f i s 3 0 23 '25 25 23' _null_ _null_ _null_ _null_ _null_ regexp_instr_no_n _null_ _null_ _null_ _null_ )
+insert ( 6259 regexp_instr 11 10 12 1 0 0 0 f f f t f i s 4 0 23 '25 25 23 23' _null_ _null_ _null_ _null_ _null_ regexp_instr_no_endoption _null_ _null_ _null_ _null_ )
+insert ( 6260 regexp_instr 11 10 12 1 0 0 0 f f f t f i s 5 0 23 '25 25 23 23 23' _null_ _null_ _null_ _null_ _null_ regexp_instr_no_flags _null_ _null_ _null_ _null_ )
+insert ( 6261 regexp_instr 11 10 12 1 0 0 0 f f f t f i s 6 0 23 '25 25 23 23 23 25' _null_ _null_ _null_ _null_ _null_ regexp_instr_no_subexpr _null_ _null_ _null_ _null_ )
+insert ( 6262 regexp_instr 11 10 12 1 0 0 0 f f f t f i s 7 0 23 '25 25 23 23 23 25 23' _null_ _null_ _null_ _null_ _null_ regexp_instr _null_ _null_ _null_ _null_ )
+insert ( 6263 regexp_like 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ regexp_like_no_flags _null_ _null_ _null_ _null_ )
+insert ( 6264 regexp_like 11 10 12 1 0 0 0 f f f t f i s 3 0 16 '25 25 25' _null_ _null_ _null_ _null_ _null_ regexp_like _null_ _null_ _null_ _null_ )
+insert ( 6265 regexp_substr 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '25 25' _null_ _null_ _null_ _null_ _null_ regexp_substr_no_start _null_ _null_ _null_ _null_ )
+insert ( 6266 regexp_substr 11 10 12 1 0 0 0 f f f t f i s 3 0 25 '25 25 23' _null_ _null_ _null_ _null_ _null_ regexp_substr_no_n _null_ _null_ _null_ _null_ )
+insert ( 6267 regexp_substr 11 10 12 1 0 0 0 f f f t f i s 4 0 25 '25 25 23 23' _null_ _null_ _null_ _null_ _null_ regexp_substr_no_flags _null_ _null_ _null_ _null_ )
+insert ( 6268 regexp_substr 11 10 12 1 0 0 0 f f f t f i s 5 0 25 '25 25 23 23 25' _null_ _null_ _null_ _null_ _null_ regexp_substr_no_subexpr _null_ _null_ _null_ _null_ )
+insert ( 6269 regexp_substr 11 10 12 1 0 0 0 f f f t f i s 6 0 25 '25 25 23 23 25 23' _null_ _null_ _null_ _null_ _null_ regexp_substr _null_ _null_ _null_ _null_ )
+insert ( 2088 split_part 11 10 12 1 0 0 0 f f f t f i s 3 0 25 '25 25 23' _null_ _null_ _null_ _null_ _null_ split_part _null_ _null_ _null_ _null_ )
+insert ( 2765 regexp_split_to_table 11 10 12 1 1000 0 0 f f f t t i s 2 0 25 '25 25' _null_ _null_ _null_ _null_ _null_ regexp_split_to_table_no_flags _null_ _null_ _null_ _null_ )
+insert ( 2766 regexp_split_to_table 11 10 12 1 1000 0 0 f f f t t i s 3 0 25 '25 25 25' _null_ _null_ _null_ _null_ _null_ regexp_split_to_table _null_ _null_ _null_ _null_ )
+insert ( 2767 regexp_split_to_array 11 10 12 1 0 0 0 f f f t f i s 2 0 1009 '25 25' _null_ _null_ _null_ _null_ _null_ regexp_split_to_array_no_flags _null_ _null_ _null_ _null_ )
+insert ( 2768 regexp_split_to_array 11 10 12 1 0 0 0 f f f t f i s 3 0 1009 '25 25 25' _null_ _null_ _null_ _null_ _null_ regexp_split_to_array _null_ _null_ _null_ _null_ )
+insert ( 2089 to_hex 11 10 12 1 0 0 0 f f f t f i s 1 0 25 23 _null_ _null_ _null_ _null_ _null_ to_hex32 _null_ _null_ _null_ _null_ )
+insert ( 2090 to_hex 11 10 12 1 0 0 0 f f f t f i s 1 0 25 20 _null_ _null_ _null_ _null_ _null_ to_hex64 _null_ _null_ _null_ _null_ )
+insert ( 1039 getdatabaseencoding 11 10 12 1 0 0 0 f f f t f s s 0 0 19 '' _null_ _null_ _null_ _null_ _null_ getdatabaseencoding _null_ _null_ _null_ _null_ )
+insert ( 810 pg_client_encoding 11 10 12 1 0 0 0 f f f t f s s 0 0 19 '' _null_ _null_ _null_ _null_ _null_ pg_client_encoding _null_ _null_ _null_ _null_ )
+insert ( 1713 length 11 10 12 1 0 0 0 f f f t f s s 2 0 23 '17 19' _null_ _null_ _null_ _null_ _null_ length_in_encoding _null_ _null_ _null_ _null_ )
+insert ( 1714 convert_from 11 10 12 1 0 0 0 f f f t f s s 2 0 25 '17 19' _null_ _null_ _null_ _null_ _null_ pg_convert_from _null_ _null_ _null_ _null_ )
+insert ( 1717 convert_to 11 10 12 1 0 0 0 f f f t f s s 2 0 17 '25 19' _null_ _null_ _null_ _null_ _null_ pg_convert_to _null_ _null_ _null_ _null_ )
+insert ( 1813 convert 11 10 12 1 0 0 0 f f f t f s s 3 0 17 '17 19 19' _null_ _null_ _null_ _null_ _null_ pg_convert _null_ _null_ _null_ _null_ )
+insert ( 1264 pg_char_to_encoding 11 10 12 1 0 0 0 f f f t f s s 1 0 23 19 _null_ _null_ _null_ _null_ _null_ PG_char_to_encoding _null_ _null_ _null_ _null_ )
+insert ( 1597 pg_encoding_to_char 11 10 12 1 0 0 0 f f f t f s s 1 0 19 23 _null_ _null_ _null_ _null_ _null_ PG_encoding_to_char _null_ _null_ _null_ _null_ )
+insert ( 2319 pg_encoding_max_length 11 10 12 1 0 0 0 f f f t f i s 1 0 23 23 _null_ _null_ _null_ _null_ _null_ pg_encoding_max_length_sql _null_ _null_ _null_ _null_ )
+insert ( 1638 oidgt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '26 26' _null_ _null_ _null_ _null_ _null_ oidgt _null_ _null_ _null_ _null_ )
+insert ( 1639 oidge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '26 26' _null_ _null_ _null_ _null_ _null_ oidge _null_ _null_ _null_ _null_ )
+insert ( 1573 pg_get_ruledef 11 10 12 1 0 0 0 f f f t f s s 1 0 25 26 _null_ _null_ _null_ _null_ _null_ pg_get_ruledef _null_ _null_ _null_ _null_ )
+insert ( 1640 pg_get_viewdef 11 10 12 1 0 0 0 f f f t f s r 1 0 25 25 _null_ _null_ _null_ _null_ _null_ pg_get_viewdef_name _null_ _null_ _null_ _null_ )
+insert ( 1641 pg_get_viewdef 11 10 12 1 0 0 0 f f f t f s r 1 0 25 26 _null_ _null_ _null_ _null_ _null_ pg_get_viewdef _null_ _null_ _null_ _null_ )
+insert ( 1642 pg_get_userbyid 11 10 12 1 0 0 0 f f f t f s s 1 0 19 26 _null_ _null_ _null_ _null_ _null_ pg_get_userbyid _null_ _null_ _null_ _null_ )
+insert ( 1643 pg_get_indexdef 11 10 12 1 0 0 0 f f f t f s s 1 0 25 26 _null_ _null_ _null_ _null_ _null_ pg_get_indexdef _null_ _null_ _null_ _null_ )
+insert ( 3415 pg_get_statisticsobjdef 11 10 12 1 0 0 0 f f f t f s s 1 0 25 26 _null_ _null_ _null_ _null_ _null_ pg_get_statisticsobjdef _null_ _null_ _null_ _null_ )
+insert ( 6174 pg_get_statisticsobjdef_columns 11 10 12 1 0 0 0 f f f t f s s 1 0 25 26 _null_ _null_ _null_ _null_ _null_ pg_get_statisticsobjdef_columns _null_ _null_ _null_ _null_ )
+insert ( 6173 pg_get_statisticsobjdef_expressions 11 10 12 1 0 0 0 f f f t f s s 1 0 1009 26 _null_ _null_ _null_ _null_ _null_ pg_get_statisticsobjdef_expressions _null_ _null_ _null_ _null_ )
+insert ( 3352 pg_get_partkeydef 11 10 12 1 0 0 0 f f f t f s s 1 0 25 26 _null_ _null_ _null_ _null_ _null_ pg_get_partkeydef _null_ _null_ _null_ _null_ )
+insert ( 3408 pg_get_partition_constraintdef 11 10 12 1 0 0 0 f f f t f s s 1 0 25 26 _null_ _null_ _null_ _null_ _null_ pg_get_partition_constraintdef _null_ _null_ _null_ _null_ )
+insert ( 1662 pg_get_triggerdef 11 10 12 1 0 0 0 f f f t f s s 1 0 25 26 _null_ _null_ _null_ _null_ _null_ pg_get_triggerdef _null_ _null_ _null_ _null_ )
+insert ( 1387 pg_get_constraintdef 11 10 12 1 0 0 0 f f f t f s s 1 0 25 26 _null_ _null_ _null_ _null_ _null_ pg_get_constraintdef _null_ _null_ _null_ _null_ )
+insert ( 1716 pg_get_expr 11 10 12 1 0 0 0 f f f t f s s 2 0 25 '194 26' _null_ _null_ _null_ _null_ _null_ pg_get_expr _null_ _null_ _null_ _null_ )
+insert ( 1665 pg_get_serial_sequence 11 10 12 1 0 0 0 f f f t f s s 2 0 25 '25 25' _null_ _null_ _null_ _null_ _null_ pg_get_serial_sequence _null_ _null_ _null_ _null_ )
+insert ( 2098 pg_get_functiondef 11 10 12 1 0 0 0 f f f t f s s 1 0 25 26 _null_ _null_ _null_ _null_ _null_ pg_get_functiondef _null_ _null_ _null_ _null_ )
+insert ( 2162 pg_get_function_arguments 11 10 12 1 0 0 0 f f f t f s s 1 0 25 26 _null_ _null_ _null_ _null_ _null_ pg_get_function_arguments _null_ _null_ _null_ _null_ )
+insert ( 2232 pg_get_function_identity_arguments 11 10 12 1 0 0 0 f f f t f s s 1 0 25 26 _null_ _null_ _null_ _null_ _null_ pg_get_function_identity_arguments _null_ _null_ _null_ _null_ )
+insert ( 2165 pg_get_function_result 11 10 12 1 0 0 0 f f f t f s s 1 0 25 26 _null_ _null_ _null_ _null_ _null_ pg_get_function_result _null_ _null_ _null_ _null_ )
+insert ( 3808 pg_get_function_arg_default 11 10 12 1 0 0 0 f f f t f s s 2 0 25 '26 23' _null_ _null_ _null_ _null_ _null_ pg_get_function_arg_default _null_ _null_ _null_ _null_ )
+insert ( 6197 pg_get_function_sqlbody 11 10 12 1 0 0 0 f f f t f s s 1 0 25 26 _null_ _null_ _null_ _null_ _null_ pg_get_function_sqlbody _null_ _null_ _null_ _null_ )
+insert ( 1686 pg_get_keywords 11 10 12 10 500 0 0 f f f t t s s 0 0 2249 '' '{25,18,16,25,25}' '{o,o,o,o,o}' '{word,catcode,barelabel,catdesc,baredesc}' _null_ _null_ pg_get_keywords _null_ _null_ _null_ _null_ )
+insert ( 6159 pg_get_catalog_foreign_keys 11 10 12 10 250 0 0 f f f t t s s 0 0 2249 '' '{2205,1009,2205,1009,16,16}' '{o,o,o,o,o,o}' '{fktable,fkcols,pktable,pkcols,is_array,is_opt}' _null_ _null_ pg_get_catalog_foreign_keys _null_ _null_ _null_ _null_ )
+insert ( 2289 pg_options_to_table 11 10 12 1 3 0 0 f f f t t s s 1 0 2249 1009 '{1009,25,25}' '{i,o,o}' '{options_array,option_name,option_value}' _null_ _null_ pg_options_to_table _null_ _null_ _null_ _null_ )
+insert ( 1619 pg_typeof 11 10 12 1 0 0 0 f f f f f s s 1 0 2206 2276 _null_ _null_ _null_ _null_ _null_ pg_typeof _null_ _null_ _null_ _null_ )
+insert ( 3162 pg_collation_for 11 10 12 1 0 0 0 f f f f f s s 1 0 25 2276 _null_ _null_ _null_ _null_ _null_ pg_collation_for _null_ _null_ _null_ _null_ )
+insert ( 3842 pg_relation_is_updatable 11 10 12 10 0 0 0 f f f t f s s 2 0 23 '2205 16' _null_ _null_ _null_ _null_ _null_ pg_relation_is_updatable _null_ _null_ _null_ _null_ )
+insert ( 3843 pg_column_is_updatable 11 10 12 10 0 0 0 f f f t f s s 3 0 16 '2205 21 16' _null_ _null_ _null_ _null_ _null_ pg_column_is_updatable _null_ _null_ _null_ _null_ )
+insert ( 6120 pg_get_replica_identity_index 11 10 12 10 0 0 0 f f f t f s s 1 0 2205 2205 _null_ _null_ _null_ _null_ _null_ pg_get_replica_identity_index _null_ _null_ _null_ _null_ )
+insert ( 1250 unique_key_recheck 11 10 12 1 0 0 0 f f f t f v s 0 0 2279 '' _null_ _null_ _null_ _null_ _null_ unique_key_recheck _null_ _null_ _null_ _null_ )
+insert ( 1644 RI_FKey_check_ins 11 10 12 1 0 0 0 f f f t f v s 0 0 2279 '' _null_ _null_ _null_ _null_ _null_ RI_FKey_check_ins _null_ _null_ _null_ _null_ )
+insert ( 1645 RI_FKey_check_upd 11 10 12 1 0 0 0 f f f t f v s 0 0 2279 '' _null_ _null_ _null_ _null_ _null_ RI_FKey_check_upd _null_ _null_ _null_ _null_ )
+insert ( 1646 RI_FKey_cascade_del 11 10 12 1 0 0 0 f f f t f v s 0 0 2279 '' _null_ _null_ _null_ _null_ _null_ RI_FKey_cascade_del _null_ _null_ _null_ _null_ )
+insert ( 1647 RI_FKey_cascade_upd 11 10 12 1 0 0 0 f f f t f v s 0 0 2279 '' _null_ _null_ _null_ _null_ _null_ RI_FKey_cascade_upd _null_ _null_ _null_ _null_ )
+insert ( 1648 RI_FKey_restrict_del 11 10 12 1 0 0 0 f f f t f v s 0 0 2279 '' _null_ _null_ _null_ _null_ _null_ RI_FKey_restrict_del _null_ _null_ _null_ _null_ )
+insert ( 1649 RI_FKey_restrict_upd 11 10 12 1 0 0 0 f f f t f v s 0 0 2279 '' _null_ _null_ _null_ _null_ _null_ RI_FKey_restrict_upd _null_ _null_ _null_ _null_ )
+insert ( 1650 RI_FKey_setnull_del 11 10 12 1 0 0 0 f f f t f v s 0 0 2279 '' _null_ _null_ _null_ _null_ _null_ RI_FKey_setnull_del _null_ _null_ _null_ _null_ )
+insert ( 1651 RI_FKey_setnull_upd 11 10 12 1 0 0 0 f f f t f v s 0 0 2279 '' _null_ _null_ _null_ _null_ _null_ RI_FKey_setnull_upd _null_ _null_ _null_ _null_ )
+insert ( 1652 RI_FKey_setdefault_del 11 10 12 1 0 0 0 f f f t f v s 0 0 2279 '' _null_ _null_ _null_ _null_ _null_ RI_FKey_setdefault_del _null_ _null_ _null_ _null_ )
+insert ( 1653 RI_FKey_setdefault_upd 11 10 12 1 0 0 0 f f f t f v s 0 0 2279 '' _null_ _null_ _null_ _null_ _null_ RI_FKey_setdefault_upd _null_ _null_ _null_ _null_ )
+insert ( 1654 RI_FKey_noaction_del 11 10 12 1 0 0 0 f f f t f v s 0 0 2279 '' _null_ _null_ _null_ _null_ _null_ RI_FKey_noaction_del _null_ _null_ _null_ _null_ )
+insert ( 1655 RI_FKey_noaction_upd 11 10 12 1 0 0 0 f f f t f v s 0 0 2279 '' _null_ _null_ _null_ _null_ _null_ RI_FKey_noaction_upd _null_ _null_ _null_ _null_ )
+insert ( 1666 varbiteq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1562 1562' _null_ _null_ _null_ _null_ _null_ biteq _null_ _null_ _null_ _null_ )
+insert ( 1667 varbitne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1562 1562' _null_ _null_ _null_ _null_ _null_ bitne _null_ _null_ _null_ _null_ )
+insert ( 1668 varbitge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1562 1562' _null_ _null_ _null_ _null_ _null_ bitge _null_ _null_ _null_ _null_ )
+insert ( 1669 varbitgt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1562 1562' _null_ _null_ _null_ _null_ _null_ bitgt _null_ _null_ _null_ _null_ )
+insert ( 1670 varbitle 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1562 1562' _null_ _null_ _null_ _null_ _null_ bitle _null_ _null_ _null_ _null_ )
+insert ( 1671 varbitlt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1562 1562' _null_ _null_ _null_ _null_ _null_ bitlt _null_ _null_ _null_ _null_ )
+insert ( 1672 varbitcmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '1562 1562' _null_ _null_ _null_ _null_ _null_ bitcmp _null_ _null_ _null_ _null_ )
+insert ( 1673 bitand 11 10 12 1 0 0 0 f f f t f i s 2 0 1560 '1560 1560' _null_ _null_ _null_ _null_ _null_ bit_and _null_ _null_ _null_ _null_ )
+insert ( 1674 bitor 11 10 12 1 0 0 0 f f f t f i s 2 0 1560 '1560 1560' _null_ _null_ _null_ _null_ _null_ bit_or _null_ _null_ _null_ _null_ )
+insert ( 1675 bitxor 11 10 12 1 0 0 0 f f f t f i s 2 0 1560 '1560 1560' _null_ _null_ _null_ _null_ _null_ bitxor _null_ _null_ _null_ _null_ )
+insert ( 1676 bitnot 11 10 12 1 0 0 0 f f f t f i s 1 0 1560 1560 _null_ _null_ _null_ _null_ _null_ bitnot _null_ _null_ _null_ _null_ )
+insert ( 1677 bitshiftleft 11 10 12 1 0 0 0 f f f t f i s 2 0 1560 '1560 23' _null_ _null_ _null_ _null_ _null_ bitshiftleft _null_ _null_ _null_ _null_ )
+insert ( 1678 bitshiftright 11 10 12 1 0 0 0 f f f t f i s 2 0 1560 '1560 23' _null_ _null_ _null_ _null_ _null_ bitshiftright _null_ _null_ _null_ _null_ )
+insert ( 1679 bitcat 11 10 12 1 0 0 0 f f f t f i s 2 0 1562 '1562 1562' _null_ _null_ _null_ _null_ _null_ bitcat _null_ _null_ _null_ _null_ )
+insert ( 1680 substring 11 10 12 1 0 0 0 f f f t f i s 3 0 1560 '1560 23 23' _null_ _null_ _null_ _null_ _null_ bitsubstr _null_ _null_ _null_ _null_ )
+insert ( 1681 length 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1560 _null_ _null_ _null_ _null_ _null_ bitlength _null_ _null_ _null_ _null_ )
+insert ( 1682 octet_length 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1560 _null_ _null_ _null_ _null_ _null_ bitoctetlength _null_ _null_ _null_ _null_ )
+insert ( 1683 bit 11 10 12 1 0 0 0 f f f t f i s 2 0 1560 '23 23' _null_ _null_ _null_ _null_ _null_ bitfromint4 _null_ _null_ _null_ _null_ )
+insert ( 1684 int4 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1560 _null_ _null_ _null_ _null_ _null_ bittoint4 _null_ _null_ _null_ _null_ )
+insert ( 1685 bit 11 10 12 1 0 0 0 f f f t f i s 3 0 1560 '1560 23 16' _null_ _null_ _null_ _null_ _null_ bit _null_ _null_ _null_ _null_ )
+insert ( 3158 varbit_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ varbit_support _null_ _null_ _null_ _null_ )
+insert ( 1687 varbit 11 10 12 1 0 0 3158 f f f t f i s 3 0 1562 '1562 23 16' _null_ _null_ _null_ _null_ _null_ varbit _null_ _null_ _null_ _null_ )
+insert ( 1698 position 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '1560 1560' _null_ _null_ _null_ _null_ _null_ bitposition _null_ _null_ _null_ _null_ )
+insert ( 1699 substring 11 10 12 1 0 0 0 f f f t f i s 2 0 1560 '1560 23' _null_ _null_ _null_ _null_ _null_ bitsubstr_no_len _null_ _null_ _null_ _null_ )
+insert ( 3030 overlay 11 10 12 1 0 0 0 f f f t f i s 4 0 1560 '1560 1560 23 23' _null_ _null_ _null_ _null_ _null_ bitoverlay _null_ _null_ _null_ _null_ )
+insert ( 3031 overlay 11 10 12 1 0 0 0 f f f t f i s 3 0 1560 '1560 1560 23' _null_ _null_ _null_ _null_ _null_ bitoverlay_no_len _null_ _null_ _null_ _null_ )
+insert ( 3032 get_bit 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '1560 23' _null_ _null_ _null_ _null_ _null_ bitgetbit _null_ _null_ _null_ _null_ )
+insert ( 3033 set_bit 11 10 12 1 0 0 0 f f f t f i s 3 0 1560 '1560 23 23' _null_ _null_ _null_ _null_ _null_ bitsetbit _null_ _null_ _null_ _null_ )
+insert ( 6162 bit_count 11 10 12 1 0 0 0 f f f t f i s 1 0 20 1560 _null_ _null_ _null_ _null_ _null_ bit_bit_count _null_ _null_ _null_ _null_ )
+insert ( 436 macaddr_in 11 10 12 1 0 0 0 f f f t f i s 1 0 829 2275 _null_ _null_ _null_ _null_ _null_ macaddr_in _null_ _null_ _null_ _null_ )
+insert ( 437 macaddr_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 829 _null_ _null_ _null_ _null_ _null_ macaddr_out _null_ _null_ _null_ _null_ )
+insert ( 753 trunc 11 10 12 1 0 0 0 f f f t f i s 1 0 829 829 _null_ _null_ _null_ _null_ _null_ macaddr_trunc _null_ _null_ _null_ _null_ )
+insert ( 830 macaddr_eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '829 829' _null_ _null_ _null_ _null_ _null_ macaddr_eq _null_ _null_ _null_ _null_ )
+insert ( 831 macaddr_lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '829 829' _null_ _null_ _null_ _null_ _null_ macaddr_lt _null_ _null_ _null_ _null_ )
+insert ( 832 macaddr_le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '829 829' _null_ _null_ _null_ _null_ _null_ macaddr_le _null_ _null_ _null_ _null_ )
+insert ( 833 macaddr_gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '829 829' _null_ _null_ _null_ _null_ _null_ macaddr_gt _null_ _null_ _null_ _null_ )
+insert ( 834 macaddr_ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '829 829' _null_ _null_ _null_ _null_ _null_ macaddr_ge _null_ _null_ _null_ _null_ )
+insert ( 835 macaddr_ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '829 829' _null_ _null_ _null_ _null_ _null_ macaddr_ne _null_ _null_ _null_ _null_ )
+insert ( 836 macaddr_cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '829 829' _null_ _null_ _null_ _null_ _null_ macaddr_cmp _null_ _null_ _null_ _null_ )
+insert ( 3144 macaddr_not 11 10 12 1 0 0 0 f f f t f i s 1 0 829 829 _null_ _null_ _null_ _null_ _null_ macaddr_not _null_ _null_ _null_ _null_ )
+insert ( 3145 macaddr_and 11 10 12 1 0 0 0 f f f t f i s 2 0 829 '829 829' _null_ _null_ _null_ _null_ _null_ macaddr_and _null_ _null_ _null_ _null_ )
+insert ( 3146 macaddr_or 11 10 12 1 0 0 0 f f f t f i s 2 0 829 '829 829' _null_ _null_ _null_ _null_ _null_ macaddr_or _null_ _null_ _null_ _null_ )
+insert ( 3359 macaddr_sortsupport 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ macaddr_sortsupport _null_ _null_ _null_ _null_ )
+insert ( 4110 macaddr8_in 11 10 12 1 0 0 0 f f f t f i s 1 0 774 2275 _null_ _null_ _null_ _null_ _null_ macaddr8_in _null_ _null_ _null_ _null_ )
+insert ( 4111 macaddr8_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 774 _null_ _null_ _null_ _null_ _null_ macaddr8_out _null_ _null_ _null_ _null_ )
+insert ( 4112 trunc 11 10 12 1 0 0 0 f f f t f i s 1 0 774 774 _null_ _null_ _null_ _null_ _null_ macaddr8_trunc _null_ _null_ _null_ _null_ )
+insert ( 4113 macaddr8_eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '774 774' _null_ _null_ _null_ _null_ _null_ macaddr8_eq _null_ _null_ _null_ _null_ )
+insert ( 4114 macaddr8_lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '774 774' _null_ _null_ _null_ _null_ _null_ macaddr8_lt _null_ _null_ _null_ _null_ )
+insert ( 4115 macaddr8_le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '774 774' _null_ _null_ _null_ _null_ _null_ macaddr8_le _null_ _null_ _null_ _null_ )
+insert ( 4116 macaddr8_gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '774 774' _null_ _null_ _null_ _null_ _null_ macaddr8_gt _null_ _null_ _null_ _null_ )
+insert ( 4117 macaddr8_ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '774 774' _null_ _null_ _null_ _null_ _null_ macaddr8_ge _null_ _null_ _null_ _null_ )
+insert ( 4118 macaddr8_ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '774 774' _null_ _null_ _null_ _null_ _null_ macaddr8_ne _null_ _null_ _null_ _null_ )
+insert ( 4119 macaddr8_cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '774 774' _null_ _null_ _null_ _null_ _null_ macaddr8_cmp _null_ _null_ _null_ _null_ )
+insert ( 4120 macaddr8_not 11 10 12 1 0 0 0 f f f t f i s 1 0 774 774 _null_ _null_ _null_ _null_ _null_ macaddr8_not _null_ _null_ _null_ _null_ )
+insert ( 4121 macaddr8_and 11 10 12 1 0 0 0 f f f t f i s 2 0 774 '774 774' _null_ _null_ _null_ _null_ _null_ macaddr8_and _null_ _null_ _null_ _null_ )
+insert ( 4122 macaddr8_or 11 10 12 1 0 0 0 f f f t f i s 2 0 774 '774 774' _null_ _null_ _null_ _null_ _null_ macaddr8_or _null_ _null_ _null_ _null_ )
+insert ( 4123 macaddr8 11 10 12 1 0 0 0 f f t t f i s 1 0 774 829 _null_ _null_ _null_ _null_ _null_ macaddrtomacaddr8 _null_ _null_ _null_ _null_ )
+insert ( 4124 macaddr 11 10 12 1 0 0 0 f f f t f i s 1 0 829 774 _null_ _null_ _null_ _null_ _null_ macaddr8tomacaddr _null_ _null_ _null_ _null_ )
+insert ( 4125 macaddr8_set7bit 11 10 12 1 0 0 0 f f f t f i s 1 0 774 774 _null_ _null_ _null_ _null_ _null_ macaddr8_set7bit _null_ _null_ _null_ _null_ )
+insert ( 910 inet_in 11 10 12 1 0 0 0 f f f t f i s 1 0 869 2275 _null_ _null_ _null_ _null_ _null_ inet_in _null_ _null_ _null_ _null_ )
+insert ( 911 inet_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 869 _null_ _null_ _null_ _null_ _null_ inet_out _null_ _null_ _null_ _null_ )
+insert ( 1267 cidr_in 11 10 12 1 0 0 0 f f f t f i s 1 0 650 2275 _null_ _null_ _null_ _null_ _null_ cidr_in _null_ _null_ _null_ _null_ )
+insert ( 1427 cidr_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 650 _null_ _null_ _null_ _null_ _null_ cidr_out _null_ _null_ _null_ _null_ )
+insert ( 920 network_eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '869 869' _null_ _null_ _null_ _null_ _null_ network_eq _null_ _null_ _null_ _null_ )
+insert ( 921 network_lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '869 869' _null_ _null_ _null_ _null_ _null_ network_lt _null_ _null_ _null_ _null_ )
+insert ( 922 network_le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '869 869' _null_ _null_ _null_ _null_ _null_ network_le _null_ _null_ _null_ _null_ )
+insert ( 923 network_gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '869 869' _null_ _null_ _null_ _null_ _null_ network_gt _null_ _null_ _null_ _null_ )
+insert ( 924 network_ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '869 869' _null_ _null_ _null_ _null_ _null_ network_ge _null_ _null_ _null_ _null_ )
+insert ( 925 network_ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '869 869' _null_ _null_ _null_ _null_ _null_ network_ne _null_ _null_ _null_ _null_ )
+insert ( 3562 network_larger 11 10 12 1 0 0 0 f f f t f i s 2 0 869 '869 869' _null_ _null_ _null_ _null_ _null_ network_larger _null_ _null_ _null_ _null_ )
+insert ( 3563 network_smaller 11 10 12 1 0 0 0 f f f t f i s 2 0 869 '869 869' _null_ _null_ _null_ _null_ _null_ network_smaller _null_ _null_ _null_ _null_ )
+insert ( 926 network_cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '869 869' _null_ _null_ _null_ _null_ _null_ network_cmp _null_ _null_ _null_ _null_ )
+insert ( 927 network_sub 11 10 12 1 0 0 1173 f f f t f i s 2 0 16 '869 869' _null_ _null_ _null_ _null_ _null_ network_sub _null_ _null_ _null_ _null_ )
+insert ( 928 network_subeq 11 10 12 1 0 0 1173 f f f t f i s 2 0 16 '869 869' _null_ _null_ _null_ _null_ _null_ network_subeq _null_ _null_ _null_ _null_ )
+insert ( 929 network_sup 11 10 12 1 0 0 1173 f f f t f i s 2 0 16 '869 869' _null_ _null_ _null_ _null_ _null_ network_sup _null_ _null_ _null_ _null_ )
+insert ( 930 network_supeq 11 10 12 1 0 0 1173 f f f t f i s 2 0 16 '869 869' _null_ _null_ _null_ _null_ _null_ network_supeq _null_ _null_ _null_ _null_ )
+insert ( 1173 network_subset_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ network_subset_support _null_ _null_ _null_ _null_ )
+insert ( 3551 network_overlap 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '869 869' _null_ _null_ _null_ _null_ _null_ network_overlap _null_ _null_ _null_ _null_ )
+insert ( 5033 network_sortsupport 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ network_sortsupport _null_ _null_ _null_ _null_ )
+insert ( 598 abbrev 11 10 12 1 0 0 0 f f f t f i s 1 0 25 869 _null_ _null_ _null_ _null_ _null_ inet_abbrev _null_ _null_ _null_ _null_ )
+insert ( 599 abbrev 11 10 12 1 0 0 0 f f f t f i s 1 0 25 650 _null_ _null_ _null_ _null_ _null_ cidr_abbrev _null_ _null_ _null_ _null_ )
+insert ( 605 set_masklen 11 10 12 1 0 0 0 f f f t f i s 2 0 869 '869 23' _null_ _null_ _null_ _null_ _null_ inet_set_masklen _null_ _null_ _null_ _null_ )
+insert ( 635 set_masklen 11 10 12 1 0 0 0 f f f t f i s 2 0 650 '650 23' _null_ _null_ _null_ _null_ _null_ cidr_set_masklen _null_ _null_ _null_ _null_ )
+insert ( 711 family 11 10 12 1 0 0 0 f f f t f i s 1 0 23 869 _null_ _null_ _null_ _null_ _null_ network_family _null_ _null_ _null_ _null_ )
+insert ( 683 network 11 10 12 1 0 0 0 f f f t f i s 1 0 650 869 _null_ _null_ _null_ _null_ _null_ network_network _null_ _null_ _null_ _null_ )
+insert ( 696 netmask 11 10 12 1 0 0 0 f f f t f i s 1 0 869 869 _null_ _null_ _null_ _null_ _null_ network_netmask _null_ _null_ _null_ _null_ )
+insert ( 697 masklen 11 10 12 1 0 0 0 f f f t f i s 1 0 23 869 _null_ _null_ _null_ _null_ _null_ network_masklen _null_ _null_ _null_ _null_ )
+insert ( 698 broadcast 11 10 12 1 0 0 0 f f f t f i s 1 0 869 869 _null_ _null_ _null_ _null_ _null_ network_broadcast _null_ _null_ _null_ _null_ )
+insert ( 699 host 11 10 12 1 0 0 0 f f f t f i s 1 0 25 869 _null_ _null_ _null_ _null_ _null_ network_host _null_ _null_ _null_ _null_ )
+insert ( 730 text 11 10 12 1 0 0 0 f f f t f i s 1 0 25 869 _null_ _null_ _null_ _null_ _null_ network_show _null_ _null_ _null_ _null_ )
+insert ( 1362 hostmask 11 10 12 1 0 0 0 f f f t f i s 1 0 869 869 _null_ _null_ _null_ _null_ _null_ network_hostmask _null_ _null_ _null_ _null_ )
+insert ( 1715 cidr 11 10 12 1 0 0 0 f f f t f i s 1 0 650 869 _null_ _null_ _null_ _null_ _null_ inet_to_cidr _null_ _null_ _null_ _null_ )
+insert ( 2196 inet_client_addr 11 10 12 1 0 0 0 f f f f f s r 0 0 869 '' _null_ _null_ _null_ _null_ _null_ inet_client_addr _null_ _null_ _null_ _null_ )
+insert ( 2197 inet_client_port 11 10 12 1 0 0 0 f f f f f s r 0 0 23 '' _null_ _null_ _null_ _null_ _null_ inet_client_port _null_ _null_ _null_ _null_ )
+insert ( 2198 inet_server_addr 11 10 12 1 0 0 0 f f f f f s r 0 0 869 '' _null_ _null_ _null_ _null_ _null_ inet_server_addr _null_ _null_ _null_ _null_ )
+insert ( 2199 inet_server_port 11 10 12 1 0 0 0 f f f f f s r 0 0 23 '' _null_ _null_ _null_ _null_ _null_ inet_server_port _null_ _null_ _null_ _null_ )
+insert ( 2627 inetnot 11 10 12 1 0 0 0 f f f t f i s 1 0 869 869 _null_ _null_ _null_ _null_ _null_ inetnot _null_ _null_ _null_ _null_ )
+insert ( 2628 inetand 11 10 12 1 0 0 0 f f f t f i s 2 0 869 '869 869' _null_ _null_ _null_ _null_ _null_ inetand _null_ _null_ _null_ _null_ )
+insert ( 2629 inetor 11 10 12 1 0 0 0 f f f t f i s 2 0 869 '869 869' _null_ _null_ _null_ _null_ _null_ inetor _null_ _null_ _null_ _null_ )
+insert ( 2630 inetpl 11 10 12 1 0 0 0 f f f t f i s 2 0 869 '869 20' _null_ _null_ _null_ _null_ _null_ inetpl _null_ _null_ _null_ _null_ )
+insert ( 2631 int8pl_inet 11 10 14 1 0 0 0 f f f t f i s 2 0 869 '20 869' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 2632 inetmi_int8 11 10 12 1 0 0 0 f f f t f i s 2 0 869 '869 20' _null_ _null_ _null_ _null_ _null_ inetmi_int8 _null_ _null_ _null_ _null_ )
+insert ( 2633 inetmi 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '869 869' _null_ _null_ _null_ _null_ _null_ inetmi _null_ _null_ _null_ _null_ )
+insert ( 4071 inet_same_family 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '869 869' _null_ _null_ _null_ _null_ _null_ inet_same_family _null_ _null_ _null_ _null_ )
+insert ( 4063 inet_merge 11 10 12 1 0 0 0 f f f t f i s 2 0 650 '869 869' _null_ _null_ _null_ _null_ _null_ inet_merge _null_ _null_ _null_ _null_ )
+insert ( 3553 inet_gist_consistent 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '2281 869 21 26 2281' _null_ _null_ _null_ _null_ _null_ inet_gist_consistent _null_ _null_ _null_ _null_ )
+insert ( 3554 inet_gist_union 11 10 12 1 0 0 0 f f f t f i s 2 0 869 '2281 2281' _null_ _null_ _null_ _null_ _null_ inet_gist_union _null_ _null_ _null_ _null_ )
+insert ( 3555 inet_gist_compress 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ inet_gist_compress _null_ _null_ _null_ _null_ )
+insert ( 3573 inet_gist_fetch 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ inet_gist_fetch _null_ _null_ _null_ _null_ )
+insert ( 3557 inet_gist_penalty 11 10 12 1 0 0 0 f f f t f i s 3 0 2281 '2281 2281 2281' _null_ _null_ _null_ _null_ _null_ inet_gist_penalty _null_ _null_ _null_ _null_ )
+insert ( 3558 inet_gist_picksplit 11 10 12 1 0 0 0 f f f t f i s 2 0 2281 '2281 2281' _null_ _null_ _null_ _null_ _null_ inet_gist_picksplit _null_ _null_ _null_ _null_ )
+insert ( 3559 inet_gist_same 11 10 12 1 0 0 0 f f f t f i s 3 0 2281 '869 869 2281' _null_ _null_ _null_ _null_ _null_ inet_gist_same _null_ _null_ _null_ _null_ )
+insert ( 3795 inet_spg_config 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ inet_spg_config _null_ _null_ _null_ _null_ )
+insert ( 3796 inet_spg_choose 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ inet_spg_choose _null_ _null_ _null_ _null_ )
+insert ( 3797 inet_spg_picksplit 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ inet_spg_picksplit _null_ _null_ _null_ _null_ )
+insert ( 3798 inet_spg_inner_consistent 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ inet_spg_inner_consistent _null_ _null_ _null_ _null_ )
+insert ( 3799 inet_spg_leaf_consistent 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2281 2281' _null_ _null_ _null_ _null_ _null_ inet_spg_leaf_consistent _null_ _null_ _null_ _null_ )
+insert ( 3560 networksel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ networksel _null_ _null_ _null_ _null_ )
+insert ( 3561 networkjoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ networkjoinsel _null_ _null_ _null_ _null_ )
+insert ( 1690 time_mi_time 11 10 12 1 0 0 0 f f f t f i s 2 0 1186 '1083 1083' _null_ _null_ _null_ _null_ _null_ time_mi_time _null_ _null_ _null_ _null_ )
+insert ( 1691 boolle 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '16 16' _null_ _null_ _null_ _null_ _null_ boolle _null_ _null_ _null_ _null_ )
+insert ( 1692 boolge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '16 16' _null_ _null_ _null_ _null_ _null_ boolge _null_ _null_ _null_ _null_ )
+insert ( 1693 btboolcmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '16 16' _null_ _null_ _null_ _null_ _null_ btboolcmp _null_ _null_ _null_ _null_ )
+insert ( 1688 time_hash 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1083 _null_ _null_ _null_ _null_ _null_ time_hash _null_ _null_ _null_ _null_ )
+insert ( 3409 time_hash_extended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '1083 20' _null_ _null_ _null_ _null_ _null_ time_hash_extended _null_ _null_ _null_ _null_ )
+insert ( 1696 timetz_hash 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1266 _null_ _null_ _null_ _null_ _null_ timetz_hash _null_ _null_ _null_ _null_ )
+insert ( 3410 timetz_hash_extended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '1266 20' _null_ _null_ _null_ _null_ _null_ timetz_hash_extended _null_ _null_ _null_ _null_ )
+insert ( 1697 interval_hash 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1186 _null_ _null_ _null_ _null_ _null_ interval_hash _null_ _null_ _null_ _null_ )
+insert ( 3418 interval_hash_extended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '1186 20' _null_ _null_ _null_ _null_ _null_ interval_hash_extended _null_ _null_ _null_ _null_ )
+insert ( 1701 numeric_in 11 10 12 1 0 0 0 f f f t f i s 3 0 1700 '2275 26 23' _null_ _null_ _null_ _null_ _null_ numeric_in _null_ _null_ _null_ _null_ )
+insert ( 1702 numeric_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 1700 _null_ _null_ _null_ _null_ _null_ numeric_out _null_ _null_ _null_ _null_ )
+insert ( 2917 numerictypmodin 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1263 _null_ _null_ _null_ _null_ _null_ numerictypmodin _null_ _null_ _null_ _null_ )
+insert ( 2918 numerictypmodout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 23 _null_ _null_ _null_ _null_ _null_ numerictypmodout _null_ _null_ _null_ _null_ )
+insert ( 3157 numeric_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ numeric_support _null_ _null_ _null_ _null_ )
+insert ( 1703 numeric 11 10 12 1 0 0 3157 f f f t f i s 2 0 1700 '1700 23' _null_ _null_ _null_ _null_ _null_ numeric _null_ _null_ _null_ _null_ )
+insert ( 1704 numeric_abs 11 10 12 1 0 0 0 f f f t f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ numeric_abs _null_ _null_ _null_ _null_ )
+insert ( 1705 abs 11 10 12 1 0 0 0 f f f t f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ numeric_abs _null_ _null_ _null_ _null_ )
+insert ( 1706 sign 11 10 12 1 0 0 0 f f f t f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ numeric_sign _null_ _null_ _null_ _null_ )
+insert ( 1707 round 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '1700 23' _null_ _null_ _null_ _null_ _null_ numeric_round _null_ _null_ _null_ _null_ )
+insert ( 1708 round 11 10 14 1 0 0 0 f f f t f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1709 trunc 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '1700 23' _null_ _null_ _null_ _null_ _null_ numeric_trunc _null_ _null_ _null_ _null_ )
+insert ( 1710 trunc 11 10 14 1 0 0 0 f f f t f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1711 ceil 11 10 12 1 0 0 0 f f f t f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ numeric_ceil _null_ _null_ _null_ _null_ )
+insert ( 2167 ceiling 11 10 12 1 0 0 0 f f f t f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ numeric_ceil _null_ _null_ _null_ _null_ )
+insert ( 1712 floor 11 10 12 1 0 0 0 f f f t f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ numeric_floor _null_ _null_ _null_ _null_ )
+insert ( 1718 numeric_eq 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_eq _null_ _null_ _null_ _null_ )
+insert ( 1719 numeric_ne 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_ne _null_ _null_ _null_ _null_ )
+insert ( 1720 numeric_gt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_gt _null_ _null_ _null_ _null_ )
+insert ( 1721 numeric_ge 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_ge _null_ _null_ _null_ _null_ )
+insert ( 1722 numeric_lt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_lt _null_ _null_ _null_ _null_ )
+insert ( 1723 numeric_le 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_le _null_ _null_ _null_ _null_ )
+insert ( 1724 numeric_add 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_add _null_ _null_ _null_ _null_ )
+insert ( 1725 numeric_sub 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_sub _null_ _null_ _null_ _null_ )
+insert ( 1726 numeric_mul 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_mul _null_ _null_ _null_ _null_ )
+insert ( 1727 numeric_div 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_div _null_ _null_ _null_ _null_ )
+insert ( 1728 mod 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_mod _null_ _null_ _null_ _null_ )
+insert ( 1729 numeric_mod 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_mod _null_ _null_ _null_ _null_ )
+insert ( 5048 gcd 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_gcd _null_ _null_ _null_ _null_ )
+insert ( 5049 lcm 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_lcm _null_ _null_ _null_ _null_ )
+insert ( 1730 sqrt 11 10 12 1 0 0 0 f f f t f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ numeric_sqrt _null_ _null_ _null_ _null_ )
+insert ( 1731 numeric_sqrt 11 10 12 1 0 0 0 f f f t f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ numeric_sqrt _null_ _null_ _null_ _null_ )
+insert ( 1732 exp 11 10 12 1 0 0 0 f f f t f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ numeric_exp _null_ _null_ _null_ _null_ )
+insert ( 1733 numeric_exp 11 10 12 1 0 0 0 f f f t f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ numeric_exp _null_ _null_ _null_ _null_ )
+insert ( 1734 ln 11 10 12 1 0 0 0 f f f t f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ numeric_ln _null_ _null_ _null_ _null_ )
+insert ( 1735 numeric_ln 11 10 12 1 0 0 0 f f f t f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ numeric_ln _null_ _null_ _null_ _null_ )
+insert ( 1736 log 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_log _null_ _null_ _null_ _null_ )
+insert ( 1737 numeric_log 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_log _null_ _null_ _null_ _null_ )
+insert ( 1738 pow 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_power _null_ _null_ _null_ _null_ )
+insert ( 2169 power 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_power _null_ _null_ _null_ _null_ )
+insert ( 1739 numeric_power 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_power _null_ _null_ _null_ _null_ )
+insert ( 3281 scale 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1700 _null_ _null_ _null_ _null_ _null_ numeric_scale _null_ _null_ _null_ _null_ )
+insert ( 5042 min_scale 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1700 _null_ _null_ _null_ _null_ _null_ numeric_min_scale _null_ _null_ _null_ _null_ )
+insert ( 5043 trim_scale 11 10 12 1 0 0 0 f f f t f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ numeric_trim_scale _null_ _null_ _null_ _null_ )
+insert ( 1740 numeric 11 10 12 1 0 0 0 f f t t f i s 1 0 1700 23 _null_ _null_ _null_ _null_ _null_ int4_numeric _null_ _null_ _null_ _null_ )
+insert ( 1741 log 11 10 14 1 0 0 0 f f f t f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1481 log10 11 10 14 1 0 0 0 f f f t f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1742 numeric 11 10 12 1 0 0 0 f f t t f i s 1 0 1700 700 _null_ _null_ _null_ _null_ _null_ float4_numeric _null_ _null_ _null_ _null_ )
+insert ( 1743 numeric 11 10 12 1 0 0 0 f f t t f i s 1 0 1700 701 _null_ _null_ _null_ _null_ _null_ float8_numeric _null_ _null_ _null_ _null_ )
+insert ( 1744 int4 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1700 _null_ _null_ _null_ _null_ _null_ numeric_int4 _null_ _null_ _null_ _null_ )
+insert ( 1745 float4 11 10 12 1 0 0 0 f f f t f i s 1 0 700 1700 _null_ _null_ _null_ _null_ _null_ numeric_float4 _null_ _null_ _null_ _null_ )
+insert ( 1746 float8 11 10 12 1 0 0 0 f f f t f i s 1 0 701 1700 _null_ _null_ _null_ _null_ _null_ numeric_float8 _null_ _null_ _null_ _null_ )
+insert ( 1973 div 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_div_trunc _null_ _null_ _null_ _null_ )
+insert ( 1980 numeric_div_trunc 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_div_trunc _null_ _null_ _null_ _null_ )
+insert ( 2170 width_bucket 11 10 12 1 0 0 0 f f f t f i s 4 0 23 '1700 1700 1700 23' _null_ _null_ _null_ _null_ _null_ width_bucket_numeric _null_ _null_ _null_ _null_ )
+insert ( 1747 time_pl_interval 11 10 12 1 0 0 0 f f f t f i s 2 0 1083 '1083 1186' _null_ _null_ _null_ _null_ _null_ time_pl_interval _null_ _null_ _null_ _null_ )
+insert ( 1748 time_mi_interval 11 10 12 1 0 0 0 f f f t f i s 2 0 1083 '1083 1186' _null_ _null_ _null_ _null_ _null_ time_mi_interval _null_ _null_ _null_ _null_ )
+insert ( 1749 timetz_pl_interval 11 10 12 1 0 0 0 f f f t f i s 2 0 1266 '1266 1186' _null_ _null_ _null_ _null_ _null_ timetz_pl_interval _null_ _null_ _null_ _null_ )
+insert ( 1750 timetz_mi_interval 11 10 12 1 0 0 0 f f f t f i s 2 0 1266 '1266 1186' _null_ _null_ _null_ _null_ _null_ timetz_mi_interval _null_ _null_ _null_ _null_ )
+insert ( 1764 numeric_inc 11 10 12 1 0 0 0 f f f t f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ numeric_inc _null_ _null_ _null_ _null_ )
+insert ( 1766 numeric_smaller 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_smaller _null_ _null_ _null_ _null_ )
+insert ( 1767 numeric_larger 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_larger _null_ _null_ _null_ _null_ )
+insert ( 1769 numeric_cmp 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '1700 1700' _null_ _null_ _null_ _null_ _null_ numeric_cmp _null_ _null_ _null_ _null_ )
+insert ( 3283 numeric_sortsupport 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ numeric_sortsupport _null_ _null_ _null_ _null_ )
+insert ( 1771 numeric_uminus 11 10 12 1 0 0 0 f f f t f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ numeric_uminus _null_ _null_ _null_ _null_ )
+insert ( 1779 int8 11 10 12 1 0 0 0 f f f t f i s 1 0 20 1700 _null_ _null_ _null_ _null_ _null_ numeric_int8 _null_ _null_ _null_ _null_ )
+insert ( 1781 numeric 11 10 12 1 0 0 0 f f t t f i s 1 0 1700 20 _null_ _null_ _null_ _null_ _null_ int8_numeric _null_ _null_ _null_ _null_ )
+insert ( 1782 numeric 11 10 12 1 0 0 0 f f t t f i s 1 0 1700 21 _null_ _null_ _null_ _null_ _null_ int2_numeric _null_ _null_ _null_ _null_ )
+insert ( 1783 int2 11 10 12 1 0 0 0 f f f t f i s 1 0 21 1700 _null_ _null_ _null_ _null_ _null_ numeric_int2 _null_ _null_ _null_ _null_ )
+insert ( 6103 pg_lsn 11 10 12 1 0 0 0 f f f t f i s 1 0 3220 1700 _null_ _null_ _null_ _null_ _null_ numeric_pg_lsn _null_ _null_ _null_ _null_ )
+insert ( 3556 bool 11 10 12 1 0 0 0 f f f t f i s 1 0 16 3802 _null_ _null_ _null_ _null_ _null_ jsonb_bool _null_ _null_ _null_ _null_ )
+insert ( 3449 numeric 11 10 12 1 0 0 0 f f f t f i s 1 0 1700 3802 _null_ _null_ _null_ _null_ _null_ jsonb_numeric _null_ _null_ _null_ _null_ )
+insert ( 3450 int2 11 10 12 1 0 0 0 f f f t f i s 1 0 21 3802 _null_ _null_ _null_ _null_ _null_ jsonb_int2 _null_ _null_ _null_ _null_ )
+insert ( 3451 int4 11 10 12 1 0 0 0 f f f t f i s 1 0 23 3802 _null_ _null_ _null_ _null_ _null_ jsonb_int4 _null_ _null_ _null_ _null_ )
+insert ( 3452 int8 11 10 12 1 0 0 0 f f f t f i s 1 0 20 3802 _null_ _null_ _null_ _null_ _null_ jsonb_int8 _null_ _null_ _null_ _null_ )
+insert ( 3453 float4 11 10 12 1 0 0 0 f f f t f i s 1 0 700 3802 _null_ _null_ _null_ _null_ _null_ jsonb_float4 _null_ _null_ _null_ _null_ )
+insert ( 2580 float8 11 10 12 1 0 0 0 f f f t f i s 1 0 701 3802 _null_ _null_ _null_ _null_ _null_ jsonb_float8 _null_ _null_ _null_ _null_ )
+insert ( 1770 to_char 11 10 12 1 0 0 0 f f f t f s s 2 0 25 '1184 25' _null_ _null_ _null_ _null_ _null_ timestamptz_to_char _null_ _null_ _null_ _null_ )
+insert ( 1772 to_char 11 10 12 1 0 0 0 f f f t f s s 2 0 25 '1700 25' _null_ _null_ _null_ _null_ _null_ numeric_to_char _null_ _null_ _null_ _null_ )
+insert ( 1773 to_char 11 10 12 1 0 0 0 f f f t f s s 2 0 25 '23 25' _null_ _null_ _null_ _null_ _null_ int4_to_char _null_ _null_ _null_ _null_ )
+insert ( 1774 to_char 11 10 12 1 0 0 0 f f f t f s s 2 0 25 '20 25' _null_ _null_ _null_ _null_ _null_ int8_to_char _null_ _null_ _null_ _null_ )
+insert ( 1775 to_char 11 10 12 1 0 0 0 f f f t f s s 2 0 25 '700 25' _null_ _null_ _null_ _null_ _null_ float4_to_char _null_ _null_ _null_ _null_ )
+insert ( 1776 to_char 11 10 12 1 0 0 0 f f f t f s s 2 0 25 '701 25' _null_ _null_ _null_ _null_ _null_ float8_to_char _null_ _null_ _null_ _null_ )
+insert ( 1777 to_number 11 10 12 1 0 0 0 f f f t f s s 2 0 1700 '25 25' _null_ _null_ _null_ _null_ _null_ numeric_to_number _null_ _null_ _null_ _null_ )
+insert ( 1778 to_timestamp 11 10 12 1 0 0 0 f f f t f s s 2 0 1184 '25 25' _null_ _null_ _null_ _null_ _null_ to_timestamp _null_ _null_ _null_ _null_ )
+insert ( 1780 to_date 11 10 12 1 0 0 0 f f f t f s s 2 0 1082 '25 25' _null_ _null_ _null_ _null_ _null_ to_date _null_ _null_ _null_ _null_ )
+insert ( 1768 to_char 11 10 12 1 0 0 0 f f f t f s s 2 0 25 '1186 25' _null_ _null_ _null_ _null_ _null_ interval_to_char _null_ _null_ _null_ _null_ )
+insert ( 1282 quote_ident 11 10 12 1 0 0 0 f f f t f i s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ quote_ident _null_ _null_ _null_ _null_ )
+insert ( 1283 quote_literal 11 10 12 1 0 0 0 f f f t f i s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ quote_literal _null_ _null_ _null_ _null_ )
+insert ( 1285 quote_literal 11 10 14 1 0 0 0 f f f t f s s 1 0 25 2283 _null_ _null_ _null_ _null_ _null_ 'select pg_catalog.quote_literal($1::pg_catalog.text)' _null_ _null_ _null_ _null_ )
+insert ( 1289 quote_nullable 11 10 12 1 0 0 0 f f f f f i s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ quote_nullable _null_ _null_ _null_ _null_ )
+insert ( 1290 quote_nullable 11 10 14 1 0 0 0 f f f f f s s 1 0 25 2283 _null_ _null_ _null_ _null_ _null_ 'select pg_catalog.quote_nullable($1::pg_catalog.text)' _null_ _null_ _null_ _null_ )
+insert ( 1798 oidin 11 10 12 1 0 0 0 f f f t f i s 1 0 26 2275 _null_ _null_ _null_ _null_ _null_ oidin _null_ _null_ _null_ _null_ )
+insert ( 1799 oidout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 26 _null_ _null_ _null_ _null_ _null_ oidout _null_ _null_ _null_ _null_ )
+insert ( 3058 concat 11 10 12 1 0 2276 0 f f f f f s s 1 0 25 2276 '{2276}' '{v}' _null_ _null_ _null_ text_concat _null_ _null_ _null_ _null_ )
+insert ( 3059 concat_ws 11 10 12 1 0 2276 0 f f f f f s s 2 0 25 '25 2276' '{25,2276}' '{i,v}' _null_ _null_ _null_ text_concat_ws _null_ _null_ _null_ _null_ )
+insert ( 3060 left 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '25 23' _null_ _null_ _null_ _null_ _null_ text_left _null_ _null_ _null_ _null_ )
+insert ( 3061 right 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '25 23' _null_ _null_ _null_ _null_ _null_ text_right _null_ _null_ _null_ _null_ )
+insert ( 3062 reverse 11 10 12 1 0 0 0 f f f t f i s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ text_reverse _null_ _null_ _null_ _null_ )
+insert ( 3539 format 11 10 12 1 0 2276 0 f f f f f s s 2 0 25 '25 2276' '{25,2276}' '{i,v}' _null_ _null_ _null_ text_format _null_ _null_ _null_ _null_ )
+insert ( 3540 format 11 10 12 1 0 0 0 f f f f f s s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ text_format_nv _null_ _null_ _null_ _null_ )
+insert ( 1810 bit_length 11 10 14 1 0 0 0 f f f t f i s 1 0 23 17 _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1811 bit_length 11 10 14 1 0 0 0 f f f t f i s 1 0 23 25 _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1812 bit_length 11 10 14 1 0 0 0 f f f t f i s 1 0 23 1560 _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1814 iclikesel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ iclikesel _null_ _null_ _null_ _null_ )
+insert ( 1815 icnlikesel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ icnlikesel _null_ _null_ _null_ _null_ )
+insert ( 1816 iclikejoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ iclikejoinsel _null_ _null_ _null_ _null_ )
+insert ( 1817 icnlikejoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ icnlikejoinsel _null_ _null_ _null_ _null_ )
+insert ( 1818 regexeqsel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ regexeqsel _null_ _null_ _null_ _null_ )
+insert ( 1819 likesel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ likesel _null_ _null_ _null_ _null_ )
+insert ( 1820 icregexeqsel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ icregexeqsel _null_ _null_ _null_ _null_ )
+insert ( 1821 regexnesel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ regexnesel _null_ _null_ _null_ _null_ )
+insert ( 1822 nlikesel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ nlikesel _null_ _null_ _null_ _null_ )
+insert ( 1823 icregexnesel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ icregexnesel _null_ _null_ _null_ _null_ )
+insert ( 1824 regexeqjoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ regexeqjoinsel _null_ _null_ _null_ _null_ )
+insert ( 1825 likejoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ likejoinsel _null_ _null_ _null_ _null_ )
+insert ( 1826 icregexeqjoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ icregexeqjoinsel _null_ _null_ _null_ _null_ )
+insert ( 1827 regexnejoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ regexnejoinsel _null_ _null_ _null_ _null_ )
+insert ( 1828 nlikejoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ nlikejoinsel _null_ _null_ _null_ _null_ )
+insert ( 1829 icregexnejoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ icregexnejoinsel _null_ _null_ _null_ _null_ )
+insert ( 3437 prefixsel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ prefixsel _null_ _null_ _null_ _null_ )
+insert ( 3438 prefixjoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ prefixjoinsel _null_ _null_ _null_ _null_ )
+insert ( 1830 float8_avg 11 10 12 1 0 0 0 f f f t f i s 1 0 701 1022 _null_ _null_ _null_ _null_ _null_ float8_avg _null_ _null_ _null_ _null_ )
+insert ( 2512 float8_var_pop 11 10 12 1 0 0 0 f f f t f i s 1 0 701 1022 _null_ _null_ _null_ _null_ _null_ float8_var_pop _null_ _null_ _null_ _null_ )
+insert ( 1831 float8_var_samp 11 10 12 1 0 0 0 f f f t f i s 1 0 701 1022 _null_ _null_ _null_ _null_ _null_ float8_var_samp _null_ _null_ _null_ _null_ )
+insert ( 2513 float8_stddev_pop 11 10 12 1 0 0 0 f f f t f i s 1 0 701 1022 _null_ _null_ _null_ _null_ _null_ float8_stddev_pop _null_ _null_ _null_ _null_ )
+insert ( 1832 float8_stddev_samp 11 10 12 1 0 0 0 f f f t f i s 1 0 701 1022 _null_ _null_ _null_ _null_ _null_ float8_stddev_samp _null_ _null_ _null_ _null_ )
+insert ( 1833 numeric_accum 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 1700' _null_ _null_ _null_ _null_ _null_ numeric_accum _null_ _null_ _null_ _null_ )
+insert ( 3341 numeric_combine 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 2281' _null_ _null_ _null_ _null_ _null_ numeric_combine _null_ _null_ _null_ _null_ )
+insert ( 2858 numeric_avg_accum 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 1700' _null_ _null_ _null_ _null_ _null_ numeric_avg_accum _null_ _null_ _null_ _null_ )
+insert ( 3337 numeric_avg_combine 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 2281' _null_ _null_ _null_ _null_ _null_ numeric_avg_combine _null_ _null_ _null_ _null_ )
+insert ( 2740 numeric_avg_serialize 11 10 12 1 0 0 0 f f f t f i s 1 0 17 2281 _null_ _null_ _null_ _null_ _null_ numeric_avg_serialize _null_ _null_ _null_ _null_ )
+insert ( 2741 numeric_avg_deserialize 11 10 12 1 0 0 0 f f f t f i s 2 0 2281 '17 2281' _null_ _null_ _null_ _null_ _null_ numeric_avg_deserialize _null_ _null_ _null_ _null_ )
+insert ( 3335 numeric_serialize 11 10 12 1 0 0 0 f f f t f i s 1 0 17 2281 _null_ _null_ _null_ _null_ _null_ numeric_serialize _null_ _null_ _null_ _null_ )
+insert ( 3336 numeric_deserialize 11 10 12 1 0 0 0 f f f t f i s 2 0 2281 '17 2281' _null_ _null_ _null_ _null_ _null_ numeric_deserialize _null_ _null_ _null_ _null_ )
+insert ( 3548 numeric_accum_inv 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 1700' _null_ _null_ _null_ _null_ _null_ numeric_accum_inv _null_ _null_ _null_ _null_ )
+insert ( 1834 int2_accum 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 21' _null_ _null_ _null_ _null_ _null_ int2_accum _null_ _null_ _null_ _null_ )
+insert ( 1835 int4_accum 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 23' _null_ _null_ _null_ _null_ _null_ int4_accum _null_ _null_ _null_ _null_ )
+insert ( 1836 int8_accum 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 20' _null_ _null_ _null_ _null_ _null_ int8_accum _null_ _null_ _null_ _null_ )
+insert ( 3338 numeric_poly_combine 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 2281' _null_ _null_ _null_ _null_ _null_ numeric_poly_combine _null_ _null_ _null_ _null_ )
+insert ( 3339 numeric_poly_serialize 11 10 12 1 0 0 0 f f f t f i s 1 0 17 2281 _null_ _null_ _null_ _null_ _null_ numeric_poly_serialize _null_ _null_ _null_ _null_ )
+insert ( 3340 numeric_poly_deserialize 11 10 12 1 0 0 0 f f f t f i s 2 0 2281 '17 2281' _null_ _null_ _null_ _null_ _null_ numeric_poly_deserialize _null_ _null_ _null_ _null_ )
+insert ( 2746 int8_avg_accum 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 20' _null_ _null_ _null_ _null_ _null_ int8_avg_accum _null_ _null_ _null_ _null_ )
+insert ( 3567 int2_accum_inv 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 21' _null_ _null_ _null_ _null_ _null_ int2_accum_inv _null_ _null_ _null_ _null_ )
+insert ( 3568 int4_accum_inv 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 23' _null_ _null_ _null_ _null_ _null_ int4_accum_inv _null_ _null_ _null_ _null_ )
+insert ( 3569 int8_accum_inv 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 20' _null_ _null_ _null_ _null_ _null_ int8_accum_inv _null_ _null_ _null_ _null_ )
+insert ( 3387 int8_avg_accum_inv 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 20' _null_ _null_ _null_ _null_ _null_ int8_avg_accum_inv _null_ _null_ _null_ _null_ )
+insert ( 2785 int8_avg_combine 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 2281' _null_ _null_ _null_ _null_ _null_ int8_avg_combine _null_ _null_ _null_ _null_ )
+insert ( 2786 int8_avg_serialize 11 10 12 1 0 0 0 f f f t f i s 1 0 17 2281 _null_ _null_ _null_ _null_ _null_ int8_avg_serialize _null_ _null_ _null_ _null_ )
+insert ( 2787 int8_avg_deserialize 11 10 12 1 0 0 0 f f f t f i s 2 0 2281 '17 2281' _null_ _null_ _null_ _null_ _null_ int8_avg_deserialize _null_ _null_ _null_ _null_ )
+insert ( 3324 int4_avg_combine 11 10 12 1 0 0 0 f f f t f i s 2 0 1016 '1016 1016' _null_ _null_ _null_ _null_ _null_ int4_avg_combine _null_ _null_ _null_ _null_ )
+insert ( 3178 numeric_sum 11 10 12 1 0 0 0 f f f f f i s 1 0 1700 2281 _null_ _null_ _null_ _null_ _null_ numeric_sum _null_ _null_ _null_ _null_ )
+insert ( 1837 numeric_avg 11 10 12 1 0 0 0 f f f f f i s 1 0 1700 2281 _null_ _null_ _null_ _null_ _null_ numeric_avg _null_ _null_ _null_ _null_ )
+insert ( 2514 numeric_var_pop 11 10 12 1 0 0 0 f f f f f i s 1 0 1700 2281 _null_ _null_ _null_ _null_ _null_ numeric_var_pop _null_ _null_ _null_ _null_ )
+insert ( 1838 numeric_var_samp 11 10 12 1 0 0 0 f f f f f i s 1 0 1700 2281 _null_ _null_ _null_ _null_ _null_ numeric_var_samp _null_ _null_ _null_ _null_ )
+insert ( 2596 numeric_stddev_pop 11 10 12 1 0 0 0 f f f f f i s 1 0 1700 2281 _null_ _null_ _null_ _null_ _null_ numeric_stddev_pop _null_ _null_ _null_ _null_ )
+insert ( 1839 numeric_stddev_samp 11 10 12 1 0 0 0 f f f f f i s 1 0 1700 2281 _null_ _null_ _null_ _null_ _null_ numeric_stddev_samp _null_ _null_ _null_ _null_ )
+insert ( 1840 int2_sum 11 10 12 1 0 0 0 f f f f f i s 2 0 20 '20 21' _null_ _null_ _null_ _null_ _null_ int2_sum _null_ _null_ _null_ _null_ )
+insert ( 1841 int4_sum 11 10 12 1 0 0 0 f f f f f i s 2 0 20 '20 23' _null_ _null_ _null_ _null_ _null_ int4_sum _null_ _null_ _null_ _null_ )
+insert ( 1842 int8_sum 11 10 12 1 0 0 0 f f f f f i s 2 0 1700 '1700 20' _null_ _null_ _null_ _null_ _null_ int8_sum _null_ _null_ _null_ _null_ )
+insert ( 3388 numeric_poly_sum 11 10 12 1 0 0 0 f f f f f i s 1 0 1700 2281 _null_ _null_ _null_ _null_ _null_ numeric_poly_sum _null_ _null_ _null_ _null_ )
+insert ( 3389 numeric_poly_avg 11 10 12 1 0 0 0 f f f f f i s 1 0 1700 2281 _null_ _null_ _null_ _null_ _null_ numeric_poly_avg _null_ _null_ _null_ _null_ )
+insert ( 3390 numeric_poly_var_pop 11 10 12 1 0 0 0 f f f f f i s 1 0 1700 2281 _null_ _null_ _null_ _null_ _null_ numeric_poly_var_pop _null_ _null_ _null_ _null_ )
+insert ( 3391 numeric_poly_var_samp 11 10 12 1 0 0 0 f f f f f i s 1 0 1700 2281 _null_ _null_ _null_ _null_ _null_ numeric_poly_var_samp _null_ _null_ _null_ _null_ )
+insert ( 3392 numeric_poly_stddev_pop 11 10 12 1 0 0 0 f f f f f i s 1 0 1700 2281 _null_ _null_ _null_ _null_ _null_ numeric_poly_stddev_pop _null_ _null_ _null_ _null_ )
+insert ( 3393 numeric_poly_stddev_samp 11 10 12 1 0 0 0 f f f f f i s 1 0 1700 2281 _null_ _null_ _null_ _null_ _null_ numeric_poly_stddev_samp _null_ _null_ _null_ _null_ )
+insert ( 1843 interval_accum 11 10 12 1 0 0 0 f f f t f i s 2 0 1187 '1187 1186' _null_ _null_ _null_ _null_ _null_ interval_accum _null_ _null_ _null_ _null_ )
+insert ( 3325 interval_combine 11 10 12 1 0 0 0 f f f t f i s 2 0 1187 '1187 1187' _null_ _null_ _null_ _null_ _null_ interval_combine _null_ _null_ _null_ _null_ )
+insert ( 3549 interval_accum_inv 11 10 12 1 0 0 0 f f f t f i s 2 0 1187 '1187 1186' _null_ _null_ _null_ _null_ _null_ interval_accum_inv _null_ _null_ _null_ _null_ )
+insert ( 1844 interval_avg 11 10 12 1 0 0 0 f f f t f i s 1 0 1186 1187 _null_ _null_ _null_ _null_ _null_ interval_avg _null_ _null_ _null_ _null_ )
+insert ( 1962 int2_avg_accum 11 10 12 1 0 0 0 f f f t f i s 2 0 1016 '1016 21' _null_ _null_ _null_ _null_ _null_ int2_avg_accum _null_ _null_ _null_ _null_ )
+insert ( 1963 int4_avg_accum 11 10 12 1 0 0 0 f f f t f i s 2 0 1016 '1016 23' _null_ _null_ _null_ _null_ _null_ int4_avg_accum _null_ _null_ _null_ _null_ )
+insert ( 3570 int2_avg_accum_inv 11 10 12 1 0 0 0 f f f t f i s 2 0 1016 '1016 21' _null_ _null_ _null_ _null_ _null_ int2_avg_accum_inv _null_ _null_ _null_ _null_ )
+insert ( 3571 int4_avg_accum_inv 11 10 12 1 0 0 0 f f f t f i s 2 0 1016 '1016 23' _null_ _null_ _null_ _null_ _null_ int4_avg_accum_inv _null_ _null_ _null_ _null_ )
+insert ( 1964 int8_avg 11 10 12 1 0 0 0 f f f t f i s 1 0 1700 1016 _null_ _null_ _null_ _null_ _null_ int8_avg _null_ _null_ _null_ _null_ )
+insert ( 3572 int2int4_sum 11 10 12 1 0 0 0 f f f t f i s 1 0 20 1016 _null_ _null_ _null_ _null_ _null_ int2int4_sum _null_ _null_ _null_ _null_ )
+insert ( 2805 int8inc_float8_float8 11 10 12 1 0 0 0 f f f t f i s 3 0 20 '20 701 701' _null_ _null_ _null_ _null_ _null_ int8inc_float8_float8 _null_ _null_ _null_ _null_ )
+insert ( 2806 float8_regr_accum 11 10 12 1 0 0 0 f f f t f i s 3 0 1022 '1022 701 701' _null_ _null_ _null_ _null_ _null_ float8_regr_accum _null_ _null_ _null_ _null_ )
+insert ( 3342 float8_regr_combine 11 10 12 1 0 0 0 f f f t f i s 2 0 1022 '1022 1022' _null_ _null_ _null_ _null_ _null_ float8_regr_combine _null_ _null_ _null_ _null_ )
+insert ( 2807 float8_regr_sxx 11 10 12 1 0 0 0 f f f t f i s 1 0 701 1022 _null_ _null_ _null_ _null_ _null_ float8_regr_sxx _null_ _null_ _null_ _null_ )
+insert ( 2808 float8_regr_syy 11 10 12 1 0 0 0 f f f t f i s 1 0 701 1022 _null_ _null_ _null_ _null_ _null_ float8_regr_syy _null_ _null_ _null_ _null_ )
+insert ( 2809 float8_regr_sxy 11 10 12 1 0 0 0 f f f t f i s 1 0 701 1022 _null_ _null_ _null_ _null_ _null_ float8_regr_sxy _null_ _null_ _null_ _null_ )
+insert ( 2810 float8_regr_avgx 11 10 12 1 0 0 0 f f f t f i s 1 0 701 1022 _null_ _null_ _null_ _null_ _null_ float8_regr_avgx _null_ _null_ _null_ _null_ )
+insert ( 2811 float8_regr_avgy 11 10 12 1 0 0 0 f f f t f i s 1 0 701 1022 _null_ _null_ _null_ _null_ _null_ float8_regr_avgy _null_ _null_ _null_ _null_ )
+insert ( 2812 float8_regr_r2 11 10 12 1 0 0 0 f f f t f i s 1 0 701 1022 _null_ _null_ _null_ _null_ _null_ float8_regr_r2 _null_ _null_ _null_ _null_ )
+insert ( 2813 float8_regr_slope 11 10 12 1 0 0 0 f f f t f i s 1 0 701 1022 _null_ _null_ _null_ _null_ _null_ float8_regr_slope _null_ _null_ _null_ _null_ )
+insert ( 2814 float8_regr_intercept 11 10 12 1 0 0 0 f f f t f i s 1 0 701 1022 _null_ _null_ _null_ _null_ _null_ float8_regr_intercept _null_ _null_ _null_ _null_ )
+insert ( 2815 float8_covar_pop 11 10 12 1 0 0 0 f f f t f i s 1 0 701 1022 _null_ _null_ _null_ _null_ _null_ float8_covar_pop _null_ _null_ _null_ _null_ )
+insert ( 2816 float8_covar_samp 11 10 12 1 0 0 0 f f f t f i s 1 0 701 1022 _null_ _null_ _null_ _null_ _null_ float8_covar_samp _null_ _null_ _null_ _null_ )
+insert ( 2817 float8_corr 11 10 12 1 0 0 0 f f f t f i s 1 0 701 1022 _null_ _null_ _null_ _null_ _null_ float8_corr _null_ _null_ _null_ _null_ )
+insert ( 3535 string_agg_transfn 11 10 12 1 0 0 0 f f f f f i s 3 0 2281 '2281 25 25' _null_ _null_ _null_ _null_ _null_ string_agg_transfn _null_ _null_ _null_ _null_ )
+insert ( 6299 string_agg_combine 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 2281' _null_ _null_ _null_ _null_ _null_ string_agg_combine _null_ _null_ _null_ _null_ )
+insert ( 6300 string_agg_serialize 11 10 12 1 0 0 0 f f f t f i s 1 0 17 2281 _null_ _null_ _null_ _null_ _null_ string_agg_serialize _null_ _null_ _null_ _null_ )
+insert ( 6301 string_agg_deserialize 11 10 12 1 0 0 0 f f f t f i s 2 0 2281 '17 2281' _null_ _null_ _null_ _null_ _null_ string_agg_deserialize _null_ _null_ _null_ _null_ )
+insert ( 3536 string_agg_finalfn 11 10 12 1 0 0 0 f f f f f i s 1 0 25 2281 _null_ _null_ _null_ _null_ _null_ string_agg_finalfn _null_ _null_ _null_ _null_ )
+insert ( 3538 string_agg 11 10 12 1 0 0 0 a f f f f i s 2 0 25 '25 25' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3543 bytea_string_agg_transfn 11 10 12 1 0 0 0 f f f f f i s 3 0 2281 '2281 17 17' _null_ _null_ _null_ _null_ _null_ bytea_string_agg_transfn _null_ _null_ _null_ _null_ )
+insert ( 3544 bytea_string_agg_finalfn 11 10 12 1 0 0 0 f f f f f i s 1 0 17 2281 _null_ _null_ _null_ _null_ _null_ bytea_string_agg_finalfn _null_ _null_ _null_ _null_ )
+insert ( 3545 string_agg 11 10 12 1 0 0 0 a f f f f i s 2 0 17 '17 17' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 1845 to_ascii 11 10 12 1 0 0 0 f f f t f i s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ to_ascii_default _null_ _null_ _null_ _null_ )
+insert ( 1846 to_ascii 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '25 23' _null_ _null_ _null_ _null_ _null_ to_ascii_enc _null_ _null_ _null_ _null_ )
+insert ( 1847 to_ascii 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '25 19' _null_ _null_ _null_ _null_ _null_ to_ascii_encname _null_ _null_ _null_ _null_ )
+insert ( 1848 interval_pl_time 11 10 14 1 0 0 0 f f f t f i s 2 0 1083 '1186 1083' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 1850 int28eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '21 20' _null_ _null_ _null_ _null_ _null_ int28eq _null_ _null_ _null_ _null_ )
+insert ( 1851 int28ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '21 20' _null_ _null_ _null_ _null_ _null_ int28ne _null_ _null_ _null_ _null_ )
+insert ( 1852 int28lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '21 20' _null_ _null_ _null_ _null_ _null_ int28lt _null_ _null_ _null_ _null_ )
+insert ( 1853 int28gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '21 20' _null_ _null_ _null_ _null_ _null_ int28gt _null_ _null_ _null_ _null_ )
+insert ( 1854 int28le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '21 20' _null_ _null_ _null_ _null_ _null_ int28le _null_ _null_ _null_ _null_ )
+insert ( 1855 int28ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '21 20' _null_ _null_ _null_ _null_ _null_ int28ge _null_ _null_ _null_ _null_ )
+insert ( 1856 int82eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '20 21' _null_ _null_ _null_ _null_ _null_ int82eq _null_ _null_ _null_ _null_ )
+insert ( 1857 int82ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '20 21' _null_ _null_ _null_ _null_ _null_ int82ne _null_ _null_ _null_ _null_ )
+insert ( 1858 int82lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '20 21' _null_ _null_ _null_ _null_ _null_ int82lt _null_ _null_ _null_ _null_ )
+insert ( 1859 int82gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '20 21' _null_ _null_ _null_ _null_ _null_ int82gt _null_ _null_ _null_ _null_ )
+insert ( 1860 int82le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '20 21' _null_ _null_ _null_ _null_ _null_ int82le _null_ _null_ _null_ _null_ )
+insert ( 1861 int82ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '20 21' _null_ _null_ _null_ _null_ _null_ int82ge _null_ _null_ _null_ _null_ )
+insert ( 1892 int2and 11 10 12 1 0 0 0 f f f t f i s 2 0 21 '21 21' _null_ _null_ _null_ _null_ _null_ int2and _null_ _null_ _null_ _null_ )
+insert ( 1893 int2or 11 10 12 1 0 0 0 f f f t f i s 2 0 21 '21 21' _null_ _null_ _null_ _null_ _null_ int2or _null_ _null_ _null_ _null_ )
+insert ( 1894 int2xor 11 10 12 1 0 0 0 f f f t f i s 2 0 21 '21 21' _null_ _null_ _null_ _null_ _null_ int2xor _null_ _null_ _null_ _null_ )
+insert ( 1895 int2not 11 10 12 1 0 0 0 f f f t f i s 1 0 21 21 _null_ _null_ _null_ _null_ _null_ int2not _null_ _null_ _null_ _null_ )
+insert ( 1896 int2shl 11 10 12 1 0 0 0 f f f t f i s 2 0 21 '21 23' _null_ _null_ _null_ _null_ _null_ int2shl _null_ _null_ _null_ _null_ )
+insert ( 1897 int2shr 11 10 12 1 0 0 0 f f f t f i s 2 0 21 '21 23' _null_ _null_ _null_ _null_ _null_ int2shr _null_ _null_ _null_ _null_ )
+insert ( 1898 int4and 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '23 23' _null_ _null_ _null_ _null_ _null_ int4and _null_ _null_ _null_ _null_ )
+insert ( 1899 int4or 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '23 23' _null_ _null_ _null_ _null_ _null_ int4or _null_ _null_ _null_ _null_ )
+insert ( 1900 int4xor 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '23 23' _null_ _null_ _null_ _null_ _null_ int4xor _null_ _null_ _null_ _null_ )
+insert ( 1901 int4not 11 10 12 1 0 0 0 f f f t f i s 1 0 23 23 _null_ _null_ _null_ _null_ _null_ int4not _null_ _null_ _null_ _null_ )
+insert ( 1902 int4shl 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '23 23' _null_ _null_ _null_ _null_ _null_ int4shl _null_ _null_ _null_ _null_ )
+insert ( 1903 int4shr 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '23 23' _null_ _null_ _null_ _null_ _null_ int4shr _null_ _null_ _null_ _null_ )
+insert ( 1904 int8and 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 20' _null_ _null_ _null_ _null_ _null_ int8and _null_ _null_ _null_ _null_ )
+insert ( 1905 int8or 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 20' _null_ _null_ _null_ _null_ _null_ int8or _null_ _null_ _null_ _null_ )
+insert ( 1906 int8xor 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 20' _null_ _null_ _null_ _null_ _null_ int8xor _null_ _null_ _null_ _null_ )
+insert ( 1907 int8not 11 10 12 1 0 0 0 f f f t f i s 1 0 20 20 _null_ _null_ _null_ _null_ _null_ int8not _null_ _null_ _null_ _null_ )
+insert ( 1908 int8shl 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 23' _null_ _null_ _null_ _null_ _null_ int8shl _null_ _null_ _null_ _null_ )
+insert ( 1909 int8shr 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '20 23' _null_ _null_ _null_ _null_ _null_ int8shr _null_ _null_ _null_ _null_ )
+insert ( 1910 int8up 11 10 12 1 0 0 0 f f f t f i s 1 0 20 20 _null_ _null_ _null_ _null_ _null_ int8up _null_ _null_ _null_ _null_ )
+insert ( 1911 int2up 11 10 12 1 0 0 0 f f f t f i s 1 0 21 21 _null_ _null_ _null_ _null_ _null_ int2up _null_ _null_ _null_ _null_ )
+insert ( 1912 int4up 11 10 12 1 0 0 0 f f f t f i s 1 0 23 23 _null_ _null_ _null_ _null_ _null_ int4up _null_ _null_ _null_ _null_ )
+insert ( 1913 float4up 11 10 12 1 0 0 0 f f f t f i s 1 0 700 700 _null_ _null_ _null_ _null_ _null_ float4up _null_ _null_ _null_ _null_ )
+insert ( 1914 float8up 11 10 12 1 0 0 0 f f f t f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ float8up _null_ _null_ _null_ _null_ )
+insert ( 1915 numeric_uplus 11 10 12 1 0 0 0 f f f t f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ numeric_uplus _null_ _null_ _null_ _null_ )
+insert ( 1922 has_table_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 25 25' _null_ _null_ _null_ _null_ _null_ has_table_privilege_name_name _null_ _null_ _null_ _null_ )
+insert ( 1923 has_table_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 26 25' _null_ _null_ _null_ _null_ _null_ has_table_privilege_name_id _null_ _null_ _null_ _null_ )
+insert ( 1924 has_table_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 25 25' _null_ _null_ _null_ _null_ _null_ has_table_privilege_id_name _null_ _null_ _null_ _null_ )
+insert ( 1925 has_table_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 26 25' _null_ _null_ _null_ _null_ _null_ has_table_privilege_id_id _null_ _null_ _null_ _null_ )
+insert ( 1926 has_table_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ has_table_privilege_name _null_ _null_ _null_ _null_ )
+insert ( 1927 has_table_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '26 25' _null_ _null_ _null_ _null_ _null_ has_table_privilege_id _null_ _null_ _null_ _null_ )
+insert ( 2181 has_sequence_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 25 25' _null_ _null_ _null_ _null_ _null_ has_sequence_privilege_name_name _null_ _null_ _null_ _null_ )
+insert ( 2182 has_sequence_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 26 25' _null_ _null_ _null_ _null_ _null_ has_sequence_privilege_name_id _null_ _null_ _null_ _null_ )
+insert ( 2183 has_sequence_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 25 25' _null_ _null_ _null_ _null_ _null_ has_sequence_privilege_id_name _null_ _null_ _null_ _null_ )
+insert ( 2184 has_sequence_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 26 25' _null_ _null_ _null_ _null_ _null_ has_sequence_privilege_id_id _null_ _null_ _null_ _null_ )
+insert ( 2185 has_sequence_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ has_sequence_privilege_name _null_ _null_ _null_ _null_ )
+insert ( 2186 has_sequence_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '26 25' _null_ _null_ _null_ _null_ _null_ has_sequence_privilege_id _null_ _null_ _null_ _null_ )
+insert ( 3012 has_column_privilege 11 10 12 1 0 0 0 f f f t f s s 4 0 16 '19 25 25 25' _null_ _null_ _null_ _null_ _null_ has_column_privilege_name_name_name _null_ _null_ _null_ _null_ )
+insert ( 3013 has_column_privilege 11 10 12 1 0 0 0 f f f t f s s 4 0 16 '19 25 21 25' _null_ _null_ _null_ _null_ _null_ has_column_privilege_name_name_attnum _null_ _null_ _null_ _null_ )
+insert ( 3014 has_column_privilege 11 10 12 1 0 0 0 f f f t f s s 4 0 16 '19 26 25 25' _null_ _null_ _null_ _null_ _null_ has_column_privilege_name_id_name _null_ _null_ _null_ _null_ )
+insert ( 3015 has_column_privilege 11 10 12 1 0 0 0 f f f t f s s 4 0 16 '19 26 21 25' _null_ _null_ _null_ _null_ _null_ has_column_privilege_name_id_attnum _null_ _null_ _null_ _null_ )
+insert ( 3016 has_column_privilege 11 10 12 1 0 0 0 f f f t f s s 4 0 16 '26 25 25 25' _null_ _null_ _null_ _null_ _null_ has_column_privilege_id_name_name _null_ _null_ _null_ _null_ )
+insert ( 3017 has_column_privilege 11 10 12 1 0 0 0 f f f t f s s 4 0 16 '26 25 21 25' _null_ _null_ _null_ _null_ _null_ has_column_privilege_id_name_attnum _null_ _null_ _null_ _null_ )
+insert ( 3018 has_column_privilege 11 10 12 1 0 0 0 f f f t f s s 4 0 16 '26 26 25 25' _null_ _null_ _null_ _null_ _null_ has_column_privilege_id_id_name _null_ _null_ _null_ _null_ )
+insert ( 3019 has_column_privilege 11 10 12 1 0 0 0 f f f t f s s 4 0 16 '26 26 21 25' _null_ _null_ _null_ _null_ _null_ has_column_privilege_id_id_attnum _null_ _null_ _null_ _null_ )
+insert ( 3020 has_column_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '25 25 25' _null_ _null_ _null_ _null_ _null_ has_column_privilege_name_name _null_ _null_ _null_ _null_ )
+insert ( 3021 has_column_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '25 21 25' _null_ _null_ _null_ _null_ _null_ has_column_privilege_name_attnum _null_ _null_ _null_ _null_ )
+insert ( 3022 has_column_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 25 25' _null_ _null_ _null_ _null_ _null_ has_column_privilege_id_name _null_ _null_ _null_ _null_ )
+insert ( 3023 has_column_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 21 25' _null_ _null_ _null_ _null_ _null_ has_column_privilege_id_attnum _null_ _null_ _null_ _null_ )
+insert ( 3024 has_any_column_privilege 11 10 12 10 0 0 0 f f f t f s s 3 0 16 '19 25 25' _null_ _null_ _null_ _null_ _null_ has_any_column_privilege_name_name _null_ _null_ _null_ _null_ )
+insert ( 3025 has_any_column_privilege 11 10 12 10 0 0 0 f f f t f s s 3 0 16 '19 26 25' _null_ _null_ _null_ _null_ _null_ has_any_column_privilege_name_id _null_ _null_ _null_ _null_ )
+insert ( 3026 has_any_column_privilege 11 10 12 10 0 0 0 f f f t f s s 3 0 16 '26 25 25' _null_ _null_ _null_ _null_ _null_ has_any_column_privilege_id_name _null_ _null_ _null_ _null_ )
+insert ( 3027 has_any_column_privilege 11 10 12 10 0 0 0 f f f t f s s 3 0 16 '26 26 25' _null_ _null_ _null_ _null_ _null_ has_any_column_privilege_id_id _null_ _null_ _null_ _null_ )
+insert ( 3028 has_any_column_privilege 11 10 12 10 0 0 0 f f f t f s s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ has_any_column_privilege_name _null_ _null_ _null_ _null_ )
+insert ( 3029 has_any_column_privilege 11 10 12 10 0 0 0 f f f t f s s 2 0 16 '26 25' _null_ _null_ _null_ _null_ _null_ has_any_column_privilege_id _null_ _null_ _null_ _null_ )
+insert ( 3355 pg_ndistinct_in 11 10 12 1 0 0 0 f f f t f i s 1 0 3361 2275 _null_ _null_ _null_ _null_ _null_ pg_ndistinct_in _null_ _null_ _null_ _null_ )
+insert ( 3356 pg_ndistinct_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 3361 _null_ _null_ _null_ _null_ _null_ pg_ndistinct_out _null_ _null_ _null_ _null_ )
+insert ( 3357 pg_ndistinct_recv 11 10 12 1 0 0 0 f f f t f s s 1 0 3361 2281 _null_ _null_ _null_ _null_ _null_ pg_ndistinct_recv _null_ _null_ _null_ _null_ )
+insert ( 3358 pg_ndistinct_send 11 10 12 1 0 0 0 f f f t f s s 1 0 17 3361 _null_ _null_ _null_ _null_ _null_ pg_ndistinct_send _null_ _null_ _null_ _null_ )
+insert ( 3404 pg_dependencies_in 11 10 12 1 0 0 0 f f f t f i s 1 0 3402 2275 _null_ _null_ _null_ _null_ _null_ pg_dependencies_in _null_ _null_ _null_ _null_ )
+insert ( 3405 pg_dependencies_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 3402 _null_ _null_ _null_ _null_ _null_ pg_dependencies_out _null_ _null_ _null_ _null_ )
+insert ( 3406 pg_dependencies_recv 11 10 12 1 0 0 0 f f f t f s s 1 0 3402 2281 _null_ _null_ _null_ _null_ _null_ pg_dependencies_recv _null_ _null_ _null_ _null_ )
+insert ( 3407 pg_dependencies_send 11 10 12 1 0 0 0 f f f t f s s 1 0 17 3402 _null_ _null_ _null_ _null_ _null_ pg_dependencies_send _null_ _null_ _null_ _null_ )
+insert ( 5018 pg_mcv_list_in 11 10 12 1 0 0 0 f f f t f i s 1 0 5017 2275 _null_ _null_ _null_ _null_ _null_ pg_mcv_list_in _null_ _null_ _null_ _null_ )
+insert ( 5019 pg_mcv_list_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 5017 _null_ _null_ _null_ _null_ _null_ pg_mcv_list_out _null_ _null_ _null_ _null_ )
+insert ( 5020 pg_mcv_list_recv 11 10 12 1 0 0 0 f f f t f s s 1 0 5017 2281 _null_ _null_ _null_ _null_ _null_ pg_mcv_list_recv _null_ _null_ _null_ _null_ )
+insert ( 5021 pg_mcv_list_send 11 10 12 1 0 0 0 f f f t f s s 1 0 17 5017 _null_ _null_ _null_ _null_ _null_ pg_mcv_list_send _null_ _null_ _null_ _null_ )
+insert ( 3427 pg_mcv_list_items 11 10 12 1 1000 0 0 f f f t t s s 1 0 2249 5017 '{5017,23,1009,1000,701,701}' '{i,o,o,o,o,o}' '{mcv_list,index,values,nulls,frequency,base_frequency}' _null_ _null_ pg_stats_ext_mcvlist_items _null_ _null_ _null_ _null_ )
+insert ( 1928 pg_stat_get_numscans 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_numscans _null_ _null_ _null_ _null_ )
+insert ( 6310 pg_stat_get_lastscan 11 10 12 1 0 0 0 f f f t f s r 1 0 1184 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_lastscan _null_ _null_ _null_ _null_ )
+insert ( 1929 pg_stat_get_tuples_returned 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_tuples_returned _null_ _null_ _null_ _null_ )
+insert ( 1930 pg_stat_get_tuples_fetched 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_tuples_fetched _null_ _null_ _null_ _null_ )
+insert ( 1931 pg_stat_get_tuples_inserted 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_tuples_inserted _null_ _null_ _null_ _null_ )
+insert ( 1932 pg_stat_get_tuples_updated 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_tuples_updated _null_ _null_ _null_ _null_ )
+insert ( 1933 pg_stat_get_tuples_deleted 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_tuples_deleted _null_ _null_ _null_ _null_ )
+insert ( 1972 pg_stat_get_tuples_hot_updated 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_tuples_hot_updated _null_ _null_ _null_ _null_ )
+insert ( 6217 pg_stat_get_tuples_newpage_updated 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_tuples_newpage_updated _null_ _null_ _null_ _null_ )
+insert ( 2878 pg_stat_get_live_tuples 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_live_tuples _null_ _null_ _null_ _null_ )
+insert ( 2879 pg_stat_get_dead_tuples 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_dead_tuples _null_ _null_ _null_ _null_ )
+insert ( 3177 pg_stat_get_mod_since_analyze 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_mod_since_analyze _null_ _null_ _null_ _null_ )
+insert ( 5053 pg_stat_get_ins_since_vacuum 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_ins_since_vacuum _null_ _null_ _null_ _null_ )
+insert ( 1934 pg_stat_get_blocks_fetched 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_blocks_fetched _null_ _null_ _null_ _null_ )
+insert ( 1935 pg_stat_get_blocks_hit 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_blocks_hit _null_ _null_ _null_ _null_ )
+insert ( 2781 pg_stat_get_last_vacuum_time 11 10 12 1 0 0 0 f f f t f s r 1 0 1184 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_last_vacuum_time _null_ _null_ _null_ _null_ )
+insert ( 2782 pg_stat_get_last_autovacuum_time 11 10 12 1 0 0 0 f f f t f s r 1 0 1184 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_last_autovacuum_time _null_ _null_ _null_ _null_ )
+insert ( 2783 pg_stat_get_last_analyze_time 11 10 12 1 0 0 0 f f f t f s r 1 0 1184 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_last_analyze_time _null_ _null_ _null_ _null_ )
+insert ( 2784 pg_stat_get_last_autoanalyze_time 11 10 12 1 0 0 0 f f f t f s r 1 0 1184 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_last_autoanalyze_time _null_ _null_ _null_ _null_ )
+insert ( 3054 pg_stat_get_vacuum_count 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_vacuum_count _null_ _null_ _null_ _null_ )
+insert ( 3055 pg_stat_get_autovacuum_count 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_autovacuum_count _null_ _null_ _null_ _null_ )
+insert ( 3056 pg_stat_get_analyze_count 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_analyze_count _null_ _null_ _null_ _null_ )
+insert ( 3057 pg_stat_get_autoanalyze_count 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_autoanalyze_count _null_ _null_ _null_ _null_ )
+insert ( 1936 pg_stat_get_backend_idset 11 10 12 1 100 0 0 f f f t t s r 0 0 23 '' _null_ _null_ _null_ _null_ _null_ pg_stat_get_backend_idset _null_ _null_ _null_ _null_ )
+insert ( 2022 pg_stat_get_activity 11 10 12 1 100 0 0 f f f f t s r 1 0 2249 23 '{23,26,23,26,25,25,25,25,25,1184,1184,1184,1184,869,25,23,28,28,25,16,25,25,23,25,1700,25,16,25,16,16,23,20}' '{i,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o}' '{pid,datid,pid,usesysid,application_name,state,query,wait_event_type,wait_event,xact_start,query_start,backend_start,state_change,client_addr,client_hostname,client_port,backend_xid,backend_xmin,backend_type,ssl,sslversion,sslcipher,sslbits,ssl_client_dn,ssl_client_serial,ssl_issuer_dn,gss_auth,gss_princ,gss_enc,gss_delegation,leader_pid,query_id}' _null_ _null_ pg_stat_get_activity _null_ _null_ _null_ _null_ )
+insert ( 3318 pg_stat_get_progress_info 11 10 12 1 100 0 0 f f f t t s r 1 0 2249 25 '{25,23,26,26,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20}' '{i,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o}' '{cmdtype,pid,datid,relid,param1,param2,param3,param4,param5,param6,param7,param8,param9,param10,param11,param12,param13,param14,param15,param16,param17,param18,param19,param20}' _null_ _null_ pg_stat_get_progress_info _null_ _null_ _null_ _null_ )
+insert ( 3099 pg_stat_get_wal_senders 11 10 12 1 10 0 0 f f f f t s r 0 0 2249 '' '{23,25,3220,3220,3220,3220,1186,1186,1186,23,25,1184}' '{o,o,o,o,o,o,o,o,o,o,o,o}' '{pid,state,sent_lsn,write_lsn,flush_lsn,replay_lsn,write_lag,flush_lag,replay_lag,sync_priority,sync_state,reply_time}' _null_ _null_ pg_stat_get_wal_senders _null_ _null_ _null_ _null_ )
+insert ( 3317 pg_stat_get_wal_receiver 11 10 12 1 0 0 0 f f f f f s r 0 0 2249 '' '{23,25,3220,23,3220,3220,23,1184,1184,3220,1184,25,25,23,25}' '{o,o,o,o,o,o,o,o,o,o,o,o,o,o,o}' '{pid,status,receive_start_lsn,receive_start_tli,written_lsn,flushed_lsn,received_tli,last_msg_send_time,last_msg_receipt_time,latest_end_lsn,latest_end_time,slot_name,sender_host,sender_port,conninfo}' _null_ _null_ pg_stat_get_wal_receiver _null_ _null_ _null_ _null_ )
+insert ( 6169 pg_stat_get_replication_slot 11 10 12 1 0 0 0 f f f t f s r 1 0 2249 25 '{25,25,20,20,20,20,20,20,20,20,1184}' '{i,o,o,o,o,o,o,o,o,o,o}' '{slot_name,slot_name,spill_txns,spill_count,spill_bytes,stream_txns,stream_count,stream_bytes,total_txns,total_bytes,stats_reset}' _null_ _null_ pg_stat_get_replication_slot _null_ _null_ _null_ _null_ )
+insert ( 6230 pg_stat_have_stats 11 10 12 1 0 0 0 f f f t f v r 3 0 16 '25 26 26' _null_ _null_ _null_ _null_ _null_ pg_stat_have_stats _null_ _null_ _null_ _null_ )
+insert ( 6231 pg_stat_get_subscription_stats 11 10 12 1 0 0 0 f f f t f s r 1 0 2249 26 '{26,26,20,20,1184}' '{i,o,o,o,o}' '{subid,subid,apply_error_count,sync_error_count,stats_reset}' _null_ _null_ pg_stat_get_subscription_stats _null_ _null_ _null_ _null_ )
+insert ( 6118 pg_stat_get_subscription 11 10 12 1 10 0 0 f f f f t s r 1 0 2249 26 '{26,26,26,23,23,3220,1184,1184,3220,1184}' '{i,o,o,o,o,o,o,o,o,o}' '{subid,subid,relid,pid,leader_pid,received_lsn,last_msg_send_time,last_msg_receipt_time,latest_end_lsn,latest_end_time}' _null_ _null_ pg_stat_get_subscription _null_ _null_ _null_ _null_ )
+insert ( 2026 pg_backend_pid 11 10 12 1 0 0 0 f f f t f s r 0 0 23 '' _null_ _null_ _null_ _null_ _null_ pg_backend_pid _null_ _null_ _null_ _null_ )
+insert ( 1937 pg_stat_get_backend_pid 11 10 12 1 0 0 0 f f f t f s r 1 0 23 23 _null_ _null_ _null_ _null_ _null_ pg_stat_get_backend_pid _null_ _null_ _null_ _null_ )
+insert ( 1938 pg_stat_get_backend_dbid 11 10 12 1 0 0 0 f f f t f s r 1 0 26 23 _null_ _null_ _null_ _null_ _null_ pg_stat_get_backend_dbid _null_ _null_ _null_ _null_ )
+insert ( 6107 pg_stat_get_backend_subxact 11 10 12 1 0 0 0 f f f t f s r 1 0 2249 23 '{23,23,16}' '{i,o,o}' '{bid,subxact_count,subxact_overflowed}' _null_ _null_ pg_stat_get_backend_subxact _null_ _null_ _null_ _null_ )
+insert ( 1939 pg_stat_get_backend_userid 11 10 12 1 0 0 0 f f f t f s r 1 0 26 23 _null_ _null_ _null_ _null_ _null_ pg_stat_get_backend_userid _null_ _null_ _null_ _null_ )
+insert ( 1940 pg_stat_get_backend_activity 11 10 12 1 0 0 0 f f f t f s r 1 0 25 23 _null_ _null_ _null_ _null_ _null_ pg_stat_get_backend_activity _null_ _null_ _null_ _null_ )
+insert ( 2788 pg_stat_get_backend_wait_event_type 11 10 12 1 0 0 0 f f f t f s r 1 0 25 23 _null_ _null_ _null_ _null_ _null_ pg_stat_get_backend_wait_event_type _null_ _null_ _null_ _null_ )
+insert ( 2853 pg_stat_get_backend_wait_event 11 10 12 1 0 0 0 f f f t f s r 1 0 25 23 _null_ _null_ _null_ _null_ _null_ pg_stat_get_backend_wait_event _null_ _null_ _null_ _null_ )
+insert ( 2094 pg_stat_get_backend_activity_start 11 10 12 1 0 0 0 f f f t f s r 1 0 1184 23 _null_ _null_ _null_ _null_ _null_ pg_stat_get_backend_activity_start _null_ _null_ _null_ _null_ )
+insert ( 2857 pg_stat_get_backend_xact_start 11 10 12 1 0 0 0 f f f t f s r 1 0 1184 23 _null_ _null_ _null_ _null_ _null_ pg_stat_get_backend_xact_start _null_ _null_ _null_ _null_ )
+insert ( 1391 pg_stat_get_backend_start 11 10 12 1 0 0 0 f f f t f s r 1 0 1184 23 _null_ _null_ _null_ _null_ _null_ pg_stat_get_backend_start _null_ _null_ _null_ _null_ )
+insert ( 1392 pg_stat_get_backend_client_addr 11 10 12 1 0 0 0 f f f t f s r 1 0 869 23 _null_ _null_ _null_ _null_ _null_ pg_stat_get_backend_client_addr _null_ _null_ _null_ _null_ )
+insert ( 1393 pg_stat_get_backend_client_port 11 10 12 1 0 0 0 f f f t f s r 1 0 23 23 _null_ _null_ _null_ _null_ _null_ pg_stat_get_backend_client_port _null_ _null_ _null_ _null_ )
+insert ( 1941 pg_stat_get_db_numbackends 11 10 12 1 0 0 0 f f f t f s r 1 0 23 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_numbackends _null_ _null_ _null_ _null_ )
+insert ( 1942 pg_stat_get_db_xact_commit 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_xact_commit _null_ _null_ _null_ _null_ )
+insert ( 1943 pg_stat_get_db_xact_rollback 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_xact_rollback _null_ _null_ _null_ _null_ )
+insert ( 1944 pg_stat_get_db_blocks_fetched 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_blocks_fetched _null_ _null_ _null_ _null_ )
+insert ( 1945 pg_stat_get_db_blocks_hit 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_blocks_hit _null_ _null_ _null_ _null_ )
+insert ( 2758 pg_stat_get_db_tuples_returned 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_tuples_returned _null_ _null_ _null_ _null_ )
+insert ( 2759 pg_stat_get_db_tuples_fetched 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_tuples_fetched _null_ _null_ _null_ _null_ )
+insert ( 2760 pg_stat_get_db_tuples_inserted 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_tuples_inserted _null_ _null_ _null_ _null_ )
+insert ( 2761 pg_stat_get_db_tuples_updated 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_tuples_updated _null_ _null_ _null_ _null_ )
+insert ( 2762 pg_stat_get_db_tuples_deleted 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_tuples_deleted _null_ _null_ _null_ _null_ )
+insert ( 3065 pg_stat_get_db_conflict_tablespace 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_conflict_tablespace _null_ _null_ _null_ _null_ )
+insert ( 3066 pg_stat_get_db_conflict_lock 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_conflict_lock _null_ _null_ _null_ _null_ )
+insert ( 3067 pg_stat_get_db_conflict_snapshot 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_conflict_snapshot _null_ _null_ _null_ _null_ )
+insert ( 6309 pg_stat_get_db_conflict_logicalslot 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_conflict_logicalslot _null_ _null_ _null_ _null_ )
+insert ( 3068 pg_stat_get_db_conflict_bufferpin 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_conflict_bufferpin _null_ _null_ _null_ _null_ )
+insert ( 3069 pg_stat_get_db_conflict_startup_deadlock 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_conflict_startup_deadlock _null_ _null_ _null_ _null_ )
+insert ( 3070 pg_stat_get_db_conflict_all 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_conflict_all _null_ _null_ _null_ _null_ )
+insert ( 3152 pg_stat_get_db_deadlocks 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_deadlocks _null_ _null_ _null_ _null_ )
+insert ( 3426 pg_stat_get_db_checksum_failures 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_checksum_failures _null_ _null_ _null_ _null_ )
+insert ( 3428 pg_stat_get_db_checksum_last_failure 11 10 12 1 0 0 0 f f f t f s r 1 0 1184 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_checksum_last_failure _null_ _null_ _null_ _null_ )
+insert ( 3074 pg_stat_get_db_stat_reset_time 11 10 12 1 0 0 0 f f f t f s r 1 0 1184 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_stat_reset_time _null_ _null_ _null_ _null_ )
+insert ( 3150 pg_stat_get_db_temp_files 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_temp_files _null_ _null_ _null_ _null_ )
+insert ( 3151 pg_stat_get_db_temp_bytes 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_temp_bytes _null_ _null_ _null_ _null_ )
+insert ( 2844 pg_stat_get_db_blk_read_time 11 10 12 1 0 0 0 f f f t f s r 1 0 701 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_blk_read_time _null_ _null_ _null_ _null_ )
+insert ( 2845 pg_stat_get_db_blk_write_time 11 10 12 1 0 0 0 f f f t f s r 1 0 701 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_blk_write_time _null_ _null_ _null_ _null_ )
+insert ( 6185 pg_stat_get_db_session_time 11 10 12 1 0 0 0 f f f t f s r 1 0 701 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_session_time _null_ _null_ _null_ _null_ )
+insert ( 6186 pg_stat_get_db_active_time 11 10 12 1 0 0 0 f f f t f s r 1 0 701 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_active_time _null_ _null_ _null_ _null_ )
+insert ( 6187 pg_stat_get_db_idle_in_transaction_time 11 10 12 1 0 0 0 f f f t f s r 1 0 701 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_idle_in_transaction_time _null_ _null_ _null_ _null_ )
+insert ( 6188 pg_stat_get_db_sessions 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_sessions _null_ _null_ _null_ _null_ )
+insert ( 6189 pg_stat_get_db_sessions_abandoned 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_sessions_abandoned _null_ _null_ _null_ _null_ )
+insert ( 6190 pg_stat_get_db_sessions_fatal 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_sessions_fatal _null_ _null_ _null_ _null_ )
+insert ( 6191 pg_stat_get_db_sessions_killed 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_db_sessions_killed _null_ _null_ _null_ _null_ )
+insert ( 3195 pg_stat_get_archiver 11 10 12 1 0 0 0 f f f f f s r 0 0 2249 '' '{20,25,1184,20,25,1184,1184}' '{o,o,o,o,o,o,o}' '{archived_count,last_archived_wal,last_archived_time,failed_count,last_failed_wal,last_failed_time,stats_reset}' _null_ _null_ pg_stat_get_archiver _null_ _null_ _null_ _null_ )
+insert ( 2769 pg_stat_get_bgwriter_timed_checkpoints 11 10 12 1 0 0 0 f f f t f s r 0 0 20 '' _null_ _null_ _null_ _null_ _null_ pg_stat_get_bgwriter_timed_checkpoints _null_ _null_ _null_ _null_ )
+insert ( 2770 pg_stat_get_bgwriter_requested_checkpoints 11 10 12 1 0 0 0 f f f t f s r 0 0 20 '' _null_ _null_ _null_ _null_ _null_ pg_stat_get_bgwriter_requested_checkpoints _null_ _null_ _null_ _null_ )
+insert ( 2771 pg_stat_get_bgwriter_buf_written_checkpoints 11 10 12 1 0 0 0 f f f t f s r 0 0 20 '' _null_ _null_ _null_ _null_ _null_ pg_stat_get_bgwriter_buf_written_checkpoints _null_ _null_ _null_ _null_ )
+insert ( 2772 pg_stat_get_bgwriter_buf_written_clean 11 10 12 1 0 0 0 f f f t f s r 0 0 20 '' _null_ _null_ _null_ _null_ _null_ pg_stat_get_bgwriter_buf_written_clean _null_ _null_ _null_ _null_ )
+insert ( 2773 pg_stat_get_bgwriter_maxwritten_clean 11 10 12 1 0 0 0 f f f t f s r 0 0 20 '' _null_ _null_ _null_ _null_ _null_ pg_stat_get_bgwriter_maxwritten_clean _null_ _null_ _null_ _null_ )
+insert ( 3075 pg_stat_get_bgwriter_stat_reset_time 11 10 12 1 0 0 0 f f f t f s r 0 0 1184 '' _null_ _null_ _null_ _null_ _null_ pg_stat_get_bgwriter_stat_reset_time _null_ _null_ _null_ _null_ )
+insert ( 3160 pg_stat_get_checkpoint_write_time 11 10 12 1 0 0 0 f f f t f s r 0 0 701 '' _null_ _null_ _null_ _null_ _null_ pg_stat_get_checkpoint_write_time _null_ _null_ _null_ _null_ )
+insert ( 3161 pg_stat_get_checkpoint_sync_time 11 10 12 1 0 0 0 f f f t f s r 0 0 701 '' _null_ _null_ _null_ _null_ _null_ pg_stat_get_checkpoint_sync_time _null_ _null_ _null_ _null_ )
+insert ( 2775 pg_stat_get_buf_written_backend 11 10 12 1 0 0 0 f f f t f s r 0 0 20 '' _null_ _null_ _null_ _null_ _null_ pg_stat_get_buf_written_backend _null_ _null_ _null_ _null_ )
+insert ( 3063 pg_stat_get_buf_fsync_backend 11 10 12 1 0 0 0 f f f t f s r 0 0 20 '' _null_ _null_ _null_ _null_ _null_ pg_stat_get_buf_fsync_backend _null_ _null_ _null_ _null_ )
+insert ( 2859 pg_stat_get_buf_alloc 11 10 12 1 0 0 0 f f f t f s r 0 0 20 '' _null_ _null_ _null_ _null_ _null_ pg_stat_get_buf_alloc _null_ _null_ _null_ _null_ )
+insert ( 6214 pg_stat_get_io 11 10 12 1 30 0 0 f f f t t v r 0 0 2249 '' '{25,25,25,20,701,20,701,20,701,20,701,20,20,20,20,20,701,1184}' '{o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o}' '{backend_type,object,context,reads,read_time,writes,write_time,writebacks,writeback_time,extends,extend_time,op_bytes,hits,evictions,reuses,fsyncs,fsync_time,stats_reset}' _null_ _null_ pg_stat_get_io _null_ _null_ _null_ _null_ )
+insert ( 1136 pg_stat_get_wal 11 10 12 1 0 0 0 f f f f f s r 0 0 2249 '' '{20,20,1700,20,20,20,701,701,1184}' '{o,o,o,o,o,o,o,o,o}' '{wal_records,wal_fpi,wal_bytes,wal_buffers_full,wal_write,wal_sync,wal_write_time,wal_sync_time,stats_reset}' _null_ _null_ pg_stat_get_wal _null_ _null_ _null_ _null_ )
+insert ( 6248 pg_stat_get_recovery_prefetch 11 10 12 1 1 0 0 f f f t t v s 0 0 2249 '' '{1184,20,20,20,20,20,20,23,23,23}' '{o,o,o,o,o,o,o,o,o,o}' '{stats_reset,prefetch,hit,skip_init,skip_new,skip_fpw,skip_rep,wal_distance,block_distance,io_depth}' _null_ _null_ pg_stat_get_recovery_prefetch _null_ _null_ _null_ _null_ )
+insert ( 2306 pg_stat_get_slru 11 10 12 1 100 0 0 f f f f t s r 0 0 2249 '' '{25,20,20,20,20,20,20,20,1184}' '{o,o,o,o,o,o,o,o,o}' '{name,blks_zeroed,blks_hit,blks_read,blks_written,blks_exists,flushes,truncates,stats_reset}' _null_ _null_ pg_stat_get_slru _null_ _null_ _null_ _null_ )
+insert ( 2978 pg_stat_get_function_calls 11 10 12 1 0 0 0 f f f t f s r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_function_calls _null_ _null_ _null_ _null_ )
+insert ( 2979 pg_stat_get_function_total_time 11 10 12 1 0 0 0 f f f t f s r 1 0 701 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_function_total_time _null_ _null_ _null_ _null_ )
+insert ( 2980 pg_stat_get_function_self_time 11 10 12 1 0 0 0 f f f t f s r 1 0 701 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_function_self_time _null_ _null_ _null_ _null_ )
+insert ( 3037 pg_stat_get_xact_numscans 11 10 12 1 0 0 0 f f f t f v r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_xact_numscans _null_ _null_ _null_ _null_ )
+insert ( 3038 pg_stat_get_xact_tuples_returned 11 10 12 1 0 0 0 f f f t f v r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_xact_tuples_returned _null_ _null_ _null_ _null_ )
+insert ( 3039 pg_stat_get_xact_tuples_fetched 11 10 12 1 0 0 0 f f f t f v r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_xact_tuples_fetched _null_ _null_ _null_ _null_ )
+insert ( 3040 pg_stat_get_xact_tuples_inserted 11 10 12 1 0 0 0 f f f t f v r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_xact_tuples_inserted _null_ _null_ _null_ _null_ )
+insert ( 3041 pg_stat_get_xact_tuples_updated 11 10 12 1 0 0 0 f f f t f v r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_xact_tuples_updated _null_ _null_ _null_ _null_ )
+insert ( 3042 pg_stat_get_xact_tuples_deleted 11 10 12 1 0 0 0 f f f t f v r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_xact_tuples_deleted _null_ _null_ _null_ _null_ )
+insert ( 3043 pg_stat_get_xact_tuples_hot_updated 11 10 12 1 0 0 0 f f f t f v r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_xact_tuples_hot_updated _null_ _null_ _null_ _null_ )
+insert ( 6218 pg_stat_get_xact_tuples_newpage_updated 11 10 12 1 0 0 0 f f f t f v r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_xact_tuples_newpage_updated _null_ _null_ _null_ _null_ )
+insert ( 3044 pg_stat_get_xact_blocks_fetched 11 10 12 1 0 0 0 f f f t f v r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_xact_blocks_fetched _null_ _null_ _null_ _null_ )
+insert ( 3045 pg_stat_get_xact_blocks_hit 11 10 12 1 0 0 0 f f f t f v r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_xact_blocks_hit _null_ _null_ _null_ _null_ )
+insert ( 3046 pg_stat_get_xact_function_calls 11 10 12 1 0 0 0 f f f t f v r 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_xact_function_calls _null_ _null_ _null_ _null_ )
+insert ( 3047 pg_stat_get_xact_function_total_time 11 10 12 1 0 0 0 f f f t f v r 1 0 701 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_xact_function_total_time _null_ _null_ _null_ _null_ )
+insert ( 3048 pg_stat_get_xact_function_self_time 11 10 12 1 0 0 0 f f f t f v r 1 0 701 26 _null_ _null_ _null_ _null_ _null_ pg_stat_get_xact_function_self_time _null_ _null_ _null_ _null_ )
+insert ( 3788 pg_stat_get_snapshot_timestamp 11 10 12 1 0 0 0 f f f t f s r 0 0 1184 '' _null_ _null_ _null_ _null_ _null_ pg_stat_get_snapshot_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2230 pg_stat_clear_snapshot 11 10 12 1 0 0 0 f f f f f v r 0 0 2278 '' _null_ _null_ _null_ _null_ _null_ pg_stat_clear_snapshot _null_ _null_ _null_ _null_ )
+insert ( 2137 pg_stat_force_next_flush 11 10 12 1 0 0 0 f f f f f v r 0 0 2278 '' _null_ _null_ _null_ _null_ _null_ pg_stat_force_next_flush _null_ _null_ _null_ _null_ )
+insert ( 2274 pg_stat_reset 11 10 12 1 0 0 0 f f f f f v s 0 0 2278 '' _null_ _null_ _null_ _null_ _null_ pg_stat_reset _null_ _null_ _null_ _null_ )
+insert ( 3775 pg_stat_reset_shared 11 10 12 1 0 0 0 f f f t f v s 1 0 2278 25 _null_ _null_ _null_ _null_ _null_ pg_stat_reset_shared _null_ _null_ _null_ _null_ )
+insert ( 3776 pg_stat_reset_single_table_counters 11 10 12 1 0 0 0 f f f t f v s 1 0 2278 26 _null_ _null_ _null_ _null_ _null_ pg_stat_reset_single_table_counters _null_ _null_ _null_ _null_ )
+insert ( 3777 pg_stat_reset_single_function_counters 11 10 12 1 0 0 0 f f f t f v s 1 0 2278 26 _null_ _null_ _null_ _null_ _null_ pg_stat_reset_single_function_counters _null_ _null_ _null_ _null_ )
+insert ( 2307 pg_stat_reset_slru 11 10 12 1 0 0 0 f f f f f v s 1 0 2278 25 _null_ _null_ _null_ _null_ _null_ pg_stat_reset_slru _null_ _null_ _null_ _null_ )
+insert ( 6170 pg_stat_reset_replication_slot 11 10 12 1 0 0 0 f f f f f v s 1 0 2278 25 _null_ _null_ _null_ _null_ _null_ pg_stat_reset_replication_slot _null_ _null_ _null_ _null_ )
+insert ( 6232 pg_stat_reset_subscription_stats 11 10 12 1 0 0 0 f f f f f v s 1 0 2278 26 _null_ _null_ _null_ _null_ _null_ pg_stat_reset_subscription_stats _null_ _null_ _null_ _null_ )
+insert ( 3163 pg_trigger_depth 11 10 12 1 0 0 0 f f f t f s r 0 0 23 '' _null_ _null_ _null_ _null_ _null_ pg_trigger_depth _null_ _null_ _null_ _null_ )
+insert ( 3778 pg_tablespace_location 11 10 12 1 0 0 0 f f f t f s s 1 0 25 26 _null_ _null_ _null_ _null_ _null_ pg_tablespace_location _null_ _null_ _null_ _null_ )
+insert ( 1946 encode 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '17 25' _null_ _null_ _null_ _null_ _null_ binary_encode _null_ _null_ _null_ _null_ )
+insert ( 1947 decode 11 10 12 1 0 0 0 f f f t f i s 2 0 17 '25 25' _null_ _null_ _null_ _null_ _null_ binary_decode _null_ _null_ _null_ _null_ )
+insert ( 1948 byteaeq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '17 17' _null_ _null_ _null_ _null_ _null_ byteaeq _null_ _null_ _null_ _null_ )
+insert ( 1949 bytealt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '17 17' _null_ _null_ _null_ _null_ _null_ bytealt _null_ _null_ _null_ _null_ )
+insert ( 1950 byteale 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '17 17' _null_ _null_ _null_ _null_ _null_ byteale _null_ _null_ _null_ _null_ )
+insert ( 1951 byteagt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '17 17' _null_ _null_ _null_ _null_ _null_ byteagt _null_ _null_ _null_ _null_ )
+insert ( 1952 byteage 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '17 17' _null_ _null_ _null_ _null_ _null_ byteage _null_ _null_ _null_ _null_ )
+insert ( 1953 byteane 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '17 17' _null_ _null_ _null_ _null_ _null_ byteane _null_ _null_ _null_ _null_ )
+insert ( 1954 byteacmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '17 17' _null_ _null_ _null_ _null_ _null_ byteacmp _null_ _null_ _null_ _null_ )
+insert ( 3331 bytea_sortsupport 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ bytea_sortsupport _null_ _null_ _null_ _null_ )
+insert ( 3917 timestamp_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ timestamp_support _null_ _null_ _null_ _null_ )
+insert ( 3944 time_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ time_support _null_ _null_ _null_ _null_ )
+insert ( 1961 timestamp 11 10 12 1 0 0 3917 f f f t f i s 2 0 1114 '1114 23' _null_ _null_ _null_ _null_ _null_ timestamp_scale _null_ _null_ _null_ _null_ )
+insert ( 1965 oidlarger 11 10 12 1 0 0 0 f f f t f i s 2 0 26 '26 26' _null_ _null_ _null_ _null_ _null_ oidlarger _null_ _null_ _null_ _null_ )
+insert ( 1966 oidsmaller 11 10 12 1 0 0 0 f f f t f i s 2 0 26 '26 26' _null_ _null_ _null_ _null_ _null_ oidsmaller _null_ _null_ _null_ _null_ )
+insert ( 1967 timestamptz 11 10 12 1 0 0 3917 f f f t f i s 2 0 1184 '1184 23' _null_ _null_ _null_ _null_ _null_ timestamptz_scale _null_ _null_ _null_ _null_ )
+insert ( 1968 time 11 10 12 1 0 0 3944 f f f t f i s 2 0 1083 '1083 23' _null_ _null_ _null_ _null_ _null_ time_scale _null_ _null_ _null_ _null_ )
+insert ( 1969 timetz 11 10 12 1 0 0 3944 f f f t f i s 2 0 1266 '1266 23' _null_ _null_ _null_ _null_ _null_ timetz_scale _null_ _null_ _null_ _null_ )
+insert ( 2003 textanycat 11 10 14 1 0 0 0 f f f t f s s 2 0 25 '25 2776' _null_ _null_ _null_ _null_ _null_ 'select $1 operator(pg_catalog.||) $2::pg_catalog.text' _null_ _null_ _null_ _null_ )
+insert ( 2004 anytextcat 11 10 14 1 0 0 0 f f f t f s s 2 0 25 '2776 25' _null_ _null_ _null_ _null_ _null_ 'select $1::pg_catalog.text operator(pg_catalog.||) $2' _null_ _null_ _null_ _null_ )
+insert ( 2005 bytealike 11 10 12 1 0 0 1023 f f f t f i s 2 0 16 '17 17' _null_ _null_ _null_ _null_ _null_ bytealike _null_ _null_ _null_ _null_ )
+insert ( 2006 byteanlike 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '17 17' _null_ _null_ _null_ _null_ _null_ byteanlike _null_ _null_ _null_ _null_ )
+insert ( 2007 like 11 10 12 1 0 0 1023 f f f t f i s 2 0 16 '17 17' _null_ _null_ _null_ _null_ _null_ bytealike _null_ _null_ _null_ _null_ )
+insert ( 2008 notlike 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '17 17' _null_ _null_ _null_ _null_ _null_ byteanlike _null_ _null_ _null_ _null_ )
+insert ( 2009 like_escape 11 10 12 1 0 0 0 f f f t f i s 2 0 17 '17 17' _null_ _null_ _null_ _null_ _null_ like_escape_bytea _null_ _null_ _null_ _null_ )
+insert ( 2010 length 11 10 12 1 0 0 0 f f f t f i s 1 0 23 17 _null_ _null_ _null_ _null_ _null_ byteaoctetlen _null_ _null_ _null_ _null_ )
+insert ( 2011 byteacat 11 10 12 1 0 0 0 f f f t f i s 2 0 17 '17 17' _null_ _null_ _null_ _null_ _null_ byteacat _null_ _null_ _null_ _null_ )
+insert ( 2012 substring 11 10 12 1 0 0 0 f f f t f i s 3 0 17 '17 23 23' _null_ _null_ _null_ _null_ _null_ bytea_substr _null_ _null_ _null_ _null_ )
+insert ( 2013 substring 11 10 12 1 0 0 0 f f f t f i s 2 0 17 '17 23' _null_ _null_ _null_ _null_ _null_ bytea_substr_no_len _null_ _null_ _null_ _null_ )
+insert ( 2085 substr 11 10 12 1 0 0 0 f f f t f i s 3 0 17 '17 23 23' _null_ _null_ _null_ _null_ _null_ bytea_substr _null_ _null_ _null_ _null_ )
+insert ( 2086 substr 11 10 12 1 0 0 0 f f f t f i s 2 0 17 '17 23' _null_ _null_ _null_ _null_ _null_ bytea_substr_no_len _null_ _null_ _null_ _null_ )
+insert ( 2014 position 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '17 17' _null_ _null_ _null_ _null_ _null_ byteapos _null_ _null_ _null_ _null_ )
+insert ( 2015 btrim 11 10 12 1 0 0 0 f f f t f i s 2 0 17 '17 17' _null_ _null_ _null_ _null_ _null_ byteatrim _null_ _null_ _null_ _null_ )
+insert ( 6195 ltrim 11 10 12 1 0 0 0 f f f t f i s 2 0 17 '17 17' _null_ _null_ _null_ _null_ _null_ bytealtrim _null_ _null_ _null_ _null_ )
+insert ( 6196 rtrim 11 10 12 1 0 0 0 f f f t f i s 2 0 17 '17 17' _null_ _null_ _null_ _null_ _null_ byteartrim _null_ _null_ _null_ _null_ )
+insert ( 2019 time 11 10 12 1 0 0 0 f f f t f s s 1 0 1083 1184 _null_ _null_ _null_ _null_ _null_ timestamptz_time _null_ _null_ _null_ _null_ )
+insert ( 2020 date_trunc 11 10 12 1 0 0 0 f f f t f i s 2 0 1114 '25 1114' _null_ _null_ _null_ _null_ _null_ timestamp_trunc _null_ _null_ _null_ _null_ )
+insert ( 6177 date_bin 11 10 12 1 0 0 0 f f f t f i s 3 0 1114 '1186 1114 1114' _null_ _null_ _null_ _null_ _null_ timestamp_bin _null_ _null_ _null_ _null_ )
+insert ( 6178 date_bin 11 10 12 1 0 0 0 f f f t f i s 3 0 1184 '1186 1184 1184' _null_ _null_ _null_ _null_ _null_ timestamptz_bin _null_ _null_ _null_ _null_ )
+insert ( 2021 date_part 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '25 1114' _null_ _null_ _null_ _null_ _null_ timestamp_part _null_ _null_ _null_ _null_ )
+insert ( 6202 extract 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '25 1114' _null_ _null_ _null_ _null_ _null_ extract_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2024 timestamp 11 10 12 1 0 0 0 f f f t f i s 1 0 1114 1082 _null_ _null_ _null_ _null_ _null_ date_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2025 timestamp 11 10 12 1 0 0 0 f f f t f i s 2 0 1114 '1082 1083' _null_ _null_ _null_ _null_ _null_ datetime_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2027 timestamp 11 10 12 1 0 0 0 f f f t f s s 1 0 1114 1184 _null_ _null_ _null_ _null_ _null_ timestamptz_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2028 timestamptz 11 10 12 1 0 0 0 f f f t f s s 1 0 1184 1114 _null_ _null_ _null_ _null_ _null_ timestamp_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 2029 date 11 10 12 1 0 0 0 f f f t f i s 1 0 1082 1114 _null_ _null_ _null_ _null_ _null_ timestamp_date _null_ _null_ _null_ _null_ )
+insert ( 2031 timestamp_mi 11 10 12 1 0 0 0 f f f t f i s 2 0 1186 '1114 1114' _null_ _null_ _null_ _null_ _null_ timestamp_mi _null_ _null_ _null_ _null_ )
+insert ( 2032 timestamp_pl_interval 11 10 12 1 0 0 0 f f f t f i s 2 0 1114 '1114 1186' _null_ _null_ _null_ _null_ _null_ timestamp_pl_interval _null_ _null_ _null_ _null_ )
+insert ( 2033 timestamp_mi_interval 11 10 12 1 0 0 0 f f f t f i s 2 0 1114 '1114 1186' _null_ _null_ _null_ _null_ _null_ timestamp_mi_interval _null_ _null_ _null_ _null_ )
+insert ( 2035 timestamp_smaller 11 10 12 1 0 0 0 f f f t f i s 2 0 1114 '1114 1114' _null_ _null_ _null_ _null_ _null_ timestamp_smaller _null_ _null_ _null_ _null_ )
+insert ( 2036 timestamp_larger 11 10 12 1 0 0 0 f f f t f i s 2 0 1114 '1114 1114' _null_ _null_ _null_ _null_ _null_ timestamp_larger _null_ _null_ _null_ _null_ )
+insert ( 2037 timezone 11 10 12 1 0 0 0 f f f t f s s 2 0 1266 '25 1266' _null_ _null_ _null_ _null_ _null_ timetz_zone _null_ _null_ _null_ _null_ )
+insert ( 2038 timezone 11 10 12 1 0 0 0 f f f t f i s 2 0 1266 '1186 1266' _null_ _null_ _null_ _null_ _null_ timetz_izone _null_ _null_ _null_ _null_ )
+insert ( 2039 timestamp_hash 11 10 12 1 0 0 0 f f f t f i s 1 0 23 1114 _null_ _null_ _null_ _null_ _null_ timestamp_hash _null_ _null_ _null_ _null_ )
+insert ( 3411 timestamp_hash_extended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '1114 20' _null_ _null_ _null_ _null_ _null_ timestamp_hash_extended _null_ _null_ _null_ _null_ )
+insert ( 2041 overlaps 11 10 12 1 0 0 0 f f f f f i s 4 0 16 '1114 1114 1114 1114' _null_ _null_ _null_ _null_ _null_ overlaps_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2042 overlaps 11 10 14 1 0 0 0 f f f f f i s 4 0 16 '1114 1186 1114 1186' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 2043 overlaps 11 10 14 1 0 0 0 f f f f f i s 4 0 16 '1114 1114 1114 1186' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 2044 overlaps 11 10 14 1 0 0 0 f f f f f i s 4 0 16 '1114 1186 1114 1114' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 2045 timestamp_cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '1114 1114' _null_ _null_ _null_ _null_ _null_ timestamp_cmp _null_ _null_ _null_ _null_ )
+insert ( 3137 timestamp_sortsupport 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ timestamp_sortsupport _null_ _null_ _null_ _null_ )
+insert ( 4134 in_range 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '1114 1114 1186 16 16' _null_ _null_ _null_ _null_ _null_ in_range_timestamp_interval _null_ _null_ _null_ _null_ )
+insert ( 4135 in_range 11 10 12 1 0 0 0 f f f t f s s 5 0 16 '1184 1184 1186 16 16' _null_ _null_ _null_ _null_ _null_ in_range_timestamptz_interval _null_ _null_ _null_ _null_ )
+insert ( 4136 in_range 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '1186 1186 1186 16 16' _null_ _null_ _null_ _null_ _null_ in_range_interval_interval _null_ _null_ _null_ _null_ )
+insert ( 4137 in_range 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '1083 1083 1186 16 16' _null_ _null_ _null_ _null_ _null_ in_range_time_interval _null_ _null_ _null_ _null_ )
+insert ( 4138 in_range 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '1266 1266 1186 16 16' _null_ _null_ _null_ _null_ _null_ in_range_timetz_interval _null_ _null_ _null_ _null_ )
+insert ( 2046 time 11 10 12 1 0 0 0 f f f t f i s 1 0 1083 1266 _null_ _null_ _null_ _null_ _null_ timetz_time _null_ _null_ _null_ _null_ )
+insert ( 2047 timetz 11 10 12 1 0 0 0 f f f t f s s 1 0 1266 1083 _null_ _null_ _null_ _null_ _null_ time_timetz _null_ _null_ _null_ _null_ )
+insert ( 2048 isfinite 11 10 12 1 0 0 0 f f f t f i s 1 0 16 1114 _null_ _null_ _null_ _null_ _null_ timestamp_finite _null_ _null_ _null_ _null_ )
+insert ( 2049 to_char 11 10 12 1 0 0 0 f f f t f s s 2 0 25 '1114 25' _null_ _null_ _null_ _null_ _null_ timestamp_to_char _null_ _null_ _null_ _null_ )
+insert ( 2052 timestamp_eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1114 1114' _null_ _null_ _null_ _null_ _null_ timestamp_eq _null_ _null_ _null_ _null_ )
+insert ( 2053 timestamp_ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1114 1114' _null_ _null_ _null_ _null_ _null_ timestamp_ne _null_ _null_ _null_ _null_ )
+insert ( 2054 timestamp_lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1114 1114' _null_ _null_ _null_ _null_ _null_ timestamp_lt _null_ _null_ _null_ _null_ )
+insert ( 2055 timestamp_le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1114 1114' _null_ _null_ _null_ _null_ _null_ timestamp_le _null_ _null_ _null_ _null_ )
+insert ( 2056 timestamp_ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1114 1114' _null_ _null_ _null_ _null_ _null_ timestamp_ge _null_ _null_ _null_ _null_ )
+insert ( 2057 timestamp_gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1114 1114' _null_ _null_ _null_ _null_ _null_ timestamp_gt _null_ _null_ _null_ _null_ )
+insert ( 2058 age 11 10 12 1 0 0 0 f f f t f i s 2 0 1186 '1114 1114' _null_ _null_ _null_ _null_ _null_ timestamp_age _null_ _null_ _null_ _null_ )
+insert ( 2059 age 11 10 14 1 0 0 0 f f f t f s s 1 0 1186 1114 _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 2069 timezone 11 10 12 1 0 0 0 f f f t f i s 2 0 1184 '25 1114' _null_ _null_ _null_ _null_ _null_ timestamp_zone _null_ _null_ _null_ _null_ )
+insert ( 2070 timezone 11 10 12 1 0 0 0 f f f t f i s 2 0 1184 '1186 1114' _null_ _null_ _null_ _null_ _null_ timestamp_izone _null_ _null_ _null_ _null_ )
+insert ( 2071 date_pl_interval 11 10 12 1 0 0 0 f f f t f i s 2 0 1114 '1082 1186' _null_ _null_ _null_ _null_ _null_ date_pl_interval _null_ _null_ _null_ _null_ )
+insert ( 2072 date_mi_interval 11 10 12 1 0 0 0 f f f t f i s 2 0 1114 '1082 1186' _null_ _null_ _null_ _null_ _null_ date_mi_interval _null_ _null_ _null_ _null_ )
+insert ( 2073 substring 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '25 25' _null_ _null_ _null_ _null_ _null_ textregexsubstr _null_ _null_ _null_ _null_ )
+insert ( 2074 substring 11 10 14 1 0 0 0 f f f t f i s 3 0 25 '25 25 25' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 2075 bit 11 10 12 1 0 0 0 f f f t f i s 2 0 1560 '20 23' _null_ _null_ _null_ _null_ _null_ bitfromint8 _null_ _null_ _null_ _null_ )
+insert ( 2076 int8 11 10 12 1 0 0 0 f f f t f i s 1 0 20 1560 _null_ _null_ _null_ _null_ _null_ bittoint8 _null_ _null_ _null_ _null_ )
+insert ( 2077 current_setting 11 10 12 1 0 0 0 f f f t f s s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ show_config_by_name _null_ _null_ _null_ _null_ )
+insert ( 3294 current_setting 11 10 12 1 0 0 0 f f f t f s s 2 0 25 '25 16' _null_ _null_ _null_ _null_ _null_ show_config_by_name_missing_ok _null_ _null_ _null_ _null_ )
+insert ( 2078 set_config 11 10 12 1 0 0 0 f f f f f v u 3 0 25 '25 25 16' _null_ _null_ _null_ _null_ _null_ set_config_by_name _null_ _null_ _null_ _null_ )
+insert ( 2084 pg_show_all_settings 11 10 12 1 1000 0 0 f f f t t s s 0 0 2249 '' '{25,25,25,25,25,25,25,25,25,25,25,1009,25,25,25,23,16}' '{o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o}' '{name,setting,unit,category,short_desc,extra_desc,context,vartype,source,min_val,max_val,enumvals,boot_val,reset_val,sourcefile,sourceline,pending_restart}' _null_ _null_ show_all_settings _null_ _null_ _null_ _null_ )
+insert ( 6240 pg_settings_get_flags 11 10 12 1 0 0 0 f f f t f s s 1 0 1009 25 _null_ _null_ _null_ _null_ _null_ pg_settings_get_flags _null_ _null_ _null_ _null_ )
+insert ( 3329 pg_show_all_file_settings 11 10 12 1 1000 0 0 f f f t t v s 0 0 2249 '' '{25,23,23,25,25,16,25}' '{o,o,o,o,o,o,o}' '{sourcefile,sourceline,seqno,name,setting,applied,error}' _null_ _null_ show_all_file_settings _null_ _null_ _null_ _null_ )
+insert ( 3401 pg_hba_file_rules 11 10 12 1 1000 0 0 f f f t t v s 0 0 2249 '' '{23,25,23,25,1009,1009,25,25,25,1009,25}' '{o,o,o,o,o,o,o,o,o,o,o}' '{rule_number,file_name,line_number,type,database,user_name,address,netmask,auth_method,options,error}' _null_ _null_ pg_hba_file_rules _null_ _null_ _null_ _null_ )
+insert ( 6250 pg_ident_file_mappings 11 10 12 1 1000 0 0 f f f t t v s 0 0 2249 '' '{23,25,23,25,25,25,25}' '{o,o,o,o,o,o,o}' '{map_number,file_name,line_number,map_name,sys_name,pg_username,error}' _null_ _null_ pg_ident_file_mappings _null_ _null_ _null_ _null_ )
+insert ( 1371 pg_lock_status 11 10 12 1 1000 0 0 f f f t t v s 0 0 2249 '' '{25,26,26,23,21,25,28,26,26,21,25,23,25,16,16,1184}' '{o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o}' '{locktype,database,relation,page,tuple,virtualxid,transactionid,classid,objid,objsubid,virtualtransaction,pid,mode,granted,fastpath,waitstart}' _null_ _null_ pg_lock_status _null_ _null_ _null_ _null_ )
+insert ( 2561 pg_blocking_pids 11 10 12 1 0 0 0 f f f t f v s 1 0 1007 23 _null_ _null_ _null_ _null_ _null_ pg_blocking_pids _null_ _null_ _null_ _null_ )
+insert ( 3376 pg_safe_snapshot_blocking_pids 11 10 12 1 0 0 0 f f f t f v s 1 0 1007 23 _null_ _null_ _null_ _null_ _null_ pg_safe_snapshot_blocking_pids _null_ _null_ _null_ _null_ )
+insert ( 3378 pg_isolation_test_session_is_blocked 11 10 12 1 0 0 0 f f f t f v s 2 0 16 '23 1007' _null_ _null_ _null_ _null_ _null_ pg_isolation_test_session_is_blocked _null_ _null_ _null_ _null_ )
+insert ( 1065 pg_prepared_xact 11 10 12 1 1000 0 0 f f f t t v s 0 0 2249 '' '{28,25,1184,26,26}' '{o,o,o,o,o}' '{transaction,gid,prepared,ownerid,dbid}' _null_ _null_ pg_prepared_xact _null_ _null_ _null_ _null_ )
+insert ( 3819 pg_get_multixact_members 11 10 12 1 1000 0 0 f f f t t v s 1 0 2249 28 '{28,28,25}' '{i,o,o}' '{multixid,xid,mode}' _null_ _null_ pg_get_multixact_members _null_ _null_ _null_ _null_ )
+insert ( 3581 pg_xact_commit_timestamp 11 10 12 1 0 0 0 f f f t f v s 1 0 1184 28 _null_ _null_ _null_ _null_ _null_ pg_xact_commit_timestamp _null_ _null_ _null_ _null_ )
+insert ( 6168 pg_xact_commit_timestamp_origin 11 10 12 1 0 0 0 f f f t f v s 1 0 2249 28 '{28,1184,26}' '{i,o,o}' '{xid,timestamp,roident}' _null_ _null_ pg_xact_commit_timestamp_origin _null_ _null_ _null_ _null_ )
+insert ( 3583 pg_last_committed_xact 11 10 12 1 0 0 0 f f f t f v s 0 0 2249 '' '{28,1184,26}' '{o,o,o}' '{xid,timestamp,roident}' _null_ _null_ pg_last_committed_xact _null_ _null_ _null_ _null_ )
+insert ( 3537 pg_describe_object 11 10 12 1 0 0 0 f f f t f s s 3 0 25 '26 26 23' _null_ _null_ _null_ _null_ _null_ pg_describe_object _null_ _null_ _null_ _null_ )
+insert ( 3839 pg_identify_object 11 10 12 1 0 0 0 f f f t f s s 3 0 2249 '26 26 23' '{26,26,23,25,25,25,25}' '{i,i,i,o,o,o,o}' '{classid,objid,objsubid,type,schema,name,identity}' _null_ _null_ pg_identify_object _null_ _null_ _null_ _null_ )
+insert ( 3382 pg_identify_object_as_address 11 10 12 1 0 0 0 f f f t f s s 3 0 2249 '26 26 23' '{26,26,23,25,1009,1009}' '{i,i,i,o,o,o}' '{classid,objid,objsubid,type,object_names,object_args}' _null_ _null_ pg_identify_object_as_address _null_ _null_ _null_ _null_ )
+insert ( 3954 pg_get_object_address 11 10 12 1 0 0 0 f f f t f s s 3 0 2249 '25 1009 1009' '{25,1009,1009,26,26,23}' '{i,i,i,o,o,o}' '{type,object_names,object_args,classid,objid,objsubid}' _null_ _null_ pg_get_object_address _null_ _null_ _null_ _null_ )
+insert ( 2079 pg_table_is_visible 11 10 12 10 0 0 0 f f f t f s s 1 0 16 26 _null_ _null_ _null_ _null_ _null_ pg_table_is_visible _null_ _null_ _null_ _null_ )
+insert ( 2080 pg_type_is_visible 11 10 12 10 0 0 0 f f f t f s s 1 0 16 26 _null_ _null_ _null_ _null_ _null_ pg_type_is_visible _null_ _null_ _null_ _null_ )
+insert ( 2081 pg_function_is_visible 11 10 12 10 0 0 0 f f f t f s s 1 0 16 26 _null_ _null_ _null_ _null_ _null_ pg_function_is_visible _null_ _null_ _null_ _null_ )
+insert ( 2082 pg_operator_is_visible 11 10 12 10 0 0 0 f f f t f s s 1 0 16 26 _null_ _null_ _null_ _null_ _null_ pg_operator_is_visible _null_ _null_ _null_ _null_ )
+insert ( 2083 pg_opclass_is_visible 11 10 12 10 0 0 0 f f f t f s s 1 0 16 26 _null_ _null_ _null_ _null_ _null_ pg_opclass_is_visible _null_ _null_ _null_ _null_ )
+insert ( 3829 pg_opfamily_is_visible 11 10 12 10 0 0 0 f f f t f s s 1 0 16 26 _null_ _null_ _null_ _null_ _null_ pg_opfamily_is_visible _null_ _null_ _null_ _null_ )
+insert ( 2093 pg_conversion_is_visible 11 10 12 10 0 0 0 f f f t f s s 1 0 16 26 _null_ _null_ _null_ _null_ _null_ pg_conversion_is_visible _null_ _null_ _null_ _null_ )
+insert ( 3403 pg_statistics_obj_is_visible 11 10 12 10 0 0 0 f f f t f s s 1 0 16 26 _null_ _null_ _null_ _null_ _null_ pg_statistics_obj_is_visible _null_ _null_ _null_ _null_ )
+insert ( 3756 pg_ts_parser_is_visible 11 10 12 10 0 0 0 f f f t f s s 1 0 16 26 _null_ _null_ _null_ _null_ _null_ pg_ts_parser_is_visible _null_ _null_ _null_ _null_ )
+insert ( 3757 pg_ts_dict_is_visible 11 10 12 10 0 0 0 f f f t f s s 1 0 16 26 _null_ _null_ _null_ _null_ _null_ pg_ts_dict_is_visible _null_ _null_ _null_ _null_ )
+insert ( 3768 pg_ts_template_is_visible 11 10 12 10 0 0 0 f f f t f s s 1 0 16 26 _null_ _null_ _null_ _null_ _null_ pg_ts_template_is_visible _null_ _null_ _null_ _null_ )
+insert ( 3758 pg_ts_config_is_visible 11 10 12 10 0 0 0 f f f t f s s 1 0 16 26 _null_ _null_ _null_ _null_ _null_ pg_ts_config_is_visible _null_ _null_ _null_ _null_ )
+insert ( 3815 pg_collation_is_visible 11 10 12 10 0 0 0 f f f t f s s 1 0 16 26 _null_ _null_ _null_ _null_ _null_ pg_collation_is_visible _null_ _null_ _null_ _null_ )
+insert ( 2854 pg_my_temp_schema 11 10 12 1 0 0 0 f f f t f s r 0 0 26 '' _null_ _null_ _null_ _null_ _null_ pg_my_temp_schema _null_ _null_ _null_ _null_ )
+insert ( 2855 pg_is_other_temp_schema 11 10 12 1 0 0 0 f f f t f s s 1 0 16 26 _null_ _null_ _null_ _null_ _null_ pg_is_other_temp_schema _null_ _null_ _null_ _null_ )
+insert ( 2171 pg_cancel_backend 11 10 12 1 0 0 0 f f f t f v s 1 0 16 23 _null_ _null_ _null_ _null_ _null_ pg_cancel_backend _null_ _null_ _null_ _null_ )
+insert ( 2096 pg_terminate_backend 11 10 12 1 0 0 0 f f f t f v s 2 0 16 '23 20' _null_ _null_ '{pid,timeout}' _null_ _null_ pg_terminate_backend _null_ _null_ _null_ _null_ )
+insert ( 2172 pg_backup_start 11 10 12 1 0 0 0 f f f t f v r 2 0 3220 '25 16' _null_ _null_ _null_ _null_ _null_ pg_backup_start _null_ _null_ _null_ _null_ )
+insert ( 2739 pg_backup_stop 11 10 12 1 0 0 0 f f f t f v r 1 0 2249 16 '{16,3220,25,25}' '{i,o,o,o}' '{wait_for_archive,lsn,labelfile,spcmapfile}' _null_ _null_ pg_backup_stop _null_ _null_ _null_ _null_ )
+insert ( 3436 pg_promote 11 10 12 1 0 0 0 f f f t f v s 2 0 16 '16 23' _null_ _null_ '{wait,wait_seconds}' _null_ _null_ pg_promote _null_ _null_ _null_ _null_ )
+insert ( 2848 pg_switch_wal 11 10 12 1 0 0 0 f f f t f v s 0 0 3220 '' _null_ _null_ _null_ _null_ _null_ pg_switch_wal _null_ _null_ _null_ _null_ )
+insert ( 6305 pg_log_standby_snapshot 11 10 12 1 0 0 0 f f f t f v s 0 0 3220 '' _null_ _null_ _null_ _null_ _null_ pg_log_standby_snapshot _null_ _null_ _null_ _null_ )
+insert ( 3098 pg_create_restore_point 11 10 12 1 0 0 0 f f f t f v s 1 0 3220 25 _null_ _null_ _null_ _null_ _null_ pg_create_restore_point _null_ _null_ _null_ _null_ )
+insert ( 2849 pg_current_wal_lsn 11 10 12 1 0 0 0 f f f t f v s 0 0 3220 '' _null_ _null_ _null_ _null_ _null_ pg_current_wal_lsn _null_ _null_ _null_ _null_ )
+insert ( 2852 pg_current_wal_insert_lsn 11 10 12 1 0 0 0 f f f t f v s 0 0 3220 '' _null_ _null_ _null_ _null_ _null_ pg_current_wal_insert_lsn _null_ _null_ _null_ _null_ )
+insert ( 3330 pg_current_wal_flush_lsn 11 10 12 1 0 0 0 f f f t f v s 0 0 3220 '' _null_ _null_ _null_ _null_ _null_ pg_current_wal_flush_lsn _null_ _null_ _null_ _null_ )
+insert ( 2850 pg_walfile_name_offset 11 10 12 1 0 0 0 f f f t f i s 1 0 2249 3220 '{3220,25,23}' '{i,o,o}' '{lsn,file_name,file_offset}' _null_ _null_ pg_walfile_name_offset _null_ _null_ _null_ _null_ )
+insert ( 2851 pg_walfile_name 11 10 12 1 0 0 0 f f f t f i s 1 0 25 3220 _null_ _null_ _null_ _null_ _null_ pg_walfile_name _null_ _null_ _null_ _null_ )
+insert ( 6213 pg_split_walfile_name 11 10 12 1 0 0 0 f f f t f s s 1 0 2249 25 '{25,1700,20}' '{i,o,o}' '{file_name,segment_number,timeline_id}' _null_ _null_ pg_split_walfile_name _null_ _null_ _null_ _null_ )
+insert ( 3165 pg_wal_lsn_diff 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '3220 3220' _null_ _null_ _null_ _null_ _null_ pg_wal_lsn_diff _null_ _null_ _null_ _null_ )
+insert ( 3809 pg_export_snapshot 11 10 12 1 0 0 0 f f f t f v u 0 0 25 '' _null_ _null_ _null_ _null_ _null_ pg_export_snapshot _null_ _null_ _null_ _null_ )
+insert ( 3810 pg_is_in_recovery 11 10 12 1 0 0 0 f f f t f v s 0 0 16 '' _null_ _null_ _null_ _null_ _null_ pg_is_in_recovery _null_ _null_ _null_ _null_ )
+insert ( 3820 pg_last_wal_receive_lsn 11 10 12 1 0 0 0 f f f t f v s 0 0 3220 '' _null_ _null_ _null_ _null_ _null_ pg_last_wal_receive_lsn _null_ _null_ _null_ _null_ )
+insert ( 3821 pg_last_wal_replay_lsn 11 10 12 1 0 0 0 f f f t f v s 0 0 3220 '' _null_ _null_ _null_ _null_ _null_ pg_last_wal_replay_lsn _null_ _null_ _null_ _null_ )
+insert ( 3830 pg_last_xact_replay_timestamp 11 10 12 1 0 0 0 f f f t f v s 0 0 1184 '' _null_ _null_ _null_ _null_ _null_ pg_last_xact_replay_timestamp _null_ _null_ _null_ _null_ )
+insert ( 3071 pg_wal_replay_pause 11 10 12 1 0 0 0 f f f t f v s 0 0 2278 '' _null_ _null_ _null_ _null_ _null_ pg_wal_replay_pause _null_ _null_ _null_ _null_ )
+insert ( 3072 pg_wal_replay_resume 11 10 12 1 0 0 0 f f f t f v s 0 0 2278 '' _null_ _null_ _null_ _null_ _null_ pg_wal_replay_resume _null_ _null_ _null_ _null_ )
+insert ( 3073 pg_is_wal_replay_paused 11 10 12 1 0 0 0 f f f t f v s 0 0 16 '' _null_ _null_ _null_ _null_ _null_ pg_is_wal_replay_paused _null_ _null_ _null_ _null_ )
+insert ( 1137 pg_get_wal_replay_pause_state 11 10 12 1 0 0 0 f f f t f v s 0 0 25 '' _null_ _null_ _null_ _null_ _null_ pg_get_wal_replay_pause_state _null_ _null_ _null_ _null_ )
+insert ( 6224 pg_get_wal_resource_managers 11 10 12 1 50 0 0 f f f t t v s 0 0 2249 '' '{23,25,16}' '{o,o,o}' '{rm_id, rm_name, rm_builtin}' _null_ _null_ pg_get_wal_resource_managers _null_ _null_ _null_ _null_ )
+insert ( 2621 pg_reload_conf 11 10 12 1 0 0 0 f f f t f v s 0 0 16 '' _null_ _null_ _null_ _null_ _null_ pg_reload_conf _null_ _null_ _null_ _null_ )
+insert ( 2622 pg_rotate_logfile 11 10 12 1 0 0 0 f f f t f v s 0 0 16 '' _null_ _null_ _null_ _null_ _null_ pg_rotate_logfile_v2 _null_ _null_ _null_ _null_ )
+insert ( 4099 pg_rotate_logfile_old 11 10 12 1 0 0 0 f f f t f v s 0 0 16 '' _null_ _null_ _null_ _null_ _null_ pg_rotate_logfile _null_ _null_ _null_ _null_ )
+insert ( 3800 pg_current_logfile 11 10 12 1 0 0 0 f f f f f v s 0 0 25 '' _null_ _null_ _null_ _null_ _null_ pg_current_logfile _null_ _null_ _null_ _null_ )
+insert ( 3801 pg_current_logfile 11 10 12 1 0 0 0 f f f f f v s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ pg_current_logfile_1arg _null_ _null_ _null_ _null_ )
+insert ( 2623 pg_stat_file 11 10 12 1 0 0 0 f f f t f v s 1 0 2249 25 '{25,20,1184,1184,1184,1184,16}' '{i,o,o,o,o,o,o}' '{filename,size,access,modification,change,creation,isdir}' _null_ _null_ pg_stat_file_1arg _null_ _null_ _null_ _null_ )
+insert ( 3307 pg_stat_file 11 10 12 1 0 0 0 f f f t f v s 2 0 2249 '25 16' '{25,16,20,1184,1184,1184,1184,16}' '{i,i,o,o,o,o,o,o}' '{filename,missing_ok,size,access,modification,change,creation,isdir}' _null_ _null_ pg_stat_file _null_ _null_ _null_ _null_ )
+insert ( 2624 pg_read_file 11 10 12 1 0 0 0 f f f t f v s 3 0 25 '25 20 20' _null_ _null_ _null_ _null_ _null_ pg_read_file_off_len _null_ _null_ _null_ _null_ )
+insert ( 3293 pg_read_file 11 10 12 1 0 0 0 f f f t f v s 4 0 25 '25 20 20 16' _null_ _null_ _null_ _null_ _null_ pg_read_file_off_len_missing _null_ _null_ _null_ _null_ )
+insert ( 4100 pg_read_file_old 11 10 12 1 0 0 0 f f f t f v s 3 0 25 '25 20 20' _null_ _null_ _null_ _null_ _null_ pg_read_file _null_ _null_ _null_ _null_ )
+insert ( 3826 pg_read_file 11 10 12 1 0 0 0 f f f t f v s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ pg_read_file_all _null_ _null_ _null_ _null_ )
+insert ( 6208 pg_read_file 11 10 12 1 0 0 0 f f f t f v s 2 0 25 '25 16' _null_ _null_ _null_ _null_ _null_ pg_read_file_all_missing _null_ _null_ _null_ _null_ )
+insert ( 3827 pg_read_binary_file 11 10 12 1 0 0 0 f f f t f v s 3 0 17 '25 20 20' _null_ _null_ _null_ _null_ _null_ pg_read_binary_file_off_len _null_ _null_ _null_ _null_ )
+insert ( 3295 pg_read_binary_file 11 10 12 1 0 0 0 f f f t f v s 4 0 17 '25 20 20 16' _null_ _null_ _null_ _null_ _null_ pg_read_binary_file_off_len_missing _null_ _null_ _null_ _null_ )
+insert ( 3828 pg_read_binary_file 11 10 12 1 0 0 0 f f f t f v s 1 0 17 25 _null_ _null_ _null_ _null_ _null_ pg_read_binary_file_all _null_ _null_ _null_ _null_ )
+insert ( 6209 pg_read_binary_file 11 10 12 1 0 0 0 f f f t f v s 2 0 17 '25 16' _null_ _null_ _null_ _null_ _null_ pg_read_binary_file_all_missing _null_ _null_ _null_ _null_ )
+insert ( 2625 pg_ls_dir 11 10 12 1 1000 0 0 f f f t t v s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ pg_ls_dir_1arg _null_ _null_ _null_ _null_ )
+insert ( 3297 pg_ls_dir 11 10 12 1 1000 0 0 f f f t t v s 3 0 25 '25 16 16' _null_ _null_ _null_ _null_ _null_ pg_ls_dir _null_ _null_ _null_ _null_ )
+insert ( 2626 pg_sleep 11 10 12 1 0 0 0 f f f t f v s 1 0 2278 701 _null_ _null_ _null_ _null_ _null_ pg_sleep _null_ _null_ _null_ _null_ )
+insert ( 3935 pg_sleep_for 11 10 14 1 0 0 0 f f f t f v s 1 0 2278 1186 _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 3936 pg_sleep_until 11 10 14 1 0 0 0 f f f t f v s 1 0 2278 1184 _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 315 pg_jit_available 11 10 12 1 0 0 0 f f f t f v s 0 0 16 '' _null_ _null_ _null_ _null_ _null_ pg_jit_available _null_ _null_ _null_ _null_ )
+insert ( 2971 text 11 10 12 1 0 0 0 f f f t f i s 1 0 25 16 _null_ _null_ _null_ _null_ _null_ booltext _null_ _null_ _null_ _null_ )
+insert ( 2100 avg 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 20 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2101 avg 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 23 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2102 avg 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 21 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2103 avg 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2104 avg 11 10 12 1 0 0 0 a f f f f i s 1 0 701 700 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2105 avg 11 10 12 1 0 0 0 a f f f f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2106 avg 11 10 12 1 0 0 0 a f f f f i s 1 0 1186 1186 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2107 sum 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 20 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2108 sum 11 10 12 1 0 0 0 a f f f f i s 1 0 20 23 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2109 sum 11 10 12 1 0 0 0 a f f f f i s 1 0 20 21 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2110 sum 11 10 12 1 0 0 0 a f f f f i s 1 0 700 700 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2111 sum 11 10 12 1 0 0 0 a f f f f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2112 sum 11 10 12 1 0 0 0 a f f f f i s 1 0 790 790 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2113 sum 11 10 12 1 0 0 0 a f f f f i s 1 0 1186 1186 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2114 sum 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2115 max 11 10 12 1 0 0 0 a f f f f i s 1 0 20 20 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2116 max 11 10 12 1 0 0 0 a f f f f i s 1 0 23 23 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2117 max 11 10 12 1 0 0 0 a f f f f i s 1 0 21 21 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2118 max 11 10 12 1 0 0 0 a f f f f i s 1 0 26 26 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2119 max 11 10 12 1 0 0 0 a f f f f i s 1 0 700 700 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2120 max 11 10 12 1 0 0 0 a f f f f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2122 max 11 10 12 1 0 0 0 a f f f f i s 1 0 1082 1082 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2123 max 11 10 12 1 0 0 0 a f f f f i s 1 0 1083 1083 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2124 max 11 10 12 1 0 0 0 a f f f f i s 1 0 1266 1266 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2125 max 11 10 12 1 0 0 0 a f f f f i s 1 0 790 790 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2126 max 11 10 12 1 0 0 0 a f f f f i s 1 0 1114 1114 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2127 max 11 10 12 1 0 0 0 a f f f f i s 1 0 1184 1184 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2128 max 11 10 12 1 0 0 0 a f f f f i s 1 0 1186 1186 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2129 max 11 10 12 1 0 0 0 a f f f f i s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2130 max 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2050 max 11 10 12 1 0 0 0 a f f f f i s 1 0 2277 2277 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2244 max 11 10 12 1 0 0 0 a f f f f i s 1 0 1042 1042 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2797 max 11 10 12 1 0 0 0 a f f f f i s 1 0 27 27 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3564 max 11 10 12 1 0 0 0 a f f f f i s 1 0 869 869 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 4189 max 11 10 12 1 0 0 0 a f f f f i s 1 0 3220 3220 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 5099 max 11 10 12 1 0 0 0 a f f f f i s 1 0 5069 5069 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2131 min 11 10 12 1 0 0 0 a f f f f i s 1 0 20 20 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2132 min 11 10 12 1 0 0 0 a f f f f i s 1 0 23 23 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2133 min 11 10 12 1 0 0 0 a f f f f i s 1 0 21 21 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2134 min 11 10 12 1 0 0 0 a f f f f i s 1 0 26 26 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2135 min 11 10 12 1 0 0 0 a f f f f i s 1 0 700 700 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2136 min 11 10 12 1 0 0 0 a f f f f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2138 min 11 10 12 1 0 0 0 a f f f f i s 1 0 1082 1082 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2139 min 11 10 12 1 0 0 0 a f f f f i s 1 0 1083 1083 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2140 min 11 10 12 1 0 0 0 a f f f f i s 1 0 1266 1266 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2141 min 11 10 12 1 0 0 0 a f f f f i s 1 0 790 790 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2142 min 11 10 12 1 0 0 0 a f f f f i s 1 0 1114 1114 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2143 min 11 10 12 1 0 0 0 a f f f f i s 1 0 1184 1184 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2144 min 11 10 12 1 0 0 0 a f f f f i s 1 0 1186 1186 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2145 min 11 10 12 1 0 0 0 a f f f f i s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2146 min 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2051 min 11 10 12 1 0 0 0 a f f f f i s 1 0 2277 2277 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2245 min 11 10 12 1 0 0 0 a f f f f i s 1 0 1042 1042 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2798 min 11 10 12 1 0 0 0 a f f f f i s 1 0 27 27 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3565 min 11 10 12 1 0 0 0 a f f f f i s 1 0 869 869 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 4190 min 11 10 12 1 0 0 0 a f f f f i s 1 0 3220 3220 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 5100 min 11 10 12 1 0 0 0 a f f f f i s 1 0 5069 5069 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2147 count 11 10 12 1 0 0 6236 a f f f f i s 1 0 20 2276 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2803 count 11 10 12 1 0 0 6236 a f f f f i s 0 0 20 '' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 6236 int8inc_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ int8inc_support _null_ _null_ _null_ _null_ )
+insert ( 2718 var_pop 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 20 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2719 var_pop 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 23 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2720 var_pop 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 21 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2721 var_pop 11 10 12 1 0 0 0 a f f f f i s 1 0 701 700 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2722 var_pop 11 10 12 1 0 0 0 a f f f f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2723 var_pop 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2641 var_samp 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 20 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2642 var_samp 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 23 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2643 var_samp 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 21 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2644 var_samp 11 10 12 1 0 0 0 a f f f f i s 1 0 701 700 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2645 var_samp 11 10 12 1 0 0 0 a f f f f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2646 var_samp 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2148 variance 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 20 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2149 variance 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 23 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2150 variance 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 21 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2151 variance 11 10 12 1 0 0 0 a f f f f i s 1 0 701 700 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2152 variance 11 10 12 1 0 0 0 a f f f f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2153 variance 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2724 stddev_pop 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 20 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2725 stddev_pop 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 23 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2726 stddev_pop 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 21 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2727 stddev_pop 11 10 12 1 0 0 0 a f f f f i s 1 0 701 700 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2728 stddev_pop 11 10 12 1 0 0 0 a f f f f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2729 stddev_pop 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2712 stddev_samp 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 20 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2713 stddev_samp 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 23 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2714 stddev_samp 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 21 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2715 stddev_samp 11 10 12 1 0 0 0 a f f f f i s 1 0 701 700 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2716 stddev_samp 11 10 12 1 0 0 0 a f f f f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2717 stddev_samp 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2154 stddev 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 20 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2155 stddev 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 23 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2156 stddev 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 21 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2157 stddev 11 10 12 1 0 0 0 a f f f f i s 1 0 701 700 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2158 stddev 11 10 12 1 0 0 0 a f f f f i s 1 0 701 701 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2159 stddev 11 10 12 1 0 0 0 a f f f f i s 1 0 1700 1700 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2818 regr_count 11 10 12 1 0 0 0 a f f f f i s 2 0 20 '701 701' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2819 regr_sxx 11 10 12 1 0 0 0 a f f f f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2820 regr_syy 11 10 12 1 0 0 0 a f f f f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2821 regr_sxy 11 10 12 1 0 0 0 a f f f f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2822 regr_avgx 11 10 12 1 0 0 0 a f f f f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2823 regr_avgy 11 10 12 1 0 0 0 a f f f f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2824 regr_r2 11 10 12 1 0 0 0 a f f f f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2825 regr_slope 11 10 12 1 0 0 0 a f f f f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2826 regr_intercept 11 10 12 1 0 0 0 a f f f f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2827 covar_pop 11 10 12 1 0 0 0 a f f f f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2828 covar_samp 11 10 12 1 0 0 0 a f f f f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2829 corr 11 10 12 1 0 0 0 a f f f f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2160 text_pattern_lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ text_pattern_lt _null_ _null_ _null_ _null_ )
+insert ( 2161 text_pattern_le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ text_pattern_le _null_ _null_ _null_ _null_ )
+insert ( 2163 text_pattern_ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ text_pattern_ge _null_ _null_ _null_ _null_ )
+insert ( 2164 text_pattern_gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ text_pattern_gt _null_ _null_ _null_ _null_ )
+insert ( 2166 bttext_pattern_cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '25 25' _null_ _null_ _null_ _null_ _null_ bttext_pattern_cmp _null_ _null_ _null_ _null_ )
+insert ( 3332 bttext_pattern_sortsupport 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ bttext_pattern_sortsupport _null_ _null_ _null_ _null_ )
+insert ( 2174 bpchar_pattern_lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1042 1042' _null_ _null_ _null_ _null_ _null_ bpchar_pattern_lt _null_ _null_ _null_ _null_ )
+insert ( 2175 bpchar_pattern_le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1042 1042' _null_ _null_ _null_ _null_ _null_ bpchar_pattern_le _null_ _null_ _null_ _null_ )
+insert ( 2177 bpchar_pattern_ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1042 1042' _null_ _null_ _null_ _null_ _null_ bpchar_pattern_ge _null_ _null_ _null_ _null_ )
+insert ( 2178 bpchar_pattern_gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '1042 1042' _null_ _null_ _null_ _null_ _null_ bpchar_pattern_gt _null_ _null_ _null_ _null_ )
+insert ( 2180 btbpchar_pattern_cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '1042 1042' _null_ _null_ _null_ _null_ _null_ btbpchar_pattern_cmp _null_ _null_ _null_ _null_ )
+insert ( 3333 btbpchar_pattern_sortsupport 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ btbpchar_pattern_sortsupport _null_ _null_ _null_ _null_ )
+insert ( 2188 btint48cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '23 20' _null_ _null_ _null_ _null_ _null_ btint48cmp _null_ _null_ _null_ _null_ )
+insert ( 2189 btint84cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '20 23' _null_ _null_ _null_ _null_ _null_ btint84cmp _null_ _null_ _null_ _null_ )
+insert ( 2190 btint24cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '21 23' _null_ _null_ _null_ _null_ _null_ btint24cmp _null_ _null_ _null_ _null_ )
+insert ( 2191 btint42cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '23 21' _null_ _null_ _null_ _null_ _null_ btint42cmp _null_ _null_ _null_ _null_ )
+insert ( 2192 btint28cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '21 20' _null_ _null_ _null_ _null_ _null_ btint28cmp _null_ _null_ _null_ _null_ )
+insert ( 2193 btint82cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '20 21' _null_ _null_ _null_ _null_ _null_ btint82cmp _null_ _null_ _null_ _null_ )
+insert ( 2194 btfloat48cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '700 701' _null_ _null_ _null_ _null_ _null_ btfloat48cmp _null_ _null_ _null_ _null_ )
+insert ( 2195 btfloat84cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '701 700' _null_ _null_ _null_ _null_ _null_ btfloat84cmp _null_ _null_ _null_ _null_ )
+insert ( 2212 regprocedurein 11 10 12 1 0 0 0 f f f t f s s 1 0 2202 2275 _null_ _null_ _null_ _null_ _null_ regprocedurein _null_ _null_ _null_ _null_ )
+insert ( 2213 regprocedureout 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 2202 _null_ _null_ _null_ _null_ _null_ regprocedureout _null_ _null_ _null_ _null_ )
+insert ( 2214 regoperin 11 10 12 1 0 0 0 f f f t f s s 1 0 2203 2275 _null_ _null_ _null_ _null_ _null_ regoperin _null_ _null_ _null_ _null_ )
+insert ( 2215 regoperout 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 2203 _null_ _null_ _null_ _null_ _null_ regoperout _null_ _null_ _null_ _null_ )
+insert ( 3492 to_regoper 11 10 12 1 0 0 0 f f f t f s s 1 0 2203 25 _null_ _null_ _null_ _null_ _null_ to_regoper _null_ _null_ _null_ _null_ )
+insert ( 3476 to_regoperator 11 10 12 1 0 0 0 f f f t f s s 1 0 2204 25 _null_ _null_ _null_ _null_ _null_ to_regoperator _null_ _null_ _null_ _null_ )
+insert ( 2216 regoperatorin 11 10 12 1 0 0 0 f f f t f s s 1 0 2204 2275 _null_ _null_ _null_ _null_ _null_ regoperatorin _null_ _null_ _null_ _null_ )
+insert ( 2217 regoperatorout 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 2204 _null_ _null_ _null_ _null_ _null_ regoperatorout _null_ _null_ _null_ _null_ )
+insert ( 2218 regclassin 11 10 12 1 0 0 0 f f f t f s s 1 0 2205 2275 _null_ _null_ _null_ _null_ _null_ regclassin _null_ _null_ _null_ _null_ )
+insert ( 2219 regclassout 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 2205 _null_ _null_ _null_ _null_ _null_ regclassout _null_ _null_ _null_ _null_ )
+insert ( 3495 to_regclass 11 10 12 1 0 0 0 f f f t f s s 1 0 2205 25 _null_ _null_ _null_ _null_ _null_ to_regclass _null_ _null_ _null_ _null_ )
+insert ( 4193 regcollationin 11 10 12 1 0 0 0 f f f t f s s 1 0 4191 2275 _null_ _null_ _null_ _null_ _null_ regcollationin _null_ _null_ _null_ _null_ )
+insert ( 4194 regcollationout 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 4191 _null_ _null_ _null_ _null_ _null_ regcollationout _null_ _null_ _null_ _null_ )
+insert ( 4195 to_regcollation 11 10 12 1 0 0 0 f f f t f s s 1 0 4191 25 _null_ _null_ _null_ _null_ _null_ to_regcollation _null_ _null_ _null_ _null_ )
+insert ( 2220 regtypein 11 10 12 1 0 0 0 f f f t f s s 1 0 2206 2275 _null_ _null_ _null_ _null_ _null_ regtypein _null_ _null_ _null_ _null_ )
+insert ( 2221 regtypeout 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 2206 _null_ _null_ _null_ _null_ _null_ regtypeout _null_ _null_ _null_ _null_ )
+insert ( 3493 to_regtype 11 10 12 1 0 0 0 f f f t f s s 1 0 2206 25 _null_ _null_ _null_ _null_ _null_ to_regtype _null_ _null_ _null_ _null_ )
+insert ( 1079 regclass 11 10 12 1 0 0 0 f f f t f s s 1 0 2205 25 _null_ _null_ _null_ _null_ _null_ text_regclass _null_ _null_ _null_ _null_ )
+insert ( 4098 regrolein 11 10 12 1 0 0 0 f f f t f s s 1 0 4096 2275 _null_ _null_ _null_ _null_ _null_ regrolein _null_ _null_ _null_ _null_ )
+insert ( 4092 regroleout 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 4096 _null_ _null_ _null_ _null_ _null_ regroleout _null_ _null_ _null_ _null_ )
+insert ( 4093 to_regrole 11 10 12 1 0 0 0 f f f t f s s 1 0 4096 25 _null_ _null_ _null_ _null_ _null_ to_regrole _null_ _null_ _null_ _null_ )
+insert ( 4084 regnamespacein 11 10 12 1 0 0 0 f f f t f s s 1 0 4089 2275 _null_ _null_ _null_ _null_ _null_ regnamespacein _null_ _null_ _null_ _null_ )
+insert ( 4085 regnamespaceout 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 4089 _null_ _null_ _null_ _null_ _null_ regnamespaceout _null_ _null_ _null_ _null_ )
+insert ( 4086 to_regnamespace 11 10 12 1 0 0 0 f f f t f s s 1 0 4089 25 _null_ _null_ _null_ _null_ _null_ to_regnamespace _null_ _null_ _null_ _null_ )
+insert ( 6210 pg_input_is_valid 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ pg_input_is_valid _null_ _null_ _null_ _null_ )
+insert ( 6211 pg_input_error_info 11 10 12 1 0 0 0 f f f t f s s 2 0 2249 '25 25' '{25,25,25,25,25,25}' '{i,i,o,o,o,o}' '{value,type_name,message,detail,hint,sql_error_code}' _null_ _null_ pg_input_error_info _null_ _null_ _null_ _null_ )
+insert ( 1268 parse_ident 11 10 12 1 0 0 0 f f f t f i s 2 0 1009 '25 16' _null_ _null_ '{str,strict}' _null_ _null_ parse_ident _null_ _null_ _null_ _null_ )
+insert ( 2246 fmgr_internal_validator 11 10 12 1 0 0 0 f f f t f s s 1 0 2278 26 _null_ _null_ _null_ _null_ _null_ fmgr_internal_validator _null_ _null_ _null_ _null_ )
+insert ( 2247 fmgr_c_validator 11 10 12 1 0 0 0 f f f t f s s 1 0 2278 26 _null_ _null_ _null_ _null_ _null_ fmgr_c_validator _null_ _null_ _null_ _null_ )
+insert ( 2248 fmgr_sql_validator 11 10 12 1 0 0 0 f f f t f s s 1 0 2278 26 _null_ _null_ _null_ _null_ _null_ fmgr_sql_validator _null_ _null_ _null_ _null_ )
+insert ( 2250 has_database_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 25 25' _null_ _null_ _null_ _null_ _null_ has_database_privilege_name_name _null_ _null_ _null_ _null_ )
+insert ( 2251 has_database_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 26 25' _null_ _null_ _null_ _null_ _null_ has_database_privilege_name_id _null_ _null_ _null_ _null_ )
+insert ( 2252 has_database_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 25 25' _null_ _null_ _null_ _null_ _null_ has_database_privilege_id_name _null_ _null_ _null_ _null_ )
+insert ( 2253 has_database_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 26 25' _null_ _null_ _null_ _null_ _null_ has_database_privilege_id_id _null_ _null_ _null_ _null_ )
+insert ( 2254 has_database_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ has_database_privilege_name _null_ _null_ _null_ _null_ )
+insert ( 2255 has_database_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '26 25' _null_ _null_ _null_ _null_ _null_ has_database_privilege_id _null_ _null_ _null_ _null_ )
+insert ( 2256 has_function_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 25 25' _null_ _null_ _null_ _null_ _null_ has_function_privilege_name_name _null_ _null_ _null_ _null_ )
+insert ( 2257 has_function_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 26 25' _null_ _null_ _null_ _null_ _null_ has_function_privilege_name_id _null_ _null_ _null_ _null_ )
+insert ( 2258 has_function_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 25 25' _null_ _null_ _null_ _null_ _null_ has_function_privilege_id_name _null_ _null_ _null_ _null_ )
+insert ( 2259 has_function_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 26 25' _null_ _null_ _null_ _null_ _null_ has_function_privilege_id_id _null_ _null_ _null_ _null_ )
+insert ( 2260 has_function_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ has_function_privilege_name _null_ _null_ _null_ _null_ )
+insert ( 2261 has_function_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '26 25' _null_ _null_ _null_ _null_ _null_ has_function_privilege_id _null_ _null_ _null_ _null_ )
+insert ( 2262 has_language_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 25 25' _null_ _null_ _null_ _null_ _null_ has_language_privilege_name_name _null_ _null_ _null_ _null_ )
+insert ( 2263 has_language_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 26 25' _null_ _null_ _null_ _null_ _null_ has_language_privilege_name_id _null_ _null_ _null_ _null_ )
+insert ( 2264 has_language_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 25 25' _null_ _null_ _null_ _null_ _null_ has_language_privilege_id_name _null_ _null_ _null_ _null_ )
+insert ( 2265 has_language_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 26 25' _null_ _null_ _null_ _null_ _null_ has_language_privilege_id_id _null_ _null_ _null_ _null_ )
+insert ( 2266 has_language_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ has_language_privilege_name _null_ _null_ _null_ _null_ )
+insert ( 2267 has_language_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '26 25' _null_ _null_ _null_ _null_ _null_ has_language_privilege_id _null_ _null_ _null_ _null_ )
+insert ( 2268 has_schema_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 25 25' _null_ _null_ _null_ _null_ _null_ has_schema_privilege_name_name _null_ _null_ _null_ _null_ )
+insert ( 2269 has_schema_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 26 25' _null_ _null_ _null_ _null_ _null_ has_schema_privilege_name_id _null_ _null_ _null_ _null_ )
+insert ( 2270 has_schema_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 25 25' _null_ _null_ _null_ _null_ _null_ has_schema_privilege_id_name _null_ _null_ _null_ _null_ )
+insert ( 2271 has_schema_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 26 25' _null_ _null_ _null_ _null_ _null_ has_schema_privilege_id_id _null_ _null_ _null_ _null_ )
+insert ( 2272 has_schema_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ has_schema_privilege_name _null_ _null_ _null_ _null_ )
+insert ( 2273 has_schema_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '26 25' _null_ _null_ _null_ _null_ _null_ has_schema_privilege_id _null_ _null_ _null_ _null_ )
+insert ( 2390 has_tablespace_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 25 25' _null_ _null_ _null_ _null_ _null_ has_tablespace_privilege_name_name _null_ _null_ _null_ _null_ )
+insert ( 2391 has_tablespace_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 26 25' _null_ _null_ _null_ _null_ _null_ has_tablespace_privilege_name_id _null_ _null_ _null_ _null_ )
+insert ( 2392 has_tablespace_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 25 25' _null_ _null_ _null_ _null_ _null_ has_tablespace_privilege_id_name _null_ _null_ _null_ _null_ )
+insert ( 2393 has_tablespace_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 26 25' _null_ _null_ _null_ _null_ _null_ has_tablespace_privilege_id_id _null_ _null_ _null_ _null_ )
+insert ( 2394 has_tablespace_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ has_tablespace_privilege_name _null_ _null_ _null_ _null_ )
+insert ( 2395 has_tablespace_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '26 25' _null_ _null_ _null_ _null_ _null_ has_tablespace_privilege_id _null_ _null_ _null_ _null_ )
+insert ( 3000 has_foreign_data_wrapper_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 25 25' _null_ _null_ _null_ _null_ _null_ has_foreign_data_wrapper_privilege_name_name _null_ _null_ _null_ _null_ )
+insert ( 3001 has_foreign_data_wrapper_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 26 25' _null_ _null_ _null_ _null_ _null_ has_foreign_data_wrapper_privilege_name_id _null_ _null_ _null_ _null_ )
+insert ( 3002 has_foreign_data_wrapper_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 25 25' _null_ _null_ _null_ _null_ _null_ has_foreign_data_wrapper_privilege_id_name _null_ _null_ _null_ _null_ )
+insert ( 3003 has_foreign_data_wrapper_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 26 25' _null_ _null_ _null_ _null_ _null_ has_foreign_data_wrapper_privilege_id_id _null_ _null_ _null_ _null_ )
+insert ( 3004 has_foreign_data_wrapper_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ has_foreign_data_wrapper_privilege_name _null_ _null_ _null_ _null_ )
+insert ( 3005 has_foreign_data_wrapper_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '26 25' _null_ _null_ _null_ _null_ _null_ has_foreign_data_wrapper_privilege_id _null_ _null_ _null_ _null_ )
+insert ( 3006 has_server_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 25 25' _null_ _null_ _null_ _null_ _null_ has_server_privilege_name_name _null_ _null_ _null_ _null_ )
+insert ( 3007 has_server_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 26 25' _null_ _null_ _null_ _null_ _null_ has_server_privilege_name_id _null_ _null_ _null_ _null_ )
+insert ( 3008 has_server_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 25 25' _null_ _null_ _null_ _null_ _null_ has_server_privilege_id_name _null_ _null_ _null_ _null_ )
+insert ( 3009 has_server_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 26 25' _null_ _null_ _null_ _null_ _null_ has_server_privilege_id_id _null_ _null_ _null_ _null_ )
+insert ( 3010 has_server_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ has_server_privilege_name _null_ _null_ _null_ _null_ )
+insert ( 3011 has_server_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '26 25' _null_ _null_ _null_ _null_ _null_ has_server_privilege_id _null_ _null_ _null_ _null_ )
+insert ( 3138 has_type_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 25 25' _null_ _null_ _null_ _null_ _null_ has_type_privilege_name_name _null_ _null_ _null_ _null_ )
+insert ( 3139 has_type_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 26 25' _null_ _null_ _null_ _null_ _null_ has_type_privilege_name_id _null_ _null_ _null_ _null_ )
+insert ( 3140 has_type_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 25 25' _null_ _null_ _null_ _null_ _null_ has_type_privilege_id_name _null_ _null_ _null_ _null_ )
+insert ( 3141 has_type_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 26 25' _null_ _null_ _null_ _null_ _null_ has_type_privilege_id_id _null_ _null_ _null_ _null_ )
+insert ( 3142 has_type_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ has_type_privilege_name _null_ _null_ _null_ _null_ )
+insert ( 3143 has_type_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '26 25' _null_ _null_ _null_ _null_ _null_ has_type_privilege_id _null_ _null_ _null_ _null_ )
+insert ( 6205 has_parameter_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 25 25' _null_ _null_ _null_ _null_ _null_ has_parameter_privilege_name_name _null_ _null_ _null_ _null_ )
+insert ( 6206 has_parameter_privilege 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 25 25' _null_ _null_ _null_ _null_ _null_ has_parameter_privilege_id_name _null_ _null_ _null_ _null_ )
+insert ( 6207 has_parameter_privilege 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ has_parameter_privilege_name _null_ _null_ _null_ _null_ )
+insert ( 2705 pg_has_role 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 19 25' _null_ _null_ _null_ _null_ _null_ pg_has_role_name_name _null_ _null_ _null_ _null_ )
+insert ( 2706 pg_has_role 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '19 26 25' _null_ _null_ _null_ _null_ _null_ pg_has_role_name_id _null_ _null_ _null_ _null_ )
+insert ( 2707 pg_has_role 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 19 25' _null_ _null_ _null_ _null_ _null_ pg_has_role_id_name _null_ _null_ _null_ _null_ )
+insert ( 2708 pg_has_role 11 10 12 1 0 0 0 f f f t f s s 3 0 16 '26 26 25' _null_ _null_ _null_ _null_ _null_ pg_has_role_id_id _null_ _null_ _null_ _null_ )
+insert ( 2709 pg_has_role 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '19 25' _null_ _null_ _null_ _null_ _null_ pg_has_role_name _null_ _null_ _null_ _null_ )
+insert ( 2710 pg_has_role 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '26 25' _null_ _null_ _null_ _null_ _null_ pg_has_role_id _null_ _null_ _null_ _null_ )
+insert ( 1269 pg_column_size 11 10 12 1 0 0 0 f f f t f s s 1 0 23 2276 _null_ _null_ _null_ _null_ _null_ pg_column_size _null_ _null_ _null_ _null_ )
+insert ( 2121 pg_column_compression 11 10 12 1 0 0 0 f f f t f s s 1 0 25 2276 _null_ _null_ _null_ _null_ _null_ pg_column_compression _null_ _null_ _null_ _null_ )
+insert ( 2322 pg_tablespace_size 11 10 12 1 0 0 0 f f f t f v s 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_tablespace_size_oid _null_ _null_ _null_ _null_ )
+insert ( 2323 pg_tablespace_size 11 10 12 1 0 0 0 f f f t f v s 1 0 20 19 _null_ _null_ _null_ _null_ _null_ pg_tablespace_size_name _null_ _null_ _null_ _null_ )
+insert ( 2324 pg_database_size 11 10 12 1 0 0 0 f f f t f v s 1 0 20 26 _null_ _null_ _null_ _null_ _null_ pg_database_size_oid _null_ _null_ _null_ _null_ )
+insert ( 2168 pg_database_size 11 10 12 1 0 0 0 f f f t f v s 1 0 20 19 _null_ _null_ _null_ _null_ _null_ pg_database_size_name _null_ _null_ _null_ _null_ )
+insert ( 2325 pg_relation_size 11 10 14 1 0 0 0 f f f t f v s 1 0 20 2205 _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 2332 pg_relation_size 11 10 12 1 0 0 0 f f f t f v s 2 0 20 '2205 25' _null_ _null_ _null_ _null_ _null_ pg_relation_size _null_ _null_ _null_ _null_ )
+insert ( 2286 pg_total_relation_size 11 10 12 1 0 0 0 f f f t f v s 1 0 20 2205 _null_ _null_ _null_ _null_ _null_ pg_total_relation_size _null_ _null_ _null_ _null_ )
+insert ( 2288 pg_size_pretty 11 10 12 1 0 0 0 f f f t f i s 1 0 25 20 _null_ _null_ _null_ _null_ _null_ pg_size_pretty _null_ _null_ _null_ _null_ )
+insert ( 3166 pg_size_pretty 11 10 12 1 0 0 0 f f f t f i s 1 0 25 1700 _null_ _null_ _null_ _null_ _null_ pg_size_pretty_numeric _null_ _null_ _null_ _null_ )
+insert ( 3334 pg_size_bytes 11 10 12 1 0 0 0 f f f t f i s 1 0 20 25 _null_ _null_ _null_ _null_ _null_ pg_size_bytes _null_ _null_ _null_ _null_ )
+insert ( 2997 pg_table_size 11 10 12 1 0 0 0 f f f t f v s 1 0 20 2205 _null_ _null_ _null_ _null_ _null_ pg_table_size _null_ _null_ _null_ _null_ )
+insert ( 2998 pg_indexes_size 11 10 12 1 0 0 0 f f f t f v s 1 0 20 2205 _null_ _null_ _null_ _null_ _null_ pg_indexes_size _null_ _null_ _null_ _null_ )
+insert ( 2999 pg_relation_filenode 11 10 12 1 0 0 0 f f f t f s s 1 0 26 2205 _null_ _null_ _null_ _null_ _null_ pg_relation_filenode _null_ _null_ _null_ _null_ )
+insert ( 3454 pg_filenode_relation 11 10 12 1 0 0 0 f f f t f s s 2 0 2205 '26 26' _null_ _null_ _null_ _null_ _null_ pg_filenode_relation _null_ _null_ _null_ _null_ )
+insert ( 3034 pg_relation_filepath 11 10 12 1 0 0 0 f f f t f s s 1 0 25 2205 _null_ _null_ _null_ _null_ _null_ pg_relation_filepath _null_ _null_ _null_ _null_ )
+insert ( 2316 postgresql_fdw_validator 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1009 26' _null_ _null_ _null_ _null_ _null_ postgresql_fdw_validator _null_ _null_ _null_ _null_ )
+insert ( 2290 record_in 11 10 12 1 0 0 0 f f f t f s s 3 0 2249 '2275 26 23' _null_ _null_ _null_ _null_ _null_ record_in _null_ _null_ _null_ _null_ )
+insert ( 2291 record_out 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 2249 _null_ _null_ _null_ _null_ _null_ record_out _null_ _null_ _null_ _null_ )
+insert ( 2292 cstring_in 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 2275 _null_ _null_ _null_ _null_ _null_ cstring_in _null_ _null_ _null_ _null_ )
+insert ( 2293 cstring_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 2275 _null_ _null_ _null_ _null_ _null_ cstring_out _null_ _null_ _null_ _null_ )
+insert ( 2294 any_in 11 10 12 1 0 0 0 f f f t f i s 1 0 2276 2275 _null_ _null_ _null_ _null_ _null_ any_in _null_ _null_ _null_ _null_ )
+insert ( 2295 any_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 2276 _null_ _null_ _null_ _null_ _null_ any_out _null_ _null_ _null_ _null_ )
+insert ( 2296 anyarray_in 11 10 12 1 0 0 0 f f f t f i s 1 0 2277 2275 _null_ _null_ _null_ _null_ _null_ anyarray_in _null_ _null_ _null_ _null_ )
+insert ( 2297 anyarray_out 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 2277 _null_ _null_ _null_ _null_ _null_ anyarray_out _null_ _null_ _null_ _null_ )
+insert ( 2298 void_in 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2275 _null_ _null_ _null_ _null_ _null_ void_in _null_ _null_ _null_ _null_ )
+insert ( 2299 void_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 2278 _null_ _null_ _null_ _null_ _null_ void_out _null_ _null_ _null_ _null_ )
+insert ( 2300 trigger_in 11 10 12 1 0 0 0 f f f f f i s 1 0 2279 2275 _null_ _null_ _null_ _null_ _null_ trigger_in _null_ _null_ _null_ _null_ )
+insert ( 2301 trigger_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 2279 _null_ _null_ _null_ _null_ _null_ trigger_out _null_ _null_ _null_ _null_ )
+insert ( 3594 event_trigger_in 11 10 12 1 0 0 0 f f f f f i s 1 0 3838 2275 _null_ _null_ _null_ _null_ _null_ event_trigger_in _null_ _null_ _null_ _null_ )
+insert ( 3595 event_trigger_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 3838 _null_ _null_ _null_ _null_ _null_ event_trigger_out _null_ _null_ _null_ _null_ )
+insert ( 2302 language_handler_in 11 10 12 1 0 0 0 f f f f f i s 1 0 2280 2275 _null_ _null_ _null_ _null_ _null_ language_handler_in _null_ _null_ _null_ _null_ )
+insert ( 2303 language_handler_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 2280 _null_ _null_ _null_ _null_ _null_ language_handler_out _null_ _null_ _null_ _null_ )
+insert ( 2304 internal_in 11 10 12 1 0 0 0 f f f f f i s 1 0 2281 2275 _null_ _null_ _null_ _null_ _null_ internal_in _null_ _null_ _null_ _null_ )
+insert ( 2305 internal_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 2281 _null_ _null_ _null_ _null_ _null_ internal_out _null_ _null_ _null_ _null_ )
+insert ( 2312 anyelement_in 11 10 12 1 0 0 0 f f f t f i s 1 0 2283 2275 _null_ _null_ _null_ _null_ _null_ anyelement_in _null_ _null_ _null_ _null_ )
+insert ( 2313 anyelement_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 2283 _null_ _null_ _null_ _null_ _null_ anyelement_out _null_ _null_ _null_ _null_ )
+insert ( 2398 shell_in 11 10 12 1 0 0 0 f f f f f i s 1 0 2278 2275 _null_ _null_ _null_ _null_ _null_ shell_in _null_ _null_ _null_ _null_ )
+insert ( 2399 shell_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 2278 _null_ _null_ _null_ _null_ _null_ shell_out _null_ _null_ _null_ _null_ )
+insert ( 2597 domain_in 11 10 12 1 0 0 0 f f f f f s s 3 0 2276 '2275 26 23' _null_ _null_ _null_ _null_ _null_ domain_in _null_ _null_ _null_ _null_ )
+insert ( 2598 domain_recv 11 10 12 1 0 0 0 f f f f f s s 3 0 2276 '2281 26 23' _null_ _null_ _null_ _null_ _null_ domain_recv _null_ _null_ _null_ _null_ )
+insert ( 2777 anynonarray_in 11 10 12 1 0 0 0 f f f t f i s 1 0 2776 2275 _null_ _null_ _null_ _null_ _null_ anynonarray_in _null_ _null_ _null_ _null_ )
+insert ( 2778 anynonarray_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 2776 _null_ _null_ _null_ _null_ _null_ anynonarray_out _null_ _null_ _null_ _null_ )
+insert ( 3116 fdw_handler_in 11 10 12 1 0 0 0 f f f f f i s 1 0 3115 2275 _null_ _null_ _null_ _null_ _null_ fdw_handler_in _null_ _null_ _null_ _null_ )
+insert ( 3117 fdw_handler_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 3115 _null_ _null_ _null_ _null_ _null_ fdw_handler_out _null_ _null_ _null_ _null_ )
+insert ( 326 index_am_handler_in 11 10 12 1 0 0 0 f f f f f i s 1 0 325 2275 _null_ _null_ _null_ _null_ _null_ index_am_handler_in _null_ _null_ _null_ _null_ )
+insert ( 327 index_am_handler_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 325 _null_ _null_ _null_ _null_ _null_ index_am_handler_out _null_ _null_ _null_ _null_ )
+insert ( 3311 tsm_handler_in 11 10 12 1 0 0 0 f f f f f i s 1 0 3310 2275 _null_ _null_ _null_ _null_ _null_ tsm_handler_in _null_ _null_ _null_ _null_ )
+insert ( 3312 tsm_handler_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 3310 _null_ _null_ _null_ _null_ _null_ tsm_handler_out _null_ _null_ _null_ _null_ )
+insert ( 267 table_am_handler_in 11 10 12 1 0 0 0 f f f f f i s 1 0 269 2275 _null_ _null_ _null_ _null_ _null_ table_am_handler_in _null_ _null_ _null_ _null_ )
+insert ( 268 table_am_handler_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 269 _null_ _null_ _null_ _null_ _null_ table_am_handler_out _null_ _null_ _null_ _null_ )
+insert ( 5086 anycompatible_in 11 10 12 1 0 0 0 f f f t f i s 1 0 5077 2275 _null_ _null_ _null_ _null_ _null_ anycompatible_in _null_ _null_ _null_ _null_ )
+insert ( 5087 anycompatible_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 5077 _null_ _null_ _null_ _null_ _null_ anycompatible_out _null_ _null_ _null_ _null_ )
+insert ( 5088 anycompatiblearray_in 11 10 12 1 0 0 0 f f f t f i s 1 0 5078 2275 _null_ _null_ _null_ _null_ _null_ anycompatiblearray_in _null_ _null_ _null_ _null_ )
+insert ( 5089 anycompatiblearray_out 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 5078 _null_ _null_ _null_ _null_ _null_ anycompatiblearray_out _null_ _null_ _null_ _null_ )
+insert ( 5090 anycompatiblearray_recv 11 10 12 1 0 0 0 f f f t f s s 1 0 5078 2281 _null_ _null_ _null_ _null_ _null_ anycompatiblearray_recv _null_ _null_ _null_ _null_ )
+insert ( 5091 anycompatiblearray_send 11 10 12 1 0 0 0 f f f t f s s 1 0 17 5078 _null_ _null_ _null_ _null_ _null_ anycompatiblearray_send _null_ _null_ _null_ _null_ )
+insert ( 5092 anycompatiblenonarray_in 11 10 12 1 0 0 0 f f f t f i s 1 0 5079 2275 _null_ _null_ _null_ _null_ _null_ anycompatiblenonarray_in _null_ _null_ _null_ _null_ )
+insert ( 5093 anycompatiblenonarray_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 5079 _null_ _null_ _null_ _null_ _null_ anycompatiblenonarray_out _null_ _null_ _null_ _null_ )
+insert ( 5094 anycompatiblerange_in 11 10 12 1 0 0 0 f f f t f s s 3 0 5080 '2275 26 23' _null_ _null_ _null_ _null_ _null_ anycompatiblerange_in _null_ _null_ _null_ _null_ )
+insert ( 5095 anycompatiblerange_out 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 5080 _null_ _null_ _null_ _null_ _null_ anycompatiblerange_out _null_ _null_ _null_ _null_ )
+insert ( 4226 anycompatiblemultirange_in 11 10 12 1 0 0 0 f f f t f s s 3 0 4538 '2275 26 23' _null_ _null_ _null_ _null_ _null_ anycompatiblemultirange_in _null_ _null_ _null_ _null_ )
+insert ( 4227 anycompatiblemultirange_out 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 4538 _null_ _null_ _null_ _null_ _null_ anycompatiblemultirange_out _null_ _null_ _null_ _null_ )
+insert ( 3313 bernoulli 11 10 12 1 0 0 0 f f f t f v s 1 0 3310 2281 _null_ _null_ _null_ _null_ _null_ tsm_bernoulli_handler _null_ _null_ _null_ _null_ )
+insert ( 3314 system 11 10 12 1 0 0 0 f f f t f v s 1 0 3310 2281 _null_ _null_ _null_ _null_ _null_ tsm_system_handler _null_ _null_ _null_ _null_ )
+insert ( 2311 md5 11 10 12 1 0 0 0 f f t t f i s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ md5_text _null_ _null_ _null_ _null_ )
+insert ( 2321 md5 11 10 12 1 0 0 0 f f t t f i s 1 0 25 17 _null_ _null_ _null_ _null_ _null_ md5_bytea _null_ _null_ _null_ _null_ )
+insert ( 3419 sha224 11 10 12 1 0 0 0 f f t t f i s 1 0 17 17 _null_ _null_ _null_ _null_ _null_ sha224_bytea _null_ _null_ _null_ _null_ )
+insert ( 3420 sha256 11 10 12 1 0 0 0 f f t t f i s 1 0 17 17 _null_ _null_ _null_ _null_ _null_ sha256_bytea _null_ _null_ _null_ _null_ )
+insert ( 3421 sha384 11 10 12 1 0 0 0 f f t t f i s 1 0 17 17 _null_ _null_ _null_ _null_ _null_ sha384_bytea _null_ _null_ _null_ _null_ )
+insert ( 3422 sha512 11 10 12 1 0 0 0 f f t t f i s 1 0 17 17 _null_ _null_ _null_ _null_ _null_ sha512_bytea _null_ _null_ _null_ _null_ )
+insert ( 2338 date_lt_timestamp 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1082 1114' _null_ _null_ _null_ _null_ _null_ date_lt_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2339 date_le_timestamp 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1082 1114' _null_ _null_ _null_ _null_ _null_ date_le_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2340 date_eq_timestamp 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1082 1114' _null_ _null_ _null_ _null_ _null_ date_eq_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2341 date_gt_timestamp 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1082 1114' _null_ _null_ _null_ _null_ _null_ date_gt_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2342 date_ge_timestamp 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1082 1114' _null_ _null_ _null_ _null_ _null_ date_ge_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2343 date_ne_timestamp 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1082 1114' _null_ _null_ _null_ _null_ _null_ date_ne_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2344 date_cmp_timestamp 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '1082 1114' _null_ _null_ _null_ _null_ _null_ date_cmp_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2351 date_lt_timestamptz 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1082 1184' _null_ _null_ _null_ _null_ _null_ date_lt_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 2352 date_le_timestamptz 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1082 1184' _null_ _null_ _null_ _null_ _null_ date_le_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 2353 date_eq_timestamptz 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1082 1184' _null_ _null_ _null_ _null_ _null_ date_eq_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 2354 date_gt_timestamptz 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1082 1184' _null_ _null_ _null_ _null_ _null_ date_gt_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 2355 date_ge_timestamptz 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1082 1184' _null_ _null_ _null_ _null_ _null_ date_ge_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 2356 date_ne_timestamptz 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1082 1184' _null_ _null_ _null_ _null_ _null_ date_ne_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 2357 date_cmp_timestamptz 11 10 12 1 0 0 0 f f f t f s s 2 0 23 '1082 1184' _null_ _null_ _null_ _null_ _null_ date_cmp_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 2364 timestamp_lt_date 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1114 1082' _null_ _null_ _null_ _null_ _null_ timestamp_lt_date _null_ _null_ _null_ _null_ )
+insert ( 2365 timestamp_le_date 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1114 1082' _null_ _null_ _null_ _null_ _null_ timestamp_le_date _null_ _null_ _null_ _null_ )
+insert ( 2366 timestamp_eq_date 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1114 1082' _null_ _null_ _null_ _null_ _null_ timestamp_eq_date _null_ _null_ _null_ _null_ )
+insert ( 2367 timestamp_gt_date 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1114 1082' _null_ _null_ _null_ _null_ _null_ timestamp_gt_date _null_ _null_ _null_ _null_ )
+insert ( 2368 timestamp_ge_date 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1114 1082' _null_ _null_ _null_ _null_ _null_ timestamp_ge_date _null_ _null_ _null_ _null_ )
+insert ( 2369 timestamp_ne_date 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '1114 1082' _null_ _null_ _null_ _null_ _null_ timestamp_ne_date _null_ _null_ _null_ _null_ )
+insert ( 2370 timestamp_cmp_date 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '1114 1082' _null_ _null_ _null_ _null_ _null_ timestamp_cmp_date _null_ _null_ _null_ _null_ )
+insert ( 2377 timestamptz_lt_date 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1184 1082' _null_ _null_ _null_ _null_ _null_ timestamptz_lt_date _null_ _null_ _null_ _null_ )
+insert ( 2378 timestamptz_le_date 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1184 1082' _null_ _null_ _null_ _null_ _null_ timestamptz_le_date _null_ _null_ _null_ _null_ )
+insert ( 2379 timestamptz_eq_date 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1184 1082' _null_ _null_ _null_ _null_ _null_ timestamptz_eq_date _null_ _null_ _null_ _null_ )
+insert ( 2380 timestamptz_gt_date 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1184 1082' _null_ _null_ _null_ _null_ _null_ timestamptz_gt_date _null_ _null_ _null_ _null_ )
+insert ( 2381 timestamptz_ge_date 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1184 1082' _null_ _null_ _null_ _null_ _null_ timestamptz_ge_date _null_ _null_ _null_ _null_ )
+insert ( 2382 timestamptz_ne_date 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1184 1082' _null_ _null_ _null_ _null_ _null_ timestamptz_ne_date _null_ _null_ _null_ _null_ )
+insert ( 2383 timestamptz_cmp_date 11 10 12 1 0 0 0 f f f t f s s 2 0 23 '1184 1082' _null_ _null_ _null_ _null_ _null_ timestamptz_cmp_date _null_ _null_ _null_ _null_ )
+insert ( 2520 timestamp_lt_timestamptz 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1114 1184' _null_ _null_ _null_ _null_ _null_ timestamp_lt_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 2521 timestamp_le_timestamptz 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1114 1184' _null_ _null_ _null_ _null_ _null_ timestamp_le_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 2522 timestamp_eq_timestamptz 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1114 1184' _null_ _null_ _null_ _null_ _null_ timestamp_eq_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 2523 timestamp_gt_timestamptz 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1114 1184' _null_ _null_ _null_ _null_ _null_ timestamp_gt_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 2524 timestamp_ge_timestamptz 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1114 1184' _null_ _null_ _null_ _null_ _null_ timestamp_ge_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 2525 timestamp_ne_timestamptz 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1114 1184' _null_ _null_ _null_ _null_ _null_ timestamp_ne_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 2526 timestamp_cmp_timestamptz 11 10 12 1 0 0 0 f f f t f s s 2 0 23 '1114 1184' _null_ _null_ _null_ _null_ _null_ timestamp_cmp_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 2527 timestamptz_lt_timestamp 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1184 1114' _null_ _null_ _null_ _null_ _null_ timestamptz_lt_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2528 timestamptz_le_timestamp 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1184 1114' _null_ _null_ _null_ _null_ _null_ timestamptz_le_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2529 timestamptz_eq_timestamp 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1184 1114' _null_ _null_ _null_ _null_ _null_ timestamptz_eq_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2530 timestamptz_gt_timestamp 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1184 1114' _null_ _null_ _null_ _null_ _null_ timestamptz_gt_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2531 timestamptz_ge_timestamp 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1184 1114' _null_ _null_ _null_ _null_ _null_ timestamptz_ge_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2532 timestamptz_ne_timestamp 11 10 12 1 0 0 0 f f f t f s s 2 0 16 '1184 1114' _null_ _null_ _null_ _null_ _null_ timestamptz_ne_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2533 timestamptz_cmp_timestamp 11 10 12 1 0 0 0 f f f t f s s 2 0 23 '1184 1114' _null_ _null_ _null_ _null_ _null_ timestamptz_cmp_timestamp _null_ _null_ _null_ _null_ )
+insert ( 2400 array_recv 11 10 12 1 0 0 0 f f f t f s s 3 0 2277 '2281 26 23' _null_ _null_ _null_ _null_ _null_ array_recv _null_ _null_ _null_ _null_ )
+insert ( 2401 array_send 11 10 12 1 0 0 0 f f f t f s s 1 0 17 2277 _null_ _null_ _null_ _null_ _null_ array_send _null_ _null_ _null_ _null_ )
+insert ( 2402 record_recv 11 10 12 1 0 0 0 f f f t f s s 3 0 2249 '2281 26 23' _null_ _null_ _null_ _null_ _null_ record_recv _null_ _null_ _null_ _null_ )
+insert ( 2403 record_send 11 10 12 1 0 0 0 f f f t f s s 1 0 17 2249 _null_ _null_ _null_ _null_ _null_ record_send _null_ _null_ _null_ _null_ )
+insert ( 2404 int2recv 11 10 12 1 0 0 0 f f f t f i s 1 0 21 2281 _null_ _null_ _null_ _null_ _null_ int2recv _null_ _null_ _null_ _null_ )
+insert ( 2405 int2send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 21 _null_ _null_ _null_ _null_ _null_ int2send _null_ _null_ _null_ _null_ )
+insert ( 2406 int4recv 11 10 12 1 0 0 0 f f f t f i s 1 0 23 2281 _null_ _null_ _null_ _null_ _null_ int4recv _null_ _null_ _null_ _null_ )
+insert ( 2407 int4send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 23 _null_ _null_ _null_ _null_ _null_ int4send _null_ _null_ _null_ _null_ )
+insert ( 2408 int8recv 11 10 12 1 0 0 0 f f f t f i s 1 0 20 2281 _null_ _null_ _null_ _null_ _null_ int8recv _null_ _null_ _null_ _null_ )
+insert ( 2409 int8send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 20 _null_ _null_ _null_ _null_ _null_ int8send _null_ _null_ _null_ _null_ )
+insert ( 2410 int2vectorrecv 11 10 12 1 0 0 0 f f f t f i s 1 0 22 2281 _null_ _null_ _null_ _null_ _null_ int2vectorrecv _null_ _null_ _null_ _null_ )
+insert ( 2411 int2vectorsend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 22 _null_ _null_ _null_ _null_ _null_ int2vectorsend _null_ _null_ _null_ _null_ )
+insert ( 2412 bytearecv 11 10 12 1 0 0 0 f f f t f i s 1 0 17 2281 _null_ _null_ _null_ _null_ _null_ bytearecv _null_ _null_ _null_ _null_ )
+insert ( 2413 byteasend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 17 _null_ _null_ _null_ _null_ _null_ byteasend _null_ _null_ _null_ _null_ )
+insert ( 2414 textrecv 11 10 12 1 0 0 0 f f f t f s s 1 0 25 2281 _null_ _null_ _null_ _null_ _null_ textrecv _null_ _null_ _null_ _null_ )
+insert ( 2415 textsend 11 10 12 1 0 0 0 f f f t f s s 1 0 17 25 _null_ _null_ _null_ _null_ _null_ textsend _null_ _null_ _null_ _null_ )
+insert ( 2416 unknownrecv 11 10 12 1 0 0 0 f f f t f i s 1 0 705 2281 _null_ _null_ _null_ _null_ _null_ unknownrecv _null_ _null_ _null_ _null_ )
+insert ( 2417 unknownsend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 705 _null_ _null_ _null_ _null_ _null_ unknownsend _null_ _null_ _null_ _null_ )
+insert ( 2418 oidrecv 11 10 12 1 0 0 0 f f f t f i s 1 0 26 2281 _null_ _null_ _null_ _null_ _null_ oidrecv _null_ _null_ _null_ _null_ )
+insert ( 2419 oidsend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 26 _null_ _null_ _null_ _null_ _null_ oidsend _null_ _null_ _null_ _null_ )
+insert ( 2420 oidvectorrecv 11 10 12 1 0 0 0 f f f t f i s 1 0 30 2281 _null_ _null_ _null_ _null_ _null_ oidvectorrecv _null_ _null_ _null_ _null_ )
+insert ( 2421 oidvectorsend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 30 _null_ _null_ _null_ _null_ _null_ oidvectorsend _null_ _null_ _null_ _null_ )
+insert ( 2422 namerecv 11 10 12 1 0 0 0 f f f t f s s 1 0 19 2281 _null_ _null_ _null_ _null_ _null_ namerecv _null_ _null_ _null_ _null_ )
+insert ( 2423 namesend 11 10 12 1 0 0 0 f f f t f s s 1 0 17 19 _null_ _null_ _null_ _null_ _null_ namesend _null_ _null_ _null_ _null_ )
+insert ( 2424 float4recv 11 10 12 1 0 0 0 f f f t f i s 1 0 700 2281 _null_ _null_ _null_ _null_ _null_ float4recv _null_ _null_ _null_ _null_ )
+insert ( 2425 float4send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 700 _null_ _null_ _null_ _null_ _null_ float4send _null_ _null_ _null_ _null_ )
+insert ( 2426 float8recv 11 10 12 1 0 0 0 f f f t f i s 1 0 701 2281 _null_ _null_ _null_ _null_ _null_ float8recv _null_ _null_ _null_ _null_ )
+insert ( 2427 float8send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 701 _null_ _null_ _null_ _null_ _null_ float8send _null_ _null_ _null_ _null_ )
+insert ( 2428 point_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 600 2281 _null_ _null_ _null_ _null_ _null_ point_recv _null_ _null_ _null_ _null_ )
+insert ( 2429 point_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 600 _null_ _null_ _null_ _null_ _null_ point_send _null_ _null_ _null_ _null_ )
+insert ( 2430 bpcharrecv 11 10 12 1 0 0 0 f f f t f s s 3 0 1042 '2281 26 23' _null_ _null_ _null_ _null_ _null_ bpcharrecv _null_ _null_ _null_ _null_ )
+insert ( 2431 bpcharsend 11 10 12 1 0 0 0 f f f t f s s 1 0 17 1042 _null_ _null_ _null_ _null_ _null_ bpcharsend _null_ _null_ _null_ _null_ )
+insert ( 2432 varcharrecv 11 10 12 1 0 0 0 f f f t f s s 3 0 1043 '2281 26 23' _null_ _null_ _null_ _null_ _null_ varcharrecv _null_ _null_ _null_ _null_ )
+insert ( 2433 varcharsend 11 10 12 1 0 0 0 f f f t f s s 1 0 17 1043 _null_ _null_ _null_ _null_ _null_ varcharsend _null_ _null_ _null_ _null_ )
+insert ( 2434 charrecv 11 10 12 1 0 0 0 f f f t f i s 1 0 18 2281 _null_ _null_ _null_ _null_ _null_ charrecv _null_ _null_ _null_ _null_ )
+insert ( 2435 charsend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 18 _null_ _null_ _null_ _null_ _null_ charsend _null_ _null_ _null_ _null_ )
+insert ( 2436 boolrecv 11 10 12 1 0 0 0 f f f t f i s 1 0 16 2281 _null_ _null_ _null_ _null_ _null_ boolrecv _null_ _null_ _null_ _null_ )
+insert ( 2437 boolsend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 16 _null_ _null_ _null_ _null_ _null_ boolsend _null_ _null_ _null_ _null_ )
+insert ( 2438 tidrecv 11 10 12 1 0 0 0 f f f t f i s 1 0 27 2281 _null_ _null_ _null_ _null_ _null_ tidrecv _null_ _null_ _null_ _null_ )
+insert ( 2439 tidsend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 27 _null_ _null_ _null_ _null_ _null_ tidsend _null_ _null_ _null_ _null_ )
+insert ( 2440 xidrecv 11 10 12 1 0 0 0 f f f t f i s 1 0 28 2281 _null_ _null_ _null_ _null_ _null_ xidrecv _null_ _null_ _null_ _null_ )
+insert ( 2441 xidsend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 28 _null_ _null_ _null_ _null_ _null_ xidsend _null_ _null_ _null_ _null_ )
+insert ( 2442 cidrecv 11 10 12 1 0 0 0 f f f t f i s 1 0 29 2281 _null_ _null_ _null_ _null_ _null_ cidrecv _null_ _null_ _null_ _null_ )
+insert ( 2443 cidsend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 29 _null_ _null_ _null_ _null_ _null_ cidsend _null_ _null_ _null_ _null_ )
+insert ( 2444 regprocrecv 11 10 12 1 0 0 0 f f f t f i s 1 0 24 2281 _null_ _null_ _null_ _null_ _null_ regprocrecv _null_ _null_ _null_ _null_ )
+insert ( 2445 regprocsend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 24 _null_ _null_ _null_ _null_ _null_ regprocsend _null_ _null_ _null_ _null_ )
+insert ( 2446 regprocedurerecv 11 10 12 1 0 0 0 f f f t f i s 1 0 2202 2281 _null_ _null_ _null_ _null_ _null_ regprocedurerecv _null_ _null_ _null_ _null_ )
+insert ( 2447 regproceduresend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 2202 _null_ _null_ _null_ _null_ _null_ regproceduresend _null_ _null_ _null_ _null_ )
+insert ( 2448 regoperrecv 11 10 12 1 0 0 0 f f f t f i s 1 0 2203 2281 _null_ _null_ _null_ _null_ _null_ regoperrecv _null_ _null_ _null_ _null_ )
+insert ( 2449 regopersend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 2203 _null_ _null_ _null_ _null_ _null_ regopersend _null_ _null_ _null_ _null_ )
+insert ( 2450 regoperatorrecv 11 10 12 1 0 0 0 f f f t f i s 1 0 2204 2281 _null_ _null_ _null_ _null_ _null_ regoperatorrecv _null_ _null_ _null_ _null_ )
+insert ( 2451 regoperatorsend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 2204 _null_ _null_ _null_ _null_ _null_ regoperatorsend _null_ _null_ _null_ _null_ )
+insert ( 2452 regclassrecv 11 10 12 1 0 0 0 f f f t f i s 1 0 2205 2281 _null_ _null_ _null_ _null_ _null_ regclassrecv _null_ _null_ _null_ _null_ )
+insert ( 2453 regclasssend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 2205 _null_ _null_ _null_ _null_ _null_ regclasssend _null_ _null_ _null_ _null_ )
+insert ( 4196 regcollationrecv 11 10 12 1 0 0 0 f f f t f i s 1 0 4191 2281 _null_ _null_ _null_ _null_ _null_ regcollationrecv _null_ _null_ _null_ _null_ )
+insert ( 4197 regcollationsend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 4191 _null_ _null_ _null_ _null_ _null_ regcollationsend _null_ _null_ _null_ _null_ )
+insert ( 2454 regtyperecv 11 10 12 1 0 0 0 f f f t f i s 1 0 2206 2281 _null_ _null_ _null_ _null_ _null_ regtyperecv _null_ _null_ _null_ _null_ )
+insert ( 2455 regtypesend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 2206 _null_ _null_ _null_ _null_ _null_ regtypesend _null_ _null_ _null_ _null_ )
+insert ( 4094 regrolerecv 11 10 12 1 0 0 0 f f f t f i s 1 0 4096 2281 _null_ _null_ _null_ _null_ _null_ regrolerecv _null_ _null_ _null_ _null_ )
+insert ( 4095 regrolesend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 4096 _null_ _null_ _null_ _null_ _null_ regrolesend _null_ _null_ _null_ _null_ )
+insert ( 4087 regnamespacerecv 11 10 12 1 0 0 0 f f f t f i s 1 0 4089 2281 _null_ _null_ _null_ _null_ _null_ regnamespacerecv _null_ _null_ _null_ _null_ )
+insert ( 4088 regnamespacesend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 4089 _null_ _null_ _null_ _null_ _null_ regnamespacesend _null_ _null_ _null_ _null_ )
+insert ( 2456 bit_recv 11 10 12 1 0 0 0 f f f t f i s 3 0 1560 '2281 26 23' _null_ _null_ _null_ _null_ _null_ bit_recv _null_ _null_ _null_ _null_ )
+insert ( 2457 bit_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 1560 _null_ _null_ _null_ _null_ _null_ bit_send _null_ _null_ _null_ _null_ )
+insert ( 2458 varbit_recv 11 10 12 1 0 0 0 f f f t f i s 3 0 1562 '2281 26 23' _null_ _null_ _null_ _null_ _null_ varbit_recv _null_ _null_ _null_ _null_ )
+insert ( 2459 varbit_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 1562 _null_ _null_ _null_ _null_ _null_ varbit_send _null_ _null_ _null_ _null_ )
+insert ( 2460 numeric_recv 11 10 12 1 0 0 0 f f f t f i s 3 0 1700 '2281 26 23' _null_ _null_ _null_ _null_ _null_ numeric_recv _null_ _null_ _null_ _null_ )
+insert ( 2461 numeric_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 1700 _null_ _null_ _null_ _null_ _null_ numeric_send _null_ _null_ _null_ _null_ )
+insert ( 2468 date_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 1082 2281 _null_ _null_ _null_ _null_ _null_ date_recv _null_ _null_ _null_ _null_ )
+insert ( 2469 date_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 1082 _null_ _null_ _null_ _null_ _null_ date_send _null_ _null_ _null_ _null_ )
+insert ( 2470 time_recv 11 10 12 1 0 0 0 f f f t f i s 3 0 1083 '2281 26 23' _null_ _null_ _null_ _null_ _null_ time_recv _null_ _null_ _null_ _null_ )
+insert ( 2471 time_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 1083 _null_ _null_ _null_ _null_ _null_ time_send _null_ _null_ _null_ _null_ )
+insert ( 2472 timetz_recv 11 10 12 1 0 0 0 f f f t f i s 3 0 1266 '2281 26 23' _null_ _null_ _null_ _null_ _null_ timetz_recv _null_ _null_ _null_ _null_ )
+insert ( 2473 timetz_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 1266 _null_ _null_ _null_ _null_ _null_ timetz_send _null_ _null_ _null_ _null_ )
+insert ( 2474 timestamp_recv 11 10 12 1 0 0 0 f f f t f i s 3 0 1114 '2281 26 23' _null_ _null_ _null_ _null_ _null_ timestamp_recv _null_ _null_ _null_ _null_ )
+insert ( 2475 timestamp_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 1114 _null_ _null_ _null_ _null_ _null_ timestamp_send _null_ _null_ _null_ _null_ )
+insert ( 2476 timestamptz_recv 11 10 12 1 0 0 0 f f f t f i s 3 0 1184 '2281 26 23' _null_ _null_ _null_ _null_ _null_ timestamptz_recv _null_ _null_ _null_ _null_ )
+insert ( 2477 timestamptz_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 1184 _null_ _null_ _null_ _null_ _null_ timestamptz_send _null_ _null_ _null_ _null_ )
+insert ( 2478 interval_recv 11 10 12 1 0 0 0 f f f t f i s 3 0 1186 '2281 26 23' _null_ _null_ _null_ _null_ _null_ interval_recv _null_ _null_ _null_ _null_ )
+insert ( 2479 interval_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 1186 _null_ _null_ _null_ _null_ _null_ interval_send _null_ _null_ _null_ _null_ )
+insert ( 2480 lseg_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 601 2281 _null_ _null_ _null_ _null_ _null_ lseg_recv _null_ _null_ _null_ _null_ )
+insert ( 2481 lseg_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 601 _null_ _null_ _null_ _null_ _null_ lseg_send _null_ _null_ _null_ _null_ )
+insert ( 2482 path_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 602 2281 _null_ _null_ _null_ _null_ _null_ path_recv _null_ _null_ _null_ _null_ )
+insert ( 2483 path_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 602 _null_ _null_ _null_ _null_ _null_ path_send _null_ _null_ _null_ _null_ )
+insert ( 2484 box_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 603 2281 _null_ _null_ _null_ _null_ _null_ box_recv _null_ _null_ _null_ _null_ )
+insert ( 2485 box_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 603 _null_ _null_ _null_ _null_ _null_ box_send _null_ _null_ _null_ _null_ )
+insert ( 2486 poly_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 604 2281 _null_ _null_ _null_ _null_ _null_ poly_recv _null_ _null_ _null_ _null_ )
+insert ( 2487 poly_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 604 _null_ _null_ _null_ _null_ _null_ poly_send _null_ _null_ _null_ _null_ )
+insert ( 2488 line_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 628 2281 _null_ _null_ _null_ _null_ _null_ line_recv _null_ _null_ _null_ _null_ )
+insert ( 2489 line_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 628 _null_ _null_ _null_ _null_ _null_ line_send _null_ _null_ _null_ _null_ )
+insert ( 2490 circle_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 718 2281 _null_ _null_ _null_ _null_ _null_ circle_recv _null_ _null_ _null_ _null_ )
+insert ( 2491 circle_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 718 _null_ _null_ _null_ _null_ _null_ circle_send _null_ _null_ _null_ _null_ )
+insert ( 2492 cash_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 790 2281 _null_ _null_ _null_ _null_ _null_ cash_recv _null_ _null_ _null_ _null_ )
+insert ( 2493 cash_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 790 _null_ _null_ _null_ _null_ _null_ cash_send _null_ _null_ _null_ _null_ )
+insert ( 2494 macaddr_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 829 2281 _null_ _null_ _null_ _null_ _null_ macaddr_recv _null_ _null_ _null_ _null_ )
+insert ( 2495 macaddr_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 829 _null_ _null_ _null_ _null_ _null_ macaddr_send _null_ _null_ _null_ _null_ )
+insert ( 2496 inet_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 869 2281 _null_ _null_ _null_ _null_ _null_ inet_recv _null_ _null_ _null_ _null_ )
+insert ( 2497 inet_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 869 _null_ _null_ _null_ _null_ _null_ inet_send _null_ _null_ _null_ _null_ )
+insert ( 2498 cidr_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 650 2281 _null_ _null_ _null_ _null_ _null_ cidr_recv _null_ _null_ _null_ _null_ )
+insert ( 2499 cidr_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 650 _null_ _null_ _null_ _null_ _null_ cidr_send _null_ _null_ _null_ _null_ )
+insert ( 2500 cstring_recv 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 2281 _null_ _null_ _null_ _null_ _null_ cstring_recv _null_ _null_ _null_ _null_ )
+insert ( 2501 cstring_send 11 10 12 1 0 0 0 f f f t f s s 1 0 17 2275 _null_ _null_ _null_ _null_ _null_ cstring_send _null_ _null_ _null_ _null_ )
+insert ( 2502 anyarray_recv 11 10 12 1 0 0 0 f f f t f s s 1 0 2277 2281 _null_ _null_ _null_ _null_ _null_ anyarray_recv _null_ _null_ _null_ _null_ )
+insert ( 2503 anyarray_send 11 10 12 1 0 0 0 f f f t f s s 1 0 17 2277 _null_ _null_ _null_ _null_ _null_ anyarray_send _null_ _null_ _null_ _null_ )
+insert ( 3120 void_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ void_recv _null_ _null_ _null_ _null_ )
+insert ( 3121 void_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 2278 _null_ _null_ _null_ _null_ _null_ void_send _null_ _null_ _null_ _null_ )
+insert ( 3446 macaddr8_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 774 2281 _null_ _null_ _null_ _null_ _null_ macaddr8_recv _null_ _null_ _null_ _null_ )
+insert ( 3447 macaddr8_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 774 _null_ _null_ _null_ _null_ _null_ macaddr8_send _null_ _null_ _null_ _null_ )
+insert ( 2504 pg_get_ruledef 11 10 12 1 0 0 0 f f f t f s s 2 0 25 '26 16' _null_ _null_ _null_ _null_ _null_ pg_get_ruledef_ext _null_ _null_ _null_ _null_ )
+insert ( 2505 pg_get_viewdef 11 10 12 1 0 0 0 f f f t f s r 2 0 25 '25 16' _null_ _null_ _null_ _null_ _null_ pg_get_viewdef_name_ext _null_ _null_ _null_ _null_ )
+insert ( 2506 pg_get_viewdef 11 10 12 1 0 0 0 f f f t f s r 2 0 25 '26 16' _null_ _null_ _null_ _null_ _null_ pg_get_viewdef_ext _null_ _null_ _null_ _null_ )
+insert ( 3159 pg_get_viewdef 11 10 12 1 0 0 0 f f f t f s r 2 0 25 '26 23' _null_ _null_ _null_ _null_ _null_ pg_get_viewdef_wrap _null_ _null_ _null_ _null_ )
+insert ( 2507 pg_get_indexdef 11 10 12 1 0 0 0 f f f t f s s 3 0 25 '26 23 16' _null_ _null_ _null_ _null_ _null_ pg_get_indexdef_ext _null_ _null_ _null_ _null_ )
+insert ( 2508 pg_get_constraintdef 11 10 12 1 0 0 0 f f f t f s s 2 0 25 '26 16' _null_ _null_ _null_ _null_ _null_ pg_get_constraintdef_ext _null_ _null_ _null_ _null_ )
+insert ( 2509 pg_get_expr 11 10 12 1 0 0 0 f f f t f s s 3 0 25 '194 26 16' _null_ _null_ _null_ _null_ _null_ pg_get_expr_ext _null_ _null_ _null_ _null_ )
+insert ( 2510 pg_prepared_statement 11 10 12 1 1000 0 0 f f f t t s r 0 0 2249 '' '{25,25,1184,2211,2211,16,20,20}' '{o,o,o,o,o,o,o,o}' '{name,statement,prepare_time,parameter_types,result_types,from_sql,generic_plans,custom_plans}' _null_ _null_ pg_prepared_statement _null_ _null_ _null_ _null_ )
+insert ( 2511 pg_cursor 11 10 12 1 1000 0 0 f f f t t s r 0 0 2249 '' '{25,25,16,16,16,1184}' '{o,o,o,o,o,o}' '{name,statement,is_holdable,is_binary,is_scrollable,creation_time}' _null_ _null_ pg_cursor _null_ _null_ _null_ _null_ )
+insert ( 2599 pg_timezone_abbrevs 11 10 12 1 1000 0 0 f f f t t s s 0 0 2249 '' '{25,1186,16}' '{o,o,o}' '{abbrev,utc_offset,is_dst}' _null_ _null_ pg_timezone_abbrevs _null_ _null_ _null_ _null_ )
+insert ( 2856 pg_timezone_names 11 10 12 1 1000 0 0 f f f t t s s 0 0 2249 '' '{25,25,1186,16}' '{o,o,o,o}' '{name,abbrev,utc_offset,is_dst}' _null_ _null_ pg_timezone_names _null_ _null_ _null_ _null_ )
+insert ( 2730 pg_get_triggerdef 11 10 12 1 0 0 0 f f f t f s s 2 0 25 '26 16' _null_ _null_ _null_ _null_ _null_ pg_get_triggerdef_ext _null_ _null_ _null_ _null_ )
+insert ( 3035 pg_listening_channels 11 10 12 1 10 0 0 f f f t t s r 0 0 25 '' _null_ _null_ _null_ _null_ _null_ pg_listening_channels _null_ _null_ _null_ _null_ )
+insert ( 3036 pg_notify 11 10 12 1 0 0 0 f f f f f v r 2 0 2278 '25 25' _null_ _null_ _null_ _null_ _null_ pg_notify _null_ _null_ _null_ _null_ )
+insert ( 3296 pg_notification_queue_usage 11 10 12 1 0 0 0 f f f t f v r 0 0 701 '' _null_ _null_ _null_ _null_ _null_ pg_notification_queue_usage _null_ _null_ _null_ _null_ )
+insert ( 5052 pg_get_shmem_allocations 11 10 12 1 50 0 0 f f f t t v s 0 0 2249 '' '{25,20,20,20}' '{o,o,o,o}' '{name,off,size,allocated_size}' _null_ _null_ pg_get_shmem_allocations _null_ _null_ _null_ _null_ )
+insert ( 2282 pg_get_backend_memory_contexts 11 10 12 1 100 0 0 f f f t t v r 0 0 2249 '' '{25,25,25,23,20,20,20,20,20}' '{o,o,o,o,o,o,o,o,o}' '{name, ident, parent, level, total_bytes, total_nblocks, free_bytes, free_chunks, used_bytes}' _null_ _null_ pg_get_backend_memory_contexts _null_ _null_ _null_ _null_ )
+insert ( 4543 pg_log_backend_memory_contexts 11 10 12 1 0 0 0 f f f t f v s 1 0 16 23 _null_ _null_ _null_ _null_ _null_ pg_log_backend_memory_contexts _null_ _null_ _null_ _null_ )
+insert ( 1066 generate_series 11 10 12 1 1000 0 3994 f f f t t i s 3 0 23 '23 23 23' _null_ _null_ _null_ _null_ _null_ generate_series_step_int4 _null_ _null_ _null_ _null_ )
+insert ( 1067 generate_series 11 10 12 1 1000 0 3994 f f f t t i s 2 0 23 '23 23' _null_ _null_ _null_ _null_ _null_ generate_series_int4 _null_ _null_ _null_ _null_ )
+insert ( 3994 generate_series_int4_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ generate_series_int4_support _null_ _null_ _null_ _null_ )
+insert ( 1068 generate_series 11 10 12 1 1000 0 3995 f f f t t i s 3 0 20 '20 20 20' _null_ _null_ _null_ _null_ _null_ generate_series_step_int8 _null_ _null_ _null_ _null_ )
+insert ( 1069 generate_series 11 10 12 1 1000 0 3995 f f f t t i s 2 0 20 '20 20' _null_ _null_ _null_ _null_ _null_ generate_series_int8 _null_ _null_ _null_ _null_ )
+insert ( 3995 generate_series_int8_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ generate_series_int8_support _null_ _null_ _null_ _null_ )
+insert ( 3259 generate_series 11 10 12 1 1000 0 0 f f f t t i s 3 0 1700 '1700 1700 1700' _null_ _null_ _null_ _null_ _null_ generate_series_step_numeric _null_ _null_ _null_ _null_ )
+insert ( 3260 generate_series 11 10 12 1 1000 0 0 f f f t t i s 2 0 1700 '1700 1700' _null_ _null_ _null_ _null_ _null_ generate_series_numeric _null_ _null_ _null_ _null_ )
+insert ( 938 generate_series 11 10 12 1 1000 0 0 f f f t t i s 3 0 1114 '1114 1114 1186' _null_ _null_ _null_ _null_ _null_ generate_series_timestamp _null_ _null_ _null_ _null_ )
+insert ( 939 generate_series 11 10 12 1 1000 0 0 f f f t t s s 3 0 1184 '1184 1184 1186' _null_ _null_ _null_ _null_ _null_ generate_series_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 6274 generate_series 11 10 12 1 1000 0 0 f f f t t i s 4 0 1184 '1184 1184 1186 25' _null_ _null_ _null_ _null_ _null_ generate_series_timestamptz_at_zone _null_ _null_ _null_ _null_ )
+insert ( 2515 booland_statefunc 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '16 16' _null_ _null_ _null_ _null_ _null_ booland_statefunc _null_ _null_ _null_ _null_ )
+insert ( 2516 boolor_statefunc 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '16 16' _null_ _null_ _null_ _null_ _null_ boolor_statefunc _null_ _null_ _null_ _null_ )
+insert ( 3496 bool_accum 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 16' _null_ _null_ _null_ _null_ _null_ bool_accum _null_ _null_ _null_ _null_ )
+insert ( 3497 bool_accum_inv 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 16' _null_ _null_ _null_ _null_ _null_ bool_accum_inv _null_ _null_ _null_ _null_ )
+insert ( 3498 bool_alltrue 11 10 12 1 0 0 0 f f f t f i s 1 0 16 2281 _null_ _null_ _null_ _null_ _null_ bool_alltrue _null_ _null_ _null_ _null_ )
+insert ( 3499 bool_anytrue 11 10 12 1 0 0 0 f f f t f i s 1 0 16 2281 _null_ _null_ _null_ _null_ _null_ bool_anytrue _null_ _null_ _null_ _null_ )
+insert ( 2517 bool_and 11 10 12 1 0 0 0 a f f f f i s 1 0 16 16 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2518 bool_or 11 10 12 1 0 0 0 a f f f f i s 1 0 16 16 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2519 every 11 10 12 1 0 0 0 a f f f f i s 1 0 16 16 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2236 bit_and 11 10 12 1 0 0 0 a f f f f i s 1 0 21 21 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2237 bit_or 11 10 12 1 0 0 0 a f f f f i s 1 0 21 21 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 6164 bit_xor 11 10 12 1 0 0 0 a f f f f i s 1 0 21 21 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2238 bit_and 11 10 12 1 0 0 0 a f f f f i s 1 0 23 23 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2239 bit_or 11 10 12 1 0 0 0 a f f f f i s 1 0 23 23 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 6165 bit_xor 11 10 12 1 0 0 0 a f f f f i s 1 0 23 23 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2240 bit_and 11 10 12 1 0 0 0 a f f f f i s 1 0 20 20 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2241 bit_or 11 10 12 1 0 0 0 a f f f f i s 1 0 20 20 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 6166 bit_xor 11 10 12 1 0 0 0 a f f f f i s 1 0 20 20 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2242 bit_and 11 10 12 1 0 0 0 a f f f f i s 1 0 1560 1560 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2243 bit_or 11 10 12 1 0 0 0 a f f f f i s 1 0 1560 1560 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 6167 bit_xor 11 10 12 1 0 0 0 a f f f f i s 1 0 1560 1560 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2546 interval_pl_date 11 10 14 1 0 0 0 f f f t f i s 2 0 1114 '1186 1082' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 2547 interval_pl_timetz 11 10 14 1 0 0 0 f f f t f i s 2 0 1266 '1186 1266' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 2548 interval_pl_timestamp 11 10 14 1 0 0 0 f f f t f i s 2 0 1114 '1186 1114' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 2549 interval_pl_timestamptz 11 10 14 1 0 0 0 f f f t f s s 2 0 1184 '1186 1184' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 2550 integer_pl_date 11 10 14 1 0 0 0 f f f t f i s 2 0 1082 '23 1082' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 2556 pg_tablespace_databases 11 10 12 1 1000 0 0 f f f t t s s 1 0 26 26 _null_ _null_ _null_ _null_ _null_ pg_tablespace_databases _null_ _null_ _null_ _null_ )
+insert ( 2557 bool 11 10 12 1 0 0 0 f f t t f i s 1 0 16 23 _null_ _null_ _null_ _null_ _null_ int4_bool _null_ _null_ _null_ _null_ )
+insert ( 2558 int4 11 10 12 1 0 0 0 f f t t f i s 1 0 23 16 _null_ _null_ _null_ _null_ _null_ bool_int4 _null_ _null_ _null_ _null_ )
+insert ( 2559 lastval 11 10 12 1 0 0 0 f f f t f v u 0 0 20 '' _null_ _null_ _null_ _null_ _null_ lastval _null_ _null_ _null_ _null_ )
+insert ( 2560 pg_postmaster_start_time 11 10 12 1 0 0 0 f f f t f s s 0 0 1184 '' _null_ _null_ _null_ _null_ _null_ pg_postmaster_start_time _null_ _null_ _null_ _null_ )
+insert ( 2034 pg_conf_load_time 11 10 12 1 0 0 0 f f f t f s r 0 0 1184 '' _null_ _null_ _null_ _null_ _null_ pg_conf_load_time _null_ _null_ _null_ _null_ )
+insert ( 2562 box_below 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '603 603' _null_ _null_ _null_ _null_ _null_ box_below _null_ _null_ _null_ _null_ )
+insert ( 2563 box_overbelow 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '603 603' _null_ _null_ _null_ _null_ _null_ box_overbelow _null_ _null_ _null_ _null_ )
+insert ( 2564 box_overabove 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '603 603' _null_ _null_ _null_ _null_ _null_ box_overabove _null_ _null_ _null_ _null_ )
+insert ( 2565 box_above 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '603 603' _null_ _null_ _null_ _null_ _null_ box_above _null_ _null_ _null_ _null_ )
+insert ( 2566 poly_below 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '604 604' _null_ _null_ _null_ _null_ _null_ poly_below _null_ _null_ _null_ _null_ )
+insert ( 2567 poly_overbelow 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '604 604' _null_ _null_ _null_ _null_ _null_ poly_overbelow _null_ _null_ _null_ _null_ )
+insert ( 2568 poly_overabove 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '604 604' _null_ _null_ _null_ _null_ _null_ poly_overabove _null_ _null_ _null_ _null_ )
+insert ( 2569 poly_above 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '604 604' _null_ _null_ _null_ _null_ _null_ poly_above _null_ _null_ _null_ _null_ )
+insert ( 2587 circle_overbelow 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '718 718' _null_ _null_ _null_ _null_ _null_ circle_overbelow _null_ _null_ _null_ _null_ )
+insert ( 2588 circle_overabove 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '718 718' _null_ _null_ _null_ _null_ _null_ circle_overabove _null_ _null_ _null_ _null_ )
+insert ( 2578 gist_box_consistent 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '2281 603 21 26 2281' _null_ _null_ _null_ _null_ _null_ gist_box_consistent _null_ _null_ _null_ _null_ )
+insert ( 2581 gist_box_penalty 11 10 12 1 0 0 0 f f f t f i s 3 0 2281 '2281 2281 2281' _null_ _null_ _null_ _null_ _null_ gist_box_penalty _null_ _null_ _null_ _null_ )
+insert ( 2582 gist_box_picksplit 11 10 12 1 0 0 0 f f f t f i s 2 0 2281 '2281 2281' _null_ _null_ _null_ _null_ _null_ gist_box_picksplit _null_ _null_ _null_ _null_ )
+insert ( 2583 gist_box_union 11 10 12 1 0 0 0 f f f t f i s 2 0 603 '2281 2281' _null_ _null_ _null_ _null_ _null_ gist_box_union _null_ _null_ _null_ _null_ )
+insert ( 2584 gist_box_same 11 10 12 1 0 0 0 f f f t f i s 3 0 2281 '603 603 2281' _null_ _null_ _null_ _null_ _null_ gist_box_same _null_ _null_ _null_ _null_ )
+insert ( 3998 gist_box_distance 11 10 12 1 0 0 0 f f f t f i s 5 0 701 '2281 603 21 26 2281' _null_ _null_ _null_ _null_ _null_ gist_box_distance _null_ _null_ _null_ _null_ )
+insert ( 2585 gist_poly_consistent 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '2281 604 21 26 2281' _null_ _null_ _null_ _null_ _null_ gist_poly_consistent _null_ _null_ _null_ _null_ )
+insert ( 2586 gist_poly_compress 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ gist_poly_compress _null_ _null_ _null_ _null_ )
+insert ( 2591 gist_circle_consistent 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '2281 718 21 26 2281' _null_ _null_ _null_ _null_ _null_ gist_circle_consistent _null_ _null_ _null_ _null_ )
+insert ( 2592 gist_circle_compress 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ gist_circle_compress _null_ _null_ _null_ _null_ )
+insert ( 1030 gist_point_compress 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ gist_point_compress _null_ _null_ _null_ _null_ )
+insert ( 3282 gist_point_fetch 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ gist_point_fetch _null_ _null_ _null_ _null_ )
+insert ( 2179 gist_point_consistent 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '2281 600 21 26 2281' _null_ _null_ _null_ _null_ _null_ gist_point_consistent _null_ _null_ _null_ _null_ )
+insert ( 3064 gist_point_distance 11 10 12 1 0 0 0 f f f t f i s 5 0 701 '2281 600 21 26 2281' _null_ _null_ _null_ _null_ _null_ gist_point_distance _null_ _null_ _null_ _null_ )
+insert ( 3280 gist_circle_distance 11 10 12 1 0 0 0 f f f t f i s 5 0 701 '2281 718 21 26 2281' _null_ _null_ _null_ _null_ _null_ gist_circle_distance _null_ _null_ _null_ _null_ )
+insert ( 3288 gist_poly_distance 11 10 12 1 0 0 0 f f f t f i s 5 0 701 '2281 604 21 26 2281' _null_ _null_ _null_ _null_ _null_ gist_poly_distance _null_ _null_ _null_ _null_ )
+insert ( 3435 gist_point_sortsupport 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ gist_point_sortsupport _null_ _null_ _null_ _null_ )
+insert ( 2743 ginarrayextract 11 10 12 1 0 0 0 f f f t f i s 3 0 2281 '2277 2281 2281' _null_ _null_ _null_ _null_ _null_ ginarrayextract _null_ _null_ _null_ _null_ )
+insert ( 2774 ginqueryarrayextract 11 10 12 1 0 0 0 f f f t f i s 7 0 2281 '2277 2281 21 2281 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ ginqueryarrayextract _null_ _null_ _null_ _null_ )
+insert ( 2744 ginarrayconsistent 11 10 12 1 0 0 0 f f f t f i s 8 0 16 '2281 21 2277 23 2281 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ ginarrayconsistent _null_ _null_ _null_ _null_ )
+insert ( 3920 ginarraytriconsistent 11 10 12 1 0 0 0 f f f t f i s 7 0 18 '2281 21 2277 23 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ ginarraytriconsistent _null_ _null_ _null_ _null_ )
+insert ( 3076 ginarrayextract 11 10 12 1 0 0 0 f f f t f i s 2 0 2281 '2277 2281' _null_ _null_ _null_ _null_ _null_ ginarrayextract_2args _null_ _null_ _null_ _null_ )
+insert ( 2747 arrayoverlap 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2277 2277' _null_ _null_ _null_ _null_ _null_ arrayoverlap _null_ _null_ _null_ _null_ )
+insert ( 2748 arraycontains 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2277 2277' _null_ _null_ _null_ _null_ _null_ arraycontains _null_ _null_ _null_ _null_ )
+insert ( 2749 arraycontained 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2277 2277' _null_ _null_ _null_ _null_ _null_ arraycontained _null_ _null_ _null_ _null_ )
+insert ( 3383 brin_minmax_opcinfo 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ brin_minmax_opcinfo _null_ _null_ _null_ _null_ )
+insert ( 3384 brin_minmax_add_value 11 10 12 1 0 0 0 f f f t f i s 4 0 16 '2281 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_add_value _null_ _null_ _null_ _null_ )
+insert ( 3385 brin_minmax_consistent 11 10 12 1 0 0 0 f f f t f i s 3 0 16 '2281 2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_consistent _null_ _null_ _null_ _null_ )
+insert ( 3386 brin_minmax_union 11 10 12 1 0 0 0 f f f t f i s 3 0 16 '2281 2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_union _null_ _null_ _null_ _null_ )
+insert ( 4616 brin_minmax_multi_opcinfo 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_opcinfo _null_ _null_ _null_ _null_ )
+insert ( 4617 brin_minmax_multi_add_value 11 10 12 1 0 0 0 f f f t f i s 4 0 16 '2281 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_add_value _null_ _null_ _null_ _null_ )
+insert ( 4618 brin_minmax_multi_consistent 11 10 12 1 0 0 0 f f f t f i s 4 0 16 '2281 2281 2281 23' _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_consistent _null_ _null_ _null_ _null_ )
+insert ( 4619 brin_minmax_multi_union 11 10 12 1 0 0 0 f f f t f i s 3 0 16 '2281 2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_union _null_ _null_ _null_ _null_ )
+insert ( 4620 brin_minmax_multi_options 11 10 12 1 0 0 0 f f f f f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_options _null_ _null_ _null_ _null_ )
+insert ( 4621 brin_minmax_multi_distance_int2 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_distance_int2 _null_ _null_ _null_ _null_ )
+insert ( 4622 brin_minmax_multi_distance_int4 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_distance_int4 _null_ _null_ _null_ _null_ )
+insert ( 4623 brin_minmax_multi_distance_int8 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_distance_int8 _null_ _null_ _null_ _null_ )
+insert ( 4624 brin_minmax_multi_distance_float4 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_distance_float4 _null_ _null_ _null_ _null_ )
+insert ( 4625 brin_minmax_multi_distance_float8 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_distance_float8 _null_ _null_ _null_ _null_ )
+insert ( 4626 brin_minmax_multi_distance_numeric 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_distance_numeric _null_ _null_ _null_ _null_ )
+insert ( 4627 brin_minmax_multi_distance_tid 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_distance_tid _null_ _null_ _null_ _null_ )
+insert ( 4628 brin_minmax_multi_distance_uuid 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_distance_uuid _null_ _null_ _null_ _null_ )
+insert ( 4629 brin_minmax_multi_distance_date 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_distance_date _null_ _null_ _null_ _null_ )
+insert ( 4630 brin_minmax_multi_distance_time 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_distance_time _null_ _null_ _null_ _null_ )
+insert ( 4631 brin_minmax_multi_distance_interval 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_distance_interval _null_ _null_ _null_ _null_ )
+insert ( 4632 brin_minmax_multi_distance_timetz 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_distance_timetz _null_ _null_ _null_ _null_ )
+insert ( 4633 brin_minmax_multi_distance_pg_lsn 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_distance_pg_lsn _null_ _null_ _null_ _null_ )
+insert ( 4634 brin_minmax_multi_distance_macaddr 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_distance_macaddr _null_ _null_ _null_ _null_ )
+insert ( 4635 brin_minmax_multi_distance_macaddr8 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_distance_macaddr8 _null_ _null_ _null_ _null_ )
+insert ( 4636 brin_minmax_multi_distance_inet 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_distance_inet _null_ _null_ _null_ _null_ )
+insert ( 4637 brin_minmax_multi_distance_timestamp 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '2281 2281' _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_distance_timestamp _null_ _null_ _null_ _null_ )
+insert ( 4105 brin_inclusion_opcinfo 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ brin_inclusion_opcinfo _null_ _null_ _null_ _null_ )
+insert ( 4106 brin_inclusion_add_value 11 10 12 1 0 0 0 f f f t f i s 4 0 16 '2281 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ brin_inclusion_add_value _null_ _null_ _null_ _null_ )
+insert ( 4107 brin_inclusion_consistent 11 10 12 1 0 0 0 f f f t f i s 3 0 16 '2281 2281 2281' _null_ _null_ _null_ _null_ _null_ brin_inclusion_consistent _null_ _null_ _null_ _null_ )
+insert ( 4108 brin_inclusion_union 11 10 12 1 0 0 0 f f f t f i s 3 0 16 '2281 2281 2281' _null_ _null_ _null_ _null_ _null_ brin_inclusion_union _null_ _null_ _null_ _null_ )
+insert ( 4591 brin_bloom_opcinfo 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ brin_bloom_opcinfo _null_ _null_ _null_ _null_ )
+insert ( 4592 brin_bloom_add_value 11 10 12 1 0 0 0 f f f t f i s 4 0 16 '2281 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ brin_bloom_add_value _null_ _null_ _null_ _null_ )
+insert ( 4593 brin_bloom_consistent 11 10 12 1 0 0 0 f f f t f i s 4 0 16 '2281 2281 2281 23' _null_ _null_ _null_ _null_ _null_ brin_bloom_consistent _null_ _null_ _null_ _null_ )
+insert ( 4594 brin_bloom_union 11 10 12 1 0 0 0 f f f t f i s 3 0 16 '2281 2281 2281' _null_ _null_ _null_ _null_ _null_ brin_bloom_union _null_ _null_ _null_ _null_ )
+insert ( 4595 brin_bloom_options 11 10 12 1 0 0 0 f f f f f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ brin_bloom_options _null_ _null_ _null_ _null_ )
+insert ( 2880 pg_advisory_lock 11 10 12 1 0 0 0 f f f t f v r 1 0 2278 20 _null_ _null_ _null_ _null_ _null_ pg_advisory_lock_int8 _null_ _null_ _null_ _null_ )
+insert ( 3089 pg_advisory_xact_lock 11 10 12 1 0 0 0 f f f t f v r 1 0 2278 20 _null_ _null_ _null_ _null_ _null_ pg_advisory_xact_lock_int8 _null_ _null_ _null_ _null_ )
+insert ( 2881 pg_advisory_lock_shared 11 10 12 1 0 0 0 f f f t f v r 1 0 2278 20 _null_ _null_ _null_ _null_ _null_ pg_advisory_lock_shared_int8 _null_ _null_ _null_ _null_ )
+insert ( 3090 pg_advisory_xact_lock_shared 11 10 12 1 0 0 0 f f f t f v r 1 0 2278 20 _null_ _null_ _null_ _null_ _null_ pg_advisory_xact_lock_shared_int8 _null_ _null_ _null_ _null_ )
+insert ( 2882 pg_try_advisory_lock 11 10 12 1 0 0 0 f f f t f v r 1 0 16 20 _null_ _null_ _null_ _null_ _null_ pg_try_advisory_lock_int8 _null_ _null_ _null_ _null_ )
+insert ( 3091 pg_try_advisory_xact_lock 11 10 12 1 0 0 0 f f f t f v r 1 0 16 20 _null_ _null_ _null_ _null_ _null_ pg_try_advisory_xact_lock_int8 _null_ _null_ _null_ _null_ )
+insert ( 2883 pg_try_advisory_lock_shared 11 10 12 1 0 0 0 f f f t f v r 1 0 16 20 _null_ _null_ _null_ _null_ _null_ pg_try_advisory_lock_shared_int8 _null_ _null_ _null_ _null_ )
+insert ( 3092 pg_try_advisory_xact_lock_shared 11 10 12 1 0 0 0 f f f t f v r 1 0 16 20 _null_ _null_ _null_ _null_ _null_ pg_try_advisory_xact_lock_shared_int8 _null_ _null_ _null_ _null_ )
+insert ( 2884 pg_advisory_unlock 11 10 12 1 0 0 0 f f f t f v r 1 0 16 20 _null_ _null_ _null_ _null_ _null_ pg_advisory_unlock_int8 _null_ _null_ _null_ _null_ )
+insert ( 2885 pg_advisory_unlock_shared 11 10 12 1 0 0 0 f f f t f v r 1 0 16 20 _null_ _null_ _null_ _null_ _null_ pg_advisory_unlock_shared_int8 _null_ _null_ _null_ _null_ )
+insert ( 2886 pg_advisory_lock 11 10 12 1 0 0 0 f f f t f v r 2 0 2278 '23 23' _null_ _null_ _null_ _null_ _null_ pg_advisory_lock_int4 _null_ _null_ _null_ _null_ )
+insert ( 3093 pg_advisory_xact_lock 11 10 12 1 0 0 0 f f f t f v r 2 0 2278 '23 23' _null_ _null_ _null_ _null_ _null_ pg_advisory_xact_lock_int4 _null_ _null_ _null_ _null_ )
+insert ( 2887 pg_advisory_lock_shared 11 10 12 1 0 0 0 f f f t f v r 2 0 2278 '23 23' _null_ _null_ _null_ _null_ _null_ pg_advisory_lock_shared_int4 _null_ _null_ _null_ _null_ )
+insert ( 3094 pg_advisory_xact_lock_shared 11 10 12 1 0 0 0 f f f t f v r 2 0 2278 '23 23' _null_ _null_ _null_ _null_ _null_ pg_advisory_xact_lock_shared_int4 _null_ _null_ _null_ _null_ )
+insert ( 2888 pg_try_advisory_lock 11 10 12 1 0 0 0 f f f t f v r 2 0 16 '23 23' _null_ _null_ _null_ _null_ _null_ pg_try_advisory_lock_int4 _null_ _null_ _null_ _null_ )
+insert ( 3095 pg_try_advisory_xact_lock 11 10 12 1 0 0 0 f f f t f v r 2 0 16 '23 23' _null_ _null_ _null_ _null_ _null_ pg_try_advisory_xact_lock_int4 _null_ _null_ _null_ _null_ )
+insert ( 2889 pg_try_advisory_lock_shared 11 10 12 1 0 0 0 f f f t f v r 2 0 16 '23 23' _null_ _null_ _null_ _null_ _null_ pg_try_advisory_lock_shared_int4 _null_ _null_ _null_ _null_ )
+insert ( 3096 pg_try_advisory_xact_lock_shared 11 10 12 1 0 0 0 f f f t f v r 2 0 16 '23 23' _null_ _null_ _null_ _null_ _null_ pg_try_advisory_xact_lock_shared_int4 _null_ _null_ _null_ _null_ )
+insert ( 2890 pg_advisory_unlock 11 10 12 1 0 0 0 f f f t f v r 2 0 16 '23 23' _null_ _null_ _null_ _null_ _null_ pg_advisory_unlock_int4 _null_ _null_ _null_ _null_ )
+insert ( 2891 pg_advisory_unlock_shared 11 10 12 1 0 0 0 f f f t f v r 2 0 16 '23 23' _null_ _null_ _null_ _null_ _null_ pg_advisory_unlock_shared_int4 _null_ _null_ _null_ _null_ )
+insert ( 2892 pg_advisory_unlock_all 11 10 12 1 0 0 0 f f f t f v r 0 0 2278 '' _null_ _null_ _null_ _null_ _null_ pg_advisory_unlock_all _null_ _null_ _null_ _null_ )
+insert ( 2893 xml_in 11 10 12 1 0 0 0 f f f t f s s 1 0 142 2275 _null_ _null_ _null_ _null_ _null_ xml_in _null_ _null_ _null_ _null_ )
+insert ( 2894 xml_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 142 _null_ _null_ _null_ _null_ _null_ xml_out _null_ _null_ _null_ _null_ )
+insert ( 2895 xmlcomment 11 10 12 1 0 0 0 f f f t f i s 1 0 142 25 _null_ _null_ _null_ _null_ _null_ xmlcomment _null_ _null_ _null_ _null_ )
+insert ( 2896 xml 11 10 12 1 0 0 0 f f f t f s s 1 0 142 25 _null_ _null_ _null_ _null_ _null_ texttoxml _null_ _null_ _null_ _null_ )
+insert ( 2897 xmlvalidate 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '142 25' _null_ _null_ _null_ _null_ _null_ xmlvalidate _null_ _null_ _null_ _null_ )
+insert ( 2898 xml_recv 11 10 12 1 0 0 0 f f f t f s s 1 0 142 2281 _null_ _null_ _null_ _null_ _null_ xml_recv _null_ _null_ _null_ _null_ )
+insert ( 2899 xml_send 11 10 12 1 0 0 0 f f f t f s s 1 0 17 142 _null_ _null_ _null_ _null_ _null_ xml_send _null_ _null_ _null_ _null_ )
+insert ( 2900 xmlconcat2 11 10 12 1 0 0 0 f f f f f i s 2 0 142 '142 142' _null_ _null_ _null_ _null_ _null_ xmlconcat2 _null_ _null_ _null_ _null_ )
+insert ( 2901 xmlagg 11 10 12 1 0 0 0 a f f f f i s 1 0 142 142 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 2922 text 11 10 12 1 0 0 0 f f f t f i s 1 0 25 142 _null_ _null_ _null_ _null_ _null_ xmltotext _null_ _null_ _null_ _null_ )
+insert ( 2923 table_to_xml 11 10 12 100 0 0 0 f f f t f s r 4 0 142 '2205 16 16 25' _null_ _null_ '{tbl,nulls,tableforest,targetns}' _null_ _null_ table_to_xml _null_ _null_ _null_ _null_ )
+insert ( 2924 query_to_xml 11 10 12 100 0 0 0 f f f t f v u 4 0 142 '25 16 16 25' _null_ _null_ '{query,nulls,tableforest,targetns}' _null_ _null_ query_to_xml _null_ _null_ _null_ _null_ )
+insert ( 2925 cursor_to_xml 11 10 12 100 0 0 0 f f f t f v u 5 0 142 '1790 23 16 16 25' _null_ _null_ '{cursor,count,nulls,tableforest,targetns}' _null_ _null_ cursor_to_xml _null_ _null_ _null_ _null_ )
+insert ( 2926 table_to_xmlschema 11 10 12 100 0 0 0 f f f t f s r 4 0 142 '2205 16 16 25' _null_ _null_ '{tbl,nulls,tableforest,targetns}' _null_ _null_ table_to_xmlschema _null_ _null_ _null_ _null_ )
+insert ( 2927 query_to_xmlschema 11 10 12 100 0 0 0 f f f t f v u 4 0 142 '25 16 16 25' _null_ _null_ '{query,nulls,tableforest,targetns}' _null_ _null_ query_to_xmlschema _null_ _null_ _null_ _null_ )
+insert ( 2928 cursor_to_xmlschema 11 10 12 100 0 0 0 f f f t f v u 4 0 142 '1790 16 16 25' _null_ _null_ '{cursor,nulls,tableforest,targetns}' _null_ _null_ cursor_to_xmlschema _null_ _null_ _null_ _null_ )
+insert ( 2929 table_to_xml_and_xmlschema 11 10 12 100 0 0 0 f f f t f s r 4 0 142 '2205 16 16 25' _null_ _null_ '{tbl,nulls,tableforest,targetns}' _null_ _null_ table_to_xml_and_xmlschema _null_ _null_ _null_ _null_ )
+insert ( 2930 query_to_xml_and_xmlschema 11 10 12 100 0 0 0 f f f t f v u 4 0 142 '25 16 16 25' _null_ _null_ '{query,nulls,tableforest,targetns}' _null_ _null_ query_to_xml_and_xmlschema _null_ _null_ _null_ _null_ )
+insert ( 2933 schema_to_xml 11 10 12 100 0 0 0 f f f t f s r 4 0 142 '19 16 16 25' _null_ _null_ '{schema,nulls,tableforest,targetns}' _null_ _null_ schema_to_xml _null_ _null_ _null_ _null_ )
+insert ( 2934 schema_to_xmlschema 11 10 12 100 0 0 0 f f f t f s r 4 0 142 '19 16 16 25' _null_ _null_ '{schema,nulls,tableforest,targetns}' _null_ _null_ schema_to_xmlschema _null_ _null_ _null_ _null_ )
+insert ( 2935 schema_to_xml_and_xmlschema 11 10 12 100 0 0 0 f f f t f s r 4 0 142 '19 16 16 25' _null_ _null_ '{schema,nulls,tableforest,targetns}' _null_ _null_ schema_to_xml_and_xmlschema _null_ _null_ _null_ _null_ )
+insert ( 2936 database_to_xml 11 10 12 100 0 0 0 f f f t f s r 3 0 142 '16 16 25' _null_ _null_ '{nulls,tableforest,targetns}' _null_ _null_ database_to_xml _null_ _null_ _null_ _null_ )
+insert ( 2937 database_to_xmlschema 11 10 12 100 0 0 0 f f f t f s r 3 0 142 '16 16 25' _null_ _null_ '{nulls,tableforest,targetns}' _null_ _null_ database_to_xmlschema _null_ _null_ _null_ _null_ )
+insert ( 2938 database_to_xml_and_xmlschema 11 10 12 100 0 0 0 f f f t f s r 3 0 142 '16 16 25' _null_ _null_ '{nulls,tableforest,targetns}' _null_ _null_ database_to_xml_and_xmlschema _null_ _null_ _null_ _null_ )
+insert ( 2931 xpath 11 10 12 1 0 0 0 f f f t f i s 3 0 143 '25 142 1009' _null_ _null_ _null_ _null_ _null_ xpath _null_ _null_ _null_ _null_ )
+insert ( 2932 xpath 11 10 14 1 0 0 0 f f f t f i s 2 0 143 '25 142' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 2614 xmlexists 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '25 142' _null_ _null_ _null_ _null_ _null_ xmlexists _null_ _null_ _null_ _null_ )
+insert ( 3049 xpath_exists 11 10 12 1 0 0 0 f f f t f i s 3 0 16 '25 142 1009' _null_ _null_ _null_ _null_ _null_ xpath_exists _null_ _null_ _null_ _null_ )
+insert ( 3050 xpath_exists 11 10 14 1 0 0 0 f f f t f i s 2 0 16 '25 142' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 3051 xml_is_well_formed 11 10 12 1 0 0 0 f f f t f s s 1 0 16 25 _null_ _null_ _null_ _null_ _null_ xml_is_well_formed _null_ _null_ _null_ _null_ )
+insert ( 3052 xml_is_well_formed_document 11 10 12 1 0 0 0 f f f t f i s 1 0 16 25 _null_ _null_ _null_ _null_ _null_ xml_is_well_formed_document _null_ _null_ _null_ _null_ )
+insert ( 3053 xml_is_well_formed_content 11 10 12 1 0 0 0 f f f t f i s 1 0 16 25 _null_ _null_ _null_ _null_ _null_ xml_is_well_formed_content _null_ _null_ _null_ _null_ )
+insert ( 321 json_in 11 10 12 1 0 0 0 f f f t f i s 1 0 114 2275 _null_ _null_ _null_ _null_ _null_ json_in _null_ _null_ _null_ _null_ )
+insert ( 322 json_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 114 _null_ _null_ _null_ _null_ _null_ json_out _null_ _null_ _null_ _null_ )
+insert ( 323 json_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 114 2281 _null_ _null_ _null_ _null_ _null_ json_recv _null_ _null_ _null_ _null_ )
+insert ( 324 json_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 114 _null_ _null_ _null_ _null_ _null_ json_send _null_ _null_ _null_ _null_ )
+insert ( 3153 array_to_json 11 10 12 1 0 0 0 f f f t f s s 1 0 114 2277 _null_ _null_ _null_ _null_ _null_ array_to_json _null_ _null_ _null_ _null_ )
+insert ( 3154 array_to_json 11 10 12 1 0 0 0 f f f t f s s 2 0 114 '2277 16' _null_ _null_ _null_ _null_ _null_ array_to_json_pretty _null_ _null_ _null_ _null_ )
+insert ( 3155 row_to_json 11 10 12 1 0 0 0 f f f t f s s 1 0 114 2249 _null_ _null_ _null_ _null_ _null_ row_to_json _null_ _null_ _null_ _null_ )
+insert ( 3156 row_to_json 11 10 12 1 0 0 0 f f f t f s s 2 0 114 '2249 16' _null_ _null_ _null_ _null_ _null_ row_to_json_pretty _null_ _null_ _null_ _null_ )
+insert ( 3173 json_agg_transfn 11 10 12 1 0 0 0 f f f f f s s 2 0 2281 '2281 2283' _null_ _null_ _null_ _null_ _null_ json_agg_transfn _null_ _null_ _null_ _null_ )
+insert ( 6275 json_agg_strict_transfn 11 10 12 1 0 0 0 f f f f f s s 2 0 2281 '2281 2283' _null_ _null_ _null_ _null_ _null_ json_agg_strict_transfn _null_ _null_ _null_ _null_ )
+insert ( 3174 json_agg_finalfn 11 10 12 1 0 0 0 f f f f f i s 1 0 114 2281 _null_ _null_ _null_ _null_ _null_ json_agg_finalfn _null_ _null_ _null_ _null_ )
+insert ( 3175 json_agg 11 10 12 1 0 0 0 a f f f f s s 1 0 114 2283 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 6276 json_agg_strict 11 10 12 1 0 0 0 a f f f f s s 1 0 114 2283 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3180 json_object_agg_transfn 11 10 12 1 0 0 0 f f f f f s s 3 0 2281 '2281 2276 2276' _null_ _null_ _null_ _null_ _null_ json_object_agg_transfn _null_ _null_ _null_ _null_ )
+insert ( 6277 json_object_agg_strict_transfn 11 10 12 1 0 0 0 f f f f f s s 3 0 2281 '2281 2276 2276' _null_ _null_ _null_ _null_ _null_ json_object_agg_strict_transfn _null_ _null_ _null_ _null_ )
+insert ( 6278 json_object_agg_unique_transfn 11 10 12 1 0 0 0 f f f f f s s 3 0 2281 '2281 2276 2276' _null_ _null_ _null_ _null_ _null_ json_object_agg_unique_transfn _null_ _null_ _null_ _null_ )
+insert ( 6279 json_object_agg_unique_strict_transfn 11 10 12 1 0 0 0 f f f f f s s 3 0 2281 '2281 2276 2276' _null_ _null_ _null_ _null_ _null_ json_object_agg_unique_strict_transfn _null_ _null_ _null_ _null_ )
+insert ( 3196 json_object_agg_finalfn 11 10 12 1 0 0 0 f f f f f i s 1 0 114 2281 _null_ _null_ _null_ _null_ _null_ json_object_agg_finalfn _null_ _null_ _null_ _null_ )
+insert ( 3197 json_object_agg 11 10 12 1 0 0 0 a f f f f s s 2 0 114 '2276 2276' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 6280 json_object_agg_strict 11 10 12 1 0 0 0 a f f f f s s 2 0 114 '2276 2276' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 6281 json_object_agg_unique 11 10 12 1 0 0 0 a f f f f s s 2 0 114 '2276 2276' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 6282 json_object_agg_unique_strict 11 10 12 1 0 0 0 a f f f f s s 2 0 114 '2276 2276' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3198 json_build_array 11 10 12 1 0 2276 0 f f f f f s s 1 0 114 2276 '{2276}' '{v}' _null_ _null_ _null_ json_build_array _null_ _null_ _null_ _null_ )
+insert ( 3199 json_build_array 11 10 12 1 0 0 0 f f f f f s s 0 0 114 '' _null_ _null_ _null_ _null_ _null_ json_build_array_noargs _null_ _null_ _null_ _null_ )
+insert ( 3200 json_build_object 11 10 12 1 0 2276 0 f f f f f s s 1 0 114 2276 '{2276}' '{v}' _null_ _null_ _null_ json_build_object _null_ _null_ _null_ _null_ )
+insert ( 3201 json_build_object 11 10 12 1 0 0 0 f f f f f s s 0 0 114 '' _null_ _null_ _null_ _null_ _null_ json_build_object_noargs _null_ _null_ _null_ _null_ )
+insert ( 3202 json_object 11 10 12 1 0 0 0 f f f t f i s 1 0 114 1009 _null_ _null_ _null_ _null_ _null_ json_object _null_ _null_ _null_ _null_ )
+insert ( 3203 json_object 11 10 12 1 0 0 0 f f f t f i s 2 0 114 '1009 1009' _null_ _null_ _null_ _null_ _null_ json_object_two_arg _null_ _null_ _null_ _null_ )
+insert ( 3176 to_json 11 10 12 1 0 0 0 f f f t f s s 1 0 114 2283 _null_ _null_ _null_ _null_ _null_ to_json _null_ _null_ _null_ _null_ )
+insert ( 3261 json_strip_nulls 11 10 12 1 0 0 0 f f f t f i s 1 0 114 114 _null_ _null_ _null_ _null_ _null_ json_strip_nulls _null_ _null_ _null_ _null_ )
+insert ( 3947 json_object_field 11 10 12 1 0 0 0 f f f t f i s 2 0 114 '114 25' _null_ _null_ '{from_json, field_name}' _null_ _null_ json_object_field _null_ _null_ _null_ _null_ )
+insert ( 3948 json_object_field_text 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '114 25' _null_ _null_ '{from_json, field_name}' _null_ _null_ json_object_field_text _null_ _null_ _null_ _null_ )
+insert ( 3949 json_array_element 11 10 12 1 0 0 0 f f f t f i s 2 0 114 '114 23' _null_ _null_ '{from_json, element_index}' _null_ _null_ json_array_element _null_ _null_ _null_ _null_ )
+insert ( 3950 json_array_element_text 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '114 23' _null_ _null_ '{from_json, element_index}' _null_ _null_ json_array_element_text _null_ _null_ _null_ _null_ )
+insert ( 3951 json_extract_path 11 10 12 1 0 25 0 f f f t f i s 2 0 114 '114 1009' '{114,1009}' '{i,v}' '{from_json,path_elems}' _null_ _null_ json_extract_path _null_ _null_ _null_ _null_ )
+insert ( 3953 json_extract_path_text 11 10 12 1 0 25 0 f f f t f i s 2 0 25 '114 1009' '{114,1009}' '{i,v}' '{from_json,path_elems}' _null_ _null_ json_extract_path_text _null_ _null_ _null_ _null_ )
+insert ( 3955 json_array_elements 11 10 12 1 100 0 0 f f f t t i s 1 0 114 114 '{114,114}' '{i,o}' '{from_json,value}' _null_ _null_ json_array_elements _null_ _null_ _null_ _null_ )
+insert ( 3969 json_array_elements_text 11 10 12 1 100 0 0 f f f t t i s 1 0 25 114 '{114,25}' '{i,o}' '{from_json,value}' _null_ _null_ json_array_elements_text _null_ _null_ _null_ _null_ )
+insert ( 3956 json_array_length 11 10 12 1 0 0 0 f f f t f i s 1 0 23 114 _null_ _null_ _null_ _null_ _null_ json_array_length _null_ _null_ _null_ _null_ )
+insert ( 3957 json_object_keys 11 10 12 1 100 0 0 f f f t t i s 1 0 25 114 _null_ _null_ _null_ _null_ _null_ json_object_keys _null_ _null_ _null_ _null_ )
+insert ( 3958 json_each 11 10 12 1 100 0 0 f f f t t i s 1 0 2249 114 '{114,25,114}' '{i,o,o}' '{from_json,key,value}' _null_ _null_ json_each _null_ _null_ _null_ _null_ )
+insert ( 3959 json_each_text 11 10 12 1 100 0 0 f f f t t i s 1 0 2249 114 '{114,25,25}' '{i,o,o}' '{from_json,key,value}' _null_ _null_ json_each_text _null_ _null_ _null_ _null_ )
+insert ( 3960 json_populate_record 11 10 12 1 0 0 0 f f f f f s s 3 0 2283 '2283 114 16' _null_ _null_ _null_ _null_ _null_ json_populate_record _null_ _null_ _null_ _null_ )
+insert ( 3961 json_populate_recordset 11 10 12 1 100 0 0 f f f f t s s 3 0 2283 '2283 114 16' _null_ _null_ _null_ _null_ _null_ json_populate_recordset _null_ _null_ _null_ _null_ )
+insert ( 3204 json_to_record 11 10 12 1 0 0 0 f f f t f s s 1 0 2249 114 _null_ _null_ _null_ _null_ _null_ json_to_record _null_ _null_ _null_ _null_ )
+insert ( 3205 json_to_recordset 11 10 12 1 100 0 0 f f f f t s s 1 0 2249 114 _null_ _null_ _null_ _null_ _null_ json_to_recordset _null_ _null_ _null_ _null_ )
+insert ( 3968 json_typeof 11 10 12 1 0 0 0 f f f t f i s 1 0 25 114 _null_ _null_ _null_ _null_ _null_ json_typeof _null_ _null_ _null_ _null_ )
+insert ( 2952 uuid_in 11 10 12 1 0 0 0 f f f t f i s 1 0 2950 2275 _null_ _null_ _null_ _null_ _null_ uuid_in _null_ _null_ _null_ _null_ )
+insert ( 2953 uuid_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 2950 _null_ _null_ _null_ _null_ _null_ uuid_out _null_ _null_ _null_ _null_ )
+insert ( 2954 uuid_lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '2950 2950' _null_ _null_ _null_ _null_ _null_ uuid_lt _null_ _null_ _null_ _null_ )
+insert ( 2955 uuid_le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '2950 2950' _null_ _null_ _null_ _null_ _null_ uuid_le _null_ _null_ _null_ _null_ )
+insert ( 2956 uuid_eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '2950 2950' _null_ _null_ _null_ _null_ _null_ uuid_eq _null_ _null_ _null_ _null_ )
+insert ( 2957 uuid_ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '2950 2950' _null_ _null_ _null_ _null_ _null_ uuid_ge _null_ _null_ _null_ _null_ )
+insert ( 2958 uuid_gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '2950 2950' _null_ _null_ _null_ _null_ _null_ uuid_gt _null_ _null_ _null_ _null_ )
+insert ( 2959 uuid_ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '2950 2950' _null_ _null_ _null_ _null_ _null_ uuid_ne _null_ _null_ _null_ _null_ )
+insert ( 2960 uuid_cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '2950 2950' _null_ _null_ _null_ _null_ _null_ uuid_cmp _null_ _null_ _null_ _null_ )
+insert ( 3300 uuid_sortsupport 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ uuid_sortsupport _null_ _null_ _null_ _null_ )
+insert ( 2961 uuid_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 2950 2281 _null_ _null_ _null_ _null_ _null_ uuid_recv _null_ _null_ _null_ _null_ )
+insert ( 2962 uuid_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 2950 _null_ _null_ _null_ _null_ _null_ uuid_send _null_ _null_ _null_ _null_ )
+insert ( 2963 uuid_hash 11 10 12 1 0 0 0 f f f t f i s 1 0 23 2950 _null_ _null_ _null_ _null_ _null_ uuid_hash _null_ _null_ _null_ _null_ )
+insert ( 3412 uuid_hash_extended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '2950 20' _null_ _null_ _null_ _null_ _null_ uuid_hash_extended _null_ _null_ _null_ _null_ )
+insert ( 3432 gen_random_uuid 11 10 12 1 0 0 0 f f t t f v s 0 0 2950 '' _null_ _null_ _null_ _null_ _null_ gen_random_uuid _null_ _null_ _null_ _null_ )
+insert ( 3229 pg_lsn_in 11 10 12 1 0 0 0 f f f t f i s 1 0 3220 2275 _null_ _null_ _null_ _null_ _null_ pg_lsn_in _null_ _null_ _null_ _null_ )
+insert ( 3230 pg_lsn_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 3220 _null_ _null_ _null_ _null_ _null_ pg_lsn_out _null_ _null_ _null_ _null_ )
+insert ( 3231 pg_lsn_lt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '3220 3220' _null_ _null_ _null_ _null_ _null_ pg_lsn_lt _null_ _null_ _null_ _null_ )
+insert ( 3232 pg_lsn_le 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '3220 3220' _null_ _null_ _null_ _null_ _null_ pg_lsn_le _null_ _null_ _null_ _null_ )
+insert ( 3233 pg_lsn_eq 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '3220 3220' _null_ _null_ _null_ _null_ _null_ pg_lsn_eq _null_ _null_ _null_ _null_ )
+insert ( 3234 pg_lsn_ge 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '3220 3220' _null_ _null_ _null_ _null_ _null_ pg_lsn_ge _null_ _null_ _null_ _null_ )
+insert ( 3235 pg_lsn_gt 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '3220 3220' _null_ _null_ _null_ _null_ _null_ pg_lsn_gt _null_ _null_ _null_ _null_ )
+insert ( 3236 pg_lsn_ne 11 10 12 1 0 0 0 f f t t f i s 2 0 16 '3220 3220' _null_ _null_ _null_ _null_ _null_ pg_lsn_ne _null_ _null_ _null_ _null_ )
+insert ( 3237 pg_lsn_mi 11 10 12 1 0 0 0 f f f t f i s 2 0 1700 '3220 3220' _null_ _null_ _null_ _null_ _null_ pg_lsn_mi _null_ _null_ _null_ _null_ )
+insert ( 3238 pg_lsn_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 3220 2281 _null_ _null_ _null_ _null_ _null_ pg_lsn_recv _null_ _null_ _null_ _null_ )
+insert ( 3239 pg_lsn_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 3220 _null_ _null_ _null_ _null_ _null_ pg_lsn_send _null_ _null_ _null_ _null_ )
+insert ( 3251 pg_lsn_cmp 11 10 12 1 0 0 0 f f t t f i s 2 0 23 '3220 3220' _null_ _null_ _null_ _null_ _null_ pg_lsn_cmp _null_ _null_ _null_ _null_ )
+insert ( 3252 pg_lsn_hash 11 10 12 1 0 0 0 f f f t f i s 1 0 23 3220 _null_ _null_ _null_ _null_ _null_ pg_lsn_hash _null_ _null_ _null_ _null_ )
+insert ( 3413 pg_lsn_hash_extended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '3220 20' _null_ _null_ _null_ _null_ _null_ pg_lsn_hash_extended _null_ _null_ _null_ _null_ )
+insert ( 4187 pg_lsn_larger 11 10 12 1 0 0 0 f f f t f i s 2 0 3220 '3220 3220' _null_ _null_ _null_ _null_ _null_ pg_lsn_larger _null_ _null_ _null_ _null_ )
+insert ( 4188 pg_lsn_smaller 11 10 12 1 0 0 0 f f f t f i s 2 0 3220 '3220 3220' _null_ _null_ _null_ _null_ _null_ pg_lsn_smaller _null_ _null_ _null_ _null_ )
+insert ( 5022 pg_lsn_pli 11 10 12 1 0 0 0 f f f t f i s 2 0 3220 '3220 1700' _null_ _null_ _null_ _null_ _null_ pg_lsn_pli _null_ _null_ _null_ _null_ )
+insert ( 5023 numeric_pl_pg_lsn 11 10 14 1 0 0 0 f f f t f i s 2 0 3220 '1700 3220' _null_ _null_ _null_ _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 5024 pg_lsn_mii 11 10 12 1 0 0 0 f f f t f i s 2 0 3220 '3220 1700' _null_ _null_ _null_ _null_ _null_ pg_lsn_mii _null_ _null_ _null_ _null_ )
+insert ( 3504 anyenum_in 11 10 12 1 0 0 0 f f f t f i s 1 0 3500 2275 _null_ _null_ _null_ _null_ _null_ anyenum_in _null_ _null_ _null_ _null_ )
+insert ( 3505 anyenum_out 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 3500 _null_ _null_ _null_ _null_ _null_ anyenum_out _null_ _null_ _null_ _null_ )
+insert ( 3506 enum_in 11 10 12 1 0 0 0 f f f t f s s 2 0 3500 '2275 26' _null_ _null_ _null_ _null_ _null_ enum_in _null_ _null_ _null_ _null_ )
+insert ( 3507 enum_out 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 3500 _null_ _null_ _null_ _null_ _null_ enum_out _null_ _null_ _null_ _null_ )
+insert ( 3508 enum_eq 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3500 3500' _null_ _null_ _null_ _null_ _null_ enum_eq _null_ _null_ _null_ _null_ )
+insert ( 3509 enum_ne 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3500 3500' _null_ _null_ _null_ _null_ _null_ enum_ne _null_ _null_ _null_ _null_ )
+insert ( 3510 enum_lt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3500 3500' _null_ _null_ _null_ _null_ _null_ enum_lt _null_ _null_ _null_ _null_ )
+insert ( 3511 enum_gt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3500 3500' _null_ _null_ _null_ _null_ _null_ enum_gt _null_ _null_ _null_ _null_ )
+insert ( 3512 enum_le 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3500 3500' _null_ _null_ _null_ _null_ _null_ enum_le _null_ _null_ _null_ _null_ )
+insert ( 3513 enum_ge 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3500 3500' _null_ _null_ _null_ _null_ _null_ enum_ge _null_ _null_ _null_ _null_ )
+insert ( 3514 enum_cmp 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '3500 3500' _null_ _null_ _null_ _null_ _null_ enum_cmp _null_ _null_ _null_ _null_ )
+insert ( 3515 hashenum 11 10 12 1 0 0 0 f f f t f i s 1 0 23 3500 _null_ _null_ _null_ _null_ _null_ hashenum _null_ _null_ _null_ _null_ )
+insert ( 3414 hashenumextended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '3500 20' _null_ _null_ _null_ _null_ _null_ hashenumextended _null_ _null_ _null_ _null_ )
+insert ( 3524 enum_smaller 11 10 12 1 0 0 0 f f f t f i s 2 0 3500 '3500 3500' _null_ _null_ _null_ _null_ _null_ enum_smaller _null_ _null_ _null_ _null_ )
+insert ( 3525 enum_larger 11 10 12 1 0 0 0 f f f t f i s 2 0 3500 '3500 3500' _null_ _null_ _null_ _null_ _null_ enum_larger _null_ _null_ _null_ _null_ )
+insert ( 3526 max 11 10 12 1 0 0 0 a f f f f i s 1 0 3500 3500 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3527 min 11 10 12 1 0 0 0 a f f f f i s 1 0 3500 3500 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3528 enum_first 11 10 12 1 0 0 0 f f f f f s s 1 0 3500 3500 _null_ _null_ _null_ _null_ _null_ enum_first _null_ _null_ _null_ _null_ )
+insert ( 3529 enum_last 11 10 12 1 0 0 0 f f f f f s s 1 0 3500 3500 _null_ _null_ _null_ _null_ _null_ enum_last _null_ _null_ _null_ _null_ )
+insert ( 3530 enum_range 11 10 12 1 0 0 0 f f f f f s s 2 0 2277 '3500 3500' _null_ _null_ _null_ _null_ _null_ enum_range_bounds _null_ _null_ _null_ _null_ )
+insert ( 3531 enum_range 11 10 12 1 0 0 0 f f f f f s s 1 0 2277 3500 _null_ _null_ _null_ _null_ _null_ enum_range_all _null_ _null_ _null_ _null_ )
+insert ( 3532 enum_recv 11 10 12 1 0 0 0 f f f t f s s 2 0 3500 '2281 26' _null_ _null_ _null_ _null_ _null_ enum_recv _null_ _null_ _null_ _null_ )
+insert ( 3533 enum_send 11 10 12 1 0 0 0 f f f t f s s 1 0 17 3500 _null_ _null_ _null_ _null_ _null_ enum_send _null_ _null_ _null_ _null_ )
+insert ( 3610 tsvectorin 11 10 12 1 0 0 0 f f f t f i s 1 0 3614 2275 _null_ _null_ _null_ _null_ _null_ tsvectorin _null_ _null_ _null_ _null_ )
+insert ( 3639 tsvectorrecv 11 10 12 1 0 0 0 f f f t f i s 1 0 3614 2281 _null_ _null_ _null_ _null_ _null_ tsvectorrecv _null_ _null_ _null_ _null_ )
+insert ( 3611 tsvectorout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 3614 _null_ _null_ _null_ _null_ _null_ tsvectorout _null_ _null_ _null_ _null_ )
+insert ( 3638 tsvectorsend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 3614 _null_ _null_ _null_ _null_ _null_ tsvectorsend _null_ _null_ _null_ _null_ )
+insert ( 3612 tsqueryin 11 10 12 1 0 0 0 f f f t f i s 1 0 3615 2275 _null_ _null_ _null_ _null_ _null_ tsqueryin _null_ _null_ _null_ _null_ )
+insert ( 3641 tsqueryrecv 11 10 12 1 0 0 0 f f f t f i s 1 0 3615 2281 _null_ _null_ _null_ _null_ _null_ tsqueryrecv _null_ _null_ _null_ _null_ )
+insert ( 3613 tsqueryout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 3615 _null_ _null_ _null_ _null_ _null_ tsqueryout _null_ _null_ _null_ _null_ )
+insert ( 3640 tsquerysend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 3615 _null_ _null_ _null_ _null_ _null_ tsquerysend _null_ _null_ _null_ _null_ )
+insert ( 3646 gtsvectorin 11 10 12 1 0 0 0 f f f t f i s 1 0 3642 2275 _null_ _null_ _null_ _null_ _null_ gtsvectorin _null_ _null_ _null_ _null_ )
+insert ( 3647 gtsvectorout 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 3642 _null_ _null_ _null_ _null_ _null_ gtsvectorout _null_ _null_ _null_ _null_ )
+insert ( 3616 tsvector_lt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3614 3614' _null_ _null_ _null_ _null_ _null_ tsvector_lt _null_ _null_ _null_ _null_ )
+insert ( 3617 tsvector_le 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3614 3614' _null_ _null_ _null_ _null_ _null_ tsvector_le _null_ _null_ _null_ _null_ )
+insert ( 3618 tsvector_eq 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3614 3614' _null_ _null_ _null_ _null_ _null_ tsvector_eq _null_ _null_ _null_ _null_ )
+insert ( 3619 tsvector_ne 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3614 3614' _null_ _null_ _null_ _null_ _null_ tsvector_ne _null_ _null_ _null_ _null_ )
+insert ( 3620 tsvector_ge 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3614 3614' _null_ _null_ _null_ _null_ _null_ tsvector_ge _null_ _null_ _null_ _null_ )
+insert ( 3621 tsvector_gt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3614 3614' _null_ _null_ _null_ _null_ _null_ tsvector_gt _null_ _null_ _null_ _null_ )
+insert ( 3622 tsvector_cmp 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '3614 3614' _null_ _null_ _null_ _null_ _null_ tsvector_cmp _null_ _null_ _null_ _null_ )
+insert ( 3711 length 11 10 12 1 0 0 0 f f f t f i s 1 0 23 3614 _null_ _null_ _null_ _null_ _null_ tsvector_length _null_ _null_ _null_ _null_ )
+insert ( 3623 strip 11 10 12 1 0 0 0 f f f t f i s 1 0 3614 3614 _null_ _null_ _null_ _null_ _null_ tsvector_strip _null_ _null_ _null_ _null_ )
+insert ( 3624 setweight 11 10 12 1 0 0 0 f f f t f i s 2 0 3614 '3614 18' _null_ _null_ _null_ _null_ _null_ tsvector_setweight _null_ _null_ _null_ _null_ )
+insert ( 3320 setweight 11 10 12 1 0 0 0 f f f t f i s 3 0 3614 '3614 18 1009' _null_ _null_ _null_ _null_ _null_ tsvector_setweight_by_filter _null_ _null_ _null_ _null_ )
+insert ( 3625 tsvector_concat 11 10 12 1 0 0 0 f f f t f i s 2 0 3614 '3614 3614' _null_ _null_ _null_ _null_ _null_ tsvector_concat _null_ _null_ _null_ _null_ )
+insert ( 3321 ts_delete 11 10 12 1 0 0 0 f f f t f i s 2 0 3614 '3614 25' _null_ _null_ _null_ _null_ _null_ tsvector_delete_str _null_ _null_ _null_ _null_ )
+insert ( 3323 ts_delete 11 10 12 1 0 0 0 f f f t f i s 2 0 3614 '3614 1009' _null_ _null_ _null_ _null_ _null_ tsvector_delete_arr _null_ _null_ _null_ _null_ )
+insert ( 3322 unnest 11 10 12 1 10 0 0 f f f t t i s 1 0 2249 3614 '{3614,25,1005,1009}' '{i,o,o,o}' '{tsvector,lexeme,positions,weights}' _null_ _null_ tsvector_unnest _null_ _null_ _null_ _null_ )
+insert ( 3326 tsvector_to_array 11 10 12 1 0 0 0 f f f t f i s 1 0 1009 3614 _null_ _null_ _null_ _null_ _null_ tsvector_to_array _null_ _null_ _null_ _null_ )
+insert ( 3327 array_to_tsvector 11 10 12 1 0 0 0 f f f t f i s 1 0 3614 1009 _null_ _null_ _null_ _null_ _null_ array_to_tsvector _null_ _null_ _null_ _null_ )
+insert ( 3319 ts_filter 11 10 12 1 0 0 0 f f f t f i s 2 0 3614 '3614 1002' _null_ _null_ _null_ _null_ _null_ tsvector_filter _null_ _null_ _null_ _null_ )
+insert ( 3634 ts_match_vq 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3614 3615' _null_ _null_ _null_ _null_ _null_ ts_match_vq _null_ _null_ _null_ _null_ )
+insert ( 3635 ts_match_qv 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3615 3614' _null_ _null_ _null_ _null_ _null_ ts_match_qv _null_ _null_ _null_ _null_ )
+insert ( 3760 ts_match_tt 11 10 12 100 0 0 0 f f f t f s s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ ts_match_tt _null_ _null_ _null_ _null_ )
+insert ( 3761 ts_match_tq 11 10 12 100 0 0 0 f f f t f s s 2 0 16 '25 3615' _null_ _null_ _null_ _null_ _null_ ts_match_tq _null_ _null_ _null_ _null_ )
+insert ( 3648 gtsvector_compress 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ gtsvector_compress _null_ _null_ _null_ _null_ )
+insert ( 3649 gtsvector_decompress 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ gtsvector_decompress _null_ _null_ _null_ _null_ )
+insert ( 3650 gtsvector_picksplit 11 10 12 1 0 0 0 f f f t f i s 2 0 2281 '2281 2281' _null_ _null_ _null_ _null_ _null_ gtsvector_picksplit _null_ _null_ _null_ _null_ )
+insert ( 3651 gtsvector_union 11 10 12 1 0 0 0 f f f t f i s 2 0 3642 '2281 2281' _null_ _null_ _null_ _null_ _null_ gtsvector_union _null_ _null_ _null_ _null_ )
+insert ( 3652 gtsvector_same 11 10 12 1 0 0 0 f f f t f i s 3 0 2281 '3642 3642 2281' _null_ _null_ _null_ _null_ _null_ gtsvector_same _null_ _null_ _null_ _null_ )
+insert ( 3653 gtsvector_penalty 11 10 12 1 0 0 0 f f f t f i s 3 0 2281 '2281 2281 2281' _null_ _null_ _null_ _null_ _null_ gtsvector_penalty _null_ _null_ _null_ _null_ )
+insert ( 3654 gtsvector_consistent 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '2281 3614 21 26 2281' _null_ _null_ _null_ _null_ _null_ gtsvector_consistent _null_ _null_ _null_ _null_ )
+insert ( 3790 gtsvector_consistent 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '2281 3642 23 26 2281' _null_ _null_ _null_ _null_ _null_ gtsvector_consistent_oldsig _null_ _null_ _null_ _null_ )
+insert ( 3434 gtsvector_options 11 10 12 1 0 0 0 f f f f f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ gtsvector_options _null_ _null_ _null_ _null_ )
+insert ( 3656 gin_extract_tsvector 11 10 12 1 0 0 0 f f f t f i s 3 0 2281 '3614 2281 2281' _null_ _null_ _null_ _null_ _null_ gin_extract_tsvector _null_ _null_ _null_ _null_ )
+insert ( 3657 gin_extract_tsquery 11 10 12 1 0 0 0 f f f t f i s 7 0 2281 '3614 2281 21 2281 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ gin_extract_tsquery _null_ _null_ _null_ _null_ )
+insert ( 3658 gin_tsquery_consistent 11 10 12 1 0 0 0 f f f t f i s 8 0 16 '2281 21 3614 23 2281 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ gin_tsquery_consistent _null_ _null_ _null_ _null_ )
+insert ( 3921 gin_tsquery_triconsistent 11 10 12 1 0 0 0 f f f t f i s 7 0 18 '2281 21 3614 23 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ gin_tsquery_triconsistent _null_ _null_ _null_ _null_ )
+insert ( 3724 gin_cmp_tslexeme 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '25 25' _null_ _null_ _null_ _null_ _null_ gin_cmp_tslexeme _null_ _null_ _null_ _null_ )
+insert ( 2700 gin_cmp_prefix 11 10 12 1 0 0 0 f f f t f i s 4 0 23 '25 25 21 2281' _null_ _null_ _null_ _null_ _null_ gin_cmp_prefix _null_ _null_ _null_ _null_ )
+insert ( 3077 gin_extract_tsvector 11 10 12 1 0 0 0 f f f t f i s 2 0 2281 '3614 2281' _null_ _null_ _null_ _null_ _null_ gin_extract_tsvector_2args _null_ _null_ _null_ _null_ )
+insert ( 3087 gin_extract_tsquery 11 10 12 1 0 0 0 f f f t f i s 5 0 2281 '3615 2281 21 2281 2281' _null_ _null_ _null_ _null_ _null_ gin_extract_tsquery_5args _null_ _null_ _null_ _null_ )
+insert ( 3088 gin_tsquery_consistent 11 10 12 1 0 0 0 f f f t f i s 6 0 16 '2281 21 3615 23 2281 2281' _null_ _null_ _null_ _null_ _null_ gin_tsquery_consistent_6args _null_ _null_ _null_ _null_ )
+insert ( 3791 gin_extract_tsquery 11 10 12 1 0 0 0 f f f t f i s 7 0 2281 '3615 2281 21 2281 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ gin_extract_tsquery_oldsig _null_ _null_ _null_ _null_ )
+insert ( 3792 gin_tsquery_consistent 11 10 12 1 0 0 0 f f f t f i s 8 0 16 '2281 21 3615 23 2281 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ gin_tsquery_consistent_oldsig _null_ _null_ _null_ _null_ )
+insert ( 3789 gin_clean_pending_list 11 10 12 1 0 0 0 f f f t f v u 1 0 20 2205 _null_ _null_ _null_ _null_ _null_ gin_clean_pending_list _null_ _null_ _null_ _null_ )
+insert ( 3662 tsquery_lt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3615 3615' _null_ _null_ _null_ _null_ _null_ tsquery_lt _null_ _null_ _null_ _null_ )
+insert ( 3663 tsquery_le 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3615 3615' _null_ _null_ _null_ _null_ _null_ tsquery_le _null_ _null_ _null_ _null_ )
+insert ( 3664 tsquery_eq 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3615 3615' _null_ _null_ _null_ _null_ _null_ tsquery_eq _null_ _null_ _null_ _null_ )
+insert ( 3665 tsquery_ne 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3615 3615' _null_ _null_ _null_ _null_ _null_ tsquery_ne _null_ _null_ _null_ _null_ )
+insert ( 3666 tsquery_ge 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3615 3615' _null_ _null_ _null_ _null_ _null_ tsquery_ge _null_ _null_ _null_ _null_ )
+insert ( 3667 tsquery_gt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3615 3615' _null_ _null_ _null_ _null_ _null_ tsquery_gt _null_ _null_ _null_ _null_ )
+insert ( 3668 tsquery_cmp 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '3615 3615' _null_ _null_ _null_ _null_ _null_ tsquery_cmp _null_ _null_ _null_ _null_ )
+insert ( 3669 tsquery_and 11 10 12 1 0 0 0 f f f t f i s 2 0 3615 '3615 3615' _null_ _null_ _null_ _null_ _null_ tsquery_and _null_ _null_ _null_ _null_ )
+insert ( 3670 tsquery_or 11 10 12 1 0 0 0 f f f t f i s 2 0 3615 '3615 3615' _null_ _null_ _null_ _null_ _null_ tsquery_or _null_ _null_ _null_ _null_ )
+insert ( 5003 tsquery_phrase 11 10 12 1 0 0 0 f f f t f i s 2 0 3615 '3615 3615' _null_ _null_ _null_ _null_ _null_ tsquery_phrase _null_ _null_ _null_ _null_ )
+insert ( 5004 tsquery_phrase 11 10 12 1 0 0 0 f f f t f i s 3 0 3615 '3615 3615 23' _null_ _null_ _null_ _null_ _null_ tsquery_phrase_distance _null_ _null_ _null_ _null_ )
+insert ( 3671 tsquery_not 11 10 12 1 0 0 0 f f f t f i s 1 0 3615 3615 _null_ _null_ _null_ _null_ _null_ tsquery_not _null_ _null_ _null_ _null_ )
+insert ( 3691 tsq_mcontains 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3615 3615' _null_ _null_ _null_ _null_ _null_ tsq_mcontains _null_ _null_ _null_ _null_ )
+insert ( 3692 tsq_mcontained 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3615 3615' _null_ _null_ _null_ _null_ _null_ tsq_mcontained _null_ _null_ _null_ _null_ )
+insert ( 3672 numnode 11 10 12 1 0 0 0 f f f t f i s 1 0 23 3615 _null_ _null_ _null_ _null_ _null_ tsquery_numnode _null_ _null_ _null_ _null_ )
+insert ( 3673 querytree 11 10 12 1 0 0 0 f f f t f i s 1 0 25 3615 _null_ _null_ _null_ _null_ _null_ tsquerytree _null_ _null_ _null_ _null_ )
+insert ( 3684 ts_rewrite 11 10 12 1 0 0 0 f f f t f i s 3 0 3615 '3615 3615 3615' _null_ _null_ _null_ _null_ _null_ tsquery_rewrite _null_ _null_ _null_ _null_ )
+insert ( 3685 ts_rewrite 11 10 12 100 0 0 0 f f f t f v u 2 0 3615 '3615 25' _null_ _null_ _null_ _null_ _null_ tsquery_rewrite_query _null_ _null_ _null_ _null_ )
+insert ( 3695 gtsquery_compress 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ gtsquery_compress _null_ _null_ _null_ _null_ )
+insert ( 3697 gtsquery_picksplit 11 10 12 1 0 0 0 f f f t f i s 2 0 2281 '2281 2281' _null_ _null_ _null_ _null_ _null_ gtsquery_picksplit _null_ _null_ _null_ _null_ )
+insert ( 3698 gtsquery_union 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '2281 2281' _null_ _null_ _null_ _null_ _null_ gtsquery_union _null_ _null_ _null_ _null_ )
+insert ( 3699 gtsquery_same 11 10 12 1 0 0 0 f f f t f i s 3 0 2281 '20 20 2281' _null_ _null_ _null_ _null_ _null_ gtsquery_same _null_ _null_ _null_ _null_ )
+insert ( 3700 gtsquery_penalty 11 10 12 1 0 0 0 f f f t f i s 3 0 2281 '2281 2281 2281' _null_ _null_ _null_ _null_ _null_ gtsquery_penalty _null_ _null_ _null_ _null_ )
+insert ( 3701 gtsquery_consistent 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '2281 3615 21 26 2281' _null_ _null_ _null_ _null_ _null_ gtsquery_consistent _null_ _null_ _null_ _null_ )
+insert ( 3793 gtsquery_consistent 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '2281 2281 23 26 2281' _null_ _null_ _null_ _null_ _null_ gtsquery_consistent_oldsig _null_ _null_ _null_ _null_ )
+insert ( 3686 tsmatchsel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ tsmatchsel _null_ _null_ _null_ _null_ )
+insert ( 3687 tsmatchjoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ tsmatchjoinsel _null_ _null_ _null_ _null_ )
+insert ( 3688 ts_typanalyze 11 10 12 1 0 0 0 f f f t f s s 1 0 16 2281 _null_ _null_ _null_ _null_ _null_ ts_typanalyze _null_ _null_ _null_ _null_ )
+insert ( 3689 ts_stat 11 10 12 10 10000 0 0 f f f t t v u 1 0 2249 25 '{25,25,23,23}' '{i,o,o,o}' '{query,word,ndoc,nentry}' _null_ _null_ ts_stat1 _null_ _null_ _null_ _null_ )
+insert ( 3690 ts_stat 11 10 12 10 10000 0 0 f f f t t v u 2 0 2249 '25 25' '{25,25,25,23,23}' '{i,i,o,o,o}' '{query,weights,word,ndoc,nentry}' _null_ _null_ ts_stat2 _null_ _null_ _null_ _null_ )
+insert ( 3703 ts_rank 11 10 12 1 0 0 0 f f f t f i s 4 0 700 '1021 3614 3615 23' _null_ _null_ _null_ _null_ _null_ ts_rank_wttf _null_ _null_ _null_ _null_ )
+insert ( 3704 ts_rank 11 10 12 1 0 0 0 f f f t f i s 3 0 700 '1021 3614 3615' _null_ _null_ _null_ _null_ _null_ ts_rank_wtt _null_ _null_ _null_ _null_ )
+insert ( 3705 ts_rank 11 10 12 1 0 0 0 f f f t f i s 3 0 700 '3614 3615 23' _null_ _null_ _null_ _null_ _null_ ts_rank_ttf _null_ _null_ _null_ _null_ )
+insert ( 3706 ts_rank 11 10 12 1 0 0 0 f f f t f i s 2 0 700 '3614 3615' _null_ _null_ _null_ _null_ _null_ ts_rank_tt _null_ _null_ _null_ _null_ )
+insert ( 3707 ts_rank_cd 11 10 12 1 0 0 0 f f f t f i s 4 0 700 '1021 3614 3615 23' _null_ _null_ _null_ _null_ _null_ ts_rankcd_wttf _null_ _null_ _null_ _null_ )
+insert ( 3708 ts_rank_cd 11 10 12 1 0 0 0 f f f t f i s 3 0 700 '1021 3614 3615' _null_ _null_ _null_ _null_ _null_ ts_rankcd_wtt _null_ _null_ _null_ _null_ )
+insert ( 3709 ts_rank_cd 11 10 12 1 0 0 0 f f f t f i s 3 0 700 '3614 3615 23' _null_ _null_ _null_ _null_ _null_ ts_rankcd_ttf _null_ _null_ _null_ _null_ )
+insert ( 3710 ts_rank_cd 11 10 12 1 0 0 0 f f f t f i s 2 0 700 '3614 3615' _null_ _null_ _null_ _null_ _null_ ts_rankcd_tt _null_ _null_ _null_ _null_ )
+insert ( 3713 ts_token_type 11 10 12 1 16 0 0 f f f t t i s 1 0 2249 26 '{26,23,25,25}' '{i,o,o,o}' '{parser_oid,tokid,alias,description}' _null_ _null_ ts_token_type_byid _null_ _null_ _null_ _null_ )
+insert ( 3714 ts_token_type 11 10 12 1 16 0 0 f f f t t s s 1 0 2249 25 '{25,23,25,25}' '{i,o,o,o}' '{parser_name,tokid,alias,description}' _null_ _null_ ts_token_type_byname _null_ _null_ _null_ _null_ )
+insert ( 3715 ts_parse 11 10 12 1 1000 0 0 f f f t t i s 2 0 2249 '26 25' '{26,25,23,25}' '{i,i,o,o}' '{parser_oid,txt,tokid,token}' _null_ _null_ ts_parse_byid _null_ _null_ _null_ _null_ )
+insert ( 3716 ts_parse 11 10 12 1 1000 0 0 f f f t t s s 2 0 2249 '25 25' '{25,25,23,25}' '{i,i,o,o}' '{parser_name,txt,tokid,token}' _null_ _null_ ts_parse_byname _null_ _null_ _null_ _null_ )
+insert ( 3717 prsd_start 11 10 12 1 0 0 0 f f f t f i s 2 0 2281 '2281 23' _null_ _null_ _null_ _null_ _null_ prsd_start _null_ _null_ _null_ _null_ )
+insert ( 3718 prsd_nexttoken 11 10 12 1 0 0 0 f f f t f i s 3 0 2281 '2281 2281 2281' _null_ _null_ _null_ _null_ _null_ prsd_nexttoken _null_ _null_ _null_ _null_ )
+insert ( 3719 prsd_end 11 10 12 1 0 0 0 f f f t f i s 1 0 2278 2281 _null_ _null_ _null_ _null_ _null_ prsd_end _null_ _null_ _null_ _null_ )
+insert ( 3720 prsd_headline 11 10 12 1 0 0 0 f f f t f i s 3 0 2281 '2281 2281 3615' _null_ _null_ _null_ _null_ _null_ prsd_headline _null_ _null_ _null_ _null_ )
+insert ( 3721 prsd_lextype 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ prsd_lextype _null_ _null_ _null_ _null_ )
+insert ( 3723 ts_lexize 11 10 12 1 0 0 0 f f f t f i s 2 0 1009 '3769 25' _null_ _null_ _null_ _null_ _null_ ts_lexize _null_ _null_ _null_ _null_ )
+insert ( 6183 ts_debug 11 10 14 1 1000 0 0 f f f t t s s 2 0 2249 '3734 25' '{3734,25,25,25,25,3770,3769,1009}' '{i,i,o,o,o,o,o,o}' '{config,document,alias,description,token,dictionaries,dictionary,lexemes}' _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 6184 ts_debug 11 10 14 1 1000 0 0 f f f t t s s 1 0 2249 25 '{25,25,25,25,3770,3769,1009}' '{i,o,o,o,o,o,o}' '{document,alias,description,token,dictionaries,dictionary,lexemes}' _null_ _null_ 'see system_functions.sql' _null_ _null_ _null_ _null_ )
+insert ( 3725 dsimple_init 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ dsimple_init _null_ _null_ _null_ _null_ )
+insert ( 3726 dsimple_lexize 11 10 12 1 0 0 0 f f f t f i s 4 0 2281 '2281 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ dsimple_lexize _null_ _null_ _null_ _null_ )
+insert ( 3728 dsynonym_init 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ dsynonym_init _null_ _null_ _null_ _null_ )
+insert ( 3729 dsynonym_lexize 11 10 12 1 0 0 0 f f f t f i s 4 0 2281 '2281 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ dsynonym_lexize _null_ _null_ _null_ _null_ )
+insert ( 3731 dispell_init 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ dispell_init _null_ _null_ _null_ _null_ )
+insert ( 3732 dispell_lexize 11 10 12 1 0 0 0 f f f t f i s 4 0 2281 '2281 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ dispell_lexize _null_ _null_ _null_ _null_ )
+insert ( 3740 thesaurus_init 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ thesaurus_init _null_ _null_ _null_ _null_ )
+insert ( 3741 thesaurus_lexize 11 10 12 1 0 0 0 f f f t f i s 4 0 2281 '2281 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ thesaurus_lexize _null_ _null_ _null_ _null_ )
+insert ( 3743 ts_headline 11 10 12 100 0 0 0 f f f t f i s 4 0 25 '3734 25 3615 25' _null_ _null_ _null_ _null_ _null_ ts_headline_byid_opt _null_ _null_ _null_ _null_ )
+insert ( 3744 ts_headline 11 10 12 100 0 0 0 f f f t f i s 3 0 25 '3734 25 3615' _null_ _null_ _null_ _null_ _null_ ts_headline_byid _null_ _null_ _null_ _null_ )
+insert ( 3754 ts_headline 11 10 12 100 0 0 0 f f f t f s s 3 0 25 '25 3615 25' _null_ _null_ _null_ _null_ _null_ ts_headline_opt _null_ _null_ _null_ _null_ )
+insert ( 3755 ts_headline 11 10 12 100 0 0 0 f f f t f s s 2 0 25 '25 3615' _null_ _null_ _null_ _null_ _null_ ts_headline _null_ _null_ _null_ _null_ )
+insert ( 4201 ts_headline 11 10 12 100 0 0 0 f f f t f i s 4 0 3802 '3734 3802 3615 25' _null_ _null_ _null_ _null_ _null_ ts_headline_jsonb_byid_opt _null_ _null_ _null_ _null_ )
+insert ( 4202 ts_headline 11 10 12 100 0 0 0 f f f t f i s 3 0 3802 '3734 3802 3615' _null_ _null_ _null_ _null_ _null_ ts_headline_jsonb_byid _null_ _null_ _null_ _null_ )
+insert ( 4203 ts_headline 11 10 12 100 0 0 0 f f f t f s s 3 0 3802 '3802 3615 25' _null_ _null_ _null_ _null_ _null_ ts_headline_jsonb_opt _null_ _null_ _null_ _null_ )
+insert ( 4204 ts_headline 11 10 12 100 0 0 0 f f f t f s s 2 0 3802 '3802 3615' _null_ _null_ _null_ _null_ _null_ ts_headline_jsonb _null_ _null_ _null_ _null_ )
+insert ( 4205 ts_headline 11 10 12 100 0 0 0 f f f t f i s 4 0 114 '3734 114 3615 25' _null_ _null_ _null_ _null_ _null_ ts_headline_json_byid_opt _null_ _null_ _null_ _null_ )
+insert ( 4206 ts_headline 11 10 12 100 0 0 0 f f f t f i s 3 0 114 '3734 114 3615' _null_ _null_ _null_ _null_ _null_ ts_headline_json_byid _null_ _null_ _null_ _null_ )
+insert ( 4207 ts_headline 11 10 12 100 0 0 0 f f f t f s s 3 0 114 '114 3615 25' _null_ _null_ _null_ _null_ _null_ ts_headline_json_opt _null_ _null_ _null_ _null_ )
+insert ( 4208 ts_headline 11 10 12 100 0 0 0 f f f t f s s 2 0 114 '114 3615' _null_ _null_ _null_ _null_ _null_ ts_headline_json _null_ _null_ _null_ _null_ )
+insert ( 3745 to_tsvector 11 10 12 100 0 0 0 f f f t f i s 2 0 3614 '3734 25' _null_ _null_ _null_ _null_ _null_ to_tsvector_byid _null_ _null_ _null_ _null_ )
+insert ( 3746 to_tsquery 11 10 12 100 0 0 0 f f f t f i s 2 0 3615 '3734 25' _null_ _null_ _null_ _null_ _null_ to_tsquery_byid _null_ _null_ _null_ _null_ )
+insert ( 3747 plainto_tsquery 11 10 12 100 0 0 0 f f f t f i s 2 0 3615 '3734 25' _null_ _null_ _null_ _null_ _null_ plainto_tsquery_byid _null_ _null_ _null_ _null_ )
+insert ( 5006 phraseto_tsquery 11 10 12 100 0 0 0 f f f t f i s 2 0 3615 '3734 25' _null_ _null_ _null_ _null_ _null_ phraseto_tsquery_byid _null_ _null_ _null_ _null_ )
+insert ( 5007 websearch_to_tsquery 11 10 12 100 0 0 0 f f f t f i s 2 0 3615 '3734 25' _null_ _null_ _null_ _null_ _null_ websearch_to_tsquery_byid _null_ _null_ _null_ _null_ )
+insert ( 3749 to_tsvector 11 10 12 100 0 0 0 f f f t f s s 1 0 3614 25 _null_ _null_ _null_ _null_ _null_ to_tsvector _null_ _null_ _null_ _null_ )
+insert ( 3750 to_tsquery 11 10 12 100 0 0 0 f f f t f s s 1 0 3615 25 _null_ _null_ _null_ _null_ _null_ to_tsquery _null_ _null_ _null_ _null_ )
+insert ( 3751 plainto_tsquery 11 10 12 100 0 0 0 f f f t f s s 1 0 3615 25 _null_ _null_ _null_ _null_ _null_ plainto_tsquery _null_ _null_ _null_ _null_ )
+insert ( 5001 phraseto_tsquery 11 10 12 100 0 0 0 f f f t f s s 1 0 3615 25 _null_ _null_ _null_ _null_ _null_ phraseto_tsquery _null_ _null_ _null_ _null_ )
+insert ( 5009 websearch_to_tsquery 11 10 12 100 0 0 0 f f f t f s s 1 0 3615 25 _null_ _null_ _null_ _null_ _null_ websearch_to_tsquery _null_ _null_ _null_ _null_ )
+insert ( 4209 to_tsvector 11 10 12 100 0 0 0 f f f t f s s 1 0 3614 3802 _null_ _null_ _null_ _null_ _null_ jsonb_string_to_tsvector _null_ _null_ _null_ _null_ )
+insert ( 4213 jsonb_to_tsvector 11 10 12 100 0 0 0 f f f t f s s 2 0 3614 '3802 3802' _null_ _null_ _null_ _null_ _null_ jsonb_to_tsvector _null_ _null_ _null_ _null_ )
+insert ( 4210 to_tsvector 11 10 12 100 0 0 0 f f f t f s s 1 0 3614 114 _null_ _null_ _null_ _null_ _null_ json_string_to_tsvector _null_ _null_ _null_ _null_ )
+insert ( 4215 json_to_tsvector 11 10 12 100 0 0 0 f f f t f s s 2 0 3614 '114 3802' _null_ _null_ _null_ _null_ _null_ json_to_tsvector _null_ _null_ _null_ _null_ )
+insert ( 4211 to_tsvector 11 10 12 100 0 0 0 f f f t f i s 2 0 3614 '3734 3802' _null_ _null_ _null_ _null_ _null_ jsonb_string_to_tsvector_byid _null_ _null_ _null_ _null_ )
+insert ( 4214 jsonb_to_tsvector 11 10 12 100 0 0 0 f f f t f i s 3 0 3614 '3734 3802 3802' _null_ _null_ _null_ _null_ _null_ jsonb_to_tsvector_byid _null_ _null_ _null_ _null_ )
+insert ( 4212 to_tsvector 11 10 12 100 0 0 0 f f f t f i s 2 0 3614 '3734 114' _null_ _null_ _null_ _null_ _null_ json_string_to_tsvector_byid _null_ _null_ _null_ _null_ )
+insert ( 4216 json_to_tsvector 11 10 12 100 0 0 0 f f f t f i s 3 0 3614 '3734 114 3802' _null_ _null_ _null_ _null_ _null_ json_to_tsvector_byid _null_ _null_ _null_ _null_ )
+insert ( 3752 tsvector_update_trigger 11 10 12 1 0 0 0 f f f f f v s 0 0 2279 '' _null_ _null_ _null_ _null_ _null_ tsvector_update_trigger_byid _null_ _null_ _null_ _null_ )
+insert ( 3753 tsvector_update_trigger_column 11 10 12 1 0 0 0 f f f f f v s 0 0 2279 '' _null_ _null_ _null_ _null_ _null_ tsvector_update_trigger_bycolumn _null_ _null_ _null_ _null_ )
+insert ( 3759 get_current_ts_config 11 10 12 1 0 0 0 f f f t f s s 0 0 3734 '' _null_ _null_ _null_ _null_ _null_ get_current_ts_config _null_ _null_ _null_ _null_ )
+insert ( 3736 regconfigin 11 10 12 1 0 0 0 f f f t f s s 1 0 3734 2275 _null_ _null_ _null_ _null_ _null_ regconfigin _null_ _null_ _null_ _null_ )
+insert ( 3737 regconfigout 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 3734 _null_ _null_ _null_ _null_ _null_ regconfigout _null_ _null_ _null_ _null_ )
+insert ( 3738 regconfigrecv 11 10 12 1 0 0 0 f f f t f i s 1 0 3734 2281 _null_ _null_ _null_ _null_ _null_ regconfigrecv _null_ _null_ _null_ _null_ )
+insert ( 3739 regconfigsend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 3734 _null_ _null_ _null_ _null_ _null_ regconfigsend _null_ _null_ _null_ _null_ )
+insert ( 3771 regdictionaryin 11 10 12 1 0 0 0 f f f t f s s 1 0 3769 2275 _null_ _null_ _null_ _null_ _null_ regdictionaryin _null_ _null_ _null_ _null_ )
+insert ( 3772 regdictionaryout 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 3769 _null_ _null_ _null_ _null_ _null_ regdictionaryout _null_ _null_ _null_ _null_ )
+insert ( 3773 regdictionaryrecv 11 10 12 1 0 0 0 f f f t f i s 1 0 3769 2281 _null_ _null_ _null_ _null_ _null_ regdictionaryrecv _null_ _null_ _null_ _null_ )
+insert ( 3774 regdictionarysend 11 10 12 1 0 0 0 f f f t f i s 1 0 17 3769 _null_ _null_ _null_ _null_ _null_ regdictionarysend _null_ _null_ _null_ _null_ )
+insert ( 3806 jsonb_in 11 10 12 1 0 0 0 f f f t f i s 1 0 3802 2275 _null_ _null_ _null_ _null_ _null_ jsonb_in _null_ _null_ _null_ _null_ )
+insert ( 3805 jsonb_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 3802 2281 _null_ _null_ _null_ _null_ _null_ jsonb_recv _null_ _null_ _null_ _null_ )
+insert ( 3804 jsonb_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 3802 _null_ _null_ _null_ _null_ _null_ jsonb_out _null_ _null_ _null_ _null_ )
+insert ( 3803 jsonb_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 3802 _null_ _null_ _null_ _null_ _null_ jsonb_send _null_ _null_ _null_ _null_ )
+insert ( 3263 jsonb_object 11 10 12 1 0 0 0 f f f t f i s 1 0 3802 1009 _null_ _null_ _null_ _null_ _null_ jsonb_object _null_ _null_ _null_ _null_ )
+insert ( 3264 jsonb_object 11 10 12 1 0 0 0 f f f t f i s 2 0 3802 '1009 1009' _null_ _null_ _null_ _null_ _null_ jsonb_object_two_arg _null_ _null_ _null_ _null_ )
+insert ( 3787 to_jsonb 11 10 12 1 0 0 0 f f f t f s s 1 0 3802 2283 _null_ _null_ _null_ _null_ _null_ to_jsonb _null_ _null_ _null_ _null_ )
+insert ( 3265 jsonb_agg_transfn 11 10 12 1 0 0 0 f f f f f s s 2 0 2281 '2281 2283' _null_ _null_ _null_ _null_ _null_ jsonb_agg_transfn _null_ _null_ _null_ _null_ )
+insert ( 6283 jsonb_agg_strict_transfn 11 10 12 1 0 0 0 f f f f f s s 2 0 2281 '2281 2283' _null_ _null_ _null_ _null_ _null_ jsonb_agg_strict_transfn _null_ _null_ _null_ _null_ )
+insert ( 3266 jsonb_agg_finalfn 11 10 12 1 0 0 0 f f f f f s s 1 0 3802 2281 _null_ _null_ _null_ _null_ _null_ jsonb_agg_finalfn _null_ _null_ _null_ _null_ )
+insert ( 3267 jsonb_agg 11 10 12 1 0 0 0 a f f f f s s 1 0 3802 2283 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 6284 jsonb_agg_strict 11 10 12 1 0 0 0 a f f f f s s 1 0 3802 2283 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3268 jsonb_object_agg_transfn 11 10 12 1 0 0 0 f f f f f s s 3 0 2281 '2281 2276 2276' _null_ _null_ _null_ _null_ _null_ jsonb_object_agg_transfn _null_ _null_ _null_ _null_ )
+insert ( 6285 jsonb_object_agg_strict_transfn 11 10 12 1 0 0 0 f f f f f s s 3 0 2281 '2281 2276 2276' _null_ _null_ _null_ _null_ _null_ jsonb_object_agg_strict_transfn _null_ _null_ _null_ _null_ )
+insert ( 6286 jsonb_object_agg_unique_transfn 11 10 12 1 0 0 0 f f f f f s s 3 0 2281 '2281 2276 2276' _null_ _null_ _null_ _null_ _null_ jsonb_object_agg_unique_transfn _null_ _null_ _null_ _null_ )
+insert ( 6287 jsonb_object_agg_unique_strict_transfn 11 10 12 1 0 0 0 f f f f f s s 3 0 2281 '2281 2276 2276' _null_ _null_ _null_ _null_ _null_ jsonb_object_agg_unique_strict_transfn _null_ _null_ _null_ _null_ )
+insert ( 3269 jsonb_object_agg_finalfn 11 10 12 1 0 0 0 f f f f f s s 1 0 3802 2281 _null_ _null_ _null_ _null_ _null_ jsonb_object_agg_finalfn _null_ _null_ _null_ _null_ )
+insert ( 3270 jsonb_object_agg 11 10 12 1 0 0 0 a f f f f i s 2 0 3802 '2276 2276' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 6288 jsonb_object_agg_strict 11 10 12 1 0 0 0 a f f f f i s 2 0 3802 '2276 2276' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 6289 jsonb_object_agg_unique 11 10 12 1 0 0 0 a f f f f i s 2 0 3802 '2276 2276' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 6290 jsonb_object_agg_unique_strict 11 10 12 1 0 0 0 a f f f f i s 2 0 3802 '2276 2276' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3271 jsonb_build_array 11 10 12 1 0 2276 0 f f f f f s s 1 0 3802 2276 '{2276}' '{v}' _null_ _null_ _null_ jsonb_build_array _null_ _null_ _null_ _null_ )
+insert ( 3272 jsonb_build_array 11 10 12 1 0 0 0 f f f f f s s 0 0 3802 '' _null_ _null_ _null_ _null_ _null_ jsonb_build_array_noargs _null_ _null_ _null_ _null_ )
+insert ( 3273 jsonb_build_object 11 10 12 1 0 2276 0 f f f f f s s 1 0 3802 2276 '{2276}' '{v}' _null_ _null_ _null_ jsonb_build_object _null_ _null_ _null_ _null_ )
+insert ( 3274 jsonb_build_object 11 10 12 1 0 0 0 f f f f f s s 0 0 3802 '' _null_ _null_ _null_ _null_ _null_ jsonb_build_object_noargs _null_ _null_ _null_ _null_ )
+insert ( 3262 jsonb_strip_nulls 11 10 12 1 0 0 0 f f f t f i s 1 0 3802 3802 _null_ _null_ _null_ _null_ _null_ jsonb_strip_nulls _null_ _null_ _null_ _null_ )
+insert ( 3478 jsonb_object_field 11 10 12 1 0 0 0 f f f t f i s 2 0 3802 '3802 25' _null_ _null_ '{from_json, field_name}' _null_ _null_ jsonb_object_field _null_ _null_ _null_ _null_ )
+insert ( 3214 jsonb_object_field_text 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '3802 25' _null_ _null_ '{from_json, field_name}' _null_ _null_ jsonb_object_field_text _null_ _null_ _null_ _null_ )
+insert ( 3215 jsonb_array_element 11 10 12 1 0 0 0 f f f t f i s 2 0 3802 '3802 23' _null_ _null_ '{from_json, element_index}' _null_ _null_ jsonb_array_element _null_ _null_ _null_ _null_ )
+insert ( 3216 jsonb_array_element_text 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '3802 23' _null_ _null_ '{from_json, element_index}' _null_ _null_ jsonb_array_element_text _null_ _null_ _null_ _null_ )
+insert ( 3217 jsonb_extract_path 11 10 12 1 0 25 0 f f f t f i s 2 0 3802 '3802 1009' '{3802,1009}' '{i,v}' '{from_json,path_elems}' _null_ _null_ jsonb_extract_path _null_ _null_ _null_ _null_ )
+insert ( 3940 jsonb_extract_path_text 11 10 12 1 0 25 0 f f f t f i s 2 0 25 '3802 1009' '{3802,1009}' '{i,v}' '{from_json,path_elems}' _null_ _null_ jsonb_extract_path_text _null_ _null_ _null_ _null_ )
+insert ( 3219 jsonb_array_elements 11 10 12 1 100 0 0 f f f t t i s 1 0 3802 3802 '{3802,3802}' '{i,o}' '{from_json,value}' _null_ _null_ jsonb_array_elements _null_ _null_ _null_ _null_ )
+insert ( 3465 jsonb_array_elements_text 11 10 12 1 100 0 0 f f f t t i s 1 0 25 3802 '{3802,25}' '{i,o}' '{from_json,value}' _null_ _null_ jsonb_array_elements_text _null_ _null_ _null_ _null_ )
+insert ( 3207 jsonb_array_length 11 10 12 1 0 0 0 f f f t f i s 1 0 23 3802 _null_ _null_ _null_ _null_ _null_ jsonb_array_length _null_ _null_ _null_ _null_ )
+insert ( 3931 jsonb_object_keys 11 10 12 1 100 0 0 f f f t t i s 1 0 25 3802 _null_ _null_ _null_ _null_ _null_ jsonb_object_keys _null_ _null_ _null_ _null_ )
+insert ( 3208 jsonb_each 11 10 12 1 100 0 0 f f f t t i s 1 0 2249 3802 '{3802,25,3802}' '{i,o,o}' '{from_json,key,value}' _null_ _null_ jsonb_each _null_ _null_ _null_ _null_ )
+insert ( 3932 jsonb_each_text 11 10 12 1 100 0 0 f f f t t i s 1 0 2249 3802 '{3802,25,25}' '{i,o,o}' '{from_json,key,value}' _null_ _null_ jsonb_each_text _null_ _null_ _null_ _null_ )
+insert ( 3209 jsonb_populate_record 11 10 12 1 0 0 0 f f f f f s s 2 0 2283 '2283 3802' _null_ _null_ _null_ _null_ _null_ jsonb_populate_record _null_ _null_ _null_ _null_ )
+insert ( 3475 jsonb_populate_recordset 11 10 12 1 100 0 0 f f f f t s s 2 0 2283 '2283 3802' _null_ _null_ _null_ _null_ _null_ jsonb_populate_recordset _null_ _null_ _null_ _null_ )
+insert ( 3490 jsonb_to_record 11 10 12 1 0 0 0 f f f t f s s 1 0 2249 3802 _null_ _null_ _null_ _null_ _null_ jsonb_to_record _null_ _null_ _null_ _null_ )
+insert ( 3491 jsonb_to_recordset 11 10 12 1 100 0 0 f f f f t s s 1 0 2249 3802 _null_ _null_ _null_ _null_ _null_ jsonb_to_recordset _null_ _null_ _null_ _null_ )
+insert ( 3210 jsonb_typeof 11 10 12 1 0 0 0 f f f t f i s 1 0 25 3802 _null_ _null_ _null_ _null_ _null_ jsonb_typeof _null_ _null_ _null_ _null_ )
+insert ( 4038 jsonb_ne 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3802 3802' _null_ _null_ _null_ _null_ _null_ jsonb_ne _null_ _null_ _null_ _null_ )
+insert ( 4039 jsonb_lt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3802 3802' _null_ _null_ _null_ _null_ _null_ jsonb_lt _null_ _null_ _null_ _null_ )
+insert ( 4040 jsonb_gt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3802 3802' _null_ _null_ _null_ _null_ _null_ jsonb_gt _null_ _null_ _null_ _null_ )
+insert ( 4041 jsonb_le 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3802 3802' _null_ _null_ _null_ _null_ _null_ jsonb_le _null_ _null_ _null_ _null_ )
+insert ( 4042 jsonb_ge 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3802 3802' _null_ _null_ _null_ _null_ _null_ jsonb_ge _null_ _null_ _null_ _null_ )
+insert ( 4043 jsonb_eq 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3802 3802' _null_ _null_ _null_ _null_ _null_ jsonb_eq _null_ _null_ _null_ _null_ )
+insert ( 4044 jsonb_cmp 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '3802 3802' _null_ _null_ _null_ _null_ _null_ jsonb_cmp _null_ _null_ _null_ _null_ )
+insert ( 4045 jsonb_hash 11 10 12 1 0 0 0 f f f t f i s 1 0 23 3802 _null_ _null_ _null_ _null_ _null_ jsonb_hash _null_ _null_ _null_ _null_ )
+insert ( 3416 jsonb_hash_extended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '3802 20' _null_ _null_ _null_ _null_ _null_ jsonb_hash_extended _null_ _null_ _null_ _null_ )
+insert ( 4046 jsonb_contains 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3802 3802' _null_ _null_ _null_ _null_ _null_ jsonb_contains _null_ _null_ _null_ _null_ )
+insert ( 4047 jsonb_exists 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3802 25' _null_ _null_ _null_ _null_ _null_ jsonb_exists _null_ _null_ _null_ _null_ )
+insert ( 4048 jsonb_exists_any 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3802 1009' _null_ _null_ _null_ _null_ _null_ jsonb_exists_any _null_ _null_ _null_ _null_ )
+insert ( 4049 jsonb_exists_all 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3802 1009' _null_ _null_ _null_ _null_ _null_ jsonb_exists_all _null_ _null_ _null_ _null_ )
+insert ( 4050 jsonb_contained 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3802 3802' _null_ _null_ _null_ _null_ _null_ jsonb_contained _null_ _null_ _null_ _null_ )
+insert ( 3480 gin_compare_jsonb 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '25 25' _null_ _null_ _null_ _null_ _null_ gin_compare_jsonb _null_ _null_ _null_ _null_ )
+insert ( 3482 gin_extract_jsonb 11 10 12 1 0 0 0 f f f t f i s 3 0 2281 '3802 2281 2281' _null_ _null_ _null_ _null_ _null_ gin_extract_jsonb _null_ _null_ _null_ _null_ )
+insert ( 3483 gin_extract_jsonb_query 11 10 12 1 0 0 0 f f f t f i s 7 0 2281 '3802 2281 21 2281 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ gin_extract_jsonb_query _null_ _null_ _null_ _null_ )
+insert ( 3484 gin_consistent_jsonb 11 10 12 1 0 0 0 f f f t f i s 8 0 16 '2281 21 3802 23 2281 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ gin_consistent_jsonb _null_ _null_ _null_ _null_ )
+insert ( 3488 gin_triconsistent_jsonb 11 10 12 1 0 0 0 f f f t f i s 7 0 18 '2281 21 3802 23 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ gin_triconsistent_jsonb _null_ _null_ _null_ _null_ )
+insert ( 3485 gin_extract_jsonb_path 11 10 12 1 0 0 0 f f f t f i s 3 0 2281 '3802 2281 2281' _null_ _null_ _null_ _null_ _null_ gin_extract_jsonb_path _null_ _null_ _null_ _null_ )
+insert ( 3486 gin_extract_jsonb_query_path 11 10 12 1 0 0 0 f f f t f i s 7 0 2281 '3802 2281 21 2281 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ gin_extract_jsonb_query_path _null_ _null_ _null_ _null_ )
+insert ( 3487 gin_consistent_jsonb_path 11 10 12 1 0 0 0 f f f t f i s 8 0 16 '2281 21 3802 23 2281 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ gin_consistent_jsonb_path _null_ _null_ _null_ _null_ )
+insert ( 3489 gin_triconsistent_jsonb_path 11 10 12 1 0 0 0 f f f t f i s 7 0 18 '2281 21 3802 23 2281 2281 2281' _null_ _null_ _null_ _null_ _null_ gin_triconsistent_jsonb_path _null_ _null_ _null_ _null_ )
+insert ( 3301 jsonb_concat 11 10 12 1 0 0 0 f f f t f i s 2 0 3802 '3802 3802' _null_ _null_ _null_ _null_ _null_ jsonb_concat _null_ _null_ _null_ _null_ )
+insert ( 3302 jsonb_delete 11 10 12 1 0 0 0 f f f t f i s 2 0 3802 '3802 25' _null_ _null_ _null_ _null_ _null_ jsonb_delete _null_ _null_ _null_ _null_ )
+insert ( 3303 jsonb_delete 11 10 12 1 0 0 0 f f f t f i s 2 0 3802 '3802 23' _null_ _null_ _null_ _null_ _null_ jsonb_delete_idx _null_ _null_ _null_ _null_ )
+insert ( 3343 jsonb_delete 11 10 12 1 0 25 0 f f f t f i s 2 0 3802 '3802 1009' '{3802,1009}' '{i,v}' '{from_json,path_elems}' _null_ _null_ jsonb_delete_array _null_ _null_ _null_ _null_ )
+insert ( 3304 jsonb_delete_path 11 10 12 1 0 0 0 f f f t f i s 2 0 3802 '3802 1009' _null_ _null_ _null_ _null_ _null_ jsonb_delete_path _null_ _null_ _null_ _null_ )
+insert ( 5054 jsonb_set_lax 11 10 12 1 0 0 0 f f f f f i s 5 0 3802 '3802 1009 3802 16 25' _null_ _null_ _null_ _null_ _null_ jsonb_set_lax _null_ _null_ _null_ _null_ )
+insert ( 3305 jsonb_set 11 10 12 1 0 0 0 f f f t f i s 4 0 3802 '3802 1009 3802 16' _null_ _null_ _null_ _null_ _null_ jsonb_set _null_ _null_ _null_ _null_ )
+insert ( 3306 jsonb_pretty 11 10 12 1 0 0 0 f f f t f i s 1 0 25 3802 _null_ _null_ _null_ _null_ _null_ jsonb_pretty _null_ _null_ _null_ _null_ )
+insert ( 3579 jsonb_insert 11 10 12 1 0 0 0 f f f t f i s 4 0 3802 '3802 1009 3802 16' _null_ _null_ _null_ _null_ _null_ jsonb_insert _null_ _null_ _null_ _null_ )
+insert ( 4001 jsonpath_in 11 10 12 1 0 0 0 f f f t f i s 1 0 4072 2275 _null_ _null_ _null_ _null_ _null_ jsonpath_in _null_ _null_ _null_ _null_ )
+insert ( 4002 jsonpath_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 4072 2281 _null_ _null_ _null_ _null_ _null_ jsonpath_recv _null_ _null_ _null_ _null_ )
+insert ( 4003 jsonpath_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 4072 _null_ _null_ _null_ _null_ _null_ jsonpath_out _null_ _null_ _null_ _null_ )
+insert ( 4004 jsonpath_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 4072 _null_ _null_ _null_ _null_ _null_ jsonpath_send _null_ _null_ _null_ _null_ )
+insert ( 4005 jsonb_path_exists 11 10 12 1 0 0 0 f f f t f i s 4 0 16 '3802 4072 3802 16' _null_ _null_ _null_ _null_ _null_ jsonb_path_exists _null_ _null_ _null_ _null_ )
+insert ( 4006 jsonb_path_query 11 10 12 1 1000 0 0 f f f t t i s 4 0 3802 '3802 4072 3802 16' _null_ _null_ _null_ _null_ _null_ jsonb_path_query _null_ _null_ _null_ _null_ )
+insert ( 4007 jsonb_path_query_array 11 10 12 1 0 0 0 f f f t f i s 4 0 3802 '3802 4072 3802 16' _null_ _null_ _null_ _null_ _null_ jsonb_path_query_array _null_ _null_ _null_ _null_ )
+insert ( 4008 jsonb_path_query_first 11 10 12 1 0 0 0 f f f t f i s 4 0 3802 '3802 4072 3802 16' _null_ _null_ _null_ _null_ _null_ jsonb_path_query_first _null_ _null_ _null_ _null_ )
+insert ( 4009 jsonb_path_match 11 10 12 1 0 0 0 f f f t f i s 4 0 16 '3802 4072 3802 16' _null_ _null_ _null_ _null_ _null_ jsonb_path_match _null_ _null_ _null_ _null_ )
+insert ( 1177 jsonb_path_exists_tz 11 10 12 1 0 0 0 f f f t f s s 4 0 16 '3802 4072 3802 16' _null_ _null_ _null_ _null_ _null_ jsonb_path_exists_tz _null_ _null_ _null_ _null_ )
+insert ( 1179 jsonb_path_query_tz 11 10 12 1 1000 0 0 f f f t t s s 4 0 3802 '3802 4072 3802 16' _null_ _null_ _null_ _null_ _null_ jsonb_path_query_tz _null_ _null_ _null_ _null_ )
+insert ( 1180 jsonb_path_query_array_tz 11 10 12 1 0 0 0 f f f t f s s 4 0 3802 '3802 4072 3802 16' _null_ _null_ _null_ _null_ _null_ jsonb_path_query_array_tz _null_ _null_ _null_ _null_ )
+insert ( 2023 jsonb_path_query_first_tz 11 10 12 1 0 0 0 f f f t f s s 4 0 3802 '3802 4072 3802 16' _null_ _null_ _null_ _null_ _null_ jsonb_path_query_first_tz _null_ _null_ _null_ _null_ )
+insert ( 2030 jsonb_path_match_tz 11 10 12 1 0 0 0 f f f t f s s 4 0 16 '3802 4072 3802 16' _null_ _null_ _null_ _null_ _null_ jsonb_path_match_tz _null_ _null_ _null_ _null_ )
+insert ( 4010 jsonb_path_exists_opr 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3802 4072' _null_ _null_ _null_ _null_ _null_ jsonb_path_exists_opr _null_ _null_ _null_ _null_ )
+insert ( 4011 jsonb_path_match_opr 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3802 4072' _null_ _null_ _null_ _null_ _null_ jsonb_path_match_opr _null_ _null_ _null_ _null_ )
+insert ( 2939 txid_snapshot_in 11 10 12 1 0 0 0 f f f t f i s 1 0 2970 2275 _null_ _null_ _null_ _null_ _null_ pg_snapshot_in _null_ _null_ _null_ _null_ )
+insert ( 2940 txid_snapshot_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 2970 _null_ _null_ _null_ _null_ _null_ pg_snapshot_out _null_ _null_ _null_ _null_ )
+insert ( 2941 txid_snapshot_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 2970 2281 _null_ _null_ _null_ _null_ _null_ pg_snapshot_recv _null_ _null_ _null_ _null_ )
+insert ( 2942 txid_snapshot_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 2970 _null_ _null_ _null_ _null_ _null_ pg_snapshot_send _null_ _null_ _null_ _null_ )
+insert ( 2943 txid_current 11 10 12 1 0 0 0 f f f t f s u 0 0 20 '' _null_ _null_ _null_ _null_ _null_ pg_current_xact_id _null_ _null_ _null_ _null_ )
+insert ( 3348 txid_current_if_assigned 11 10 12 1 0 0 0 f f f t f s u 0 0 20 '' _null_ _null_ _null_ _null_ _null_ pg_current_xact_id_if_assigned _null_ _null_ _null_ _null_ )
+insert ( 2944 txid_current_snapshot 11 10 12 1 0 0 0 f f f t f s s 0 0 2970 '' _null_ _null_ _null_ _null_ _null_ pg_current_snapshot _null_ _null_ _null_ _null_ )
+insert ( 2945 txid_snapshot_xmin 11 10 12 1 0 0 0 f f f t f i s 1 0 20 2970 _null_ _null_ _null_ _null_ _null_ pg_snapshot_xmin _null_ _null_ _null_ _null_ )
+insert ( 2946 txid_snapshot_xmax 11 10 12 1 0 0 0 f f f t f i s 1 0 20 2970 _null_ _null_ _null_ _null_ _null_ pg_snapshot_xmax _null_ _null_ _null_ _null_ )
+insert ( 2947 txid_snapshot_xip 11 10 12 1 50 0 0 f f f t t i s 1 0 20 2970 _null_ _null_ _null_ _null_ _null_ pg_snapshot_xip _null_ _null_ _null_ _null_ )
+insert ( 2948 txid_visible_in_snapshot 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '20 2970' _null_ _null_ _null_ _null_ _null_ pg_visible_in_snapshot _null_ _null_ _null_ _null_ )
+insert ( 3360 txid_status 11 10 12 1 0 0 0 f f f t f v s 1 0 25 20 _null_ _null_ _null_ _null_ _null_ pg_xact_status _null_ _null_ _null_ _null_ )
+insert ( 5055 pg_snapshot_in 11 10 12 1 0 0 0 f f f t f i s 1 0 5038 2275 _null_ _null_ _null_ _null_ _null_ pg_snapshot_in _null_ _null_ _null_ _null_ )
+insert ( 5056 pg_snapshot_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 5038 _null_ _null_ _null_ _null_ _null_ pg_snapshot_out _null_ _null_ _null_ _null_ )
+insert ( 5057 pg_snapshot_recv 11 10 12 1 0 0 0 f f f t f i s 1 0 5038 2281 _null_ _null_ _null_ _null_ _null_ pg_snapshot_recv _null_ _null_ _null_ _null_ )
+insert ( 5058 pg_snapshot_send 11 10 12 1 0 0 0 f f f t f i s 1 0 17 5038 _null_ _null_ _null_ _null_ _null_ pg_snapshot_send _null_ _null_ _null_ _null_ )
+insert ( 5061 pg_current_snapshot 11 10 12 1 0 0 0 f f f t f s s 0 0 5038 '' _null_ _null_ _null_ _null_ _null_ pg_current_snapshot _null_ _null_ _null_ _null_ )
+insert ( 5062 pg_snapshot_xmin 11 10 12 1 0 0 0 f f f t f i s 1 0 5069 5038 _null_ _null_ _null_ _null_ _null_ pg_snapshot_xmin _null_ _null_ _null_ _null_ )
+insert ( 5063 pg_snapshot_xmax 11 10 12 1 0 0 0 f f f t f i s 1 0 5069 5038 _null_ _null_ _null_ _null_ _null_ pg_snapshot_xmax _null_ _null_ _null_ _null_ )
+insert ( 5064 pg_snapshot_xip 11 10 12 1 50 0 0 f f f t t i s 1 0 5069 5038 _null_ _null_ _null_ _null_ _null_ pg_snapshot_xip _null_ _null_ _null_ _null_ )
+insert ( 5065 pg_visible_in_snapshot 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '5069 5038' _null_ _null_ _null_ _null_ _null_ pg_visible_in_snapshot _null_ _null_ _null_ _null_ )
+insert ( 5059 pg_current_xact_id 11 10 12 1 0 0 0 f f f t f s u 0 0 5069 '' _null_ _null_ _null_ _null_ _null_ pg_current_xact_id _null_ _null_ _null_ _null_ )
+insert ( 5060 pg_current_xact_id_if_assigned 11 10 12 1 0 0 0 f f f t f s u 0 0 5069 '' _null_ _null_ _null_ _null_ _null_ pg_current_xact_id_if_assigned _null_ _null_ _null_ _null_ )
+insert ( 5066 pg_xact_status 11 10 12 1 0 0 0 f f f t f v s 1 0 25 5069 _null_ _null_ _null_ _null_ _null_ pg_xact_status _null_ _null_ _null_ _null_ )
+insert ( 2981 record_eq 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2249 2249' _null_ _null_ _null_ _null_ _null_ record_eq _null_ _null_ _null_ _null_ )
+insert ( 2982 record_ne 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2249 2249' _null_ _null_ _null_ _null_ _null_ record_ne _null_ _null_ _null_ _null_ )
+insert ( 2983 record_lt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2249 2249' _null_ _null_ _null_ _null_ _null_ record_lt _null_ _null_ _null_ _null_ )
+insert ( 2984 record_gt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2249 2249' _null_ _null_ _null_ _null_ _null_ record_gt _null_ _null_ _null_ _null_ )
+insert ( 2985 record_le 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2249 2249' _null_ _null_ _null_ _null_ _null_ record_le _null_ _null_ _null_ _null_ )
+insert ( 2986 record_ge 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2249 2249' _null_ _null_ _null_ _null_ _null_ record_ge _null_ _null_ _null_ _null_ )
+insert ( 2987 btrecordcmp 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '2249 2249' _null_ _null_ _null_ _null_ _null_ btrecordcmp _null_ _null_ _null_ _null_ )
+insert ( 6192 hash_record 11 10 12 1 0 0 0 f f f t f i s 1 0 23 2249 _null_ _null_ _null_ _null_ _null_ hash_record _null_ _null_ _null_ _null_ )
+insert ( 6193 hash_record_extended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '2249 20' _null_ _null_ _null_ _null_ _null_ hash_record_extended _null_ _null_ _null_ _null_ )
+insert ( 3181 record_image_eq 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2249 2249' _null_ _null_ _null_ _null_ _null_ record_image_eq _null_ _null_ _null_ _null_ )
+insert ( 3182 record_image_ne 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2249 2249' _null_ _null_ _null_ _null_ _null_ record_image_ne _null_ _null_ _null_ _null_ )
+insert ( 3183 record_image_lt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2249 2249' _null_ _null_ _null_ _null_ _null_ record_image_lt _null_ _null_ _null_ _null_ )
+insert ( 3184 record_image_gt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2249 2249' _null_ _null_ _null_ _null_ _null_ record_image_gt _null_ _null_ _null_ _null_ )
+insert ( 3185 record_image_le 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2249 2249' _null_ _null_ _null_ _null_ _null_ record_image_le _null_ _null_ _null_ _null_ )
+insert ( 3186 record_image_ge 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2249 2249' _null_ _null_ _null_ _null_ _null_ record_image_ge _null_ _null_ _null_ _null_ )
+insert ( 3187 btrecordimagecmp 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '2249 2249' _null_ _null_ _null_ _null_ _null_ btrecordimagecmp _null_ _null_ _null_ _null_ )
+insert ( 5051 btequalimage 11 10 12 1 0 0 0 f f f t f i s 1 0 16 26 _null_ _null_ _null_ _null_ _null_ btequalimage _null_ _null_ _null_ _null_ )
+insert ( 3082 pg_available_extensions 11 10 12 10 100 0 0 f f f t t s s 0 0 2249 '' '{19,25,25}' '{o,o,o}' '{name,default_version,comment}' _null_ _null_ pg_available_extensions _null_ _null_ _null_ _null_ )
+insert ( 3083 pg_available_extension_versions 11 10 12 10 100 0 0 f f f t t s s 0 0 2249 '' '{19,25,16,16,16,19,1003,25}' '{o,o,o,o,o,o,o,o}' '{name,version,superuser,trusted,relocatable,schema,requires,comment}' _null_ _null_ pg_available_extension_versions _null_ _null_ _null_ _null_ )
+insert ( 3084 pg_extension_update_paths 11 10 12 10 100 0 0 f f f t t s s 1 0 2249 19 '{19,25,25,25}' '{i,o,o,o}' '{name,source,target,path}' _null_ _null_ pg_extension_update_paths _null_ _null_ _null_ _null_ )
+insert ( 3086 pg_extension_config_dump 11 10 12 1 0 0 0 f f f t f v u 2 0 2278 '2205 25' _null_ _null_ _null_ _null_ _null_ pg_extension_config_dump _null_ _null_ _null_ _null_ )
+insert ( 3100 row_number 11 10 12 1 0 0 6233 w f f f f i s 0 0 20 '' _null_ _null_ _null_ _null_ _null_ window_row_number _null_ _null_ _null_ _null_ )
+insert ( 6233 window_row_number_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ window_row_number_support _null_ _null_ _null_ _null_ )
+insert ( 3101 rank 11 10 12 1 0 0 6234 w f f f f i s 0 0 20 '' _null_ _null_ _null_ _null_ _null_ window_rank _null_ _null_ _null_ _null_ )
+insert ( 6234 window_rank_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ window_rank_support _null_ _null_ _null_ _null_ )
+insert ( 3102 dense_rank 11 10 12 1 0 0 6235 w f f f f i s 0 0 20 '' _null_ _null_ _null_ _null_ _null_ window_dense_rank _null_ _null_ _null_ _null_ )
+insert ( 6235 window_dense_rank_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ window_dense_rank_support _null_ _null_ _null_ _null_ )
+insert ( 3103 percent_rank 11 10 12 1 0 0 6306 w f f f f i s 0 0 701 '' _null_ _null_ _null_ _null_ _null_ window_percent_rank _null_ _null_ _null_ _null_ )
+insert ( 6306 window_percent_rank_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ window_percent_rank_support _null_ _null_ _null_ _null_ )
+insert ( 3104 cume_dist 11 10 12 1 0 0 6307 w f f f f i s 0 0 701 '' _null_ _null_ _null_ _null_ _null_ window_cume_dist _null_ _null_ _null_ _null_ )
+insert ( 6307 window_cume_dist_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ window_cume_dist_support _null_ _null_ _null_ _null_ )
+insert ( 3105 ntile 11 10 12 1 0 0 6308 w f f t f i s 1 0 23 23 _null_ _null_ _null_ _null_ _null_ window_ntile _null_ _null_ _null_ _null_ )
+insert ( 6308 window_ntile_support 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ window_ntile_support _null_ _null_ _null_ _null_ )
+insert ( 3106 lag 11 10 12 1 0 0 0 w f f t f i s 1 0 2283 2283 _null_ _null_ _null_ _null_ _null_ window_lag _null_ _null_ _null_ _null_ )
+insert ( 3107 lag 11 10 12 1 0 0 0 w f f t f i s 2 0 2283 '2283 23' _null_ _null_ _null_ _null_ _null_ window_lag_with_offset _null_ _null_ _null_ _null_ )
+insert ( 3108 lag 11 10 12 1 0 0 0 w f f t f i s 3 0 5077 '5077 23 5077' _null_ _null_ _null_ _null_ _null_ window_lag_with_offset_and_default _null_ _null_ _null_ _null_ )
+insert ( 3109 lead 11 10 12 1 0 0 0 w f f t f i s 1 0 2283 2283 _null_ _null_ _null_ _null_ _null_ window_lead _null_ _null_ _null_ _null_ )
+insert ( 3110 lead 11 10 12 1 0 0 0 w f f t f i s 2 0 2283 '2283 23' _null_ _null_ _null_ _null_ _null_ window_lead_with_offset _null_ _null_ _null_ _null_ )
+insert ( 3111 lead 11 10 12 1 0 0 0 w f f t f i s 3 0 5077 '5077 23 5077' _null_ _null_ _null_ _null_ _null_ window_lead_with_offset_and_default _null_ _null_ _null_ _null_ )
+insert ( 3112 first_value 11 10 12 1 0 0 0 w f f t f i s 1 0 2283 2283 _null_ _null_ _null_ _null_ _null_ window_first_value _null_ _null_ _null_ _null_ )
+insert ( 3113 last_value 11 10 12 1 0 0 0 w f f t f i s 1 0 2283 2283 _null_ _null_ _null_ _null_ _null_ window_last_value _null_ _null_ _null_ _null_ )
+insert ( 3114 nth_value 11 10 12 1 0 0 0 w f f t f i s 2 0 2283 '2283 23' _null_ _null_ _null_ _null_ _null_ window_nth_value _null_ _null_ _null_ _null_ )
+insert ( 3832 anyrange_in 11 10 12 1 0 0 0 f f f t f s s 3 0 3831 '2275 26 23' _null_ _null_ _null_ _null_ _null_ anyrange_in _null_ _null_ _null_ _null_ )
+insert ( 3833 anyrange_out 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 3831 _null_ _null_ _null_ _null_ _null_ anyrange_out _null_ _null_ _null_ _null_ )
+insert ( 3834 range_in 11 10 12 1 0 0 0 f f f t f s s 3 0 3831 '2275 26 23' _null_ _null_ _null_ _null_ _null_ range_in _null_ _null_ _null_ _null_ )
+insert ( 3835 range_out 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 3831 _null_ _null_ _null_ _null_ _null_ range_out _null_ _null_ _null_ _null_ )
+insert ( 3836 range_recv 11 10 12 1 0 0 0 f f f t f s s 3 0 3831 '2281 26 23' _null_ _null_ _null_ _null_ _null_ range_recv _null_ _null_ _null_ _null_ )
+insert ( 3837 range_send 11 10 12 1 0 0 0 f f f t f s s 1 0 17 3831 _null_ _null_ _null_ _null_ _null_ range_send _null_ _null_ _null_ _null_ )
+insert ( 3848 lower 11 10 12 1 0 0 0 f f f t f i s 1 0 2283 3831 _null_ _null_ _null_ _null_ _null_ range_lower _null_ _null_ _null_ _null_ )
+insert ( 3849 upper 11 10 12 1 0 0 0 f f f t f i s 1 0 2283 3831 _null_ _null_ _null_ _null_ _null_ range_upper _null_ _null_ _null_ _null_ )
+insert ( 3850 isempty 11 10 12 1 0 0 0 f f f t f i s 1 0 16 3831 _null_ _null_ _null_ _null_ _null_ range_empty _null_ _null_ _null_ _null_ )
+insert ( 3851 lower_inc 11 10 12 1 0 0 0 f f f t f i s 1 0 16 3831 _null_ _null_ _null_ _null_ _null_ range_lower_inc _null_ _null_ _null_ _null_ )
+insert ( 3852 upper_inc 11 10 12 1 0 0 0 f f f t f i s 1 0 16 3831 _null_ _null_ _null_ _null_ _null_ range_upper_inc _null_ _null_ _null_ _null_ )
+insert ( 3853 lower_inf 11 10 12 1 0 0 0 f f f t f i s 1 0 16 3831 _null_ _null_ _null_ _null_ _null_ range_lower_inf _null_ _null_ _null_ _null_ )
+insert ( 3854 upper_inf 11 10 12 1 0 0 0 f f f t f i s 1 0 16 3831 _null_ _null_ _null_ _null_ _null_ range_upper_inf _null_ _null_ _null_ _null_ )
+insert ( 3855 range_eq 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 3831' _null_ _null_ _null_ _null_ _null_ range_eq _null_ _null_ _null_ _null_ )
+insert ( 3856 range_ne 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 3831' _null_ _null_ _null_ _null_ _null_ range_ne _null_ _null_ _null_ _null_ )
+insert ( 3857 range_overlaps 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 3831' _null_ _null_ _null_ _null_ _null_ range_overlaps _null_ _null_ _null_ _null_ )
+insert ( 3858 range_contains_elem 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 2283' _null_ _null_ _null_ _null_ _null_ range_contains_elem _null_ _null_ _null_ _null_ )
+insert ( 3859 range_contains 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 3831' _null_ _null_ _null_ _null_ _null_ range_contains _null_ _null_ _null_ _null_ )
+insert ( 3860 elem_contained_by_range 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2283 3831' _null_ _null_ _null_ _null_ _null_ elem_contained_by_range _null_ _null_ _null_ _null_ )
+insert ( 3861 range_contained_by 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 3831' _null_ _null_ _null_ _null_ _null_ range_contained_by _null_ _null_ _null_ _null_ )
+insert ( 3862 range_adjacent 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 3831' _null_ _null_ _null_ _null_ _null_ range_adjacent _null_ _null_ _null_ _null_ )
+insert ( 3863 range_before 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 3831' _null_ _null_ _null_ _null_ _null_ range_before _null_ _null_ _null_ _null_ )
+insert ( 3864 range_after 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 3831' _null_ _null_ _null_ _null_ _null_ range_after _null_ _null_ _null_ _null_ )
+insert ( 3865 range_overleft 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 3831' _null_ _null_ _null_ _null_ _null_ range_overleft _null_ _null_ _null_ _null_ )
+insert ( 3866 range_overright 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 3831' _null_ _null_ _null_ _null_ _null_ range_overright _null_ _null_ _null_ _null_ )
+insert ( 3867 range_union 11 10 12 1 0 0 0 f f f t f i s 2 0 3831 '3831 3831' _null_ _null_ _null_ _null_ _null_ range_union _null_ _null_ _null_ _null_ )
+insert ( 4057 range_merge 11 10 12 1 0 0 0 f f f t f i s 2 0 3831 '3831 3831' _null_ _null_ _null_ _null_ _null_ range_merge _null_ _null_ _null_ _null_ )
+insert ( 4228 range_merge 11 10 12 1 0 0 0 f f f t f i s 1 0 3831 4537 _null_ _null_ _null_ _null_ _null_ range_merge_from_multirange _null_ _null_ _null_ _null_ )
+insert ( 3868 range_intersect 11 10 12 1 0 0 0 f f f t f i s 2 0 3831 '3831 3831' _null_ _null_ _null_ _null_ _null_ range_intersect _null_ _null_ _null_ _null_ )
+insert ( 3869 range_minus 11 10 12 1 0 0 0 f f f t f i s 2 0 3831 '3831 3831' _null_ _null_ _null_ _null_ _null_ range_minus _null_ _null_ _null_ _null_ )
+insert ( 3870 range_cmp 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '3831 3831' _null_ _null_ _null_ _null_ _null_ range_cmp _null_ _null_ _null_ _null_ )
+insert ( 3871 range_lt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 3831' _null_ _null_ _null_ _null_ _null_ range_lt _null_ _null_ _null_ _null_ )
+insert ( 3872 range_le 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 3831' _null_ _null_ _null_ _null_ _null_ range_le _null_ _null_ _null_ _null_ )
+insert ( 3873 range_ge 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 3831' _null_ _null_ _null_ _null_ _null_ range_ge _null_ _null_ _null_ _null_ )
+insert ( 3874 range_gt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 3831' _null_ _null_ _null_ _null_ _null_ range_gt _null_ _null_ _null_ _null_ )
+insert ( 3875 range_gist_consistent 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '2281 3831 21 26 2281' _null_ _null_ _null_ _null_ _null_ range_gist_consistent _null_ _null_ _null_ _null_ )
+insert ( 3876 range_gist_union 11 10 12 1 0 0 0 f f f t f i s 2 0 3831 '2281 2281' _null_ _null_ _null_ _null_ _null_ range_gist_union _null_ _null_ _null_ _null_ )
+insert ( 3879 range_gist_penalty 11 10 12 1 0 0 0 f f f t f i s 3 0 2281 '2281 2281 2281' _null_ _null_ _null_ _null_ _null_ range_gist_penalty _null_ _null_ _null_ _null_ )
+insert ( 3880 range_gist_picksplit 11 10 12 1 0 0 0 f f f t f i s 2 0 2281 '2281 2281' _null_ _null_ _null_ _null_ _null_ range_gist_picksplit _null_ _null_ _null_ _null_ )
+insert ( 3881 range_gist_same 11 10 12 1 0 0 0 f f f t f i s 3 0 2281 '3831 3831 2281' _null_ _null_ _null_ _null_ _null_ range_gist_same _null_ _null_ _null_ _null_ )
+insert ( 6154 multirange_gist_consistent 11 10 12 1 0 0 0 f f f t f i s 5 0 16 '2281 4537 21 26 2281' _null_ _null_ _null_ _null_ _null_ multirange_gist_consistent _null_ _null_ _null_ _null_ )
+insert ( 6156 multirange_gist_compress 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ multirange_gist_compress _null_ _null_ _null_ _null_ )
+insert ( 3902 hash_range 11 10 12 1 0 0 0 f f f t f i s 1 0 23 3831 _null_ _null_ _null_ _null_ _null_ hash_range _null_ _null_ _null_ _null_ )
+insert ( 3417 hash_range_extended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '3831 20' _null_ _null_ _null_ _null_ _null_ hash_range_extended _null_ _null_ _null_ _null_ )
+insert ( 3916 range_typanalyze 11 10 12 1 0 0 0 f f f t f s s 1 0 16 2281 _null_ _null_ _null_ _null_ _null_ range_typanalyze _null_ _null_ _null_ _null_ )
+insert ( 3169 rangesel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ rangesel _null_ _null_ _null_ _null_ )
+insert ( 4401 range_intersect_agg_transfn 11 10 12 1 0 0 0 f f f t f i s 2 0 3831 '3831 3831' _null_ _null_ _null_ _null_ _null_ range_intersect_agg_transfn _null_ _null_ _null_ _null_ )
+insert ( 4450 range_intersect_agg 11 10 12 1 0 0 0 a f f f f i s 1 0 3831 3831 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3914 int4range_canonical 11 10 12 1 0 0 0 f f f t f i s 1 0 3904 3904 _null_ _null_ _null_ _null_ _null_ int4range_canonical _null_ _null_ _null_ _null_ )
+insert ( 3928 int8range_canonical 11 10 12 1 0 0 0 f f f t f i s 1 0 3926 3926 _null_ _null_ _null_ _null_ _null_ int8range_canonical _null_ _null_ _null_ _null_ )
+insert ( 3915 daterange_canonical 11 10 12 1 0 0 0 f f f t f i s 1 0 3912 3912 _null_ _null_ _null_ _null_ _null_ daterange_canonical _null_ _null_ _null_ _null_ )
+insert ( 3922 int4range_subdiff 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '23 23' _null_ _null_ _null_ _null_ _null_ int4range_subdiff _null_ _null_ _null_ _null_ )
+insert ( 3923 int8range_subdiff 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '20 20' _null_ _null_ _null_ _null_ _null_ int8range_subdiff _null_ _null_ _null_ _null_ )
+insert ( 3924 numrange_subdiff 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '1700 1700' _null_ _null_ _null_ _null_ _null_ numrange_subdiff _null_ _null_ _null_ _null_ )
+insert ( 3925 daterange_subdiff 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '1082 1082' _null_ _null_ _null_ _null_ _null_ daterange_subdiff _null_ _null_ _null_ _null_ )
+insert ( 3929 tsrange_subdiff 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '1114 1114' _null_ _null_ _null_ _null_ _null_ tsrange_subdiff _null_ _null_ _null_ _null_ )
+insert ( 3930 tstzrange_subdiff 11 10 12 1 0 0 0 f f f t f i s 2 0 701 '1184 1184' _null_ _null_ _null_ _null_ _null_ tstzrange_subdiff _null_ _null_ _null_ _null_ )
+insert ( 3840 int4range 11 10 12 1 0 0 0 f f f f f i s 2 0 3904 '23 23' _null_ _null_ _null_ _null_ _null_ range_constructor2 _null_ _null_ _null_ _null_ )
+insert ( 3841 int4range 11 10 12 1 0 0 0 f f f f f i s 3 0 3904 '23 23 25' _null_ _null_ _null_ _null_ _null_ range_constructor3 _null_ _null_ _null_ _null_ )
+insert ( 3844 numrange 11 10 12 1 0 0 0 f f f f f i s 2 0 3906 '1700 1700' _null_ _null_ _null_ _null_ _null_ range_constructor2 _null_ _null_ _null_ _null_ )
+insert ( 3845 numrange 11 10 12 1 0 0 0 f f f f f i s 3 0 3906 '1700 1700 25' _null_ _null_ _null_ _null_ _null_ range_constructor3 _null_ _null_ _null_ _null_ )
+insert ( 3933 tsrange 11 10 12 1 0 0 0 f f f f f i s 2 0 3908 '1114 1114' _null_ _null_ _null_ _null_ _null_ range_constructor2 _null_ _null_ _null_ _null_ )
+insert ( 3934 tsrange 11 10 12 1 0 0 0 f f f f f i s 3 0 3908 '1114 1114 25' _null_ _null_ _null_ _null_ _null_ range_constructor3 _null_ _null_ _null_ _null_ )
+insert ( 3937 tstzrange 11 10 12 1 0 0 0 f f f f f i s 2 0 3910 '1184 1184' _null_ _null_ _null_ _null_ _null_ range_constructor2 _null_ _null_ _null_ _null_ )
+insert ( 3938 tstzrange 11 10 12 1 0 0 0 f f f f f i s 3 0 3910 '1184 1184 25' _null_ _null_ _null_ _null_ _null_ range_constructor3 _null_ _null_ _null_ _null_ )
+insert ( 3941 daterange 11 10 12 1 0 0 0 f f f f f i s 2 0 3912 '1082 1082' _null_ _null_ _null_ _null_ _null_ range_constructor2 _null_ _null_ _null_ _null_ )
+insert ( 3942 daterange 11 10 12 1 0 0 0 f f f f f i s 3 0 3912 '1082 1082 25' _null_ _null_ _null_ _null_ _null_ range_constructor3 _null_ _null_ _null_ _null_ )
+insert ( 3945 int8range 11 10 12 1 0 0 0 f f f f f i s 2 0 3926 '20 20' _null_ _null_ _null_ _null_ _null_ range_constructor2 _null_ _null_ _null_ _null_ )
+insert ( 3946 int8range 11 10 12 1 0 0 0 f f f f f i s 3 0 3926 '20 20 25' _null_ _null_ _null_ _null_ _null_ range_constructor3 _null_ _null_ _null_ _null_ )
+insert ( 4229 anymultirange_in 11 10 12 1 0 0 0 f f f t f s s 3 0 4537 '2275 26 23' _null_ _null_ _null_ _null_ _null_ anymultirange_in _null_ _null_ _null_ _null_ )
+insert ( 4230 anymultirange_out 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 4537 _null_ _null_ _null_ _null_ _null_ anymultirange_out _null_ _null_ _null_ _null_ )
+insert ( 4231 multirange_in 11 10 12 1 0 0 0 f f f t f s s 3 0 4537 '2275 26 23' _null_ _null_ _null_ _null_ _null_ multirange_in _null_ _null_ _null_ _null_ )
+insert ( 4232 multirange_out 11 10 12 1 0 0 0 f f f t f s s 1 0 2275 4537 _null_ _null_ _null_ _null_ _null_ multirange_out _null_ _null_ _null_ _null_ )
+insert ( 4233 multirange_recv 11 10 12 1 0 0 0 f f f t f s s 3 0 4537 '2281 26 23' _null_ _null_ _null_ _null_ _null_ multirange_recv _null_ _null_ _null_ _null_ )
+insert ( 4234 multirange_send 11 10 12 1 0 0 0 f f f t f s s 1 0 17 4537 _null_ _null_ _null_ _null_ _null_ multirange_send _null_ _null_ _null_ _null_ )
+insert ( 4235 lower 11 10 12 1 0 0 0 f f f t f i s 1 0 2283 4537 _null_ _null_ _null_ _null_ _null_ multirange_lower _null_ _null_ _null_ _null_ )
+insert ( 4236 upper 11 10 12 1 0 0 0 f f f t f i s 1 0 2283 4537 _null_ _null_ _null_ _null_ _null_ multirange_upper _null_ _null_ _null_ _null_ )
+insert ( 4237 isempty 11 10 12 1 0 0 0 f f f t f i s 1 0 16 4537 _null_ _null_ _null_ _null_ _null_ multirange_empty _null_ _null_ _null_ _null_ )
+insert ( 4238 lower_inc 11 10 12 1 0 0 0 f f f t f i s 1 0 16 4537 _null_ _null_ _null_ _null_ _null_ multirange_lower_inc _null_ _null_ _null_ _null_ )
+insert ( 4239 upper_inc 11 10 12 1 0 0 0 f f f t f i s 1 0 16 4537 _null_ _null_ _null_ _null_ _null_ multirange_upper_inc _null_ _null_ _null_ _null_ )
+insert ( 4240 lower_inf 11 10 12 1 0 0 0 f f f t f i s 1 0 16 4537 _null_ _null_ _null_ _null_ _null_ multirange_lower_inf _null_ _null_ _null_ _null_ )
+insert ( 4241 upper_inf 11 10 12 1 0 0 0 f f f t f i s 1 0 16 4537 _null_ _null_ _null_ _null_ _null_ multirange_upper_inf _null_ _null_ _null_ _null_ )
+insert ( 4242 multirange_typanalyze 11 10 12 1 0 0 0 f f f t f s s 1 0 16 2281 _null_ _null_ _null_ _null_ _null_ multirange_typanalyze _null_ _null_ _null_ _null_ )
+insert ( 4243 multirangesel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ multirangesel _null_ _null_ _null_ _null_ )
+insert ( 4244 multirange_eq 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 4537' _null_ _null_ _null_ _null_ _null_ multirange_eq _null_ _null_ _null_ _null_ )
+insert ( 4245 multirange_ne 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 4537' _null_ _null_ _null_ _null_ _null_ multirange_ne _null_ _null_ _null_ _null_ )
+insert ( 4246 range_overlaps_multirange 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 4537' _null_ _null_ _null_ _null_ _null_ range_overlaps_multirange _null_ _null_ _null_ _null_ )
+insert ( 4247 multirange_overlaps_range 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 3831' _null_ _null_ _null_ _null_ _null_ multirange_overlaps_range _null_ _null_ _null_ _null_ )
+insert ( 4248 multirange_overlaps_multirange 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 4537' _null_ _null_ _null_ _null_ _null_ multirange_overlaps_multirange _null_ _null_ _null_ _null_ )
+insert ( 4249 multirange_contains_elem 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 2283' _null_ _null_ _null_ _null_ _null_ multirange_contains_elem _null_ _null_ _null_ _null_ )
+insert ( 4250 multirange_contains_range 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 3831' _null_ _null_ _null_ _null_ _null_ multirange_contains_range _null_ _null_ _null_ _null_ )
+insert ( 4251 multirange_contains_multirange 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 4537' _null_ _null_ _null_ _null_ _null_ multirange_contains_multirange _null_ _null_ _null_ _null_ )
+insert ( 4252 elem_contained_by_multirange 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2283 4537' _null_ _null_ _null_ _null_ _null_ elem_contained_by_multirange _null_ _null_ _null_ _null_ )
+insert ( 4253 range_contained_by_multirange 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 4537' _null_ _null_ _null_ _null_ _null_ range_contained_by_multirange _null_ _null_ _null_ _null_ )
+insert ( 4541 range_contains_multirange 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 4537' _null_ _null_ _null_ _null_ _null_ range_contains_multirange _null_ _null_ _null_ _null_ )
+insert ( 4542 multirange_contained_by_range 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 3831' _null_ _null_ _null_ _null_ _null_ multirange_contained_by_range _null_ _null_ _null_ _null_ )
+insert ( 4254 multirange_contained_by_multirange 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 4537' _null_ _null_ _null_ _null_ _null_ multirange_contained_by_multirange _null_ _null_ _null_ _null_ )
+insert ( 4255 range_adjacent_multirange 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 4537' _null_ _null_ _null_ _null_ _null_ range_adjacent_multirange _null_ _null_ _null_ _null_ )
+insert ( 4256 multirange_adjacent_multirange 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 4537' _null_ _null_ _null_ _null_ _null_ multirange_adjacent_multirange _null_ _null_ _null_ _null_ )
+insert ( 4257 multirange_adjacent_range 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 3831' _null_ _null_ _null_ _null_ _null_ multirange_adjacent_range _null_ _null_ _null_ _null_ )
+insert ( 4258 range_before_multirange 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 4537' _null_ _null_ _null_ _null_ _null_ range_before_multirange _null_ _null_ _null_ _null_ )
+insert ( 4259 multirange_before_range 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 3831' _null_ _null_ _null_ _null_ _null_ multirange_before_range _null_ _null_ _null_ _null_ )
+insert ( 4260 multirange_before_multirange 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 4537' _null_ _null_ _null_ _null_ _null_ multirange_before_multirange _null_ _null_ _null_ _null_ )
+insert ( 4261 range_after_multirange 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 4537' _null_ _null_ _null_ _null_ _null_ range_after_multirange _null_ _null_ _null_ _null_ )
+insert ( 4262 multirange_after_range 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 3831' _null_ _null_ _null_ _null_ _null_ multirange_after_range _null_ _null_ _null_ _null_ )
+insert ( 4263 multirange_after_multirange 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 4537' _null_ _null_ _null_ _null_ _null_ multirange_after_multirange _null_ _null_ _null_ _null_ )
+insert ( 4264 range_overleft_multirange 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 4537' _null_ _null_ _null_ _null_ _null_ range_overleft_multirange _null_ _null_ _null_ _null_ )
+insert ( 4265 multirange_overleft_range 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 3831' _null_ _null_ _null_ _null_ _null_ multirange_overleft_range _null_ _null_ _null_ _null_ )
+insert ( 4266 multirange_overleft_multirange 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 4537' _null_ _null_ _null_ _null_ _null_ multirange_overleft_multirange _null_ _null_ _null_ _null_ )
+insert ( 4267 range_overright_multirange 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '3831 4537' _null_ _null_ _null_ _null_ _null_ range_overright_multirange _null_ _null_ _null_ _null_ )
+insert ( 4268 multirange_overright_range 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 3831' _null_ _null_ _null_ _null_ _null_ multirange_overright_range _null_ _null_ _null_ _null_ )
+insert ( 4269 multirange_overright_multirange 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 4537' _null_ _null_ _null_ _null_ _null_ multirange_overright_multirange _null_ _null_ _null_ _null_ )
+insert ( 4270 multirange_union 11 10 12 1 0 0 0 f f f t f i s 2 0 4537 '4537 4537' _null_ _null_ _null_ _null_ _null_ multirange_union _null_ _null_ _null_ _null_ )
+insert ( 4271 multirange_minus 11 10 12 1 0 0 0 f f f t f i s 2 0 4537 '4537 4537' _null_ _null_ _null_ _null_ _null_ multirange_minus _null_ _null_ _null_ _null_ )
+insert ( 4272 multirange_intersect 11 10 12 1 0 0 0 f f f t f i s 2 0 4537 '4537 4537' _null_ _null_ _null_ _null_ _null_ multirange_intersect _null_ _null_ _null_ _null_ )
+insert ( 4273 multirange_cmp 11 10 12 1 0 0 0 f f f t f i s 2 0 23 '4537 4537' _null_ _null_ _null_ _null_ _null_ multirange_cmp _null_ _null_ _null_ _null_ )
+insert ( 4274 multirange_lt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 4537' _null_ _null_ _null_ _null_ _null_ multirange_lt _null_ _null_ _null_ _null_ )
+insert ( 4275 multirange_le 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 4537' _null_ _null_ _null_ _null_ _null_ multirange_le _null_ _null_ _null_ _null_ )
+insert ( 4276 multirange_ge 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 4537' _null_ _null_ _null_ _null_ _null_ multirange_ge _null_ _null_ _null_ _null_ )
+insert ( 4277 multirange_gt 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '4537 4537' _null_ _null_ _null_ _null_ _null_ multirange_gt _null_ _null_ _null_ _null_ )
+insert ( 4278 hash_multirange 11 10 12 1 0 0 0 f f f t f i s 1 0 23 4537 _null_ _null_ _null_ _null_ _null_ hash_multirange _null_ _null_ _null_ _null_ )
+insert ( 4279 hash_multirange_extended 11 10 12 1 0 0 0 f f f t f i s 2 0 20 '4537 20' _null_ _null_ _null_ _null_ _null_ hash_multirange_extended _null_ _null_ _null_ _null_ )
+insert ( 4280 int4multirange 11 10 12 1 0 0 0 f f f t f i s 0 0 4451 '' _null_ _null_ _null_ _null_ _null_ multirange_constructor0 _null_ _null_ _null_ _null_ )
+insert ( 4281 int4multirange 11 10 12 1 0 0 0 f f f t f i s 1 0 4451 3904 _null_ _null_ _null_ _null_ _null_ multirange_constructor1 _null_ _null_ _null_ _null_ )
+insert ( 4282 int4multirange 11 10 12 1 0 3904 0 f f f t f i s 1 0 4451 3905 '{3905}' '{v}' _null_ _null_ _null_ multirange_constructor2 _null_ _null_ _null_ _null_ )
+insert ( 4283 nummultirange 11 10 12 1 0 0 0 f f f t f i s 0 0 4532 '' _null_ _null_ _null_ _null_ _null_ multirange_constructor0 _null_ _null_ _null_ _null_ )
+insert ( 4284 nummultirange 11 10 12 1 0 0 0 f f f t f i s 1 0 4532 3906 _null_ _null_ _null_ _null_ _null_ multirange_constructor1 _null_ _null_ _null_ _null_ )
+insert ( 4285 nummultirange 11 10 12 1 0 3906 0 f f f t f i s 1 0 4532 3907 '{3907}' '{v}' _null_ _null_ _null_ multirange_constructor2 _null_ _null_ _null_ _null_ )
+insert ( 4286 tsmultirange 11 10 12 1 0 0 0 f f f t f i s 0 0 4533 '' _null_ _null_ _null_ _null_ _null_ multirange_constructor0 _null_ _null_ _null_ _null_ )
+insert ( 4287 tsmultirange 11 10 12 1 0 0 0 f f f t f i s 1 0 4533 3908 _null_ _null_ _null_ _null_ _null_ multirange_constructor1 _null_ _null_ _null_ _null_ )
+insert ( 4288 tsmultirange 11 10 12 1 0 3908 0 f f f t f i s 1 0 4533 3909 '{3909}' '{v}' _null_ _null_ _null_ multirange_constructor2 _null_ _null_ _null_ _null_ )
+insert ( 4289 tstzmultirange 11 10 12 1 0 0 0 f f f t f i s 0 0 4534 '' _null_ _null_ _null_ _null_ _null_ multirange_constructor0 _null_ _null_ _null_ _null_ )
+insert ( 4290 tstzmultirange 11 10 12 1 0 0 0 f f f t f i s 1 0 4534 3910 _null_ _null_ _null_ _null_ _null_ multirange_constructor1 _null_ _null_ _null_ _null_ )
+insert ( 4291 tstzmultirange 11 10 12 1 0 3910 0 f f f t f i s 1 0 4534 3911 '{3911}' '{v}' _null_ _null_ _null_ multirange_constructor2 _null_ _null_ _null_ _null_ )
+insert ( 4292 datemultirange 11 10 12 1 0 0 0 f f f t f i s 0 0 4535 '' _null_ _null_ _null_ _null_ _null_ multirange_constructor0 _null_ _null_ _null_ _null_ )
+insert ( 4293 datemultirange 11 10 12 1 0 0 0 f f f t f i s 1 0 4535 3912 _null_ _null_ _null_ _null_ _null_ multirange_constructor1 _null_ _null_ _null_ _null_ )
+insert ( 4294 datemultirange 11 10 12 1 0 3912 0 f f f t f i s 1 0 4535 3913 '{3913}' '{v}' _null_ _null_ _null_ multirange_constructor2 _null_ _null_ _null_ _null_ )
+insert ( 4295 int8multirange 11 10 12 1 0 0 0 f f f t f i s 0 0 4536 '' _null_ _null_ _null_ _null_ _null_ multirange_constructor0 _null_ _null_ _null_ _null_ )
+insert ( 4296 int8multirange 11 10 12 1 0 0 0 f f f t f i s 1 0 4536 3926 _null_ _null_ _null_ _null_ _null_ multirange_constructor1 _null_ _null_ _null_ _null_ )
+insert ( 4297 int8multirange 11 10 12 1 0 3926 0 f f f t f i s 1 0 4536 3927 '{3927}' '{v}' _null_ _null_ _null_ multirange_constructor2 _null_ _null_ _null_ _null_ )
+insert ( 4298 multirange 11 10 12 1 0 0 0 f f f t f i s 1 0 4537 3831 _null_ _null_ _null_ _null_ _null_ multirange_constructor1 _null_ _null_ _null_ _null_ )
+insert ( 4299 range_agg_transfn 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 3831' _null_ _null_ _null_ _null_ _null_ range_agg_transfn _null_ _null_ _null_ _null_ )
+insert ( 4300 range_agg_finalfn 11 10 12 1 0 0 0 f f f f f i s 2 0 4537 '2281 3831' _null_ _null_ _null_ _null_ _null_ range_agg_finalfn _null_ _null_ _null_ _null_ )
+insert ( 4301 range_agg 11 10 12 1 0 0 0 a f f f f i s 1 0 4537 3831 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 6225 multirange_agg_transfn 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 4537' _null_ _null_ _null_ _null_ _null_ multirange_agg_transfn _null_ _null_ _null_ _null_ )
+insert ( 6226 multirange_agg_finalfn 11 10 12 1 0 0 0 f f f f f i s 2 0 4537 '2281 4537' _null_ _null_ _null_ _null_ _null_ range_agg_finalfn _null_ _null_ _null_ _null_ )
+insert ( 6227 range_agg 11 10 12 1 0 0 0 a f f f f i s 1 0 4537 4537 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 4388 multirange_intersect_agg_transfn 11 10 12 1 0 0 0 f f f t f i s 2 0 4537 '4537 4537' _null_ _null_ _null_ _null_ _null_ multirange_intersect_agg_transfn _null_ _null_ _null_ _null_ )
+insert ( 4389 range_intersect_agg 11 10 12 1 0 0 0 a f f f f i s 1 0 4537 4537 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 1293 unnest 11 10 12 1 100 0 0 f f f t t i s 1 0 3831 4537 _null_ _null_ _null_ _null_ _null_ multirange_unnest _null_ _null_ _null_ _null_ )
+insert ( 3846 make_date 11 10 12 1 0 0 0 f f f t f i s 3 0 1082 '23 23 23' _null_ _null_ '{year,month,day}' _null_ _null_ make_date _null_ _null_ _null_ _null_ )
+insert ( 3847 make_time 11 10 12 1 0 0 0 f f f t f i s 3 0 1083 '23 23 701' _null_ _null_ '{hour,min,sec}' _null_ _null_ make_time _null_ _null_ _null_ _null_ )
+insert ( 3461 make_timestamp 11 10 12 1 0 0 0 f f f t f i s 6 0 1114 '23 23 23 23 23 701' _null_ _null_ '{year,month,mday,hour,min,sec}' _null_ _null_ make_timestamp _null_ _null_ _null_ _null_ )
+insert ( 3462 make_timestamptz 11 10 12 1 0 0 0 f f f t f s s 6 0 1184 '23 23 23 23 23 701' _null_ _null_ '{year,month,mday,hour,min,sec}' _null_ _null_ make_timestamptz _null_ _null_ _null_ _null_ )
+insert ( 3463 make_timestamptz 11 10 12 1 0 0 0 f f f t f s s 7 0 1184 '23 23 23 23 23 701 25' _null_ _null_ '{year,month,mday,hour,min,sec,timezone}' _null_ _null_ make_timestamptz_at_timezone _null_ _null_ _null_ _null_ )
+insert ( 3464 make_interval 11 10 12 1 0 0 0 f f f t f i s 7 0 1186 '23 23 23 23 23 23 701' _null_ _null_ '{years,months,weeks,days,hours,mins,secs}' _null_ _null_ make_interval _null_ _null_ _null_ _null_ )
+insert ( 4018 spg_quad_config 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_quad_config _null_ _null_ _null_ _null_ )
+insert ( 4019 spg_quad_choose 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_quad_choose _null_ _null_ _null_ _null_ )
+insert ( 4020 spg_quad_picksplit 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_quad_picksplit _null_ _null_ _null_ _null_ )
+insert ( 4021 spg_quad_inner_consistent 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_quad_inner_consistent _null_ _null_ _null_ _null_ )
+insert ( 4022 spg_quad_leaf_consistent 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_quad_leaf_consistent _null_ _null_ _null_ _null_ )
+insert ( 4023 spg_kd_config 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_kd_config _null_ _null_ _null_ _null_ )
+insert ( 4024 spg_kd_choose 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_kd_choose _null_ _null_ _null_ _null_ )
+insert ( 4025 spg_kd_picksplit 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_kd_picksplit _null_ _null_ _null_ _null_ )
+insert ( 4026 spg_kd_inner_consistent 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_kd_inner_consistent _null_ _null_ _null_ _null_ )
+insert ( 4027 spg_text_config 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_text_config _null_ _null_ _null_ _null_ )
+insert ( 4028 spg_text_choose 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_text_choose _null_ _null_ _null_ _null_ )
+insert ( 4029 spg_text_picksplit 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_text_picksplit _null_ _null_ _null_ _null_ )
+insert ( 4030 spg_text_inner_consistent 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_text_inner_consistent _null_ _null_ _null_ _null_ )
+insert ( 4031 spg_text_leaf_consistent 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_text_leaf_consistent _null_ _null_ _null_ _null_ )
+insert ( 3469 spg_range_quad_config 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_range_quad_config _null_ _null_ _null_ _null_ )
+insert ( 3470 spg_range_quad_choose 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_range_quad_choose _null_ _null_ _null_ _null_ )
+insert ( 3471 spg_range_quad_picksplit 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_range_quad_picksplit _null_ _null_ _null_ _null_ )
+insert ( 3472 spg_range_quad_inner_consistent 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_range_quad_inner_consistent _null_ _null_ _null_ _null_ )
+insert ( 3473 spg_range_quad_leaf_consistent 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_range_quad_leaf_consistent _null_ _null_ _null_ _null_ )
+insert ( 5012 spg_box_quad_config 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_box_quad_config _null_ _null_ _null_ _null_ )
+insert ( 5013 spg_box_quad_choose 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_box_quad_choose _null_ _null_ _null_ _null_ )
+insert ( 5014 spg_box_quad_picksplit 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_box_quad_picksplit _null_ _null_ _null_ _null_ )
+insert ( 5015 spg_box_quad_inner_consistent 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_box_quad_inner_consistent _null_ _null_ _null_ _null_ )
+insert ( 5016 spg_box_quad_leaf_consistent 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_box_quad_leaf_consistent _null_ _null_ _null_ _null_ )
+insert ( 5010 spg_bbox_quad_config 11 10 12 1 0 0 0 f f f t f i s 2 0 2278 '2281 2281' _null_ _null_ _null_ _null_ _null_ spg_bbox_quad_config _null_ _null_ _null_ _null_ )
+insert ( 5011 spg_poly_quad_compress 11 10 12 1 0 0 0 f f f t f i s 1 0 603 604 _null_ _null_ _null_ _null_ _null_ spg_poly_quad_compress _null_ _null_ _null_ _null_ )
+insert ( 3779 pg_create_physical_replication_slot 11 10 12 1 0 0 0 f f f t f v u 3 0 2249 '19 16 16' '{19,16,16,19,3220}' '{i,i,i,o,o}' '{slot_name,immediately_reserve,temporary,slot_name,lsn}' _null_ _null_ pg_create_physical_replication_slot _null_ _null_ _null_ _null_ )
+insert ( 4220 pg_copy_physical_replication_slot 11 10 12 1 0 0 0 f f f t f v u 3 0 2249 '19 19 16' '{19,19,16,19,3220}' '{i,i,i,o,o}' '{src_slot_name,dst_slot_name,temporary,slot_name,lsn}' _null_ _null_ pg_copy_physical_replication_slot_a _null_ _null_ _null_ _null_ )
+insert ( 4221 pg_copy_physical_replication_slot 11 10 12 1 0 0 0 f f f t f v u 2 0 2249 '19 19' '{19,19,19,3220}' '{i,i,o,o}' '{src_slot_name,dst_slot_name,slot_name,lsn}' _null_ _null_ pg_copy_physical_replication_slot_b _null_ _null_ _null_ _null_ )
+insert ( 3780 pg_drop_replication_slot 11 10 12 1 0 0 0 f f f t f v u 1 0 2278 19 _null_ _null_ _null_ _null_ _null_ pg_drop_replication_slot _null_ _null_ _null_ _null_ )
+insert ( 3781 pg_get_replication_slots 11 10 12 1 10 0 0 f f f f t s s 0 0 2249 '' '{19,19,25,26,16,16,23,28,28,3220,3220,25,20,16,16}' '{o,o,o,o,o,o,o,o,o,o,o,o,o,o,o}' '{slot_name,plugin,slot_type,datoid,temporary,active,active_pid,xmin,catalog_xmin,restart_lsn,confirmed_flush_lsn,wal_status,safe_wal_size,two_phase,conflicting}' _null_ _null_ pg_get_replication_slots _null_ _null_ _null_ _null_ )
+insert ( 3786 pg_create_logical_replication_slot 11 10 12 1 0 0 0 f f f t f v u 4 0 2249 '19 19 16 16' '{19,19,16,16,19,3220}' '{i,i,i,i,o,o}' '{slot_name,plugin,temporary,twophase,slot_name,lsn}' _null_ _null_ pg_create_logical_replication_slot _null_ _null_ _null_ _null_ )
+insert ( 4222 pg_copy_logical_replication_slot 11 10 12 1 0 0 0 f f f t f v u 4 0 2249 '19 19 16 19' '{19,19,16,19,19,3220}' '{i,i,i,i,o,o}' '{src_slot_name,dst_slot_name,temporary,plugin,slot_name,lsn}' _null_ _null_ pg_copy_logical_replication_slot_a _null_ _null_ _null_ _null_ )
+insert ( 4223 pg_copy_logical_replication_slot 11 10 12 1 0 0 0 f f f t f v u 3 0 2249 '19 19 16' '{19,19,16,19,3220}' '{i,i,i,o,o}' '{src_slot_name,dst_slot_name,temporary,slot_name,lsn}' _null_ _null_ pg_copy_logical_replication_slot_b _null_ _null_ _null_ _null_ )
+insert ( 4224 pg_copy_logical_replication_slot 11 10 12 1 0 0 0 f f f t f v u 2 0 2249 '19 19' '{19,19,19,3220}' '{i,i,o,o}' '{src_slot_name,dst_slot_name,slot_name,lsn}' _null_ _null_ pg_copy_logical_replication_slot_c _null_ _null_ _null_ _null_ )
+insert ( 3782 pg_logical_slot_get_changes 11 10 12 1000 1000 25 0 f f f f t v u 4 0 2249 '19 3220 23 1009' '{19,3220,23,1009,3220,28,25}' '{i,i,i,v,o,o,o}' '{slot_name,upto_lsn,upto_nchanges,options,lsn,xid,data}' _null_ _null_ pg_logical_slot_get_changes _null_ _null_ _null_ _null_ )
+insert ( 3783 pg_logical_slot_get_binary_changes 11 10 12 1000 1000 25 0 f f f f t v u 4 0 2249 '19 3220 23 1009' '{19,3220,23,1009,3220,28,17}' '{i,i,i,v,o,o,o}' '{slot_name,upto_lsn,upto_nchanges,options,lsn,xid,data}' _null_ _null_ pg_logical_slot_get_binary_changes _null_ _null_ _null_ _null_ )
+insert ( 3784 pg_logical_slot_peek_changes 11 10 12 1000 1000 25 0 f f f f t v u 4 0 2249 '19 3220 23 1009' '{19,3220,23,1009,3220,28,25}' '{i,i,i,v,o,o,o}' '{slot_name,upto_lsn,upto_nchanges,options,lsn,xid,data}' _null_ _null_ pg_logical_slot_peek_changes _null_ _null_ _null_ _null_ )
+insert ( 3785 pg_logical_slot_peek_binary_changes 11 10 12 1000 1000 25 0 f f f f t v u 4 0 2249 '19 3220 23 1009' '{19,3220,23,1009,3220,28,17}' '{i,i,i,v,o,o,o}' '{slot_name,upto_lsn,upto_nchanges,options,lsn,xid,data}' _null_ _null_ pg_logical_slot_peek_binary_changes _null_ _null_ _null_ _null_ )
+insert ( 3878 pg_replication_slot_advance 11 10 12 1 0 0 0 f f f t f v u 2 0 2249 '19 3220' '{19,3220,19,3220}' '{i,i,o,o}' '{slot_name,upto_lsn,slot_name,end_lsn}' _null_ _null_ pg_replication_slot_advance _null_ _null_ _null_ _null_ )
+insert ( 3577 pg_logical_emit_message 11 10 12 1 0 0 0 f f f t f v u 3 0 3220 '16 25 25' _null_ _null_ _null_ _null_ _null_ pg_logical_emit_message_text _null_ _null_ _null_ _null_ )
+insert ( 3578 pg_logical_emit_message 11 10 12 1 0 0 0 f f f t f v u 3 0 3220 '16 25 17' _null_ _null_ _null_ _null_ _null_ pg_logical_emit_message_bytea _null_ _null_ _null_ _null_ )
+insert ( 3566 pg_event_trigger_dropped_objects 11 10 12 10 100 0 0 f f f t t s r 0 0 2249 '' '{26,26,23,16,16,16,25,25,25,25,1009,1009}' '{o,o,o,o,o,o,o,o,o,o,o,o}' '{classid, objid, objsubid, original, normal, is_temporary, object_type, schema_name, object_name, object_identity, address_names, address_args}' _null_ _null_ pg_event_trigger_dropped_objects _null_ _null_ _null_ _null_ )
+insert ( 4566 pg_event_trigger_table_rewrite_oid 11 10 12 1 0 0 0 f f f t f s r 0 0 26 '' '{26}' '{o}' '{oid}' _null_ _null_ pg_event_trigger_table_rewrite_oid _null_ _null_ _null_ _null_ )
+insert ( 4567 pg_event_trigger_table_rewrite_reason 11 10 12 1 0 0 0 f f f t f s r 0 0 23 '' _null_ _null_ _null_ _null_ _null_ pg_event_trigger_table_rewrite_reason _null_ _null_ _null_ _null_ )
+insert ( 4568 pg_event_trigger_ddl_commands 11 10 12 10 100 0 0 f f f t t s r 0 0 2249 '' '{26,26,23,25,25,25,25,16,32}' '{o,o,o,o,o,o,o,o,o}' '{classid, objid, objsubid, command_tag, object_type, schema_name, object_identity, in_extension, command}' _null_ _null_ pg_event_trigger_ddl_commands _null_ _null_ _null_ _null_ )
+insert ( 3970 ordered_set_transition 11 10 12 1 0 0 0 f f f f f i s 2 0 2281 '2281 2276' _null_ _null_ _null_ _null_ _null_ ordered_set_transition _null_ _null_ _null_ _null_ )
+insert ( 3971 ordered_set_transition_multi 11 10 12 1 0 2276 0 f f f f f i s 2 0 2281 '2281 2276' '{2281,2276}' '{i,v}' _null_ _null_ _null_ ordered_set_transition_multi _null_ _null_ _null_ _null_ )
+insert ( 3972 percentile_disc 11 10 12 1 0 0 0 a f f f f i s 2 0 2283 '701 2283' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3973 percentile_disc_final 11 10 12 1 0 0 0 f f f f f i s 3 0 2283 '2281 701 2283' _null_ _null_ _null_ _null_ _null_ percentile_disc_final _null_ _null_ _null_ _null_ )
+insert ( 3974 percentile_cont 11 10 12 1 0 0 0 a f f f f i s 2 0 701 '701 701' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3975 percentile_cont_float8_final 11 10 12 1 0 0 0 f f f f f i s 2 0 701 '2281 701' _null_ _null_ _null_ _null_ _null_ percentile_cont_float8_final _null_ _null_ _null_ _null_ )
+insert ( 3976 percentile_cont 11 10 12 1 0 0 0 a f f f f i s 2 0 1186 '701 1186' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3977 percentile_cont_interval_final 11 10 12 1 0 0 0 f f f f f i s 2 0 1186 '2281 701' _null_ _null_ _null_ _null_ _null_ percentile_cont_interval_final _null_ _null_ _null_ _null_ )
+insert ( 3978 percentile_disc 11 10 12 1 0 0 0 a f f f f i s 2 0 2277 '1022 2283' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3979 percentile_disc_multi_final 11 10 12 1 0 0 0 f f f f f i s 3 0 2277 '2281 1022 2283' _null_ _null_ _null_ _null_ _null_ percentile_disc_multi_final _null_ _null_ _null_ _null_ )
+insert ( 3980 percentile_cont 11 10 12 1 0 0 0 a f f f f i s 2 0 1022 '1022 701' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3981 percentile_cont_float8_multi_final 11 10 12 1 0 0 0 f f f f f i s 2 0 1022 '2281 1022' _null_ _null_ _null_ _null_ _null_ percentile_cont_float8_multi_final _null_ _null_ _null_ _null_ )
+insert ( 3982 percentile_cont 11 10 12 1 0 0 0 a f f f f i s 2 0 1187 '1022 1186' _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3983 percentile_cont_interval_multi_final 11 10 12 1 0 0 0 f f f f f i s 2 0 1187 '2281 1022' _null_ _null_ _null_ _null_ _null_ percentile_cont_interval_multi_final _null_ _null_ _null_ _null_ )
+insert ( 3984 mode 11 10 12 1 0 0 0 a f f f f i s 1 0 2283 2283 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3985 mode_final 11 10 12 1 0 0 0 f f f f f i s 2 0 2283 '2281 2283' _null_ _null_ _null_ _null_ _null_ mode_final _null_ _null_ _null_ _null_ )
+insert ( 3986 rank 11 10 12 1 0 2276 0 a f f f f i s 1 0 20 2276 '{2276}' '{v}' _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3987 rank_final 11 10 12 1 0 2276 0 f f f f f i s 2 0 20 '2281 2276' '{2281,2276}' '{i,v}' _null_ _null_ _null_ hypothetical_rank_final _null_ _null_ _null_ _null_ )
+insert ( 3988 percent_rank 11 10 12 1 0 2276 0 a f f f f i s 1 0 701 2276 '{2276}' '{v}' _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3989 percent_rank_final 11 10 12 1 0 2276 0 f f f f f i s 2 0 701 '2281 2276' '{2281,2276}' '{i,v}' _null_ _null_ _null_ hypothetical_percent_rank_final _null_ _null_ _null_ _null_ )
+insert ( 3990 cume_dist 11 10 12 1 0 2276 0 a f f f f i s 1 0 701 2276 '{2276}' '{v}' _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3991 cume_dist_final 11 10 12 1 0 2276 0 f f f f f i s 2 0 701 '2281 2276' '{2281,2276}' '{i,v}' _null_ _null_ _null_ hypothetical_cume_dist_final _null_ _null_ _null_ _null_ )
+insert ( 3992 dense_rank 11 10 12 1 0 2276 0 a f f f f i s 1 0 20 2276 '{2276}' '{v}' _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 3993 dense_rank_final 11 10 12 1 0 2276 0 f f f f f i s 2 0 20 '2281 2276' '{2281,2276}' '{i,v}' _null_ _null_ _null_ hypothetical_dense_rank_final _null_ _null_ _null_ _null_ )
+insert ( 3582 binary_upgrade_set_next_pg_type_oid 11 10 12 1 0 0 0 f f f t f v r 1 0 2278 26 _null_ _null_ _null_ _null_ _null_ binary_upgrade_set_next_pg_type_oid _null_ _null_ _null_ _null_ )
+insert ( 3584 binary_upgrade_set_next_array_pg_type_oid 11 10 12 1 0 0 0 f f f t f v r 1 0 2278 26 _null_ _null_ _null_ _null_ _null_ binary_upgrade_set_next_array_pg_type_oid _null_ _null_ _null_ _null_ )
+insert ( 4390 binary_upgrade_set_next_multirange_pg_type_oid 11 10 12 1 0 0 0 f f f t f v r 1 0 2278 26 _null_ _null_ _null_ _null_ _null_ binary_upgrade_set_next_multirange_pg_type_oid _null_ _null_ _null_ _null_ )
+insert ( 4391 binary_upgrade_set_next_multirange_array_pg_type_oid 11 10 12 1 0 0 0 f f f t f v r 1 0 2278 26 _null_ _null_ _null_ _null_ _null_ binary_upgrade_set_next_multirange_array_pg_type_oid _null_ _null_ _null_ _null_ )
+insert ( 3586 binary_upgrade_set_next_heap_pg_class_oid 11 10 12 1 0 0 0 f f f t f v r 1 0 2278 26 _null_ _null_ _null_ _null_ _null_ binary_upgrade_set_next_heap_pg_class_oid _null_ _null_ _null_ _null_ )
+insert ( 3587 binary_upgrade_set_next_index_pg_class_oid 11 10 12 1 0 0 0 f f f t f v r 1 0 2278 26 _null_ _null_ _null_ _null_ _null_ binary_upgrade_set_next_index_pg_class_oid _null_ _null_ _null_ _null_ )
+insert ( 3588 binary_upgrade_set_next_toast_pg_class_oid 11 10 12 1 0 0 0 f f f t f v r 1 0 2278 26 _null_ _null_ _null_ _null_ _null_ binary_upgrade_set_next_toast_pg_class_oid _null_ _null_ _null_ _null_ )
+insert ( 3589 binary_upgrade_set_next_pg_enum_oid 11 10 12 1 0 0 0 f f f t f v r 1 0 2278 26 _null_ _null_ _null_ _null_ _null_ binary_upgrade_set_next_pg_enum_oid _null_ _null_ _null_ _null_ )
+insert ( 3590 binary_upgrade_set_next_pg_authid_oid 11 10 12 1 0 0 0 f f f t f v r 1 0 2278 26 _null_ _null_ _null_ _null_ _null_ binary_upgrade_set_next_pg_authid_oid _null_ _null_ _null_ _null_ )
+insert ( 3591 binary_upgrade_create_empty_extension 11 10 12 1 0 0 0 f f f f f v u 7 0 2278 '25 25 16 25 1028 1009 1009' _null_ _null_ _null_ _null_ _null_ binary_upgrade_create_empty_extension _null_ _null_ _null_ _null_ )
+insert ( 4083 binary_upgrade_set_record_init_privs 11 10 12 1 0 0 0 f f f t f v r 1 0 2278 16 _null_ _null_ _null_ _null_ _null_ binary_upgrade_set_record_init_privs _null_ _null_ _null_ _null_ )
+insert ( 4101 binary_upgrade_set_missing_value 11 10 12 1 0 0 0 f f f t f v u 3 0 2278 '26 25 25' _null_ _null_ _null_ _null_ _null_ binary_upgrade_set_missing_value _null_ _null_ _null_ _null_ )
+insert ( 4545 binary_upgrade_set_next_heap_relfilenode 11 10 12 1 0 0 0 f f f t f v u 1 0 2278 26 _null_ _null_ _null_ _null_ _null_ binary_upgrade_set_next_heap_relfilenode _null_ _null_ _null_ _null_ )
+insert ( 4546 binary_upgrade_set_next_index_relfilenode 11 10 12 1 0 0 0 f f f t f v u 1 0 2278 26 _null_ _null_ _null_ _null_ _null_ binary_upgrade_set_next_index_relfilenode _null_ _null_ _null_ _null_ )
+insert ( 4547 binary_upgrade_set_next_toast_relfilenode 11 10 12 1 0 0 0 f f f t f v u 1 0 2278 26 _null_ _null_ _null_ _null_ _null_ binary_upgrade_set_next_toast_relfilenode _null_ _null_ _null_ _null_ )
+insert ( 4548 binary_upgrade_set_next_pg_tablespace_oid 11 10 12 1 0 0 0 f f f t f v u 1 0 2278 26 _null_ _null_ _null_ _null_ _null_ binary_upgrade_set_next_pg_tablespace_oid _null_ _null_ _null_ _null_ )
+insert ( 4302 koi8r_to_mic 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ koi8r_to_mic '$libdir/cyrillic_and_mic' _null_ _null_ _null_ )
+insert ( 4303 mic_to_koi8r 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ mic_to_koi8r '$libdir/cyrillic_and_mic' _null_ _null_ _null_ )
+insert ( 4304 iso_to_mic 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ iso_to_mic '$libdir/cyrillic_and_mic' _null_ _null_ _null_ )
+insert ( 4305 mic_to_iso 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ mic_to_iso '$libdir/cyrillic_and_mic' _null_ _null_ _null_ )
+insert ( 4306 win1251_to_mic 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ win1251_to_mic '$libdir/cyrillic_and_mic' _null_ _null_ _null_ )
+insert ( 4307 mic_to_win1251 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ mic_to_win1251 '$libdir/cyrillic_and_mic' _null_ _null_ _null_ )
+insert ( 4308 win866_to_mic 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ win866_to_mic '$libdir/cyrillic_and_mic' _null_ _null_ _null_ )
+insert ( 4309 mic_to_win866 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ mic_to_win866 '$libdir/cyrillic_and_mic' _null_ _null_ _null_ )
+insert ( 4310 koi8r_to_win1251 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ koi8r_to_win1251 '$libdir/cyrillic_and_mic' _null_ _null_ _null_ )
+insert ( 4311 win1251_to_koi8r 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ win1251_to_koi8r '$libdir/cyrillic_and_mic' _null_ _null_ _null_ )
+insert ( 4312 koi8r_to_win866 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ koi8r_to_win866 '$libdir/cyrillic_and_mic' _null_ _null_ _null_ )
+insert ( 4313 win866_to_koi8r 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ win866_to_koi8r '$libdir/cyrillic_and_mic' _null_ _null_ _null_ )
+insert ( 4314 win866_to_win1251 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ win866_to_win1251 '$libdir/cyrillic_and_mic' _null_ _null_ _null_ )
+insert ( 4315 win1251_to_win866 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ win1251_to_win866 '$libdir/cyrillic_and_mic' _null_ _null_ _null_ )
+insert ( 4316 iso_to_koi8r 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ iso_to_koi8r '$libdir/cyrillic_and_mic' _null_ _null_ _null_ )
+insert ( 4317 koi8r_to_iso 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ koi8r_to_iso '$libdir/cyrillic_and_mic' _null_ _null_ _null_ )
+insert ( 4318 iso_to_win1251 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ iso_to_win1251 '$libdir/cyrillic_and_mic' _null_ _null_ _null_ )
+insert ( 4319 win1251_to_iso 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ win1251_to_iso '$libdir/cyrillic_and_mic' _null_ _null_ _null_ )
+insert ( 4320 iso_to_win866 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ iso_to_win866 '$libdir/cyrillic_and_mic' _null_ _null_ _null_ )
+insert ( 4321 win866_to_iso 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ win866_to_iso '$libdir/cyrillic_and_mic' _null_ _null_ _null_ )
+insert ( 4322 euc_cn_to_mic 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ euc_cn_to_mic '$libdir/euc_cn_and_mic' _null_ _null_ _null_ )
+insert ( 4323 mic_to_euc_cn 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ mic_to_euc_cn '$libdir/euc_cn_and_mic' _null_ _null_ _null_ )
+insert ( 4324 euc_jp_to_sjis 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ euc_jp_to_sjis '$libdir/euc_jp_and_sjis' _null_ _null_ _null_ )
+insert ( 4325 sjis_to_euc_jp 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ sjis_to_euc_jp '$libdir/euc_jp_and_sjis' _null_ _null_ _null_ )
+insert ( 4326 euc_jp_to_mic 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ euc_jp_to_mic '$libdir/euc_jp_and_sjis' _null_ _null_ _null_ )
+insert ( 4327 sjis_to_mic 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ sjis_to_mic '$libdir/euc_jp_and_sjis' _null_ _null_ _null_ )
+insert ( 4328 mic_to_euc_jp 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ mic_to_euc_jp '$libdir/euc_jp_and_sjis' _null_ _null_ _null_ )
+insert ( 4329 mic_to_sjis 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ mic_to_sjis '$libdir/euc_jp_and_sjis' _null_ _null_ _null_ )
+insert ( 4330 euc_kr_to_mic 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ euc_kr_to_mic '$libdir/euc_kr_and_mic' _null_ _null_ _null_ )
+insert ( 4331 mic_to_euc_kr 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ mic_to_euc_kr '$libdir/euc_kr_and_mic' _null_ _null_ _null_ )
+insert ( 4332 euc_tw_to_big5 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ euc_tw_to_big5 '$libdir/euc_tw_and_big5' _null_ _null_ _null_ )
+insert ( 4333 big5_to_euc_tw 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ big5_to_euc_tw '$libdir/euc_tw_and_big5' _null_ _null_ _null_ )
+insert ( 4334 euc_tw_to_mic 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ euc_tw_to_mic '$libdir/euc_tw_and_big5' _null_ _null_ _null_ )
+insert ( 4335 big5_to_mic 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ big5_to_mic '$libdir/euc_tw_and_big5' _null_ _null_ _null_ )
+insert ( 4336 mic_to_euc_tw 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ mic_to_euc_tw '$libdir/euc_tw_and_big5' _null_ _null_ _null_ )
+insert ( 4337 mic_to_big5 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ mic_to_big5 '$libdir/euc_tw_and_big5' _null_ _null_ _null_ )
+insert ( 4338 latin2_to_mic 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ latin2_to_mic '$libdir/latin2_and_win1250' _null_ _null_ _null_ )
+insert ( 4339 mic_to_latin2 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ mic_to_latin2 '$libdir/latin2_and_win1250' _null_ _null_ _null_ )
+insert ( 4340 win1250_to_mic 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ win1250_to_mic '$libdir/latin2_and_win1250' _null_ _null_ _null_ )
+insert ( 4341 mic_to_win1250 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ mic_to_win1250 '$libdir/latin2_and_win1250' _null_ _null_ _null_ )
+insert ( 4342 latin2_to_win1250 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ latin2_to_win1250 '$libdir/latin2_and_win1250' _null_ _null_ _null_ )
+insert ( 4343 win1250_to_latin2 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ win1250_to_latin2 '$libdir/latin2_and_win1250' _null_ _null_ _null_ )
+insert ( 4344 latin1_to_mic 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ latin1_to_mic '$libdir/latin_and_mic' _null_ _null_ _null_ )
+insert ( 4345 mic_to_latin1 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ mic_to_latin1 '$libdir/latin_and_mic' _null_ _null_ _null_ )
+insert ( 4346 latin3_to_mic 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ latin3_to_mic '$libdir/latin_and_mic' _null_ _null_ _null_ )
+insert ( 4347 mic_to_latin3 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ mic_to_latin3 '$libdir/latin_and_mic' _null_ _null_ _null_ )
+insert ( 4348 latin4_to_mic 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ latin4_to_mic '$libdir/latin_and_mic' _null_ _null_ _null_ )
+insert ( 4349 mic_to_latin4 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ mic_to_latin4 '$libdir/latin_and_mic' _null_ _null_ _null_ )
+insert ( 4352 big5_to_utf8 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ big5_to_utf8 '$libdir/utf8_and_big5' _null_ _null_ _null_ )
+insert ( 4353 utf8_to_big5 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ utf8_to_big5 '$libdir/utf8_and_big5' _null_ _null_ _null_ )
+insert ( 4354 utf8_to_koi8r 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ utf8_to_koi8r '$libdir/utf8_and_cyrillic' _null_ _null_ _null_ )
+insert ( 4355 koi8r_to_utf8 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ koi8r_to_utf8 '$libdir/utf8_and_cyrillic' _null_ _null_ _null_ )
+insert ( 4356 utf8_to_koi8u 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ utf8_to_koi8u '$libdir/utf8_and_cyrillic' _null_ _null_ _null_ )
+insert ( 4357 koi8u_to_utf8 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ koi8u_to_utf8 '$libdir/utf8_and_cyrillic' _null_ _null_ _null_ )
+insert ( 4358 utf8_to_win 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ utf8_to_win '$libdir/utf8_and_win' _null_ _null_ _null_ )
+insert ( 4359 win_to_utf8 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ win_to_utf8 '$libdir/utf8_and_win' _null_ _null_ _null_ )
+insert ( 4360 euc_cn_to_utf8 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ euc_cn_to_utf8 '$libdir/utf8_and_euc_cn' _null_ _null_ _null_ )
+insert ( 4361 utf8_to_euc_cn 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ utf8_to_euc_cn '$libdir/utf8_and_euc_cn' _null_ _null_ _null_ )
+insert ( 4362 euc_jp_to_utf8 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ euc_jp_to_utf8 '$libdir/utf8_and_euc_jp' _null_ _null_ _null_ )
+insert ( 4363 utf8_to_euc_jp 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ utf8_to_euc_jp '$libdir/utf8_and_euc_jp' _null_ _null_ _null_ )
+insert ( 4364 euc_kr_to_utf8 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ euc_kr_to_utf8 '$libdir/utf8_and_euc_kr' _null_ _null_ _null_ )
+insert ( 4365 utf8_to_euc_kr 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ utf8_to_euc_kr '$libdir/utf8_and_euc_kr' _null_ _null_ _null_ )
+insert ( 4366 euc_tw_to_utf8 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ euc_tw_to_utf8 '$libdir/utf8_and_euc_tw' _null_ _null_ _null_ )
+insert ( 4367 utf8_to_euc_tw 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ utf8_to_euc_tw '$libdir/utf8_and_euc_tw' _null_ _null_ _null_ )
+insert ( 4368 gb18030_to_utf8 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ gb18030_to_utf8 '$libdir/utf8_and_gb18030' _null_ _null_ _null_ )
+insert ( 4369 utf8_to_gb18030 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ utf8_to_gb18030 '$libdir/utf8_and_gb18030' _null_ _null_ _null_ )
+insert ( 4370 gbk_to_utf8 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ gbk_to_utf8 '$libdir/utf8_and_gbk' _null_ _null_ _null_ )
+insert ( 4371 utf8_to_gbk 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ utf8_to_gbk '$libdir/utf8_and_gbk' _null_ _null_ _null_ )
+insert ( 4372 utf8_to_iso8859 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ utf8_to_iso8859 '$libdir/utf8_and_iso8859' _null_ _null_ _null_ )
+insert ( 4373 iso8859_to_utf8 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ iso8859_to_utf8 '$libdir/utf8_and_iso8859' _null_ _null_ _null_ )
+insert ( 4374 iso8859_1_to_utf8 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ iso8859_1_to_utf8 '$libdir/utf8_and_iso8859_1' _null_ _null_ _null_ )
+insert ( 4375 utf8_to_iso8859_1 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ utf8_to_iso8859_1 '$libdir/utf8_and_iso8859_1' _null_ _null_ _null_ )
+insert ( 4376 johab_to_utf8 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ johab_to_utf8 '$libdir/utf8_and_johab' _null_ _null_ _null_ )
+insert ( 4377 utf8_to_johab 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ utf8_to_johab '$libdir/utf8_and_johab' _null_ _null_ _null_ )
+insert ( 4378 sjis_to_utf8 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ sjis_to_utf8 '$libdir/utf8_and_sjis' _null_ _null_ _null_ )
+insert ( 4379 utf8_to_sjis 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ utf8_to_sjis '$libdir/utf8_and_sjis' _null_ _null_ _null_ )
+insert ( 4380 uhc_to_utf8 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ uhc_to_utf8 '$libdir/utf8_and_uhc' _null_ _null_ _null_ )
+insert ( 4381 utf8_to_uhc 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ utf8_to_uhc '$libdir/utf8_and_uhc' _null_ _null_ _null_ )
+insert ( 4382 euc_jis_2004_to_utf8 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ euc_jis_2004_to_utf8 '$libdir/utf8_and_euc2004' _null_ _null_ _null_ )
+insert ( 4383 utf8_to_euc_jis_2004 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ utf8_to_euc_jis_2004 '$libdir/utf8_and_euc2004' _null_ _null_ _null_ )
+insert ( 4384 shift_jis_2004_to_utf8 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ shift_jis_2004_to_utf8 '$libdir/utf8_and_sjis2004' _null_ _null_ _null_ )
+insert ( 4385 utf8_to_shift_jis_2004 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ utf8_to_shift_jis_2004 '$libdir/utf8_and_sjis2004' _null_ _null_ _null_ )
+insert ( 4386 euc_jis_2004_to_shift_jis_2004 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ euc_jis_2004_to_shift_jis_2004 '$libdir/euc2004_sjis2004' _null_ _null_ _null_ )
+insert ( 4387 shift_jis_2004_to_euc_jis_2004 11 10 13 1 0 0 0 f f f t f i s 6 0 23 '23 23 2275 2281 23 16' _null_ _null_ _null_ _null_ _null_ shift_jis_2004_to_euc_jis_2004 '$libdir/euc2004_sjis2004' _null_ _null_ _null_ )
+insert ( 5040 matchingsel 11 10 12 1 0 0 0 f f f t f s s 4 0 701 '2281 26 2281 23' _null_ _null_ _null_ _null_ _null_ matchingsel _null_ _null_ _null_ _null_ )
+insert ( 5041 matchingjoinsel 11 10 12 1 0 0 0 f f f t f s s 5 0 701 '2281 26 2281 21 2281' _null_ _null_ _null_ _null_ _null_ matchingjoinsel _null_ _null_ _null_ _null_ )
+insert ( 6003 pg_replication_origin_create 11 10 12 1 0 0 0 f f f t f v u 1 0 26 25 _null_ _null_ _null_ _null_ _null_ pg_replication_origin_create _null_ _null_ _null_ _null_ )
+insert ( 6004 pg_replication_origin_drop 11 10 12 1 0 0 0 f f f t f v u 1 0 2278 25 _null_ _null_ _null_ _null_ _null_ pg_replication_origin_drop _null_ _null_ _null_ _null_ )
+insert ( 6005 pg_replication_origin_oid 11 10 12 1 0 0 0 f f f t f s s 1 0 26 25 _null_ _null_ _null_ _null_ _null_ pg_replication_origin_oid _null_ _null_ _null_ _null_ )
+insert ( 6006 pg_replication_origin_session_setup 11 10 12 1 0 0 0 f f f t f v u 1 0 2278 25 _null_ _null_ _null_ _null_ _null_ pg_replication_origin_session_setup _null_ _null_ _null_ _null_ )
+insert ( 6007 pg_replication_origin_session_reset 11 10 12 1 0 0 0 f f f t f v u 0 0 2278 '' _null_ _null_ _null_ _null_ _null_ pg_replication_origin_session_reset _null_ _null_ _null_ _null_ )
+insert ( 6008 pg_replication_origin_session_is_setup 11 10 12 1 0 0 0 f f f t f v r 0 0 16 '' _null_ _null_ _null_ _null_ _null_ pg_replication_origin_session_is_setup _null_ _null_ _null_ _null_ )
+insert ( 6009 pg_replication_origin_session_progress 11 10 12 1 0 0 0 f f f t f v u 1 0 3220 16 _null_ _null_ _null_ _null_ _null_ pg_replication_origin_session_progress _null_ _null_ _null_ _null_ )
+insert ( 6010 pg_replication_origin_xact_setup 11 10 12 1 0 0 0 f f f t f v r 2 0 2278 '3220 1184' _null_ _null_ _null_ _null_ _null_ pg_replication_origin_xact_setup _null_ _null_ _null_ _null_ )
+insert ( 6011 pg_replication_origin_xact_reset 11 10 12 1 0 0 0 f f f t f v r 0 0 2278 '' _null_ _null_ _null_ _null_ _null_ pg_replication_origin_xact_reset _null_ _null_ _null_ _null_ )
+insert ( 6012 pg_replication_origin_advance 11 10 12 1 0 0 0 f f f t f v u 2 0 2278 '25 3220' _null_ _null_ _null_ _null_ _null_ pg_replication_origin_advance _null_ _null_ _null_ _null_ )
+insert ( 6013 pg_replication_origin_progress 11 10 12 1 0 0 0 f f f t f v u 2 0 3220 '25 16' _null_ _null_ _null_ _null_ _null_ pg_replication_origin_progress _null_ _null_ _null_ _null_ )
+insert ( 6014 pg_show_replication_origin_status 11 10 12 1 100 0 0 f f f f t v r 0 0 2249 '' '{26,25,3220,3220}' '{o,o,o,o}' '{local_id, external_id, remote_lsn, local_lsn}' _null_ _null_ pg_show_replication_origin_status _null_ _null_ _null_ _null_ )
+insert ( 6119 pg_get_publication_tables 11 10 12 1 1000 25 0 f f f t t s s 1 0 2249 1009 '{1009,26,26,22,194}' '{v,o,o,o,o}' '{pubname,pubid,relid,attrs,qual}' _null_ _null_ pg_get_publication_tables _null_ _null_ _null_ _null_ )
+insert ( 6121 pg_relation_is_publishable 11 10 12 1 0 0 0 f f f t f s s 1 0 16 2205 _null_ _null_ _null_ _null_ _null_ pg_relation_is_publishable _null_ _null_ _null_ _null_ )
+insert ( 3298 row_security_active 11 10 12 1 0 0 0 f f f t f s s 1 0 16 26 _null_ _null_ _null_ _null_ _null_ row_security_active _null_ _null_ _null_ _null_ )
+insert ( 3299 row_security_active 11 10 12 1 0 0 0 f f f t f s s 1 0 16 25 _null_ _null_ _null_ _null_ _null_ row_security_active_name _null_ _null_ _null_ _null_ )
+insert ( 3400 pg_config 11 10 12 1 23 0 0 f f f t t s r 0 0 2249 '' '{25,25}' '{o,o}' '{name,setting}' _null_ _null_ pg_config _null_ _null_ _null_ _null_ )
+insert ( 3441 pg_control_system 11 10 12 1 0 0 0 f f f t f v s 0 0 2249 '' '{23,23,20,1184}' '{o,o,o,o}' '{pg_control_version,catalog_version_no,system_identifier,pg_control_last_modified}' _null_ _null_ pg_control_system _null_ _null_ _null_ _null_ )
+insert ( 3442 pg_control_checkpoint 11 10 12 1 0 0 0 f f f t f v s 0 0 2249 '' '{3220,3220,25,23,23,16,25,26,28,28,28,26,28,28,26,28,28,1184}' '{o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o}' '{checkpoint_lsn,redo_lsn,redo_wal_file,timeline_id,prev_timeline_id,full_page_writes,next_xid,next_oid,next_multixact_id,next_multi_offset,oldest_xid,oldest_xid_dbid,oldest_active_xid,oldest_multi_xid,oldest_multi_dbid,oldest_commit_ts_xid,newest_commit_ts_xid,checkpoint_time}' _null_ _null_ pg_control_checkpoint _null_ _null_ _null_ _null_ )
+insert ( 3443 pg_control_recovery 11 10 12 1 0 0 0 f f f t f v s 0 0 2249 '' '{3220,23,3220,3220,16}' '{o,o,o,o,o}' '{min_recovery_end_lsn,min_recovery_end_timeline,backup_start_lsn,backup_end_lsn,end_of_backup_record_required}' _null_ _null_ pg_control_recovery _null_ _null_ _null_ _null_ )
+insert ( 3444 pg_control_init 11 10 12 1 0 0 0 f f f t f v s 0 0 2249 '' '{23,23,23,23,23,23,23,23,23,16,23}' '{o,o,o,o,o,o,o,o,o,o,o}' '{max_data_alignment,database_block_size,blocks_per_segment,wal_block_size,bytes_per_wal_segment,max_identifier_length,max_index_columns,max_toast_chunk_size,large_object_chunk_size,float8_pass_by_value,data_page_checksum_version}' _null_ _null_ pg_control_init _null_ _null_ _null_ _null_ )
+insert ( 6179 array_subscript_handler 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ array_subscript_handler _null_ _null_ _null_ _null_ )
+insert ( 6180 raw_array_subscript_handler 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ raw_array_subscript_handler _null_ _null_ _null_ _null_ )
+insert ( 6098 jsonb_subscript_handler 11 10 12 1 0 0 0 f f f t f i s 1 0 2281 2281 _null_ _null_ _null_ _null_ _null_ jsonb_subscript_handler _null_ _null_ _null_ _null_ )
+insert ( 3445 pg_import_system_collations 11 10 12 100 0 0 0 f f f t f v u 1 0 23 4089 _null_ _null_ _null_ _null_ _null_ pg_import_system_collations _null_ _null_ _null_ _null_ )
+insert ( 3448 pg_collation_actual_version 11 10 12 100 0 0 0 f f f t f v s 1 0 25 26 _null_ _null_ _null_ _null_ _null_ pg_collation_actual_version _null_ _null_ _null_ _null_ )
+insert ( 6249 pg_database_collation_actual_version 11 10 12 100 0 0 0 f f f t f v s 1 0 25 26 _null_ _null_ _null_ _null_ _null_ pg_database_collation_actual_version _null_ _null_ _null_ _null_ )
+insert ( 3353 pg_ls_logdir 11 10 12 10 20 0 0 f f f t t v s 0 0 2249 '' '{25,20,1184}' '{o,o,o}' '{name,size,modification}' _null_ _null_ pg_ls_logdir _null_ _null_ _null_ _null_ )
+insert ( 3354 pg_ls_waldir 11 10 12 10 20 0 0 f f f t t v s 0 0 2249 '' '{25,20,1184}' '{o,o,o}' '{name,size,modification}' _null_ _null_ pg_ls_waldir _null_ _null_ _null_ _null_ )
+insert ( 5031 pg_ls_archive_statusdir 11 10 12 10 20 0 0 f f f t t v s 0 0 2249 '' '{25,20,1184}' '{o,o,o}' '{name,size,modification}' _null_ _null_ pg_ls_archive_statusdir _null_ _null_ _null_ _null_ )
+insert ( 5029 pg_ls_tmpdir 11 10 12 10 20 0 0 f f f t t v s 0 0 2249 '' '{25,20,1184}' '{o,o,o}' '{name,size,modification}' _null_ _null_ pg_ls_tmpdir_noargs _null_ _null_ _null_ _null_ )
+insert ( 5030 pg_ls_tmpdir 11 10 12 10 20 0 0 f f f t t v s 1 0 2249 26 '{26,25,20,1184}' '{i,o,o,o}' '{tablespace,name,size,modification}' _null_ _null_ pg_ls_tmpdir_1arg _null_ _null_ _null_ _null_ )
+insert ( 6270 pg_ls_logicalsnapdir 11 10 12 10 20 0 0 f f f t t v s 0 0 2249 '' '{25,20,1184}' '{o,o,o}' '{name,size,modification}' _null_ _null_ pg_ls_logicalsnapdir _null_ _null_ _null_ _null_ )
+insert ( 6271 pg_ls_logicalmapdir 11 10 12 10 20 0 0 f f f t t v s 0 0 2249 '' '{25,20,1184}' '{o,o,o}' '{name,size,modification}' _null_ _null_ pg_ls_logicalmapdir _null_ _null_ _null_ _null_ )
+insert ( 6272 pg_ls_replslotdir 11 10 12 10 20 0 0 f f f t t v s 1 0 2249 25 '{25,25,20,1184}' '{i,o,o,o}' '{slot_name,name,size,modification}' _null_ _null_ pg_ls_replslotdir _null_ _null_ _null_ _null_ )
+insert ( 5028 satisfies_hash_partition 11 10 12 1 0 2276 0 f f f f f i s 4 0 16 '26 23 23 2276' _null_ '{i,i,i,v}' _null_ _null_ _null_ satisfies_hash_partition _null_ _null_ _null_ _null_ )
+insert ( 3423 pg_partition_tree 11 10 12 1 1000 0 0 f f f t t v s 1 0 2249 2205 '{2205,2205,2205,16,23}' '{i,o,o,o,o}' '{rootrelid,relid,parentrelid,isleaf,level}' _null_ _null_ pg_partition_tree _null_ _null_ _null_ _null_ )
+insert ( 3425 pg_partition_ancestors 11 10 12 1 10 0 0 f f f t t v s 1 0 2205 2205 '{2205,2205}' '{i,o}' '{partitionid,relid}' _null_ _null_ pg_partition_ancestors _null_ _null_ _null_ _null_ )
+insert ( 3424 pg_partition_root 11 10 12 1 0 0 0 f f f t f i s 1 0 2205 2205 _null_ _null_ _null_ _null_ _null_ pg_partition_root _null_ _null_ _null_ _null_ )
+insert ( 4350 normalize 11 10 12 1 0 0 0 f f f t f i s 2 0 25 '25 25' _null_ _null_ _null_ _null_ _null_ unicode_normalize_func _null_ _null_ _null_ _null_ )
+insert ( 4351 is_normalized 11 10 12 1 0 0 0 f f f t f i s 2 0 16 '25 25' _null_ _null_ _null_ _null_ _null_ unicode_is_normalized _null_ _null_ _null_ _null_ )
+insert ( 6198 unistr 11 10 12 1 0 0 0 f f f t f i s 1 0 25 25 _null_ _null_ _null_ _null_ _null_ unistr _null_ _null_ _null_ _null_ )
+insert ( 4596 brin_bloom_summary_in 11 10 12 1 0 0 0 f f f t f i s 1 0 4600 2275 _null_ _null_ _null_ _null_ _null_ brin_bloom_summary_in _null_ _null_ _null_ _null_ )
+insert ( 4597 brin_bloom_summary_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 4600 _null_ _null_ _null_ _null_ _null_ brin_bloom_summary_out _null_ _null_ _null_ _null_ )
+insert ( 4598 brin_bloom_summary_recv 11 10 12 1 0 0 0 f f f t f s s 1 0 4600 2281 _null_ _null_ _null_ _null_ _null_ brin_bloom_summary_recv _null_ _null_ _null_ _null_ )
+insert ( 4599 brin_bloom_summary_send 11 10 12 1 0 0 0 f f f t f s s 1 0 17 4600 _null_ _null_ _null_ _null_ _null_ brin_bloom_summary_send _null_ _null_ _null_ _null_ )
+insert ( 4638 brin_minmax_multi_summary_in 11 10 12 1 0 0 0 f f f t f i s 1 0 4601 2275 _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_summary_in _null_ _null_ _null_ _null_ )
+insert ( 4639 brin_minmax_multi_summary_out 11 10 12 1 0 0 0 f f f t f i s 1 0 2275 4601 _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_summary_out _null_ _null_ _null_ _null_ )
+insert ( 4640 brin_minmax_multi_summary_recv 11 10 12 1 0 0 0 f f f t f s s 1 0 4601 2281 _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_summary_recv _null_ _null_ _null_ _null_ )
+insert ( 4641 brin_minmax_multi_summary_send 11 10 12 1 0 0 0 f f f t f s s 1 0 17 4601 _null_ _null_ _null_ _null_ _null_ brin_minmax_multi_summary_send _null_ _null_ _null_ _null_ )
+insert ( 6291 any_value 11 10 12 1 0 0 0 a f f f f i s 1 0 2283 2283 _null_ _null_ _null_ _null_ _null_ aggregate_dummy _null_ _null_ _null_ _null_ )
+insert ( 6292 any_value_transfn 11 10 12 1 0 0 0 f f f t f i s 2 0 2283 '2283 2283' _null_ _null_ _null_ _null_ _null_ any_value_transfn _null_ _null_ _null_ _null_ )
+close pg_proc
+create pg_type 1247 bootstrap rowtype_oid 71
+ (
+ oid = oid ,
+ typname = name ,
+ typnamespace = oid ,
+ typowner = oid ,
+ typlen = int2 ,
+ typbyval = bool ,
+ typtype = char ,
+ typcategory = char ,
+ typispreferred = bool ,
+ typisdefined = bool ,
+ typdelim = char ,
+ typrelid = oid ,
+ typsubscript = regproc ,
+ typelem = oid ,
+ typarray = oid ,
+ typinput = regproc ,
+ typoutput = regproc ,
+ typreceive = regproc ,
+ typsend = regproc ,
+ typmodin = regproc ,
+ typmodout = regproc ,
+ typanalyze = regproc ,
+ typalign = char ,
+ typstorage = char ,
+ typnotnull = bool ,
+ typbasetype = oid ,
+ typtypmod = int4 ,
+ typndims = int4 ,
+ typcollation = oid ,
+ typdefaultbin = pg_node_tree ,
+ typdefault = text ,
+ typacl = _aclitem
+ )
+insert ( 16 bool 11 10 1 t b B t t ',' 0 - 0 1000 1242 1243 2436 2437 - - - c p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 17 bytea 11 10 -1 f b U f t ',' 0 - 0 1001 1244 31 2412 2413 - - - i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 18 char 11 10 1 t b Z f t ',' 0 - 0 1002 1245 33 2434 2435 - - - c p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 19 name 11 10 NAMEDATALEN f b S f t ',' 0 6180 18 1003 34 35 2422 2423 - - - c p f 0 -1 0 950 _null_ _null_ _null_ )
+insert ( 20 int8 11 10 8 FLOAT8PASSBYVAL b N f t ',' 0 - 0 1016 460 461 2408 2409 - - - d p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 21 int2 11 10 2 t b N f t ',' 0 - 0 1005 38 39 2404 2405 - - - s p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 22 int2vector 11 10 -1 f b A f t ',' 0 6179 21 1006 40 41 2410 2411 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 23 int4 11 10 4 t b N f t ',' 0 - 0 1007 42 43 2406 2407 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 24 regproc 11 10 4 t b N f t ',' 0 - 0 1008 44 45 2444 2445 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 25 text 11 10 -1 f b S t t ',' 0 - 0 1009 46 47 2414 2415 - - - i x f 0 -1 0 100 _null_ _null_ _null_ )
+insert ( 26 oid 11 10 4 t b N t t ',' 0 - 0 1028 1798 1799 2418 2419 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 27 tid 11 10 6 f b U f t ',' 0 - 0 1010 48 49 2438 2439 - - - s p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 28 xid 11 10 4 t b U f t ',' 0 - 0 1011 50 51 2440 2441 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 29 cid 11 10 4 t b U f t ',' 0 - 0 1012 52 53 2442 2443 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 30 oidvector 11 10 -1 f b A f t ',' 0 6179 26 1013 54 55 2420 2421 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 71 pg_type 11 10 -1 f c C f t ',' 1247 - 0 210 2290 2291 2402 2403 - - - d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 75 pg_attribute 11 10 -1 f c C f t ',' 1249 - 0 270 2290 2291 2402 2403 - - - d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 81 pg_proc 11 10 -1 f c C f t ',' 1255 - 0 272 2290 2291 2402 2403 - - - d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 83 pg_class 11 10 -1 f c C f t ',' 1259 - 0 273 2290 2291 2402 2403 - - - d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 114 json 11 10 -1 f b U f t ',' 0 - 0 199 321 322 323 324 - - - i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 142 xml 11 10 -1 f b U f t ',' 0 - 0 143 2893 2894 2898 2899 - - - i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 194 pg_node_tree 11 10 -1 f b Z f t ',' 0 - 0 0 195 196 197 198 - - - i x f 0 -1 0 100 _null_ _null_ _null_ )
+insert ( 3361 pg_ndistinct 11 10 -1 f b Z f t ',' 0 - 0 0 3355 3356 3357 3358 - - - i x f 0 -1 0 100 _null_ _null_ _null_ )
+insert ( 3402 pg_dependencies 11 10 -1 f b Z f t ',' 0 - 0 0 3404 3405 3406 3407 - - - i x f 0 -1 0 100 _null_ _null_ _null_ )
+insert ( 5017 pg_mcv_list 11 10 -1 f b Z f t ',' 0 - 0 0 5018 5019 5020 5021 - - - i x f 0 -1 0 100 _null_ _null_ _null_ )
+insert ( 32 pg_ddl_command 11 10 SIZEOF_POINTER t p P f t ',' 0 - 0 0 86 87 88 90 - - - ALIGNOF_POINTER p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 5069 xid8 11 10 8 FLOAT8PASSBYVAL b U f t ',' 0 - 0 271 5070 5081 5082 5083 - - - d p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 600 point 11 10 16 f b G f t ',' 0 6180 701 1017 117 118 2428 2429 - - - d p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 601 lseg 11 10 32 f b G f t ',' 0 6180 600 1018 119 120 2480 2481 - - - d p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 602 path 11 10 -1 f b G f t ',' 0 - 0 1019 121 122 2482 2483 - - - d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 603 box 11 10 32 f b G f t ';' 0 6180 600 1020 123 124 2484 2485 - - - d p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 604 polygon 11 10 -1 f b G f t ',' 0 - 0 1027 347 348 2486 2487 - - - d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 628 line 11 10 24 f b G f t ',' 0 6180 701 629 1490 1491 2488 2489 - - - d p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 700 float4 11 10 4 t b N f t ',' 0 - 0 1021 200 201 2424 2425 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 701 float8 11 10 8 FLOAT8PASSBYVAL b N t t ',' 0 - 0 1022 214 215 2426 2427 - - - d p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 705 unknown 11 10 -2 f p X f t ',' 0 - 0 0 109 110 2416 2417 - - - c p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 718 circle 11 10 24 f b G f t ',' 0 - 0 719 1450 1451 2490 2491 - - - d p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 790 money 11 10 8 FLOAT8PASSBYVAL b N f t ',' 0 - 0 791 886 887 2492 2493 - - - d p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 829 macaddr 11 10 6 f b U f t ',' 0 - 0 1040 436 437 2494 2495 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 869 inet 11 10 -1 f b I t t ',' 0 - 0 1041 910 911 2496 2497 - - - i m f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 650 cidr 11 10 -1 f b I f t ',' 0 - 0 651 1267 1427 2498 2499 - - - i m f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 774 macaddr8 11 10 8 f b U f t ',' 0 - 0 775 4110 4111 3446 3447 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1033 aclitem 11 10 16 f b U f t ',' 0 - 0 1034 1031 1032 - - - - - d p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1042 bpchar 11 10 -1 f b S f t ',' 0 - 0 1014 1044 1045 2430 2431 2913 2914 - i x f 0 -1 0 100 _null_ _null_ _null_ )
+insert ( 1043 varchar 11 10 -1 f b S f t ',' 0 - 0 1015 1046 1047 2432 2433 2915 2916 - i x f 0 -1 0 100 _null_ _null_ _null_ )
+insert ( 1082 date 11 10 4 t b D f t ',' 0 - 0 1182 1084 1085 2468 2469 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1083 time 11 10 8 FLOAT8PASSBYVAL b D f t ',' 0 - 0 1183 1143 1144 2470 2471 2909 2910 - d p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1114 timestamp 11 10 8 FLOAT8PASSBYVAL b D f t ',' 0 - 0 1115 1312 1313 2474 2475 2905 2906 - d p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1184 timestamptz 11 10 8 FLOAT8PASSBYVAL b D t t ',' 0 - 0 1185 1150 1151 2476 2477 2907 2908 - d p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1186 interval 11 10 16 f b T t t ',' 0 - 0 1187 1160 1161 2478 2479 2903 2904 - d p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1266 timetz 11 10 12 f b D f t ',' 0 - 0 1270 1350 1351 2472 2473 2911 2912 - d p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1560 bit 11 10 -1 f b V f t ',' 0 - 0 1561 1564 1565 2456 2457 2919 2920 - i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1562 varbit 11 10 -1 f b V t t ',' 0 - 0 1563 1579 1580 2458 2459 2902 2921 - i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1700 numeric 11 10 -1 f b N f t ',' 0 - 0 1231 1701 1702 2460 2461 2917 2918 - i m f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1790 refcursor 11 10 -1 f b U f t ',' 0 - 0 2201 46 47 2414 2415 - - - i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2202 regprocedure 11 10 4 t b N f t ',' 0 - 0 2207 2212 2213 2446 2447 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2203 regoper 11 10 4 t b N f t ',' 0 - 0 2208 2214 2215 2448 2449 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2204 regoperator 11 10 4 t b N f t ',' 0 - 0 2209 2216 2217 2450 2451 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2205 regclass 11 10 4 t b N f t ',' 0 - 0 2210 2218 2219 2452 2453 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 4191 regcollation 11 10 4 t b N f t ',' 0 - 0 4192 4193 4194 4196 4197 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2206 regtype 11 10 4 t b N f t ',' 0 - 0 2211 2220 2221 2454 2455 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 4096 regrole 11 10 4 t b N f t ',' 0 - 0 4097 4098 4092 4094 4095 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 4089 regnamespace 11 10 4 t b N f t ',' 0 - 0 4090 4084 4085 4087 4088 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2950 uuid 11 10 16 f b U f t ',' 0 - 0 2951 2952 2953 2961 2962 - - - c p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3220 pg_lsn 11 10 8 FLOAT8PASSBYVAL b U f t ',' 0 - 0 3221 3229 3230 3238 3239 - - - d p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3614 tsvector 11 10 -1 f b U f t ',' 0 - 0 3643 3610 3611 3639 3638 - - 3688 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3642 gtsvector 11 10 -1 f b U f t ',' 0 - 0 3644 3646 3647 - - - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3615 tsquery 11 10 -1 f b U f t ',' 0 - 0 3645 3612 3613 3641 3640 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3734 regconfig 11 10 4 t b N f t ',' 0 - 0 3735 3736 3737 3738 3739 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3769 regdictionary 11 10 4 t b N f t ',' 0 - 0 3770 3771 3772 3773 3774 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3802 jsonb 11 10 -1 f b U f t ',' 0 6098 0 3807 3806 3804 3805 3803 - - - i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 4072 jsonpath 11 10 -1 f b U f t ',' 0 - 0 4073 4001 4003 4002 4004 - - - i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2970 txid_snapshot 11 10 -1 f b U f t ',' 0 - 0 2949 2939 2940 2941 2942 - - - d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 5038 pg_snapshot 11 10 -1 f b U f t ',' 0 - 0 5039 5055 5056 5057 5058 - - - d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3904 int4range 11 10 -1 f r R f t ',' 0 - 0 3905 3834 3835 3836 3837 - - 3916 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3906 numrange 11 10 -1 f r R f t ',' 0 - 0 3907 3834 3835 3836 3837 - - 3916 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3908 tsrange 11 10 -1 f r R f t ',' 0 - 0 3909 3834 3835 3836 3837 - - 3916 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3910 tstzrange 11 10 -1 f r R f t ',' 0 - 0 3911 3834 3835 3836 3837 - - 3916 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3912 daterange 11 10 -1 f r R f t ',' 0 - 0 3913 3834 3835 3836 3837 - - 3916 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3926 int8range 11 10 -1 f r R f t ',' 0 - 0 3927 3834 3835 3836 3837 - - 3916 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 4451 int4multirange 11 10 -1 f m R f t ',' 0 - 0 6150 4231 4232 4233 4234 - - 4242 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 4532 nummultirange 11 10 -1 f m R f t ',' 0 - 0 6151 4231 4232 4233 4234 - - 4242 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 4533 tsmultirange 11 10 -1 f m R f t ',' 0 - 0 6152 4231 4232 4233 4234 - - 4242 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 4534 tstzmultirange 11 10 -1 f m R f t ',' 0 - 0 6153 4231 4232 4233 4234 - - 4242 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 4535 datemultirange 11 10 -1 f m R f t ',' 0 - 0 6155 4231 4232 4233 4234 - - 4242 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 4536 int8multirange 11 10 -1 f m R f t ',' 0 - 0 6157 4231 4232 4233 4234 - - 4242 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2249 record 11 10 -1 f p P f t ',' 0 - 0 2287 2290 2291 2402 2403 - - - d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2287 _record 11 10 -1 f p P f t ',' 0 6179 2249 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2275 cstring 11 10 -2 f p P f t ',' 0 - 0 1263 2292 2293 2500 2501 - - - c p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2276 any 11 10 4 t p P f t ',' 0 - 0 0 2294 2295 - - - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2277 anyarray 11 10 -1 f p P f t ',' 0 - 0 0 2296 2297 2502 2503 - - - d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2278 void 11 10 4 t p P f t ',' 0 - 0 0 2298 2299 3120 3121 - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2279 trigger 11 10 4 t p P f t ',' 0 - 0 0 2300 2301 - - - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3838 event_trigger 11 10 4 t p P f t ',' 0 - 0 0 3594 3595 - - - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2280 language_handler 11 10 4 t p P f t ',' 0 - 0 0 2302 2303 - - - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2281 internal 11 10 SIZEOF_POINTER t p P f t ',' 0 - 0 0 2304 2305 - - - - - ALIGNOF_POINTER p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2283 anyelement 11 10 4 t p P f t ',' 0 - 0 0 2312 2313 - - - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2776 anynonarray 11 10 4 t p P f t ',' 0 - 0 0 2777 2778 - - - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3500 anyenum 11 10 4 t p P f t ',' 0 - 0 0 3504 3505 - - - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3115 fdw_handler 11 10 4 t p P f t ',' 0 - 0 0 3116 3117 - - - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 325 index_am_handler 11 10 4 t p P f t ',' 0 - 0 0 326 327 - - - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3310 tsm_handler 11 10 4 t p P f t ',' 0 - 0 0 3311 3312 - - - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 269 table_am_handler 11 10 4 t p P f t ',' 0 - 0 0 267 268 - - - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3831 anyrange 11 10 -1 f p P f t ',' 0 - 0 0 3832 3833 - - - - - d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 5077 anycompatible 11 10 4 t p P f t ',' 0 - 0 0 5086 5087 - - - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 5078 anycompatiblearray 11 10 -1 f p P f t ',' 0 - 0 0 5088 5089 5090 5091 - - - d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 5079 anycompatiblenonarray 11 10 4 t p P f t ',' 0 - 0 0 5092 5093 - - - - - i p f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 5080 anycompatiblerange 11 10 -1 f p P f t ',' 0 - 0 0 5094 5095 - - - - - d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 4537 anymultirange 11 10 -1 f p P f t ',' 0 - 0 0 4229 4230 - - - - - d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 4538 anycompatiblemultirange 11 10 -1 f p P f t ',' 0 - 0 0 4226 4227 - - - - - d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 4600 pg_brin_bloom_summary 11 10 -1 f b Z f t ',' 0 - 0 0 4596 4597 4598 4599 - - - i x f 0 -1 0 100 _null_ _null_ _null_ )
+insert ( 4601 pg_brin_minmax_multi_summary 11 10 -1 f b Z f t ',' 0 - 0 0 4638 4639 4640 4641 - - - i x f 0 -1 0 100 _null_ _null_ _null_ )
+insert ( 1000 _bool 11 10 -1 f b A f t ',' 0 6179 16 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1001 _bytea 11 10 -1 f b A f t ',' 0 6179 17 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1002 _char 11 10 -1 f b A f t ',' 0 6179 18 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1003 _name 11 10 -1 f b A f t ',' 0 6179 19 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 950 _null_ _null_ _null_ )
+insert ( 1016 _int8 11 10 -1 f b A f t ',' 0 6179 20 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1005 _int2 11 10 -1 f b A f t ',' 0 6179 21 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1006 _int2vector 11 10 -1 f b A f t ',' 0 6179 22 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1007 _int4 11 10 -1 f b A f t ',' 0 6179 23 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1008 _regproc 11 10 -1 f b A f t ',' 0 6179 24 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1009 _text 11 10 -1 f b A f t ',' 0 6179 25 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 100 _null_ _null_ _null_ )
+insert ( 1028 _oid 11 10 -1 f b A f t ',' 0 6179 26 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1010 _tid 11 10 -1 f b A f t ',' 0 6179 27 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1011 _xid 11 10 -1 f b A f t ',' 0 6179 28 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1012 _cid 11 10 -1 f b A f t ',' 0 6179 29 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1013 _oidvector 11 10 -1 f b A f t ',' 0 6179 30 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 210 _pg_type 11 10 -1 f b A f t ',' 0 6179 71 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 270 _pg_attribute 11 10 -1 f b A f t ',' 0 6179 75 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 272 _pg_proc 11 10 -1 f b A f t ',' 0 6179 81 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 273 _pg_class 11 10 -1 f b A f t ',' 0 6179 83 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 199 _json 11 10 -1 f b A f t ',' 0 6179 114 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 143 _xml 11 10 -1 f b A f t ',' 0 6179 142 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 271 _xid8 11 10 -1 f b A f t ',' 0 6179 5069 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1017 _point 11 10 -1 f b A f t ',' 0 6179 600 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1018 _lseg 11 10 -1 f b A f t ',' 0 6179 601 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1019 _path 11 10 -1 f b A f t ',' 0 6179 602 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1020 _box 11 10 -1 f b A f t ';' 0 6179 603 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1027 _polygon 11 10 -1 f b A f t ',' 0 6179 604 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 629 _line 11 10 -1 f b A f t ',' 0 6179 628 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1021 _float4 11 10 -1 f b A f t ',' 0 6179 700 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1022 _float8 11 10 -1 f b A f t ',' 0 6179 701 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 719 _circle 11 10 -1 f b A f t ',' 0 6179 718 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 791 _money 11 10 -1 f b A f t ',' 0 6179 790 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1040 _macaddr 11 10 -1 f b A f t ',' 0 6179 829 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1041 _inet 11 10 -1 f b A f t ',' 0 6179 869 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 651 _cidr 11 10 -1 f b A f t ',' 0 6179 650 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 775 _macaddr8 11 10 -1 f b A f t ',' 0 6179 774 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1034 _aclitem 11 10 -1 f b A f t ',' 0 6179 1033 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1014 _bpchar 11 10 -1 f b A f t ',' 0 6179 1042 0 750 751 2400 2401 2913 2914 3816 i x f 0 -1 0 100 _null_ _null_ _null_ )
+insert ( 1015 _varchar 11 10 -1 f b A f t ',' 0 6179 1043 0 750 751 2400 2401 2915 2916 3816 i x f 0 -1 0 100 _null_ _null_ _null_ )
+insert ( 1182 _date 11 10 -1 f b A f t ',' 0 6179 1082 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1183 _time 11 10 -1 f b A f t ',' 0 6179 1083 0 750 751 2400 2401 2909 2910 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1115 _timestamp 11 10 -1 f b A f t ',' 0 6179 1114 0 750 751 2400 2401 2905 2906 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1185 _timestamptz 11 10 -1 f b A f t ',' 0 6179 1184 0 750 751 2400 2401 2907 2908 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1187 _interval 11 10 -1 f b A f t ',' 0 6179 1186 0 750 751 2400 2401 2903 2904 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1270 _timetz 11 10 -1 f b A f t ',' 0 6179 1266 0 750 751 2400 2401 2911 2912 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1561 _bit 11 10 -1 f b A f t ',' 0 6179 1560 0 750 751 2400 2401 2919 2920 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1563 _varbit 11 10 -1 f b A f t ',' 0 6179 1562 0 750 751 2400 2401 2902 2921 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1231 _numeric 11 10 -1 f b A f t ',' 0 6179 1700 0 750 751 2400 2401 2917 2918 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2201 _refcursor 11 10 -1 f b A f t ',' 0 6179 1790 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2207 _regprocedure 11 10 -1 f b A f t ',' 0 6179 2202 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2208 _regoper 11 10 -1 f b A f t ',' 0 6179 2203 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2209 _regoperator 11 10 -1 f b A f t ',' 0 6179 2204 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2210 _regclass 11 10 -1 f b A f t ',' 0 6179 2205 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 4192 _regcollation 11 10 -1 f b A f t ',' 0 6179 4191 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2211 _regtype 11 10 -1 f b A f t ',' 0 6179 2206 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 4097 _regrole 11 10 -1 f b A f t ',' 0 6179 4096 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 4090 _regnamespace 11 10 -1 f b A f t ',' 0 6179 4089 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2951 _uuid 11 10 -1 f b A f t ',' 0 6179 2950 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3221 _pg_lsn 11 10 -1 f b A f t ',' 0 6179 3220 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3643 _tsvector 11 10 -1 f b A f t ',' 0 6179 3614 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3644 _gtsvector 11 10 -1 f b A f t ',' 0 6179 3642 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3645 _tsquery 11 10 -1 f b A f t ',' 0 6179 3615 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3735 _regconfig 11 10 -1 f b A f t ',' 0 6179 3734 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3770 _regdictionary 11 10 -1 f b A f t ',' 0 6179 3769 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3807 _jsonb 11 10 -1 f b A f t ',' 0 6179 3802 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 4073 _jsonpath 11 10 -1 f b A f t ',' 0 6179 4072 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 2949 _txid_snapshot 11 10 -1 f b A f t ',' 0 6179 2970 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 5039 _pg_snapshot 11 10 -1 f b A f t ',' 0 6179 5038 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3905 _int4range 11 10 -1 f b A f t ',' 0 6179 3904 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3907 _numrange 11 10 -1 f b A f t ',' 0 6179 3906 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3909 _tsrange 11 10 -1 f b A f t ',' 0 6179 3908 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3911 _tstzrange 11 10 -1 f b A f t ',' 0 6179 3910 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3913 _daterange 11 10 -1 f b A f t ',' 0 6179 3912 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 3927 _int8range 11 10 -1 f b A f t ',' 0 6179 3926 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 6150 _int4multirange 11 10 -1 f b A f t ',' 0 6179 4451 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 6151 _nummultirange 11 10 -1 f b A f t ',' 0 6179 4532 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 6152 _tsmultirange 11 10 -1 f b A f t ',' 0 6179 4533 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 6153 _tstzmultirange 11 10 -1 f b A f t ',' 0 6179 4534 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 6155 _datemultirange 11 10 -1 f b A f t ',' 0 6179 4535 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 6157 _int8multirange 11 10 -1 f b A f t ',' 0 6179 4536 0 750 751 2400 2401 - - 3816 d x f 0 -1 0 0 _null_ _null_ _null_ )
+insert ( 1263 _cstring 11 10 -1 f b A f t ',' 0 6179 2275 0 750 751 2400 2401 - - 3816 i x f 0 -1 0 0 _null_ _null_ _null_ )
+close pg_type
+create pg_attribute 1249 bootstrap rowtype_oid 75
+ (
+ attrelid = oid ,
+ attname = name ,
+ atttypid = oid ,
+ attlen = int2 ,
+ attnum = int2 ,
+ attcacheoff = int4 ,
+ atttypmod = int4 ,
+ attndims = int2 ,
+ attbyval = bool ,
+ attalign = char ,
+ attstorage = char ,
+ attcompression = char ,
+ attnotnull = bool ,
+ atthasdef = bool ,
+ atthasmissing = bool ,
+ attidentity = char ,
+ attgenerated = char ,
+ attisdropped = bool ,
+ attislocal = bool ,
+ attinhcount = int2 ,
+ attstattarget = int2 ,
+ attcollation = oid ,
+ attacl = _aclitem ,
+ attoptions = _text ,
+ attfdwoptions = _text ,
+ attmissingval = anyarray
+ )
+insert ( 1255 oid 26 4 1 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 proname 19 NAMEDATALEN 2 -1 -1 0 f c p '' t f f '' '' f t 0 -1 950 _null_ _null_ _null_ _null_ )
+insert ( 1255 pronamespace 26 4 3 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 proowner 26 4 4 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 prolang 26 4 5 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 procost 700 4 6 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 prorows 700 4 7 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 provariadic 26 4 8 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 prosupport 24 4 9 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 prokind 18 1 10 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 prosecdef 16 1 11 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 proleakproof 16 1 12 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 proisstrict 16 1 13 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 proretset 16 1 14 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 provolatile 18 1 15 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 proparallel 18 1 16 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 pronargs 21 2 17 -1 -1 0 t s p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 pronargdefaults 21 2 18 -1 -1 0 t s p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 prorettype 26 4 19 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 proargtypes 30 -1 20 -1 -1 1 f i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 proallargtypes 1028 -1 21 -1 -1 1 f i x '' f f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 proargmodes 1002 -1 22 -1 -1 1 f i x '' f f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 proargnames 1009 -1 23 -1 -1 1 f i x '' f f f '' '' f t 0 -1 950 _null_ _null_ _null_ _null_ )
+insert ( 1255 proargdefaults 194 -1 24 -1 -1 0 f i x '' f f f '' '' f t 0 -1 950 _null_ _null_ _null_ _null_ )
+insert ( 1255 protrftypes 1028 -1 25 -1 -1 1 f i x '' f f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 prosrc 25 -1 26 -1 -1 0 f i x '' t f f '' '' f t 0 -1 950 _null_ _null_ _null_ _null_ )
+insert ( 1255 probin 25 -1 27 -1 -1 0 f i x '' f f f '' '' f t 0 -1 950 _null_ _null_ _null_ _null_ )
+insert ( 1255 prosqlbody 194 -1 28 -1 -1 0 f i x '' f f f '' '' f t 0 -1 950 _null_ _null_ _null_ _null_ )
+insert ( 1255 proconfig 1009 -1 29 -1 -1 1 f i x '' f f f '' '' f t 0 -1 950 _null_ _null_ _null_ _null_ )
+insert ( 1255 proacl 1034 -1 30 -1 -1 1 f d x '' f f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 ctid 27 6 -1 -1 -1 0 f s p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 xmin 28 4 -2 -1 -1 0 t i p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 cmin 29 4 -3 -1 -1 0 t i p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 xmax 28 4 -4 -1 -1 0 t i p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 cmax 29 4 -5 -1 -1 0 t i p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1255 tableoid 26 4 -6 -1 -1 0 t i p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 oid 26 4 1 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typname 19 NAMEDATALEN 2 -1 -1 0 f c p '' t f f '' '' f t 0 -1 950 _null_ _null_ _null_ _null_ )
+insert ( 1247 typnamespace 26 4 3 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typowner 26 4 4 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typlen 21 2 5 -1 -1 0 t s p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typbyval 16 1 6 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typtype 18 1 7 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typcategory 18 1 8 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typispreferred 16 1 9 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typisdefined 16 1 10 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typdelim 18 1 11 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typrelid 26 4 12 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typsubscript 24 4 13 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typelem 26 4 14 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typarray 26 4 15 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typinput 24 4 16 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typoutput 24 4 17 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typreceive 24 4 18 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typsend 24 4 19 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typmodin 24 4 20 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typmodout 24 4 21 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typanalyze 24 4 22 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typalign 18 1 23 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typstorage 18 1 24 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typnotnull 16 1 25 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typbasetype 26 4 26 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typtypmod 23 4 27 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typndims 23 4 28 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typcollation 26 4 29 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 typdefaultbin 194 -1 30 -1 -1 0 f i x '' f f f '' '' f t 0 -1 950 _null_ _null_ _null_ _null_ )
+insert ( 1247 typdefault 25 -1 31 -1 -1 0 f i x '' f f f '' '' f t 0 -1 950 _null_ _null_ _null_ _null_ )
+insert ( 1247 typacl 1034 -1 32 -1 -1 1 f d x '' f f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 ctid 27 6 -1 -1 -1 0 f s p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 xmin 28 4 -2 -1 -1 0 t i p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 cmin 29 4 -3 -1 -1 0 t i p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 xmax 28 4 -4 -1 -1 0 t i p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 cmax 29 4 -5 -1 -1 0 t i p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1247 tableoid 26 4 -6 -1 -1 0 t i p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 attrelid 26 4 1 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 attname 19 NAMEDATALEN 2 -1 -1 0 f c p '' t f f '' '' f t 0 -1 950 _null_ _null_ _null_ _null_ )
+insert ( 1249 atttypid 26 4 3 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 attlen 21 2 4 -1 -1 0 t s p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 attnum 21 2 5 -1 -1 0 t s p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 attcacheoff 23 4 6 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 atttypmod 23 4 7 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 attndims 21 2 8 -1 -1 0 t s p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 attbyval 16 1 9 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 attalign 18 1 10 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 attstorage 18 1 11 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 attcompression 18 1 12 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 attnotnull 16 1 13 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 atthasdef 16 1 14 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 atthasmissing 16 1 15 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 attidentity 18 1 16 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 attgenerated 18 1 17 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 attisdropped 16 1 18 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 attislocal 16 1 19 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 attinhcount 21 2 20 -1 -1 0 t s p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 attstattarget 21 2 21 -1 -1 0 t s p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 attcollation 26 4 22 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 attacl 1034 -1 23 -1 -1 1 f d x '' f f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 attoptions 1009 -1 24 -1 -1 1 f i x '' f f f '' '' f t 0 -1 950 _null_ _null_ _null_ _null_ )
+insert ( 1249 attfdwoptions 1009 -1 25 -1 -1 1 f i x '' f f f '' '' f t 0 -1 950 _null_ _null_ _null_ _null_ )
+insert ( 1249 attmissingval 2277 -1 26 -1 -1 0 f d x '' f f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 ctid 27 6 -1 -1 -1 0 f s p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 xmin 28 4 -2 -1 -1 0 t i p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 cmin 29 4 -3 -1 -1 0 t i p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 xmax 28 4 -4 -1 -1 0 t i p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 cmax 29 4 -5 -1 -1 0 t i p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1249 tableoid 26 4 -6 -1 -1 0 t i p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 oid 26 4 1 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relname 19 NAMEDATALEN 2 -1 -1 0 f c p '' t f f '' '' f t 0 -1 950 _null_ _null_ _null_ _null_ )
+insert ( 1259 relnamespace 26 4 3 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 reltype 26 4 4 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 reloftype 26 4 5 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relowner 26 4 6 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relam 26 4 7 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relfilenode 26 4 8 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 reltablespace 26 4 9 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relpages 23 4 10 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 reltuples 700 4 11 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relallvisible 23 4 12 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 reltoastrelid 26 4 13 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relhasindex 16 1 14 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relisshared 16 1 15 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relpersistence 18 1 16 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relkind 18 1 17 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relnatts 21 2 18 -1 -1 0 t s p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relchecks 21 2 19 -1 -1 0 t s p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relhasrules 16 1 20 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relhastriggers 16 1 21 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relhassubclass 16 1 22 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relrowsecurity 16 1 23 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relforcerowsecurity 16 1 24 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relispopulated 16 1 25 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relreplident 18 1 26 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relispartition 16 1 27 -1 -1 0 t c p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relrewrite 26 4 28 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relfrozenxid 28 4 29 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relminmxid 28 4 30 -1 -1 0 t i p '' t f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 relacl 1034 -1 31 -1 -1 1 f d x '' f f f '' '' f t 0 -1 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 reloptions 1009 -1 32 -1 -1 1 f i x '' f f f '' '' f t 0 -1 950 _null_ _null_ _null_ _null_ )
+insert ( 1259 relpartbound 194 -1 33 -1 -1 0 f i x '' f f f '' '' f t 0 -1 950 _null_ _null_ _null_ _null_ )
+insert ( 1259 ctid 27 6 -1 -1 -1 0 f s p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 xmin 28 4 -2 -1 -1 0 t i p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 cmin 29 4 -3 -1 -1 0 t i p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 xmax 28 4 -4 -1 -1 0 t i p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 cmax 29 4 -5 -1 -1 0 t i p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+insert ( 1259 tableoid 26 4 -6 -1 -1 0 t i p '' t f f '' '' f t 0 0 0 _null_ _null_ _null_ _null_ )
+close pg_attribute
+create pg_class 1259 bootstrap rowtype_oid 83
+ (
+ oid = oid ,
+ relname = name ,
+ relnamespace = oid ,
+ reltype = oid ,
+ reloftype = oid ,
+ relowner = oid ,
+ relam = oid ,
+ relfilenode = oid ,
+ reltablespace = oid ,
+ relpages = int4 ,
+ reltuples = float4 ,
+ relallvisible = int4 ,
+ reltoastrelid = oid ,
+ relhasindex = bool ,
+ relisshared = bool ,
+ relpersistence = char ,
+ relkind = char ,
+ relnatts = int2 ,
+ relchecks = int2 ,
+ relhasrules = bool ,
+ relhastriggers = bool ,
+ relhassubclass = bool ,
+ relrowsecurity = bool ,
+ relforcerowsecurity = bool ,
+ relispopulated = bool ,
+ relreplident = char ,
+ relispartition = bool ,
+ relrewrite = oid ,
+ relfrozenxid = xid ,
+ relminmxid = xid ,
+ relacl = _aclitem ,
+ reloptions = _text ,
+ relpartbound = pg_node_tree
+ )
+insert ( 1247 pg_type 11 71 0 10 2 0 0 0 -1 0 0 f f p r 32 0 f f f f f t n f 0 3 1 _null_ _null_ _null_ )
+insert ( 1249 pg_attribute 11 75 0 10 2 0 0 0 -1 0 0 f f p r 26 0 f f f f f t n f 0 3 1 _null_ _null_ _null_ )
+insert ( 1255 pg_proc 11 81 0 10 2 0 0 0 -1 0 0 f f p r 30 0 f f f f f t n f 0 3 1 _null_ _null_ _null_ )
+insert ( 1259 pg_class 11 83 0 10 2 0 0 0 -1 0 0 f f p r 33 0 f f f f f t n f 0 3 1 _null_ _null_ _null_ )
+close pg_class
+create pg_attrdef 2604
+ (
+ oid = oid ,
+ adrelid = oid ,
+ adnum = int2 ,
+ adbin = pg_node_tree FORCE NOT NULL
+ )
+open pg_attrdef
+close pg_attrdef
+create pg_constraint 2606
+ (
+ oid = oid ,
+ conname = name ,
+ connamespace = oid ,
+ contype = char ,
+ condeferrable = bool ,
+ condeferred = bool ,
+ convalidated = bool ,
+ conrelid = oid ,
+ contypid = oid ,
+ conindid = oid ,
+ conparentid = oid ,
+ confrelid = oid ,
+ confupdtype = char ,
+ confdeltype = char ,
+ confmatchtype = char ,
+ conislocal = bool ,
+ coninhcount = int2 ,
+ connoinherit = bool ,
+ conkey = _int2 ,
+ confkey = _int2 ,
+ conpfeqop = _oid ,
+ conppeqop = _oid ,
+ conffeqop = _oid ,
+ confdelsetcols = _int2 ,
+ conexclop = _oid ,
+ conbin = pg_node_tree
+ )
+open pg_constraint
+close pg_constraint
+create pg_inherits 2611
+ (
+ inhrelid = oid ,
+ inhparent = oid ,
+ inhseqno = int4 ,
+ inhdetachpending = bool
+ )
+open pg_inherits
+close pg_inherits
+create pg_index 2610
+ (
+ indexrelid = oid ,
+ indrelid = oid ,
+ indnatts = int2 ,
+ indnkeyatts = int2 ,
+ indisunique = bool ,
+ indnullsnotdistinct = bool ,
+ indisprimary = bool ,
+ indisexclusion = bool ,
+ indimmediate = bool ,
+ indisclustered = bool ,
+ indisvalid = bool ,
+ indcheckxmin = bool ,
+ indisready = bool ,
+ indislive = bool ,
+ indisreplident = bool ,
+ indkey = int2vector FORCE NOT NULL ,
+ indcollation = oidvector FORCE NOT NULL ,
+ indclass = oidvector FORCE NOT NULL ,
+ indoption = int2vector FORCE NOT NULL ,
+ indexprs = pg_node_tree ,
+ indpred = pg_node_tree
+ )
+open pg_index
+close pg_index
+create pg_operator 2617
+ (
+ oid = oid ,
+ oprname = name ,
+ oprnamespace = oid ,
+ oprowner = oid ,
+ oprkind = char ,
+ oprcanmerge = bool ,
+ oprcanhash = bool ,
+ oprleft = oid ,
+ oprright = oid ,
+ oprresult = oid ,
+ oprcom = oid ,
+ oprnegate = oid ,
+ oprcode = regproc ,
+ oprrest = regproc ,
+ oprjoin = regproc
+ )
+open pg_operator
+insert ( 15 '=' 11 10 b t t 23 20 16 416 36 852 101 105 )
+insert ( 36 '<>' 11 10 b f f 23 20 16 417 15 853 102 106 )
+insert ( 37 '<' 11 10 b f f 23 20 16 419 82 854 103 107 )
+insert ( 76 '>' 11 10 b f f 23 20 16 418 80 855 104 108 )
+insert ( 80 '<=' 11 10 b f f 23 20 16 430 76 856 336 386 )
+insert ( 82 '>=' 11 10 b f f 23 20 16 420 37 857 337 398 )
+insert ( 58 '<' 11 10 b f f 16 16 16 59 1695 56 103 107 )
+insert ( 59 '>' 11 10 b f f 16 16 16 58 1694 57 104 108 )
+insert ( 85 '<>' 11 10 b f f 16 16 16 85 91 84 102 106 )
+insert ( 91 '=' 11 10 b t t 16 16 16 91 85 60 101 105 )
+insert ( 1694 '<=' 11 10 b f f 16 16 16 1695 59 1691 336 386 )
+insert ( 1695 '>=' 11 10 b f f 16 16 16 1694 58 1692 337 398 )
+insert ( 92 '=' 11 10 b t t 18 18 16 92 630 61 101 105 )
+insert ( 93 '=' 11 10 b t t 19 19 16 93 643 62 101 105 )
+insert ( 94 '=' 11 10 b t t 21 21 16 94 519 63 101 105 )
+insert ( 95 '<' 11 10 b f f 21 21 16 520 524 64 103 107 )
+insert ( 96 '=' 11 10 b t t 23 23 16 96 518 65 101 105 )
+insert ( 97 '<' 11 10 b f f 23 23 16 521 525 66 103 107 )
+insert ( 98 '=' 11 10 b t t 25 25 16 98 531 67 101 105 )
+insert ( 3877 '^@' 11 10 b f f 25 25 16 0 0 3696 3437 3438 )
+insert ( 254 '=' 11 10 b t t 19 25 16 260 259 240 101 105 )
+insert ( 255 '<' 11 10 b f f 19 25 16 264 257 241 103 107 )
+insert ( 256 '<=' 11 10 b f f 19 25 16 263 258 242 336 386 )
+insert ( 257 '>=' 11 10 b f f 19 25 16 262 255 243 337 398 )
+insert ( 258 '>' 11 10 b f f 19 25 16 261 256 244 104 108 )
+insert ( 259 '<>' 11 10 b f f 19 25 16 265 254 245 102 106 )
+insert ( 260 '=' 11 10 b t t 25 19 16 254 265 247 101 105 )
+insert ( 261 '<' 11 10 b f f 25 19 16 258 263 248 103 107 )
+insert ( 262 '<=' 11 10 b f f 25 19 16 257 264 249 336 386 )
+insert ( 263 '>=' 11 10 b f f 25 19 16 256 261 250 337 398 )
+insert ( 264 '>' 11 10 b f f 25 19 16 255 262 251 104 108 )
+insert ( 265 '<>' 11 10 b f f 25 19 16 259 260 252 102 106 )
+insert ( 349 '||' 11 10 b f f 5078 5077 5078 0 0 378 - - )
+insert ( 374 '||' 11 10 b f f 5077 5078 5078 0 0 379 - - )
+insert ( 375 '||' 11 10 b f f 5078 5078 5078 0 0 383 - - )
+insert ( 352 '=' 11 10 b f t 28 28 16 352 3315 68 101 105 )
+insert ( 353 '=' 11 10 b f f 28 23 16 0 3316 1319 101 105 )
+insert ( 3315 '<>' 11 10 b f f 28 28 16 3315 352 3308 102 106 )
+insert ( 3316 '<>' 11 10 b f f 28 23 16 0 353 3309 102 106 )
+insert ( 5068 '=' 11 10 b t t 5069 5069 16 5068 5072 5084 101 105 )
+insert ( 5072 '<>' 11 10 b f f 5069 5069 16 5072 5068 5085 102 106 )
+insert ( 5073 '<' 11 10 b f f 5069 5069 16 5074 5076 5034 103 107 )
+insert ( 5074 '>' 11 10 b f f 5069 5069 16 5073 5075 5035 104 108 )
+insert ( 5075 '<=' 11 10 b f f 5069 5069 16 5076 5074 5036 336 386 )
+insert ( 5076 '>=' 11 10 b f f 5069 5069 16 5075 5073 5037 337 398 )
+insert ( 385 '=' 11 10 b f t 29 29 16 385 0 69 101 105 )
+insert ( 387 '=' 11 10 b t t 27 27 16 387 402 1292 101 105 )
+insert ( 402 '<>' 11 10 b f f 27 27 16 402 387 1265 102 106 )
+insert ( 2799 '<' 11 10 b f f 27 27 16 2800 2802 2791 103 107 )
+insert ( 2800 '>' 11 10 b f f 27 27 16 2799 2801 2790 104 108 )
+insert ( 2801 '<=' 11 10 b f f 27 27 16 2802 2800 2793 336 386 )
+insert ( 2802 '>=' 11 10 b f f 27 27 16 2801 2799 2792 337 398 )
+insert ( 410 '=' 11 10 b t t 20 20 16 410 411 467 101 105 )
+insert ( 411 '<>' 11 10 b f f 20 20 16 411 410 468 102 106 )
+insert ( 412 '<' 11 10 b f f 20 20 16 413 415 469 103 107 )
+insert ( 413 '>' 11 10 b f f 20 20 16 412 414 470 104 108 )
+insert ( 414 '<=' 11 10 b f f 20 20 16 415 413 471 336 386 )
+insert ( 415 '>=' 11 10 b f f 20 20 16 414 412 472 337 398 )
+insert ( 416 '=' 11 10 b t t 20 23 16 15 417 474 101 105 )
+insert ( 417 '<>' 11 10 b f f 20 23 16 36 416 475 102 106 )
+insert ( 418 '<' 11 10 b f f 20 23 16 76 430 476 103 107 )
+insert ( 419 '>' 11 10 b f f 20 23 16 37 420 477 104 108 )
+insert ( 420 '<=' 11 10 b f f 20 23 16 82 419 478 336 386 )
+insert ( 430 '>=' 11 10 b f f 20 23 16 80 418 479 337 398 )
+insert ( 439 '%' 11 10 b f f 20 20 20 0 0 945 - - )
+insert ( 473 '@' 11 10 l f f 0 20 20 0 0 1230 - - )
+insert ( 484 - 11 10 l f f 0 20 20 0 0 462 - - )
+insert ( 485 '<<' 11 10 b f f 604 604 16 0 0 341 1300 1301 )
+insert ( 486 '&<' 11 10 b f f 604 604 16 0 0 342 1300 1301 )
+insert ( 487 '&>' 11 10 b f f 604 604 16 0 0 343 1300 1301 )
+insert ( 488 '>>' 11 10 b f f 604 604 16 0 0 344 1300 1301 )
+insert ( 489 '<@' 11 10 b f f 604 604 16 490 0 345 1302 1303 )
+insert ( 490 '@>' 11 10 b f f 604 604 16 489 0 340 1302 1303 )
+insert ( 491 '~=' 11 10 b f f 604 604 16 491 0 339 101 105 )
+insert ( 492 '&&' 11 10 b f f 604 604 16 492 0 346 139 140 )
+insert ( 493 '<<' 11 10 b f f 603 603 16 0 0 188 1300 1301 )
+insert ( 494 '&<' 11 10 b f f 603 603 16 0 0 189 1300 1301 )
+insert ( 495 '&>' 11 10 b f f 603 603 16 0 0 190 1300 1301 )
+insert ( 496 '>>' 11 10 b f f 603 603 16 0 0 191 1300 1301 )
+insert ( 497 '<@' 11 10 b f f 603 603 16 498 0 192 1302 1303 )
+insert ( 498 '@>' 11 10 b f f 603 603 16 497 0 187 1302 1303 )
+insert ( 499 '~=' 11 10 b f f 603 603 16 499 0 186 101 105 )
+insert ( 500 '&&' 11 10 b f f 603 603 16 500 0 125 139 140 )
+insert ( 501 '>=' 11 10 b f f 603 603 16 505 504 126 139 140 )
+insert ( 502 '>' 11 10 b f f 603 603 16 504 505 127 139 140 )
+insert ( 503 '=' 11 10 b f f 603 603 16 503 0 128 101 105 )
+insert ( 504 '<' 11 10 b f f 603 603 16 502 501 129 139 140 )
+insert ( 505 '<=' 11 10 b f f 603 603 16 501 502 130 139 140 )
+insert ( 506 '>^' 11 10 b f f 600 600 16 0 0 131 1300 1301 )
+insert ( 507 '<<' 11 10 b f f 600 600 16 0 0 132 1300 1301 )
+insert ( 508 '>>' 11 10 b f f 600 600 16 0 0 133 1300 1301 )
+insert ( 509 '<^' 11 10 b f f 600 600 16 0 0 134 1300 1301 )
+insert ( 510 '~=' 11 10 b f f 600 600 16 510 713 135 101 105 )
+insert ( 511 '<@' 11 10 b f f 600 603 16 433 0 136 1302 1303 )
+insert ( 433 '@>' 11 10 b f f 603 600 16 511 0 193 1302 1303 )
+insert ( 512 '<@' 11 10 b f f 600 602 16 755 0 137 - - )
+insert ( 513 '@@' 11 10 l f f 0 603 600 0 0 138 - - )
+insert ( 514 '*' 11 10 b f f 23 23 23 514 0 141 - - )
+insert ( 517 '<->' 11 10 b f f 600 600 701 517 0 991 - - )
+insert ( 518 '<>' 11 10 b f f 23 23 16 518 96 144 102 106 )
+insert ( 519 '<>' 11 10 b f f 21 21 16 519 94 145 102 106 )
+insert ( 520 '>' 11 10 b f f 21 21 16 95 522 146 104 108 )
+insert ( 521 '>' 11 10 b f f 23 23 16 97 523 147 104 108 )
+insert ( 522 '<=' 11 10 b f f 21 21 16 524 520 148 336 386 )
+insert ( 523 '<=' 11 10 b f f 23 23 16 525 521 149 336 386 )
+insert ( 524 '>=' 11 10 b f f 21 21 16 522 95 151 337 398 )
+insert ( 525 '>=' 11 10 b f f 23 23 16 523 97 150 337 398 )
+insert ( 526 '*' 11 10 b f f 21 21 21 526 0 152 - - )
+insert ( 527 '/' 11 10 b f f 21 21 21 0 0 153 - - )
+insert ( 528 '/' 11 10 b f f 23 23 23 0 0 154 - - )
+insert ( 529 '%' 11 10 b f f 21 21 21 0 0 155 - - )
+insert ( 530 '%' 11 10 b f f 23 23 23 0 0 156 - - )
+insert ( 531 '<>' 11 10 b f f 25 25 16 531 98 157 102 106 )
+insert ( 532 '=' 11 10 b t t 21 23 16 533 538 158 101 105 )
+insert ( 533 '=' 11 10 b t t 23 21 16 532 539 159 101 105 )
+insert ( 534 '<' 11 10 b f f 21 23 16 537 542 160 103 107 )
+insert ( 535 '<' 11 10 b f f 23 21 16 536 543 161 103 107 )
+insert ( 536 '>' 11 10 b f f 21 23 16 535 540 162 104 108 )
+insert ( 537 '>' 11 10 b f f 23 21 16 534 541 163 104 108 )
+insert ( 538 '<>' 11 10 b f f 21 23 16 539 532 164 102 106 )
+insert ( 539 '<>' 11 10 b f f 23 21 16 538 533 165 102 106 )
+insert ( 540 '<=' 11 10 b f f 21 23 16 543 536 166 336 386 )
+insert ( 541 '<=' 11 10 b f f 23 21 16 542 537 167 336 386 )
+insert ( 542 '>=' 11 10 b f f 21 23 16 541 534 168 337 398 )
+insert ( 543 '>=' 11 10 b f f 23 21 16 540 535 169 337 398 )
+insert ( 544 '*' 11 10 b f f 21 23 23 545 0 170 - - )
+insert ( 545 '*' 11 10 b f f 23 21 23 544 0 171 - - )
+insert ( 546 '/' 11 10 b f f 21 23 23 0 0 172 - - )
+insert ( 547 '/' 11 10 b f f 23 21 23 0 0 173 - - )
+insert ( 550 '+' 11 10 b f f 21 21 21 550 0 176 - - )
+insert ( 551 '+' 11 10 b f f 23 23 23 551 0 177 - - )
+insert ( 552 '+' 11 10 b f f 21 23 23 553 0 178 - - )
+insert ( 553 '+' 11 10 b f f 23 21 23 552 0 179 - - )
+insert ( 554 - 11 10 b f f 21 21 21 0 0 180 - - )
+insert ( 555 - 11 10 b f f 23 23 23 0 0 181 - - )
+insert ( 556 - 11 10 b f f 21 23 23 0 0 182 - - )
+insert ( 557 - 11 10 b f f 23 21 23 0 0 183 - - )
+insert ( 558 - 11 10 l f f 0 23 23 0 0 212 - - )
+insert ( 559 - 11 10 l f f 0 21 21 0 0 213 - - )
+insert ( 584 - 11 10 l f f 0 700 700 0 0 206 - - )
+insert ( 585 - 11 10 l f f 0 701 701 0 0 220 - - )
+insert ( 586 '+' 11 10 b f f 700 700 700 586 0 204 - - )
+insert ( 587 - 11 10 b f f 700 700 700 0 0 205 - - )
+insert ( 588 '/' 11 10 b f f 700 700 700 0 0 203 - - )
+insert ( 589 '*' 11 10 b f f 700 700 700 589 0 202 - - )
+insert ( 590 '@' 11 10 l f f 0 700 700 0 0 207 - - )
+insert ( 591 '+' 11 10 b f f 701 701 701 591 0 218 - - )
+insert ( 592 - 11 10 b f f 701 701 701 0 0 219 - - )
+insert ( 593 '/' 11 10 b f f 701 701 701 0 0 217 - - )
+insert ( 594 '*' 11 10 b f f 701 701 701 594 0 216 - - )
+insert ( 595 '@' 11 10 l f f 0 701 701 0 0 221 - - )
+insert ( 596 '|/' 11 10 l f f 0 701 701 0 0 230 - - )
+insert ( 597 '||/' 11 10 l f f 0 701 701 0 0 231 - - )
+insert ( 607 '=' 11 10 b t t 26 26 16 607 608 184 101 105 )
+insert ( 608 '<>' 11 10 b f f 26 26 16 608 607 185 102 106 )
+insert ( 609 '<' 11 10 b f f 26 26 16 610 612 716 103 107 )
+insert ( 610 '>' 11 10 b f f 26 26 16 609 611 1638 104 108 )
+insert ( 611 '<=' 11 10 b f f 26 26 16 612 610 717 336 386 )
+insert ( 612 '>=' 11 10 b f f 26 26 16 611 609 1639 337 398 )
+insert ( 644 '<>' 11 10 b f f 30 30 16 644 649 619 102 106 )
+insert ( 645 '<' 11 10 b f f 30 30 16 646 648 677 103 107 )
+insert ( 646 '>' 11 10 b f f 30 30 16 645 647 681 104 108 )
+insert ( 647 '<=' 11 10 b f f 30 30 16 648 646 678 336 386 )
+insert ( 648 '>=' 11 10 b f f 30 30 16 647 645 680 337 398 )
+insert ( 649 '=' 11 10 b t t 30 30 16 649 644 679 101 105 )
+insert ( 613 '<->' 11 10 b f f 600 628 701 760 0 725 - - )
+insert ( 760 '<->' 11 10 b f f 628 600 701 613 0 702 - - )
+insert ( 614 '<->' 11 10 b f f 600 601 701 761 0 363 - - )
+insert ( 761 '<->' 11 10 b f f 601 600 701 614 0 380 - - )
+insert ( 615 '<->' 11 10 b f f 600 603 701 606 0 364 - - )
+insert ( 606 '<->' 11 10 b f f 603 600 701 615 0 357 - - )
+insert ( 616 '<->' 11 10 b f f 601 628 701 762 0 727 - - )
+insert ( 762 '<->' 11 10 b f f 628 601 701 616 0 704 - - )
+insert ( 617 '<->' 11 10 b f f 601 603 701 763 0 365 - - )
+insert ( 763 '<->' 11 10 b f f 603 601 701 617 0 381 - - )
+insert ( 618 '<->' 11 10 b f f 600 602 701 784 0 371 - - )
+insert ( 784 '<->' 11 10 b f f 602 600 701 618 0 421 - - )
+insert ( 620 '=' 11 10 b t t 700 700 16 620 621 287 101 105 )
+insert ( 621 '<>' 11 10 b f f 700 700 16 621 620 288 102 106 )
+insert ( 622 '<' 11 10 b f f 700 700 16 623 625 289 103 107 )
+insert ( 623 '>' 11 10 b f f 700 700 16 622 624 291 104 108 )
+insert ( 624 '<=' 11 10 b f f 700 700 16 625 623 290 336 386 )
+insert ( 625 '>=' 11 10 b f f 700 700 16 624 622 292 337 398 )
+insert ( 630 '<>' 11 10 b f f 18 18 16 630 92 70 102 106 )
+insert ( 631 '<' 11 10 b f f 18 18 16 633 634 1246 103 107 )
+insert ( 632 '<=' 11 10 b f f 18 18 16 634 633 72 336 386 )
+insert ( 633 '>' 11 10 b f f 18 18 16 631 632 73 104 108 )
+insert ( 634 '>=' 11 10 b f f 18 18 16 632 631 74 337 398 )
+insert ( 639 '~' 11 10 b f f 19 25 16 0 640 79 1818 1824 )
+insert ( 640 '!~' 11 10 b f f 19 25 16 0 639 1252 1821 1827 )
+insert ( 641 '~' 11 10 b f f 25 25 16 0 642 1254 1818 1824 )
+insert ( 642 '!~' 11 10 b f f 25 25 16 0 641 1256 1821 1827 )
+insert ( 643 '<>' 11 10 b f f 19 19 16 643 93 659 102 106 )
+insert ( 654 '||' 11 10 b f f 25 25 25 0 0 1258 - - )
+insert ( 660 '<' 11 10 b f f 19 19 16 662 663 655 103 107 )
+insert ( 661 '<=' 11 10 b f f 19 19 16 663 662 656 336 386 )
+insert ( 662 '>' 11 10 b f f 19 19 16 660 661 657 104 108 )
+insert ( 663 '>=' 11 10 b f f 19 19 16 661 660 658 337 398 )
+insert ( 664 '<' 11 10 b f f 25 25 16 666 667 740 103 107 )
+insert ( 665 '<=' 11 10 b f f 25 25 16 667 666 741 336 386 )
+insert ( 666 '>' 11 10 b f f 25 25 16 664 665 742 104 108 )
+insert ( 667 '>=' 11 10 b f f 25 25 16 665 664 743 337 398 )
+insert ( 670 '=' 11 10 b t t 701 701 16 670 671 293 101 105 )
+insert ( 671 '<>' 11 10 b f f 701 701 16 671 670 294 102 106 )
+insert ( 672 '<' 11 10 b f f 701 701 16 674 675 295 103 107 )
+insert ( 673 '<=' 11 10 b f f 701 701 16 675 674 296 336 386 )
+insert ( 674 '>' 11 10 b f f 701 701 16 672 673 297 104 108 )
+insert ( 675 '>=' 11 10 b f f 701 701 16 673 672 298 337 398 )
+insert ( 682 '@' 11 10 l f f 0 21 21 0 0 1253 - - )
+insert ( 684 '+' 11 10 b f f 20 20 20 684 0 463 - - )
+insert ( 685 - 11 10 b f f 20 20 20 0 0 464 - - )
+insert ( 686 '*' 11 10 b f f 20 20 20 686 0 465 - - )
+insert ( 687 '/' 11 10 b f f 20 20 20 0 0 466 - - )
+insert ( 688 '+' 11 10 b f f 20 23 20 692 0 1274 - - )
+insert ( 689 - 11 10 b f f 20 23 20 0 0 1275 - - )
+insert ( 690 '*' 11 10 b f f 20 23 20 694 0 1276 - - )
+insert ( 691 '/' 11 10 b f f 20 23 20 0 0 1277 - - )
+insert ( 692 '+' 11 10 b f f 23 20 20 688 0 1278 - - )
+insert ( 693 - 11 10 b f f 23 20 20 0 0 1279 - - )
+insert ( 694 '*' 11 10 b f f 23 20 20 690 0 1280 - - )
+insert ( 695 '/' 11 10 b f f 23 20 20 0 0 1281 - - )
+insert ( 818 '+' 11 10 b f f 20 21 20 822 0 837 - - )
+insert ( 819 - 11 10 b f f 20 21 20 0 0 838 - - )
+insert ( 820 '*' 11 10 b f f 20 21 20 824 0 839 - - )
+insert ( 821 '/' 11 10 b f f 20 21 20 0 0 840 - - )
+insert ( 822 '+' 11 10 b f f 21 20 20 818 0 841 - - )
+insert ( 823 - 11 10 b f f 21 20 20 0 0 942 - - )
+insert ( 824 '*' 11 10 b f f 21 20 20 820 0 943 - - )
+insert ( 825 '/' 11 10 b f f 21 20 20 0 0 948 - - )
+insert ( 706 '<->' 11 10 b f f 603 603 701 706 0 978 - - )
+insert ( 707 '<->' 11 10 b f f 602 602 701 707 0 370 - - )
+insert ( 708 '<->' 11 10 b f f 628 628 701 708 0 239 - - )
+insert ( 709 '<->' 11 10 b f f 601 601 701 709 0 361 - - )
+insert ( 712 '<->' 11 10 b f f 604 604 701 712 0 729 - - )
+insert ( 713 '<>' 11 10 b f f 600 600 16 713 510 988 102 106 )
+insert ( 731 '+' 11 10 b f f 600 600 600 731 0 1441 - - )
+insert ( 732 - 11 10 b f f 600 600 600 0 0 1442 - - )
+insert ( 733 '*' 11 10 b f f 600 600 600 733 0 1443 - - )
+insert ( 734 '/' 11 10 b f f 600 600 600 0 0 1444 - - )
+insert ( 735 '+' 11 10 b f f 602 602 602 735 0 1435 - - )
+insert ( 736 '+' 11 10 b f f 602 600 602 0 0 1436 - - )
+insert ( 737 - 11 10 b f f 602 600 602 0 0 1437 - - )
+insert ( 738 '*' 11 10 b f f 602 600 602 0 0 1438 - - )
+insert ( 739 '/' 11 10 b f f 602 600 602 0 0 1439 - - )
+insert ( 755 '@>' 11 10 b f f 602 600 16 512 0 1426 - - )
+insert ( 756 '<@' 11 10 b f f 600 604 16 757 0 1429 1302 1303 )
+insert ( 757 '@>' 11 10 b f f 604 600 16 756 0 1428 1302 1303 )
+insert ( 758 '<@' 11 10 b f f 600 718 16 759 0 1478 1302 1303 )
+insert ( 759 '@>' 11 10 b f f 718 600 16 758 0 1477 1302 1303 )
+insert ( 773 '@' 11 10 l f f 0 23 23 0 0 1251 - - )
+insert ( 792 '=' 11 10 b f f 602 602 16 792 0 984 101 105 )
+insert ( 793 '<' 11 10 b f f 602 602 16 794 0 982 - - )
+insert ( 794 '>' 11 10 b f f 602 602 16 793 0 983 - - )
+insert ( 795 '<=' 11 10 b f f 602 602 16 796 0 985 - - )
+insert ( 796 '>=' 11 10 b f f 602 602 16 795 0 986 - - )
+insert ( 797 '#' 11 10 l f f 0 602 23 0 0 1432 - - )
+insert ( 798 '?#' 11 10 b f f 602 602 16 0 0 973 - - )
+insert ( 799 '@-@' 11 10 l f f 0 602 701 0 0 987 - - )
+insert ( 800 '>^' 11 10 b f f 603 603 16 0 0 115 1300 1301 )
+insert ( 801 '<^' 11 10 b f f 603 603 16 0 0 116 1300 1301 )
+insert ( 802 '?#' 11 10 b f f 603 603 16 0 0 125 139 140 )
+insert ( 803 '#' 11 10 b f f 603 603 603 0 0 980 - - )
+insert ( 804 '+' 11 10 b f f 603 600 603 0 0 1422 - - )
+insert ( 805 - 11 10 b f f 603 600 603 0 0 1423 - - )
+insert ( 806 '*' 11 10 b f f 603 600 603 0 0 1424 - - )
+insert ( 807 '/' 11 10 b f f 603 600 603 0 0 1425 - - )
+insert ( 808 '?-' 11 10 b f f 600 600 16 808 0 990 - - )
+insert ( 809 '?|' 11 10 b f f 600 600 16 809 0 989 - - )
+insert ( 843 '*' 11 10 b f f 790 700 790 845 0 846 - - )
+insert ( 844 '/' 11 10 b f f 790 700 790 0 0 847 - - )
+insert ( 845 '*' 11 10 b f f 700 790 790 843 0 848 - - )
+insert ( 900 '=' 11 10 b t f 790 790 16 900 901 888 101 105 )
+insert ( 901 '<>' 11 10 b f f 790 790 16 901 900 889 102 106 )
+insert ( 902 '<' 11 10 b f f 790 790 16 903 905 890 103 107 )
+insert ( 903 '>' 11 10 b f f 790 790 16 902 904 892 104 108 )
+insert ( 904 '<=' 11 10 b f f 790 790 16 905 903 891 336 386 )
+insert ( 905 '>=' 11 10 b f f 790 790 16 904 902 893 337 398 )
+insert ( 906 '+' 11 10 b f f 790 790 790 906 0 894 - - )
+insert ( 907 - 11 10 b f f 790 790 790 0 0 895 - - )
+insert ( 908 '*' 11 10 b f f 790 701 790 916 0 896 - - )
+insert ( 909 '/' 11 10 b f f 790 701 790 0 0 897 - - )
+insert ( 3346 '*' 11 10 b f f 790 20 790 3349 0 3344 - - )
+insert ( 3347 '/' 11 10 b f f 790 20 790 0 0 3345 - - )
+insert ( 912 '*' 11 10 b f f 790 23 790 917 0 864 - - )
+insert ( 913 '/' 11 10 b f f 790 23 790 0 0 865 - - )
+insert ( 914 '*' 11 10 b f f 790 21 790 918 0 866 - - )
+insert ( 915 '/' 11 10 b f f 790 21 790 0 0 867 - - )
+insert ( 916 '*' 11 10 b f f 701 790 790 908 0 919 - - )
+insert ( 3349 '*' 11 10 b f f 20 790 790 3346 0 3399 - - )
+insert ( 917 '*' 11 10 b f f 23 790 790 912 0 862 - - )
+insert ( 918 '*' 11 10 b f f 21 790 790 914 0 863 - - )
+insert ( 3825 '/' 11 10 b f f 790 790 701 0 0 3822 - - )
+insert ( 965 '^' 11 10 b f f 701 701 701 0 0 232 - - )
+insert ( 966 '+' 11 10 b f f 1034 1033 1034 0 0 1035 - - )
+insert ( 967 - 11 10 b f f 1034 1033 1034 0 0 1036 - - )
+insert ( 968 '@>' 11 10 b f f 1034 1033 16 0 0 1037 - - )
+insert ( 974 '=' 11 10 b f t 1033 1033 16 974 0 1062 101 105 )
+insert ( 969 '@@' 11 10 l f f 0 601 600 0 0 225 - - )
+insert ( 971 '@@' 11 10 l f f 0 604 600 0 0 227 - - )
+insert ( 1054 '=' 11 10 b t t 1042 1042 16 1054 1057 1048 101 105 )
+insert ( 1055 '~' 11 10 b f f 1042 25 16 0 1056 1658 1818 1824 )
+insert ( 1056 '!~' 11 10 b f f 1042 25 16 0 1055 1659 1821 1827 )
+insert ( 1057 '<>' 11 10 b f f 1042 1042 16 1057 1054 1053 102 106 )
+insert ( 1058 '<' 11 10 b f f 1042 1042 16 1060 1061 1049 103 107 )
+insert ( 1059 '<=' 11 10 b f f 1042 1042 16 1061 1060 1050 336 386 )
+insert ( 1060 '>' 11 10 b f f 1042 1042 16 1058 1059 1051 104 108 )
+insert ( 1061 '>=' 11 10 b f f 1042 1042 16 1059 1058 1052 337 398 )
+insert ( 1070 '=' 11 10 b t t 2277 2277 16 1070 1071 744 101 105 )
+insert ( 1071 '<>' 11 10 b f f 2277 2277 16 1071 1070 390 102 106 )
+insert ( 1072 '<' 11 10 b f f 2277 2277 16 1073 1075 391 103 107 )
+insert ( 1073 '>' 11 10 b f f 2277 2277 16 1072 1074 392 104 108 )
+insert ( 1074 '<=' 11 10 b f f 2277 2277 16 1075 1073 393 336 386 )
+insert ( 1075 '>=' 11 10 b f f 2277 2277 16 1074 1072 396 337 398 )
+insert ( 1076 '+' 11 10 b f f 1082 1186 1114 2551 0 2071 - - )
+insert ( 1077 - 11 10 b f f 1082 1186 1114 0 0 2072 - - )
+insert ( 1093 '=' 11 10 b t t 1082 1082 16 1093 1094 1086 101 105 )
+insert ( 1094 '<>' 11 10 b f f 1082 1082 16 1094 1093 1091 102 106 )
+insert ( 1095 '<' 11 10 b f f 1082 1082 16 1097 1098 1087 103 107 )
+insert ( 1096 '<=' 11 10 b f f 1082 1082 16 1098 1097 1088 336 386 )
+insert ( 1097 '>' 11 10 b f f 1082 1082 16 1095 1096 1089 104 108 )
+insert ( 1098 '>=' 11 10 b f f 1082 1082 16 1096 1095 1090 337 398 )
+insert ( 1099 - 11 10 b f f 1082 1082 23 0 0 1140 - - )
+insert ( 1100 '+' 11 10 b f f 1082 23 1082 2555 0 1141 - - )
+insert ( 1101 - 11 10 b f f 1082 23 1082 0 0 1142 - - )
+insert ( 1108 '=' 11 10 b t t 1083 1083 16 1108 1109 1145 101 105 )
+insert ( 1109 '<>' 11 10 b f f 1083 1083 16 1109 1108 1106 102 106 )
+insert ( 1110 '<' 11 10 b f f 1083 1083 16 1112 1113 1102 103 107 )
+insert ( 1111 '<=' 11 10 b f f 1083 1083 16 1113 1112 1103 336 386 )
+insert ( 1112 '>' 11 10 b f f 1083 1083 16 1110 1111 1104 104 108 )
+insert ( 1113 '>=' 11 10 b f f 1083 1083 16 1111 1110 1105 337 398 )
+insert ( 1550 '=' 11 10 b t t 1266 1266 16 1550 1551 1352 101 105 )
+insert ( 1551 '<>' 11 10 b f f 1266 1266 16 1551 1550 1353 102 106 )
+insert ( 1552 '<' 11 10 b f f 1266 1266 16 1554 1555 1354 103 107 )
+insert ( 1553 '<=' 11 10 b f f 1266 1266 16 1555 1554 1355 336 386 )
+insert ( 1554 '>' 11 10 b f f 1266 1266 16 1552 1553 1357 104 108 )
+insert ( 1555 '>=' 11 10 b f f 1266 1266 16 1553 1552 1356 337 398 )
+insert ( 1116 '+' 11 10 b f f 700 701 701 1126 0 281 - - )
+insert ( 1117 - 11 10 b f f 700 701 701 0 0 282 - - )
+insert ( 1118 '/' 11 10 b f f 700 701 701 0 0 280 - - )
+insert ( 1119 '*' 11 10 b f f 700 701 701 1129 0 279 - - )
+insert ( 1120 '=' 11 10 b t t 700 701 16 1130 1121 299 101 105 )
+insert ( 1121 '<>' 11 10 b f f 700 701 16 1131 1120 300 102 106 )
+insert ( 1122 '<' 11 10 b f f 700 701 16 1133 1125 301 103 107 )
+insert ( 1123 '>' 11 10 b f f 700 701 16 1132 1124 303 104 108 )
+insert ( 1124 '<=' 11 10 b f f 700 701 16 1135 1123 302 336 386 )
+insert ( 1125 '>=' 11 10 b f f 700 701 16 1134 1122 304 337 398 )
+insert ( 1126 '+' 11 10 b f f 701 700 701 1116 0 285 - - )
+insert ( 1127 - 11 10 b f f 701 700 701 0 0 286 - - )
+insert ( 1128 '/' 11 10 b f f 701 700 701 0 0 284 - - )
+insert ( 1129 '*' 11 10 b f f 701 700 701 1119 0 283 - - )
+insert ( 1130 '=' 11 10 b t t 701 700 16 1120 1131 305 101 105 )
+insert ( 1131 '<>' 11 10 b f f 701 700 16 1121 1130 306 102 106 )
+insert ( 1132 '<' 11 10 b f f 701 700 16 1123 1135 307 103 107 )
+insert ( 1133 '>' 11 10 b f f 701 700 16 1122 1134 309 104 108 )
+insert ( 1134 '<=' 11 10 b f f 701 700 16 1125 1133 308 336 386 )
+insert ( 1135 '>=' 11 10 b f f 701 700 16 1124 1132 310 337 398 )
+insert ( 1207 '~~' 11 10 b f f 19 25 16 0 1208 858 1819 1825 )
+insert ( 1208 '!~~' 11 10 b f f 19 25 16 0 1207 859 1822 1828 )
+insert ( 1209 '~~' 11 10 b f f 25 25 16 0 1210 850 1819 1825 )
+insert ( 1210 '!~~' 11 10 b f f 25 25 16 0 1209 851 1822 1828 )
+insert ( 1211 '~~' 11 10 b f f 1042 25 16 0 1212 1631 1819 1825 )
+insert ( 1212 '!~~' 11 10 b f f 1042 25 16 0 1211 1632 1822 1828 )
+insert ( 1226 '~*' 11 10 b f f 19 25 16 0 1227 1240 1820 1826 )
+insert ( 1227 '!~*' 11 10 b f f 19 25 16 0 1226 1241 1823 1829 )
+insert ( 1228 '~*' 11 10 b f f 25 25 16 0 1229 1238 1820 1826 )
+insert ( 1229 '!~*' 11 10 b f f 25 25 16 0 1228 1239 1823 1829 )
+insert ( 1234 '~*' 11 10 b f f 1042 25 16 0 1235 1656 1820 1826 )
+insert ( 1235 '!~*' 11 10 b f f 1042 25 16 0 1234 1657 1823 1829 )
+insert ( 1320 '=' 11 10 b t t 1184 1184 16 1320 1321 1152 101 105 )
+insert ( 1321 '<>' 11 10 b f f 1184 1184 16 1321 1320 1153 102 106 )
+insert ( 1322 '<' 11 10 b f f 1184 1184 16 1324 1325 1154 103 107 )
+insert ( 1323 '<=' 11 10 b f f 1184 1184 16 1325 1324 1155 336 386 )
+insert ( 1324 '>' 11 10 b f f 1184 1184 16 1322 1323 1157 104 108 )
+insert ( 1325 '>=' 11 10 b f f 1184 1184 16 1323 1322 1156 337 398 )
+insert ( 1327 '+' 11 10 b f f 1184 1186 1184 2554 0 1189 - - )
+insert ( 1328 - 11 10 b f f 1184 1184 1186 0 0 1188 - - )
+insert ( 1329 - 11 10 b f f 1184 1186 1184 0 0 1190 - - )
+insert ( 1330 '=' 11 10 b t t 1186 1186 16 1330 1331 1162 101 105 )
+insert ( 1331 '<>' 11 10 b f f 1186 1186 16 1331 1330 1163 102 106 )
+insert ( 1332 '<' 11 10 b f f 1186 1186 16 1334 1335 1164 103 107 )
+insert ( 1333 '<=' 11 10 b f f 1186 1186 16 1335 1334 1165 336 386 )
+insert ( 1334 '>' 11 10 b f f 1186 1186 16 1332 1333 1167 104 108 )
+insert ( 1335 '>=' 11 10 b f f 1186 1186 16 1333 1332 1166 337 398 )
+insert ( 1336 - 11 10 l f f 0 1186 1186 0 0 1168 - - )
+insert ( 1337 '+' 11 10 b f f 1186 1186 1186 1337 0 1169 - - )
+insert ( 1338 - 11 10 b f f 1186 1186 1186 0 0 1170 - - )
+insert ( 1360 '+' 11 10 b f f 1082 1083 1114 1363 0 1272 - - )
+insert ( 1361 '+' 11 10 b f f 1082 1266 1184 1366 0 1297 - - )
+insert ( 1363 '+' 11 10 b f f 1083 1082 1114 1360 0 1296 - - )
+insert ( 1366 '+' 11 10 b f f 1266 1082 1184 1361 0 1298 - - )
+insert ( 1399 - 11 10 b f f 1083 1083 1186 0 0 1690 - - )
+insert ( 1420 '@@' 11 10 l f f 0 718 600 0 0 1472 - - )
+insert ( 1500 '=' 11 10 b f f 718 718 16 1500 1501 1462 101 105 )
+insert ( 1501 '<>' 11 10 b f f 718 718 16 1501 1500 1463 102 106 )
+insert ( 1502 '<' 11 10 b f f 718 718 16 1503 1505 1464 139 140 )
+insert ( 1503 '>' 11 10 b f f 718 718 16 1502 1504 1465 139 140 )
+insert ( 1504 '<=' 11 10 b f f 718 718 16 1505 1503 1466 139 140 )
+insert ( 1505 '>=' 11 10 b f f 718 718 16 1504 1502 1467 139 140 )
+insert ( 1506 '<<' 11 10 b f f 718 718 16 0 0 1454 1300 1301 )
+insert ( 1507 '&<' 11 10 b f f 718 718 16 0 0 1455 1300 1301 )
+insert ( 1508 '&>' 11 10 b f f 718 718 16 0 0 1456 1300 1301 )
+insert ( 1509 '>>' 11 10 b f f 718 718 16 0 0 1457 1300 1301 )
+insert ( 1510 '<@' 11 10 b f f 718 718 16 1511 0 1458 1302 1303 )
+insert ( 1511 '@>' 11 10 b f f 718 718 16 1510 0 1453 1302 1303 )
+insert ( 1512 '~=' 11 10 b f f 718 718 16 1512 0 1452 101 105 )
+insert ( 1513 '&&' 11 10 b f f 718 718 16 1513 0 1459 139 140 )
+insert ( 1514 '|>>' 11 10 b f f 718 718 16 0 0 1461 1300 1301 )
+insert ( 1515 '<<|' 11 10 b f f 718 718 16 0 0 1460 1300 1301 )
+insert ( 1516 '+' 11 10 b f f 718 600 718 0 0 1146 - - )
+insert ( 1517 - 11 10 b f f 718 600 718 0 0 1147 - - )
+insert ( 1518 '*' 11 10 b f f 718 600 718 0 0 1148 - - )
+insert ( 1519 '/' 11 10 b f f 718 600 718 0 0 1149 - - )
+insert ( 1520 '<->' 11 10 b f f 718 718 701 1520 0 1471 - - )
+insert ( 1521 '#' 11 10 l f f 0 604 23 0 0 1445 - - )
+insert ( 1522 '<->' 11 10 b f f 600 718 701 3291 0 1476 - - )
+insert ( 3291 '<->' 11 10 b f f 718 600 701 1522 0 3290 - - )
+insert ( 3276 '<->' 11 10 b f f 600 604 701 3289 0 3275 - - )
+insert ( 3289 '<->' 11 10 b f f 604 600 701 3276 0 3292 - - )
+insert ( 1523 '<->' 11 10 b f f 718 604 701 1383 0 728 - - )
+insert ( 1383 '<->' 11 10 b f f 604 718 701 1523 0 785 - - )
+insert ( 1525 '?#' 11 10 b f f 601 601 16 1525 0 994 - - )
+insert ( 1526 '?||' 11 10 b f f 601 601 16 1526 0 995 - - )
+insert ( 1527 '?-|' 11 10 b f f 601 601 16 1527 0 996 - - )
+insert ( 1528 '?-' 11 10 l f f 0 601 16 0 0 998 - - )
+insert ( 1529 '?|' 11 10 l f f 0 601 16 0 0 997 - - )
+insert ( 1535 '=' 11 10 b f f 601 601 16 1535 1586 999 101 105 )
+insert ( 1536 '#' 11 10 b f f 601 601 600 1536 0 362 - - )
+insert ( 1537 '?#' 11 10 b f f 601 628 16 0 0 277 - - )
+insert ( 1538 '?#' 11 10 b f f 601 603 16 0 0 373 - - )
+insert ( 1539 '?#' 11 10 b f f 628 603 16 0 0 278 - - )
+insert ( 1546 '<@' 11 10 b f f 600 628 16 0 0 959 - - )
+insert ( 1547 '<@' 11 10 b f f 600 601 16 0 0 369 - - )
+insert ( 1548 '<@' 11 10 b f f 601 628 16 0 0 960 - - )
+insert ( 1549 '<@' 11 10 b f f 601 603 16 0 0 372 - - )
+insert ( 1557 '##' 11 10 b f f 600 628 600 0 0 961 - - )
+insert ( 1558 '##' 11 10 b f f 600 601 600 0 0 366 - - )
+insert ( 1559 '##' 11 10 b f f 600 603 600 0 0 367 - - )
+insert ( 1567 '##' 11 10 b f f 601 603 600 0 0 368 - - )
+insert ( 1577 '##' 11 10 b f f 628 601 600 0 0 1488 - - )
+insert ( 1578 '##' 11 10 b f f 601 601 600 0 0 1489 - - )
+insert ( 1583 '*' 11 10 b f f 1186 701 1186 1584 0 1618 - - )
+insert ( 1584 '*' 11 10 b f f 701 1186 1186 1583 0 1624 - - )
+insert ( 1585 '/' 11 10 b f f 1186 701 1186 0 0 1326 - - )
+insert ( 1586 '<>' 11 10 b f f 601 601 16 1586 1535 1482 102 106 )
+insert ( 1587 '<' 11 10 b f f 601 601 16 1589 1590 1483 - - )
+insert ( 1588 '<=' 11 10 b f f 601 601 16 1590 1589 1484 - - )
+insert ( 1589 '>' 11 10 b f f 601 601 16 1587 1588 1485 - - )
+insert ( 1590 '>=' 11 10 b f f 601 601 16 1588 1587 1486 - - )
+insert ( 1591 '@-@' 11 10 l f f 0 601 701 0 0 1487 - - )
+insert ( 1611 '?#' 11 10 b f f 628 628 16 1611 0 1495 - - )
+insert ( 1612 '?||' 11 10 b f f 628 628 16 1612 0 1496 - - )
+insert ( 1613 '?-|' 11 10 b f f 628 628 16 1613 0 1497 - - )
+insert ( 1614 '?-' 11 10 l f f 0 628 16 0 0 1499 - - )
+insert ( 1615 '?|' 11 10 l f f 0 628 16 0 0 1498 - - )
+insert ( 1616 '=' 11 10 b f f 628 628 16 1616 0 1492 101 105 )
+insert ( 1617 '#' 11 10 b f f 628 628 600 1617 0 1494 - - )
+insert ( 4161 '|>>' 11 10 b f f 600 600 16 0 0 131 1300 1301 )
+insert ( 4162 '<<|' 11 10 b f f 600 600 16 0 0 134 1300 1301 )
+insert ( 1220 '=' 11 10 b t t 829 829 16 1220 1221 830 101 105 )
+insert ( 1221 '<>' 11 10 b f f 829 829 16 1221 1220 835 102 106 )
+insert ( 1222 '<' 11 10 b f f 829 829 16 1224 1225 831 103 107 )
+insert ( 1223 '<=' 11 10 b f f 829 829 16 1225 1224 832 336 386 )
+insert ( 1224 '>' 11 10 b f f 829 829 16 1222 1223 833 104 108 )
+insert ( 1225 '>=' 11 10 b f f 829 829 16 1223 1222 834 337 398 )
+insert ( 3147 '~' 11 10 l f f 0 829 829 0 0 3144 - - )
+insert ( 3148 '&' 11 10 b f f 829 829 829 0 0 3145 - - )
+insert ( 3149 '|' 11 10 b f f 829 829 829 0 0 3146 - - )
+insert ( 3362 '=' 11 10 b t t 774 774 16 3362 3363 4113 101 105 )
+insert ( 3363 '<>' 11 10 b f f 774 774 16 3363 3362 4118 102 106 )
+insert ( 3364 '<' 11 10 b f f 774 774 16 3366 3367 4114 103 107 )
+insert ( 3365 '<=' 11 10 b f f 774 774 16 3367 3366 4115 336 386 )
+insert ( 3366 '>' 11 10 b f f 774 774 16 3364 3365 4116 104 108 )
+insert ( 3367 '>=' 11 10 b f f 774 774 16 3365 3364 4117 337 398 )
+insert ( 3368 '~' 11 10 l f f 0 774 774 0 0 4120 - - )
+insert ( 3369 '&' 11 10 b f f 774 774 774 0 0 4121 - - )
+insert ( 3370 '|' 11 10 b f f 774 774 774 0 0 4122 - - )
+insert ( 1201 '=' 11 10 b t t 869 869 16 1201 1202 920 101 105 )
+insert ( 1202 '<>' 11 10 b f f 869 869 16 1202 1201 925 102 106 )
+insert ( 1203 '<' 11 10 b f f 869 869 16 1205 1206 921 103 107 )
+insert ( 1204 '<=' 11 10 b f f 869 869 16 1206 1205 922 336 386 )
+insert ( 1205 '>' 11 10 b f f 869 869 16 1203 1204 923 104 108 )
+insert ( 1206 '>=' 11 10 b f f 869 869 16 1204 1203 924 337 398 )
+insert ( 931 '<<' 11 10 b f f 869 869 16 933 0 927 3560 3561 )
+insert ( 932 '<<=' 11 10 b f f 869 869 16 934 0 928 3560 3561 )
+insert ( 933 '>>' 11 10 b f f 869 869 16 931 0 929 3560 3561 )
+insert ( 934 '>>=' 11 10 b f f 869 869 16 932 0 930 3560 3561 )
+insert ( 3552 '&&' 11 10 b f f 869 869 16 3552 0 3551 3560 3561 )
+insert ( 2634 '~' 11 10 l f f 0 869 869 0 0 2627 - - )
+insert ( 2635 '&' 11 10 b f f 869 869 869 0 0 2628 - - )
+insert ( 2636 '|' 11 10 b f f 869 869 869 0 0 2629 - - )
+insert ( 2637 '+' 11 10 b f f 869 20 869 2638 0 2630 - - )
+insert ( 2638 '+' 11 10 b f f 20 869 869 2637 0 2631 - - )
+insert ( 2639 - 11 10 b f f 869 20 869 0 0 2632 - - )
+insert ( 2640 - 11 10 b f f 869 869 20 0 0 2633 - - )
+insert ( 1625 '~~*' 11 10 b f f 19 25 16 0 1626 1635 1814 1816 )
+insert ( 1626 '!~~*' 11 10 b f f 19 25 16 0 1625 1636 1815 1817 )
+insert ( 1627 '~~*' 11 10 b f f 25 25 16 0 1628 1633 1814 1816 )
+insert ( 1628 '!~~*' 11 10 b f f 25 25 16 0 1627 1634 1815 1817 )
+insert ( 1629 '~~*' 11 10 b f f 1042 25 16 0 1630 1660 1814 1816 )
+insert ( 1630 '!~~*' 11 10 b f f 1042 25 16 0 1629 1661 1815 1817 )
+insert ( 1751 - 11 10 l f f 0 1700 1700 0 0 1771 - - )
+insert ( 1752 '=' 11 10 b t t 1700 1700 16 1752 1753 1718 101 105 )
+insert ( 1753 '<>' 11 10 b f f 1700 1700 16 1753 1752 1719 102 106 )
+insert ( 1754 '<' 11 10 b f f 1700 1700 16 1756 1757 1722 103 107 )
+insert ( 1755 '<=' 11 10 b f f 1700 1700 16 1757 1756 1723 336 386 )
+insert ( 1756 '>' 11 10 b f f 1700 1700 16 1754 1755 1720 104 108 )
+insert ( 1757 '>=' 11 10 b f f 1700 1700 16 1755 1754 1721 337 398 )
+insert ( 1758 '+' 11 10 b f f 1700 1700 1700 1758 0 1724 - - )
+insert ( 1759 - 11 10 b f f 1700 1700 1700 0 0 1725 - - )
+insert ( 1760 '*' 11 10 b f f 1700 1700 1700 1760 0 1726 - - )
+insert ( 1761 '/' 11 10 b f f 1700 1700 1700 0 0 1727 - - )
+insert ( 1762 '%' 11 10 b f f 1700 1700 1700 0 0 1729 - - )
+insert ( 1038 '^' 11 10 b f f 1700 1700 1700 0 0 1739 - - )
+insert ( 1763 '@' 11 10 l f f 0 1700 1700 0 0 1704 - - )
+insert ( 1784 '=' 11 10 b t f 1560 1560 16 1784 1785 1581 101 105 )
+insert ( 1785 '<>' 11 10 b f f 1560 1560 16 1785 1784 1582 102 106 )
+insert ( 1786 '<' 11 10 b f f 1560 1560 16 1787 1789 1595 103 107 )
+insert ( 1787 '>' 11 10 b f f 1560 1560 16 1786 1788 1593 104 108 )
+insert ( 1788 '<=' 11 10 b f f 1560 1560 16 1789 1787 1594 336 386 )
+insert ( 1789 '>=' 11 10 b f f 1560 1560 16 1788 1786 1592 337 398 )
+insert ( 1791 '&' 11 10 b f f 1560 1560 1560 1791 0 1673 - - )
+insert ( 1792 '|' 11 10 b f f 1560 1560 1560 1792 0 1674 - - )
+insert ( 1793 '#' 11 10 b f f 1560 1560 1560 1793 0 1675 - - )
+insert ( 1794 '~' 11 10 l f f 0 1560 1560 0 0 1676 - - )
+insert ( 1795 '<<' 11 10 b f f 1560 23 1560 0 0 1677 - - )
+insert ( 1796 '>>' 11 10 b f f 1560 23 1560 0 0 1678 - - )
+insert ( 1797 '||' 11 10 b f f 1562 1562 1562 0 0 1679 - - )
+insert ( 1800 '+' 11 10 b f f 1083 1186 1083 1849 0 1747 - - )
+insert ( 1801 - 11 10 b f f 1083 1186 1083 0 0 1748 - - )
+insert ( 1802 '+' 11 10 b f f 1266 1186 1266 2552 0 1749 - - )
+insert ( 1803 - 11 10 b f f 1266 1186 1266 0 0 1750 - - )
+insert ( 1804 '=' 11 10 b t f 1562 1562 16 1804 1805 1666 101 105 )
+insert ( 1805 '<>' 11 10 b f f 1562 1562 16 1805 1804 1667 102 106 )
+insert ( 1806 '<' 11 10 b f f 1562 1562 16 1807 1809 1671 103 107 )
+insert ( 1807 '>' 11 10 b f f 1562 1562 16 1806 1808 1669 104 108 )
+insert ( 1808 '<=' 11 10 b f f 1562 1562 16 1809 1807 1670 336 386 )
+insert ( 1809 '>=' 11 10 b f f 1562 1562 16 1808 1806 1668 337 398 )
+insert ( 1849 '+' 11 10 b f f 1186 1083 1083 1800 0 1848 - - )
+insert ( 1862 '=' 11 10 b t t 21 20 16 1868 1863 1850 101 105 )
+insert ( 1863 '<>' 11 10 b f f 21 20 16 1869 1862 1851 102 106 )
+insert ( 1864 '<' 11 10 b f f 21 20 16 1871 1867 1852 103 107 )
+insert ( 1865 '>' 11 10 b f f 21 20 16 1870 1866 1853 104 108 )
+insert ( 1866 '<=' 11 10 b f f 21 20 16 1873 1865 1854 336 386 )
+insert ( 1867 '>=' 11 10 b f f 21 20 16 1872 1864 1855 337 398 )
+insert ( 1868 '=' 11 10 b t t 20 21 16 1862 1869 1856 101 105 )
+insert ( 1869 '<>' 11 10 b f f 20 21 16 1863 1868 1857 102 106 )
+insert ( 1870 '<' 11 10 b f f 20 21 16 1865 1873 1858 103 107 )
+insert ( 1871 '>' 11 10 b f f 20 21 16 1864 1872 1859 104 108 )
+insert ( 1872 '<=' 11 10 b f f 20 21 16 1867 1871 1860 336 386 )
+insert ( 1873 '>=' 11 10 b f f 20 21 16 1866 1870 1861 337 398 )
+insert ( 1874 '&' 11 10 b f f 21 21 21 1874 0 1892 - - )
+insert ( 1875 '|' 11 10 b f f 21 21 21 1875 0 1893 - - )
+insert ( 1876 '#' 11 10 b f f 21 21 21 1876 0 1894 - - )
+insert ( 1877 '~' 11 10 l f f 0 21 21 0 0 1895 - - )
+insert ( 1878 '<<' 11 10 b f f 21 23 21 0 0 1896 - - )
+insert ( 1879 '>>' 11 10 b f f 21 23 21 0 0 1897 - - )
+insert ( 1880 '&' 11 10 b f f 23 23 23 1880 0 1898 - - )
+insert ( 1881 '|' 11 10 b f f 23 23 23 1881 0 1899 - - )
+insert ( 1882 '#' 11 10 b f f 23 23 23 1882 0 1900 - - )
+insert ( 1883 '~' 11 10 l f f 0 23 23 0 0 1901 - - )
+insert ( 1884 '<<' 11 10 b f f 23 23 23 0 0 1902 - - )
+insert ( 1885 '>>' 11 10 b f f 23 23 23 0 0 1903 - - )
+insert ( 1886 '&' 11 10 b f f 20 20 20 1886 0 1904 - - )
+insert ( 1887 '|' 11 10 b f f 20 20 20 1887 0 1905 - - )
+insert ( 1888 '#' 11 10 b f f 20 20 20 1888 0 1906 - - )
+insert ( 1889 '~' 11 10 l f f 0 20 20 0 0 1907 - - )
+insert ( 1890 '<<' 11 10 b f f 20 23 20 0 0 1908 - - )
+insert ( 1891 '>>' 11 10 b f f 20 23 20 0 0 1909 - - )
+insert ( 1916 '+' 11 10 l f f 0 20 20 0 0 1910 - - )
+insert ( 1917 '+' 11 10 l f f 0 21 21 0 0 1911 - - )
+insert ( 1918 '+' 11 10 l f f 0 23 23 0 0 1912 - - )
+insert ( 1919 '+' 11 10 l f f 0 700 700 0 0 1913 - - )
+insert ( 1920 '+' 11 10 l f f 0 701 701 0 0 1914 - - )
+insert ( 1921 '+' 11 10 l f f 0 1700 1700 0 0 1915 - - )
+insert ( 1955 '=' 11 10 b t t 17 17 16 1955 1956 1948 101 105 )
+insert ( 1956 '<>' 11 10 b f f 17 17 16 1956 1955 1953 102 106 )
+insert ( 1957 '<' 11 10 b f f 17 17 16 1959 1960 1949 103 107 )
+insert ( 1958 '<=' 11 10 b f f 17 17 16 1960 1959 1950 336 386 )
+insert ( 1959 '>' 11 10 b f f 17 17 16 1957 1958 1951 104 108 )
+insert ( 1960 '>=' 11 10 b f f 17 17 16 1958 1957 1952 337 398 )
+insert ( 2016 '~~' 11 10 b f f 17 17 16 0 2017 2005 1819 1825 )
+insert ( 2017 '!~~' 11 10 b f f 17 17 16 0 2016 2006 1822 1828 )
+insert ( 2018 '||' 11 10 b f f 17 17 17 0 0 2011 - - )
+insert ( 2060 '=' 11 10 b t t 1114 1114 16 2060 2061 2052 101 105 )
+insert ( 2061 '<>' 11 10 b f f 1114 1114 16 2061 2060 2053 102 106 )
+insert ( 2062 '<' 11 10 b f f 1114 1114 16 2064 2065 2054 103 107 )
+insert ( 2063 '<=' 11 10 b f f 1114 1114 16 2065 2064 2055 336 386 )
+insert ( 2064 '>' 11 10 b f f 1114 1114 16 2062 2063 2057 104 108 )
+insert ( 2065 '>=' 11 10 b f f 1114 1114 16 2063 2062 2056 337 398 )
+insert ( 2066 '+' 11 10 b f f 1114 1186 1114 2553 0 2032 - - )
+insert ( 2067 - 11 10 b f f 1114 1114 1186 0 0 2031 - - )
+insert ( 2068 - 11 10 b f f 1114 1186 1114 0 0 2033 - - )
+insert ( 2314 '~<~' 11 10 b f f 25 25 16 2318 2317 2160 103 107 )
+insert ( 2315 '~<=~' 11 10 b f f 25 25 16 2317 2318 2161 336 386 )
+insert ( 2317 '~>=~' 11 10 b f f 25 25 16 2315 2314 2163 337 398 )
+insert ( 2318 '~>~' 11 10 b f f 25 25 16 2314 2315 2164 104 108 )
+insert ( 2326 '~<~' 11 10 b f f 1042 1042 16 2330 2329 2174 103 107 )
+insert ( 2327 '~<=~' 11 10 b f f 1042 1042 16 2329 2330 2175 336 386 )
+insert ( 2329 '~>=~' 11 10 b f f 1042 1042 16 2327 2326 2177 337 398 )
+insert ( 2330 '~>~' 11 10 b f f 1042 1042 16 2326 2327 2178 104 108 )
+insert ( 2345 '<' 11 10 b f f 1082 1114 16 2375 2348 2338 103 107 )
+insert ( 2346 '<=' 11 10 b f f 1082 1114 16 2374 2349 2339 336 386 )
+insert ( 2347 '=' 11 10 b t f 1082 1114 16 2373 2350 2340 101 105 )
+insert ( 2348 '>=' 11 10 b f f 1082 1114 16 2372 2345 2342 337 398 )
+insert ( 2349 '>' 11 10 b f f 1082 1114 16 2371 2346 2341 104 108 )
+insert ( 2350 '<>' 11 10 b f f 1082 1114 16 2376 2347 2343 102 106 )
+insert ( 2358 '<' 11 10 b f f 1082 1184 16 2388 2361 2351 103 107 )
+insert ( 2359 '<=' 11 10 b f f 1082 1184 16 2387 2362 2352 336 386 )
+insert ( 2360 '=' 11 10 b t f 1082 1184 16 2386 2363 2353 101 105 )
+insert ( 2361 '>=' 11 10 b f f 1082 1184 16 2385 2358 2355 337 398 )
+insert ( 2362 '>' 11 10 b f f 1082 1184 16 2384 2359 2354 104 108 )
+insert ( 2363 '<>' 11 10 b f f 1082 1184 16 2389 2360 2356 102 106 )
+insert ( 2371 '<' 11 10 b f f 1114 1082 16 2349 2374 2364 103 107 )
+insert ( 2372 '<=' 11 10 b f f 1114 1082 16 2348 2375 2365 336 386 )
+insert ( 2373 '=' 11 10 b t f 1114 1082 16 2347 2376 2366 101 105 )
+insert ( 2374 '>=' 11 10 b f f 1114 1082 16 2346 2371 2368 337 398 )
+insert ( 2375 '>' 11 10 b f f 1114 1082 16 2345 2372 2367 104 108 )
+insert ( 2376 '<>' 11 10 b f f 1114 1082 16 2350 2373 2369 102 106 )
+insert ( 2384 '<' 11 10 b f f 1184 1082 16 2362 2387 2377 103 107 )
+insert ( 2385 '<=' 11 10 b f f 1184 1082 16 2361 2388 2378 336 386 )
+insert ( 2386 '=' 11 10 b t f 1184 1082 16 2360 2389 2379 101 105 )
+insert ( 2387 '>=' 11 10 b f f 1184 1082 16 2359 2384 2381 337 398 )
+insert ( 2388 '>' 11 10 b f f 1184 1082 16 2358 2385 2380 104 108 )
+insert ( 2389 '<>' 11 10 b f f 1184 1082 16 2363 2386 2382 102 106 )
+insert ( 2534 '<' 11 10 b f f 1114 1184 16 2544 2537 2520 103 107 )
+insert ( 2535 '<=' 11 10 b f f 1114 1184 16 2543 2538 2521 336 386 )
+insert ( 2536 '=' 11 10 b t f 1114 1184 16 2542 2539 2522 101 105 )
+insert ( 2537 '>=' 11 10 b f f 1114 1184 16 2541 2534 2524 337 398 )
+insert ( 2538 '>' 11 10 b f f 1114 1184 16 2540 2535 2523 104 108 )
+insert ( 2539 '<>' 11 10 b f f 1114 1184 16 2545 2536 2525 102 106 )
+insert ( 2540 '<' 11 10 b f f 1184 1114 16 2538 2543 2527 103 107 )
+insert ( 2541 '<=' 11 10 b f f 1184 1114 16 2537 2544 2528 336 386 )
+insert ( 2542 '=' 11 10 b t f 1184 1114 16 2536 2545 2529 101 105 )
+insert ( 2543 '>=' 11 10 b f f 1184 1114 16 2535 2540 2531 337 398 )
+insert ( 2544 '>' 11 10 b f f 1184 1114 16 2534 2541 2530 104 108 )
+insert ( 2545 '<>' 11 10 b f f 1184 1114 16 2539 2542 2532 102 106 )
+insert ( 2551 '+' 11 10 b f f 1186 1082 1114 1076 0 2546 - - )
+insert ( 2552 '+' 11 10 b f f 1186 1266 1266 1802 0 2547 - - )
+insert ( 2553 '+' 11 10 b f f 1186 1114 1114 2066 0 2548 - - )
+insert ( 2554 '+' 11 10 b f f 1186 1184 1184 1327 0 2549 - - )
+insert ( 2555 '+' 11 10 b f f 23 1082 1082 1100 0 2550 - - )
+insert ( 2570 '<<|' 11 10 b f f 603 603 16 0 0 2562 1300 1301 )
+insert ( 2571 '&<|' 11 10 b f f 603 603 16 0 0 2563 1300 1301 )
+insert ( 2572 '|&>' 11 10 b f f 603 603 16 0 0 2564 1300 1301 )
+insert ( 2573 '|>>' 11 10 b f f 603 603 16 0 0 2565 1300 1301 )
+insert ( 2574 '<<|' 11 10 b f f 604 604 16 0 0 2566 1300 1301 )
+insert ( 2575 '&<|' 11 10 b f f 604 604 16 0 0 2567 1300 1301 )
+insert ( 2576 '|&>' 11 10 b f f 604 604 16 0 0 2568 1300 1301 )
+insert ( 2577 '|>>' 11 10 b f f 604 604 16 0 0 2569 1300 1301 )
+insert ( 2589 '&<|' 11 10 b f f 718 718 16 0 0 2587 1300 1301 )
+insert ( 2590 '|&>' 11 10 b f f 718 718 16 0 0 2588 1300 1301 )
+insert ( 2750 '&&' 11 10 b f f 2277 2277 16 2750 0 2747 3817 3818 )
+insert ( 2751 '@>' 11 10 b f f 2277 2277 16 2752 0 2748 3817 3818 )
+insert ( 2752 '<@' 11 10 b f f 2277 2277 16 2751 0 2749 3817 3818 )
+insert ( 2779 '||' 11 10 b f f 25 2776 25 0 0 2003 - - )
+insert ( 2780 '||' 11 10 b f f 2776 25 25 0 0 2004 - - )
+insert ( 2972 '=' 11 10 b t t 2950 2950 16 2972 2973 2956 101 105 )
+insert ( 2973 '<>' 11 10 b f f 2950 2950 16 2973 2972 2959 102 106 )
+insert ( 2974 '<' 11 10 b f f 2950 2950 16 2975 2977 2954 103 107 )
+insert ( 2975 '>' 11 10 b f f 2950 2950 16 2974 2976 2958 104 108 )
+insert ( 2976 '<=' 11 10 b f f 2950 2950 16 2977 2975 2955 336 386 )
+insert ( 2977 '>=' 11 10 b f f 2950 2950 16 2976 2974 2957 337 398 )
+insert ( 3222 '=' 11 10 b t t 3220 3220 16 3222 3223 3233 101 105 )
+insert ( 3223 '<>' 11 10 b f f 3220 3220 16 3223 3222 3236 102 106 )
+insert ( 3224 '<' 11 10 b f f 3220 3220 16 3225 3227 3231 103 107 )
+insert ( 3225 '>' 11 10 b f f 3220 3220 16 3224 3226 3235 104 108 )
+insert ( 3226 '<=' 11 10 b f f 3220 3220 16 3227 3225 3232 336 386 )
+insert ( 3227 '>=' 11 10 b f f 3220 3220 16 3226 3224 3234 337 398 )
+insert ( 3228 - 11 10 b f f 3220 3220 1700 0 0 3237 - - )
+insert ( 5025 '+' 11 10 b f f 3220 1700 3220 5026 0 5022 - - )
+insert ( 5026 '+' 11 10 b f f 1700 3220 3220 5025 0 5023 - - )
+insert ( 5027 - 11 10 b f f 3220 1700 3220 0 0 5024 - - )
+insert ( 3516 '=' 11 10 b t t 3500 3500 16 3516 3517 3508 101 105 )
+insert ( 3517 '<>' 11 10 b f f 3500 3500 16 3517 3516 3509 102 106 )
+insert ( 3518 '<' 11 10 b f f 3500 3500 16 3519 3521 3510 103 107 )
+insert ( 3519 '>' 11 10 b f f 3500 3500 16 3518 3520 3511 104 108 )
+insert ( 3520 '<=' 11 10 b f f 3500 3500 16 3521 3519 3512 336 386 )
+insert ( 3521 '>=' 11 10 b f f 3500 3500 16 3520 3518 3513 337 398 )
+insert ( 3627 '<' 11 10 b f f 3614 3614 16 3632 3631 3616 103 107 )
+insert ( 3628 '<=' 11 10 b f f 3614 3614 16 3631 3632 3617 336 386 )
+insert ( 3629 '=' 11 10 b t f 3614 3614 16 3629 3630 3618 101 105 )
+insert ( 3630 '<>' 11 10 b f f 3614 3614 16 3630 3629 3619 102 106 )
+insert ( 3631 '>=' 11 10 b f f 3614 3614 16 3628 3627 3620 337 398 )
+insert ( 3632 '>' 11 10 b f f 3614 3614 16 3627 3628 3621 104 108 )
+insert ( 3633 '||' 11 10 b f f 3614 3614 3614 0 0 3625 - - )
+insert ( 3636 '@@' 11 10 b f f 3614 3615 16 3637 0 3634 3686 3687 )
+insert ( 3637 '@@' 11 10 b f f 3615 3614 16 3636 0 3635 3686 3687 )
+insert ( 3660 '@@@' 11 10 b f f 3614 3615 16 3661 0 3634 3686 3687 )
+insert ( 3661 '@@@' 11 10 b f f 3615 3614 16 3660 0 3635 3686 3687 )
+insert ( 3674 '<' 11 10 b f f 3615 3615 16 3679 3678 3662 103 107 )
+insert ( 3675 '<=' 11 10 b f f 3615 3615 16 3678 3679 3663 336 386 )
+insert ( 3676 '=' 11 10 b t f 3615 3615 16 3676 3677 3664 101 105 )
+insert ( 3677 '<>' 11 10 b f f 3615 3615 16 3677 3676 3665 102 106 )
+insert ( 3678 '>=' 11 10 b f f 3615 3615 16 3675 3674 3666 337 398 )
+insert ( 3679 '>' 11 10 b f f 3615 3615 16 3674 3675 3667 104 108 )
+insert ( 3680 '&&' 11 10 b f f 3615 3615 3615 0 0 3669 - - )
+insert ( 3681 '||' 11 10 b f f 3615 3615 3615 0 0 3670 - - )
+insert ( 5005 '<->' 11 10 b f f 3615 3615 3615 0 0 5003 - - )
+insert ( 3682 '!!' 11 10 l f f 0 3615 3615 0 0 3671 - - )
+insert ( 3693 '@>' 11 10 b f f 3615 3615 16 3694 0 3691 5040 5041 )
+insert ( 3694 '<@' 11 10 b f f 3615 3615 16 3693 0 3692 5040 5041 )
+insert ( 3762 '@@' 11 10 b f f 25 25 16 0 0 3760 5040 5041 )
+insert ( 3763 '@@' 11 10 b f f 25 3615 16 0 0 3761 5040 5041 )
+insert ( 2988 '=' 11 10 b t t 2249 2249 16 2988 2989 2981 101 105 )
+insert ( 2989 '<>' 11 10 b f f 2249 2249 16 2989 2988 2982 102 106 )
+insert ( 2990 '<' 11 10 b f f 2249 2249 16 2991 2993 2983 103 107 )
+insert ( 2991 '>' 11 10 b f f 2249 2249 16 2990 2992 2984 104 108 )
+insert ( 2992 '<=' 11 10 b f f 2249 2249 16 2993 2991 2985 336 386 )
+insert ( 2993 '>=' 11 10 b f f 2249 2249 16 2992 2990 2986 337 398 )
+insert ( 3188 '*=' 11 10 b t f 2249 2249 16 3188 3189 3181 101 105 )
+insert ( 3189 '*<>' 11 10 b f f 2249 2249 16 3189 3188 3182 102 106 )
+insert ( 3190 '*<' 11 10 b f f 2249 2249 16 3191 3193 3183 103 107 )
+insert ( 3191 '*>' 11 10 b f f 2249 2249 16 3190 3192 3184 104 108 )
+insert ( 3192 '*<=' 11 10 b f f 2249 2249 16 3193 3191 3185 336 386 )
+insert ( 3193 '*>=' 11 10 b f f 2249 2249 16 3192 3190 3186 337 398 )
+insert ( 3882 '=' 11 10 b t t 3831 3831 16 3882 3883 3855 101 105 )
+insert ( 3883 '<>' 11 10 b f f 3831 3831 16 3883 3882 3856 102 106 )
+insert ( 3884 '<' 11 10 b f f 3831 3831 16 3887 3886 3871 3169 107 )
+insert ( 3885 '<=' 11 10 b f f 3831 3831 16 3886 3887 3872 3169 386 )
+insert ( 3886 '>=' 11 10 b f f 3831 3831 16 3885 3884 3873 3169 398 )
+insert ( 3887 '>' 11 10 b f f 3831 3831 16 3884 3885 3874 3169 108 )
+insert ( 3888 '&&' 11 10 b f f 3831 3831 16 3888 0 3857 3169 140 )
+insert ( 3889 '@>' 11 10 b f f 3831 2283 16 3891 0 3858 3169 1303 )
+insert ( 3890 '@>' 11 10 b f f 3831 3831 16 3892 0 3859 3169 1303 )
+insert ( 3891 '<@' 11 10 b f f 2283 3831 16 3889 0 3860 3169 1303 )
+insert ( 3892 '<@' 11 10 b f f 3831 3831 16 3890 0 3861 3169 1303 )
+insert ( 3893 '<<' 11 10 b f f 3831 3831 16 3894 0 3863 3169 107 )
+insert ( 3894 '>>' 11 10 b f f 3831 3831 16 3893 0 3864 3169 108 )
+insert ( 3895 '&<' 11 10 b f f 3831 3831 16 0 0 3865 3169 107 )
+insert ( 3896 '&>' 11 10 b f f 3831 3831 16 0 0 3866 3169 108 )
+insert ( 3897 '-|-' 11 10 b f f 3831 3831 16 3897 0 3862 5040 5041 )
+insert ( 3898 '+' 11 10 b f f 3831 3831 3831 3898 0 3867 - - )
+insert ( 3899 - 11 10 b f f 3831 3831 3831 0 0 3869 - - )
+insert ( 3900 '*' 11 10 b f f 3831 3831 3831 3900 0 3868 - - )
+insert ( 3962 '->' 11 10 b f f 114 25 114 0 0 3947 - - )
+insert ( 3963 '->>' 11 10 b f f 114 25 25 0 0 3948 - - )
+insert ( 3964 '->' 11 10 b f f 114 23 114 0 0 3949 - - )
+insert ( 3965 '->>' 11 10 b f f 114 23 25 0 0 3950 - - )
+insert ( 3966 '#>' 11 10 b f f 114 1009 114 0 0 3951 - - )
+insert ( 3967 '#>>' 11 10 b f f 114 1009 25 0 0 3953 - - )
+insert ( 3211 '->' 11 10 b f f 3802 25 3802 0 0 3478 - - )
+insert ( 3477 '->>' 11 10 b f f 3802 25 25 0 0 3214 - - )
+insert ( 3212 '->' 11 10 b f f 3802 23 3802 0 0 3215 - - )
+insert ( 3481 '->>' 11 10 b f f 3802 23 25 0 0 3216 - - )
+insert ( 3213 '#>' 11 10 b f f 3802 1009 3802 0 0 3217 - - )
+insert ( 3206 '#>>' 11 10 b f f 3802 1009 25 0 0 3940 - - )
+insert ( 3240 '=' 11 10 b t t 3802 3802 16 3240 3241 4043 101 105 )
+insert ( 3241 '<>' 11 10 b f f 3802 3802 16 3241 3240 4038 102 106 )
+insert ( 3242 '<' 11 10 b f f 3802 3802 16 3243 3245 4039 103 107 )
+insert ( 3243 '>' 11 10 b f f 3802 3802 16 3242 3244 4040 104 108 )
+insert ( 3244 '<=' 11 10 b f f 3802 3802 16 3245 3243 4041 336 386 )
+insert ( 3245 '>=' 11 10 b f f 3802 3802 16 3244 3242 4042 337 398 )
+insert ( 3246 '@>' 11 10 b f f 3802 3802 16 3250 0 4046 5040 5041 )
+insert ( 3247 '?' 11 10 b f f 3802 25 16 0 0 4047 5040 5041 )
+insert ( 3248 '?|' 11 10 b f f 3802 1009 16 0 0 4048 5040 5041 )
+insert ( 3249 '?&' 11 10 b f f 3802 1009 16 0 0 4049 5040 5041 )
+insert ( 3250 '<@' 11 10 b f f 3802 3802 16 3246 0 4050 5040 5041 )
+insert ( 3284 '||' 11 10 b f f 3802 3802 3802 0 0 3301 - - )
+insert ( 3285 - 11 10 b f f 3802 25 3802 0 0 3302 - - )
+insert ( 3398 - 11 10 b f f 3802 1009 3802 0 0 3343 - - )
+insert ( 3286 - 11 10 b f f 3802 23 3802 0 0 3303 - - )
+insert ( 3287 '#-' 11 10 b f f 3802 1009 3802 0 0 3304 - - )
+insert ( 4012 '@?' 11 10 b f f 3802 4072 16 0 0 4010 5040 5041 )
+insert ( 4013 '@@' 11 10 b f f 3802 4072 16 0 0 4011 5040 5041 )
+insert ( 2860 '=' 11 10 b t t 4537 4537 16 2860 2861 4244 101 105 )
+insert ( 2861 '<>' 11 10 b f f 4537 4537 16 2861 2860 4245 102 106 )
+insert ( 2862 '<' 11 10 b f f 4537 4537 16 2865 2864 4274 4243 107 )
+insert ( 2863 '<=' 11 10 b f f 4537 4537 16 2864 2865 4275 4243 386 )
+insert ( 2864 '>=' 11 10 b f f 4537 4537 16 2863 2862 4276 4243 398 )
+insert ( 2865 '>' 11 10 b f f 4537 4537 16 2862 2863 4277 4243 108 )
+insert ( 2866 '&&' 11 10 b f f 3831 4537 16 2867 0 4246 4243 140 )
+insert ( 2867 '&&' 11 10 b f f 4537 3831 16 2866 0 4247 4243 140 )
+insert ( 2868 '&&' 11 10 b f f 4537 4537 16 2868 0 4248 4243 140 )
+insert ( 2869 '@>' 11 10 b f f 4537 2283 16 2872 0 4249 4243 1303 )
+insert ( 2870 '@>' 11 10 b f f 4537 3831 16 2873 0 4250 4243 1303 )
+insert ( 2871 '@>' 11 10 b f f 4537 4537 16 2874 0 4251 4243 1303 )
+insert ( 2872 '<@' 11 10 b f f 2283 4537 16 2869 0 4252 4243 1303 )
+insert ( 2873 '<@' 11 10 b f f 3831 4537 16 2870 0 4253 4243 1303 )
+insert ( 2874 '<@' 11 10 b f f 4537 4537 16 2871 0 4254 4243 1303 )
+insert ( 4539 '@>' 11 10 b f f 3831 4537 16 4540 0 4541 4243 1303 )
+insert ( 4540 '<@' 11 10 b f f 4537 3831 16 4539 0 4542 4243 1303 )
+insert ( 2875 '&<' 11 10 b f f 3831 4537 16 0 0 4264 4243 107 )
+insert ( 2876 '&<' 11 10 b f f 4537 3831 16 0 0 4265 4243 107 )
+insert ( 2877 '&<' 11 10 b f f 4537 4537 16 0 0 4266 4243 107 )
+insert ( 3585 '&>' 11 10 b f f 3831 4537 16 0 0 4267 4243 108 )
+insert ( 4035 '&>' 11 10 b f f 4537 3831 16 0 0 4268 4243 108 )
+insert ( 4142 '&>' 11 10 b f f 4537 4537 16 0 0 4269 4243 108 )
+insert ( 4179 '-|-' 11 10 b f f 3831 4537 16 4180 0 4255 5040 5041 )
+insert ( 4180 '-|-' 11 10 b f f 4537 3831 16 4179 0 4257 5040 5041 )
+insert ( 4198 '-|-' 11 10 b f f 4537 4537 16 4198 0 4256 5040 5041 )
+insert ( 4392 '+' 11 10 b f f 4537 4537 4537 4392 0 4270 - - )
+insert ( 4393 - 11 10 b f f 4537 4537 4537 0 0 4271 - - )
+insert ( 4394 '*' 11 10 b f f 4537 4537 4537 4394 0 4272 - - )
+insert ( 4395 '<<' 11 10 b f f 3831 4537 16 4399 0 4258 4243 107 )
+insert ( 4396 '<<' 11 10 b f f 4537 3831 16 4398 0 4259 4243 107 )
+insert ( 4397 '<<' 11 10 b f f 4537 4537 16 4400 0 4260 4243 107 )
+insert ( 4398 '>>' 11 10 b f f 3831 4537 16 4396 0 4261 4243 108 )
+insert ( 4399 '>>' 11 10 b f f 4537 3831 16 4395 0 4262 4243 108 )
+insert ( 4400 '>>' 11 10 b f f 4537 4537 16 4397 0 4263 4243 108 )
+close pg_operator
+create pg_opfamily 2753
+ (
+ oid = oid ,
+ opfmethod = oid ,
+ opfname = name ,
+ opfnamespace = oid ,
+ opfowner = oid
+ )
+open pg_opfamily
+insert ( 397 403 array_ops 11 10 )
+insert ( 627 405 array_ops 11 10 )
+insert ( 423 403 bit_ops 11 10 )
+insert ( 424 403 bool_ops 11 10 )
+insert ( 426 403 bpchar_ops 11 10 )
+insert ( 427 405 bpchar_ops 11 10 )
+insert ( 428 403 bytea_ops 11 10 )
+insert ( 429 403 char_ops 11 10 )
+insert ( 431 405 char_ops 11 10 )
+insert ( 434 403 datetime_ops 11 10 )
+insert ( 435 405 date_ops 11 10 )
+insert ( 1970 403 float_ops 11 10 )
+insert ( 1971 405 float_ops 11 10 )
+insert ( 1974 403 network_ops 11 10 )
+insert ( 1975 405 network_ops 11 10 )
+insert ( 3550 783 network_ops 11 10 )
+insert ( 3794 4000 network_ops 11 10 )
+insert ( 1976 403 integer_ops 11 10 )
+insert ( 1977 405 integer_ops 11 10 )
+insert ( 1982 403 interval_ops 11 10 )
+insert ( 1983 405 interval_ops 11 10 )
+insert ( 1984 403 macaddr_ops 11 10 )
+insert ( 1985 405 macaddr_ops 11 10 )
+insert ( 3371 403 macaddr8_ops 11 10 )
+insert ( 3372 405 macaddr8_ops 11 10 )
+insert ( 1988 403 numeric_ops 11 10 )
+insert ( 1998 405 numeric_ops 11 10 )
+insert ( 1989 403 oid_ops 11 10 )
+insert ( 1990 405 oid_ops 11 10 )
+insert ( 1991 403 oidvector_ops 11 10 )
+insert ( 1992 405 oidvector_ops 11 10 )
+insert ( 2994 403 record_ops 11 10 )
+insert ( 6194 405 record_ops 11 10 )
+insert ( 3194 403 record_image_ops 11 10 )
+insert ( 1994 403 text_ops 11 10 )
+insert ( 1995 405 text_ops 11 10 )
+insert ( 1996 403 time_ops 11 10 )
+insert ( 1997 405 time_ops 11 10 )
+insert ( 1999 405 timestamptz_ops 11 10 )
+insert ( 2000 403 timetz_ops 11 10 )
+insert ( 2001 405 timetz_ops 11 10 )
+insert ( 2002 403 varbit_ops 11 10 )
+insert ( 2040 405 timestamp_ops 11 10 )
+insert ( 2095 403 text_pattern_ops 11 10 )
+insert ( 2097 403 bpchar_pattern_ops 11 10 )
+insert ( 2099 403 money_ops 11 10 )
+insert ( 2222 405 bool_ops 11 10 )
+insert ( 2223 405 bytea_ops 11 10 )
+insert ( 2789 403 tid_ops 11 10 )
+insert ( 2225 405 xid_ops 11 10 )
+insert ( 5032 405 xid8_ops 11 10 )
+insert ( 5067 403 xid8_ops 11 10 )
+insert ( 2226 405 cid_ops 11 10 )
+insert ( 2227 405 tid_ops 11 10 )
+insert ( 2229 405 text_pattern_ops 11 10 )
+insert ( 2231 405 bpchar_pattern_ops 11 10 )
+insert ( 2235 405 aclitem_ops 11 10 )
+insert ( 2593 783 box_ops 11 10 )
+insert ( 2594 783 poly_ops 11 10 )
+insert ( 2595 783 circle_ops 11 10 )
+insert ( 1029 783 point_ops 11 10 )
+insert ( 2745 2742 array_ops 11 10 )
+insert ( 2968 403 uuid_ops 11 10 )
+insert ( 2969 405 uuid_ops 11 10 )
+insert ( 3253 403 pg_lsn_ops 11 10 )
+insert ( 3254 405 pg_lsn_ops 11 10 )
+insert ( 3522 403 enum_ops 11 10 )
+insert ( 3523 405 enum_ops 11 10 )
+insert ( 3626 403 tsvector_ops 11 10 )
+insert ( 3655 783 tsvector_ops 11 10 )
+insert ( 3659 2742 tsvector_ops 11 10 )
+insert ( 3683 403 tsquery_ops 11 10 )
+insert ( 3702 783 tsquery_ops 11 10 )
+insert ( 3901 403 range_ops 11 10 )
+insert ( 3903 405 range_ops 11 10 )
+insert ( 3919 783 range_ops 11 10 )
+insert ( 3474 4000 range_ops 11 10 )
+insert ( 4015 4000 quad_point_ops 11 10 )
+insert ( 4016 4000 kd_point_ops 11 10 )
+insert ( 4017 4000 text_ops 11 10 )
+insert ( 4033 403 jsonb_ops 11 10 )
+insert ( 4034 405 jsonb_ops 11 10 )
+insert ( 4036 2742 jsonb_ops 11 10 )
+insert ( 4037 2742 jsonb_path_ops 11 10 )
+insert ( 4054 3580 integer_minmax_ops 11 10 )
+insert ( 4602 3580 integer_minmax_multi_ops 11 10 )
+insert ( 4572 3580 integer_bloom_ops 11 10 )
+insert ( 4055 3580 numeric_minmax_ops 11 10 )
+insert ( 4603 3580 numeric_minmax_multi_ops 11 10 )
+insert ( 4056 3580 text_minmax_ops 11 10 )
+insert ( 4573 3580 text_bloom_ops 11 10 )
+insert ( 4574 3580 numeric_bloom_ops 11 10 )
+insert ( 4058 3580 timetz_minmax_ops 11 10 )
+insert ( 4604 3580 timetz_minmax_multi_ops 11 10 )
+insert ( 4575 3580 timetz_bloom_ops 11 10 )
+insert ( 4059 3580 datetime_minmax_ops 11 10 )
+insert ( 4605 3580 datetime_minmax_multi_ops 11 10 )
+insert ( 4576 3580 datetime_bloom_ops 11 10 )
+insert ( 4062 3580 char_minmax_ops 11 10 )
+insert ( 4577 3580 char_bloom_ops 11 10 )
+insert ( 4064 3580 bytea_minmax_ops 11 10 )
+insert ( 4578 3580 bytea_bloom_ops 11 10 )
+insert ( 4065 3580 name_minmax_ops 11 10 )
+insert ( 4579 3580 name_bloom_ops 11 10 )
+insert ( 4068 3580 oid_minmax_ops 11 10 )
+insert ( 4606 3580 oid_minmax_multi_ops 11 10 )
+insert ( 4580 3580 oid_bloom_ops 11 10 )
+insert ( 4069 3580 tid_minmax_ops 11 10 )
+insert ( 4581 3580 tid_bloom_ops 11 10 )
+insert ( 4607 3580 tid_minmax_multi_ops 11 10 )
+insert ( 4070 3580 float_minmax_ops 11 10 )
+insert ( 4608 3580 float_minmax_multi_ops 11 10 )
+insert ( 4582 3580 float_bloom_ops 11 10 )
+insert ( 4074 3580 macaddr_minmax_ops 11 10 )
+insert ( 4609 3580 macaddr_minmax_multi_ops 11 10 )
+insert ( 4583 3580 macaddr_bloom_ops 11 10 )
+insert ( 4109 3580 macaddr8_minmax_ops 11 10 )
+insert ( 4610 3580 macaddr8_minmax_multi_ops 11 10 )
+insert ( 4584 3580 macaddr8_bloom_ops 11 10 )
+insert ( 4075 3580 network_minmax_ops 11 10 )
+insert ( 4611 3580 network_minmax_multi_ops 11 10 )
+insert ( 4102 3580 network_inclusion_ops 11 10 )
+insert ( 4585 3580 network_bloom_ops 11 10 )
+insert ( 4076 3580 bpchar_minmax_ops 11 10 )
+insert ( 4586 3580 bpchar_bloom_ops 11 10 )
+insert ( 4077 3580 time_minmax_ops 11 10 )
+insert ( 4612 3580 time_minmax_multi_ops 11 10 )
+insert ( 4587 3580 time_bloom_ops 11 10 )
+insert ( 4078 3580 interval_minmax_ops 11 10 )
+insert ( 4613 3580 interval_minmax_multi_ops 11 10 )
+insert ( 4588 3580 interval_bloom_ops 11 10 )
+insert ( 4079 3580 bit_minmax_ops 11 10 )
+insert ( 4080 3580 varbit_minmax_ops 11 10 )
+insert ( 4081 3580 uuid_minmax_ops 11 10 )
+insert ( 4614 3580 uuid_minmax_multi_ops 11 10 )
+insert ( 4589 3580 uuid_bloom_ops 11 10 )
+insert ( 4103 3580 range_inclusion_ops 11 10 )
+insert ( 4082 3580 pg_lsn_minmax_ops 11 10 )
+insert ( 4615 3580 pg_lsn_minmax_multi_ops 11 10 )
+insert ( 4590 3580 pg_lsn_bloom_ops 11 10 )
+insert ( 4104 3580 box_inclusion_ops 11 10 )
+insert ( 5000 4000 box_ops 11 10 )
+insert ( 5008 4000 poly_ops 11 10 )
+insert ( 4199 403 multirange_ops 11 10 )
+insert ( 4225 405 multirange_ops 11 10 )
+insert ( 6158 783 multirange_ops 11 10 )
+close pg_opfamily
+create pg_opclass 2616
+ (
+ oid = oid ,
+ opcmethod = oid ,
+ opcname = name ,
+ opcnamespace = oid ,
+ opcowner = oid ,
+ opcfamily = oid ,
+ opcintype = oid ,
+ opcdefault = bool ,
+ opckeytype = oid
+ )
+open pg_opclass
+insert ( 10000 403 array_ops 11 10 397 2277 t 0 )
+insert ( 10001 405 array_ops 11 10 627 2277 t 0 )
+insert ( 10002 403 bit_ops 11 10 423 1560 t 0 )
+insert ( 10003 403 bool_ops 11 10 424 16 t 0 )
+insert ( 10004 403 bpchar_ops 11 10 426 1042 t 0 )
+insert ( 10005 405 bpchar_ops 11 10 427 1042 t 0 )
+insert ( 10006 403 bytea_ops 11 10 428 17 t 0 )
+insert ( 10007 403 char_ops 11 10 429 18 t 0 )
+insert ( 10008 405 char_ops 11 10 431 18 t 0 )
+insert ( 10009 403 cidr_ops 11 10 1974 869 f 0 )
+insert ( 10010 405 cidr_ops 11 10 1975 869 f 0 )
+insert ( 3122 403 date_ops 11 10 434 1082 t 0 )
+insert ( 10011 405 date_ops 11 10 435 1082 t 0 )
+insert ( 10012 403 float4_ops 11 10 1970 700 t 0 )
+insert ( 10013 405 float4_ops 11 10 1971 700 t 0 )
+insert ( 3123 403 float8_ops 11 10 1970 701 t 0 )
+insert ( 10014 405 float8_ops 11 10 1971 701 t 0 )
+insert ( 10015 403 inet_ops 11 10 1974 869 t 0 )
+insert ( 10016 405 inet_ops 11 10 1975 869 t 0 )
+insert ( 10017 783 inet_ops 11 10 3550 869 f 0 )
+insert ( 10018 4000 inet_ops 11 10 3794 869 t 0 )
+insert ( 1979 403 int2_ops 11 10 1976 21 t 0 )
+insert ( 10019 405 int2_ops 11 10 1977 21 t 0 )
+insert ( 1978 403 int4_ops 11 10 1976 23 t 0 )
+insert ( 10020 405 int4_ops 11 10 1977 23 t 0 )
+insert ( 3124 403 int8_ops 11 10 1976 20 t 0 )
+insert ( 10021 405 int8_ops 11 10 1977 20 t 0 )
+insert ( 10022 403 interval_ops 11 10 1982 1186 t 0 )
+insert ( 10023 405 interval_ops 11 10 1983 1186 t 0 )
+insert ( 10024 403 macaddr_ops 11 10 1984 829 t 0 )
+insert ( 10025 405 macaddr_ops 11 10 1985 829 t 0 )
+insert ( 10026 403 macaddr8_ops 11 10 3371 774 t 0 )
+insert ( 10027 405 macaddr8_ops 11 10 3372 774 t 0 )
+insert ( 10028 403 name_ops 11 10 1994 19 t 2275 )
+insert ( 10029 405 name_ops 11 10 1995 19 t 0 )
+insert ( 3125 403 numeric_ops 11 10 1988 1700 t 0 )
+insert ( 10030 405 numeric_ops 11 10 1998 1700 t 0 )
+insert ( 1981 403 oid_ops 11 10 1989 26 t 0 )
+insert ( 10031 405 oid_ops 11 10 1990 26 t 0 )
+insert ( 10032 403 oidvector_ops 11 10 1991 30 t 0 )
+insert ( 10033 405 oidvector_ops 11 10 1992 30 t 0 )
+insert ( 10034 403 record_ops 11 10 2994 2249 t 0 )
+insert ( 10035 405 record_ops 11 10 6194 2249 t 0 )
+insert ( 10036 403 record_image_ops 11 10 3194 2249 f 0 )
+insert ( 3126 403 text_ops 11 10 1994 25 t 0 )
+insert ( 10037 405 text_ops 11 10 1995 25 t 0 )
+insert ( 10038 403 time_ops 11 10 1996 1083 t 0 )
+insert ( 10039 405 time_ops 11 10 1997 1083 t 0 )
+insert ( 3127 403 timestamptz_ops 11 10 434 1184 t 0 )
+insert ( 10040 405 timestamptz_ops 11 10 1999 1184 t 0 )
+insert ( 10041 403 timetz_ops 11 10 2000 1266 t 0 )
+insert ( 10042 405 timetz_ops 11 10 2001 1266 t 0 )
+insert ( 10043 403 varbit_ops 11 10 2002 1562 t 0 )
+insert ( 10044 403 varchar_ops 11 10 1994 25 f 0 )
+insert ( 10045 405 varchar_ops 11 10 1995 25 f 0 )
+insert ( 3128 403 timestamp_ops 11 10 434 1114 t 0 )
+insert ( 10046 405 timestamp_ops 11 10 2040 1114 t 0 )
+insert ( 4217 403 text_pattern_ops 11 10 2095 25 f 0 )
+insert ( 4218 403 varchar_pattern_ops 11 10 2095 25 f 0 )
+insert ( 4219 403 bpchar_pattern_ops 11 10 2097 1042 f 0 )
+insert ( 10047 403 money_ops 11 10 2099 790 t 0 )
+insert ( 10048 405 bool_ops 11 10 2222 16 t 0 )
+insert ( 10049 405 bytea_ops 11 10 2223 17 t 0 )
+insert ( 10050 403 tid_ops 11 10 2789 27 t 0 )
+insert ( 10051 405 xid_ops 11 10 2225 28 t 0 )
+insert ( 10052 405 xid8_ops 11 10 5032 5069 t 0 )
+insert ( 10053 403 xid8_ops 11 10 5067 5069 t 0 )
+insert ( 10054 405 cid_ops 11 10 2226 29 t 0 )
+insert ( 10055 405 tid_ops 11 10 2227 27 t 0 )
+insert ( 10056 405 text_pattern_ops 11 10 2229 25 f 0 )
+insert ( 10057 405 varchar_pattern_ops 11 10 2229 25 f 0 )
+insert ( 10058 405 bpchar_pattern_ops 11 10 2231 1042 f 0 )
+insert ( 10059 405 aclitem_ops 11 10 2235 1033 t 0 )
+insert ( 10060 783 box_ops 11 10 2593 603 t 0 )
+insert ( 10061 783 point_ops 11 10 1029 600 t 603 )
+insert ( 10062 783 poly_ops 11 10 2594 604 t 603 )
+insert ( 10063 783 circle_ops 11 10 2595 718 t 603 )
+insert ( 10064 2742 array_ops 11 10 2745 2277 t 2283 )
+insert ( 10065 403 uuid_ops 11 10 2968 2950 t 0 )
+insert ( 10066 405 uuid_ops 11 10 2969 2950 t 0 )
+insert ( 10067 403 pg_lsn_ops 11 10 3253 3220 t 0 )
+insert ( 10068 405 pg_lsn_ops 11 10 3254 3220 t 0 )
+insert ( 10069 403 enum_ops 11 10 3522 3500 t 0 )
+insert ( 10070 405 enum_ops 11 10 3523 3500 t 0 )
+insert ( 10071 403 tsvector_ops 11 10 3626 3614 t 0 )
+insert ( 10072 783 tsvector_ops 11 10 3655 3614 t 3642 )
+insert ( 10073 2742 tsvector_ops 11 10 3659 3614 t 25 )
+insert ( 10074 403 tsquery_ops 11 10 3683 3615 t 0 )
+insert ( 10075 783 tsquery_ops 11 10 3702 3615 t 20 )
+insert ( 10076 403 range_ops 11 10 3901 3831 t 0 )
+insert ( 10077 405 range_ops 11 10 3903 3831 t 0 )
+insert ( 10078 783 range_ops 11 10 3919 3831 t 0 )
+insert ( 10079 4000 range_ops 11 10 3474 3831 t 0 )
+insert ( 10080 403 multirange_ops 11 10 4199 4537 t 0 )
+insert ( 10081 405 multirange_ops 11 10 4225 4537 t 0 )
+insert ( 10082 783 multirange_ops 11 10 6158 4537 t 3831 )
+insert ( 10083 4000 box_ops 11 10 5000 603 t 0 )
+insert ( 10084 4000 quad_point_ops 11 10 4015 600 t 0 )
+insert ( 10085 4000 kd_point_ops 11 10 4016 600 f 0 )
+insert ( 10086 4000 text_ops 11 10 4017 25 t 0 )
+insert ( 10087 4000 poly_ops 11 10 5008 604 t 603 )
+insert ( 10088 403 jsonb_ops 11 10 4033 3802 t 0 )
+insert ( 10089 405 jsonb_ops 11 10 4034 3802 t 0 )
+insert ( 10090 2742 jsonb_ops 11 10 4036 3802 t 25 )
+insert ( 10091 2742 jsonb_path_ops 11 10 4037 3802 f 23 )
+insert ( 10092 3580 bytea_minmax_ops 11 10 4064 17 t 17 )
+insert ( 10093 3580 bytea_bloom_ops 11 10 4578 17 f 17 )
+insert ( 10094 3580 char_minmax_ops 11 10 4062 18 t 18 )
+insert ( 10095 3580 char_bloom_ops 11 10 4577 18 f 18 )
+insert ( 10096 3580 name_minmax_ops 11 10 4065 19 t 19 )
+insert ( 10097 3580 name_bloom_ops 11 10 4579 19 f 19 )
+insert ( 10098 3580 int8_minmax_ops 11 10 4054 20 t 20 )
+insert ( 10099 3580 int8_minmax_multi_ops 11 10 4602 20 f 20 )
+insert ( 10100 3580 int8_bloom_ops 11 10 4572 20 f 20 )
+insert ( 10101 3580 int2_minmax_ops 11 10 4054 21 t 21 )
+insert ( 10102 3580 int2_minmax_multi_ops 11 10 4602 21 f 21 )
+insert ( 10103 3580 int2_bloom_ops 11 10 4572 21 f 21 )
+insert ( 10104 3580 int4_minmax_ops 11 10 4054 23 t 23 )
+insert ( 10105 3580 int4_minmax_multi_ops 11 10 4602 23 f 23 )
+insert ( 10106 3580 int4_bloom_ops 11 10 4572 23 f 23 )
+insert ( 10107 3580 text_minmax_ops 11 10 4056 25 t 25 )
+insert ( 10108 3580 text_bloom_ops 11 10 4573 25 f 25 )
+insert ( 10109 3580 oid_minmax_ops 11 10 4068 26 t 26 )
+insert ( 10110 3580 oid_minmax_multi_ops 11 10 4606 26 f 26 )
+insert ( 10111 3580 oid_bloom_ops 11 10 4580 26 f 26 )
+insert ( 10112 3580 tid_minmax_ops 11 10 4069 27 t 27 )
+insert ( 10113 3580 tid_bloom_ops 11 10 4581 27 f 27 )
+insert ( 10114 3580 tid_minmax_multi_ops 11 10 4607 27 f 27 )
+insert ( 10115 3580 float4_minmax_ops 11 10 4070 700 t 700 )
+insert ( 10116 3580 float4_minmax_multi_ops 11 10 4608 700 f 700 )
+insert ( 10117 3580 float4_bloom_ops 11 10 4582 700 f 700 )
+insert ( 10118 3580 float8_minmax_ops 11 10 4070 701 t 701 )
+insert ( 10119 3580 float8_minmax_multi_ops 11 10 4608 701 f 701 )
+insert ( 10120 3580 float8_bloom_ops 11 10 4582 701 f 701 )
+insert ( 10121 3580 macaddr_minmax_ops 11 10 4074 829 t 829 )
+insert ( 10122 3580 macaddr_minmax_multi_ops 11 10 4609 829 f 829 )
+insert ( 10123 3580 macaddr_bloom_ops 11 10 4583 829 f 829 )
+insert ( 10124 3580 macaddr8_minmax_ops 11 10 4109 774 t 774 )
+insert ( 10125 3580 macaddr8_minmax_multi_ops 11 10 4610 774 f 774 )
+insert ( 10126 3580 macaddr8_bloom_ops 11 10 4584 774 f 774 )
+insert ( 10127 3580 inet_minmax_ops 11 10 4075 869 f 869 )
+insert ( 10128 3580 inet_minmax_multi_ops 11 10 4611 869 f 869 )
+insert ( 10129 3580 inet_bloom_ops 11 10 4585 869 f 869 )
+insert ( 10130 3580 inet_inclusion_ops 11 10 4102 869 t 869 )
+insert ( 10131 3580 bpchar_minmax_ops 11 10 4076 1042 t 1042 )
+insert ( 10132 3580 bpchar_bloom_ops 11 10 4586 1042 f 1042 )
+insert ( 10133 3580 time_minmax_ops 11 10 4077 1083 t 1083 )
+insert ( 10134 3580 time_minmax_multi_ops 11 10 4612 1083 f 1083 )
+insert ( 10135 3580 time_bloom_ops 11 10 4587 1083 f 1083 )
+insert ( 10136 3580 date_minmax_ops 11 10 4059 1082 t 1082 )
+insert ( 10137 3580 date_minmax_multi_ops 11 10 4605 1082 f 1082 )
+insert ( 10138 3580 date_bloom_ops 11 10 4576 1082 f 1082 )
+insert ( 10139 3580 timestamp_minmax_ops 11 10 4059 1114 t 1114 )
+insert ( 10140 3580 timestamp_minmax_multi_ops 11 10 4605 1114 f 1114 )
+insert ( 10141 3580 timestamp_bloom_ops 11 10 4576 1114 f 1114 )
+insert ( 10142 3580 timestamptz_minmax_ops 11 10 4059 1184 t 1184 )
+insert ( 10143 3580 timestamptz_minmax_multi_ops 11 10 4605 1184 f 1184 )
+insert ( 10144 3580 timestamptz_bloom_ops 11 10 4576 1184 f 1184 )
+insert ( 10145 3580 interval_minmax_ops 11 10 4078 1186 t 1186 )
+insert ( 10146 3580 interval_minmax_multi_ops 11 10 4613 1186 f 1186 )
+insert ( 10147 3580 interval_bloom_ops 11 10 4588 1186 f 1186 )
+insert ( 10148 3580 timetz_minmax_ops 11 10 4058 1266 t 1266 )
+insert ( 10149 3580 timetz_minmax_multi_ops 11 10 4604 1266 f 1266 )
+insert ( 10150 3580 timetz_bloom_ops 11 10 4575 1266 f 1266 )
+insert ( 10151 3580 bit_minmax_ops 11 10 4079 1560 t 1560 )
+insert ( 10152 3580 varbit_minmax_ops 11 10 4080 1562 t 1562 )
+insert ( 10153 3580 numeric_minmax_ops 11 10 4055 1700 t 1700 )
+insert ( 10154 3580 numeric_minmax_multi_ops 11 10 4603 1700 f 1700 )
+insert ( 10155 3580 numeric_bloom_ops 11 10 4574 1700 f 1700 )
+insert ( 10156 3580 uuid_minmax_ops 11 10 4081 2950 t 2950 )
+insert ( 10157 3580 uuid_minmax_multi_ops 11 10 4614 2950 f 2950 )
+insert ( 10158 3580 uuid_bloom_ops 11 10 4589 2950 f 2950 )
+insert ( 10159 3580 range_inclusion_ops 11 10 4103 3831 t 3831 )
+insert ( 10160 3580 pg_lsn_minmax_ops 11 10 4082 3220 t 3220 )
+insert ( 10161 3580 pg_lsn_minmax_multi_ops 11 10 4615 3220 f 3220 )
+insert ( 10162 3580 pg_lsn_bloom_ops 11 10 4590 3220 f 3220 )
+insert ( 10163 3580 box_inclusion_ops 11 10 4104 603 t 603 )
+close pg_opclass
+create pg_am 2601
+ (
+ oid = oid ,
+ amname = name ,
+ amhandler = regproc ,
+ amtype = char
+ )
+open pg_am
+insert ( 2 heap 3 t )
+insert ( 403 btree 330 i )
+insert ( 405 hash 331 i )
+insert ( 783 gist 332 i )
+insert ( 2742 gin 333 i )
+insert ( 4000 spgist 334 i )
+insert ( 3580 brin 335 i )
+close pg_am
+create pg_amop 2602
+ (
+ oid = oid ,
+ amopfamily = oid ,
+ amoplefttype = oid ,
+ amoprighttype = oid ,
+ amopstrategy = int2 ,
+ amoppurpose = char ,
+ amopopr = oid ,
+ amopmethod = oid ,
+ amopsortfamily = oid
+ )
+open pg_amop
+insert ( 10000 1976 21 21 1 s 95 403 0 )
+insert ( 10001 1976 21 21 2 s 522 403 0 )
+insert ( 10002 1976 21 21 3 s 94 403 0 )
+insert ( 10003 1976 21 21 4 s 524 403 0 )
+insert ( 10004 1976 21 21 5 s 520 403 0 )
+insert ( 10005 1976 21 23 1 s 534 403 0 )
+insert ( 10006 1976 21 23 2 s 540 403 0 )
+insert ( 10007 1976 21 23 3 s 532 403 0 )
+insert ( 10008 1976 21 23 4 s 542 403 0 )
+insert ( 10009 1976 21 23 5 s 536 403 0 )
+insert ( 10010 1976 21 20 1 s 1864 403 0 )
+insert ( 10011 1976 21 20 2 s 1866 403 0 )
+insert ( 10012 1976 21 20 3 s 1862 403 0 )
+insert ( 10013 1976 21 20 4 s 1867 403 0 )
+insert ( 10014 1976 21 20 5 s 1865 403 0 )
+insert ( 10015 1976 23 23 1 s 97 403 0 )
+insert ( 10016 1976 23 23 2 s 523 403 0 )
+insert ( 10017 1976 23 23 3 s 96 403 0 )
+insert ( 10018 1976 23 23 4 s 525 403 0 )
+insert ( 10019 1976 23 23 5 s 521 403 0 )
+insert ( 10020 1976 23 21 1 s 535 403 0 )
+insert ( 10021 1976 23 21 2 s 541 403 0 )
+insert ( 10022 1976 23 21 3 s 533 403 0 )
+insert ( 10023 1976 23 21 4 s 543 403 0 )
+insert ( 10024 1976 23 21 5 s 537 403 0 )
+insert ( 10025 1976 23 20 1 s 37 403 0 )
+insert ( 10026 1976 23 20 2 s 80 403 0 )
+insert ( 10027 1976 23 20 3 s 15 403 0 )
+insert ( 10028 1976 23 20 4 s 82 403 0 )
+insert ( 10029 1976 23 20 5 s 76 403 0 )
+insert ( 10030 1976 20 20 1 s 412 403 0 )
+insert ( 10031 1976 20 20 2 s 414 403 0 )
+insert ( 10032 1976 20 20 3 s 410 403 0 )
+insert ( 10033 1976 20 20 4 s 415 403 0 )
+insert ( 10034 1976 20 20 5 s 413 403 0 )
+insert ( 10035 1976 20 21 1 s 1870 403 0 )
+insert ( 10036 1976 20 21 2 s 1872 403 0 )
+insert ( 10037 1976 20 21 3 s 1868 403 0 )
+insert ( 10038 1976 20 21 4 s 1873 403 0 )
+insert ( 10039 1976 20 21 5 s 1871 403 0 )
+insert ( 10040 1976 20 23 1 s 418 403 0 )
+insert ( 10041 1976 20 23 2 s 420 403 0 )
+insert ( 10042 1976 20 23 3 s 416 403 0 )
+insert ( 10043 1976 20 23 4 s 430 403 0 )
+insert ( 10044 1976 20 23 5 s 419 403 0 )
+insert ( 10045 1989 26 26 1 s 609 403 0 )
+insert ( 10046 1989 26 26 2 s 611 403 0 )
+insert ( 10047 1989 26 26 3 s 607 403 0 )
+insert ( 10048 1989 26 26 4 s 612 403 0 )
+insert ( 10049 1989 26 26 5 s 610 403 0 )
+insert ( 10050 5067 5069 5069 1 s 5073 403 0 )
+insert ( 10051 5067 5069 5069 2 s 5075 403 0 )
+insert ( 10052 5067 5069 5069 3 s 5068 403 0 )
+insert ( 10053 5067 5069 5069 4 s 5076 403 0 )
+insert ( 10054 5067 5069 5069 5 s 5074 403 0 )
+insert ( 10055 2789 27 27 1 s 2799 403 0 )
+insert ( 10056 2789 27 27 2 s 2801 403 0 )
+insert ( 10057 2789 27 27 3 s 387 403 0 )
+insert ( 10058 2789 27 27 4 s 2802 403 0 )
+insert ( 10059 2789 27 27 5 s 2800 403 0 )
+insert ( 10060 1991 30 30 1 s 645 403 0 )
+insert ( 10061 1991 30 30 2 s 647 403 0 )
+insert ( 10062 1991 30 30 3 s 649 403 0 )
+insert ( 10063 1991 30 30 4 s 648 403 0 )
+insert ( 10064 1991 30 30 5 s 646 403 0 )
+insert ( 10065 1970 700 700 1 s 622 403 0 )
+insert ( 10066 1970 700 700 2 s 624 403 0 )
+insert ( 10067 1970 700 700 3 s 620 403 0 )
+insert ( 10068 1970 700 700 4 s 625 403 0 )
+insert ( 10069 1970 700 700 5 s 623 403 0 )
+insert ( 10070 1970 700 701 1 s 1122 403 0 )
+insert ( 10071 1970 700 701 2 s 1124 403 0 )
+insert ( 10072 1970 700 701 3 s 1120 403 0 )
+insert ( 10073 1970 700 701 4 s 1125 403 0 )
+insert ( 10074 1970 700 701 5 s 1123 403 0 )
+insert ( 10075 1970 701 701 1 s 672 403 0 )
+insert ( 10076 1970 701 701 2 s 673 403 0 )
+insert ( 10077 1970 701 701 3 s 670 403 0 )
+insert ( 10078 1970 701 701 4 s 675 403 0 )
+insert ( 10079 1970 701 701 5 s 674 403 0 )
+insert ( 10080 1970 701 700 1 s 1132 403 0 )
+insert ( 10081 1970 701 700 2 s 1134 403 0 )
+insert ( 10082 1970 701 700 3 s 1130 403 0 )
+insert ( 10083 1970 701 700 4 s 1135 403 0 )
+insert ( 10084 1970 701 700 5 s 1133 403 0 )
+insert ( 10085 429 18 18 1 s 631 403 0 )
+insert ( 10086 429 18 18 2 s 632 403 0 )
+insert ( 10087 429 18 18 3 s 92 403 0 )
+insert ( 10088 429 18 18 4 s 634 403 0 )
+insert ( 10089 429 18 18 5 s 633 403 0 )
+insert ( 10090 1994 25 25 1 s 664 403 0 )
+insert ( 10091 1994 25 25 2 s 665 403 0 )
+insert ( 10092 1994 25 25 3 s 98 403 0 )
+insert ( 10093 1994 25 25 4 s 667 403 0 )
+insert ( 10094 1994 25 25 5 s 666 403 0 )
+insert ( 10095 1994 19 19 1 s 660 403 0 )
+insert ( 10096 1994 19 19 2 s 661 403 0 )
+insert ( 10097 1994 19 19 3 s 93 403 0 )
+insert ( 10098 1994 19 19 4 s 663 403 0 )
+insert ( 10099 1994 19 19 5 s 662 403 0 )
+insert ( 10100 1994 19 25 1 s 255 403 0 )
+insert ( 10101 1994 19 25 2 s 256 403 0 )
+insert ( 10102 1994 19 25 3 s 254 403 0 )
+insert ( 10103 1994 19 25 4 s 257 403 0 )
+insert ( 10104 1994 19 25 5 s 258 403 0 )
+insert ( 10105 1994 25 19 1 s 261 403 0 )
+insert ( 10106 1994 25 19 2 s 262 403 0 )
+insert ( 10107 1994 25 19 3 s 260 403 0 )
+insert ( 10108 1994 25 19 4 s 263 403 0 )
+insert ( 10109 1994 25 19 5 s 264 403 0 )
+insert ( 10110 426 1042 1042 1 s 1058 403 0 )
+insert ( 10111 426 1042 1042 2 s 1059 403 0 )
+insert ( 10112 426 1042 1042 3 s 1054 403 0 )
+insert ( 10113 426 1042 1042 4 s 1061 403 0 )
+insert ( 10114 426 1042 1042 5 s 1060 403 0 )
+insert ( 10115 428 17 17 1 s 1957 403 0 )
+insert ( 10116 428 17 17 2 s 1958 403 0 )
+insert ( 10117 428 17 17 3 s 1955 403 0 )
+insert ( 10118 428 17 17 4 s 1960 403 0 )
+insert ( 10119 428 17 17 5 s 1959 403 0 )
+insert ( 10120 434 1082 1082 1 s 1095 403 0 )
+insert ( 10121 434 1082 1082 2 s 1096 403 0 )
+insert ( 10122 434 1082 1082 3 s 1093 403 0 )
+insert ( 10123 434 1082 1082 4 s 1098 403 0 )
+insert ( 10124 434 1082 1082 5 s 1097 403 0 )
+insert ( 10125 434 1082 1114 1 s 2345 403 0 )
+insert ( 10126 434 1082 1114 2 s 2346 403 0 )
+insert ( 10127 434 1082 1114 3 s 2347 403 0 )
+insert ( 10128 434 1082 1114 4 s 2348 403 0 )
+insert ( 10129 434 1082 1114 5 s 2349 403 0 )
+insert ( 10130 434 1082 1184 1 s 2358 403 0 )
+insert ( 10131 434 1082 1184 2 s 2359 403 0 )
+insert ( 10132 434 1082 1184 3 s 2360 403 0 )
+insert ( 10133 434 1082 1184 4 s 2361 403 0 )
+insert ( 10134 434 1082 1184 5 s 2362 403 0 )
+insert ( 10135 434 1114 1114 1 s 2062 403 0 )
+insert ( 10136 434 1114 1114 2 s 2063 403 0 )
+insert ( 10137 434 1114 1114 3 s 2060 403 0 )
+insert ( 10138 434 1114 1114 4 s 2065 403 0 )
+insert ( 10139 434 1114 1114 5 s 2064 403 0 )
+insert ( 10140 434 1114 1082 1 s 2371 403 0 )
+insert ( 10141 434 1114 1082 2 s 2372 403 0 )
+insert ( 10142 434 1114 1082 3 s 2373 403 0 )
+insert ( 10143 434 1114 1082 4 s 2374 403 0 )
+insert ( 10144 434 1114 1082 5 s 2375 403 0 )
+insert ( 10145 434 1114 1184 1 s 2534 403 0 )
+insert ( 10146 434 1114 1184 2 s 2535 403 0 )
+insert ( 10147 434 1114 1184 3 s 2536 403 0 )
+insert ( 10148 434 1114 1184 4 s 2537 403 0 )
+insert ( 10149 434 1114 1184 5 s 2538 403 0 )
+insert ( 10150 434 1184 1184 1 s 1322 403 0 )
+insert ( 10151 434 1184 1184 2 s 1323 403 0 )
+insert ( 10152 434 1184 1184 3 s 1320 403 0 )
+insert ( 10153 434 1184 1184 4 s 1325 403 0 )
+insert ( 10154 434 1184 1184 5 s 1324 403 0 )
+insert ( 10155 434 1184 1082 1 s 2384 403 0 )
+insert ( 10156 434 1184 1082 2 s 2385 403 0 )
+insert ( 10157 434 1184 1082 3 s 2386 403 0 )
+insert ( 10158 434 1184 1082 4 s 2387 403 0 )
+insert ( 10159 434 1184 1082 5 s 2388 403 0 )
+insert ( 10160 434 1184 1114 1 s 2540 403 0 )
+insert ( 10161 434 1184 1114 2 s 2541 403 0 )
+insert ( 10162 434 1184 1114 3 s 2542 403 0 )
+insert ( 10163 434 1184 1114 4 s 2543 403 0 )
+insert ( 10164 434 1184 1114 5 s 2544 403 0 )
+insert ( 10165 1996 1083 1083 1 s 1110 403 0 )
+insert ( 10166 1996 1083 1083 2 s 1111 403 0 )
+insert ( 10167 1996 1083 1083 3 s 1108 403 0 )
+insert ( 10168 1996 1083 1083 4 s 1113 403 0 )
+insert ( 10169 1996 1083 1083 5 s 1112 403 0 )
+insert ( 10170 2000 1266 1266 1 s 1552 403 0 )
+insert ( 10171 2000 1266 1266 2 s 1553 403 0 )
+insert ( 10172 2000 1266 1266 3 s 1550 403 0 )
+insert ( 10173 2000 1266 1266 4 s 1555 403 0 )
+insert ( 10174 2000 1266 1266 5 s 1554 403 0 )
+insert ( 10175 1982 1186 1186 1 s 1332 403 0 )
+insert ( 10176 1982 1186 1186 2 s 1333 403 0 )
+insert ( 10177 1982 1186 1186 3 s 1330 403 0 )
+insert ( 10178 1982 1186 1186 4 s 1335 403 0 )
+insert ( 10179 1982 1186 1186 5 s 1334 403 0 )
+insert ( 10180 1984 829 829 1 s 1222 403 0 )
+insert ( 10181 1984 829 829 2 s 1223 403 0 )
+insert ( 10182 1984 829 829 3 s 1220 403 0 )
+insert ( 10183 1984 829 829 4 s 1225 403 0 )
+insert ( 10184 1984 829 829 5 s 1224 403 0 )
+insert ( 10185 3371 774 774 1 s 3364 403 0 )
+insert ( 10186 3371 774 774 2 s 3365 403 0 )
+insert ( 10187 3371 774 774 3 s 3362 403 0 )
+insert ( 10188 3371 774 774 4 s 3367 403 0 )
+insert ( 10189 3371 774 774 5 s 3366 403 0 )
+insert ( 10190 1974 869 869 1 s 1203 403 0 )
+insert ( 10191 1974 869 869 2 s 1204 403 0 )
+insert ( 10192 1974 869 869 3 s 1201 403 0 )
+insert ( 10193 1974 869 869 4 s 1206 403 0 )
+insert ( 10194 1974 869 869 5 s 1205 403 0 )
+insert ( 10195 1988 1700 1700 1 s 1754 403 0 )
+insert ( 10196 1988 1700 1700 2 s 1755 403 0 )
+insert ( 10197 1988 1700 1700 3 s 1752 403 0 )
+insert ( 10198 1988 1700 1700 4 s 1757 403 0 )
+insert ( 10199 1988 1700 1700 5 s 1756 403 0 )
+insert ( 10200 424 16 16 1 s 58 403 0 )
+insert ( 10201 424 16 16 2 s 1694 403 0 )
+insert ( 10202 424 16 16 3 s 91 403 0 )
+insert ( 10203 424 16 16 4 s 1695 403 0 )
+insert ( 10204 424 16 16 5 s 59 403 0 )
+insert ( 10205 423 1560 1560 1 s 1786 403 0 )
+insert ( 10206 423 1560 1560 2 s 1788 403 0 )
+insert ( 10207 423 1560 1560 3 s 1784 403 0 )
+insert ( 10208 423 1560 1560 4 s 1789 403 0 )
+insert ( 10209 423 1560 1560 5 s 1787 403 0 )
+insert ( 10210 2002 1562 1562 1 s 1806 403 0 )
+insert ( 10211 2002 1562 1562 2 s 1808 403 0 )
+insert ( 10212 2002 1562 1562 3 s 1804 403 0 )
+insert ( 10213 2002 1562 1562 4 s 1809 403 0 )
+insert ( 10214 2002 1562 1562 5 s 1807 403 0 )
+insert ( 10215 2095 25 25 1 s 2314 403 0 )
+insert ( 10216 2095 25 25 2 s 2315 403 0 )
+insert ( 10217 2095 25 25 3 s 98 403 0 )
+insert ( 10218 2095 25 25 4 s 2317 403 0 )
+insert ( 10219 2095 25 25 5 s 2318 403 0 )
+insert ( 10220 2097 1042 1042 1 s 2326 403 0 )
+insert ( 10221 2097 1042 1042 2 s 2327 403 0 )
+insert ( 10222 2097 1042 1042 3 s 1054 403 0 )
+insert ( 10223 2097 1042 1042 4 s 2329 403 0 )
+insert ( 10224 2097 1042 1042 5 s 2330 403 0 )
+insert ( 10225 2099 790 790 1 s 902 403 0 )
+insert ( 10226 2099 790 790 2 s 904 403 0 )
+insert ( 10227 2099 790 790 3 s 900 403 0 )
+insert ( 10228 2099 790 790 4 s 905 403 0 )
+insert ( 10229 2099 790 790 5 s 903 403 0 )
+insert ( 10230 397 2277 2277 1 s 1072 403 0 )
+insert ( 10231 397 2277 2277 2 s 1074 403 0 )
+insert ( 10232 397 2277 2277 3 s 1070 403 0 )
+insert ( 10233 397 2277 2277 4 s 1075 403 0 )
+insert ( 10234 397 2277 2277 5 s 1073 403 0 )
+insert ( 10235 2994 2249 2249 1 s 2990 403 0 )
+insert ( 10236 2994 2249 2249 2 s 2992 403 0 )
+insert ( 10237 2994 2249 2249 3 s 2988 403 0 )
+insert ( 10238 2994 2249 2249 4 s 2993 403 0 )
+insert ( 10239 2994 2249 2249 5 s 2991 403 0 )
+insert ( 10240 3194 2249 2249 1 s 3190 403 0 )
+insert ( 10241 3194 2249 2249 2 s 3192 403 0 )
+insert ( 10242 3194 2249 2249 3 s 3188 403 0 )
+insert ( 10243 3194 2249 2249 4 s 3193 403 0 )
+insert ( 10244 3194 2249 2249 5 s 3191 403 0 )
+insert ( 10245 2968 2950 2950 1 s 2974 403 0 )
+insert ( 10246 2968 2950 2950 2 s 2976 403 0 )
+insert ( 10247 2968 2950 2950 3 s 2972 403 0 )
+insert ( 10248 2968 2950 2950 4 s 2977 403 0 )
+insert ( 10249 2968 2950 2950 5 s 2975 403 0 )
+insert ( 10250 3253 3220 3220 1 s 3224 403 0 )
+insert ( 10251 3253 3220 3220 2 s 3226 403 0 )
+insert ( 10252 3253 3220 3220 3 s 3222 403 0 )
+insert ( 10253 3253 3220 3220 4 s 3227 403 0 )
+insert ( 10254 3253 3220 3220 5 s 3225 403 0 )
+insert ( 10255 427 1042 1042 1 s 1054 405 0 )
+insert ( 10256 431 18 18 1 s 92 405 0 )
+insert ( 10257 435 1082 1082 1 s 1093 405 0 )
+insert ( 10258 1971 700 700 1 s 620 405 0 )
+insert ( 10259 1971 701 701 1 s 670 405 0 )
+insert ( 10260 1971 700 701 1 s 1120 405 0 )
+insert ( 10261 1971 701 700 1 s 1130 405 0 )
+insert ( 10262 1975 869 869 1 s 1201 405 0 )
+insert ( 10263 1977 21 21 1 s 94 405 0 )
+insert ( 10264 1977 23 23 1 s 96 405 0 )
+insert ( 10265 1977 20 20 1 s 410 405 0 )
+insert ( 10266 1977 21 23 1 s 532 405 0 )
+insert ( 10267 1977 21 20 1 s 1862 405 0 )
+insert ( 10268 1977 23 21 1 s 533 405 0 )
+insert ( 10269 1977 23 20 1 s 15 405 0 )
+insert ( 10270 1977 20 21 1 s 1868 405 0 )
+insert ( 10271 1977 20 23 1 s 416 405 0 )
+insert ( 10272 1983 1186 1186 1 s 1330 405 0 )
+insert ( 10273 1985 829 829 1 s 1220 405 0 )
+insert ( 10274 3372 774 774 1 s 3362 405 0 )
+insert ( 10275 1990 26 26 1 s 607 405 0 )
+insert ( 10276 1992 30 30 1 s 649 405 0 )
+insert ( 10277 6194 2249 2249 1 s 2988 405 0 )
+insert ( 10278 1995 25 25 1 s 98 405 0 )
+insert ( 10279 1995 19 19 1 s 93 405 0 )
+insert ( 10280 1995 19 25 1 s 254 405 0 )
+insert ( 10281 1995 25 19 1 s 260 405 0 )
+insert ( 10282 1997 1083 1083 1 s 1108 405 0 )
+insert ( 10283 1999 1184 1184 1 s 1320 405 0 )
+insert ( 10284 2001 1266 1266 1 s 1550 405 0 )
+insert ( 10285 2040 1114 1114 1 s 2060 405 0 )
+insert ( 10286 2222 16 16 1 s 91 405 0 )
+insert ( 10287 2223 17 17 1 s 1955 405 0 )
+insert ( 10288 2225 28 28 1 s 352 405 0 )
+insert ( 10289 5032 5069 5069 1 s 5068 405 0 )
+insert ( 10290 2226 29 29 1 s 385 405 0 )
+insert ( 10291 2227 27 27 1 s 387 405 0 )
+insert ( 10292 2229 25 25 1 s 98 405 0 )
+insert ( 10293 2231 1042 1042 1 s 1054 405 0 )
+insert ( 10294 2235 1033 1033 1 s 974 405 0 )
+insert ( 10295 2969 2950 2950 1 s 2972 405 0 )
+insert ( 10296 3254 3220 3220 1 s 3222 405 0 )
+insert ( 10297 1998 1700 1700 1 s 1752 405 0 )
+insert ( 10298 627 2277 2277 1 s 1070 405 0 )
+insert ( 10299 2593 603 603 1 s 493 783 0 )
+insert ( 10300 2593 603 603 2 s 494 783 0 )
+insert ( 10301 2593 603 603 3 s 500 783 0 )
+insert ( 10302 2593 603 603 4 s 495 783 0 )
+insert ( 10303 2593 603 603 5 s 496 783 0 )
+insert ( 10304 2593 603 603 6 s 499 783 0 )
+insert ( 10305 2593 603 603 7 s 498 783 0 )
+insert ( 10306 2593 603 603 8 s 497 783 0 )
+insert ( 10307 2593 603 603 9 s 2571 783 0 )
+insert ( 10308 2593 603 603 10 s 2570 783 0 )
+insert ( 10309 2593 603 603 11 s 2573 783 0 )
+insert ( 10310 2593 603 603 12 s 2572 783 0 )
+insert ( 10311 2593 603 600 15 o 606 783 1970 )
+insert ( 10312 1029 600 600 11 s 4161 783 0 )
+insert ( 10313 1029 600 600 30 s 506 783 0 )
+insert ( 10314 1029 600 600 1 s 507 783 0 )
+insert ( 10315 1029 600 600 5 s 508 783 0 )
+insert ( 10316 1029 600 600 10 s 4162 783 0 )
+insert ( 10317 1029 600 600 29 s 509 783 0 )
+insert ( 10318 1029 600 600 6 s 510 783 0 )
+insert ( 10319 1029 600 600 15 o 517 783 1970 )
+insert ( 10320 1029 600 603 28 s 511 783 0 )
+insert ( 10321 1029 600 604 48 s 756 783 0 )
+insert ( 10322 1029 600 718 68 s 758 783 0 )
+insert ( 10323 2594 604 604 1 s 485 783 0 )
+insert ( 10324 2594 604 604 2 s 486 783 0 )
+insert ( 10325 2594 604 604 3 s 492 783 0 )
+insert ( 10326 2594 604 604 4 s 487 783 0 )
+insert ( 10327 2594 604 604 5 s 488 783 0 )
+insert ( 10328 2594 604 604 6 s 491 783 0 )
+insert ( 10329 2594 604 604 7 s 490 783 0 )
+insert ( 10330 2594 604 604 8 s 489 783 0 )
+insert ( 10331 2594 604 604 9 s 2575 783 0 )
+insert ( 10332 2594 604 604 10 s 2574 783 0 )
+insert ( 10333 2594 604 604 11 s 2577 783 0 )
+insert ( 10334 2594 604 604 12 s 2576 783 0 )
+insert ( 10335 2594 604 600 15 o 3289 783 1970 )
+insert ( 10336 2595 718 718 1 s 1506 783 0 )
+insert ( 10337 2595 718 718 2 s 1507 783 0 )
+insert ( 10338 2595 718 718 3 s 1513 783 0 )
+insert ( 10339 2595 718 718 4 s 1508 783 0 )
+insert ( 10340 2595 718 718 5 s 1509 783 0 )
+insert ( 10341 2595 718 718 6 s 1512 783 0 )
+insert ( 10342 2595 718 718 7 s 1511 783 0 )
+insert ( 10343 2595 718 718 8 s 1510 783 0 )
+insert ( 10344 2595 718 718 9 s 2589 783 0 )
+insert ( 10345 2595 718 718 10 s 1515 783 0 )
+insert ( 10346 2595 718 718 11 s 1514 783 0 )
+insert ( 10347 2595 718 718 12 s 2590 783 0 )
+insert ( 10348 2595 718 600 15 o 3291 783 1970 )
+insert ( 10349 2745 2277 2277 1 s 2750 2742 0 )
+insert ( 10350 2745 2277 2277 2 s 2751 2742 0 )
+insert ( 10351 2745 2277 2277 3 s 2752 2742 0 )
+insert ( 10352 2745 2277 2277 4 s 1070 2742 0 )
+insert ( 10353 3522 3500 3500 1 s 3518 403 0 )
+insert ( 10354 3522 3500 3500 2 s 3520 403 0 )
+insert ( 10355 3522 3500 3500 3 s 3516 403 0 )
+insert ( 10356 3522 3500 3500 4 s 3521 403 0 )
+insert ( 10357 3522 3500 3500 5 s 3519 403 0 )
+insert ( 10358 3523 3500 3500 1 s 3516 405 0 )
+insert ( 10359 3626 3614 3614 1 s 3627 403 0 )
+insert ( 10360 3626 3614 3614 2 s 3628 403 0 )
+insert ( 10361 3626 3614 3614 3 s 3629 403 0 )
+insert ( 10362 3626 3614 3614 4 s 3631 403 0 )
+insert ( 10363 3626 3614 3614 5 s 3632 403 0 )
+insert ( 10364 3655 3614 3615 1 s 3636 783 0 )
+insert ( 10365 3659 3614 3615 1 s 3636 2742 0 )
+insert ( 10366 3659 3614 3615 2 s 3660 2742 0 )
+insert ( 10367 3683 3615 3615 1 s 3674 403 0 )
+insert ( 10368 3683 3615 3615 2 s 3675 403 0 )
+insert ( 10369 3683 3615 3615 3 s 3676 403 0 )
+insert ( 10370 3683 3615 3615 4 s 3678 403 0 )
+insert ( 10371 3683 3615 3615 5 s 3679 403 0 )
+insert ( 10372 3702 3615 3615 7 s 3693 783 0 )
+insert ( 10373 3702 3615 3615 8 s 3694 783 0 )
+insert ( 10374 3901 3831 3831 1 s 3884 403 0 )
+insert ( 10375 3901 3831 3831 2 s 3885 403 0 )
+insert ( 10376 3901 3831 3831 3 s 3882 403 0 )
+insert ( 10377 3901 3831 3831 4 s 3886 403 0 )
+insert ( 10378 3901 3831 3831 5 s 3887 403 0 )
+insert ( 10379 3903 3831 3831 1 s 3882 405 0 )
+insert ( 10380 3919 3831 3831 1 s 3893 783 0 )
+insert ( 10381 3919 3831 4537 1 s 4395 783 0 )
+insert ( 10382 3919 3831 3831 2 s 3895 783 0 )
+insert ( 10383 3919 3831 4537 2 s 2875 783 0 )
+insert ( 10384 3919 3831 3831 3 s 3888 783 0 )
+insert ( 10385 3919 3831 4537 3 s 2866 783 0 )
+insert ( 10386 3919 3831 3831 4 s 3896 783 0 )
+insert ( 10387 3919 3831 4537 4 s 3585 783 0 )
+insert ( 10388 3919 3831 3831 5 s 3894 783 0 )
+insert ( 10389 3919 3831 4537 5 s 4398 783 0 )
+insert ( 10390 3919 3831 3831 6 s 3897 783 0 )
+insert ( 10391 3919 3831 4537 6 s 4179 783 0 )
+insert ( 10392 3919 3831 3831 7 s 3890 783 0 )
+insert ( 10393 3919 3831 4537 7 s 4539 783 0 )
+insert ( 10394 3919 3831 3831 8 s 3892 783 0 )
+insert ( 10395 3919 3831 4537 8 s 2873 783 0 )
+insert ( 10396 3919 3831 2283 16 s 3889 783 0 )
+insert ( 10397 3919 3831 3831 18 s 3882 783 0 )
+insert ( 10398 6158 4537 4537 1 s 4397 783 0 )
+insert ( 10399 6158 4537 3831 1 s 4396 783 0 )
+insert ( 10400 6158 4537 4537 2 s 2877 783 0 )
+insert ( 10401 6158 4537 3831 2 s 2876 783 0 )
+insert ( 10402 6158 4537 4537 3 s 2868 783 0 )
+insert ( 10403 6158 4537 3831 3 s 2867 783 0 )
+insert ( 10404 6158 4537 4537 4 s 4142 783 0 )
+insert ( 10405 6158 4537 3831 4 s 4035 783 0 )
+insert ( 10406 6158 4537 4537 5 s 4400 783 0 )
+insert ( 10407 6158 4537 3831 5 s 4399 783 0 )
+insert ( 10408 6158 4537 4537 6 s 4198 783 0 )
+insert ( 10409 6158 4537 3831 6 s 4180 783 0 )
+insert ( 10410 6158 4537 4537 7 s 2871 783 0 )
+insert ( 10411 6158 4537 3831 7 s 2870 783 0 )
+insert ( 10412 6158 4537 4537 8 s 2874 783 0 )
+insert ( 10413 6158 4537 3831 8 s 4540 783 0 )
+insert ( 10414 6158 4537 2283 16 s 2869 783 0 )
+insert ( 10415 6158 4537 4537 18 s 2860 783 0 )
+insert ( 10416 4199 4537 4537 1 s 2862 403 0 )
+insert ( 10417 4199 4537 4537 2 s 2863 403 0 )
+insert ( 10418 4199 4537 4537 3 s 2860 403 0 )
+insert ( 10419 4199 4537 4537 4 s 2864 403 0 )
+insert ( 10420 4199 4537 4537 5 s 2865 403 0 )
+insert ( 10421 4225 4537 4537 1 s 2860 405 0 )
+insert ( 10422 4015 600 600 11 s 4161 4000 0 )
+insert ( 10423 4015 600 600 30 s 506 4000 0 )
+insert ( 10424 4015 600 600 1 s 507 4000 0 )
+insert ( 10425 4015 600 600 5 s 508 4000 0 )
+insert ( 10426 4015 600 600 10 s 4162 4000 0 )
+insert ( 10427 4015 600 600 29 s 509 4000 0 )
+insert ( 10428 4015 600 600 6 s 510 4000 0 )
+insert ( 10429 4015 600 603 8 s 511 4000 0 )
+insert ( 10430 4015 600 600 15 o 517 4000 1970 )
+insert ( 10431 4016 600 600 11 s 4161 4000 0 )
+insert ( 10432 4016 600 600 30 s 506 4000 0 )
+insert ( 10433 4016 600 600 1 s 507 4000 0 )
+insert ( 10434 4016 600 600 5 s 508 4000 0 )
+insert ( 10435 4016 600 600 10 s 4162 4000 0 )
+insert ( 10436 4016 600 600 29 s 509 4000 0 )
+insert ( 10437 4016 600 600 6 s 510 4000 0 )
+insert ( 10438 4016 600 603 8 s 511 4000 0 )
+insert ( 10439 4016 600 600 15 o 517 4000 1970 )
+insert ( 10440 4017 25 25 1 s 2314 4000 0 )
+insert ( 10441 4017 25 25 2 s 2315 4000 0 )
+insert ( 10442 4017 25 25 3 s 98 4000 0 )
+insert ( 10443 4017 25 25 4 s 2317 4000 0 )
+insert ( 10444 4017 25 25 5 s 2318 4000 0 )
+insert ( 10445 4017 25 25 11 s 664 4000 0 )
+insert ( 10446 4017 25 25 12 s 665 4000 0 )
+insert ( 10447 4017 25 25 14 s 667 4000 0 )
+insert ( 10448 4017 25 25 15 s 666 4000 0 )
+insert ( 10449 4017 25 25 28 s 3877 4000 0 )
+insert ( 10450 4033 3802 3802 1 s 3242 403 0 )
+insert ( 10451 4033 3802 3802 2 s 3244 403 0 )
+insert ( 10452 4033 3802 3802 3 s 3240 403 0 )
+insert ( 10453 4033 3802 3802 4 s 3245 403 0 )
+insert ( 10454 4033 3802 3802 5 s 3243 403 0 )
+insert ( 10455 4034 3802 3802 1 s 3240 405 0 )
+insert ( 10456 4036 3802 3802 7 s 3246 2742 0 )
+insert ( 10457 4036 3802 25 9 s 3247 2742 0 )
+insert ( 10458 4036 3802 1009 10 s 3248 2742 0 )
+insert ( 10459 4036 3802 1009 11 s 3249 2742 0 )
+insert ( 10460 4036 3802 4072 15 s 4012 2742 0 )
+insert ( 10461 4036 3802 4072 16 s 4013 2742 0 )
+insert ( 10462 4037 3802 3802 7 s 3246 2742 0 )
+insert ( 10463 4037 3802 4072 15 s 4012 2742 0 )
+insert ( 10464 4037 3802 4072 16 s 4013 2742 0 )
+insert ( 10465 3474 3831 3831 1 s 3893 4000 0 )
+insert ( 10466 3474 3831 3831 2 s 3895 4000 0 )
+insert ( 10467 3474 3831 3831 3 s 3888 4000 0 )
+insert ( 10468 3474 3831 3831 4 s 3896 4000 0 )
+insert ( 10469 3474 3831 3831 5 s 3894 4000 0 )
+insert ( 10470 3474 3831 3831 6 s 3897 4000 0 )
+insert ( 10471 3474 3831 3831 7 s 3890 4000 0 )
+insert ( 10472 3474 3831 3831 8 s 3892 4000 0 )
+insert ( 10473 3474 3831 2283 16 s 3889 4000 0 )
+insert ( 10474 3474 3831 3831 18 s 3882 4000 0 )
+insert ( 10475 5000 603 603 1 s 493 4000 0 )
+insert ( 10476 5000 603 603 2 s 494 4000 0 )
+insert ( 10477 5000 603 603 3 s 500 4000 0 )
+insert ( 10478 5000 603 603 4 s 495 4000 0 )
+insert ( 10479 5000 603 603 5 s 496 4000 0 )
+insert ( 10480 5000 603 603 6 s 499 4000 0 )
+insert ( 10481 5000 603 603 7 s 498 4000 0 )
+insert ( 10482 5000 603 603 8 s 497 4000 0 )
+insert ( 10483 5000 603 603 9 s 2571 4000 0 )
+insert ( 10484 5000 603 603 10 s 2570 4000 0 )
+insert ( 10485 5000 603 603 11 s 2573 4000 0 )
+insert ( 10486 5000 603 603 12 s 2572 4000 0 )
+insert ( 10487 5000 603 600 15 o 606 4000 1970 )
+insert ( 10488 5008 604 604 1 s 485 4000 0 )
+insert ( 10489 5008 604 604 2 s 486 4000 0 )
+insert ( 10490 5008 604 604 3 s 492 4000 0 )
+insert ( 10491 5008 604 604 4 s 487 4000 0 )
+insert ( 10492 5008 604 604 5 s 488 4000 0 )
+insert ( 10493 5008 604 604 6 s 491 4000 0 )
+insert ( 10494 5008 604 604 7 s 490 4000 0 )
+insert ( 10495 5008 604 604 8 s 489 4000 0 )
+insert ( 10496 5008 604 604 9 s 2575 4000 0 )
+insert ( 10497 5008 604 604 10 s 2574 4000 0 )
+insert ( 10498 5008 604 604 11 s 2577 4000 0 )
+insert ( 10499 5008 604 604 12 s 2576 4000 0 )
+insert ( 10500 5008 604 600 15 o 3289 4000 1970 )
+insert ( 10501 3550 869 869 3 s 3552 783 0 )
+insert ( 10502 3550 869 869 18 s 1201 783 0 )
+insert ( 10503 3550 869 869 19 s 1202 783 0 )
+insert ( 10504 3550 869 869 20 s 1203 783 0 )
+insert ( 10505 3550 869 869 21 s 1204 783 0 )
+insert ( 10506 3550 869 869 22 s 1205 783 0 )
+insert ( 10507 3550 869 869 23 s 1206 783 0 )
+insert ( 10508 3550 869 869 24 s 931 783 0 )
+insert ( 10509 3550 869 869 25 s 932 783 0 )
+insert ( 10510 3550 869 869 26 s 933 783 0 )
+insert ( 10511 3550 869 869 27 s 934 783 0 )
+insert ( 10512 3794 869 869 3 s 3552 4000 0 )
+insert ( 10513 3794 869 869 18 s 1201 4000 0 )
+insert ( 10514 3794 869 869 19 s 1202 4000 0 )
+insert ( 10515 3794 869 869 20 s 1203 4000 0 )
+insert ( 10516 3794 869 869 21 s 1204 4000 0 )
+insert ( 10517 3794 869 869 22 s 1205 4000 0 )
+insert ( 10518 3794 869 869 23 s 1206 4000 0 )
+insert ( 10519 3794 869 869 24 s 931 4000 0 )
+insert ( 10520 3794 869 869 25 s 932 4000 0 )
+insert ( 10521 3794 869 869 26 s 933 4000 0 )
+insert ( 10522 3794 869 869 27 s 934 4000 0 )
+insert ( 10523 4064 17 17 1 s 1957 3580 0 )
+insert ( 10524 4064 17 17 2 s 1958 3580 0 )
+insert ( 10525 4064 17 17 3 s 1955 3580 0 )
+insert ( 10526 4064 17 17 4 s 1960 3580 0 )
+insert ( 10527 4064 17 17 5 s 1959 3580 0 )
+insert ( 10528 4578 17 17 1 s 1955 3580 0 )
+insert ( 10529 4062 18 18 1 s 631 3580 0 )
+insert ( 10530 4062 18 18 2 s 632 3580 0 )
+insert ( 10531 4062 18 18 3 s 92 3580 0 )
+insert ( 10532 4062 18 18 4 s 634 3580 0 )
+insert ( 10533 4062 18 18 5 s 633 3580 0 )
+insert ( 10534 4577 18 18 1 s 92 3580 0 )
+insert ( 10535 4065 19 19 1 s 660 3580 0 )
+insert ( 10536 4065 19 19 2 s 661 3580 0 )
+insert ( 10537 4065 19 19 3 s 93 3580 0 )
+insert ( 10538 4065 19 19 4 s 663 3580 0 )
+insert ( 10539 4065 19 19 5 s 662 3580 0 )
+insert ( 10540 4579 19 19 1 s 93 3580 0 )
+insert ( 10541 4054 20 20 1 s 412 3580 0 )
+insert ( 10542 4054 20 20 2 s 414 3580 0 )
+insert ( 10543 4054 20 20 3 s 410 3580 0 )
+insert ( 10544 4054 20 20 4 s 415 3580 0 )
+insert ( 10545 4054 20 20 5 s 413 3580 0 )
+insert ( 10546 4054 20 21 1 s 1870 3580 0 )
+insert ( 10547 4054 20 21 2 s 1872 3580 0 )
+insert ( 10548 4054 20 21 3 s 1868 3580 0 )
+insert ( 10549 4054 20 21 4 s 1873 3580 0 )
+insert ( 10550 4054 20 21 5 s 1871 3580 0 )
+insert ( 10551 4054 20 23 1 s 418 3580 0 )
+insert ( 10552 4054 20 23 2 s 420 3580 0 )
+insert ( 10553 4054 20 23 3 s 416 3580 0 )
+insert ( 10554 4054 20 23 4 s 430 3580 0 )
+insert ( 10555 4054 20 23 5 s 419 3580 0 )
+insert ( 10556 4054 21 21 1 s 95 3580 0 )
+insert ( 10557 4054 21 21 2 s 522 3580 0 )
+insert ( 10558 4054 21 21 3 s 94 3580 0 )
+insert ( 10559 4054 21 21 4 s 524 3580 0 )
+insert ( 10560 4054 21 21 5 s 520 3580 0 )
+insert ( 10561 4054 21 20 1 s 1864 3580 0 )
+insert ( 10562 4054 21 20 2 s 1866 3580 0 )
+insert ( 10563 4054 21 20 3 s 1862 3580 0 )
+insert ( 10564 4054 21 20 4 s 1867 3580 0 )
+insert ( 10565 4054 21 20 5 s 1865 3580 0 )
+insert ( 10566 4054 21 23 1 s 534 3580 0 )
+insert ( 10567 4054 21 23 2 s 540 3580 0 )
+insert ( 10568 4054 21 23 3 s 532 3580 0 )
+insert ( 10569 4054 21 23 4 s 542 3580 0 )
+insert ( 10570 4054 21 23 5 s 536 3580 0 )
+insert ( 10571 4054 23 23 1 s 97 3580 0 )
+insert ( 10572 4054 23 23 2 s 523 3580 0 )
+insert ( 10573 4054 23 23 3 s 96 3580 0 )
+insert ( 10574 4054 23 23 4 s 525 3580 0 )
+insert ( 10575 4054 23 23 5 s 521 3580 0 )
+insert ( 10576 4054 23 21 1 s 535 3580 0 )
+insert ( 10577 4054 23 21 2 s 541 3580 0 )
+insert ( 10578 4054 23 21 3 s 533 3580 0 )
+insert ( 10579 4054 23 21 4 s 543 3580 0 )
+insert ( 10580 4054 23 21 5 s 537 3580 0 )
+insert ( 10581 4054 23 20 1 s 37 3580 0 )
+insert ( 10582 4054 23 20 2 s 80 3580 0 )
+insert ( 10583 4054 23 20 3 s 15 3580 0 )
+insert ( 10584 4054 23 20 4 s 82 3580 0 )
+insert ( 10585 4054 23 20 5 s 76 3580 0 )
+insert ( 10586 4602 20 20 1 s 412 3580 0 )
+insert ( 10587 4602 20 20 2 s 414 3580 0 )
+insert ( 10588 4602 20 20 3 s 410 3580 0 )
+insert ( 10589 4602 20 20 4 s 415 3580 0 )
+insert ( 10590 4602 20 20 5 s 413 3580 0 )
+insert ( 10591 4602 20 21 1 s 1870 3580 0 )
+insert ( 10592 4602 20 21 2 s 1872 3580 0 )
+insert ( 10593 4602 20 21 3 s 1868 3580 0 )
+insert ( 10594 4602 20 21 4 s 1873 3580 0 )
+insert ( 10595 4602 20 21 5 s 1871 3580 0 )
+insert ( 10596 4602 20 23 1 s 418 3580 0 )
+insert ( 10597 4602 20 23 2 s 420 3580 0 )
+insert ( 10598 4602 20 23 3 s 416 3580 0 )
+insert ( 10599 4602 20 23 4 s 430 3580 0 )
+insert ( 10600 4602 20 23 5 s 419 3580 0 )
+insert ( 10601 4602 21 21 1 s 95 3580 0 )
+insert ( 10602 4602 21 21 2 s 522 3580 0 )
+insert ( 10603 4602 21 21 3 s 94 3580 0 )
+insert ( 10604 4602 21 21 4 s 524 3580 0 )
+insert ( 10605 4602 21 21 5 s 520 3580 0 )
+insert ( 10606 4602 21 20 1 s 1864 3580 0 )
+insert ( 10607 4602 21 20 2 s 1866 3580 0 )
+insert ( 10608 4602 21 20 3 s 1862 3580 0 )
+insert ( 10609 4602 21 20 4 s 1867 3580 0 )
+insert ( 10610 4602 21 20 5 s 1865 3580 0 )
+insert ( 10611 4602 21 23 1 s 534 3580 0 )
+insert ( 10612 4602 21 23 2 s 540 3580 0 )
+insert ( 10613 4602 21 23 3 s 532 3580 0 )
+insert ( 10614 4602 21 23 4 s 542 3580 0 )
+insert ( 10615 4602 21 23 5 s 536 3580 0 )
+insert ( 10616 4602 23 23 1 s 97 3580 0 )
+insert ( 10617 4602 23 23 2 s 523 3580 0 )
+insert ( 10618 4602 23 23 3 s 96 3580 0 )
+insert ( 10619 4602 23 23 4 s 525 3580 0 )
+insert ( 10620 4602 23 23 5 s 521 3580 0 )
+insert ( 10621 4602 23 21 1 s 535 3580 0 )
+insert ( 10622 4602 23 21 2 s 541 3580 0 )
+insert ( 10623 4602 23 21 3 s 533 3580 0 )
+insert ( 10624 4602 23 21 4 s 543 3580 0 )
+insert ( 10625 4602 23 21 5 s 537 3580 0 )
+insert ( 10626 4602 23 20 1 s 37 3580 0 )
+insert ( 10627 4602 23 20 2 s 80 3580 0 )
+insert ( 10628 4602 23 20 3 s 15 3580 0 )
+insert ( 10629 4602 23 20 4 s 82 3580 0 )
+insert ( 10630 4602 23 20 5 s 76 3580 0 )
+insert ( 10631 4572 20 20 1 s 410 3580 0 )
+insert ( 10632 4572 21 21 1 s 94 3580 0 )
+insert ( 10633 4572 23 23 1 s 96 3580 0 )
+insert ( 10634 4056 25 25 1 s 664 3580 0 )
+insert ( 10635 4056 25 25 2 s 665 3580 0 )
+insert ( 10636 4056 25 25 3 s 98 3580 0 )
+insert ( 10637 4056 25 25 4 s 667 3580 0 )
+insert ( 10638 4056 25 25 5 s 666 3580 0 )
+insert ( 10639 4573 25 25 1 s 98 3580 0 )
+insert ( 10640 4068 26 26 1 s 609 3580 0 )
+insert ( 10641 4068 26 26 2 s 611 3580 0 )
+insert ( 10642 4068 26 26 3 s 607 3580 0 )
+insert ( 10643 4068 26 26 4 s 612 3580 0 )
+insert ( 10644 4068 26 26 5 s 610 3580 0 )
+insert ( 10645 4606 26 26 1 s 609 3580 0 )
+insert ( 10646 4606 26 26 2 s 611 3580 0 )
+insert ( 10647 4606 26 26 3 s 607 3580 0 )
+insert ( 10648 4606 26 26 4 s 612 3580 0 )
+insert ( 10649 4606 26 26 5 s 610 3580 0 )
+insert ( 10650 4580 26 26 1 s 607 3580 0 )
+insert ( 10651 4069 27 27 1 s 2799 3580 0 )
+insert ( 10652 4069 27 27 2 s 2801 3580 0 )
+insert ( 10653 4069 27 27 3 s 387 3580 0 )
+insert ( 10654 4069 27 27 4 s 2802 3580 0 )
+insert ( 10655 4069 27 27 5 s 2800 3580 0 )
+insert ( 10656 4581 27 27 1 s 387 3580 0 )
+insert ( 10657 4607 27 27 1 s 2799 3580 0 )
+insert ( 10658 4607 27 27 2 s 2801 3580 0 )
+insert ( 10659 4607 27 27 3 s 387 3580 0 )
+insert ( 10660 4607 27 27 4 s 2802 3580 0 )
+insert ( 10661 4607 27 27 5 s 2800 3580 0 )
+insert ( 10662 4070 700 700 1 s 622 3580 0 )
+insert ( 10663 4070 700 700 2 s 624 3580 0 )
+insert ( 10664 4070 700 700 3 s 620 3580 0 )
+insert ( 10665 4070 700 700 4 s 625 3580 0 )
+insert ( 10666 4070 700 700 5 s 623 3580 0 )
+insert ( 10667 4070 700 701 1 s 1122 3580 0 )
+insert ( 10668 4070 700 701 2 s 1124 3580 0 )
+insert ( 10669 4070 700 701 3 s 1120 3580 0 )
+insert ( 10670 4070 700 701 4 s 1125 3580 0 )
+insert ( 10671 4070 700 701 5 s 1123 3580 0 )
+insert ( 10672 4070 701 700 1 s 1132 3580 0 )
+insert ( 10673 4070 701 700 2 s 1134 3580 0 )
+insert ( 10674 4070 701 700 3 s 1130 3580 0 )
+insert ( 10675 4070 701 700 4 s 1135 3580 0 )
+insert ( 10676 4070 701 700 5 s 1133 3580 0 )
+insert ( 10677 4070 701 701 1 s 672 3580 0 )
+insert ( 10678 4070 701 701 2 s 673 3580 0 )
+insert ( 10679 4070 701 701 3 s 670 3580 0 )
+insert ( 10680 4070 701 701 4 s 675 3580 0 )
+insert ( 10681 4070 701 701 5 s 674 3580 0 )
+insert ( 10682 4608 700 700 1 s 622 3580 0 )
+insert ( 10683 4608 700 700 2 s 624 3580 0 )
+insert ( 10684 4608 700 700 3 s 620 3580 0 )
+insert ( 10685 4608 700 700 4 s 625 3580 0 )
+insert ( 10686 4608 700 700 5 s 623 3580 0 )
+insert ( 10687 4608 700 701 1 s 1122 3580 0 )
+insert ( 10688 4608 700 701 2 s 1124 3580 0 )
+insert ( 10689 4608 700 701 3 s 1120 3580 0 )
+insert ( 10690 4608 700 701 4 s 1125 3580 0 )
+insert ( 10691 4608 700 701 5 s 1123 3580 0 )
+insert ( 10692 4608 701 700 1 s 1132 3580 0 )
+insert ( 10693 4608 701 700 2 s 1134 3580 0 )
+insert ( 10694 4608 701 700 3 s 1130 3580 0 )
+insert ( 10695 4608 701 700 4 s 1135 3580 0 )
+insert ( 10696 4608 701 700 5 s 1133 3580 0 )
+insert ( 10697 4608 701 701 1 s 672 3580 0 )
+insert ( 10698 4608 701 701 2 s 673 3580 0 )
+insert ( 10699 4608 701 701 3 s 670 3580 0 )
+insert ( 10700 4608 701 701 4 s 675 3580 0 )
+insert ( 10701 4608 701 701 5 s 674 3580 0 )
+insert ( 10702 4582 700 700 1 s 620 3580 0 )
+insert ( 10703 4582 701 701 1 s 670 3580 0 )
+insert ( 10704 4074 829 829 1 s 1222 3580 0 )
+insert ( 10705 4074 829 829 2 s 1223 3580 0 )
+insert ( 10706 4074 829 829 3 s 1220 3580 0 )
+insert ( 10707 4074 829 829 4 s 1225 3580 0 )
+insert ( 10708 4074 829 829 5 s 1224 3580 0 )
+insert ( 10709 4609 829 829 1 s 1222 3580 0 )
+insert ( 10710 4609 829 829 2 s 1223 3580 0 )
+insert ( 10711 4609 829 829 3 s 1220 3580 0 )
+insert ( 10712 4609 829 829 4 s 1225 3580 0 )
+insert ( 10713 4609 829 829 5 s 1224 3580 0 )
+insert ( 10714 4583 829 829 1 s 1220 3580 0 )
+insert ( 10715 4109 774 774 1 s 3364 3580 0 )
+insert ( 10716 4109 774 774 2 s 3365 3580 0 )
+insert ( 10717 4109 774 774 3 s 3362 3580 0 )
+insert ( 10718 4109 774 774 4 s 3367 3580 0 )
+insert ( 10719 4109 774 774 5 s 3366 3580 0 )
+insert ( 10720 4610 774 774 1 s 3364 3580 0 )
+insert ( 10721 4610 774 774 2 s 3365 3580 0 )
+insert ( 10722 4610 774 774 3 s 3362 3580 0 )
+insert ( 10723 4610 774 774 4 s 3367 3580 0 )
+insert ( 10724 4610 774 774 5 s 3366 3580 0 )
+insert ( 10725 4584 774 774 1 s 3362 3580 0 )
+insert ( 10726 4075 869 869 1 s 1203 3580 0 )
+insert ( 10727 4075 869 869 2 s 1204 3580 0 )
+insert ( 10728 4075 869 869 3 s 1201 3580 0 )
+insert ( 10729 4075 869 869 4 s 1206 3580 0 )
+insert ( 10730 4075 869 869 5 s 1205 3580 0 )
+insert ( 10731 4611 869 869 1 s 1203 3580 0 )
+insert ( 10732 4611 869 869 2 s 1204 3580 0 )
+insert ( 10733 4611 869 869 3 s 1201 3580 0 )
+insert ( 10734 4611 869 869 4 s 1206 3580 0 )
+insert ( 10735 4611 869 869 5 s 1205 3580 0 )
+insert ( 10736 4585 869 869 1 s 1201 3580 0 )
+insert ( 10737 4102 869 869 3 s 3552 3580 0 )
+insert ( 10738 4102 869 869 7 s 934 3580 0 )
+insert ( 10739 4102 869 869 8 s 932 3580 0 )
+insert ( 10740 4102 869 869 18 s 1201 3580 0 )
+insert ( 10741 4102 869 869 24 s 933 3580 0 )
+insert ( 10742 4102 869 869 26 s 931 3580 0 )
+insert ( 10743 4076 1042 1042 1 s 1058 3580 0 )
+insert ( 10744 4076 1042 1042 2 s 1059 3580 0 )
+insert ( 10745 4076 1042 1042 3 s 1054 3580 0 )
+insert ( 10746 4076 1042 1042 4 s 1061 3580 0 )
+insert ( 10747 4076 1042 1042 5 s 1060 3580 0 )
+insert ( 10748 4586 1042 1042 1 s 1054 3580 0 )
+insert ( 10749 4077 1083 1083 1 s 1110 3580 0 )
+insert ( 10750 4077 1083 1083 2 s 1111 3580 0 )
+insert ( 10751 4077 1083 1083 3 s 1108 3580 0 )
+insert ( 10752 4077 1083 1083 4 s 1113 3580 0 )
+insert ( 10753 4077 1083 1083 5 s 1112 3580 0 )
+insert ( 10754 4612 1083 1083 1 s 1110 3580 0 )
+insert ( 10755 4612 1083 1083 2 s 1111 3580 0 )
+insert ( 10756 4612 1083 1083 3 s 1108 3580 0 )
+insert ( 10757 4612 1083 1083 4 s 1113 3580 0 )
+insert ( 10758 4612 1083 1083 5 s 1112 3580 0 )
+insert ( 10759 4587 1083 1083 1 s 1108 3580 0 )
+insert ( 10760 4059 1114 1114 1 s 2062 3580 0 )
+insert ( 10761 4059 1114 1114 2 s 2063 3580 0 )
+insert ( 10762 4059 1114 1114 3 s 2060 3580 0 )
+insert ( 10763 4059 1114 1114 4 s 2065 3580 0 )
+insert ( 10764 4059 1114 1114 5 s 2064 3580 0 )
+insert ( 10765 4059 1114 1082 1 s 2371 3580 0 )
+insert ( 10766 4059 1114 1082 2 s 2372 3580 0 )
+insert ( 10767 4059 1114 1082 3 s 2373 3580 0 )
+insert ( 10768 4059 1114 1082 4 s 2374 3580 0 )
+insert ( 10769 4059 1114 1082 5 s 2375 3580 0 )
+insert ( 10770 4059 1114 1184 1 s 2534 3580 0 )
+insert ( 10771 4059 1114 1184 2 s 2535 3580 0 )
+insert ( 10772 4059 1114 1184 3 s 2536 3580 0 )
+insert ( 10773 4059 1114 1184 4 s 2537 3580 0 )
+insert ( 10774 4059 1114 1184 5 s 2538 3580 0 )
+insert ( 10775 4059 1082 1082 1 s 1095 3580 0 )
+insert ( 10776 4059 1082 1082 2 s 1096 3580 0 )
+insert ( 10777 4059 1082 1082 3 s 1093 3580 0 )
+insert ( 10778 4059 1082 1082 4 s 1098 3580 0 )
+insert ( 10779 4059 1082 1082 5 s 1097 3580 0 )
+insert ( 10780 4059 1082 1114 1 s 2345 3580 0 )
+insert ( 10781 4059 1082 1114 2 s 2346 3580 0 )
+insert ( 10782 4059 1082 1114 3 s 2347 3580 0 )
+insert ( 10783 4059 1082 1114 4 s 2348 3580 0 )
+insert ( 10784 4059 1082 1114 5 s 2349 3580 0 )
+insert ( 10785 4059 1082 1184 1 s 2358 3580 0 )
+insert ( 10786 4059 1082 1184 2 s 2359 3580 0 )
+insert ( 10787 4059 1082 1184 3 s 2360 3580 0 )
+insert ( 10788 4059 1082 1184 4 s 2361 3580 0 )
+insert ( 10789 4059 1082 1184 5 s 2362 3580 0 )
+insert ( 10790 4059 1184 1082 1 s 2384 3580 0 )
+insert ( 10791 4059 1184 1082 2 s 2385 3580 0 )
+insert ( 10792 4059 1184 1082 3 s 2386 3580 0 )
+insert ( 10793 4059 1184 1082 4 s 2387 3580 0 )
+insert ( 10794 4059 1184 1082 5 s 2388 3580 0 )
+insert ( 10795 4059 1184 1114 1 s 2540 3580 0 )
+insert ( 10796 4059 1184 1114 2 s 2541 3580 0 )
+insert ( 10797 4059 1184 1114 3 s 2542 3580 0 )
+insert ( 10798 4059 1184 1114 4 s 2543 3580 0 )
+insert ( 10799 4059 1184 1114 5 s 2544 3580 0 )
+insert ( 10800 4059 1184 1184 1 s 1322 3580 0 )
+insert ( 10801 4059 1184 1184 2 s 1323 3580 0 )
+insert ( 10802 4059 1184 1184 3 s 1320 3580 0 )
+insert ( 10803 4059 1184 1184 4 s 1325 3580 0 )
+insert ( 10804 4059 1184 1184 5 s 1324 3580 0 )
+insert ( 10805 4605 1114 1114 1 s 2062 3580 0 )
+insert ( 10806 4605 1114 1114 2 s 2063 3580 0 )
+insert ( 10807 4605 1114 1114 3 s 2060 3580 0 )
+insert ( 10808 4605 1114 1114 4 s 2065 3580 0 )
+insert ( 10809 4605 1114 1114 5 s 2064 3580 0 )
+insert ( 10810 4605 1114 1082 1 s 2371 3580 0 )
+insert ( 10811 4605 1114 1082 2 s 2372 3580 0 )
+insert ( 10812 4605 1114 1082 3 s 2373 3580 0 )
+insert ( 10813 4605 1114 1082 4 s 2374 3580 0 )
+insert ( 10814 4605 1114 1082 5 s 2375 3580 0 )
+insert ( 10815 4605 1114 1184 1 s 2534 3580 0 )
+insert ( 10816 4605 1114 1184 2 s 2535 3580 0 )
+insert ( 10817 4605 1114 1184 3 s 2536 3580 0 )
+insert ( 10818 4605 1114 1184 4 s 2537 3580 0 )
+insert ( 10819 4605 1114 1184 5 s 2538 3580 0 )
+insert ( 10820 4605 1082 1082 1 s 1095 3580 0 )
+insert ( 10821 4605 1082 1082 2 s 1096 3580 0 )
+insert ( 10822 4605 1082 1082 3 s 1093 3580 0 )
+insert ( 10823 4605 1082 1082 4 s 1098 3580 0 )
+insert ( 10824 4605 1082 1082 5 s 1097 3580 0 )
+insert ( 10825 4605 1082 1114 1 s 2345 3580 0 )
+insert ( 10826 4605 1082 1114 2 s 2346 3580 0 )
+insert ( 10827 4605 1082 1114 3 s 2347 3580 0 )
+insert ( 10828 4605 1082 1114 4 s 2348 3580 0 )
+insert ( 10829 4605 1082 1114 5 s 2349 3580 0 )
+insert ( 10830 4605 1082 1184 1 s 2358 3580 0 )
+insert ( 10831 4605 1082 1184 2 s 2359 3580 0 )
+insert ( 10832 4605 1082 1184 3 s 2360 3580 0 )
+insert ( 10833 4605 1082 1184 4 s 2361 3580 0 )
+insert ( 10834 4605 1082 1184 5 s 2362 3580 0 )
+insert ( 10835 4605 1184 1082 1 s 2384 3580 0 )
+insert ( 10836 4605 1184 1082 2 s 2385 3580 0 )
+insert ( 10837 4605 1184 1082 3 s 2386 3580 0 )
+insert ( 10838 4605 1184 1082 4 s 2387 3580 0 )
+insert ( 10839 4605 1184 1082 5 s 2388 3580 0 )
+insert ( 10840 4605 1184 1114 1 s 2540 3580 0 )
+insert ( 10841 4605 1184 1114 2 s 2541 3580 0 )
+insert ( 10842 4605 1184 1114 3 s 2542 3580 0 )
+insert ( 10843 4605 1184 1114 4 s 2543 3580 0 )
+insert ( 10844 4605 1184 1114 5 s 2544 3580 0 )
+insert ( 10845 4605 1184 1184 1 s 1322 3580 0 )
+insert ( 10846 4605 1184 1184 2 s 1323 3580 0 )
+insert ( 10847 4605 1184 1184 3 s 1320 3580 0 )
+insert ( 10848 4605 1184 1184 4 s 1325 3580 0 )
+insert ( 10849 4605 1184 1184 5 s 1324 3580 0 )
+insert ( 10850 4576 1114 1114 1 s 2060 3580 0 )
+insert ( 10851 4576 1082 1082 1 s 1093 3580 0 )
+insert ( 10852 4576 1184 1184 1 s 1320 3580 0 )
+insert ( 10853 4078 1186 1186 1 s 1332 3580 0 )
+insert ( 10854 4078 1186 1186 2 s 1333 3580 0 )
+insert ( 10855 4078 1186 1186 3 s 1330 3580 0 )
+insert ( 10856 4078 1186 1186 4 s 1335 3580 0 )
+insert ( 10857 4078 1186 1186 5 s 1334 3580 0 )
+insert ( 10858 4613 1186 1186 1 s 1332 3580 0 )
+insert ( 10859 4613 1186 1186 2 s 1333 3580 0 )
+insert ( 10860 4613 1186 1186 3 s 1330 3580 0 )
+insert ( 10861 4613 1186 1186 4 s 1335 3580 0 )
+insert ( 10862 4613 1186 1186 5 s 1334 3580 0 )
+insert ( 10863 4588 1186 1186 1 s 1330 3580 0 )
+insert ( 10864 4058 1266 1266 1 s 1552 3580 0 )
+insert ( 10865 4058 1266 1266 2 s 1553 3580 0 )
+insert ( 10866 4058 1266 1266 3 s 1550 3580 0 )
+insert ( 10867 4058 1266 1266 4 s 1555 3580 0 )
+insert ( 10868 4058 1266 1266 5 s 1554 3580 0 )
+insert ( 10869 4604 1266 1266 1 s 1552 3580 0 )
+insert ( 10870 4604 1266 1266 2 s 1553 3580 0 )
+insert ( 10871 4604 1266 1266 3 s 1550 3580 0 )
+insert ( 10872 4604 1266 1266 4 s 1555 3580 0 )
+insert ( 10873 4604 1266 1266 5 s 1554 3580 0 )
+insert ( 10874 4575 1266 1266 1 s 1550 3580 0 )
+insert ( 10875 4079 1560 1560 1 s 1786 3580 0 )
+insert ( 10876 4079 1560 1560 2 s 1788 3580 0 )
+insert ( 10877 4079 1560 1560 3 s 1784 3580 0 )
+insert ( 10878 4079 1560 1560 4 s 1789 3580 0 )
+insert ( 10879 4079 1560 1560 5 s 1787 3580 0 )
+insert ( 10880 4080 1562 1562 1 s 1806 3580 0 )
+insert ( 10881 4080 1562 1562 2 s 1808 3580 0 )
+insert ( 10882 4080 1562 1562 3 s 1804 3580 0 )
+insert ( 10883 4080 1562 1562 4 s 1809 3580 0 )
+insert ( 10884 4080 1562 1562 5 s 1807 3580 0 )
+insert ( 10885 4055 1700 1700 1 s 1754 3580 0 )
+insert ( 10886 4055 1700 1700 2 s 1755 3580 0 )
+insert ( 10887 4055 1700 1700 3 s 1752 3580 0 )
+insert ( 10888 4055 1700 1700 4 s 1757 3580 0 )
+insert ( 10889 4055 1700 1700 5 s 1756 3580 0 )
+insert ( 10890 4603 1700 1700 1 s 1754 3580 0 )
+insert ( 10891 4603 1700 1700 2 s 1755 3580 0 )
+insert ( 10892 4603 1700 1700 3 s 1752 3580 0 )
+insert ( 10893 4603 1700 1700 4 s 1757 3580 0 )
+insert ( 10894 4603 1700 1700 5 s 1756 3580 0 )
+insert ( 10895 4574 1700 1700 1 s 1752 3580 0 )
+insert ( 10896 4081 2950 2950 1 s 2974 3580 0 )
+insert ( 10897 4081 2950 2950 2 s 2976 3580 0 )
+insert ( 10898 4081 2950 2950 3 s 2972 3580 0 )
+insert ( 10899 4081 2950 2950 4 s 2977 3580 0 )
+insert ( 10900 4081 2950 2950 5 s 2975 3580 0 )
+insert ( 10901 4614 2950 2950 1 s 2974 3580 0 )
+insert ( 10902 4614 2950 2950 2 s 2976 3580 0 )
+insert ( 10903 4614 2950 2950 3 s 2972 3580 0 )
+insert ( 10904 4614 2950 2950 4 s 2977 3580 0 )
+insert ( 10905 4614 2950 2950 5 s 2975 3580 0 )
+insert ( 10906 4589 2950 2950 1 s 2972 3580 0 )
+insert ( 10907 4103 3831 3831 1 s 3893 3580 0 )
+insert ( 10908 4103 3831 3831 2 s 3895 3580 0 )
+insert ( 10909 4103 3831 3831 3 s 3888 3580 0 )
+insert ( 10910 4103 3831 3831 4 s 3896 3580 0 )
+insert ( 10911 4103 3831 3831 5 s 3894 3580 0 )
+insert ( 10912 4103 3831 3831 7 s 3890 3580 0 )
+insert ( 10913 4103 3831 3831 8 s 3892 3580 0 )
+insert ( 10914 4103 3831 2283 16 s 3889 3580 0 )
+insert ( 10915 4103 3831 3831 17 s 3897 3580 0 )
+insert ( 10916 4103 3831 3831 18 s 3882 3580 0 )
+insert ( 10917 4103 3831 3831 20 s 3884 3580 0 )
+insert ( 10918 4103 3831 3831 21 s 3885 3580 0 )
+insert ( 10919 4103 3831 3831 22 s 3887 3580 0 )
+insert ( 10920 4103 3831 3831 23 s 3886 3580 0 )
+insert ( 10921 4082 3220 3220 1 s 3224 3580 0 )
+insert ( 10922 4082 3220 3220 2 s 3226 3580 0 )
+insert ( 10923 4082 3220 3220 3 s 3222 3580 0 )
+insert ( 10924 4082 3220 3220 4 s 3227 3580 0 )
+insert ( 10925 4082 3220 3220 5 s 3225 3580 0 )
+insert ( 10926 4615 3220 3220 1 s 3224 3580 0 )
+insert ( 10927 4615 3220 3220 2 s 3226 3580 0 )
+insert ( 10928 4615 3220 3220 3 s 3222 3580 0 )
+insert ( 10929 4615 3220 3220 4 s 3227 3580 0 )
+insert ( 10930 4615 3220 3220 5 s 3225 3580 0 )
+insert ( 10931 4590 3220 3220 1 s 3222 3580 0 )
+insert ( 10932 4104 603 603 1 s 493 3580 0 )
+insert ( 10933 4104 603 603 2 s 494 3580 0 )
+insert ( 10934 4104 603 603 3 s 500 3580 0 )
+insert ( 10935 4104 603 603 4 s 495 3580 0 )
+insert ( 10936 4104 603 603 5 s 496 3580 0 )
+insert ( 10937 4104 603 603 6 s 499 3580 0 )
+insert ( 10938 4104 603 603 7 s 498 3580 0 )
+insert ( 10939 4104 603 603 8 s 497 3580 0 )
+insert ( 10940 4104 603 603 9 s 2571 3580 0 )
+insert ( 10941 4104 603 603 10 s 2570 3580 0 )
+insert ( 10942 4104 603 603 11 s 2573 3580 0 )
+insert ( 10943 4104 603 603 12 s 2572 3580 0 )
+insert ( 10944 4104 603 600 7 s 433 3580 0 )
+close pg_amop
+create pg_amproc 2603
+ (
+ oid = oid ,
+ amprocfamily = oid ,
+ amproclefttype = oid ,
+ amprocrighttype = oid ,
+ amprocnum = int2 ,
+ amproc = regproc
+ )
+open pg_amproc
+insert ( 10000 397 2277 2277 1 382 )
+insert ( 10001 423 1560 1560 1 1596 )
+insert ( 10002 423 1560 1560 4 5051 )
+insert ( 10003 424 16 16 1 1693 )
+insert ( 10004 424 16 16 4 5051 )
+insert ( 10005 426 1042 1042 1 1078 )
+insert ( 10006 426 1042 1042 2 3328 )
+insert ( 10007 426 1042 1042 4 5050 )
+insert ( 10008 428 17 17 1 1954 )
+insert ( 10009 428 17 17 2 3331 )
+insert ( 10010 428 17 17 4 5051 )
+insert ( 10011 429 18 18 1 358 )
+insert ( 10012 429 18 18 4 5051 )
+insert ( 10013 434 1082 1082 1 1092 )
+insert ( 10014 434 1082 1082 2 3136 )
+insert ( 10015 434 1082 1082 4 5051 )
+insert ( 10016 434 1082 1114 1 2344 )
+insert ( 10017 434 1082 1184 1 2357 )
+insert ( 10018 434 1114 1114 1 2045 )
+insert ( 10019 434 1114 1114 2 3137 )
+insert ( 10020 434 1114 1114 4 5051 )
+insert ( 10021 434 1114 1082 1 2370 )
+insert ( 10022 434 1114 1184 1 2526 )
+insert ( 10023 434 1184 1184 1 1314 )
+insert ( 10024 434 1184 1184 2 3137 )
+insert ( 10025 434 1184 1184 4 5051 )
+insert ( 10026 434 1184 1082 1 2383 )
+insert ( 10027 434 1184 1114 1 2533 )
+insert ( 10028 434 1082 1186 3 4133 )
+insert ( 10029 434 1114 1186 3 4134 )
+insert ( 10030 434 1184 1186 3 4135 )
+insert ( 10031 1970 700 700 1 354 )
+insert ( 10032 1970 700 700 2 3132 )
+insert ( 10033 1970 700 701 1 2194 )
+insert ( 10034 1970 701 701 1 355 )
+insert ( 10035 1970 701 701 2 3133 )
+insert ( 10036 1970 701 700 1 2195 )
+insert ( 10037 1970 701 701 3 4139 )
+insert ( 10038 1970 700 701 3 4140 )
+insert ( 10039 1974 869 869 1 926 )
+insert ( 10040 1974 869 869 2 5033 )
+insert ( 10041 1974 869 869 4 5051 )
+insert ( 10042 1976 21 21 1 350 )
+insert ( 10043 1976 21 21 2 3129 )
+insert ( 10044 1976 21 21 4 5051 )
+insert ( 10045 1976 21 23 1 2190 )
+insert ( 10046 1976 21 20 1 2192 )
+insert ( 10047 1976 21 20 3 4130 )
+insert ( 10048 1976 21 23 3 4131 )
+insert ( 10049 1976 21 21 3 4132 )
+insert ( 10050 1976 23 23 1 351 )
+insert ( 10051 1976 23 23 2 3130 )
+insert ( 10052 1976 23 23 4 5051 )
+insert ( 10053 1976 23 20 1 2188 )
+insert ( 10054 1976 23 21 1 2191 )
+insert ( 10055 1976 23 20 3 4127 )
+insert ( 10056 1976 23 23 3 4128 )
+insert ( 10057 1976 23 21 3 4129 )
+insert ( 10058 1976 20 20 1 842 )
+insert ( 10059 1976 20 20 2 3131 )
+insert ( 10060 1976 20 20 4 5051 )
+insert ( 10061 1976 20 23 1 2189 )
+insert ( 10062 1976 20 21 1 2193 )
+insert ( 10063 1976 20 20 3 4126 )
+insert ( 10064 1982 1186 1186 1 1315 )
+insert ( 10065 1982 1186 1186 3 4136 )
+insert ( 10066 1984 829 829 1 836 )
+insert ( 10067 1984 829 829 2 3359 )
+insert ( 10068 1984 829 829 4 5051 )
+insert ( 10069 1988 1700 1700 1 1769 )
+insert ( 10070 1988 1700 1700 2 3283 )
+insert ( 10071 1988 1700 1700 3 4141 )
+insert ( 10072 1989 26 26 1 356 )
+insert ( 10073 1989 26 26 2 3134 )
+insert ( 10074 1989 26 26 4 5051 )
+insert ( 10075 1991 30 30 1 404 )
+insert ( 10076 1991 30 30 4 5051 )
+insert ( 10077 1994 25 25 1 360 )
+insert ( 10078 1994 25 25 2 3255 )
+insert ( 10079 1994 25 25 4 5050 )
+insert ( 10080 1994 19 19 1 359 )
+insert ( 10081 1994 19 19 2 3135 )
+insert ( 10082 1994 19 19 4 5050 )
+insert ( 10083 1994 19 25 1 246 )
+insert ( 10084 1994 25 19 1 253 )
+insert ( 10085 1996 1083 1083 1 1107 )
+insert ( 10086 1996 1083 1083 4 5051 )
+insert ( 10087 1996 1083 1186 3 4137 )
+insert ( 10088 2000 1266 1266 1 1358 )
+insert ( 10089 2000 1266 1266 4 5051 )
+insert ( 10090 2000 1266 1186 3 4138 )
+insert ( 10091 2002 1562 1562 1 1672 )
+insert ( 10092 2002 1562 1562 4 5051 )
+insert ( 10093 2095 25 25 1 2166 )
+insert ( 10094 2095 25 25 2 3332 )
+insert ( 10095 2095 25 25 4 5051 )
+insert ( 10096 2097 1042 1042 1 2180 )
+insert ( 10097 2097 1042 1042 2 3333 )
+insert ( 10098 2097 1042 1042 4 5051 )
+insert ( 10099 2099 790 790 1 377 )
+insert ( 10100 2099 790 790 4 5051 )
+insert ( 10101 2789 27 27 1 2794 )
+insert ( 10102 2789 27 27 4 5051 )
+insert ( 10103 2968 2950 2950 1 2960 )
+insert ( 10104 2968 2950 2950 2 3300 )
+insert ( 10105 2968 2950 2950 4 5051 )
+insert ( 10106 2994 2249 2249 1 2987 )
+insert ( 10107 3194 2249 2249 1 3187 )
+insert ( 10108 3253 3220 3220 1 3251 )
+insert ( 10109 3253 3220 3220 4 5051 )
+insert ( 10110 3371 774 774 1 4119 )
+insert ( 10111 3371 774 774 4 5051 )
+insert ( 10112 3522 3500 3500 1 3514 )
+insert ( 10113 3522 3500 3500 4 5051 )
+insert ( 10114 3626 3614 3614 1 3622 )
+insert ( 10115 3683 3615 3615 1 3668 )
+insert ( 10116 3901 3831 3831 1 3870 )
+insert ( 10117 4199 4537 4537 1 4273 )
+insert ( 10118 4033 3802 3802 1 4044 )
+insert ( 10119 5067 5069 5069 1 5096 )
+insert ( 10120 5067 5069 5069 4 5051 )
+insert ( 10121 427 1042 1042 1 1080 )
+insert ( 10122 427 1042 1042 2 972 )
+insert ( 10123 431 18 18 1 454 )
+insert ( 10124 431 18 18 2 446 )
+insert ( 10125 435 1082 1082 1 450 )
+insert ( 10126 435 1082 1082 2 425 )
+insert ( 10127 627 2277 2277 1 626 )
+insert ( 10128 627 2277 2277 2 782 )
+insert ( 10129 1971 700 700 1 451 )
+insert ( 10130 1971 700 700 2 443 )
+insert ( 10131 1971 701 701 1 452 )
+insert ( 10132 1971 701 701 2 444 )
+insert ( 10133 1975 869 869 1 422 )
+insert ( 10134 1975 869 869 2 779 )
+insert ( 10135 1977 21 21 1 449 )
+insert ( 10136 1977 21 21 2 441 )
+insert ( 10137 1977 23 23 1 450 )
+insert ( 10138 1977 23 23 2 425 )
+insert ( 10139 1977 20 20 1 949 )
+insert ( 10140 1977 20 20 2 442 )
+insert ( 10141 1983 1186 1186 1 1697 )
+insert ( 10142 1983 1186 1186 2 3418 )
+insert ( 10143 1985 829 829 1 399 )
+insert ( 10144 1985 829 829 2 778 )
+insert ( 10145 1990 26 26 1 453 )
+insert ( 10146 1990 26 26 2 445 )
+insert ( 10147 1992 30 30 1 457 )
+insert ( 10148 1992 30 30 2 776 )
+insert ( 10149 1995 25 25 1 400 )
+insert ( 10150 1995 25 25 2 448 )
+insert ( 10151 1995 19 19 1 455 )
+insert ( 10152 1995 19 19 2 447 )
+insert ( 10153 1997 1083 1083 1 1688 )
+insert ( 10154 1997 1083 1083 2 3409 )
+insert ( 10155 1998 1700 1700 1 432 )
+insert ( 10156 1998 1700 1700 2 780 )
+insert ( 10157 1999 1184 1184 1 2039 )
+insert ( 10158 1999 1184 1184 2 3411 )
+insert ( 10159 2001 1266 1266 1 1696 )
+insert ( 10160 2001 1266 1266 2 3410 )
+insert ( 10161 2040 1114 1114 1 2039 )
+insert ( 10162 2040 1114 1114 2 3411 )
+insert ( 10163 2222 16 16 1 454 )
+insert ( 10164 2222 16 16 2 446 )
+insert ( 10165 2223 17 17 1 456 )
+insert ( 10166 2223 17 17 2 772 )
+insert ( 10167 2225 28 28 1 450 )
+insert ( 10168 2225 28 28 2 425 )
+insert ( 10169 5032 5069 5069 1 949 )
+insert ( 10170 5032 5069 5069 2 442 )
+insert ( 10171 2226 29 29 1 450 )
+insert ( 10172 2226 29 29 2 425 )
+insert ( 10173 2227 27 27 1 2233 )
+insert ( 10174 2227 27 27 2 2234 )
+insert ( 10175 2229 25 25 1 400 )
+insert ( 10176 2229 25 25 2 448 )
+insert ( 10177 2231 1042 1042 1 1080 )
+insert ( 10178 2231 1042 1042 2 972 )
+insert ( 10179 2235 1033 1033 1 329 )
+insert ( 10180 2235 1033 1033 2 777 )
+insert ( 10181 2969 2950 2950 1 2963 )
+insert ( 10182 2969 2950 2950 2 3412 )
+insert ( 10183 6194 2249 2249 1 6192 )
+insert ( 10184 6194 2249 2249 2 6193 )
+insert ( 10185 3254 3220 3220 1 3252 )
+insert ( 10186 3254 3220 3220 2 3413 )
+insert ( 10187 3372 774 774 1 328 )
+insert ( 10188 3372 774 774 2 781 )
+insert ( 10189 3523 3500 3500 1 3515 )
+insert ( 10190 3523 3500 3500 2 3414 )
+insert ( 10191 3903 3831 3831 1 3902 )
+insert ( 10192 3903 3831 3831 2 3417 )
+insert ( 10193 4225 4537 4537 1 4278 )
+insert ( 10194 4225 4537 4537 2 4279 )
+insert ( 10195 4034 3802 3802 1 4045 )
+insert ( 10196 4034 3802 3802 2 3416 )
+insert ( 10197 1029 600 600 1 2179 )
+insert ( 10198 1029 600 600 2 2583 )
+insert ( 10199 1029 600 600 3 1030 )
+insert ( 10200 1029 600 600 5 2581 )
+insert ( 10201 1029 600 600 6 2582 )
+insert ( 10202 1029 600 600 7 2584 )
+insert ( 10203 1029 600 600 8 3064 )
+insert ( 10204 1029 600 600 9 3282 )
+insert ( 10205 1029 600 600 11 3435 )
+insert ( 10206 2593 603 603 1 2578 )
+insert ( 10207 2593 603 603 2 2583 )
+insert ( 10208 2593 603 603 5 2581 )
+insert ( 10209 2593 603 603 6 2582 )
+insert ( 10210 2593 603 603 7 2584 )
+insert ( 10211 2593 603 603 8 3998 )
+insert ( 10212 2594 604 604 1 2585 )
+insert ( 10213 2594 604 604 2 2583 )
+insert ( 10214 2594 604 604 3 2586 )
+insert ( 10215 2594 604 604 5 2581 )
+insert ( 10216 2594 604 604 6 2582 )
+insert ( 10217 2594 604 604 7 2584 )
+insert ( 10218 2594 604 604 8 3288 )
+insert ( 10219 2595 718 718 1 2591 )
+insert ( 10220 2595 718 718 2 2583 )
+insert ( 10221 2595 718 718 3 2592 )
+insert ( 10222 2595 718 718 5 2581 )
+insert ( 10223 2595 718 718 6 2582 )
+insert ( 10224 2595 718 718 7 2584 )
+insert ( 10225 2595 718 718 8 3280 )
+insert ( 10226 3655 3614 3614 1 3654 )
+insert ( 10227 3655 3614 3614 2 3651 )
+insert ( 10228 3655 3614 3614 3 3648 )
+insert ( 10229 3655 3614 3614 4 3649 )
+insert ( 10230 3655 3614 3614 5 3653 )
+insert ( 10231 3655 3614 3614 6 3650 )
+insert ( 10232 3655 3614 3614 7 3652 )
+insert ( 10233 3655 3614 3614 10 3434 )
+insert ( 10234 3702 3615 3615 1 3701 )
+insert ( 10235 3702 3615 3615 2 3698 )
+insert ( 10236 3702 3615 3615 3 3695 )
+insert ( 10237 3702 3615 3615 5 3700 )
+insert ( 10238 3702 3615 3615 6 3697 )
+insert ( 10239 3702 3615 3615 7 3699 )
+insert ( 10240 3919 3831 3831 1 3875 )
+insert ( 10241 3919 3831 3831 2 3876 )
+insert ( 10242 3919 3831 3831 5 3879 )
+insert ( 10243 3919 3831 3831 6 3880 )
+insert ( 10244 3919 3831 3831 7 3881 )
+insert ( 10245 3550 869 869 1 3553 )
+insert ( 10246 3550 869 869 2 3554 )
+insert ( 10247 3550 869 869 3 3555 )
+insert ( 10248 3550 869 869 5 3557 )
+insert ( 10249 3550 869 869 6 3558 )
+insert ( 10250 3550 869 869 7 3559 )
+insert ( 10251 3550 869 869 9 3573 )
+insert ( 10252 6158 4537 4537 1 6154 )
+insert ( 10253 6158 4537 4537 2 3876 )
+insert ( 10254 6158 4537 4537 3 6156 )
+insert ( 10255 6158 4537 4537 5 3879 )
+insert ( 10256 6158 4537 4537 6 3880 )
+insert ( 10257 6158 4537 4537 7 3881 )
+insert ( 10258 2745 2277 2277 2 2743 )
+insert ( 10259 2745 2277 2277 3 2774 )
+insert ( 10260 2745 2277 2277 4 2744 )
+insert ( 10261 2745 2277 2277 6 3920 )
+insert ( 10262 3659 3614 3614 1 3724 )
+insert ( 10263 3659 3614 3614 2 3656 )
+insert ( 10264 3659 3614 3614 3 3657 )
+insert ( 10265 3659 3614 3614 4 3658 )
+insert ( 10266 3659 3614 3614 5 2700 )
+insert ( 10267 3659 3614 3614 6 3921 )
+insert ( 10268 4036 3802 3802 1 3480 )
+insert ( 10269 4036 3802 3802 2 3482 )
+insert ( 10270 4036 3802 3802 3 3483 )
+insert ( 10271 4036 3802 3802 4 3484 )
+insert ( 10272 4036 3802 3802 6 3488 )
+insert ( 10273 4037 3802 3802 1 351 )
+insert ( 10274 4037 3802 3802 2 3485 )
+insert ( 10275 4037 3802 3802 3 3486 )
+insert ( 10276 4037 3802 3802 4 3487 )
+insert ( 10277 4037 3802 3802 6 3489 )
+insert ( 10278 3474 3831 3831 1 3469 )
+insert ( 10279 3474 3831 3831 2 3470 )
+insert ( 10280 3474 3831 3831 3 3471 )
+insert ( 10281 3474 3831 3831 4 3472 )
+insert ( 10282 3474 3831 3831 5 3473 )
+insert ( 10283 3794 869 869 1 3795 )
+insert ( 10284 3794 869 869 2 3796 )
+insert ( 10285 3794 869 869 3 3797 )
+insert ( 10286 3794 869 869 4 3798 )
+insert ( 10287 3794 869 869 5 3799 )
+insert ( 10288 4015 600 600 1 4018 )
+insert ( 10289 4015 600 600 2 4019 )
+insert ( 10290 4015 600 600 3 4020 )
+insert ( 10291 4015 600 600 4 4021 )
+insert ( 10292 4015 600 600 5 4022 )
+insert ( 10293 4016 600 600 1 4023 )
+insert ( 10294 4016 600 600 2 4024 )
+insert ( 10295 4016 600 600 3 4025 )
+insert ( 10296 4016 600 600 4 4026 )
+insert ( 10297 4016 600 600 5 4022 )
+insert ( 10298 4017 25 25 1 4027 )
+insert ( 10299 4017 25 25 2 4028 )
+insert ( 10300 4017 25 25 3 4029 )
+insert ( 10301 4017 25 25 4 4030 )
+insert ( 10302 4017 25 25 5 4031 )
+insert ( 10303 5000 603 603 1 5012 )
+insert ( 10304 5000 603 603 2 5013 )
+insert ( 10305 5000 603 603 3 5014 )
+insert ( 10306 5000 603 603 4 5015 )
+insert ( 10307 5000 603 603 5 5016 )
+insert ( 10308 5008 604 604 1 5010 )
+insert ( 10309 5008 604 604 2 5013 )
+insert ( 10310 5008 604 604 3 5014 )
+insert ( 10311 5008 604 604 4 5015 )
+insert ( 10312 5008 604 604 5 5016 )
+insert ( 10313 5008 604 604 6 5011 )
+insert ( 10314 4064 17 17 1 3383 )
+insert ( 10315 4064 17 17 2 3384 )
+insert ( 10316 4064 17 17 3 3385 )
+insert ( 10317 4064 17 17 4 3386 )
+insert ( 10318 4578 17 17 1 4591 )
+insert ( 10319 4578 17 17 2 4592 )
+insert ( 10320 4578 17 17 3 4593 )
+insert ( 10321 4578 17 17 4 4594 )
+insert ( 10322 4578 17 17 5 4595 )
+insert ( 10323 4578 17 17 11 456 )
+insert ( 10324 4062 18 18 1 3383 )
+insert ( 10325 4062 18 18 2 3384 )
+insert ( 10326 4062 18 18 3 3385 )
+insert ( 10327 4062 18 18 4 3386 )
+insert ( 10328 4577 18 18 1 4591 )
+insert ( 10329 4577 18 18 2 4592 )
+insert ( 10330 4577 18 18 3 4593 )
+insert ( 10331 4577 18 18 4 4594 )
+insert ( 10332 4577 18 18 5 4595 )
+insert ( 10333 4577 18 18 11 454 )
+insert ( 10334 4065 19 19 1 3383 )
+insert ( 10335 4065 19 19 2 3384 )
+insert ( 10336 4065 19 19 3 3385 )
+insert ( 10337 4065 19 19 4 3386 )
+insert ( 10338 4579 19 19 1 4591 )
+insert ( 10339 4579 19 19 2 4592 )
+insert ( 10340 4579 19 19 3 4593 )
+insert ( 10341 4579 19 19 4 4594 )
+insert ( 10342 4579 19 19 5 4595 )
+insert ( 10343 4579 19 19 11 455 )
+insert ( 10344 4054 20 20 1 3383 )
+insert ( 10345 4054 20 20 2 3384 )
+insert ( 10346 4054 20 20 3 3385 )
+insert ( 10347 4054 20 20 4 3386 )
+insert ( 10348 4054 21 21 1 3383 )
+insert ( 10349 4054 21 21 2 3384 )
+insert ( 10350 4054 21 21 3 3385 )
+insert ( 10351 4054 21 21 4 3386 )
+insert ( 10352 4054 23 23 1 3383 )
+insert ( 10353 4054 23 23 2 3384 )
+insert ( 10354 4054 23 23 3 3385 )
+insert ( 10355 4054 23 23 4 3386 )
+insert ( 10356 4602 21 21 1 4616 )
+insert ( 10357 4602 21 21 2 4617 )
+insert ( 10358 4602 21 21 3 4618 )
+insert ( 10359 4602 21 21 4 4619 )
+insert ( 10360 4602 21 21 5 4620 )
+insert ( 10361 4602 21 21 11 4621 )
+insert ( 10362 4602 23 23 1 4616 )
+insert ( 10363 4602 23 23 2 4617 )
+insert ( 10364 4602 23 23 3 4618 )
+insert ( 10365 4602 23 23 4 4619 )
+insert ( 10366 4602 23 23 5 4620 )
+insert ( 10367 4602 23 23 11 4622 )
+insert ( 10368 4602 20 20 1 4616 )
+insert ( 10369 4602 20 20 2 4617 )
+insert ( 10370 4602 20 20 3 4618 )
+insert ( 10371 4602 20 20 4 4619 )
+insert ( 10372 4602 20 20 5 4620 )
+insert ( 10373 4602 20 20 11 4623 )
+insert ( 10374 4572 20 20 1 4591 )
+insert ( 10375 4572 20 20 2 4592 )
+insert ( 10376 4572 20 20 3 4593 )
+insert ( 10377 4572 20 20 4 4594 )
+insert ( 10378 4572 20 20 5 4595 )
+insert ( 10379 4572 20 20 11 949 )
+insert ( 10380 4572 21 21 1 4591 )
+insert ( 10381 4572 21 21 2 4592 )
+insert ( 10382 4572 21 21 3 4593 )
+insert ( 10383 4572 21 21 4 4594 )
+insert ( 10384 4572 21 21 5 4595 )
+insert ( 10385 4572 21 21 11 449 )
+insert ( 10386 4572 23 23 1 4591 )
+insert ( 10387 4572 23 23 2 4592 )
+insert ( 10388 4572 23 23 3 4593 )
+insert ( 10389 4572 23 23 4 4594 )
+insert ( 10390 4572 23 23 5 4595 )
+insert ( 10391 4572 23 23 11 450 )
+insert ( 10392 4056 25 25 1 3383 )
+insert ( 10393 4056 25 25 2 3384 )
+insert ( 10394 4056 25 25 3 3385 )
+insert ( 10395 4056 25 25 4 3386 )
+insert ( 10396 4573 25 25 1 4591 )
+insert ( 10397 4573 25 25 2 4592 )
+insert ( 10398 4573 25 25 3 4593 )
+insert ( 10399 4573 25 25 4 4594 )
+insert ( 10400 4573 25 25 5 4595 )
+insert ( 10401 4573 25 25 11 400 )
+insert ( 10402 4068 26 26 1 3383 )
+insert ( 10403 4068 26 26 2 3384 )
+insert ( 10404 4068 26 26 3 3385 )
+insert ( 10405 4068 26 26 4 3386 )
+insert ( 10406 4606 26 26 1 4616 )
+insert ( 10407 4606 26 26 2 4617 )
+insert ( 10408 4606 26 26 3 4618 )
+insert ( 10409 4606 26 26 4 4619 )
+insert ( 10410 4606 26 26 5 4620 )
+insert ( 10411 4606 26 26 11 4622 )
+insert ( 10412 4580 26 26 1 4591 )
+insert ( 10413 4580 26 26 2 4592 )
+insert ( 10414 4580 26 26 3 4593 )
+insert ( 10415 4580 26 26 4 4594 )
+insert ( 10416 4580 26 26 5 4595 )
+insert ( 10417 4580 26 26 11 453 )
+insert ( 10418 4069 27 27 1 3383 )
+insert ( 10419 4069 27 27 2 3384 )
+insert ( 10420 4069 27 27 3 3385 )
+insert ( 10421 4069 27 27 4 3386 )
+insert ( 10422 4581 27 27 1 4591 )
+insert ( 10423 4581 27 27 2 4592 )
+insert ( 10424 4581 27 27 3 4593 )
+insert ( 10425 4581 27 27 4 4594 )
+insert ( 10426 4581 27 27 5 4595 )
+insert ( 10427 4581 27 27 11 2233 )
+insert ( 10428 4607 27 27 1 4616 )
+insert ( 10429 4607 27 27 2 4617 )
+insert ( 10430 4607 27 27 3 4618 )
+insert ( 10431 4607 27 27 4 4619 )
+insert ( 10432 4607 27 27 5 4620 )
+insert ( 10433 4607 27 27 11 4627 )
+insert ( 10434 4070 700 700 1 3383 )
+insert ( 10435 4070 700 700 2 3384 )
+insert ( 10436 4070 700 700 3 3385 )
+insert ( 10437 4070 700 700 4 3386 )
+insert ( 10438 4070 701 701 1 3383 )
+insert ( 10439 4070 701 701 2 3384 )
+insert ( 10440 4070 701 701 3 3385 )
+insert ( 10441 4070 701 701 4 3386 )
+insert ( 10442 4608 700 700 1 4616 )
+insert ( 10443 4608 700 700 2 4617 )
+insert ( 10444 4608 700 700 3 4618 )
+insert ( 10445 4608 700 700 4 4619 )
+insert ( 10446 4608 700 700 5 4620 )
+insert ( 10447 4608 700 700 11 4624 )
+insert ( 10448 4608 701 701 1 4616 )
+insert ( 10449 4608 701 701 2 4617 )
+insert ( 10450 4608 701 701 3 4618 )
+insert ( 10451 4608 701 701 4 4619 )
+insert ( 10452 4608 701 701 5 4620 )
+insert ( 10453 4608 701 701 11 4625 )
+insert ( 10454 4582 700 700 1 4591 )
+insert ( 10455 4582 700 700 2 4592 )
+insert ( 10456 4582 700 700 3 4593 )
+insert ( 10457 4582 700 700 4 4594 )
+insert ( 10458 4582 700 700 5 4595 )
+insert ( 10459 4582 700 700 11 451 )
+insert ( 10460 4582 701 701 1 4591 )
+insert ( 10461 4582 701 701 2 4592 )
+insert ( 10462 4582 701 701 3 4593 )
+insert ( 10463 4582 701 701 4 4594 )
+insert ( 10464 4582 701 701 5 4595 )
+insert ( 10465 4582 701 701 11 452 )
+insert ( 10466 4074 829 829 1 3383 )
+insert ( 10467 4074 829 829 2 3384 )
+insert ( 10468 4074 829 829 3 3385 )
+insert ( 10469 4074 829 829 4 3386 )
+insert ( 10470 4609 829 829 1 4616 )
+insert ( 10471 4609 829 829 2 4617 )
+insert ( 10472 4609 829 829 3 4618 )
+insert ( 10473 4609 829 829 4 4619 )
+insert ( 10474 4609 829 829 5 4620 )
+insert ( 10475 4609 829 829 11 4634 )
+insert ( 10476 4583 829 829 1 4591 )
+insert ( 10477 4583 829 829 2 4592 )
+insert ( 10478 4583 829 829 3 4593 )
+insert ( 10479 4583 829 829 4 4594 )
+insert ( 10480 4583 829 829 5 4595 )
+insert ( 10481 4583 829 829 11 399 )
+insert ( 10482 4109 774 774 1 3383 )
+insert ( 10483 4109 774 774 2 3384 )
+insert ( 10484 4109 774 774 3 3385 )
+insert ( 10485 4109 774 774 4 3386 )
+insert ( 10486 4610 774 774 1 4616 )
+insert ( 10487 4610 774 774 2 4617 )
+insert ( 10488 4610 774 774 3 4618 )
+insert ( 10489 4610 774 774 4 4619 )
+insert ( 10490 4610 774 774 5 4620 )
+insert ( 10491 4610 774 774 11 4635 )
+insert ( 10492 4584 774 774 1 4591 )
+insert ( 10493 4584 774 774 2 4592 )
+insert ( 10494 4584 774 774 3 4593 )
+insert ( 10495 4584 774 774 4 4594 )
+insert ( 10496 4584 774 774 5 4595 )
+insert ( 10497 4584 774 774 11 328 )
+insert ( 10498 4075 869 869 1 3383 )
+insert ( 10499 4075 869 869 2 3384 )
+insert ( 10500 4075 869 869 3 3385 )
+insert ( 10501 4075 869 869 4 3386 )
+insert ( 10502 4611 869 869 1 4616 )
+insert ( 10503 4611 869 869 2 4617 )
+insert ( 10504 4611 869 869 3 4618 )
+insert ( 10505 4611 869 869 4 4619 )
+insert ( 10506 4611 869 869 5 4620 )
+insert ( 10507 4611 869 869 11 4636 )
+insert ( 10508 4585 869 869 1 4591 )
+insert ( 10509 4585 869 869 2 4592 )
+insert ( 10510 4585 869 869 3 4593 )
+insert ( 10511 4585 869 869 4 4594 )
+insert ( 10512 4585 869 869 5 4595 )
+insert ( 10513 4585 869 869 11 422 )
+insert ( 10514 4102 869 869 1 4105 )
+insert ( 10515 4102 869 869 2 4106 )
+insert ( 10516 4102 869 869 3 4107 )
+insert ( 10517 4102 869 869 4 4108 )
+insert ( 10518 4102 869 869 11 4063 )
+insert ( 10519 4102 869 869 12 4071 )
+insert ( 10520 4102 869 869 13 930 )
+insert ( 10521 4076 1042 1042 1 3383 )
+insert ( 10522 4076 1042 1042 2 3384 )
+insert ( 10523 4076 1042 1042 3 3385 )
+insert ( 10524 4076 1042 1042 4 3386 )
+insert ( 10525 4586 1042 1042 1 4591 )
+insert ( 10526 4586 1042 1042 2 4592 )
+insert ( 10527 4586 1042 1042 3 4593 )
+insert ( 10528 4586 1042 1042 4 4594 )
+insert ( 10529 4586 1042 1042 5 4595 )
+insert ( 10530 4586 1042 1042 11 1080 )
+insert ( 10531 4077 1083 1083 1 3383 )
+insert ( 10532 4077 1083 1083 2 3384 )
+insert ( 10533 4077 1083 1083 3 3385 )
+insert ( 10534 4077 1083 1083 4 3386 )
+insert ( 10535 4612 1083 1083 1 4616 )
+insert ( 10536 4612 1083 1083 2 4617 )
+insert ( 10537 4612 1083 1083 3 4618 )
+insert ( 10538 4612 1083 1083 4 4619 )
+insert ( 10539 4612 1083 1083 5 4620 )
+insert ( 10540 4612 1083 1083 11 4630 )
+insert ( 10541 4587 1083 1083 1 4591 )
+insert ( 10542 4587 1083 1083 2 4592 )
+insert ( 10543 4587 1083 1083 3 4593 )
+insert ( 10544 4587 1083 1083 4 4594 )
+insert ( 10545 4587 1083 1083 5 4595 )
+insert ( 10546 4587 1083 1083 11 1688 )
+insert ( 10547 4059 1114 1114 1 3383 )
+insert ( 10548 4059 1114 1114 2 3384 )
+insert ( 10549 4059 1114 1114 3 3385 )
+insert ( 10550 4059 1114 1114 4 3386 )
+insert ( 10551 4059 1184 1184 1 3383 )
+insert ( 10552 4059 1184 1184 2 3384 )
+insert ( 10553 4059 1184 1184 3 3385 )
+insert ( 10554 4059 1184 1184 4 3386 )
+insert ( 10555 4059 1082 1082 1 3383 )
+insert ( 10556 4059 1082 1082 2 3384 )
+insert ( 10557 4059 1082 1082 3 3385 )
+insert ( 10558 4059 1082 1082 4 3386 )
+insert ( 10559 4605 1114 1114 1 4616 )
+insert ( 10560 4605 1114 1114 2 4617 )
+insert ( 10561 4605 1114 1114 3 4618 )
+insert ( 10562 4605 1114 1114 4 4619 )
+insert ( 10563 4605 1114 1114 5 4620 )
+insert ( 10564 4605 1114 1114 11 4637 )
+insert ( 10565 4605 1184 1184 1 4616 )
+insert ( 10566 4605 1184 1184 2 4617 )
+insert ( 10567 4605 1184 1184 3 4618 )
+insert ( 10568 4605 1184 1184 4 4619 )
+insert ( 10569 4605 1184 1184 5 4620 )
+insert ( 10570 4605 1184 1184 11 4637 )
+insert ( 10571 4605 1082 1082 1 4616 )
+insert ( 10572 4605 1082 1082 2 4617 )
+insert ( 10573 4605 1082 1082 3 4618 )
+insert ( 10574 4605 1082 1082 4 4619 )
+insert ( 10575 4605 1082 1082 5 4620 )
+insert ( 10576 4605 1082 1082 11 4629 )
+insert ( 10577 4576 1114 1114 1 4591 )
+insert ( 10578 4576 1114 1114 2 4592 )
+insert ( 10579 4576 1114 1114 3 4593 )
+insert ( 10580 4576 1114 1114 4 4594 )
+insert ( 10581 4576 1114 1114 5 4595 )
+insert ( 10582 4576 1114 1114 11 2039 )
+insert ( 10583 4576 1184 1184 1 4591 )
+insert ( 10584 4576 1184 1184 2 4592 )
+insert ( 10585 4576 1184 1184 3 4593 )
+insert ( 10586 4576 1184 1184 4 4594 )
+insert ( 10587 4576 1184 1184 5 4595 )
+insert ( 10588 4576 1184 1184 11 2039 )
+insert ( 10589 4576 1082 1082 1 4591 )
+insert ( 10590 4576 1082 1082 2 4592 )
+insert ( 10591 4576 1082 1082 3 4593 )
+insert ( 10592 4576 1082 1082 4 4594 )
+insert ( 10593 4576 1082 1082 5 4595 )
+insert ( 10594 4576 1082 1082 11 450 )
+insert ( 10595 4078 1186 1186 1 3383 )
+insert ( 10596 4078 1186 1186 2 3384 )
+insert ( 10597 4078 1186 1186 3 3385 )
+insert ( 10598 4078 1186 1186 4 3386 )
+insert ( 10599 4613 1186 1186 1 4616 )
+insert ( 10600 4613 1186 1186 2 4617 )
+insert ( 10601 4613 1186 1186 3 4618 )
+insert ( 10602 4613 1186 1186 4 4619 )
+insert ( 10603 4613 1186 1186 5 4620 )
+insert ( 10604 4613 1186 1186 11 4631 )
+insert ( 10605 4588 1186 1186 1 4591 )
+insert ( 10606 4588 1186 1186 2 4592 )
+insert ( 10607 4588 1186 1186 3 4593 )
+insert ( 10608 4588 1186 1186 4 4594 )
+insert ( 10609 4588 1186 1186 5 4595 )
+insert ( 10610 4588 1186 1186 11 1697 )
+insert ( 10611 4058 1266 1266 1 3383 )
+insert ( 10612 4058 1266 1266 2 3384 )
+insert ( 10613 4058 1266 1266 3 3385 )
+insert ( 10614 4058 1266 1266 4 3386 )
+insert ( 10615 4604 1266 1266 1 4616 )
+insert ( 10616 4604 1266 1266 2 4617 )
+insert ( 10617 4604 1266 1266 3 4618 )
+insert ( 10618 4604 1266 1266 4 4619 )
+insert ( 10619 4604 1266 1266 5 4620 )
+insert ( 10620 4604 1266 1266 11 4632 )
+insert ( 10621 4575 1266 1266 1 4591 )
+insert ( 10622 4575 1266 1266 2 4592 )
+insert ( 10623 4575 1266 1266 3 4593 )
+insert ( 10624 4575 1266 1266 4 4594 )
+insert ( 10625 4575 1266 1266 5 4595 )
+insert ( 10626 4575 1266 1266 11 1696 )
+insert ( 10627 4079 1560 1560 1 3383 )
+insert ( 10628 4079 1560 1560 2 3384 )
+insert ( 10629 4079 1560 1560 3 3385 )
+insert ( 10630 4079 1560 1560 4 3386 )
+insert ( 10631 4080 1562 1562 1 3383 )
+insert ( 10632 4080 1562 1562 2 3384 )
+insert ( 10633 4080 1562 1562 3 3385 )
+insert ( 10634 4080 1562 1562 4 3386 )
+insert ( 10635 4055 1700 1700 1 3383 )
+insert ( 10636 4055 1700 1700 2 3384 )
+insert ( 10637 4055 1700 1700 3 3385 )
+insert ( 10638 4055 1700 1700 4 3386 )
+insert ( 10639 4603 1700 1700 1 4616 )
+insert ( 10640 4603 1700 1700 2 4617 )
+insert ( 10641 4603 1700 1700 3 4618 )
+insert ( 10642 4603 1700 1700 4 4619 )
+insert ( 10643 4603 1700 1700 5 4620 )
+insert ( 10644 4603 1700 1700 11 4626 )
+insert ( 10645 4574 1700 1700 1 4591 )
+insert ( 10646 4574 1700 1700 2 4592 )
+insert ( 10647 4574 1700 1700 3 4593 )
+insert ( 10648 4574 1700 1700 4 4594 )
+insert ( 10649 4574 1700 1700 5 4595 )
+insert ( 10650 4574 1700 1700 11 432 )
+insert ( 10651 4081 2950 2950 1 3383 )
+insert ( 10652 4081 2950 2950 2 3384 )
+insert ( 10653 4081 2950 2950 3 3385 )
+insert ( 10654 4081 2950 2950 4 3386 )
+insert ( 10655 4614 2950 2950 1 4616 )
+insert ( 10656 4614 2950 2950 2 4617 )
+insert ( 10657 4614 2950 2950 3 4618 )
+insert ( 10658 4614 2950 2950 4 4619 )
+insert ( 10659 4614 2950 2950 5 4620 )
+insert ( 10660 4614 2950 2950 11 4628 )
+insert ( 10661 4589 2950 2950 1 4591 )
+insert ( 10662 4589 2950 2950 2 4592 )
+insert ( 10663 4589 2950 2950 3 4593 )
+insert ( 10664 4589 2950 2950 4 4594 )
+insert ( 10665 4589 2950 2950 5 4595 )
+insert ( 10666 4589 2950 2950 11 2963 )
+insert ( 10667 4103 3831 3831 1 4105 )
+insert ( 10668 4103 3831 3831 2 4106 )
+insert ( 10669 4103 3831 3831 3 4107 )
+insert ( 10670 4103 3831 3831 4 4108 )
+insert ( 10671 4103 3831 3831 11 4057 )
+insert ( 10672 4103 3831 3831 13 3859 )
+insert ( 10673 4103 3831 3831 14 3850 )
+insert ( 10674 4082 3220 3220 1 3383 )
+insert ( 10675 4082 3220 3220 2 3384 )
+insert ( 10676 4082 3220 3220 3 3385 )
+insert ( 10677 4082 3220 3220 4 3386 )
+insert ( 10678 4615 3220 3220 1 4616 )
+insert ( 10679 4615 3220 3220 2 4617 )
+insert ( 10680 4615 3220 3220 3 4618 )
+insert ( 10681 4615 3220 3220 4 4619 )
+insert ( 10682 4615 3220 3220 5 4620 )
+insert ( 10683 4615 3220 3220 11 4633 )
+insert ( 10684 4590 3220 3220 1 4591 )
+insert ( 10685 4590 3220 3220 2 4592 )
+insert ( 10686 4590 3220 3220 3 4593 )
+insert ( 10687 4590 3220 3220 4 4594 )
+insert ( 10688 4590 3220 3220 5 4595 )
+insert ( 10689 4590 3220 3220 11 3252 )
+insert ( 10690 4104 603 603 1 4105 )
+insert ( 10691 4104 603 603 2 4106 )
+insert ( 10692 4104 603 603 3 4107 )
+insert ( 10693 4104 603 603 4 4108 )
+insert ( 10694 4104 603 603 11 4067 )
+insert ( 10695 4104 603 603 13 187 )
+close pg_amproc
+create pg_language 2612
+ (
+ oid = oid ,
+ lanname = name ,
+ lanowner = oid ,
+ lanispl = bool ,
+ lanpltrusted = bool ,
+ lanplcallfoid = oid ,
+ laninline = oid ,
+ lanvalidator = oid ,
+ lanacl = _aclitem
+ )
+open pg_language
+insert ( 12 internal 10 f f 0 0 2246 _null_ )
+insert ( 13 c 10 f f 0 0 2247 _null_ )
+insert ( 14 sql 10 f t 0 0 2248 _null_ )
+close pg_language
+create pg_largeobject_metadata 2995
+ (
+ oid = oid ,
+ lomowner = oid ,
+ lomacl = _aclitem
+ )
+open pg_largeobject_metadata
+close pg_largeobject_metadata
+create pg_largeobject 2613
+ (
+ loid = oid ,
+ pageno = int4 ,
+ data = bytea FORCE NOT NULL
+ )
+open pg_largeobject
+close pg_largeobject
+create pg_aggregate 2600
+ (
+ aggfnoid = regproc ,
+ aggkind = char ,
+ aggnumdirectargs = int2 ,
+ aggtransfn = regproc ,
+ aggfinalfn = regproc ,
+ aggcombinefn = regproc ,
+ aggserialfn = regproc ,
+ aggdeserialfn = regproc ,
+ aggmtransfn = regproc ,
+ aggminvtransfn = regproc ,
+ aggmfinalfn = regproc ,
+ aggfinalextra = bool ,
+ aggmfinalextra = bool ,
+ aggfinalmodify = char ,
+ aggmfinalmodify = char ,
+ aggsortop = oid ,
+ aggtranstype = oid ,
+ aggtransspace = int4 ,
+ aggmtranstype = oid ,
+ aggmtransspace = int4 ,
+ agginitval = text ,
+ aggminitval = text
+ )
+open pg_aggregate
+insert ( 2100 n 0 2746 3389 2785 2786 2787 2746 3387 3389 f f r r 0 2281 48 2281 48 _null_ _null_ )
+insert ( 2101 n 0 1963 1964 3324 - - 1963 3571 1964 f f r r 0 1016 0 1016 0 '{0,0}' '{0,0}' )
+insert ( 2102 n 0 1962 1964 3324 - - 1962 3570 1964 f f r r 0 1016 0 1016 0 '{0,0}' '{0,0}' )
+insert ( 2103 n 0 2858 1837 3337 2740 2741 2858 3548 1837 f f r r 0 2281 128 2281 128 _null_ _null_ )
+insert ( 2104 n 0 208 1830 276 - - - - - f f r r 0 1022 0 0 0 '{0,0,0}' _null_ )
+insert ( 2105 n 0 222 1830 276 - - - - - f f r r 0 1022 0 0 0 '{0,0,0}' _null_ )
+insert ( 2106 n 0 1843 1844 3325 - - 1843 3549 1844 f f r r 0 1187 0 1187 0 '{0 second,0 second}' '{0 second,0 second}' )
+insert ( 2107 n 0 2746 3388 2785 2786 2787 2746 3387 3388 f f r r 0 2281 48 2281 48 _null_ _null_ )
+insert ( 2108 n 0 1841 - 463 - - 1963 3571 3572 f f r r 0 20 0 1016 0 _null_ '{0,0}' )
+insert ( 2109 n 0 1840 - 463 - - 1962 3570 3572 f f r r 0 20 0 1016 0 _null_ '{0,0}' )
+insert ( 2110 n 0 204 - 204 - - - - - f f r r 0 700 0 0 0 _null_ _null_ )
+insert ( 2111 n 0 218 - 218 - - - - - f f r r 0 701 0 0 0 _null_ _null_ )
+insert ( 2112 n 0 894 - 894 - - 894 895 - f f r r 0 790 0 790 0 _null_ _null_ )
+insert ( 2113 n 0 1169 - 1169 - - 1169 1170 - f f r r 0 1186 0 1186 0 _null_ _null_ )
+insert ( 2114 n 0 2858 3178 3337 2740 2741 2858 3548 3178 f f r r 0 2281 128 2281 128 _null_ _null_ )
+insert ( 2115 n 0 1236 - 1236 - - - - - f f r r 413 20 0 0 0 _null_ _null_ )
+insert ( 2116 n 0 768 - 768 - - - - - f f r r 521 23 0 0 0 _null_ _null_ )
+insert ( 2117 n 0 770 - 770 - - - - - f f r r 520 21 0 0 0 _null_ _null_ )
+insert ( 2118 n 0 1965 - 1965 - - - - - f f r r 610 26 0 0 0 _null_ _null_ )
+insert ( 2119 n 0 209 - 209 - - - - - f f r r 623 700 0 0 0 _null_ _null_ )
+insert ( 2120 n 0 223 - 223 - - - - - f f r r 674 701 0 0 0 _null_ _null_ )
+insert ( 2122 n 0 1138 - 1138 - - - - - f f r r 1097 1082 0 0 0 _null_ _null_ )
+insert ( 2123 n 0 1377 - 1377 - - - - - f f r r 1112 1083 0 0 0 _null_ _null_ )
+insert ( 2124 n 0 1379 - 1379 - - - - - f f r r 1554 1266 0 0 0 _null_ _null_ )
+insert ( 2125 n 0 898 - 898 - - - - - f f r r 903 790 0 0 0 _null_ _null_ )
+insert ( 2126 n 0 2036 - 2036 - - - - - f f r r 2064 1114 0 0 0 _null_ _null_ )
+insert ( 2127 n 0 1196 - 1196 - - - - - f f r r 1324 1184 0 0 0 _null_ _null_ )
+insert ( 2128 n 0 1198 - 1198 - - - - - f f r r 1334 1186 0 0 0 _null_ _null_ )
+insert ( 2129 n 0 458 - 458 - - - - - f f r r 666 25 0 0 0 _null_ _null_ )
+insert ( 2130 n 0 1767 - 1767 - - - - - f f r r 1756 1700 0 0 0 _null_ _null_ )
+insert ( 2050 n 0 515 - 515 - - - - - f f r r 1073 2277 0 0 0 _null_ _null_ )
+insert ( 2244 n 0 1063 - 1063 - - - - - f f r r 1060 1042 0 0 0 _null_ _null_ )
+insert ( 2797 n 0 2795 - 2795 - - - - - f f r r 2800 27 0 0 0 _null_ _null_ )
+insert ( 3526 n 0 3525 - 3525 - - - - - f f r r 3519 3500 0 0 0 _null_ _null_ )
+insert ( 3564 n 0 3562 - 3562 - - - - - f f r r 1205 869 0 0 0 _null_ _null_ )
+insert ( 4189 n 0 4187 - 4187 - - - - - f f r r 3225 3220 0 0 0 _null_ _null_ )
+insert ( 5099 n 0 5097 - 5097 - - - - - f f r r 5074 5069 0 0 0 _null_ _null_ )
+insert ( 2131 n 0 1237 - 1237 - - - - - f f r r 412 20 0 0 0 _null_ _null_ )
+insert ( 2132 n 0 769 - 769 - - - - - f f r r 97 23 0 0 0 _null_ _null_ )
+insert ( 2133 n 0 771 - 771 - - - - - f f r r 95 21 0 0 0 _null_ _null_ )
+insert ( 2134 n 0 1966 - 1966 - - - - - f f r r 609 26 0 0 0 _null_ _null_ )
+insert ( 2135 n 0 211 - 211 - - - - - f f r r 622 700 0 0 0 _null_ _null_ )
+insert ( 2136 n 0 224 - 224 - - - - - f f r r 672 701 0 0 0 _null_ _null_ )
+insert ( 2138 n 0 1139 - 1139 - - - - - f f r r 1095 1082 0 0 0 _null_ _null_ )
+insert ( 2139 n 0 1378 - 1378 - - - - - f f r r 1110 1083 0 0 0 _null_ _null_ )
+insert ( 2140 n 0 1380 - 1380 - - - - - f f r r 1552 1266 0 0 0 _null_ _null_ )
+insert ( 2141 n 0 899 - 899 - - - - - f f r r 902 790 0 0 0 _null_ _null_ )
+insert ( 2142 n 0 2035 - 2035 - - - - - f f r r 2062 1114 0 0 0 _null_ _null_ )
+insert ( 2143 n 0 1195 - 1195 - - - - - f f r r 1322 1184 0 0 0 _null_ _null_ )
+insert ( 2144 n 0 1197 - 1197 - - - - - f f r r 1332 1186 0 0 0 _null_ _null_ )
+insert ( 2145 n 0 459 - 459 - - - - - f f r r 664 25 0 0 0 _null_ _null_ )
+insert ( 2146 n 0 1766 - 1766 - - - - - f f r r 1754 1700 0 0 0 _null_ _null_ )
+insert ( 2051 n 0 516 - 516 - - - - - f f r r 1072 2277 0 0 0 _null_ _null_ )
+insert ( 2245 n 0 1064 - 1064 - - - - - f f r r 1058 1042 0 0 0 _null_ _null_ )
+insert ( 2798 n 0 2796 - 2796 - - - - - f f r r 2799 27 0 0 0 _null_ _null_ )
+insert ( 3527 n 0 3524 - 3524 - - - - - f f r r 3518 3500 0 0 0 _null_ _null_ )
+insert ( 3565 n 0 3563 - 3563 - - - - - f f r r 1203 869 0 0 0 _null_ _null_ )
+insert ( 4190 n 0 4188 - 4188 - - - - - f f r r 3224 3220 0 0 0 _null_ _null_ )
+insert ( 5100 n 0 5098 - 5098 - - - - - f f r r 5073 5069 0 0 0 _null_ _null_ )
+insert ( 2147 n 0 2804 - 463 - - 2804 3547 - f f r r 0 20 0 20 0 0 0 )
+insert ( 2803 n 0 1219 - 463 - - 1219 3546 - f f r r 0 20 0 20 0 0 0 )
+insert ( 2718 n 0 1836 2514 3341 3335 3336 1836 3569 2514 f f r r 0 2281 128 2281 128 _null_ _null_ )
+insert ( 2719 n 0 1835 3390 3338 3339 3340 1835 3568 3390 f f r r 0 2281 48 2281 48 _null_ _null_ )
+insert ( 2720 n 0 1834 3390 3338 3339 3340 1834 3567 3390 f f r r 0 2281 48 2281 48 _null_ _null_ )
+insert ( 2721 n 0 208 2512 276 - - - - - f f r r 0 1022 0 0 0 '{0,0,0}' _null_ )
+insert ( 2722 n 0 222 2512 276 - - - - - f f r r 0 1022 0 0 0 '{0,0,0}' _null_ )
+insert ( 2723 n 0 1833 2514 3341 3335 3336 1833 3548 2514 f f r r 0 2281 128 2281 128 _null_ _null_ )
+insert ( 2641 n 0 1836 1838 3341 3335 3336 1836 3569 1838 f f r r 0 2281 128 2281 128 _null_ _null_ )
+insert ( 2642 n 0 1835 3391 3338 3339 3340 1835 3568 3391 f f r r 0 2281 48 2281 48 _null_ _null_ )
+insert ( 2643 n 0 1834 3391 3338 3339 3340 1834 3567 3391 f f r r 0 2281 48 2281 48 _null_ _null_ )
+insert ( 2644 n 0 208 1831 276 - - - - - f f r r 0 1022 0 0 0 '{0,0,0}' _null_ )
+insert ( 2645 n 0 222 1831 276 - - - - - f f r r 0 1022 0 0 0 '{0,0,0}' _null_ )
+insert ( 2646 n 0 1833 1838 3341 3335 3336 1833 3548 1838 f f r r 0 2281 128 2281 128 _null_ _null_ )
+insert ( 2148 n 0 1836 1838 3341 3335 3336 1836 3569 1838 f f r r 0 2281 128 2281 128 _null_ _null_ )
+insert ( 2149 n 0 1835 3391 3338 3339 3340 1835 3568 3391 f f r r 0 2281 48 2281 48 _null_ _null_ )
+insert ( 2150 n 0 1834 3391 3338 3339 3340 1834 3567 3391 f f r r 0 2281 48 2281 48 _null_ _null_ )
+insert ( 2151 n 0 208 1831 276 - - - - - f f r r 0 1022 0 0 0 '{0,0,0}' _null_ )
+insert ( 2152 n 0 222 1831 276 - - - - - f f r r 0 1022 0 0 0 '{0,0,0}' _null_ )
+insert ( 2153 n 0 1833 1838 3341 3335 3336 1833 3548 1838 f f r r 0 2281 128 2281 128 _null_ _null_ )
+insert ( 2724 n 0 1836 2596 3341 3335 3336 1836 3569 2596 f f r r 0 2281 128 2281 128 _null_ _null_ )
+insert ( 2725 n 0 1835 3392 3338 3339 3340 1835 3568 3392 f f r r 0 2281 48 2281 48 _null_ _null_ )
+insert ( 2726 n 0 1834 3392 3338 3339 3340 1834 3567 3392 f f r r 0 2281 48 2281 48 _null_ _null_ )
+insert ( 2727 n 0 208 2513 276 - - - - - f f r r 0 1022 0 0 0 '{0,0,0}' _null_ )
+insert ( 2728 n 0 222 2513 276 - - - - - f f r r 0 1022 0 0 0 '{0,0,0}' _null_ )
+insert ( 2729 n 0 1833 2596 3341 3335 3336 1833 3548 2596 f f r r 0 2281 128 2281 128 _null_ _null_ )
+insert ( 2712 n 0 1836 1839 3341 3335 3336 1836 3569 1839 f f r r 0 2281 128 2281 128 _null_ _null_ )
+insert ( 2713 n 0 1835 3393 3338 3339 3340 1835 3568 3393 f f r r 0 2281 48 2281 48 _null_ _null_ )
+insert ( 2714 n 0 1834 3393 3338 3339 3340 1834 3567 3393 f f r r 0 2281 48 2281 48 _null_ _null_ )
+insert ( 2715 n 0 208 1832 276 - - - - - f f r r 0 1022 0 0 0 '{0,0,0}' _null_ )
+insert ( 2716 n 0 222 1832 276 - - - - - f f r r 0 1022 0 0 0 '{0,0,0}' _null_ )
+insert ( 2717 n 0 1833 1839 3341 3335 3336 1833 3548 1839 f f r r 0 2281 128 2281 128 _null_ _null_ )
+insert ( 2154 n 0 1836 1839 3341 3335 3336 1836 3569 1839 f f r r 0 2281 128 2281 128 _null_ _null_ )
+insert ( 2155 n 0 1835 3393 3338 3339 3340 1835 3568 3393 f f r r 0 2281 48 2281 48 _null_ _null_ )
+insert ( 2156 n 0 1834 3393 3338 3339 3340 1834 3567 3393 f f r r 0 2281 48 2281 48 _null_ _null_ )
+insert ( 2157 n 0 208 1832 276 - - - - - f f r r 0 1022 0 0 0 '{0,0,0}' _null_ )
+insert ( 2158 n 0 222 1832 276 - - - - - f f r r 0 1022 0 0 0 '{0,0,0}' _null_ )
+insert ( 2159 n 0 1833 1839 3341 3335 3336 1833 3548 1839 f f r r 0 2281 128 2281 128 _null_ _null_ )
+insert ( 2818 n 0 2805 - 463 - - - - - f f r r 0 20 0 0 0 0 _null_ )
+insert ( 2819 n 0 2806 2807 3342 - - - - - f f r r 0 1022 0 0 0 '{0,0,0,0,0,0}' _null_ )
+insert ( 2820 n 0 2806 2808 3342 - - - - - f f r r 0 1022 0 0 0 '{0,0,0,0,0,0}' _null_ )
+insert ( 2821 n 0 2806 2809 3342 - - - - - f f r r 0 1022 0 0 0 '{0,0,0,0,0,0}' _null_ )
+insert ( 2822 n 0 2806 2810 3342 - - - - - f f r r 0 1022 0 0 0 '{0,0,0,0,0,0}' _null_ )
+insert ( 2823 n 0 2806 2811 3342 - - - - - f f r r 0 1022 0 0 0 '{0,0,0,0,0,0}' _null_ )
+insert ( 2824 n 0 2806 2812 3342 - - - - - f f r r 0 1022 0 0 0 '{0,0,0,0,0,0}' _null_ )
+insert ( 2825 n 0 2806 2813 3342 - - - - - f f r r 0 1022 0 0 0 '{0,0,0,0,0,0}' _null_ )
+insert ( 2826 n 0 2806 2814 3342 - - - - - f f r r 0 1022 0 0 0 '{0,0,0,0,0,0}' _null_ )
+insert ( 2827 n 0 2806 2815 3342 - - - - - f f r r 0 1022 0 0 0 '{0,0,0,0,0,0}' _null_ )
+insert ( 2828 n 0 2806 2816 3342 - - - - - f f r r 0 1022 0 0 0 '{0,0,0,0,0,0}' _null_ )
+insert ( 2829 n 0 2806 2817 3342 - - - - - f f r r 0 1022 0 0 0 '{0,0,0,0,0,0}' _null_ )
+insert ( 2517 n 0 2515 - 2515 - - 3496 3497 3498 f f r r 58 16 0 2281 16 _null_ _null_ )
+insert ( 2518 n 0 2516 - 2516 - - 3496 3497 3499 f f r r 59 16 0 2281 16 _null_ _null_ )
+insert ( 2519 n 0 2515 - 2515 - - 3496 3497 3498 f f r r 58 16 0 2281 16 _null_ _null_ )
+insert ( 2236 n 0 1892 - 1892 - - - - - f f r r 0 21 0 0 0 _null_ _null_ )
+insert ( 2237 n 0 1893 - 1893 - - - - - f f r r 0 21 0 0 0 _null_ _null_ )
+insert ( 6164 n 0 1894 - 1894 - - - - - f f r r 0 21 0 0 0 _null_ _null_ )
+insert ( 2238 n 0 1898 - 1898 - - - - - f f r r 0 23 0 0 0 _null_ _null_ )
+insert ( 2239 n 0 1899 - 1899 - - - - - f f r r 0 23 0 0 0 _null_ _null_ )
+insert ( 6165 n 0 1900 - 1900 - - - - - f f r r 0 23 0 0 0 _null_ _null_ )
+insert ( 2240 n 0 1904 - 1904 - - - - - f f r r 0 20 0 0 0 _null_ _null_ )
+insert ( 2241 n 0 1905 - 1905 - - - - - f f r r 0 20 0 0 0 _null_ _null_ )
+insert ( 6166 n 0 1906 - 1906 - - - - - f f r r 0 20 0 0 0 _null_ _null_ )
+insert ( 2242 n 0 1673 - 1673 - - - - - f f r r 0 1560 0 0 0 _null_ _null_ )
+insert ( 2243 n 0 1674 - 1674 - - - - - f f r r 0 1560 0 0 0 _null_ _null_ )
+insert ( 6167 n 0 1675 - 1675 - - - - - f f r r 0 1560 0 0 0 _null_ _null_ )
+insert ( 2901 n 0 2900 - - - - - - - f f r r 0 142 0 0 0 _null_ _null_ )
+insert ( 2335 n 0 2333 2334 6293 6294 6295 - - - t f r r 0 2281 0 0 0 _null_ _null_ )
+insert ( 4053 n 0 4051 4052 6296 6297 6298 - - - t f r r 0 2281 0 0 0 _null_ _null_ )
+insert ( 3538 n 0 3535 3536 6299 6300 6301 - - - f f r r 0 2281 0 0 0 _null_ _null_ )
+insert ( 3545 n 0 3543 3544 6299 6300 6301 - - - f f r r 0 2281 0 0 0 _null_ _null_ )
+insert ( 4450 n 0 4401 - 4401 - - - - - f f r r 0 3831 0 0 0 _null_ _null_ )
+insert ( 4389 n 0 4388 - 4388 - - - - - f f r r 0 4537 0 0 0 _null_ _null_ )
+insert ( 4301 n 0 4299 4300 - - - - - - t f r r 0 2281 0 0 0 _null_ _null_ )
+insert ( 6227 n 0 6225 6226 - - - - - - t f r r 0 2281 0 0 0 _null_ _null_ )
+insert ( 3175 n 0 3173 3174 - - - - - - f f r r 0 2281 0 0 0 _null_ _null_ )
+insert ( 6276 n 0 6275 3174 - - - - - - f f r r 0 2281 0 0 0 _null_ _null_ )
+insert ( 3197 n 0 3180 3196 - - - - - - f f r r 0 2281 0 0 0 _null_ _null_ )
+insert ( 6281 n 0 6278 3196 - - - - - - f f r r 0 2281 0 0 0 _null_ _null_ )
+insert ( 6280 n 0 6277 3196 - - - - - - f f r r 0 2281 0 0 0 _null_ _null_ )
+insert ( 6282 n 0 6279 3196 - - - - - - f f r r 0 2281 0 0 0 _null_ _null_ )
+insert ( 3267 n 0 3265 3266 - - - - - - f f r r 0 2281 0 0 0 _null_ _null_ )
+insert ( 6284 n 0 6283 3266 - - - - - - f f r r 0 2281 0 0 0 _null_ _null_ )
+insert ( 3270 n 0 3268 3269 - - - - - - f f r r 0 2281 0 0 0 _null_ _null_ )
+insert ( 6289 n 0 6286 3269 - - - - - - f f r r 0 2281 0 0 0 _null_ _null_ )
+insert ( 6288 n 0 6285 3269 - - - - - - f f r r 0 2281 0 0 0 _null_ _null_ )
+insert ( 6290 n 0 6287 3269 - - - - - - f f r r 0 2281 0 0 0 _null_ _null_ )
+insert ( 3972 o 1 3970 3973 - - - - - - t f s s 0 2281 0 0 0 _null_ _null_ )
+insert ( 3974 o 1 3970 3975 - - - - - - f f s s 0 2281 0 0 0 _null_ _null_ )
+insert ( 3976 o 1 3970 3977 - - - - - - f f s s 0 2281 0 0 0 _null_ _null_ )
+insert ( 3978 o 1 3970 3979 - - - - - - t f s s 0 2281 0 0 0 _null_ _null_ )
+insert ( 3980 o 1 3970 3981 - - - - - - f f s s 0 2281 0 0 0 _null_ _null_ )
+insert ( 3982 o 1 3970 3983 - - - - - - f f s s 0 2281 0 0 0 _null_ _null_ )
+insert ( 3984 o 0 3970 3985 - - - - - - t f s s 0 2281 0 0 0 _null_ _null_ )
+insert ( 3986 h 1 3971 3987 - - - - - - t f w w 0 2281 0 0 0 _null_ _null_ )
+insert ( 3988 h 1 3971 3989 - - - - - - t f w w 0 2281 0 0 0 _null_ _null_ )
+insert ( 3990 h 1 3971 3991 - - - - - - t f w w 0 2281 0 0 0 _null_ _null_ )
+insert ( 3992 h 1 3971 3993 - - - - - - t f w w 0 2281 0 0 0 _null_ _null_ )
+insert ( 6291 n 0 6292 - 6292 - - - - - f f r r 0 2283 0 0 0 _null_ _null_ )
+close pg_aggregate
+create pg_statistic 2619
+ (
+ starelid = oid ,
+ staattnum = int2 ,
+ stainherit = bool ,
+ stanullfrac = float4 ,
+ stawidth = int4 ,
+ stadistinct = float4 ,
+ stakind1 = int2 ,
+ stakind2 = int2 ,
+ stakind3 = int2 ,
+ stakind4 = int2 ,
+ stakind5 = int2 ,
+ staop1 = oid ,
+ staop2 = oid ,
+ staop3 = oid ,
+ staop4 = oid ,
+ staop5 = oid ,
+ stacoll1 = oid ,
+ stacoll2 = oid ,
+ stacoll3 = oid ,
+ stacoll4 = oid ,
+ stacoll5 = oid ,
+ stanumbers1 = _float4 ,
+ stanumbers2 = _float4 ,
+ stanumbers3 = _float4 ,
+ stanumbers4 = _float4 ,
+ stanumbers5 = _float4 ,
+ stavalues1 = anyarray ,
+ stavalues2 = anyarray ,
+ stavalues3 = anyarray ,
+ stavalues4 = anyarray ,
+ stavalues5 = anyarray
+ )
+open pg_statistic
+close pg_statistic
+create pg_statistic_ext 3381
+ (
+ oid = oid ,
+ stxrelid = oid ,
+ stxname = name ,
+ stxnamespace = oid ,
+ stxowner = oid ,
+ stxstattarget = int4 ,
+ stxkeys = int2vector FORCE NOT NULL ,
+ stxkind = _char FORCE NOT NULL ,
+ stxexprs = pg_node_tree
+ )
+open pg_statistic_ext
+close pg_statistic_ext
+create pg_statistic_ext_data 3429
+ (
+ stxoid = oid ,
+ stxdinherit = bool ,
+ stxdndistinct = pg_ndistinct ,
+ stxddependencies = pg_dependencies ,
+ stxdmcv = pg_mcv_list ,
+ stxdexpr = _pg_statistic
+ )
+open pg_statistic_ext_data
+close pg_statistic_ext_data
+create pg_rewrite 2618
+ (
+ oid = oid ,
+ rulename = name ,
+ ev_class = oid ,
+ ev_type = char ,
+ ev_enabled = char ,
+ is_instead = bool ,
+ ev_qual = pg_node_tree FORCE NOT NULL ,
+ ev_action = pg_node_tree FORCE NOT NULL
+ )
+open pg_rewrite
+close pg_rewrite
+create pg_trigger 2620
+ (
+ oid = oid ,
+ tgrelid = oid ,
+ tgparentid = oid ,
+ tgname = name ,
+ tgfoid = oid ,
+ tgtype = int2 ,
+ tgenabled = char ,
+ tgisinternal = bool ,
+ tgconstrrelid = oid ,
+ tgconstrindid = oid ,
+ tgconstraint = oid ,
+ tgdeferrable = bool ,
+ tginitdeferred = bool ,
+ tgnargs = int2 ,
+ tgattr = int2vector FORCE NOT NULL ,
+ tgargs = bytea FORCE NOT NULL ,
+ tgqual = pg_node_tree ,
+ tgoldtable = name ,
+ tgnewtable = name
+ )
+open pg_trigger
+close pg_trigger
+create pg_event_trigger 3466
+ (
+ oid = oid ,
+ evtname = name ,
+ evtevent = name ,
+ evtowner = oid ,
+ evtfoid = oid ,
+ evtenabled = char ,
+ evttags = _text
+ )
+open pg_event_trigger
+close pg_event_trigger
+create pg_description 2609
+ (
+ objoid = oid ,
+ classoid = oid ,
+ objsubid = int4 ,
+ description = text FORCE NOT NULL
+ )
+open pg_description
+insert ( 1242 1255 0 'I/O' )
+insert ( 1243 1255 0 'I/O' )
+insert ( 1244 1255 0 'I/O' )
+insert ( 31 1255 0 'I/O' )
+insert ( 1245 1255 0 'I/O' )
+insert ( 33 1255 0 'I/O' )
+insert ( 34 1255 0 'I/O' )
+insert ( 35 1255 0 'I/O' )
+insert ( 38 1255 0 'I/O' )
+insert ( 39 1255 0 'I/O' )
+insert ( 40 1255 0 'I/O' )
+insert ( 41 1255 0 'I/O' )
+insert ( 42 1255 0 'I/O' )
+insert ( 43 1255 0 'I/O' )
+insert ( 44 1255 0 'I/O' )
+insert ( 45 1255 0 'I/O' )
+insert ( 3494 1255 0 'convert proname to regproc' )
+insert ( 3479 1255 0 'convert proname to regprocedure' )
+insert ( 46 1255 0 'I/O' )
+insert ( 47 1255 0 'I/O' )
+insert ( 48 1255 0 'I/O' )
+insert ( 49 1255 0 'I/O' )
+insert ( 50 1255 0 'I/O' )
+insert ( 51 1255 0 'I/O' )
+insert ( 5070 1255 0 'I/O' )
+insert ( 5081 1255 0 'I/O' )
+insert ( 5082 1255 0 'I/O' )
+insert ( 5083 1255 0 'I/O' )
+insert ( 52 1255 0 'I/O' )
+insert ( 53 1255 0 'I/O' )
+insert ( 54 1255 0 'I/O' )
+insert ( 55 1255 0 'I/O' )
+insert ( 6242 1255 0 'planner support for text_starts_with' )
+insert ( 5096 1255 0 less-equal-greater )
+insert ( 5071 1255 0 'convert xid8 to xid' )
+insert ( 5097 1255 0 'larger of two' )
+insert ( 5098 1255 0 'smaller of two' )
+insert ( 77 1255 0 'convert char to int4' )
+insert ( 78 1255 0 'convert int4 to char' )
+insert ( 1364 1255 0 'planner support for textregexeq' )
+insert ( 1257 1255 0 length )
+insert ( 89 1255 0 'PostgreSQL version string' )
+insert ( 86 1255 0 'I/O' )
+insert ( 87 1255 0 'I/O' )
+insert ( 88 1255 0 'I/O' )
+insert ( 90 1255 0 'I/O' )
+insert ( 101 1255 0 'restriction selectivity of = and related operators' )
+insert ( 102 1255 0 'restriction selectivity of <> and related operators' )
+insert ( 103 1255 0 'restriction selectivity of < and related operators on scalar datatypes' )
+insert ( 104 1255 0 'restriction selectivity of > and related operators on scalar datatypes' )
+insert ( 105 1255 0 'join selectivity of = and related operators' )
+insert ( 106 1255 0 'join selectivity of <> and related operators' )
+insert ( 107 1255 0 'join selectivity of < and related operators on scalar datatypes' )
+insert ( 108 1255 0 'join selectivity of > and related operators on scalar datatypes' )
+insert ( 336 1255 0 'restriction selectivity of <= and related operators on scalar datatypes' )
+insert ( 337 1255 0 'restriction selectivity of >= and related operators on scalar datatypes' )
+insert ( 386 1255 0 'join selectivity of <= and related operators on scalar datatypes' )
+insert ( 398 1255 0 'join selectivity of >= and related operators on scalar datatypes' )
+insert ( 109 1255 0 'I/O' )
+insert ( 110 1255 0 'I/O' )
+insert ( 117 1255 0 'I/O' )
+insert ( 118 1255 0 'I/O' )
+insert ( 119 1255 0 'I/O' )
+insert ( 120 1255 0 'I/O' )
+insert ( 121 1255 0 'I/O' )
+insert ( 122 1255 0 'I/O' )
+insert ( 123 1255 0 'I/O' )
+insert ( 124 1255 0 'I/O' )
+insert ( 139 1255 0 'restriction selectivity for area-comparison operators' )
+insert ( 140 1255 0 'join selectivity for area-comparison operators' )
+insert ( 195 1255 0 'I/O' )
+insert ( 196 1255 0 'I/O' )
+insert ( 197 1255 0 'I/O' )
+insert ( 198 1255 0 'I/O' )
+insert ( 200 1255 0 'I/O' )
+insert ( 201 1255 0 'I/O' )
+insert ( 208 1255 0 'aggregate transition function' )
+insert ( 209 1255 0 'larger of two' )
+insert ( 211 1255 0 'smaller of two' )
+insert ( 214 1255 0 'I/O' )
+insert ( 215 1255 0 'I/O' )
+insert ( 222 1255 0 'aggregate transition function' )
+insert ( 276 1255 0 'aggregate combine function' )
+insert ( 223 1255 0 'larger of two' )
+insert ( 224 1255 0 'smaller of two' )
+insert ( 228 1255 0 'round to nearest integer' )
+insert ( 229 1255 0 'truncate to integer' )
+insert ( 2308 1255 0 'nearest integer >= value' )
+insert ( 2320 1255 0 'nearest integer >= value' )
+insert ( 2309 1255 0 'nearest integer <= value' )
+insert ( 2310 1255 0 'sign of value' )
+insert ( 233 1255 0 'natural exponential (e^x)' )
+insert ( 234 1255 0 'natural logarithm' )
+insert ( 235 1255 0 'convert int2 to float8' )
+insert ( 236 1255 0 'convert int2 to float4' )
+insert ( 237 1255 0 'convert float8 to int2' )
+insert ( 238 1255 0 'convert float4 to int2' )
+insert ( 246 1255 0 less-equal-greater )
+insert ( 253 1255 0 less-equal-greater )
+insert ( 266 1255 0 'concatenate name and oid' )
+insert ( 274 1255 0 'current date and time - increments during transactions' )
+insert ( 320 1255 0 'bucket number of operand in equal-width histogram' )
+insert ( 311 1255 0 'convert float4 to float8' )
+insert ( 312 1255 0 'convert float8 to float4' )
+insert ( 313 1255 0 'convert int2 to int4' )
+insert ( 314 1255 0 'convert int4 to int2' )
+insert ( 316 1255 0 'convert int4 to float8' )
+insert ( 317 1255 0 'convert float8 to int4' )
+insert ( 318 1255 0 'convert int4 to float4' )
+insert ( 319 1255 0 'convert float4 to int4' )
+insert ( 3 1255 0 'row-oriented heap table access method handler' )
+insert ( 330 1255 0 'btree index access method handler' )
+insert ( 331 1255 0 'hash index access method handler' )
+insert ( 332 1255 0 'gist index access method handler' )
+insert ( 333 1255 0 'gin index access method handler' )
+insert ( 334 1255 0 'spgist index access method handler' )
+insert ( 335 1255 0 'brin index access method handler' )
+insert ( 3952 1255 0 'brin: standalone scan new table pages' )
+insert ( 3999 1255 0 'brin: standalone scan new table pages' )
+insert ( 4014 1255 0 'brin: desummarize page range' )
+insert ( 338 1255 0 'validate an operator class' )
+insert ( 636 1255 0 'test property of an index access method' )
+insert ( 637 1255 0 'test property of an index' )
+insert ( 638 1255 0 'test property of an index column' )
+insert ( 676 1255 0 'return name of given index build phase' )
+insert ( 347 1255 0 'I/O' )
+insert ( 348 1255 0 'I/O' )
+insert ( 350 1255 0 less-equal-greater )
+insert ( 3129 1255 0 'sort support' )
+insert ( 351 1255 0 less-equal-greater )
+insert ( 3130 1255 0 'sort support' )
+insert ( 842 1255 0 less-equal-greater )
+insert ( 3131 1255 0 'sort support' )
+insert ( 354 1255 0 less-equal-greater )
+insert ( 3132 1255 0 'sort support' )
+insert ( 355 1255 0 less-equal-greater )
+insert ( 3133 1255 0 'sort support' )
+insert ( 356 1255 0 less-equal-greater )
+insert ( 3134 1255 0 'sort support' )
+insert ( 404 1255 0 less-equal-greater )
+insert ( 358 1255 0 less-equal-greater )
+insert ( 359 1255 0 less-equal-greater )
+insert ( 3135 1255 0 'sort support' )
+insert ( 360 1255 0 less-equal-greater )
+insert ( 3255 1255 0 'sort support' )
+insert ( 5050 1255 0 'equal image' )
+insert ( 377 1255 0 less-equal-greater )
+insert ( 382 1255 0 less-equal-greater )
+insert ( 4126 1255 0 'window RANGE support' )
+insert ( 4127 1255 0 'window RANGE support' )
+insert ( 4128 1255 0 'window RANGE support' )
+insert ( 4129 1255 0 'window RANGE support' )
+insert ( 4130 1255 0 'window RANGE support' )
+insert ( 4131 1255 0 'window RANGE support' )
+insert ( 4132 1255 0 'window RANGE support' )
+insert ( 4139 1255 0 'window RANGE support' )
+insert ( 4140 1255 0 'window RANGE support' )
+insert ( 4141 1255 0 'window RANGE support' )
+insert ( 401 1255 0 'convert char(n) to text' )
+insert ( 406 1255 0 'convert name to text' )
+insert ( 407 1255 0 'convert text to name' )
+insert ( 408 1255 0 'convert name to char(n)' )
+insert ( 409 1255 0 'convert char(n) to name' )
+insert ( 449 1255 0 hash )
+insert ( 441 1255 0 hash )
+insert ( 450 1255 0 hash )
+insert ( 425 1255 0 hash )
+insert ( 949 1255 0 hash )
+insert ( 442 1255 0 hash )
+insert ( 451 1255 0 hash )
+insert ( 443 1255 0 hash )
+insert ( 452 1255 0 hash )
+insert ( 444 1255 0 hash )
+insert ( 453 1255 0 hash )
+insert ( 445 1255 0 hash )
+insert ( 454 1255 0 hash )
+insert ( 446 1255 0 hash )
+insert ( 455 1255 0 hash )
+insert ( 447 1255 0 hash )
+insert ( 400 1255 0 hash )
+insert ( 448 1255 0 hash )
+insert ( 456 1255 0 hash )
+insert ( 772 1255 0 hash )
+insert ( 457 1255 0 hash )
+insert ( 776 1255 0 hash )
+insert ( 329 1255 0 hash )
+insert ( 777 1255 0 hash )
+insert ( 399 1255 0 hash )
+insert ( 778 1255 0 hash )
+insert ( 422 1255 0 hash )
+insert ( 779 1255 0 hash )
+insert ( 432 1255 0 hash )
+insert ( 780 1255 0 hash )
+insert ( 328 1255 0 hash )
+insert ( 781 1255 0 hash )
+insert ( 438 1255 0 'count the number of NULL arguments' )
+insert ( 440 1255 0 'count the number of non-NULL arguments' )
+insert ( 458 1255 0 'larger of two' )
+insert ( 459 1255 0 'smaller of two' )
+insert ( 460 1255 0 'I/O' )
+insert ( 461 1255 0 'I/O' )
+insert ( 480 1255 0 'convert int8 to int4' )
+insert ( 481 1255 0 'convert int4 to int8' )
+insert ( 482 1255 0 'convert int8 to float8' )
+insert ( 483 1255 0 'convert float8 to int8' )
+insert ( 626 1255 0 hash )
+insert ( 782 1255 0 hash )
+insert ( 652 1255 0 'convert int8 to float4' )
+insert ( 653 1255 0 'convert float4 to int8' )
+insert ( 714 1255 0 'convert int8 to int2' )
+insert ( 754 1255 0 'convert int2 to int8' )
+insert ( 668 1255 0 'adjust char() to typmod length' )
+insert ( 3097 1255 0 'planner support for varchar length coercion' )
+insert ( 669 1255 0 'adjust varchar() to typmod length' )
+insert ( 710 1255 0 'deprecated, use current_user instead' )
+insert ( 720 1255 0 'octet length' )
+insert ( 721 1255 0 'get byte' )
+insert ( 722 1255 0 'set byte' )
+insert ( 723 1255 0 'get bit' )
+insert ( 724 1255 0 'set bit' )
+insert ( 749 1255 0 'substitute portion of string' )
+insert ( 752 1255 0 'substitute portion of string' )
+insert ( 6163 1255 0 'number of set bits' )
+insert ( 745 1255 0 'current user name' )
+insert ( 746 1255 0 'session user name' )
+insert ( 6311 1255 0 'system user name' )
+insert ( 747 1255 0 'array dimensions' )
+insert ( 748 1255 0 'number of array dimensions' )
+insert ( 750 1255 0 'I/O' )
+insert ( 751 1255 0 'I/O' )
+insert ( 2091 1255 0 'array lower dimension' )
+insert ( 2092 1255 0 'array upper dimension' )
+insert ( 2176 1255 0 'array length' )
+insert ( 3179 1255 0 'array cardinality' )
+insert ( 378 1255 0 'append element onto end of array' )
+insert ( 379 1255 0 'prepend element onto front of array' )
+insert ( 394 1255 0 'split delimited text' )
+insert ( 376 1255 0 'split delimited text, with null string' )
+insert ( 6160 1255 0 'split delimited text' )
+insert ( 6161 1255 0 'split delimited text, with null string' )
+insert ( 395 1255 0 'concatenate array elements, using delimiter, into text' )
+insert ( 384 1255 0 'concatenate array elements, using delimiter and null string, into text' )
+insert ( 515 1255 0 'larger of two' )
+insert ( 516 1255 0 'smaller of two' )
+insert ( 3277 1255 0 'returns an offset of value in array' )
+insert ( 3278 1255 0 'returns an offset of value in array with start index' )
+insert ( 3279 1255 0 'returns an array of offsets of some value in array' )
+insert ( 1191 1255 0 'array subscripts generator' )
+insert ( 1192 1255 0 'array subscripts generator' )
+insert ( 1193 1255 0 'array constructor with value' )
+insert ( 1286 1255 0 'array constructor with value' )
+insert ( 2331 1255 0 'expand array to set of rows' )
+insert ( 3996 1255 0 'planner support for array_unnest' )
+insert ( 3167 1255 0 'remove any occurrences of an element from an array' )
+insert ( 3168 1255 0 'replace any occurrences of an element in an array' )
+insert ( 2333 1255 0 'aggregate transition function' )
+insert ( 6293 1255 0 'aggregate combine function' )
+insert ( 6294 1255 0 'aggregate serial function' )
+insert ( 6295 1255 0 'aggregate deserial function' )
+insert ( 2334 1255 0 'aggregate final function' )
+insert ( 2335 1255 0 'concatenate aggregate input into an array' )
+insert ( 4051 1255 0 'aggregate transition function' )
+insert ( 6296 1255 0 'aggregate combine function' )
+insert ( 6297 1255 0 'aggregate serial function' )
+insert ( 6298 1255 0 'aggregate deserial function' )
+insert ( 4052 1255 0 'aggregate final function' )
+insert ( 4053 1255 0 'concatenate aggregate input into an array' )
+insert ( 3218 1255 0 'bucket number of operand given a sorted array of bucket lower bounds' )
+insert ( 6172 1255 0 'remove last N elements of array' )
+insert ( 6215 1255 0 'shuffle array' )
+insert ( 6216 1255 0 'take samples from array' )
+insert ( 3816 1255 0 'array typanalyze' )
+insert ( 3817 1255 0 'restriction selectivity for array-containment operators' )
+insert ( 3818 1255 0 'join selectivity for array-containment operators' )
+insert ( 764 1255 0 'large object import' )
+insert ( 767 1255 0 'large object import' )
+insert ( 765 1255 0 'large object export' )
+insert ( 766 1255 0 increment )
+insert ( 768 1255 0 'larger of two' )
+insert ( 769 1255 0 'smaller of two' )
+insert ( 770 1255 0 'larger of two' )
+insert ( 771 1255 0 'smaller of two' )
+insert ( 849 1255 0 'position of substring' )
+insert ( 1023 1255 0 'planner support for textlike' )
+insert ( 860 1255 0 'convert char to char(n)' )
+insert ( 861 1255 0 'name of the current database' )
+insert ( 817 1255 0 'get the currently executing query' )
+insert ( 886 1255 0 'I/O' )
+insert ( 887 1255 0 'I/O' )
+insert ( 898 1255 0 'larger of two' )
+insert ( 899 1255 0 'smaller of two' )
+insert ( 935 1255 0 'output money amount as words' )
+insert ( 3823 1255 0 'convert money to numeric' )
+insert ( 3824 1255 0 'convert numeric to money' )
+insert ( 3811 1255 0 'convert int4 to money' )
+insert ( 3812 1255 0 'convert int8 to money' )
+insert ( 940 1255 0 modulus )
+insert ( 941 1255 0 modulus )
+insert ( 947 1255 0 modulus )
+insert ( 5044 1255 0 'greatest common divisor' )
+insert ( 5045 1255 0 'greatest common divisor' )
+insert ( 5046 1255 0 'least common multiple' )
+insert ( 5047 1255 0 'least common multiple' )
+insert ( 944 1255 0 'convert text to char' )
+insert ( 946 1255 0 'convert char to text' )
+insert ( 952 1255 0 'large object open' )
+insert ( 953 1255 0 'large object close' )
+insert ( 954 1255 0 'large object read' )
+insert ( 955 1255 0 'large object write' )
+insert ( 956 1255 0 'large object seek' )
+insert ( 3170 1255 0 'large object seek (64 bit)' )
+insert ( 957 1255 0 'large object create' )
+insert ( 715 1255 0 'large object create' )
+insert ( 958 1255 0 'large object position' )
+insert ( 3171 1255 0 'large object position (64 bit)' )
+insert ( 1004 1255 0 'truncate large object' )
+insert ( 3172 1255 0 'truncate large object (64 bit)' )
+insert ( 3457 1255 0 'create new large object with given content' )
+insert ( 3458 1255 0 'read entire large object' )
+insert ( 3459 1255 0 'read large object from offset for length' )
+insert ( 3460 1255 0 'write data at offset' )
+insert ( 964 1255 0 'large object unlink (delete)' )
+insert ( 975 1255 0 'box area' )
+insert ( 976 1255 0 'box width' )
+insert ( 977 1255 0 'box height' )
+insert ( 979 1255 0 'area of a closed path' )
+insert ( 4067 1255 0 'bounding box of two boxes' )
+insert ( 981 1255 0 'box diagonal' )
+insert ( 992 1255 0 'slope between points' )
+insert ( 993 1255 0 'convert points to line segment' )
+insert ( 1026 1255 0 'adjust timestamp to new time zone' )
+insert ( 1031 1255 0 'I/O' )
+insert ( 1032 1255 0 'I/O' )
+insert ( 1035 1255 0 'add/update ACL item' )
+insert ( 1036 1255 0 'remove ACL item' )
+insert ( 1037 1255 0 contains )
+insert ( 1365 1255 0 'make ACL item' )
+insert ( 3943 1255 0 'show hardwired default privileges, primarily for use by the information schema' )
+insert ( 1689 1255 0 'convert ACL item array to table, primarily for use by information schema' )
+insert ( 1044 1255 0 'I/O' )
+insert ( 1045 1255 0 'I/O' )
+insert ( 2913 1255 0 'I/O typmod' )
+insert ( 2914 1255 0 'I/O typmod' )
+insert ( 1046 1255 0 'I/O' )
+insert ( 1047 1255 0 'I/O' )
+insert ( 2915 1255 0 'I/O typmod' )
+insert ( 2916 1255 0 'I/O typmod' )
+insert ( 1063 1255 0 'larger of two' )
+insert ( 1064 1255 0 'smaller of two' )
+insert ( 1078 1255 0 less-equal-greater )
+insert ( 3328 1255 0 'sort support' )
+insert ( 1080 1255 0 hash )
+insert ( 972 1255 0 hash )
+insert ( 1081 1255 0 'format a type oid and atttypmod to canonical SQL' )
+insert ( 1084 1255 0 'I/O' )
+insert ( 1085 1255 0 'I/O' )
+insert ( 1092 1255 0 less-equal-greater )
+insert ( 3136 1255 0 'sort support' )
+insert ( 4133 1255 0 'window RANGE support' )
+insert ( 1107 1255 0 less-equal-greater )
+insert ( 1138 1255 0 'larger of two' )
+insert ( 1139 1255 0 'smaller of two' )
+insert ( 1143 1255 0 'I/O' )
+insert ( 1144 1255 0 'I/O' )
+insert ( 2909 1255 0 'I/O typmod' )
+insert ( 2910 1255 0 'I/O typmod' )
+insert ( 1150 1255 0 'I/O' )
+insert ( 1151 1255 0 'I/O' )
+insert ( 2907 1255 0 'I/O typmod' )
+insert ( 2908 1255 0 'I/O typmod' )
+insert ( 1158 1255 0 'convert UNIX epoch to timestamptz' )
+insert ( 1159 1255 0 'adjust timestamp to new time zone' )
+insert ( 1160 1255 0 'I/O' )
+insert ( 1161 1255 0 'I/O' )
+insert ( 2903 1255 0 'I/O typmod' )
+insert ( 2904 1255 0 'I/O typmod' )
+insert ( 1171 1255 0 'extract field from timestamp with time zone' )
+insert ( 6203 1255 0 'extract field from timestamp with time zone' )
+insert ( 1172 1255 0 'extract field from interval' )
+insert ( 6204 1255 0 'extract field from interval' )
+insert ( 1174 1255 0 'convert date to timestamp with time zone' )
+insert ( 2711 1255 0 'promote groups of 24 hours to numbers of days and promote groups of 30 days to numbers of months' )
+insert ( 1175 1255 0 'promote groups of 24 hours to numbers of days' )
+insert ( 1295 1255 0 'promote groups of 30 days to numbers of months' )
+insert ( 1176 1255 0 'convert date and time to timestamp with time zone' )
+insert ( 1178 1255 0 'convert timestamp with time zone to date' )
+insert ( 1181 1255 0 'age of a transaction ID, in transactions before current transaction' )
+insert ( 3939 1255 0 'age of a multi-transaction ID, in multi-transactions before current multi-transaction' )
+insert ( 6221 1255 0 'add interval to timestamp with time zone' )
+insert ( 6222 1255 0 'add interval to timestamp with time zone in specified time zone' )
+insert ( 6223 1255 0 'subtract interval from timestamp with time zone' )
+insert ( 6273 1255 0 'subtract interval from timestamp with time zone in specified time zone' )
+insert ( 1195 1255 0 'smaller of two' )
+insert ( 1196 1255 0 'larger of two' )
+insert ( 1197 1255 0 'smaller of two' )
+insert ( 1198 1255 0 'larger of two' )
+insert ( 1199 1255 0 'date difference preserving months and years' )
+insert ( 3918 1255 0 'planner support for interval length coercion' )
+insert ( 1200 1255 0 'adjust interval precision' )
+insert ( 1215 1255 0 'get description for object id and catalog name' )
+insert ( 1216 1255 0 'get description for table column' )
+insert ( 1993 1255 0 'get description for object id and shared catalog name' )
+insert ( 1217 1255 0 'truncate timestamp with time zone to specified units' )
+insert ( 1284 1255 0 'truncate timestamp with time zone to specified units in specified time zone' )
+insert ( 1218 1255 0 'truncate interval to specified units' )
+insert ( 1219 1255 0 increment )
+insert ( 3546 1255 0 decrement )
+insert ( 2804 1255 0 'increment, ignores second argument' )
+insert ( 3547 1255 0 'decrement, ignores second argument' )
+insert ( 1236 1255 0 'larger of two' )
+insert ( 1237 1255 0 'smaller of two' )
+insert ( 1024 1255 0 'planner support for texticregexeq' )
+insert ( 1271 1255 0 'intervals overlap?' )
+insert ( 1273 1255 0 'extract field from time with time zone' )
+insert ( 6201 1255 0 'extract field from time with time zone' )
+insert ( 1287 1255 0 'convert int8 to oid' )
+insert ( 1288 1255 0 'convert oid to int8' )
+insert ( 1291 1255 0 'trigger to suppress updates when new and old records match' )
+insert ( 1294 1255 0 'latest tid of a tuple' )
+insert ( 2794 1255 0 less-equal-greater )
+insert ( 2795 1255 0 'larger of two' )
+insert ( 2796 1255 0 'smaller of two' )
+insert ( 2233 1255 0 hash )
+insert ( 2234 1255 0 hash )
+insert ( 1299 1255 0 'current transaction time' )
+insert ( 2647 1255 0 'current transaction time' )
+insert ( 2648 1255 0 'current statement time' )
+insert ( 2649 1255 0 'current clock time' )
+insert ( 1300 1255 0 'restriction selectivity for position-comparison operators' )
+insert ( 1301 1255 0 'join selectivity for position-comparison operators' )
+insert ( 1302 1255 0 'restriction selectivity for containment comparison operators' )
+insert ( 1303 1255 0 'join selectivity for containment comparison operators' )
+insert ( 1304 1255 0 'intervals overlap?' )
+insert ( 1305 1255 0 'intervals overlap?' )
+insert ( 1306 1255 0 'intervals overlap?' )
+insert ( 1307 1255 0 'intervals overlap?' )
+insert ( 1308 1255 0 'intervals overlap?' )
+insert ( 1309 1255 0 'intervals overlap?' )
+insert ( 1310 1255 0 'intervals overlap?' )
+insert ( 1311 1255 0 'intervals overlap?' )
+insert ( 1312 1255 0 'I/O' )
+insert ( 1313 1255 0 'I/O' )
+insert ( 2905 1255 0 'I/O typmod' )
+insert ( 2906 1255 0 'I/O typmod' )
+insert ( 1314 1255 0 less-equal-greater )
+insert ( 1315 1255 0 less-equal-greater )
+insert ( 1316 1255 0 'convert timestamp to time' )
+insert ( 1317 1255 0 length )
+insert ( 1318 1255 0 'character length' )
+insert ( 1339 1255 0 'base 10 logarithm' )
+insert ( 1340 1255 0 'base 10 logarithm' )
+insert ( 1194 1255 0 'base 10 logarithm' )
+insert ( 1341 1255 0 'natural logarithm' )
+insert ( 1342 1255 0 'round to nearest integer' )
+insert ( 1343 1255 0 'truncate to integer' )
+insert ( 1344 1255 0 'square root' )
+insert ( 1345 1255 0 'cube root' )
+insert ( 1346 1255 0 exponentiation )
+insert ( 1368 1255 0 exponentiation )
+insert ( 1347 1255 0 'natural exponential (e^x)' )
+insert ( 1348 1255 0 'deprecated, use two-argument form instead' )
+insert ( 1349 1255 0 'print type names of oidvector field' )
+insert ( 1350 1255 0 'I/O' )
+insert ( 1351 1255 0 'I/O' )
+insert ( 2911 1255 0 'I/O typmod' )
+insert ( 2912 1255 0 'I/O typmod' )
+insert ( 1358 1255 0 less-equal-greater )
+insert ( 1359 1255 0 'convert date and time with time zone to timestamp with time zone' )
+insert ( 1367 1255 0 'character length' )
+insert ( 1369 1255 0 'character length' )
+insert ( 1370 1255 0 'convert time to interval' )
+insert ( 1372 1255 0 'character length' )
+insert ( 1374 1255 0 'octet length' )
+insert ( 1375 1255 0 'octet length' )
+insert ( 1377 1255 0 'larger of two' )
+insert ( 1378 1255 0 'smaller of two' )
+insert ( 1379 1255 0 'larger of two' )
+insert ( 1380 1255 0 'smaller of two' )
+insert ( 1381 1255 0 'character length' )
+insert ( 1384 1255 0 'extract field from date' )
+insert ( 6199 1255 0 'extract field from date' )
+insert ( 1385 1255 0 'extract field from time' )
+insert ( 6200 1255 0 'extract field from time' )
+insert ( 1386 1255 0 'date difference from today preserving months and years' )
+insert ( 1388 1255 0 'convert timestamp with time zone to time with time zone' )
+insert ( 1373 1255 0 'finite date?' )
+insert ( 1389 1255 0 'finite timestamp?' )
+insert ( 1390 1255 0 'finite interval?' )
+insert ( 1376 1255 0 factorial )
+insert ( 1394 1255 0 'absolute value' )
+insert ( 1395 1255 0 'absolute value' )
+insert ( 1396 1255 0 'absolute value' )
+insert ( 1397 1255 0 'absolute value' )
+insert ( 1398 1255 0 'absolute value' )
+insert ( 1400 1255 0 'convert varchar to name' )
+insert ( 1401 1255 0 'convert name to varchar' )
+insert ( 1402 1255 0 'current schema name' )
+insert ( 1403 1255 0 'current schema search list' )
+insert ( 1404 1255 0 'substitute portion of string' )
+insert ( 1405 1255 0 'substitute portion of string' )
+insert ( 1406 1255 0 'vertically aligned' )
+insert ( 1407 1255 0 'horizontally aligned' )
+insert ( 1408 1255 0 parallel )
+insert ( 1409 1255 0 perpendicular )
+insert ( 1410 1255 0 vertical )
+insert ( 1411 1255 0 horizontal )
+insert ( 1412 1255 0 parallel )
+insert ( 1413 1255 0 perpendicular )
+insert ( 1414 1255 0 vertical )
+insert ( 1415 1255 0 horizontal )
+insert ( 1416 1255 0 'center of' )
+insert ( 1419 1255 0 'convert interval to time' )
+insert ( 1421 1255 0 'convert points to box' )
+insert ( 1430 1255 0 'path closed?' )
+insert ( 1431 1255 0 'path open?' )
+insert ( 1433 1255 0 'close path' )
+insert ( 1434 1255 0 'open path' )
+insert ( 1440 1255 0 'convert x, y to point' )
+insert ( 1446 1255 0 'convert polygon to bounding box' )
+insert ( 1447 1255 0 'convert polygon to path' )
+insert ( 1448 1255 0 'convert box to polygon' )
+insert ( 1449 1255 0 'convert path to polygon' )
+insert ( 1450 1255 0 'I/O' )
+insert ( 1451 1255 0 'I/O' )
+insert ( 1468 1255 0 'area of circle' )
+insert ( 1469 1255 0 'diameter of circle' )
+insert ( 1470 1255 0 'radius of circle' )
+insert ( 1473 1255 0 'convert point and radius to circle' )
+insert ( 1474 1255 0 'convert polygon to circle' )
+insert ( 1475 1255 0 'convert vertex count and circle to polygon' )
+insert ( 4091 1255 0 'convert point to empty box' )
+insert ( 1479 1255 0 'convert box to circle' )
+insert ( 1480 1255 0 'convert circle to box' )
+insert ( 1490 1255 0 'I/O' )
+insert ( 1491 1255 0 'I/O' )
+insert ( 1493 1255 0 'construct line from points' )
+insert ( 1530 1255 0 'distance between endpoints' )
+insert ( 1531 1255 0 'sum of path segments' )
+insert ( 1532 1255 0 'center of' )
+insert ( 1534 1255 0 'center of' )
+insert ( 1540 1255 0 'center of' )
+insert ( 1541 1255 0 'diagonal of' )
+insert ( 1542 1255 0 'center of' )
+insert ( 1543 1255 0 'center of' )
+insert ( 1544 1255 0 'convert circle to 12-vertex polygon' )
+insert ( 1545 1255 0 'number of points' )
+insert ( 1556 1255 0 'number of points' )
+insert ( 1564 1255 0 'I/O' )
+insert ( 1565 1255 0 'I/O' )
+insert ( 2919 1255 0 'I/O typmod' )
+insert ( 2920 1255 0 'I/O typmod' )
+insert ( 1569 1255 0 'matches LIKE expression' )
+insert ( 1570 1255 0 'does not match LIKE expression' )
+insert ( 1571 1255 0 'matches LIKE expression' )
+insert ( 1572 1255 0 'does not match LIKE expression' )
+insert ( 1574 1255 0 'sequence next value' )
+insert ( 1575 1255 0 'sequence current value' )
+insert ( 1576 1255 0 'set sequence value' )
+insert ( 1765 1255 0 'set sequence value and is_called status' )
+insert ( 3078 1255 0 'sequence parameters, for use by information schema' )
+insert ( 4032 1255 0 'sequence last value' )
+insert ( 275 1255 0 'return the next oid for a system table' )
+insert ( 6241 1255 0 'stop making pinned objects during initdb' )
+insert ( 1579 1255 0 'I/O' )
+insert ( 1580 1255 0 'I/O' )
+insert ( 2902 1255 0 'I/O typmod' )
+insert ( 2921 1255 0 'I/O typmod' )
+insert ( 1596 1255 0 less-equal-greater )
+insert ( 1598 1255 0 'random value' )
+insert ( 6212 1255 0 'random value from normal distribution' )
+insert ( 1599 1255 0 'set random seed' )
+insert ( 1600 1255 0 arcsine )
+insert ( 1601 1255 0 arccosine )
+insert ( 1602 1255 0 arctangent )
+insert ( 1603 1255 0 'arctangent, two arguments' )
+insert ( 1604 1255 0 sine )
+insert ( 1605 1255 0 cosine )
+insert ( 1606 1255 0 tangent )
+insert ( 1607 1255 0 cotangent )
+insert ( 2731 1255 0 'arcsine, degrees' )
+insert ( 2732 1255 0 'arccosine, degrees' )
+insert ( 2733 1255 0 'arctangent, degrees' )
+insert ( 2734 1255 0 'arctangent, two arguments, degrees' )
+insert ( 2735 1255 0 'sine, degrees' )
+insert ( 2736 1255 0 'cosine, degrees' )
+insert ( 2737 1255 0 'tangent, degrees' )
+insert ( 2738 1255 0 'cotangent, degrees' )
+insert ( 1608 1255 0 'radians to degrees' )
+insert ( 1609 1255 0 'degrees to radians' )
+insert ( 1610 1255 0 PI )
+insert ( 2462 1255 0 'hyperbolic sine' )
+insert ( 2463 1255 0 'hyperbolic cosine' )
+insert ( 2464 1255 0 'hyperbolic tangent' )
+insert ( 2465 1255 0 'inverse hyperbolic sine' )
+insert ( 2466 1255 0 'inverse hyperbolic cosine' )
+insert ( 2467 1255 0 'inverse hyperbolic tangent' )
+insert ( 6219 1255 0 'error function' )
+insert ( 6220 1255 0 'complementary error function' )
+insert ( 1620 1255 0 'convert first char to int4' )
+insert ( 1621 1255 0 'convert int4 to char' )
+insert ( 1622 1255 0 'replicate string n times' )
+insert ( 1623 1255 0 'convert SQL regexp pattern to POSIX style' )
+insert ( 1986 1255 0 'convert SQL regexp pattern to POSIX style' )
+insert ( 1987 1255 0 'convert SQL regexp pattern to POSIX style' )
+insert ( 1025 1255 0 'planner support for texticlike' )
+insert ( 1637 1255 0 'convert LIKE pattern to use backslash escapes' )
+insert ( 868 1255 0 'position of substring' )
+insert ( 870 1255 0 lowercase )
+insert ( 871 1255 0 uppercase )
+insert ( 872 1255 0 'capitalize each word' )
+insert ( 873 1255 0 'left-pad string to length' )
+insert ( 874 1255 0 'right-pad string to length' )
+insert ( 875 1255 0 'trim selected characters from left end of string' )
+insert ( 876 1255 0 'trim selected characters from right end of string' )
+insert ( 877 1255 0 'extract portion of string' )
+insert ( 878 1255 0 'map a set of characters appearing in string' )
+insert ( 879 1255 0 'left-pad string to length' )
+insert ( 880 1255 0 'right-pad string to length' )
+insert ( 881 1255 0 'trim spaces from left end of string' )
+insert ( 882 1255 0 'trim spaces from right end of string' )
+insert ( 883 1255 0 'extract portion of string' )
+insert ( 884 1255 0 'trim selected characters from both ends of string' )
+insert ( 885 1255 0 'trim spaces from both ends of string' )
+insert ( 936 1255 0 'extract portion of string' )
+insert ( 937 1255 0 'extract portion of string' )
+insert ( 2087 1255 0 'replace all occurrences in string of old_substr with new_substr' )
+insert ( 2284 1255 0 'replace text using regexp' )
+insert ( 2285 1255 0 'replace text using regexp' )
+insert ( 6251 1255 0 'replace text using regexp' )
+insert ( 6252 1255 0 'replace text using regexp' )
+insert ( 6253 1255 0 'replace text using regexp' )
+insert ( 3396 1255 0 'find first match for regexp' )
+insert ( 3397 1255 0 'find first match for regexp' )
+insert ( 2763 1255 0 'find match(es) for regexp' )
+insert ( 2764 1255 0 'find match(es) for regexp' )
+insert ( 6254 1255 0 'count regexp matches' )
+insert ( 6255 1255 0 'count regexp matches' )
+insert ( 6256 1255 0 'count regexp matches' )
+insert ( 6257 1255 0 'position of regexp match' )
+insert ( 6258 1255 0 'position of regexp match' )
+insert ( 6259 1255 0 'position of regexp match' )
+insert ( 6260 1255 0 'position of regexp match' )
+insert ( 6261 1255 0 'position of regexp match' )
+insert ( 6262 1255 0 'position of regexp match' )
+insert ( 6263 1255 0 'test for regexp match' )
+insert ( 6264 1255 0 'test for regexp match' )
+insert ( 6265 1255 0 'extract substring that matches regexp' )
+insert ( 6266 1255 0 'extract substring that matches regexp' )
+insert ( 6267 1255 0 'extract substring that matches regexp' )
+insert ( 6268 1255 0 'extract substring that matches regexp' )
+insert ( 6269 1255 0 'extract substring that matches regexp' )
+insert ( 2088 1255 0 'split string by field_sep and return field_num' )
+insert ( 2765 1255 0 'split string by pattern' )
+insert ( 2766 1255 0 'split string by pattern' )
+insert ( 2767 1255 0 'split string by pattern' )
+insert ( 2768 1255 0 'split string by pattern' )
+insert ( 2089 1255 0 'convert int4 number to hex' )
+insert ( 2090 1255 0 'convert int8 number to hex' )
+insert ( 1039 1255 0 'encoding name of current database' )
+insert ( 810 1255 0 'encoding name of current database' )
+insert ( 1713 1255 0 'length of string in specified encoding' )
+insert ( 1714 1255 0 'convert string with specified source encoding name' )
+insert ( 1717 1255 0 'convert string with specified destination encoding name' )
+insert ( 1813 1255 0 'convert string with specified encoding names' )
+insert ( 1264 1255 0 'convert encoding name to encoding id' )
+insert ( 1597 1255 0 'convert encoding id to encoding name' )
+insert ( 2319 1255 0 'maximum octet length of a character in given encoding' )
+insert ( 1573 1255 0 'source text of a rule' )
+insert ( 1640 1255 0 'select statement of a view' )
+insert ( 1641 1255 0 'select statement of a view' )
+insert ( 1642 1255 0 'role name by OID (with fallback)' )
+insert ( 1643 1255 0 'index description' )
+insert ( 3415 1255 0 'extended statistics object description' )
+insert ( 6174 1255 0 'extended statistics columns' )
+insert ( 6173 1255 0 'extended statistics expressions' )
+insert ( 3352 1255 0 'partition key description' )
+insert ( 3408 1255 0 'partition constraint description' )
+insert ( 1662 1255 0 'trigger description' )
+insert ( 1387 1255 0 'constraint description' )
+insert ( 1716 1255 0 'deparse an encoded expression' )
+insert ( 1665 1255 0 'name of sequence for a serial column' )
+insert ( 2098 1255 0 'definition of a function' )
+insert ( 2162 1255 0 'argument list of a function' )
+insert ( 2232 1255 0 'identity argument list of a function' )
+insert ( 2165 1255 0 'result type of a function' )
+insert ( 3808 1255 0 'function argument default' )
+insert ( 6197 1255 0 'function SQL body' )
+insert ( 1686 1255 0 'list of SQL keywords' )
+insert ( 6159 1255 0 'list of catalog foreign key relationships' )
+insert ( 2289 1255 0 'convert generic options array to name/value table' )
+insert ( 1619 1255 0 'type of the argument' )
+insert ( 3162 1255 0 'collation of the argument; implementation of the COLLATION FOR expression' )
+insert ( 3842 1255 0 'is a relation insertable/updatable/deletable' )
+insert ( 3843 1255 0 'is a column updatable' )
+insert ( 6120 1255 0 'oid of replica identity index if any' )
+insert ( 1250 1255 0 'deferred UNIQUE constraint check' )
+insert ( 1644 1255 0 'referential integrity FOREIGN KEY ... REFERENCES' )
+insert ( 1645 1255 0 'referential integrity FOREIGN KEY ... REFERENCES' )
+insert ( 1646 1255 0 'referential integrity ON DELETE CASCADE' )
+insert ( 1647 1255 0 'referential integrity ON UPDATE CASCADE' )
+insert ( 1648 1255 0 'referential integrity ON DELETE RESTRICT' )
+insert ( 1649 1255 0 'referential integrity ON UPDATE RESTRICT' )
+insert ( 1650 1255 0 'referential integrity ON DELETE SET NULL' )
+insert ( 1651 1255 0 'referential integrity ON UPDATE SET NULL' )
+insert ( 1652 1255 0 'referential integrity ON DELETE SET DEFAULT' )
+insert ( 1653 1255 0 'referential integrity ON UPDATE SET DEFAULT' )
+insert ( 1654 1255 0 'referential integrity ON DELETE NO ACTION' )
+insert ( 1655 1255 0 'referential integrity ON UPDATE NO ACTION' )
+insert ( 1672 1255 0 less-equal-greater )
+insert ( 1680 1255 0 'extract portion of bitstring' )
+insert ( 1681 1255 0 'bitstring length' )
+insert ( 1682 1255 0 'octet length' )
+insert ( 1683 1255 0 'convert int4 to bitstring' )
+insert ( 1684 1255 0 'convert bitstring to int4' )
+insert ( 1685 1255 0 'adjust bit() to typmod length' )
+insert ( 3158 1255 0 'planner support for varbit length coercion' )
+insert ( 1687 1255 0 'adjust varbit() to typmod length' )
+insert ( 1698 1255 0 'position of sub-bitstring' )
+insert ( 1699 1255 0 'extract portion of bitstring' )
+insert ( 3030 1255 0 'substitute portion of bitstring' )
+insert ( 3031 1255 0 'substitute portion of bitstring' )
+insert ( 3032 1255 0 'get bit' )
+insert ( 3033 1255 0 'set bit' )
+insert ( 6162 1255 0 'number of set bits' )
+insert ( 436 1255 0 'I/O' )
+insert ( 437 1255 0 'I/O' )
+insert ( 753 1255 0 'MACADDR manufacturer fields' )
+insert ( 836 1255 0 less-equal-greater )
+insert ( 3359 1255 0 'sort support' )
+insert ( 4110 1255 0 'I/O' )
+insert ( 4111 1255 0 'I/O' )
+insert ( 4112 1255 0 'MACADDR8 manufacturer fields' )
+insert ( 4119 1255 0 less-equal-greater )
+insert ( 4123 1255 0 'convert macaddr to macaddr8' )
+insert ( 4124 1255 0 'convert macaddr8 to macaddr' )
+insert ( 4125 1255 0 'set 7th bit in macaddr8' )
+insert ( 910 1255 0 'I/O' )
+insert ( 911 1255 0 'I/O' )
+insert ( 1267 1255 0 'I/O' )
+insert ( 1427 1255 0 'I/O' )
+insert ( 3562 1255 0 'larger of two' )
+insert ( 3563 1255 0 'smaller of two' )
+insert ( 926 1255 0 less-equal-greater )
+insert ( 1173 1255 0 'planner support for network_sub/superset' )
+insert ( 5033 1255 0 'sort support' )
+insert ( 598 1255 0 'abbreviated display of inet value' )
+insert ( 599 1255 0 'abbreviated display of cidr value' )
+insert ( 605 1255 0 'change netmask of inet' )
+insert ( 635 1255 0 'change netmask of cidr' )
+insert ( 711 1255 0 'address family (4 for IPv4, 6 for IPv6)' )
+insert ( 683 1255 0 'network part of address' )
+insert ( 696 1255 0 'netmask of address' )
+insert ( 697 1255 0 'netmask length' )
+insert ( 698 1255 0 'broadcast address of network' )
+insert ( 699 1255 0 'show address octets only' )
+insert ( 730 1255 0 'show all parts of inet/cidr value' )
+insert ( 1362 1255 0 'hostmask of address' )
+insert ( 1715 1255 0 'convert inet to cidr' )
+insert ( 2196 1255 0 'inet address of the client' )
+insert ( 2197 1255 0 'client''s port number for this connection' )
+insert ( 2198 1255 0 'inet address of the server' )
+insert ( 2199 1255 0 'server''s port number for this connection' )
+insert ( 4071 1255 0 'are the addresses from the same family?' )
+insert ( 4063 1255 0 'the smallest network which includes both of the given networks' )
+insert ( 3553 1255 0 'GiST support' )
+insert ( 3554 1255 0 'GiST support' )
+insert ( 3555 1255 0 'GiST support' )
+insert ( 3573 1255 0 'GiST support' )
+insert ( 3557 1255 0 'GiST support' )
+insert ( 3558 1255 0 'GiST support' )
+insert ( 3559 1255 0 'GiST support' )
+insert ( 3795 1255 0 'SP-GiST support' )
+insert ( 3796 1255 0 'SP-GiST support' )
+insert ( 3797 1255 0 'SP-GiST support' )
+insert ( 3798 1255 0 'SP-GiST support' )
+insert ( 3799 1255 0 'SP-GiST support' )
+insert ( 3560 1255 0 'restriction selectivity for network operators' )
+insert ( 3561 1255 0 'join selectivity for network operators' )
+insert ( 1693 1255 0 less-equal-greater )
+insert ( 1688 1255 0 hash )
+insert ( 3409 1255 0 hash )
+insert ( 1696 1255 0 hash )
+insert ( 3410 1255 0 hash )
+insert ( 1697 1255 0 hash )
+insert ( 3418 1255 0 hash )
+insert ( 1701 1255 0 'I/O' )
+insert ( 1702 1255 0 'I/O' )
+insert ( 2917 1255 0 'I/O typmod' )
+insert ( 2918 1255 0 'I/O typmod' )
+insert ( 3157 1255 0 'planner support for numeric length coercion' )
+insert ( 1703 1255 0 'adjust numeric to typmod precision/scale' )
+insert ( 1705 1255 0 'absolute value' )
+insert ( 1706 1255 0 'sign of value' )
+insert ( 1707 1255 0 'value rounded to ''scale''' )
+insert ( 1708 1255 0 'value rounded to ''scale'' of zero' )
+insert ( 1709 1255 0 'value truncated to ''scale''' )
+insert ( 1710 1255 0 'value truncated to ''scale'' of zero' )
+insert ( 1711 1255 0 'nearest integer >= value' )
+insert ( 2167 1255 0 'nearest integer >= value' )
+insert ( 1712 1255 0 'nearest integer <= value' )
+insert ( 1728 1255 0 modulus )
+insert ( 5048 1255 0 'greatest common divisor' )
+insert ( 5049 1255 0 'least common multiple' )
+insert ( 1730 1255 0 'square root' )
+insert ( 1731 1255 0 'square root' )
+insert ( 1732 1255 0 'natural exponential (e^x)' )
+insert ( 1733 1255 0 'natural exponential (e^x)' )
+insert ( 1734 1255 0 'natural logarithm' )
+insert ( 1735 1255 0 'natural logarithm' )
+insert ( 1736 1255 0 'logarithm base m of n' )
+insert ( 1737 1255 0 'logarithm base m of n' )
+insert ( 1738 1255 0 exponentiation )
+insert ( 2169 1255 0 exponentiation )
+insert ( 3281 1255 0 'number of decimal digits in the fractional part' )
+insert ( 5042 1255 0 'minimum scale needed to represent the value' )
+insert ( 5043 1255 0 'numeric with minimum scale needed to represent the value' )
+insert ( 1740 1255 0 'convert int4 to numeric' )
+insert ( 1741 1255 0 'base 10 logarithm' )
+insert ( 1481 1255 0 'base 10 logarithm' )
+insert ( 1742 1255 0 'convert float4 to numeric' )
+insert ( 1743 1255 0 'convert float8 to numeric' )
+insert ( 1744 1255 0 'convert numeric to int4' )
+insert ( 1745 1255 0 'convert numeric to float4' )
+insert ( 1746 1255 0 'convert numeric to float8' )
+insert ( 1973 1255 0 'trunc(x/y)' )
+insert ( 1980 1255 0 'trunc(x/y)' )
+insert ( 2170 1255 0 'bucket number of operand in equal-width histogram' )
+insert ( 1764 1255 0 'increment by one' )
+insert ( 1766 1255 0 'smaller of two' )
+insert ( 1767 1255 0 'larger of two' )
+insert ( 1769 1255 0 less-equal-greater )
+insert ( 3283 1255 0 'sort support' )
+insert ( 1779 1255 0 'convert numeric to int8' )
+insert ( 1781 1255 0 'convert int8 to numeric' )
+insert ( 1782 1255 0 'convert int2 to numeric' )
+insert ( 1783 1255 0 'convert numeric to int2' )
+insert ( 6103 1255 0 'convert numeric to pg_lsn' )
+insert ( 3556 1255 0 'convert jsonb to boolean' )
+insert ( 3449 1255 0 'convert jsonb to numeric' )
+insert ( 3450 1255 0 'convert jsonb to int2' )
+insert ( 3451 1255 0 'convert jsonb to int4' )
+insert ( 3452 1255 0 'convert jsonb to int8' )
+insert ( 3453 1255 0 'convert jsonb to float4' )
+insert ( 2580 1255 0 'convert jsonb to float8' )
+insert ( 1770 1255 0 'format timestamp with time zone to text' )
+insert ( 1772 1255 0 'format numeric to text' )
+insert ( 1773 1255 0 'format int4 to text' )
+insert ( 1774 1255 0 'format int8 to text' )
+insert ( 1775 1255 0 'format float4 to text' )
+insert ( 1776 1255 0 'format float8 to text' )
+insert ( 1777 1255 0 'convert text to numeric' )
+insert ( 1778 1255 0 'convert text to timestamp with time zone' )
+insert ( 1780 1255 0 'convert text to date' )
+insert ( 1768 1255 0 'format interval to text' )
+insert ( 1282 1255 0 'quote an identifier for usage in a querystring' )
+insert ( 1283 1255 0 'quote a literal for usage in a querystring' )
+insert ( 1285 1255 0 'quote a data value for usage in a querystring' )
+insert ( 1289 1255 0 'quote a possibly-null literal for usage in a querystring' )
+insert ( 1290 1255 0 'quote a possibly-null data value for usage in a querystring' )
+insert ( 1798 1255 0 'I/O' )
+insert ( 1799 1255 0 'I/O' )
+insert ( 3058 1255 0 'concatenate values' )
+insert ( 3059 1255 0 'concatenate values with separators' )
+insert ( 3060 1255 0 'extract the first n characters' )
+insert ( 3061 1255 0 'extract the last n characters' )
+insert ( 3062 1255 0 'reverse text' )
+insert ( 3539 1255 0 'format text message' )
+insert ( 3540 1255 0 'format text message' )
+insert ( 1810 1255 0 'length in bits' )
+insert ( 1811 1255 0 'length in bits' )
+insert ( 1812 1255 0 'length in bits' )
+insert ( 1814 1255 0 'restriction selectivity of ILIKE' )
+insert ( 1815 1255 0 'restriction selectivity of NOT ILIKE' )
+insert ( 1816 1255 0 'join selectivity of ILIKE' )
+insert ( 1817 1255 0 'join selectivity of NOT ILIKE' )
+insert ( 1818 1255 0 'restriction selectivity of regex match' )
+insert ( 1819 1255 0 'restriction selectivity of LIKE' )
+insert ( 1820 1255 0 'restriction selectivity of case-insensitive regex match' )
+insert ( 1821 1255 0 'restriction selectivity of regex non-match' )
+insert ( 1822 1255 0 'restriction selectivity of NOT LIKE' )
+insert ( 1823 1255 0 'restriction selectivity of case-insensitive regex non-match' )
+insert ( 1824 1255 0 'join selectivity of regex match' )
+insert ( 1825 1255 0 'join selectivity of LIKE' )
+insert ( 1826 1255 0 'join selectivity of case-insensitive regex match' )
+insert ( 1827 1255 0 'join selectivity of regex non-match' )
+insert ( 1828 1255 0 'join selectivity of NOT LIKE' )
+insert ( 1829 1255 0 'join selectivity of case-insensitive regex non-match' )
+insert ( 3437 1255 0 'restriction selectivity of exact prefix' )
+insert ( 3438 1255 0 'join selectivity of exact prefix' )
+insert ( 1830 1255 0 'aggregate final function' )
+insert ( 2512 1255 0 'aggregate final function' )
+insert ( 1831 1255 0 'aggregate final function' )
+insert ( 2513 1255 0 'aggregate final function' )
+insert ( 1832 1255 0 'aggregate final function' )
+insert ( 1833 1255 0 'aggregate transition function' )
+insert ( 3341 1255 0 'aggregate combine function' )
+insert ( 2858 1255 0 'aggregate transition function' )
+insert ( 3337 1255 0 'aggregate combine function' )
+insert ( 2740 1255 0 'aggregate serial function' )
+insert ( 2741 1255 0 'aggregate deserial function' )
+insert ( 3335 1255 0 'aggregate serial function' )
+insert ( 3336 1255 0 'aggregate deserial function' )
+insert ( 3548 1255 0 'aggregate transition function' )
+insert ( 1834 1255 0 'aggregate transition function' )
+insert ( 1835 1255 0 'aggregate transition function' )
+insert ( 1836 1255 0 'aggregate transition function' )
+insert ( 3338 1255 0 'aggregate combine function' )
+insert ( 3339 1255 0 'aggregate serial function' )
+insert ( 3340 1255 0 'aggregate deserial function' )
+insert ( 2746 1255 0 'aggregate transition function' )
+insert ( 3567 1255 0 'aggregate transition function' )
+insert ( 3568 1255 0 'aggregate transition function' )
+insert ( 3569 1255 0 'aggregate transition function' )
+insert ( 3387 1255 0 'aggregate transition function' )
+insert ( 2785 1255 0 'aggregate combine function' )
+insert ( 2786 1255 0 'aggregate serial function' )
+insert ( 2787 1255 0 'aggregate deserial function' )
+insert ( 3324 1255 0 'aggregate combine function' )
+insert ( 3178 1255 0 'aggregate final function' )
+insert ( 1837 1255 0 'aggregate final function' )
+insert ( 2514 1255 0 'aggregate final function' )
+insert ( 1838 1255 0 'aggregate final function' )
+insert ( 2596 1255 0 'aggregate final function' )
+insert ( 1839 1255 0 'aggregate final function' )
+insert ( 1840 1255 0 'aggregate transition function' )
+insert ( 1841 1255 0 'aggregate transition function' )
+insert ( 1842 1255 0 'aggregate transition function' )
+insert ( 3388 1255 0 'aggregate final function' )
+insert ( 3389 1255 0 'aggregate final function' )
+insert ( 3390 1255 0 'aggregate final function' )
+insert ( 3391 1255 0 'aggregate final function' )
+insert ( 3392 1255 0 'aggregate final function' )
+insert ( 3393 1255 0 'aggregate final function' )
+insert ( 1843 1255 0 'aggregate transition function' )
+insert ( 3325 1255 0 'aggregate combine function' )
+insert ( 3549 1255 0 'aggregate transition function' )
+insert ( 1844 1255 0 'aggregate final function' )
+insert ( 1962 1255 0 'aggregate transition function' )
+insert ( 1963 1255 0 'aggregate transition function' )
+insert ( 3570 1255 0 'aggregate transition function' )
+insert ( 3571 1255 0 'aggregate transition function' )
+insert ( 1964 1255 0 'aggregate final function' )
+insert ( 3572 1255 0 'aggregate final function' )
+insert ( 2805 1255 0 'aggregate transition function' )
+insert ( 2806 1255 0 'aggregate transition function' )
+insert ( 3342 1255 0 'aggregate combine function' )
+insert ( 2807 1255 0 'aggregate final function' )
+insert ( 2808 1255 0 'aggregate final function' )
+insert ( 2809 1255 0 'aggregate final function' )
+insert ( 2810 1255 0 'aggregate final function' )
+insert ( 2811 1255 0 'aggregate final function' )
+insert ( 2812 1255 0 'aggregate final function' )
+insert ( 2813 1255 0 'aggregate final function' )
+insert ( 2814 1255 0 'aggregate final function' )
+insert ( 2815 1255 0 'aggregate final function' )
+insert ( 2816 1255 0 'aggregate final function' )
+insert ( 2817 1255 0 'aggregate final function' )
+insert ( 3535 1255 0 'aggregate transition function' )
+insert ( 6299 1255 0 'aggregate combine function' )
+insert ( 6300 1255 0 'aggregate serial function' )
+insert ( 6301 1255 0 'aggregate deserial function' )
+insert ( 3536 1255 0 'aggregate final function' )
+insert ( 3538 1255 0 'concatenate aggregate input into a string' )
+insert ( 3543 1255 0 'aggregate transition function' )
+insert ( 3544 1255 0 'aggregate final function' )
+insert ( 3545 1255 0 'concatenate aggregate input into a bytea' )
+insert ( 1845 1255 0 'encode text from DB encoding to ASCII text' )
+insert ( 1846 1255 0 'encode text from encoding to ASCII text' )
+insert ( 1847 1255 0 'encode text from encoding to ASCII text' )
+insert ( 1922 1255 0 'user privilege on relation by username, rel name' )
+insert ( 1923 1255 0 'user privilege on relation by username, rel oid' )
+insert ( 1924 1255 0 'user privilege on relation by user oid, rel name' )
+insert ( 1925 1255 0 'user privilege on relation by user oid, rel oid' )
+insert ( 1926 1255 0 'current user privilege on relation by rel name' )
+insert ( 1927 1255 0 'current user privilege on relation by rel oid' )
+insert ( 2181 1255 0 'user privilege on sequence by username, seq name' )
+insert ( 2182 1255 0 'user privilege on sequence by username, seq oid' )
+insert ( 2183 1255 0 'user privilege on sequence by user oid, seq name' )
+insert ( 2184 1255 0 'user privilege on sequence by user oid, seq oid' )
+insert ( 2185 1255 0 'current user privilege on sequence by seq name' )
+insert ( 2186 1255 0 'current user privilege on sequence by seq oid' )
+insert ( 3012 1255 0 'user privilege on column by username, rel name, col name' )
+insert ( 3013 1255 0 'user privilege on column by username, rel name, col attnum' )
+insert ( 3014 1255 0 'user privilege on column by username, rel oid, col name' )
+insert ( 3015 1255 0 'user privilege on column by username, rel oid, col attnum' )
+insert ( 3016 1255 0 'user privilege on column by user oid, rel name, col name' )
+insert ( 3017 1255 0 'user privilege on column by user oid, rel name, col attnum' )
+insert ( 3018 1255 0 'user privilege on column by user oid, rel oid, col name' )
+insert ( 3019 1255 0 'user privilege on column by user oid, rel oid, col attnum' )
+insert ( 3020 1255 0 'current user privilege on column by rel name, col name' )
+insert ( 3021 1255 0 'current user privilege on column by rel name, col attnum' )
+insert ( 3022 1255 0 'current user privilege on column by rel oid, col name' )
+insert ( 3023 1255 0 'current user privilege on column by rel oid, col attnum' )
+insert ( 3024 1255 0 'user privilege on any column by username, rel name' )
+insert ( 3025 1255 0 'user privilege on any column by username, rel oid' )
+insert ( 3026 1255 0 'user privilege on any column by user oid, rel name' )
+insert ( 3027 1255 0 'user privilege on any column by user oid, rel oid' )
+insert ( 3028 1255 0 'current user privilege on any column by rel name' )
+insert ( 3029 1255 0 'current user privilege on any column by rel oid' )
+insert ( 3355 1255 0 'I/O' )
+insert ( 3356 1255 0 'I/O' )
+insert ( 3357 1255 0 'I/O' )
+insert ( 3358 1255 0 'I/O' )
+insert ( 3404 1255 0 'I/O' )
+insert ( 3405 1255 0 'I/O' )
+insert ( 3406 1255 0 'I/O' )
+insert ( 3407 1255 0 'I/O' )
+insert ( 5018 1255 0 'I/O' )
+insert ( 5019 1255 0 'I/O' )
+insert ( 5020 1255 0 'I/O' )
+insert ( 5021 1255 0 'I/O' )
+insert ( 3427 1255 0 'details about MCV list items' )
+insert ( 1928 1255 0 'statistics: number of scans done for table/index' )
+insert ( 6310 1255 0 'statistics: time of the last scan for table/index' )
+insert ( 1929 1255 0 'statistics: number of tuples read by seqscan' )
+insert ( 1930 1255 0 'statistics: number of tuples fetched by idxscan' )
+insert ( 1931 1255 0 'statistics: number of tuples inserted' )
+insert ( 1932 1255 0 'statistics: number of tuples updated' )
+insert ( 1933 1255 0 'statistics: number of tuples deleted' )
+insert ( 1972 1255 0 'statistics: number of tuples hot updated' )
+insert ( 6217 1255 0 'statistics: number of tuples updated onto a new page' )
+insert ( 2878 1255 0 'statistics: number of live tuples' )
+insert ( 2879 1255 0 'statistics: number of dead tuples' )
+insert ( 3177 1255 0 'statistics: number of tuples changed since last analyze' )
+insert ( 5053 1255 0 'statistics: number of tuples inserted since last vacuum' )
+insert ( 1934 1255 0 'statistics: number of blocks fetched' )
+insert ( 1935 1255 0 'statistics: number of blocks found in cache' )
+insert ( 2781 1255 0 'statistics: last manual vacuum time for a table' )
+insert ( 2782 1255 0 'statistics: last auto vacuum time for a table' )
+insert ( 2783 1255 0 'statistics: last manual analyze time for a table' )
+insert ( 2784 1255 0 'statistics: last auto analyze time for a table' )
+insert ( 3054 1255 0 'statistics: number of manual vacuums for a table' )
+insert ( 3055 1255 0 'statistics: number of auto vacuums for a table' )
+insert ( 3056 1255 0 'statistics: number of manual analyzes for a table' )
+insert ( 3057 1255 0 'statistics: number of auto analyzes for a table' )
+insert ( 1936 1255 0 'statistics: currently active backend IDs' )
+insert ( 2022 1255 0 'statistics: information about currently active backends' )
+insert ( 3318 1255 0 'statistics: information about progress of backends running maintenance command' )
+insert ( 3099 1255 0 'statistics: information about currently active replication' )
+insert ( 3317 1255 0 'statistics: information about WAL receiver' )
+insert ( 6169 1255 0 'statistics: information about replication slot' )
+insert ( 6230 1255 0 'statistics: check if a stats object exists' )
+insert ( 6231 1255 0 'statistics: information about subscription stats' )
+insert ( 6118 1255 0 'statistics: information about subscription' )
+insert ( 2026 1255 0 'statistics: current backend PID' )
+insert ( 1937 1255 0 'statistics: PID of backend' )
+insert ( 1938 1255 0 'statistics: database ID of backend' )
+insert ( 6107 1255 0 'statistics: get subtransaction status of backend' )
+insert ( 1939 1255 0 'statistics: user ID of backend' )
+insert ( 1940 1255 0 'statistics: current query of backend' )
+insert ( 2788 1255 0 'statistics: wait event type on which backend is currently waiting' )
+insert ( 2853 1255 0 'statistics: wait event on which backend is currently waiting' )
+insert ( 2094 1255 0 'statistics: start time for current query of backend' )
+insert ( 2857 1255 0 'statistics: start time for backend''s current transaction' )
+insert ( 1391 1255 0 'statistics: start time for current backend session' )
+insert ( 1392 1255 0 'statistics: address of client connected to backend' )
+insert ( 1393 1255 0 'statistics: port number of client connected to backend' )
+insert ( 1941 1255 0 'statistics: number of backends in database' )
+insert ( 1942 1255 0 'statistics: transactions committed' )
+insert ( 1943 1255 0 'statistics: transactions rolled back' )
+insert ( 1944 1255 0 'statistics: blocks fetched for database' )
+insert ( 1945 1255 0 'statistics: blocks found in cache for database' )
+insert ( 2758 1255 0 'statistics: tuples returned for database' )
+insert ( 2759 1255 0 'statistics: tuples fetched for database' )
+insert ( 2760 1255 0 'statistics: tuples inserted in database' )
+insert ( 2761 1255 0 'statistics: tuples updated in database' )
+insert ( 2762 1255 0 'statistics: tuples deleted in database' )
+insert ( 3065 1255 0 'statistics: recovery conflicts in database caused by drop tablespace' )
+insert ( 3066 1255 0 'statistics: recovery conflicts in database caused by relation lock' )
+insert ( 3067 1255 0 'statistics: recovery conflicts in database caused by snapshot expiry' )
+insert ( 6309 1255 0 'statistics: recovery conflicts in database caused by logical replication slot' )
+insert ( 3068 1255 0 'statistics: recovery conflicts in database caused by shared buffer pin' )
+insert ( 3069 1255 0 'statistics: recovery conflicts in database caused by buffer deadlock' )
+insert ( 3070 1255 0 'statistics: recovery conflicts in database' )
+insert ( 3152 1255 0 'statistics: deadlocks detected in database' )
+insert ( 3426 1255 0 'statistics: checksum failures detected in database' )
+insert ( 3428 1255 0 'statistics: when last checksum failure was detected in database' )
+insert ( 3074 1255 0 'statistics: last reset for a database' )
+insert ( 3150 1255 0 'statistics: number of temporary files written' )
+insert ( 3151 1255 0 'statistics: number of bytes in temporary files written' )
+insert ( 2844 1255 0 'statistics: block read time, in milliseconds' )
+insert ( 2845 1255 0 'statistics: block write time, in milliseconds' )
+insert ( 6185 1255 0 'statistics: session time, in milliseconds' )
+insert ( 6186 1255 0 'statistics: session active time, in milliseconds' )
+insert ( 6187 1255 0 'statistics: session idle in transaction time, in milliseconds' )
+insert ( 6188 1255 0 'statistics: total number of sessions' )
+insert ( 6189 1255 0 'statistics: number of sessions disconnected by the client closing the network connection' )
+insert ( 6190 1255 0 'statistics: number of sessions disconnected by fatal errors' )
+insert ( 6191 1255 0 'statistics: number of sessions killed by administrative action' )
+insert ( 3195 1255 0 'statistics: information about WAL archiver' )
+insert ( 2769 1255 0 'statistics: number of timed checkpoints started by the bgwriter' )
+insert ( 2770 1255 0 'statistics: number of backend requested checkpoints started by the bgwriter' )
+insert ( 2771 1255 0 'statistics: number of buffers written by the bgwriter during checkpoints' )
+insert ( 2772 1255 0 'statistics: number of buffers written by the bgwriter for cleaning dirty buffers' )
+insert ( 2773 1255 0 'statistics: number of times the bgwriter stopped processing when it had written too many buffers while cleaning' )
+insert ( 3075 1255 0 'statistics: last reset for the bgwriter' )
+insert ( 3160 1255 0 'statistics: checkpoint time spent writing buffers to disk, in milliseconds' )
+insert ( 3161 1255 0 'statistics: checkpoint time spent synchronizing buffers to disk, in milliseconds' )
+insert ( 2775 1255 0 'statistics: number of buffers written by backends' )
+insert ( 3063 1255 0 'statistics: number of backend buffer writes that did their own fsync' )
+insert ( 2859 1255 0 'statistics: number of buffer allocations' )
+insert ( 6214 1255 0 'statistics: per backend type IO statistics' )
+insert ( 1136 1255 0 'statistics: information about WAL activity' )
+insert ( 6248 1255 0 'statistics: information about WAL prefetching' )
+insert ( 2306 1255 0 'statistics: information about SLRU caches' )
+insert ( 2978 1255 0 'statistics: number of function calls' )
+insert ( 2979 1255 0 'statistics: total execution time of function, in milliseconds' )
+insert ( 2980 1255 0 'statistics: self execution time of function, in milliseconds' )
+insert ( 3037 1255 0 'statistics: number of scans done for table/index in current transaction' )
+insert ( 3038 1255 0 'statistics: number of tuples read by seqscan in current transaction' )
+insert ( 3039 1255 0 'statistics: number of tuples fetched by idxscan in current transaction' )
+insert ( 3040 1255 0 'statistics: number of tuples inserted in current transaction' )
+insert ( 3041 1255 0 'statistics: number of tuples updated in current transaction' )
+insert ( 3042 1255 0 'statistics: number of tuples deleted in current transaction' )
+insert ( 3043 1255 0 'statistics: number of tuples hot updated in current transaction' )
+insert ( 6218 1255 0 'statistics: number of tuples updated onto a new page in current transaction' )
+insert ( 3044 1255 0 'statistics: number of blocks fetched in current transaction' )
+insert ( 3045 1255 0 'statistics: number of blocks found in cache in current transaction' )
+insert ( 3046 1255 0 'statistics: number of function calls in current transaction' )
+insert ( 3047 1255 0 'statistics: total execution time of function in current transaction, in milliseconds' )
+insert ( 3048 1255 0 'statistics: self execution time of function in current transaction, in milliseconds' )
+insert ( 3788 1255 0 'statistics: timestamp of the current statistics snapshot' )
+insert ( 2230 1255 0 'statistics: discard current transaction''s statistics snapshot' )
+insert ( 2137 1255 0 'statistics: force stats to be flushed after the next commit' )
+insert ( 2274 1255 0 'statistics: reset collected statistics for current database' )
+insert ( 3775 1255 0 'statistics: reset collected statistics shared across the cluster' )
+insert ( 3776 1255 0 'statistics: reset collected statistics for a single table or index in the current database or shared across all databases in the cluster' )
+insert ( 3777 1255 0 'statistics: reset collected statistics for a single function in the current database' )
+insert ( 2307 1255 0 'statistics: reset collected statistics for a single SLRU' )
+insert ( 6170 1255 0 'statistics: reset collected statistics for a single replication slot' )
+insert ( 6232 1255 0 'statistics: reset collected statistics for a single subscription' )
+insert ( 3163 1255 0 'current trigger depth' )
+insert ( 3778 1255 0 'tablespace location' )
+insert ( 1946 1255 0 'convert bytea value into some ascii-only text string' )
+insert ( 1947 1255 0 'convert ascii-encoded text string into bytea value' )
+insert ( 1954 1255 0 less-equal-greater )
+insert ( 3331 1255 0 'sort support' )
+insert ( 3917 1255 0 'planner support for timestamp length coercion' )
+insert ( 3944 1255 0 'planner support for time length coercion' )
+insert ( 1961 1255 0 'adjust timestamp precision' )
+insert ( 1965 1255 0 'larger of two' )
+insert ( 1966 1255 0 'smaller of two' )
+insert ( 1967 1255 0 'adjust timestamptz precision' )
+insert ( 1968 1255 0 'adjust time precision' )
+insert ( 1969 1255 0 'adjust time with time zone precision' )
+insert ( 2007 1255 0 'matches LIKE expression' )
+insert ( 2008 1255 0 'does not match LIKE expression' )
+insert ( 2009 1255 0 'convert LIKE pattern to use backslash escapes' )
+insert ( 2010 1255 0 'octet length' )
+insert ( 2012 1255 0 'extract portion of string' )
+insert ( 2013 1255 0 'extract portion of string' )
+insert ( 2085 1255 0 'extract portion of string' )
+insert ( 2086 1255 0 'extract portion of string' )
+insert ( 2014 1255 0 'position of substring' )
+insert ( 2015 1255 0 'trim selected bytes from both ends of string' )
+insert ( 6195 1255 0 'trim selected bytes from left end of string' )
+insert ( 6196 1255 0 'trim selected bytes from right end of string' )
+insert ( 2019 1255 0 'convert timestamp with time zone to time' )
+insert ( 2020 1255 0 'truncate timestamp to specified units' )
+insert ( 6177 1255 0 'bin timestamp into specified interval' )
+insert ( 6178 1255 0 'bin timestamp with time zone into specified interval' )
+insert ( 2021 1255 0 'extract field from timestamp' )
+insert ( 6202 1255 0 'extract field from timestamp' )
+insert ( 2024 1255 0 'convert date to timestamp' )
+insert ( 2025 1255 0 'convert date and time to timestamp' )
+insert ( 2027 1255 0 'convert timestamp with time zone to timestamp' )
+insert ( 2028 1255 0 'convert timestamp to timestamp with time zone' )
+insert ( 2029 1255 0 'convert timestamp to date' )
+insert ( 2035 1255 0 'smaller of two' )
+insert ( 2036 1255 0 'larger of two' )
+insert ( 2037 1255 0 'adjust time with time zone to new zone' )
+insert ( 2038 1255 0 'adjust time with time zone to new zone' )
+insert ( 2039 1255 0 hash )
+insert ( 3411 1255 0 hash )
+insert ( 2041 1255 0 'intervals overlap?' )
+insert ( 2042 1255 0 'intervals overlap?' )
+insert ( 2043 1255 0 'intervals overlap?' )
+insert ( 2044 1255 0 'intervals overlap?' )
+insert ( 2045 1255 0 less-equal-greater )
+insert ( 3137 1255 0 'sort support' )
+insert ( 4134 1255 0 'window RANGE support' )
+insert ( 4135 1255 0 'window RANGE support' )
+insert ( 4136 1255 0 'window RANGE support' )
+insert ( 4137 1255 0 'window RANGE support' )
+insert ( 4138 1255 0 'window RANGE support' )
+insert ( 2046 1255 0 'convert time with time zone to time' )
+insert ( 2047 1255 0 'convert time to time with time zone' )
+insert ( 2048 1255 0 'finite timestamp?' )
+insert ( 2049 1255 0 'format timestamp to text' )
+insert ( 2058 1255 0 'date difference preserving months and years' )
+insert ( 2059 1255 0 'date difference from today preserving months and years' )
+insert ( 2069 1255 0 'adjust timestamp to new time zone' )
+insert ( 2070 1255 0 'adjust timestamp to new time zone' )
+insert ( 2073 1255 0 'extract text matching regular expression' )
+insert ( 2074 1255 0 'extract text matching SQL regular expression' )
+insert ( 2075 1255 0 'convert int8 to bitstring' )
+insert ( 2076 1255 0 'convert bitstring to int8' )
+insert ( 2077 1255 0 'SHOW X as a function' )
+insert ( 3294 1255 0 'SHOW X as a function, optionally no error for missing variable' )
+insert ( 2078 1255 0 'SET X as a function' )
+insert ( 2084 1255 0 'SHOW ALL as a function' )
+insert ( 6240 1255 0 'return flags for specified GUC' )
+insert ( 3329 1255 0 'show config file settings' )
+insert ( 3401 1255 0 'show pg_hba.conf rules' )
+insert ( 6250 1255 0 'show pg_ident.conf mappings' )
+insert ( 1371 1255 0 'view system lock information' )
+insert ( 2561 1255 0 'get array of PIDs of sessions blocking specified backend PID from acquiring a heavyweight lock' )
+insert ( 3376 1255 0 'get array of PIDs of sessions blocking specified backend PID from acquiring a safe snapshot' )
+insert ( 3378 1255 0 'isolationtester support function' )
+insert ( 1065 1255 0 'view two-phase transactions' )
+insert ( 3819 1255 0 'view members of a multixactid' )
+insert ( 3581 1255 0 'get commit timestamp of a transaction' )
+insert ( 6168 1255 0 'get commit timestamp and replication origin of a transaction' )
+insert ( 3583 1255 0 'get transaction Id, commit timestamp and replication origin of latest transaction commit' )
+insert ( 3537 1255 0 'get identification of SQL object' )
+insert ( 3839 1255 0 'get machine-parseable identification of SQL object' )
+insert ( 3382 1255 0 'get identification of SQL object for pg_get_object_address()' )
+insert ( 3954 1255 0 'get OID-based object address from name/args arrays' )
+insert ( 2079 1255 0 'is table visible in search path?' )
+insert ( 2080 1255 0 'is type visible in search path?' )
+insert ( 2081 1255 0 'is function visible in search path?' )
+insert ( 2082 1255 0 'is operator visible in search path?' )
+insert ( 2083 1255 0 'is opclass visible in search path?' )
+insert ( 3829 1255 0 'is opfamily visible in search path?' )
+insert ( 2093 1255 0 'is conversion visible in search path?' )
+insert ( 3403 1255 0 'is statistics object visible in search path?' )
+insert ( 3756 1255 0 'is text search parser visible in search path?' )
+insert ( 3757 1255 0 'is text search dictionary visible in search path?' )
+insert ( 3768 1255 0 'is text search template visible in search path?' )
+insert ( 3758 1255 0 'is text search configuration visible in search path?' )
+insert ( 3815 1255 0 'is collation visible in search path?' )
+insert ( 2854 1255 0 'get OID of current session''s temp schema, if any' )
+insert ( 2855 1255 0 'is schema another session''s temp schema?' )
+insert ( 2171 1255 0 'cancel a server process'' current query' )
+insert ( 2096 1255 0 'terminate a server process' )
+insert ( 2172 1255 0 'prepare for taking an online backup' )
+insert ( 2739 1255 0 'finish taking an online backup' )
+insert ( 3436 1255 0 'promote standby server' )
+insert ( 2848 1255 0 'switch to new wal file' )
+insert ( 6305 1255 0 'log details of the current snapshot to WAL' )
+insert ( 3098 1255 0 'create a named restore point' )
+insert ( 2849 1255 0 'current wal write location' )
+insert ( 2852 1255 0 'current wal insert location' )
+insert ( 3330 1255 0 'current wal flush location' )
+insert ( 2850 1255 0 'wal filename and byte offset, given a wal location' )
+insert ( 2851 1255 0 'wal filename, given a wal location' )
+insert ( 6213 1255 0 'sequence number and timeline ID given a wal filename' )
+insert ( 3165 1255 0 'difference in bytes, given two wal locations' )
+insert ( 3809 1255 0 'export a snapshot' )
+insert ( 3810 1255 0 'true if server is in recovery' )
+insert ( 3820 1255 0 'current wal flush location' )
+insert ( 3821 1255 0 'last wal replay location' )
+insert ( 3830 1255 0 'timestamp of last replay xact' )
+insert ( 3071 1255 0 'pause wal replay' )
+insert ( 3072 1255 0 'resume wal replay, if it was paused' )
+insert ( 3073 1255 0 'true if wal replay is paused' )
+insert ( 1137 1255 0 'get wal replay pause state' )
+insert ( 6224 1255 0 'get resource managers loaded in system' )
+insert ( 2621 1255 0 'reload configuration files' )
+insert ( 2622 1255 0 'rotate log file' )
+insert ( 4099 1255 0 'rotate log file - old version for adminpack 1.0' )
+insert ( 3800 1255 0 'current logging collector file location' )
+insert ( 3801 1255 0 'current logging collector file location' )
+insert ( 2623 1255 0 'get information about file' )
+insert ( 3307 1255 0 'get information about file' )
+insert ( 2624 1255 0 'read text from a file' )
+insert ( 3293 1255 0 'read text from a file' )
+insert ( 4100 1255 0 'read text from a file - old version for adminpack 1.0' )
+insert ( 3826 1255 0 'read text from a file' )
+insert ( 6208 1255 0 'read text from a file' )
+insert ( 3827 1255 0 'read bytea from a file' )
+insert ( 3295 1255 0 'read bytea from a file' )
+insert ( 3828 1255 0 'read bytea from a file' )
+insert ( 6209 1255 0 'read bytea from a file' )
+insert ( 2625 1255 0 'list all files in a directory' )
+insert ( 3297 1255 0 'list all files in a directory' )
+insert ( 2626 1255 0 'sleep for the specified time in seconds' )
+insert ( 3935 1255 0 'sleep for the specified interval' )
+insert ( 3936 1255 0 'sleep until the specified time' )
+insert ( 315 1255 0 'Is JIT compilation available in this session?' )
+insert ( 2971 1255 0 'convert boolean to text' )
+insert ( 2100 1255 0 'the average (arithmetic mean) as numeric of all bigint values' )
+insert ( 2101 1255 0 'the average (arithmetic mean) as numeric of all integer values' )
+insert ( 2102 1255 0 'the average (arithmetic mean) as numeric of all smallint values' )
+insert ( 2103 1255 0 'the average (arithmetic mean) as numeric of all numeric values' )
+insert ( 2104 1255 0 'the average (arithmetic mean) as float8 of all float4 values' )
+insert ( 2105 1255 0 'the average (arithmetic mean) as float8 of all float8 values' )
+insert ( 2106 1255 0 'the average (arithmetic mean) as interval of all interval values' )
+insert ( 2107 1255 0 'sum as numeric across all bigint input values' )
+insert ( 2108 1255 0 'sum as bigint across all integer input values' )
+insert ( 2109 1255 0 'sum as bigint across all smallint input values' )
+insert ( 2110 1255 0 'sum as float4 across all float4 input values' )
+insert ( 2111 1255 0 'sum as float8 across all float8 input values' )
+insert ( 2112 1255 0 'sum as money across all money input values' )
+insert ( 2113 1255 0 'sum as interval across all interval input values' )
+insert ( 2114 1255 0 'sum as numeric across all numeric input values' )
+insert ( 2115 1255 0 'maximum value of all bigint input values' )
+insert ( 2116 1255 0 'maximum value of all integer input values' )
+insert ( 2117 1255 0 'maximum value of all smallint input values' )
+insert ( 2118 1255 0 'maximum value of all oid input values' )
+insert ( 2119 1255 0 'maximum value of all float4 input values' )
+insert ( 2120 1255 0 'maximum value of all float8 input values' )
+insert ( 2122 1255 0 'maximum value of all date input values' )
+insert ( 2123 1255 0 'maximum value of all time input values' )
+insert ( 2124 1255 0 'maximum value of all time with time zone input values' )
+insert ( 2125 1255 0 'maximum value of all money input values' )
+insert ( 2126 1255 0 'maximum value of all timestamp input values' )
+insert ( 2127 1255 0 'maximum value of all timestamp with time zone input values' )
+insert ( 2128 1255 0 'maximum value of all interval input values' )
+insert ( 2129 1255 0 'maximum value of all text input values' )
+insert ( 2130 1255 0 'maximum value of all numeric input values' )
+insert ( 2050 1255 0 'maximum value of all anyarray input values' )
+insert ( 2244 1255 0 'maximum value of all bpchar input values' )
+insert ( 2797 1255 0 'maximum value of all tid input values' )
+insert ( 3564 1255 0 'maximum value of all inet input values' )
+insert ( 4189 1255 0 'maximum value of all pg_lsn input values' )
+insert ( 5099 1255 0 'maximum value of all xid8 input values' )
+insert ( 2131 1255 0 'minimum value of all bigint input values' )
+insert ( 2132 1255 0 'minimum value of all integer input values' )
+insert ( 2133 1255 0 'minimum value of all smallint input values' )
+insert ( 2134 1255 0 'minimum value of all oid input values' )
+insert ( 2135 1255 0 'minimum value of all float4 input values' )
+insert ( 2136 1255 0 'minimum value of all float8 input values' )
+insert ( 2138 1255 0 'minimum value of all date input values' )
+insert ( 2139 1255 0 'minimum value of all time input values' )
+insert ( 2140 1255 0 'minimum value of all time with time zone input values' )
+insert ( 2141 1255 0 'minimum value of all money input values' )
+insert ( 2142 1255 0 'minimum value of all timestamp input values' )
+insert ( 2143 1255 0 'minimum value of all timestamp with time zone input values' )
+insert ( 2144 1255 0 'minimum value of all interval input values' )
+insert ( 2145 1255 0 'minimum value of all text values' )
+insert ( 2146 1255 0 'minimum value of all numeric input values' )
+insert ( 2051 1255 0 'minimum value of all anyarray input values' )
+insert ( 2245 1255 0 'minimum value of all bpchar input values' )
+insert ( 2798 1255 0 'minimum value of all tid input values' )
+insert ( 3565 1255 0 'minimum value of all inet input values' )
+insert ( 4190 1255 0 'minimum value of all pg_lsn input values' )
+insert ( 5100 1255 0 'minimum value of all xid8 input values' )
+insert ( 2147 1255 0 'number of input rows for which the input expression is not null' )
+insert ( 2803 1255 0 'number of input rows' )
+insert ( 6236 1255 0 'planner support for count run condition' )
+insert ( 2718 1255 0 'population variance of bigint input values (square of the population standard deviation)' )
+insert ( 2719 1255 0 'population variance of integer input values (square of the population standard deviation)' )
+insert ( 2720 1255 0 'population variance of smallint input values (square of the population standard deviation)' )
+insert ( 2721 1255 0 'population variance of float4 input values (square of the population standard deviation)' )
+insert ( 2722 1255 0 'population variance of float8 input values (square of the population standard deviation)' )
+insert ( 2723 1255 0 'population variance of numeric input values (square of the population standard deviation)' )
+insert ( 2641 1255 0 'sample variance of bigint input values (square of the sample standard deviation)' )
+insert ( 2642 1255 0 'sample variance of integer input values (square of the sample standard deviation)' )
+insert ( 2643 1255 0 'sample variance of smallint input values (square of the sample standard deviation)' )
+insert ( 2644 1255 0 'sample variance of float4 input values (square of the sample standard deviation)' )
+insert ( 2645 1255 0 'sample variance of float8 input values (square of the sample standard deviation)' )
+insert ( 2646 1255 0 'sample variance of numeric input values (square of the sample standard deviation)' )
+insert ( 2148 1255 0 'historical alias for var_samp' )
+insert ( 2149 1255 0 'historical alias for var_samp' )
+insert ( 2150 1255 0 'historical alias for var_samp' )
+insert ( 2151 1255 0 'historical alias for var_samp' )
+insert ( 2152 1255 0 'historical alias for var_samp' )
+insert ( 2153 1255 0 'historical alias for var_samp' )
+insert ( 2724 1255 0 'population standard deviation of bigint input values' )
+insert ( 2725 1255 0 'population standard deviation of integer input values' )
+insert ( 2726 1255 0 'population standard deviation of smallint input values' )
+insert ( 2727 1255 0 'population standard deviation of float4 input values' )
+insert ( 2728 1255 0 'population standard deviation of float8 input values' )
+insert ( 2729 1255 0 'population standard deviation of numeric input values' )
+insert ( 2712 1255 0 'sample standard deviation of bigint input values' )
+insert ( 2713 1255 0 'sample standard deviation of integer input values' )
+insert ( 2714 1255 0 'sample standard deviation of smallint input values' )
+insert ( 2715 1255 0 'sample standard deviation of float4 input values' )
+insert ( 2716 1255 0 'sample standard deviation of float8 input values' )
+insert ( 2717 1255 0 'sample standard deviation of numeric input values' )
+insert ( 2154 1255 0 'historical alias for stddev_samp' )
+insert ( 2155 1255 0 'historical alias for stddev_samp' )
+insert ( 2156 1255 0 'historical alias for stddev_samp' )
+insert ( 2157 1255 0 'historical alias for stddev_samp' )
+insert ( 2158 1255 0 'historical alias for stddev_samp' )
+insert ( 2159 1255 0 'historical alias for stddev_samp' )
+insert ( 2818 1255 0 'number of input rows in which both expressions are not null' )
+insert ( 2819 1255 0 'sum of squares of the independent variable (sum(X^2) - sum(X)^2/N)' )
+insert ( 2820 1255 0 'sum of squares of the dependent variable (sum(Y^2) - sum(Y)^2/N)' )
+insert ( 2821 1255 0 'sum of products of independent times dependent variable (sum(X*Y) - sum(X) * sum(Y)/N)' )
+insert ( 2822 1255 0 'average of the independent variable (sum(X)/N)' )
+insert ( 2823 1255 0 'average of the dependent variable (sum(Y)/N)' )
+insert ( 2824 1255 0 'square of the correlation coefficient' )
+insert ( 2825 1255 0 'slope of the least-squares-fit linear equation determined by the (X, Y) pairs' )
+insert ( 2826 1255 0 'y-intercept of the least-squares-fit linear equation determined by the (X, Y) pairs' )
+insert ( 2827 1255 0 'population covariance' )
+insert ( 2828 1255 0 'sample covariance' )
+insert ( 2829 1255 0 'correlation coefficient' )
+insert ( 2166 1255 0 less-equal-greater )
+insert ( 3332 1255 0 'sort support' )
+insert ( 2180 1255 0 less-equal-greater )
+insert ( 3333 1255 0 'sort support' )
+insert ( 2188 1255 0 less-equal-greater )
+insert ( 2189 1255 0 less-equal-greater )
+insert ( 2190 1255 0 less-equal-greater )
+insert ( 2191 1255 0 less-equal-greater )
+insert ( 2192 1255 0 less-equal-greater )
+insert ( 2193 1255 0 less-equal-greater )
+insert ( 2194 1255 0 less-equal-greater )
+insert ( 2195 1255 0 less-equal-greater )
+insert ( 2212 1255 0 'I/O' )
+insert ( 2213 1255 0 'I/O' )
+insert ( 2214 1255 0 'I/O' )
+insert ( 2215 1255 0 'I/O' )
+insert ( 3492 1255 0 'convert operator name to regoper' )
+insert ( 3476 1255 0 'convert operator name to regoperator' )
+insert ( 2216 1255 0 'I/O' )
+insert ( 2217 1255 0 'I/O' )
+insert ( 2218 1255 0 'I/O' )
+insert ( 2219 1255 0 'I/O' )
+insert ( 3495 1255 0 'convert classname to regclass' )
+insert ( 4193 1255 0 'I/O' )
+insert ( 4194 1255 0 'I/O' )
+insert ( 4195 1255 0 'convert classname to regcollation' )
+insert ( 2220 1255 0 'I/O' )
+insert ( 2221 1255 0 'I/O' )
+insert ( 3493 1255 0 'convert type name to regtype' )
+insert ( 1079 1255 0 'convert text to regclass' )
+insert ( 4098 1255 0 'I/O' )
+insert ( 4092 1255 0 'I/O' )
+insert ( 4093 1255 0 'convert role name to regrole' )
+insert ( 4084 1255 0 'I/O' )
+insert ( 4085 1255 0 'I/O' )
+insert ( 4086 1255 0 'convert namespace name to regnamespace' )
+insert ( 6210 1255 0 'test whether string is valid input for data type' )
+insert ( 6211 1255 0 'get error details if string is not valid input for data type' )
+insert ( 1268 1255 0 'parse qualified identifier to array of identifiers' )
+insert ( 2246 1255 0 '(internal)' )
+insert ( 2247 1255 0 '(internal)' )
+insert ( 2248 1255 0 '(internal)' )
+insert ( 2250 1255 0 'user privilege on database by username, database name' )
+insert ( 2251 1255 0 'user privilege on database by username, database oid' )
+insert ( 2252 1255 0 'user privilege on database by user oid, database name' )
+insert ( 2253 1255 0 'user privilege on database by user oid, database oid' )
+insert ( 2254 1255 0 'current user privilege on database by database name' )
+insert ( 2255 1255 0 'current user privilege on database by database oid' )
+insert ( 2256 1255 0 'user privilege on function by username, function name' )
+insert ( 2257 1255 0 'user privilege on function by username, function oid' )
+insert ( 2258 1255 0 'user privilege on function by user oid, function name' )
+insert ( 2259 1255 0 'user privilege on function by user oid, function oid' )
+insert ( 2260 1255 0 'current user privilege on function by function name' )
+insert ( 2261 1255 0 'current user privilege on function by function oid' )
+insert ( 2262 1255 0 'user privilege on language by username, language name' )
+insert ( 2263 1255 0 'user privilege on language by username, language oid' )
+insert ( 2264 1255 0 'user privilege on language by user oid, language name' )
+insert ( 2265 1255 0 'user privilege on language by user oid, language oid' )
+insert ( 2266 1255 0 'current user privilege on language by language name' )
+insert ( 2267 1255 0 'current user privilege on language by language oid' )
+insert ( 2268 1255 0 'user privilege on schema by username, schema name' )
+insert ( 2269 1255 0 'user privilege on schema by username, schema oid' )
+insert ( 2270 1255 0 'user privilege on schema by user oid, schema name' )
+insert ( 2271 1255 0 'user privilege on schema by user oid, schema oid' )
+insert ( 2272 1255 0 'current user privilege on schema by schema name' )
+insert ( 2273 1255 0 'current user privilege on schema by schema oid' )
+insert ( 2390 1255 0 'user privilege on tablespace by username, tablespace name' )
+insert ( 2391 1255 0 'user privilege on tablespace by username, tablespace oid' )
+insert ( 2392 1255 0 'user privilege on tablespace by user oid, tablespace name' )
+insert ( 2393 1255 0 'user privilege on tablespace by user oid, tablespace oid' )
+insert ( 2394 1255 0 'current user privilege on tablespace by tablespace name' )
+insert ( 2395 1255 0 'current user privilege on tablespace by tablespace oid' )
+insert ( 3000 1255 0 'user privilege on foreign data wrapper by username, foreign data wrapper name' )
+insert ( 3001 1255 0 'user privilege on foreign data wrapper by username, foreign data wrapper oid' )
+insert ( 3002 1255 0 'user privilege on foreign data wrapper by user oid, foreign data wrapper name' )
+insert ( 3003 1255 0 'user privilege on foreign data wrapper by user oid, foreign data wrapper oid' )
+insert ( 3004 1255 0 'current user privilege on foreign data wrapper by foreign data wrapper name' )
+insert ( 3005 1255 0 'current user privilege on foreign data wrapper by foreign data wrapper oid' )
+insert ( 3006 1255 0 'user privilege on server by username, server name' )
+insert ( 3007 1255 0 'user privilege on server by username, server oid' )
+insert ( 3008 1255 0 'user privilege on server by user oid, server name' )
+insert ( 3009 1255 0 'user privilege on server by user oid, server oid' )
+insert ( 3010 1255 0 'current user privilege on server by server name' )
+insert ( 3011 1255 0 'current user privilege on server by server oid' )
+insert ( 3138 1255 0 'user privilege on type by username, type name' )
+insert ( 3139 1255 0 'user privilege on type by username, type oid' )
+insert ( 3140 1255 0 'user privilege on type by user oid, type name' )
+insert ( 3141 1255 0 'user privilege on type by user oid, type oid' )
+insert ( 3142 1255 0 'current user privilege on type by type name' )
+insert ( 3143 1255 0 'current user privilege on type by type oid' )
+insert ( 6205 1255 0 'user privilege on parameter by username, parameter name' )
+insert ( 6206 1255 0 'user privilege on parameter by user oid, parameter name' )
+insert ( 6207 1255 0 'current user privilege on parameter by parameter name' )
+insert ( 2705 1255 0 'user privilege on role by username, role name' )
+insert ( 2706 1255 0 'user privilege on role by username, role oid' )
+insert ( 2707 1255 0 'user privilege on role by user oid, role name' )
+insert ( 2708 1255 0 'user privilege on role by user oid, role oid' )
+insert ( 2709 1255 0 'current user privilege on role by role name' )
+insert ( 2710 1255 0 'current user privilege on role by role oid' )
+insert ( 1269 1255 0 'bytes required to store the value, perhaps with compression' )
+insert ( 2121 1255 0 'compression method for the compressed datum' )
+insert ( 2322 1255 0 'total disk space usage for the specified tablespace' )
+insert ( 2323 1255 0 'total disk space usage for the specified tablespace' )
+insert ( 2324 1255 0 'total disk space usage for the specified database' )
+insert ( 2168 1255 0 'total disk space usage for the specified database' )
+insert ( 2325 1255 0 'disk space usage for the main fork of the specified table or index' )
+insert ( 2332 1255 0 'disk space usage for the specified fork of a table or index' )
+insert ( 2286 1255 0 'total disk space usage for the specified table and associated indexes' )
+insert ( 2288 1255 0 'convert a long int to a human readable text using size units' )
+insert ( 3166 1255 0 'convert a numeric to a human readable text using size units' )
+insert ( 3334 1255 0 'convert a size in human-readable format with size units into bytes' )
+insert ( 2997 1255 0 'disk space usage for the specified table, including TOAST, free space and visibility map' )
+insert ( 2998 1255 0 'disk space usage for all indexes attached to the specified table' )
+insert ( 2999 1255 0 'filenode identifier of relation' )
+insert ( 3454 1255 0 'relation OID for filenode and tablespace' )
+insert ( 3034 1255 0 'file path of relation' )
+insert ( 2316 1255 0 '(internal)' )
+insert ( 2290 1255 0 'I/O' )
+insert ( 2291 1255 0 'I/O' )
+insert ( 2292 1255 0 'I/O' )
+insert ( 2293 1255 0 'I/O' )
+insert ( 2294 1255 0 'I/O' )
+insert ( 2295 1255 0 'I/O' )
+insert ( 2296 1255 0 'I/O' )
+insert ( 2297 1255 0 'I/O' )
+insert ( 2298 1255 0 'I/O' )
+insert ( 2299 1255 0 'I/O' )
+insert ( 2300 1255 0 'I/O' )
+insert ( 2301 1255 0 'I/O' )
+insert ( 3594 1255 0 'I/O' )
+insert ( 3595 1255 0 'I/O' )
+insert ( 2302 1255 0 'I/O' )
+insert ( 2303 1255 0 'I/O' )
+insert ( 2304 1255 0 'I/O' )
+insert ( 2305 1255 0 'I/O' )
+insert ( 2312 1255 0 'I/O' )
+insert ( 2313 1255 0 'I/O' )
+insert ( 2398 1255 0 'I/O' )
+insert ( 2399 1255 0 'I/O' )
+insert ( 2597 1255 0 'I/O' )
+insert ( 2598 1255 0 'I/O' )
+insert ( 2777 1255 0 'I/O' )
+insert ( 2778 1255 0 'I/O' )
+insert ( 3116 1255 0 'I/O' )
+insert ( 3117 1255 0 'I/O' )
+insert ( 326 1255 0 'I/O' )
+insert ( 327 1255 0 'I/O' )
+insert ( 3311 1255 0 'I/O' )
+insert ( 3312 1255 0 'I/O' )
+insert ( 267 1255 0 'I/O' )
+insert ( 268 1255 0 'I/O' )
+insert ( 5086 1255 0 'I/O' )
+insert ( 5087 1255 0 'I/O' )
+insert ( 5088 1255 0 'I/O' )
+insert ( 5089 1255 0 'I/O' )
+insert ( 5090 1255 0 'I/O' )
+insert ( 5091 1255 0 'I/O' )
+insert ( 5092 1255 0 'I/O' )
+insert ( 5093 1255 0 'I/O' )
+insert ( 5094 1255 0 'I/O' )
+insert ( 5095 1255 0 'I/O' )
+insert ( 4226 1255 0 'I/O' )
+insert ( 4227 1255 0 'I/O' )
+insert ( 3313 1255 0 'BERNOULLI tablesample method handler' )
+insert ( 3314 1255 0 'SYSTEM tablesample method handler' )
+insert ( 2311 1255 0 'MD5 hash' )
+insert ( 2321 1255 0 'MD5 hash' )
+insert ( 3419 1255 0 'SHA-224 hash' )
+insert ( 3420 1255 0 'SHA-256 hash' )
+insert ( 3421 1255 0 'SHA-384 hash' )
+insert ( 3422 1255 0 'SHA-512 hash' )
+insert ( 2344 1255 0 less-equal-greater )
+insert ( 2357 1255 0 less-equal-greater )
+insert ( 2370 1255 0 less-equal-greater )
+insert ( 2383 1255 0 less-equal-greater )
+insert ( 2526 1255 0 less-equal-greater )
+insert ( 2533 1255 0 less-equal-greater )
+insert ( 2400 1255 0 'I/O' )
+insert ( 2401 1255 0 'I/O' )
+insert ( 2402 1255 0 'I/O' )
+insert ( 2403 1255 0 'I/O' )
+insert ( 2404 1255 0 'I/O' )
+insert ( 2405 1255 0 'I/O' )
+insert ( 2406 1255 0 'I/O' )
+insert ( 2407 1255 0 'I/O' )
+insert ( 2408 1255 0 'I/O' )
+insert ( 2409 1255 0 'I/O' )
+insert ( 2410 1255 0 'I/O' )
+insert ( 2411 1255 0 'I/O' )
+insert ( 2412 1255 0 'I/O' )
+insert ( 2413 1255 0 'I/O' )
+insert ( 2414 1255 0 'I/O' )
+insert ( 2415 1255 0 'I/O' )
+insert ( 2416 1255 0 'I/O' )
+insert ( 2417 1255 0 'I/O' )
+insert ( 2418 1255 0 'I/O' )
+insert ( 2419 1255 0 'I/O' )
+insert ( 2420 1255 0 'I/O' )
+insert ( 2421 1255 0 'I/O' )
+insert ( 2422 1255 0 'I/O' )
+insert ( 2423 1255 0 'I/O' )
+insert ( 2424 1255 0 'I/O' )
+insert ( 2425 1255 0 'I/O' )
+insert ( 2426 1255 0 'I/O' )
+insert ( 2427 1255 0 'I/O' )
+insert ( 2428 1255 0 'I/O' )
+insert ( 2429 1255 0 'I/O' )
+insert ( 2430 1255 0 'I/O' )
+insert ( 2431 1255 0 'I/O' )
+insert ( 2432 1255 0 'I/O' )
+insert ( 2433 1255 0 'I/O' )
+insert ( 2434 1255 0 'I/O' )
+insert ( 2435 1255 0 'I/O' )
+insert ( 2436 1255 0 'I/O' )
+insert ( 2437 1255 0 'I/O' )
+insert ( 2438 1255 0 'I/O' )
+insert ( 2439 1255 0 'I/O' )
+insert ( 2440 1255 0 'I/O' )
+insert ( 2441 1255 0 'I/O' )
+insert ( 2442 1255 0 'I/O' )
+insert ( 2443 1255 0 'I/O' )
+insert ( 2444 1255 0 'I/O' )
+insert ( 2445 1255 0 'I/O' )
+insert ( 2446 1255 0 'I/O' )
+insert ( 2447 1255 0 'I/O' )
+insert ( 2448 1255 0 'I/O' )
+insert ( 2449 1255 0 'I/O' )
+insert ( 2450 1255 0 'I/O' )
+insert ( 2451 1255 0 'I/O' )
+insert ( 2452 1255 0 'I/O' )
+insert ( 2453 1255 0 'I/O' )
+insert ( 4196 1255 0 'I/O' )
+insert ( 4197 1255 0 'I/O' )
+insert ( 2454 1255 0 'I/O' )
+insert ( 2455 1255 0 'I/O' )
+insert ( 4094 1255 0 'I/O' )
+insert ( 4095 1255 0 'I/O' )
+insert ( 4087 1255 0 'I/O' )
+insert ( 4088 1255 0 'I/O' )
+insert ( 2456 1255 0 'I/O' )
+insert ( 2457 1255 0 'I/O' )
+insert ( 2458 1255 0 'I/O' )
+insert ( 2459 1255 0 'I/O' )
+insert ( 2460 1255 0 'I/O' )
+insert ( 2461 1255 0 'I/O' )
+insert ( 2468 1255 0 'I/O' )
+insert ( 2469 1255 0 'I/O' )
+insert ( 2470 1255 0 'I/O' )
+insert ( 2471 1255 0 'I/O' )
+insert ( 2472 1255 0 'I/O' )
+insert ( 2473 1255 0 'I/O' )
+insert ( 2474 1255 0 'I/O' )
+insert ( 2475 1255 0 'I/O' )
+insert ( 2476 1255 0 'I/O' )
+insert ( 2477 1255 0 'I/O' )
+insert ( 2478 1255 0 'I/O' )
+insert ( 2479 1255 0 'I/O' )
+insert ( 2480 1255 0 'I/O' )
+insert ( 2481 1255 0 'I/O' )
+insert ( 2482 1255 0 'I/O' )
+insert ( 2483 1255 0 'I/O' )
+insert ( 2484 1255 0 'I/O' )
+insert ( 2485 1255 0 'I/O' )
+insert ( 2486 1255 0 'I/O' )
+insert ( 2487 1255 0 'I/O' )
+insert ( 2488 1255 0 'I/O' )
+insert ( 2489 1255 0 'I/O' )
+insert ( 2490 1255 0 'I/O' )
+insert ( 2491 1255 0 'I/O' )
+insert ( 2492 1255 0 'I/O' )
+insert ( 2493 1255 0 'I/O' )
+insert ( 2494 1255 0 'I/O' )
+insert ( 2495 1255 0 'I/O' )
+insert ( 2496 1255 0 'I/O' )
+insert ( 2497 1255 0 'I/O' )
+insert ( 2498 1255 0 'I/O' )
+insert ( 2499 1255 0 'I/O' )
+insert ( 2500 1255 0 'I/O' )
+insert ( 2501 1255 0 'I/O' )
+insert ( 2502 1255 0 'I/O' )
+insert ( 2503 1255 0 'I/O' )
+insert ( 3120 1255 0 'I/O' )
+insert ( 3121 1255 0 'I/O' )
+insert ( 3446 1255 0 'I/O' )
+insert ( 3447 1255 0 'I/O' )
+insert ( 2504 1255 0 'source text of a rule with pretty-print option' )
+insert ( 2505 1255 0 'select statement of a view with pretty-print option' )
+insert ( 2506 1255 0 'select statement of a view with pretty-print option' )
+insert ( 3159 1255 0 'select statement of a view with pretty-printing and specified line wrapping' )
+insert ( 2507 1255 0 'index description (full create statement or single expression) with pretty-print option' )
+insert ( 2508 1255 0 'constraint description with pretty-print option' )
+insert ( 2509 1255 0 'deparse an encoded expression with pretty-print option' )
+insert ( 2510 1255 0 'get the prepared statements for this session' )
+insert ( 2511 1255 0 'get the open cursors for this session' )
+insert ( 2599 1255 0 'get the available time zone abbreviations' )
+insert ( 2856 1255 0 'get the available time zone names' )
+insert ( 2730 1255 0 'trigger description with pretty-print option' )
+insert ( 3035 1255 0 'get the channels that the current backend listens to' )
+insert ( 3036 1255 0 'send a notification event' )
+insert ( 3296 1255 0 'get the fraction of the asynchronous notification queue currently in use' )
+insert ( 5052 1255 0 'allocations from the main shared memory segment' )
+insert ( 2282 1255 0 'information about all memory contexts of local backend' )
+insert ( 4543 1255 0 'log memory contexts of the specified backend' )
+insert ( 1066 1255 0 'non-persistent series generator' )
+insert ( 1067 1255 0 'non-persistent series generator' )
+insert ( 3994 1255 0 'planner support for generate_series' )
+insert ( 1068 1255 0 'non-persistent series generator' )
+insert ( 1069 1255 0 'non-persistent series generator' )
+insert ( 3995 1255 0 'planner support for generate_series' )
+insert ( 3259 1255 0 'non-persistent series generator' )
+insert ( 3260 1255 0 'non-persistent series generator' )
+insert ( 938 1255 0 'non-persistent series generator' )
+insert ( 939 1255 0 'non-persistent series generator' )
+insert ( 6274 1255 0 'non-persistent series generator' )
+insert ( 2515 1255 0 'aggregate transition function' )
+insert ( 2516 1255 0 'aggregate transition function' )
+insert ( 3496 1255 0 'aggregate transition function' )
+insert ( 3497 1255 0 'aggregate transition function' )
+insert ( 3498 1255 0 'aggregate final function' )
+insert ( 3499 1255 0 'aggregate final function' )
+insert ( 2517 1255 0 'boolean-and aggregate' )
+insert ( 2518 1255 0 'boolean-or aggregate' )
+insert ( 2519 1255 0 'boolean-and aggregate' )
+insert ( 2236 1255 0 'bitwise-and smallint aggregate' )
+insert ( 2237 1255 0 'bitwise-or smallint aggregate' )
+insert ( 6164 1255 0 'bitwise-xor smallint aggregate' )
+insert ( 2238 1255 0 'bitwise-and integer aggregate' )
+insert ( 2239 1255 0 'bitwise-or integer aggregate' )
+insert ( 6165 1255 0 'bitwise-xor integer aggregate' )
+insert ( 2240 1255 0 'bitwise-and bigint aggregate' )
+insert ( 2241 1255 0 'bitwise-or bigint aggregate' )
+insert ( 6166 1255 0 'bitwise-xor bigint aggregate' )
+insert ( 2242 1255 0 'bitwise-and bit aggregate' )
+insert ( 2243 1255 0 'bitwise-or bit aggregate' )
+insert ( 6167 1255 0 'bitwise-xor bit aggregate' )
+insert ( 2556 1255 0 'get OIDs of databases in a tablespace' )
+insert ( 2557 1255 0 'convert int4 to boolean' )
+insert ( 2558 1255 0 'convert boolean to int4' )
+insert ( 2559 1255 0 'current value from last used sequence' )
+insert ( 2560 1255 0 'postmaster start time' )
+insert ( 2034 1255 0 'configuration load time' )
+insert ( 2578 1255 0 'GiST support' )
+insert ( 2581 1255 0 'GiST support' )
+insert ( 2582 1255 0 'GiST support' )
+insert ( 2583 1255 0 'GiST support' )
+insert ( 2584 1255 0 'GiST support' )
+insert ( 3998 1255 0 'GiST support' )
+insert ( 2585 1255 0 'GiST support' )
+insert ( 2586 1255 0 'GiST support' )
+insert ( 2591 1255 0 'GiST support' )
+insert ( 2592 1255 0 'GiST support' )
+insert ( 1030 1255 0 'GiST support' )
+insert ( 3282 1255 0 'GiST support' )
+insert ( 2179 1255 0 'GiST support' )
+insert ( 3064 1255 0 'GiST support' )
+insert ( 3280 1255 0 'GiST support' )
+insert ( 3288 1255 0 'GiST support' )
+insert ( 3435 1255 0 'sort support' )
+insert ( 2743 1255 0 'GIN array support' )
+insert ( 2774 1255 0 'GIN array support' )
+insert ( 2744 1255 0 'GIN array support' )
+insert ( 3920 1255 0 'GIN array support' )
+insert ( 3076 1255 0 'GIN array support (obsolete)' )
+insert ( 3383 1255 0 'BRIN minmax support' )
+insert ( 3384 1255 0 'BRIN minmax support' )
+insert ( 3385 1255 0 'BRIN minmax support' )
+insert ( 3386 1255 0 'BRIN minmax support' )
+insert ( 4616 1255 0 'BRIN multi minmax support' )
+insert ( 4617 1255 0 'BRIN multi minmax support' )
+insert ( 4618 1255 0 'BRIN multi minmax support' )
+insert ( 4619 1255 0 'BRIN multi minmax support' )
+insert ( 4620 1255 0 'BRIN multi minmax support' )
+insert ( 4621 1255 0 'BRIN multi minmax int2 distance' )
+insert ( 4622 1255 0 'BRIN multi minmax int4 distance' )
+insert ( 4623 1255 0 'BRIN multi minmax int8 distance' )
+insert ( 4624 1255 0 'BRIN multi minmax float4 distance' )
+insert ( 4625 1255 0 'BRIN multi minmax float8 distance' )
+insert ( 4626 1255 0 'BRIN multi minmax numeric distance' )
+insert ( 4627 1255 0 'BRIN multi minmax tid distance' )
+insert ( 4628 1255 0 'BRIN multi minmax uuid distance' )
+insert ( 4629 1255 0 'BRIN multi minmax date distance' )
+insert ( 4630 1255 0 'BRIN multi minmax time distance' )
+insert ( 4631 1255 0 'BRIN multi minmax interval distance' )
+insert ( 4632 1255 0 'BRIN multi minmax timetz distance' )
+insert ( 4633 1255 0 'BRIN multi minmax pg_lsn distance' )
+insert ( 4634 1255 0 'BRIN multi minmax macaddr distance' )
+insert ( 4635 1255 0 'BRIN multi minmax macaddr8 distance' )
+insert ( 4636 1255 0 'BRIN multi minmax inet distance' )
+insert ( 4637 1255 0 'BRIN multi minmax timestamp distance' )
+insert ( 4105 1255 0 'BRIN inclusion support' )
+insert ( 4106 1255 0 'BRIN inclusion support' )
+insert ( 4107 1255 0 'BRIN inclusion support' )
+insert ( 4108 1255 0 'BRIN inclusion support' )
+insert ( 4591 1255 0 'BRIN bloom support' )
+insert ( 4592 1255 0 'BRIN bloom support' )
+insert ( 4593 1255 0 'BRIN bloom support' )
+insert ( 4594 1255 0 'BRIN bloom support' )
+insert ( 4595 1255 0 'BRIN bloom support' )
+insert ( 2880 1255 0 'obtain exclusive advisory lock' )
+insert ( 3089 1255 0 'obtain exclusive advisory lock' )
+insert ( 2881 1255 0 'obtain shared advisory lock' )
+insert ( 3090 1255 0 'obtain shared advisory lock' )
+insert ( 2882 1255 0 'obtain exclusive advisory lock if available' )
+insert ( 3091 1255 0 'obtain exclusive advisory lock if available' )
+insert ( 2883 1255 0 'obtain shared advisory lock if available' )
+insert ( 3092 1255 0 'obtain shared advisory lock if available' )
+insert ( 2884 1255 0 'release exclusive advisory lock' )
+insert ( 2885 1255 0 'release shared advisory lock' )
+insert ( 2886 1255 0 'obtain exclusive advisory lock' )
+insert ( 3093 1255 0 'obtain exclusive advisory lock' )
+insert ( 2887 1255 0 'obtain shared advisory lock' )
+insert ( 3094 1255 0 'obtain shared advisory lock' )
+insert ( 2888 1255 0 'obtain exclusive advisory lock if available' )
+insert ( 3095 1255 0 'obtain exclusive advisory lock if available' )
+insert ( 2889 1255 0 'obtain shared advisory lock if available' )
+insert ( 3096 1255 0 'obtain shared advisory lock if available' )
+insert ( 2890 1255 0 'release exclusive advisory lock' )
+insert ( 2891 1255 0 'release shared advisory lock' )
+insert ( 2892 1255 0 'release all advisory locks' )
+insert ( 2893 1255 0 'I/O' )
+insert ( 2894 1255 0 'I/O' )
+insert ( 2895 1255 0 'generate XML comment' )
+insert ( 2896 1255 0 'perform a non-validating parse of a character string to produce an XML value' )
+insert ( 2897 1255 0 'validate an XML value' )
+insert ( 2898 1255 0 'I/O' )
+insert ( 2899 1255 0 'I/O' )
+insert ( 2900 1255 0 'aggregate transition function' )
+insert ( 2901 1255 0 'concatenate XML values' )
+insert ( 2922 1255 0 'serialize an XML value to a character string' )
+insert ( 2923 1255 0 'map table contents to XML' )
+insert ( 2924 1255 0 'map query result to XML' )
+insert ( 2925 1255 0 'map rows from cursor to XML' )
+insert ( 2926 1255 0 'map table structure to XML Schema' )
+insert ( 2927 1255 0 'map query result structure to XML Schema' )
+insert ( 2928 1255 0 'map cursor structure to XML Schema' )
+insert ( 2929 1255 0 'map table contents and structure to XML and XML Schema' )
+insert ( 2930 1255 0 'map query result and structure to XML and XML Schema' )
+insert ( 2933 1255 0 'map schema contents to XML' )
+insert ( 2934 1255 0 'map schema structure to XML Schema' )
+insert ( 2935 1255 0 'map schema contents and structure to XML and XML Schema' )
+insert ( 2936 1255 0 'map database contents to XML' )
+insert ( 2937 1255 0 'map database structure to XML Schema' )
+insert ( 2938 1255 0 'map database contents and structure to XML and XML Schema' )
+insert ( 2931 1255 0 'evaluate XPath expression, with namespaces support' )
+insert ( 2932 1255 0 'evaluate XPath expression' )
+insert ( 2614 1255 0 'test XML value against XPath expression' )
+insert ( 3049 1255 0 'test XML value against XPath expression, with namespace support' )
+insert ( 3050 1255 0 'test XML value against XPath expression' )
+insert ( 3051 1255 0 'determine if a string is well formed XML' )
+insert ( 3052 1255 0 'determine if a string is well formed XML document' )
+insert ( 3053 1255 0 'determine if a string is well formed XML content' )
+insert ( 321 1255 0 'I/O' )
+insert ( 322 1255 0 'I/O' )
+insert ( 323 1255 0 'I/O' )
+insert ( 324 1255 0 'I/O' )
+insert ( 3153 1255 0 'map array to json' )
+insert ( 3154 1255 0 'map array to json with optional pretty printing' )
+insert ( 3155 1255 0 'map row to json' )
+insert ( 3156 1255 0 'map row to json with optional pretty printing' )
+insert ( 3173 1255 0 'json aggregate transition function' )
+insert ( 6275 1255 0 'json aggregate transition function' )
+insert ( 3174 1255 0 'json aggregate final function' )
+insert ( 3175 1255 0 'aggregate input into json' )
+insert ( 6276 1255 0 'aggregate input into json' )
+insert ( 3180 1255 0 'json object aggregate transition function' )
+insert ( 6277 1255 0 'json object aggregate transition function' )
+insert ( 6278 1255 0 'json object aggregate transition function' )
+insert ( 6279 1255 0 'json object aggregate transition function' )
+insert ( 3196 1255 0 'json object aggregate final function' )
+insert ( 3197 1255 0 'aggregate input into a json object' )
+insert ( 6280 1255 0 'aggregate non-NULL input into a json object' )
+insert ( 6281 1255 0 'aggregate input into a json object with unique keys' )
+insert ( 6282 1255 0 'aggregate non-NULL input into a json object with unique keys' )
+insert ( 3198 1255 0 'build a json array from any inputs' )
+insert ( 3199 1255 0 'build an empty json array' )
+insert ( 3200 1255 0 'build a json object from pairwise key/value inputs' )
+insert ( 3201 1255 0 'build an empty json object' )
+insert ( 3202 1255 0 'map text array of key value pairs to json object' )
+insert ( 3203 1255 0 'map text arrays of keys and values to json object' )
+insert ( 3176 1255 0 'map input to json' )
+insert ( 3261 1255 0 'remove object fields with null values from json' )
+insert ( 3951 1255 0 'get value from json with path elements' )
+insert ( 3953 1255 0 'get value from json as text with path elements' )
+insert ( 3955 1255 0 'key value pairs of a json object' )
+insert ( 3969 1255 0 'elements of json array' )
+insert ( 3956 1255 0 'length of json array' )
+insert ( 3957 1255 0 'get json object keys' )
+insert ( 3958 1255 0 'key value pairs of a json object' )
+insert ( 3959 1255 0 'key value pairs of a json object' )
+insert ( 3960 1255 0 'get record fields from a json object' )
+insert ( 3961 1255 0 'get set of records with fields from a json array of objects' )
+insert ( 3204 1255 0 'get record fields from a json object' )
+insert ( 3205 1255 0 'get set of records with fields from a json array of objects' )
+insert ( 3968 1255 0 'get the type of a json value' )
+insert ( 2952 1255 0 'I/O' )
+insert ( 2953 1255 0 'I/O' )
+insert ( 2960 1255 0 less-equal-greater )
+insert ( 3300 1255 0 'sort support' )
+insert ( 2961 1255 0 'I/O' )
+insert ( 2962 1255 0 'I/O' )
+insert ( 2963 1255 0 hash )
+insert ( 3412 1255 0 hash )
+insert ( 3432 1255 0 'generate random UUID' )
+insert ( 3229 1255 0 'I/O' )
+insert ( 3230 1255 0 'I/O' )
+insert ( 3238 1255 0 'I/O' )
+insert ( 3239 1255 0 'I/O' )
+insert ( 3251 1255 0 less-equal-greater )
+insert ( 3252 1255 0 hash )
+insert ( 3413 1255 0 hash )
+insert ( 4187 1255 0 'larger of two' )
+insert ( 4188 1255 0 'smaller of two' )
+insert ( 3504 1255 0 'I/O' )
+insert ( 3505 1255 0 'I/O' )
+insert ( 3506 1255 0 'I/O' )
+insert ( 3507 1255 0 'I/O' )
+insert ( 3514 1255 0 less-equal-greater )
+insert ( 3515 1255 0 hash )
+insert ( 3414 1255 0 hash )
+insert ( 3524 1255 0 'smaller of two' )
+insert ( 3525 1255 0 'larger of two' )
+insert ( 3526 1255 0 'maximum value of all enum input values' )
+insert ( 3527 1255 0 'minimum value of all enum input values' )
+insert ( 3528 1255 0 'first value of the input enum type' )
+insert ( 3529 1255 0 'last value of the input enum type' )
+insert ( 3530 1255 0 'range between the two given enum values, as an ordered array' )
+insert ( 3531 1255 0 'range of the given enum type, as an ordered array' )
+insert ( 3532 1255 0 'I/O' )
+insert ( 3533 1255 0 'I/O' )
+insert ( 3610 1255 0 'I/O' )
+insert ( 3639 1255 0 'I/O' )
+insert ( 3611 1255 0 'I/O' )
+insert ( 3638 1255 0 'I/O' )
+insert ( 3612 1255 0 'I/O' )
+insert ( 3641 1255 0 'I/O' )
+insert ( 3613 1255 0 'I/O' )
+insert ( 3640 1255 0 'I/O' )
+insert ( 3646 1255 0 'I/O' )
+insert ( 3647 1255 0 'I/O' )
+insert ( 3622 1255 0 less-equal-greater )
+insert ( 3711 1255 0 'number of lexemes' )
+insert ( 3623 1255 0 'strip position information' )
+insert ( 3624 1255 0 'set given weight for whole tsvector' )
+insert ( 3320 1255 0 'set given weight for given lexemes' )
+insert ( 3321 1255 0 'delete lexeme' )
+insert ( 3323 1255 0 'delete given lexemes' )
+insert ( 3322 1255 0 'expand tsvector to set of rows' )
+insert ( 3326 1255 0 'convert tsvector to array of lexemes' )
+insert ( 3327 1255 0 'build tsvector from array of lexemes' )
+insert ( 3319 1255 0 'delete lexemes that do not have one of the given weights' )
+insert ( 3648 1255 0 'GiST tsvector support' )
+insert ( 3649 1255 0 'GiST tsvector support' )
+insert ( 3650 1255 0 'GiST tsvector support' )
+insert ( 3651 1255 0 'GiST tsvector support' )
+insert ( 3652 1255 0 'GiST tsvector support' )
+insert ( 3653 1255 0 'GiST tsvector support' )
+insert ( 3654 1255 0 'GiST tsvector support' )
+insert ( 3790 1255 0 'GiST tsvector support (obsolete)' )
+insert ( 3434 1255 0 'GiST tsvector support' )
+insert ( 3656 1255 0 'GIN tsvector support' )
+insert ( 3657 1255 0 'GIN tsvector support' )
+insert ( 3658 1255 0 'GIN tsvector support' )
+insert ( 3921 1255 0 'GIN tsvector support' )
+insert ( 3724 1255 0 'GIN tsvector support' )
+insert ( 2700 1255 0 'GIN tsvector support' )
+insert ( 3077 1255 0 'GIN tsvector support (obsolete)' )
+insert ( 3087 1255 0 'GIN tsvector support (obsolete)' )
+insert ( 3088 1255 0 'GIN tsvector support (obsolete)' )
+insert ( 3791 1255 0 'GIN tsvector support (obsolete)' )
+insert ( 3792 1255 0 'GIN tsvector support (obsolete)' )
+insert ( 3789 1255 0 'clean up GIN pending list' )
+insert ( 3668 1255 0 less-equal-greater )
+insert ( 5004 1255 0 'phrase-concatenate with distance' )
+insert ( 3672 1255 0 'number of nodes' )
+insert ( 3673 1255 0 'show real useful query for GiST index' )
+insert ( 3684 1255 0 'rewrite tsquery' )
+insert ( 3685 1255 0 'rewrite tsquery' )
+insert ( 3695 1255 0 'GiST tsquery support' )
+insert ( 3697 1255 0 'GiST tsquery support' )
+insert ( 3698 1255 0 'GiST tsquery support' )
+insert ( 3699 1255 0 'GiST tsquery support' )
+insert ( 3700 1255 0 'GiST tsquery support' )
+insert ( 3701 1255 0 'GiST tsquery support' )
+insert ( 3793 1255 0 'GiST tsquery support (obsolete)' )
+insert ( 3686 1255 0 'restriction selectivity of tsvector @@ tsquery' )
+insert ( 3687 1255 0 'join selectivity of tsvector @@ tsquery' )
+insert ( 3688 1255 0 'tsvector typanalyze' )
+insert ( 3689 1255 0 'statistics of tsvector column' )
+insert ( 3690 1255 0 'statistics of tsvector column' )
+insert ( 3703 1255 0 relevance )
+insert ( 3704 1255 0 relevance )
+insert ( 3705 1255 0 relevance )
+insert ( 3706 1255 0 relevance )
+insert ( 3707 1255 0 relevance )
+insert ( 3708 1255 0 relevance )
+insert ( 3709 1255 0 relevance )
+insert ( 3710 1255 0 relevance )
+insert ( 3713 1255 0 'get parser''s token types' )
+insert ( 3714 1255 0 'get parser''s token types' )
+insert ( 3715 1255 0 'parse text to tokens' )
+insert ( 3716 1255 0 'parse text to tokens' )
+insert ( 3717 1255 0 '(internal)' )
+insert ( 3718 1255 0 '(internal)' )
+insert ( 3719 1255 0 '(internal)' )
+insert ( 3720 1255 0 '(internal)' )
+insert ( 3721 1255 0 '(internal)' )
+insert ( 3723 1255 0 'normalize one word by dictionary' )
+insert ( 6183 1255 0 'debug function for text search configuration' )
+insert ( 6184 1255 0 'debug function for current text search configuration' )
+insert ( 3725 1255 0 '(internal)' )
+insert ( 3726 1255 0 '(internal)' )
+insert ( 3728 1255 0 '(internal)' )
+insert ( 3729 1255 0 '(internal)' )
+insert ( 3731 1255 0 '(internal)' )
+insert ( 3732 1255 0 '(internal)' )
+insert ( 3740 1255 0 '(internal)' )
+insert ( 3741 1255 0 '(internal)' )
+insert ( 3743 1255 0 'generate headline' )
+insert ( 3744 1255 0 'generate headline' )
+insert ( 3754 1255 0 'generate headline' )
+insert ( 3755 1255 0 'generate headline' )
+insert ( 4201 1255 0 'generate headline from jsonb' )
+insert ( 4202 1255 0 'generate headline from jsonb' )
+insert ( 4203 1255 0 'generate headline from jsonb' )
+insert ( 4204 1255 0 'generate headline from jsonb' )
+insert ( 4205 1255 0 'generate headline from json' )
+insert ( 4206 1255 0 'generate headline from json' )
+insert ( 4207 1255 0 'generate headline from json' )
+insert ( 4208 1255 0 'generate headline from json' )
+insert ( 3745 1255 0 'transform to tsvector' )
+insert ( 3746 1255 0 'make tsquery' )
+insert ( 3747 1255 0 'transform to tsquery' )
+insert ( 5006 1255 0 'transform to tsquery' )
+insert ( 5007 1255 0 'transform to tsquery' )
+insert ( 3749 1255 0 'transform to tsvector' )
+insert ( 3750 1255 0 'make tsquery' )
+insert ( 3751 1255 0 'transform to tsquery' )
+insert ( 5001 1255 0 'transform to tsquery' )
+insert ( 5009 1255 0 'transform to tsquery' )
+insert ( 4209 1255 0 'transform string values from jsonb to tsvector' )
+insert ( 4213 1255 0 'transform specified values from jsonb to tsvector' )
+insert ( 4210 1255 0 'transform string values from json to tsvector' )
+insert ( 4215 1255 0 'transform specified values from json to tsvector' )
+insert ( 4211 1255 0 'transform string values from jsonb to tsvector' )
+insert ( 4214 1255 0 'transform specified values from jsonb to tsvector' )
+insert ( 4212 1255 0 'transform string values from json to tsvector' )
+insert ( 4216 1255 0 'transform specified values from json to tsvector' )
+insert ( 3752 1255 0 'trigger for automatic update of tsvector column' )
+insert ( 3753 1255 0 'trigger for automatic update of tsvector column' )
+insert ( 3759 1255 0 'get current tsearch configuration' )
+insert ( 3736 1255 0 'I/O' )
+insert ( 3737 1255 0 'I/O' )
+insert ( 3738 1255 0 'I/O' )
+insert ( 3739 1255 0 'I/O' )
+insert ( 3771 1255 0 'I/O' )
+insert ( 3772 1255 0 'I/O' )
+insert ( 3773 1255 0 'I/O' )
+insert ( 3774 1255 0 'I/O' )
+insert ( 3806 1255 0 'I/O' )
+insert ( 3805 1255 0 'I/O' )
+insert ( 3804 1255 0 'I/O' )
+insert ( 3803 1255 0 'I/O' )
+insert ( 3263 1255 0 'map text array of key value pairs to jsonb object' )
+insert ( 3264 1255 0 'map text array of key value pairs to jsonb object' )
+insert ( 3787 1255 0 'map input to jsonb' )
+insert ( 3265 1255 0 'jsonb aggregate transition function' )
+insert ( 6283 1255 0 'jsonb aggregate transition function' )
+insert ( 3266 1255 0 'jsonb aggregate final function' )
+insert ( 3267 1255 0 'aggregate input into jsonb' )
+insert ( 6284 1255 0 'aggregate input into jsonb skipping nulls' )
+insert ( 3268 1255 0 'jsonb object aggregate transition function' )
+insert ( 6285 1255 0 'jsonb object aggregate transition function' )
+insert ( 6286 1255 0 'jsonb object aggregate transition function' )
+insert ( 6287 1255 0 'jsonb object aggregate transition function' )
+insert ( 3269 1255 0 'jsonb object aggregate final function' )
+insert ( 3270 1255 0 'aggregate inputs into jsonb object' )
+insert ( 6288 1255 0 'aggregate non-NULL inputs into jsonb object' )
+insert ( 6289 1255 0 'aggregate inputs into jsonb object checking key uniqueness' )
+insert ( 6290 1255 0 'aggregate non-NULL inputs into jsonb object checking key uniqueness' )
+insert ( 3271 1255 0 'build a jsonb array from any inputs' )
+insert ( 3272 1255 0 'build an empty jsonb array' )
+insert ( 3273 1255 0 'build a jsonb object from pairwise key/value inputs' )
+insert ( 3274 1255 0 'build an empty jsonb object' )
+insert ( 3262 1255 0 'remove object fields with null values from jsonb' )
+insert ( 3217 1255 0 'get value from jsonb with path elements' )
+insert ( 3940 1255 0 'get value from jsonb as text with path elements' )
+insert ( 3219 1255 0 'elements of a jsonb array' )
+insert ( 3465 1255 0 'elements of jsonb array' )
+insert ( 3207 1255 0 'length of jsonb array' )
+insert ( 3931 1255 0 'get jsonb object keys' )
+insert ( 3208 1255 0 'key value pairs of a jsonb object' )
+insert ( 3932 1255 0 'key value pairs of a jsonb object' )
+insert ( 3209 1255 0 'get record fields from a jsonb object' )
+insert ( 3475 1255 0 'get set of records with fields from a jsonb array of objects' )
+insert ( 3490 1255 0 'get record fields from a jsonb object' )
+insert ( 3491 1255 0 'get set of records with fields from a jsonb array of objects' )
+insert ( 3210 1255 0 'get the type of a jsonb value' )
+insert ( 4044 1255 0 less-equal-greater )
+insert ( 4045 1255 0 hash )
+insert ( 3416 1255 0 hash )
+insert ( 3480 1255 0 'GIN support' )
+insert ( 3482 1255 0 'GIN support' )
+insert ( 3483 1255 0 'GIN support' )
+insert ( 3484 1255 0 'GIN support' )
+insert ( 3488 1255 0 'GIN support' )
+insert ( 3485 1255 0 'GIN support' )
+insert ( 3486 1255 0 'GIN support' )
+insert ( 3487 1255 0 'GIN support' )
+insert ( 3489 1255 0 'GIN support' )
+insert ( 5054 1255 0 'Set part of a jsonb, handle NULL value' )
+insert ( 3305 1255 0 'Set part of a jsonb' )
+insert ( 3306 1255 0 'Indented text from jsonb' )
+insert ( 3579 1255 0 'Insert value into a jsonb' )
+insert ( 4001 1255 0 'I/O' )
+insert ( 4002 1255 0 'I/O' )
+insert ( 4003 1255 0 'I/O' )
+insert ( 4004 1255 0 'I/O' )
+insert ( 4005 1255 0 'jsonpath exists test' )
+insert ( 4006 1255 0 'jsonpath query' )
+insert ( 4007 1255 0 'jsonpath query wrapped into array' )
+insert ( 4008 1255 0 'jsonpath query first item' )
+insert ( 4009 1255 0 'jsonpath match' )
+insert ( 1177 1255 0 'jsonpath exists test with timezone' )
+insert ( 1179 1255 0 'jsonpath query with timezone' )
+insert ( 1180 1255 0 'jsonpath query wrapped into array with timezone' )
+insert ( 2023 1255 0 'jsonpath query first item with timezone' )
+insert ( 2030 1255 0 'jsonpath match with timezone' )
+insert ( 4010 1255 0 'implementation of @? operator' )
+insert ( 4011 1255 0 'implementation of @@ operator' )
+insert ( 2939 1255 0 'I/O' )
+insert ( 2940 1255 0 'I/O' )
+insert ( 2941 1255 0 'I/O' )
+insert ( 2942 1255 0 'I/O' )
+insert ( 2943 1255 0 'get current transaction ID' )
+insert ( 3348 1255 0 'get current transaction ID' )
+insert ( 2944 1255 0 'get current snapshot' )
+insert ( 2945 1255 0 'get xmin of snapshot' )
+insert ( 2946 1255 0 'get xmax of snapshot' )
+insert ( 2947 1255 0 'get set of in-progress txids in snapshot' )
+insert ( 2948 1255 0 'is txid visible in snapshot?' )
+insert ( 3360 1255 0 'commit status of transaction' )
+insert ( 5055 1255 0 'I/O' )
+insert ( 5056 1255 0 'I/O' )
+insert ( 5057 1255 0 'I/O' )
+insert ( 5058 1255 0 'I/O' )
+insert ( 5061 1255 0 'get current snapshot' )
+insert ( 5062 1255 0 'get xmin of snapshot' )
+insert ( 5063 1255 0 'get xmax of snapshot' )
+insert ( 5064 1255 0 'get set of in-progress transactions in snapshot' )
+insert ( 5065 1255 0 'is xid8 visible in snapshot?' )
+insert ( 5059 1255 0 'get current transaction ID' )
+insert ( 5060 1255 0 'get current transaction ID' )
+insert ( 5066 1255 0 'commit status of transaction' )
+insert ( 2987 1255 0 less-equal-greater )
+insert ( 6192 1255 0 hash )
+insert ( 6193 1255 0 hash )
+insert ( 3187 1255 0 'less-equal-greater based on byte images' )
+insert ( 5051 1255 0 'equal image' )
+insert ( 3082 1255 0 'list available extensions' )
+insert ( 3083 1255 0 'list available extension versions' )
+insert ( 3084 1255 0 'list an extension''s version update paths' )
+insert ( 3086 1255 0 'flag an extension''s table contents to be emitted by pg_dump' )
+insert ( 3100 1255 0 'row number within partition' )
+insert ( 6233 1255 0 'planner support for row_number' )
+insert ( 3101 1255 0 'integer rank with gaps' )
+insert ( 6234 1255 0 'planner support for rank' )
+insert ( 3102 1255 0 'integer rank without gaps' )
+insert ( 6235 1255 0 'planner support for dense_rank' )
+insert ( 3103 1255 0 'fractional rank within partition' )
+insert ( 6306 1255 0 'planner support for percent_rank' )
+insert ( 3104 1255 0 'fractional row number within partition' )
+insert ( 6307 1255 0 'planner support for cume_dist' )
+insert ( 3105 1255 0 'split rows into N groups' )
+insert ( 6308 1255 0 'planner support for ntile' )
+insert ( 3106 1255 0 'fetch the preceding row value' )
+insert ( 3107 1255 0 'fetch the Nth preceding row value' )
+insert ( 3108 1255 0 'fetch the Nth preceding row value with default' )
+insert ( 3109 1255 0 'fetch the following row value' )
+insert ( 3110 1255 0 'fetch the Nth following row value' )
+insert ( 3111 1255 0 'fetch the Nth following row value with default' )
+insert ( 3112 1255 0 'fetch the first row value' )
+insert ( 3113 1255 0 'fetch the last row value' )
+insert ( 3114 1255 0 'fetch the Nth row value' )
+insert ( 3832 1255 0 'I/O' )
+insert ( 3833 1255 0 'I/O' )
+insert ( 3834 1255 0 'I/O' )
+insert ( 3835 1255 0 'I/O' )
+insert ( 3836 1255 0 'I/O' )
+insert ( 3837 1255 0 'I/O' )
+insert ( 3848 1255 0 'lower bound of range' )
+insert ( 3849 1255 0 'upper bound of range' )
+insert ( 3850 1255 0 'is the range empty?' )
+insert ( 3851 1255 0 'is the range''s lower bound inclusive?' )
+insert ( 3852 1255 0 'is the range''s upper bound inclusive?' )
+insert ( 3853 1255 0 'is the range''s lower bound infinite?' )
+insert ( 3854 1255 0 'is the range''s upper bound infinite?' )
+insert ( 4057 1255 0 'the smallest range which includes both of the given ranges' )
+insert ( 4228 1255 0 'the smallest range which includes the whole multirange' )
+insert ( 3870 1255 0 less-equal-greater )
+insert ( 3875 1255 0 'GiST support' )
+insert ( 3876 1255 0 'GiST support' )
+insert ( 3879 1255 0 'GiST support' )
+insert ( 3880 1255 0 'GiST support' )
+insert ( 3881 1255 0 'GiST support' )
+insert ( 6154 1255 0 'GiST support' )
+insert ( 6156 1255 0 'GiST support' )
+insert ( 3902 1255 0 'hash a range' )
+insert ( 3417 1255 0 'hash a range' )
+insert ( 3916 1255 0 'range typanalyze' )
+insert ( 3169 1255 0 'restriction selectivity for range operators' )
+insert ( 4401 1255 0 'range aggregate by intersecting' )
+insert ( 4450 1255 0 'range aggregate by intersecting' )
+insert ( 3914 1255 0 'convert an int4 range to canonical form' )
+insert ( 3928 1255 0 'convert an int8 range to canonical form' )
+insert ( 3915 1255 0 'convert a date range to canonical form' )
+insert ( 3922 1255 0 'float8 difference of two int4 values' )
+insert ( 3923 1255 0 'float8 difference of two int8 values' )
+insert ( 3924 1255 0 'float8 difference of two numeric values' )
+insert ( 3925 1255 0 'float8 difference of two date values' )
+insert ( 3929 1255 0 'float8 difference of two timestamp values' )
+insert ( 3930 1255 0 'float8 difference of two timestamp with time zone values' )
+insert ( 3840 1255 0 'int4range constructor' )
+insert ( 3841 1255 0 'int4range constructor' )
+insert ( 3844 1255 0 'numrange constructor' )
+insert ( 3845 1255 0 'numrange constructor' )
+insert ( 3933 1255 0 'tsrange constructor' )
+insert ( 3934 1255 0 'tsrange constructor' )
+insert ( 3937 1255 0 'tstzrange constructor' )
+insert ( 3938 1255 0 'tstzrange constructor' )
+insert ( 3941 1255 0 'daterange constructor' )
+insert ( 3942 1255 0 'daterange constructor' )
+insert ( 3945 1255 0 'int8range constructor' )
+insert ( 3946 1255 0 'int8range constructor' )
+insert ( 4229 1255 0 'I/O' )
+insert ( 4230 1255 0 'I/O' )
+insert ( 4231 1255 0 'I/O' )
+insert ( 4232 1255 0 'I/O' )
+insert ( 4233 1255 0 'I/O' )
+insert ( 4234 1255 0 'I/O' )
+insert ( 4235 1255 0 'lower bound of multirange' )
+insert ( 4236 1255 0 'upper bound of multirange' )
+insert ( 4237 1255 0 'is the multirange empty?' )
+insert ( 4238 1255 0 'is the multirange''s lower bound inclusive?' )
+insert ( 4239 1255 0 'is the multirange''s upper bound inclusive?' )
+insert ( 4240 1255 0 'is the multirange''s lower bound infinite?' )
+insert ( 4241 1255 0 'is the multirange''s upper bound infinite?' )
+insert ( 4242 1255 0 'multirange typanalyze' )
+insert ( 4243 1255 0 'restriction selectivity for multirange operators' )
+insert ( 4273 1255 0 less-equal-greater )
+insert ( 4278 1255 0 'hash a multirange' )
+insert ( 4279 1255 0 'hash a multirange' )
+insert ( 4280 1255 0 'int4multirange constructor' )
+insert ( 4281 1255 0 'int4multirange constructor' )
+insert ( 4282 1255 0 'int4multirange constructor' )
+insert ( 4283 1255 0 'nummultirange constructor' )
+insert ( 4284 1255 0 'nummultirange constructor' )
+insert ( 4285 1255 0 'nummultirange constructor' )
+insert ( 4286 1255 0 'tsmultirange constructor' )
+insert ( 4287 1255 0 'tsmultirange constructor' )
+insert ( 4288 1255 0 'tsmultirange constructor' )
+insert ( 4289 1255 0 'tstzmultirange constructor' )
+insert ( 4290 1255 0 'tstzmultirange constructor' )
+insert ( 4291 1255 0 'tstzmultirange constructor' )
+insert ( 4292 1255 0 'datemultirange constructor' )
+insert ( 4293 1255 0 'datemultirange constructor' )
+insert ( 4294 1255 0 'datemultirange constructor' )
+insert ( 4295 1255 0 'int8multirange constructor' )
+insert ( 4296 1255 0 'int8multirange constructor' )
+insert ( 4297 1255 0 'int8multirange constructor' )
+insert ( 4298 1255 0 'anymultirange cast' )
+insert ( 4299 1255 0 'aggregate transition function' )
+insert ( 4300 1255 0 'aggregate final function' )
+insert ( 4301 1255 0 'combine aggregate input into a multirange' )
+insert ( 6225 1255 0 'aggregate transition function' )
+insert ( 6226 1255 0 'aggregate final function' )
+insert ( 6227 1255 0 'combine aggregate input into a multirange' )
+insert ( 4388 1255 0 'range aggregate by intersecting' )
+insert ( 4389 1255 0 'range aggregate by intersecting' )
+insert ( 1293 1255 0 'expand multirange to set of ranges' )
+insert ( 3846 1255 0 'construct date' )
+insert ( 3847 1255 0 'construct time' )
+insert ( 3461 1255 0 'construct timestamp' )
+insert ( 3462 1255 0 'construct timestamp with time zone' )
+insert ( 3463 1255 0 'construct timestamp with time zone' )
+insert ( 3464 1255 0 'construct interval' )
+insert ( 4018 1255 0 'SP-GiST support for quad tree over point' )
+insert ( 4019 1255 0 'SP-GiST support for quad tree over point' )
+insert ( 4020 1255 0 'SP-GiST support for quad tree over point' )
+insert ( 4021 1255 0 'SP-GiST support for quad tree over point' )
+insert ( 4022 1255 0 'SP-GiST support for quad tree and k-d tree over point' )
+insert ( 4023 1255 0 'SP-GiST support for k-d tree over point' )
+insert ( 4024 1255 0 'SP-GiST support for k-d tree over point' )
+insert ( 4025 1255 0 'SP-GiST support for k-d tree over point' )
+insert ( 4026 1255 0 'SP-GiST support for k-d tree over point' )
+insert ( 4027 1255 0 'SP-GiST support for radix tree over text' )
+insert ( 4028 1255 0 'SP-GiST support for radix tree over text' )
+insert ( 4029 1255 0 'SP-GiST support for radix tree over text' )
+insert ( 4030 1255 0 'SP-GiST support for radix tree over text' )
+insert ( 4031 1255 0 'SP-GiST support for radix tree over text' )
+insert ( 3469 1255 0 'SP-GiST support for quad tree over range' )
+insert ( 3470 1255 0 'SP-GiST support for quad tree over range' )
+insert ( 3471 1255 0 'SP-GiST support for quad tree over range' )
+insert ( 3472 1255 0 'SP-GiST support for quad tree over range' )
+insert ( 3473 1255 0 'SP-GiST support for quad tree over range' )
+insert ( 5012 1255 0 'SP-GiST support for quad tree over box' )
+insert ( 5013 1255 0 'SP-GiST support for quad tree over box' )
+insert ( 5014 1255 0 'SP-GiST support for quad tree over box' )
+insert ( 5015 1255 0 'SP-GiST support for quad tree over box' )
+insert ( 5016 1255 0 'SP-GiST support for quad tree over box' )
+insert ( 5010 1255 0 'SP-GiST support for quad tree over 2-D types represented by their bounding boxes' )
+insert ( 5011 1255 0 'SP-GiST support for quad tree over polygons' )
+insert ( 3779 1255 0 'create a physical replication slot' )
+insert ( 4220 1255 0 'copy a physical replication slot, changing temporality' )
+insert ( 4221 1255 0 'copy a physical replication slot' )
+insert ( 3780 1255 0 'drop a replication slot' )
+insert ( 3781 1255 0 'information about replication slots currently in use' )
+insert ( 3786 1255 0 'set up a logical replication slot' )
+insert ( 4222 1255 0 'copy a logical replication slot, changing temporality and plugin' )
+insert ( 4223 1255 0 'copy a logical replication slot, changing temporality' )
+insert ( 4224 1255 0 'copy a logical replication slot' )
+insert ( 3782 1255 0 'get changes from replication slot' )
+insert ( 3783 1255 0 'get binary changes from replication slot' )
+insert ( 3784 1255 0 'peek at changes from replication slot' )
+insert ( 3785 1255 0 'peek at binary changes from replication slot' )
+insert ( 3878 1255 0 'advance logical replication slot' )
+insert ( 3577 1255 0 'emit a textual logical decoding message' )
+insert ( 3578 1255 0 'emit a binary logical decoding message' )
+insert ( 3566 1255 0 'list objects dropped by the current command' )
+insert ( 4566 1255 0 'return Oid of the table getting rewritten' )
+insert ( 4567 1255 0 'return reason code for table getting rewritten' )
+insert ( 4568 1255 0 'list DDL actions being executed by the current command' )
+insert ( 3970 1255 0 'aggregate transition function' )
+insert ( 3971 1255 0 'aggregate transition function' )
+insert ( 3972 1255 0 'discrete percentile' )
+insert ( 3973 1255 0 'aggregate final function' )
+insert ( 3974 1255 0 'continuous distribution percentile' )
+insert ( 3975 1255 0 'aggregate final function' )
+insert ( 3976 1255 0 'continuous distribution percentile' )
+insert ( 3977 1255 0 'aggregate final function' )
+insert ( 3978 1255 0 'multiple discrete percentiles' )
+insert ( 3979 1255 0 'aggregate final function' )
+insert ( 3980 1255 0 'multiple continuous percentiles' )
+insert ( 3981 1255 0 'aggregate final function' )
+insert ( 3982 1255 0 'multiple continuous percentiles' )
+insert ( 3983 1255 0 'aggregate final function' )
+insert ( 3984 1255 0 'most common value' )
+insert ( 3985 1255 0 'aggregate final function' )
+insert ( 3986 1255 0 'rank of hypothetical row' )
+insert ( 3987 1255 0 'aggregate final function' )
+insert ( 3988 1255 0 'fractional rank of hypothetical row' )
+insert ( 3989 1255 0 'aggregate final function' )
+insert ( 3990 1255 0 'cumulative distribution of hypothetical row' )
+insert ( 3991 1255 0 'aggregate final function' )
+insert ( 3992 1255 0 'rank of hypothetical row without gaps' )
+insert ( 3993 1255 0 'aggregate final function' )
+insert ( 3582 1255 0 'for use by pg_upgrade' )
+insert ( 3584 1255 0 'for use by pg_upgrade' )
+insert ( 4390 1255 0 'for use by pg_upgrade' )
+insert ( 4391 1255 0 'for use by pg_upgrade' )
+insert ( 3586 1255 0 'for use by pg_upgrade' )
+insert ( 3587 1255 0 'for use by pg_upgrade' )
+insert ( 3588 1255 0 'for use by pg_upgrade' )
+insert ( 3589 1255 0 'for use by pg_upgrade' )
+insert ( 3590 1255 0 'for use by pg_upgrade' )
+insert ( 3591 1255 0 'for use by pg_upgrade' )
+insert ( 4083 1255 0 'for use by pg_upgrade' )
+insert ( 4101 1255 0 'for use by pg_upgrade' )
+insert ( 4545 1255 0 'for use by pg_upgrade' )
+insert ( 4546 1255 0 'for use by pg_upgrade' )
+insert ( 4547 1255 0 'for use by pg_upgrade' )
+insert ( 4548 1255 0 'for use by pg_upgrade' )
+insert ( 4302 1255 0 'internal conversion function for KOI8R to MULE_INTERNAL' )
+insert ( 4303 1255 0 'internal conversion function for MULE_INTERNAL to KOI8R' )
+insert ( 4304 1255 0 'internal conversion function for ISO-8859-5 to MULE_INTERNAL' )
+insert ( 4305 1255 0 'internal conversion function for MULE_INTERNAL to ISO-8859-5' )
+insert ( 4306 1255 0 'internal conversion function for WIN1251 to MULE_INTERNAL' )
+insert ( 4307 1255 0 'internal conversion function for MULE_INTERNAL to WIN1251' )
+insert ( 4308 1255 0 'internal conversion function for WIN866 to MULE_INTERNAL' )
+insert ( 4309 1255 0 'internal conversion function for MULE_INTERNAL to WIN866' )
+insert ( 4310 1255 0 'internal conversion function for KOI8R to WIN1251' )
+insert ( 4311 1255 0 'internal conversion function for WIN1251 to KOI8R' )
+insert ( 4312 1255 0 'internal conversion function for KOI8R to WIN866' )
+insert ( 4313 1255 0 'internal conversion function for WIN866 to KOI8R' )
+insert ( 4314 1255 0 'internal conversion function for WIN866 to WIN1251' )
+insert ( 4315 1255 0 'internal conversion function for WIN1251 to WIN866' )
+insert ( 4316 1255 0 'internal conversion function for ISO-8859-5 to KOI8R' )
+insert ( 4317 1255 0 'internal conversion function for KOI8R to ISO-8859-5' )
+insert ( 4318 1255 0 'internal conversion function for ISO-8859-5 to WIN1251' )
+insert ( 4319 1255 0 'internal conversion function for WIN1251 to ISO-8859-5' )
+insert ( 4320 1255 0 'internal conversion function for ISO-8859-5 to WIN866' )
+insert ( 4321 1255 0 'internal conversion function for WIN866 to ISO-8859-5' )
+insert ( 4322 1255 0 'internal conversion function for EUC_CN to MULE_INTERNAL' )
+insert ( 4323 1255 0 'internal conversion function for MULE_INTERNAL to EUC_CN' )
+insert ( 4324 1255 0 'internal conversion function for EUC_JP to SJIS' )
+insert ( 4325 1255 0 'internal conversion function for SJIS to EUC_JP' )
+insert ( 4326 1255 0 'internal conversion function for EUC_JP to MULE_INTERNAL' )
+insert ( 4327 1255 0 'internal conversion function for SJIS to MULE_INTERNAL' )
+insert ( 4328 1255 0 'internal conversion function for MULE_INTERNAL to EUC_JP' )
+insert ( 4329 1255 0 'internal conversion function for MULE_INTERNAL to SJIS' )
+insert ( 4330 1255 0 'internal conversion function for EUC_KR to MULE_INTERNAL' )
+insert ( 4331 1255 0 'internal conversion function for MULE_INTERNAL to EUC_KR' )
+insert ( 4332 1255 0 'internal conversion function for EUC_TW to BIG5' )
+insert ( 4333 1255 0 'internal conversion function for BIG5 to EUC_TW' )
+insert ( 4334 1255 0 'internal conversion function for EUC_TW to MULE_INTERNAL' )
+insert ( 4335 1255 0 'internal conversion function for BIG5 to MULE_INTERNAL' )
+insert ( 4336 1255 0 'internal conversion function for MULE_INTERNAL to EUC_TW' )
+insert ( 4337 1255 0 'internal conversion function for MULE_INTERNAL to BIG5' )
+insert ( 4338 1255 0 'internal conversion function for LATIN2 to MULE_INTERNAL' )
+insert ( 4339 1255 0 'internal conversion function for MULE_INTERNAL to LATIN2' )
+insert ( 4340 1255 0 'internal conversion function for WIN1250 to MULE_INTERNAL' )
+insert ( 4341 1255 0 'internal conversion function for MULE_INTERNAL to WIN1250' )
+insert ( 4342 1255 0 'internal conversion function for LATIN2 to WIN1250' )
+insert ( 4343 1255 0 'internal conversion function for WIN1250 to LATIN2' )
+insert ( 4344 1255 0 'internal conversion function for LATIN1 to MULE_INTERNAL' )
+insert ( 4345 1255 0 'internal conversion function for MULE_INTERNAL to LATIN1' )
+insert ( 4346 1255 0 'internal conversion function for LATIN3 to MULE_INTERNAL' )
+insert ( 4347 1255 0 'internal conversion function for MULE_INTERNAL to LATIN3' )
+insert ( 4348 1255 0 'internal conversion function for LATIN4 to MULE_INTERNAL' )
+insert ( 4349 1255 0 'internal conversion function for MULE_INTERNAL to LATIN4' )
+insert ( 4352 1255 0 'internal conversion function for BIG5 to UTF8' )
+insert ( 4353 1255 0 'internal conversion function for UTF8 to BIG5' )
+insert ( 4354 1255 0 'internal conversion function for UTF8 to KOI8R' )
+insert ( 4355 1255 0 'internal conversion function for KOI8R to UTF8' )
+insert ( 4356 1255 0 'internal conversion function for UTF8 to KOI8U' )
+insert ( 4357 1255 0 'internal conversion function for KOI8U to UTF8' )
+insert ( 4358 1255 0 'internal conversion function for UTF8 to WIN' )
+insert ( 4359 1255 0 'internal conversion function for WIN to UTF8' )
+insert ( 4360 1255 0 'internal conversion function for EUC_CN to UTF8' )
+insert ( 4361 1255 0 'internal conversion function for UTF8 to EUC_CN' )
+insert ( 4362 1255 0 'internal conversion function for EUC_JP to UTF8' )
+insert ( 4363 1255 0 'internal conversion function for UTF8 to EUC_JP' )
+insert ( 4364 1255 0 'internal conversion function for EUC_KR to UTF8' )
+insert ( 4365 1255 0 'internal conversion function for UTF8 to EUC_KR' )
+insert ( 4366 1255 0 'internal conversion function for EUC_TW to UTF8' )
+insert ( 4367 1255 0 'internal conversion function for UTF8 to EUC_TW' )
+insert ( 4368 1255 0 'internal conversion function for GB18030 to UTF8' )
+insert ( 4369 1255 0 'internal conversion function for UTF8 to GB18030' )
+insert ( 4370 1255 0 'internal conversion function for GBK to UTF8' )
+insert ( 4371 1255 0 'internal conversion function for UTF8 to GBK' )
+insert ( 4372 1255 0 'internal conversion function for UTF8 to ISO-8859 2-16' )
+insert ( 4373 1255 0 'internal conversion function for ISO-8859 2-16 to UTF8' )
+insert ( 4374 1255 0 'internal conversion function for LATIN1 to UTF8' )
+insert ( 4375 1255 0 'internal conversion function for UTF8 to LATIN1' )
+insert ( 4376 1255 0 'internal conversion function for JOHAB to UTF8' )
+insert ( 4377 1255 0 'internal conversion function for UTF8 to JOHAB' )
+insert ( 4378 1255 0 'internal conversion function for SJIS to UTF8' )
+insert ( 4379 1255 0 'internal conversion function for UTF8 to SJIS' )
+insert ( 4380 1255 0 'internal conversion function for UHC to UTF8' )
+insert ( 4381 1255 0 'internal conversion function for UTF8 to UHC' )
+insert ( 4382 1255 0 'internal conversion function for EUC_JIS_2004 to UTF8' )
+insert ( 4383 1255 0 'internal conversion function for UTF8 to EUC_JIS_2004' )
+insert ( 4384 1255 0 'internal conversion function for SHIFT_JIS_2004 to UTF8' )
+insert ( 4385 1255 0 'internal conversion function for UTF8 to SHIFT_JIS_2004' )
+insert ( 4386 1255 0 'internal conversion function for EUC_JIS_2004 to SHIFT_JIS_2004' )
+insert ( 4387 1255 0 'internal conversion function for SHIFT_JIS_2004 to EUC_JIS_2004' )
+insert ( 5040 1255 0 'restriction selectivity for generic matching operators' )
+insert ( 5041 1255 0 'join selectivity for generic matching operators' )
+insert ( 6003 1255 0 'create a replication origin' )
+insert ( 6004 1255 0 'drop replication origin identified by its name' )
+insert ( 6005 1255 0 'translate the replication origin''s name to its id' )
+insert ( 6006 1255 0 'configure session to maintain replication progress tracking for the passed in origin' )
+insert ( 6007 1255 0 'teardown configured replication progress tracking' )
+insert ( 6008 1255 0 'is a replication origin configured in this session' )
+insert ( 6009 1255 0 'get the replication progress of the current session' )
+insert ( 6010 1255 0 'setup the transaction''s origin lsn and timestamp' )
+insert ( 6011 1255 0 'reset the transaction''s origin lsn and timestamp' )
+insert ( 6012 1255 0 'advance replication origin to specific location' )
+insert ( 6013 1255 0 'get an individual replication origin''s replication progress' )
+insert ( 6014 1255 0 'get progress for all replication origins' )
+insert ( 6119 1255 0 'get information of the tables that are part of the specified publications' )
+insert ( 6121 1255 0 'returns whether a relation can be part of a publication' )
+insert ( 3298 1255 0 'row security for current context active on table by table oid' )
+insert ( 3299 1255 0 'row security for current context active on table by table name' )
+insert ( 3400 1255 0 'pg_config binary as a function' )
+insert ( 3441 1255 0 'pg_controldata general state information as a function' )
+insert ( 3442 1255 0 'pg_controldata checkpoint state information as a function' )
+insert ( 3443 1255 0 'pg_controldata recovery state information as a function' )
+insert ( 3444 1255 0 'pg_controldata init state information as a function' )
+insert ( 6179 1255 0 'standard array subscripting support' )
+insert ( 6180 1255 0 'raw array subscripting support' )
+insert ( 6098 1255 0 'jsonb subscripting logic' )
+insert ( 3445 1255 0 'import collations from operating system' )
+insert ( 3448 1255 0 'get actual version of collation from operating system' )
+insert ( 6249 1255 0 'get actual version of database collation from operating system' )
+insert ( 3353 1255 0 'list files in the log directory' )
+insert ( 3354 1255 0 'list of files in the WAL directory' )
+insert ( 5031 1255 0 'list of files in the archive_status directory' )
+insert ( 5029 1255 0 'list files in the pgsql_tmp directory' )
+insert ( 5030 1255 0 'list files in the pgsql_tmp directory' )
+insert ( 6270 1255 0 'list of files in the pg_logical/snapshots directory' )
+insert ( 6271 1255 0 'list of files in the pg_logical/mappings directory' )
+insert ( 6272 1255 0 'list of files in the pg_replslot/slot_name directory' )
+insert ( 5028 1255 0 'hash partition CHECK constraint' )
+insert ( 3423 1255 0 'view partition tree tables' )
+insert ( 3425 1255 0 'view ancestors of the partition' )
+insert ( 3424 1255 0 'get top-most partition root parent' )
+insert ( 4350 1255 0 'Unicode normalization' )
+insert ( 4351 1255 0 'check Unicode normalization' )
+insert ( 6198 1255 0 'unescape Unicode characters' )
+insert ( 4596 1255 0 'I/O' )
+insert ( 4597 1255 0 'I/O' )
+insert ( 4598 1255 0 'I/O' )
+insert ( 4599 1255 0 'I/O' )
+insert ( 4638 1255 0 'I/O' )
+insert ( 4639 1255 0 'I/O' )
+insert ( 4640 1255 0 'I/O' )
+insert ( 4641 1255 0 'I/O' )
+insert ( 6291 1255 0 'arbitrary value from among input values' )
+insert ( 6292 1255 0 'aggregate transition function' )
+insert ( 16 1247 0 'boolean, ''true''/''false''' )
+insert ( 17 1247 0 'variable-length string, binary values escaped' )
+insert ( 18 1247 0 'single character' )
+insert ( 19 1247 0 '63-byte type for storing system identifiers' )
+insert ( 20 1247 0 '~18 digit integer, 8-byte storage' )
+insert ( 21 1247 0 '-32 thousand to 32 thousand, 2-byte storage' )
+insert ( 22 1247 0 'array of int2, used in system tables' )
+insert ( 23 1247 0 '-2 billion to 2 billion integer, 4-byte storage' )
+insert ( 24 1247 0 'registered procedure' )
+insert ( 25 1247 0 'variable-length string, no limit specified' )
+insert ( 26 1247 0 'object identifier(oid), maximum 4 billion' )
+insert ( 27 1247 0 '(block, offset), physical location of tuple' )
+insert ( 28 1247 0 'transaction id' )
+insert ( 29 1247 0 'command identifier type, sequence in transaction id' )
+insert ( 30 1247 0 'array of oids, used in system tables' )
+insert ( 114 1247 0 'JSON stored as text' )
+insert ( 142 1247 0 'XML content' )
+insert ( 194 1247 0 'string representing an internal node tree' )
+insert ( 3361 1247 0 'multivariate ndistinct coefficients' )
+insert ( 3402 1247 0 'multivariate dependencies' )
+insert ( 5017 1247 0 'multivariate MCV list' )
+insert ( 32 1247 0 'internal type for passing CollectedCommand' )
+insert ( 5069 1247 0 'full transaction id' )
+insert ( 600 1247 0 'geometric point ''(x, y)''' )
+insert ( 601 1247 0 'geometric line segment ''(pt1,pt2)''' )
+insert ( 602 1247 0 'geometric path ''(pt1,...)''' )
+insert ( 603 1247 0 'geometric box ''(lower left,upper right)''' )
+insert ( 604 1247 0 'geometric polygon ''(pt1,...)''' )
+insert ( 628 1247 0 'geometric line' )
+insert ( 700 1247 0 'single-precision floating point number, 4-byte storage' )
+insert ( 701 1247 0 'double-precision floating point number, 8-byte storage' )
+insert ( 705 1247 0 'pseudo-type representing an undetermined type' )
+insert ( 718 1247 0 'geometric circle ''(center,radius)''' )
+insert ( 790 1247 0 'monetary amounts, $d,ddd.cc' )
+insert ( 829 1247 0 'XX:XX:XX:XX:XX:XX, MAC address' )
+insert ( 869 1247 0 'IP address/netmask, host address, netmask optional' )
+insert ( 650 1247 0 'network IP address/netmask, network address' )
+insert ( 774 1247 0 'XX:XX:XX:XX:XX:XX:XX:XX, MAC address' )
+insert ( 1033 1247 0 'access control list' )
+insert ( 1042 1247 0 'char(length), blank-padded string, fixed storage length' )
+insert ( 1043 1247 0 'varchar(length), non-blank-padded string, variable storage length' )
+insert ( 1082 1247 0 date )
+insert ( 1083 1247 0 'time of day' )
+insert ( 1114 1247 0 'date and time' )
+insert ( 1184 1247 0 'date and time with time zone' )
+insert ( 1186 1247 0 '@ , time interval' )
+insert ( 1266 1247 0 'time of day with time zone' )
+insert ( 1560 1247 0 'fixed-length bit string' )
+insert ( 1562 1247 0 'variable-length bit string' )
+insert ( 1700 1247 0 'numeric(precision, decimal), arbitrary precision number' )
+insert ( 1790 1247 0 'reference to cursor (portal name)' )
+insert ( 2202 1247 0 'registered procedure (with args)' )
+insert ( 2203 1247 0 'registered operator' )
+insert ( 2204 1247 0 'registered operator (with args)' )
+insert ( 2205 1247 0 'registered class' )
+insert ( 4191 1247 0 'registered collation' )
+insert ( 2206 1247 0 'registered type' )
+insert ( 4096 1247 0 'registered role' )
+insert ( 4089 1247 0 'registered namespace' )
+insert ( 2950 1247 0 'UUID datatype' )
+insert ( 3220 1247 0 'PostgreSQL LSN datatype' )
+insert ( 3614 1247 0 'text representation for text search' )
+insert ( 3642 1247 0 'GiST index internal text representation for text search' )
+insert ( 3615 1247 0 'query representation for text search' )
+insert ( 3734 1247 0 'registered text search configuration' )
+insert ( 3769 1247 0 'registered text search dictionary' )
+insert ( 3802 1247 0 'Binary JSON' )
+insert ( 4072 1247 0 'JSON path' )
+insert ( 2970 1247 0 'txid snapshot' )
+insert ( 5038 1247 0 snapshot )
+insert ( 3904 1247 0 'range of integers' )
+insert ( 3906 1247 0 'range of numerics' )
+insert ( 3908 1247 0 'range of timestamps without time zone' )
+insert ( 3910 1247 0 'range of timestamps with time zone' )
+insert ( 3912 1247 0 'range of dates' )
+insert ( 3926 1247 0 'range of bigints' )
+insert ( 4451 1247 0 'multirange of integers' )
+insert ( 4532 1247 0 'multirange of numerics' )
+insert ( 4533 1247 0 'multirange of timestamps without time zone' )
+insert ( 4534 1247 0 'multirange of timestamps with time zone' )
+insert ( 4535 1247 0 'multirange of dates' )
+insert ( 4536 1247 0 'multirange of bigints' )
+insert ( 2249 1247 0 'pseudo-type representing any composite type' )
+insert ( 2275 1247 0 'C-style string' )
+insert ( 2276 1247 0 'pseudo-type representing any type' )
+insert ( 2277 1247 0 'pseudo-type representing a polymorphic array type' )
+insert ( 2278 1247 0 'pseudo-type for the result of a function with no real result' )
+insert ( 2279 1247 0 'pseudo-type for the result of a trigger function' )
+insert ( 3838 1247 0 'pseudo-type for the result of an event trigger function' )
+insert ( 2280 1247 0 'pseudo-type for the result of a language handler function' )
+insert ( 2281 1247 0 'pseudo-type representing an internal data structure' )
+insert ( 2283 1247 0 'pseudo-type representing a polymorphic base type' )
+insert ( 2776 1247 0 'pseudo-type representing a polymorphic base type that is not an array' )
+insert ( 3500 1247 0 'pseudo-type representing a polymorphic base type that is an enum' )
+insert ( 3115 1247 0 'pseudo-type for the result of an FDW handler function' )
+insert ( 325 1247 0 'pseudo-type for the result of an index AM handler function' )
+insert ( 3310 1247 0 'pseudo-type for the result of a tablesample method function' )
+insert ( 3831 1247 0 'pseudo-type representing a range over a polymorphic base type' )
+insert ( 5077 1247 0 'pseudo-type representing a polymorphic common type' )
+insert ( 5078 1247 0 'pseudo-type representing an array of polymorphic common type elements' )
+insert ( 5079 1247 0 'pseudo-type representing a polymorphic common type that is not an array' )
+insert ( 5080 1247 0 'pseudo-type representing a range over a polymorphic common type' )
+insert ( 4537 1247 0 'pseudo-type representing a polymorphic base type that is a multirange' )
+insert ( 4538 1247 0 'pseudo-type representing a multirange over a polymorphic common type' )
+insert ( 4600 1247 0 'BRIN bloom summary' )
+insert ( 4601 1247 0 'BRIN minmax-multi summary' )
+insert ( 15 2617 0 equal )
+insert ( 36 2617 0 'not equal' )
+insert ( 37 2617 0 'less than' )
+insert ( 76 2617 0 'greater than' )
+insert ( 80 2617 0 'less than or equal' )
+insert ( 82 2617 0 'greater than or equal' )
+insert ( 58 2617 0 'less than' )
+insert ( 59 2617 0 'greater than' )
+insert ( 85 2617 0 'not equal' )
+insert ( 91 2617 0 equal )
+insert ( 1694 2617 0 'less than or equal' )
+insert ( 1695 2617 0 'greater than or equal' )
+insert ( 92 2617 0 equal )
+insert ( 93 2617 0 equal )
+insert ( 94 2617 0 equal )
+insert ( 95 2617 0 'less than' )
+insert ( 96 2617 0 equal )
+insert ( 97 2617 0 'less than' )
+insert ( 98 2617 0 equal )
+insert ( 3877 2617 0 'starts with' )
+insert ( 254 2617 0 equal )
+insert ( 255 2617 0 'less than' )
+insert ( 256 2617 0 'less than or equal' )
+insert ( 257 2617 0 'greater than or equal' )
+insert ( 258 2617 0 'greater than' )
+insert ( 259 2617 0 'not equal' )
+insert ( 260 2617 0 equal )
+insert ( 261 2617 0 'less than' )
+insert ( 262 2617 0 'less than or equal' )
+insert ( 263 2617 0 'greater than or equal' )
+insert ( 264 2617 0 'greater than' )
+insert ( 265 2617 0 'not equal' )
+insert ( 349 2617 0 'append element onto end of array' )
+insert ( 374 2617 0 'prepend element onto front of array' )
+insert ( 375 2617 0 concatenate )
+insert ( 352 2617 0 equal )
+insert ( 353 2617 0 equal )
+insert ( 3315 2617 0 'not equal' )
+insert ( 3316 2617 0 'not equal' )
+insert ( 5068 2617 0 equal )
+insert ( 5072 2617 0 'not equal' )
+insert ( 5073 2617 0 'less than' )
+insert ( 5074 2617 0 'greater than' )
+insert ( 5075 2617 0 'less than or equal' )
+insert ( 5076 2617 0 'greater than or equal' )
+insert ( 385 2617 0 equal )
+insert ( 387 2617 0 equal )
+insert ( 402 2617 0 'not equal' )
+insert ( 2799 2617 0 'less than' )
+insert ( 2800 2617 0 'greater than' )
+insert ( 2801 2617 0 'less than or equal' )
+insert ( 2802 2617 0 'greater than or equal' )
+insert ( 410 2617 0 equal )
+insert ( 411 2617 0 'not equal' )
+insert ( 412 2617 0 'less than' )
+insert ( 413 2617 0 'greater than' )
+insert ( 414 2617 0 'less than or equal' )
+insert ( 415 2617 0 'greater than or equal' )
+insert ( 416 2617 0 equal )
+insert ( 417 2617 0 'not equal' )
+insert ( 418 2617 0 'less than' )
+insert ( 419 2617 0 'greater than' )
+insert ( 420 2617 0 'less than or equal' )
+insert ( 430 2617 0 'greater than or equal' )
+insert ( 439 2617 0 modulus )
+insert ( 473 2617 0 'absolute value' )
+insert ( 484 2617 0 negate )
+insert ( 485 2617 0 'is left of' )
+insert ( 486 2617 0 'overlaps or is left of' )
+insert ( 487 2617 0 'overlaps or is right of' )
+insert ( 488 2617 0 'is right of' )
+insert ( 489 2617 0 'is contained by' )
+insert ( 490 2617 0 contains )
+insert ( 491 2617 0 'same as' )
+insert ( 492 2617 0 overlaps )
+insert ( 493 2617 0 'is left of' )
+insert ( 494 2617 0 'overlaps or is left of' )
+insert ( 495 2617 0 'overlaps or is right of' )
+insert ( 496 2617 0 'is right of' )
+insert ( 497 2617 0 'is contained by' )
+insert ( 498 2617 0 contains )
+insert ( 499 2617 0 'same as' )
+insert ( 500 2617 0 overlaps )
+insert ( 501 2617 0 'greater than or equal by area' )
+insert ( 502 2617 0 'greater than by area' )
+insert ( 503 2617 0 'equal by area' )
+insert ( 504 2617 0 'less than by area' )
+insert ( 505 2617 0 'less than or equal by area' )
+insert ( 506 2617 0 'deprecated, use |>> instead' )
+insert ( 507 2617 0 'is left of' )
+insert ( 508 2617 0 'is right of' )
+insert ( 509 2617 0 'deprecated, use <<| instead' )
+insert ( 510 2617 0 'same as' )
+insert ( 511 2617 0 'point inside box' )
+insert ( 433 2617 0 contains )
+insert ( 512 2617 0 'point within closed path, or point on open path' )
+insert ( 513 2617 0 'center of' )
+insert ( 514 2617 0 multiply )
+insert ( 517 2617 0 'distance between' )
+insert ( 518 2617 0 'not equal' )
+insert ( 519 2617 0 'not equal' )
+insert ( 520 2617 0 'greater than' )
+insert ( 521 2617 0 'greater than' )
+insert ( 522 2617 0 'less than or equal' )
+insert ( 523 2617 0 'less than or equal' )
+insert ( 524 2617 0 'greater than or equal' )
+insert ( 525 2617 0 'greater than or equal' )
+insert ( 526 2617 0 multiply )
+insert ( 527 2617 0 divide )
+insert ( 528 2617 0 divide )
+insert ( 529 2617 0 modulus )
+insert ( 530 2617 0 modulus )
+insert ( 531 2617 0 'not equal' )
+insert ( 532 2617 0 equal )
+insert ( 533 2617 0 equal )
+insert ( 534 2617 0 'less than' )
+insert ( 535 2617 0 'less than' )
+insert ( 536 2617 0 'greater than' )
+insert ( 537 2617 0 'greater than' )
+insert ( 538 2617 0 'not equal' )
+insert ( 539 2617 0 'not equal' )
+insert ( 540 2617 0 'less than or equal' )
+insert ( 541 2617 0 'less than or equal' )
+insert ( 542 2617 0 'greater than or equal' )
+insert ( 543 2617 0 'greater than or equal' )
+insert ( 544 2617 0 multiply )
+insert ( 545 2617 0 multiply )
+insert ( 546 2617 0 divide )
+insert ( 547 2617 0 divide )
+insert ( 550 2617 0 add )
+insert ( 551 2617 0 add )
+insert ( 552 2617 0 add )
+insert ( 553 2617 0 add )
+insert ( 554 2617 0 subtract )
+insert ( 555 2617 0 subtract )
+insert ( 556 2617 0 subtract )
+insert ( 557 2617 0 subtract )
+insert ( 558 2617 0 negate )
+insert ( 559 2617 0 negate )
+insert ( 584 2617 0 negate )
+insert ( 585 2617 0 negate )
+insert ( 586 2617 0 add )
+insert ( 587 2617 0 subtract )
+insert ( 588 2617 0 divide )
+insert ( 589 2617 0 multiply )
+insert ( 590 2617 0 'absolute value' )
+insert ( 591 2617 0 add )
+insert ( 592 2617 0 subtract )
+insert ( 593 2617 0 divide )
+insert ( 594 2617 0 multiply )
+insert ( 595 2617 0 'absolute value' )
+insert ( 596 2617 0 'square root' )
+insert ( 597 2617 0 'cube root' )
+insert ( 607 2617 0 equal )
+insert ( 608 2617 0 'not equal' )
+insert ( 609 2617 0 'less than' )
+insert ( 610 2617 0 'greater than' )
+insert ( 611 2617 0 'less than or equal' )
+insert ( 612 2617 0 'greater than or equal' )
+insert ( 644 2617 0 'not equal' )
+insert ( 645 2617 0 'less than' )
+insert ( 646 2617 0 'greater than' )
+insert ( 647 2617 0 'less than or equal' )
+insert ( 648 2617 0 'greater than or equal' )
+insert ( 649 2617 0 equal )
+insert ( 613 2617 0 'distance between' )
+insert ( 760 2617 0 'distance between' )
+insert ( 614 2617 0 'distance between' )
+insert ( 761 2617 0 'distance between' )
+insert ( 615 2617 0 'distance between' )
+insert ( 606 2617 0 'distance between' )
+insert ( 616 2617 0 'distance between' )
+insert ( 762 2617 0 'distance between' )
+insert ( 617 2617 0 'distance between' )
+insert ( 763 2617 0 'distance between' )
+insert ( 618 2617 0 'distance between' )
+insert ( 784 2617 0 'distance between' )
+insert ( 620 2617 0 equal )
+insert ( 621 2617 0 'not equal' )
+insert ( 622 2617 0 'less than' )
+insert ( 623 2617 0 'greater than' )
+insert ( 624 2617 0 'less than or equal' )
+insert ( 625 2617 0 'greater than or equal' )
+insert ( 630 2617 0 'not equal' )
+insert ( 631 2617 0 'less than' )
+insert ( 632 2617 0 'less than or equal' )
+insert ( 633 2617 0 'greater than' )
+insert ( 634 2617 0 'greater than or equal' )
+insert ( 639 2617 0 'matches regular expression, case-sensitive' )
+insert ( 640 2617 0 'does not match regular expression, case-sensitive' )
+insert ( 641 2617 0 'matches regular expression, case-sensitive' )
+insert ( 642 2617 0 'does not match regular expression, case-sensitive' )
+insert ( 643 2617 0 'not equal' )
+insert ( 654 2617 0 concatenate )
+insert ( 660 2617 0 'less than' )
+insert ( 661 2617 0 'less than or equal' )
+insert ( 662 2617 0 'greater than' )
+insert ( 663 2617 0 'greater than or equal' )
+insert ( 664 2617 0 'less than' )
+insert ( 665 2617 0 'less than or equal' )
+insert ( 666 2617 0 'greater than' )
+insert ( 667 2617 0 'greater than or equal' )
+insert ( 670 2617 0 equal )
+insert ( 671 2617 0 'not equal' )
+insert ( 672 2617 0 'less than' )
+insert ( 673 2617 0 'less than or equal' )
+insert ( 674 2617 0 'greater than' )
+insert ( 675 2617 0 'greater than or equal' )
+insert ( 682 2617 0 'absolute value' )
+insert ( 684 2617 0 add )
+insert ( 685 2617 0 subtract )
+insert ( 686 2617 0 multiply )
+insert ( 687 2617 0 divide )
+insert ( 688 2617 0 add )
+insert ( 689 2617 0 subtract )
+insert ( 690 2617 0 multiply )
+insert ( 691 2617 0 divide )
+insert ( 692 2617 0 add )
+insert ( 693 2617 0 subtract )
+insert ( 694 2617 0 multiply )
+insert ( 695 2617 0 divide )
+insert ( 818 2617 0 add )
+insert ( 819 2617 0 subtract )
+insert ( 820 2617 0 multiply )
+insert ( 821 2617 0 divide )
+insert ( 822 2617 0 add )
+insert ( 823 2617 0 subtract )
+insert ( 824 2617 0 multiply )
+insert ( 825 2617 0 divide )
+insert ( 706 2617 0 'distance between' )
+insert ( 707 2617 0 'distance between' )
+insert ( 708 2617 0 'distance between' )
+insert ( 709 2617 0 'distance between' )
+insert ( 712 2617 0 'distance between' )
+insert ( 713 2617 0 'not equal' )
+insert ( 731 2617 0 'add points (translate)' )
+insert ( 732 2617 0 'subtract points (translate)' )
+insert ( 733 2617 0 'multiply points (scale/rotate)' )
+insert ( 734 2617 0 'divide points (scale/rotate)' )
+insert ( 735 2617 0 concatenate )
+insert ( 736 2617 0 'add (translate path)' )
+insert ( 737 2617 0 'subtract (translate path)' )
+insert ( 738 2617 0 'multiply (rotate/scale path)' )
+insert ( 739 2617 0 'divide (rotate/scale path)' )
+insert ( 755 2617 0 contains )
+insert ( 756 2617 0 'is contained by' )
+insert ( 757 2617 0 contains )
+insert ( 758 2617 0 'is contained by' )
+insert ( 759 2617 0 contains )
+insert ( 773 2617 0 'absolute value' )
+insert ( 792 2617 0 equal )
+insert ( 793 2617 0 'less than' )
+insert ( 794 2617 0 'greater than' )
+insert ( 795 2617 0 'less than or equal' )
+insert ( 796 2617 0 'greater than or equal' )
+insert ( 797 2617 0 'number of points' )
+insert ( 798 2617 0 intersect )
+insert ( 799 2617 0 'sum of path segment lengths' )
+insert ( 800 2617 0 'is above (allows touching)' )
+insert ( 801 2617 0 'is below (allows touching)' )
+insert ( 802 2617 0 'deprecated, use && instead' )
+insert ( 803 2617 0 'box intersection' )
+insert ( 804 2617 0 'add point to box (translate)' )
+insert ( 805 2617 0 'subtract point from box (translate)' )
+insert ( 806 2617 0 'multiply box by point (scale)' )
+insert ( 807 2617 0 'divide box by point (scale)' )
+insert ( 808 2617 0 'horizontally aligned' )
+insert ( 809 2617 0 'vertically aligned' )
+insert ( 843 2617 0 multiply )
+insert ( 844 2617 0 divide )
+insert ( 845 2617 0 multiply )
+insert ( 900 2617 0 equal )
+insert ( 901 2617 0 'not equal' )
+insert ( 902 2617 0 'less than' )
+insert ( 903 2617 0 'greater than' )
+insert ( 904 2617 0 'less than or equal' )
+insert ( 905 2617 0 'greater than or equal' )
+insert ( 906 2617 0 add )
+insert ( 907 2617 0 subtract )
+insert ( 908 2617 0 multiply )
+insert ( 909 2617 0 divide )
+insert ( 3346 2617 0 multiply )
+insert ( 3347 2617 0 divide )
+insert ( 912 2617 0 multiply )
+insert ( 913 2617 0 divide )
+insert ( 914 2617 0 multiply )
+insert ( 915 2617 0 divide )
+insert ( 916 2617 0 multiply )
+insert ( 3349 2617 0 multiply )
+insert ( 917 2617 0 multiply )
+insert ( 918 2617 0 multiply )
+insert ( 3825 2617 0 divide )
+insert ( 965 2617 0 exponentiation )
+insert ( 966 2617 0 'add/update ACL item' )
+insert ( 967 2617 0 'remove ACL item' )
+insert ( 968 2617 0 contains )
+insert ( 974 2617 0 equal )
+insert ( 969 2617 0 'center of' )
+insert ( 971 2617 0 'center of' )
+insert ( 1054 2617 0 equal )
+insert ( 1055 2617 0 'matches regular expression, case-sensitive' )
+insert ( 1056 2617 0 'does not match regular expression, case-sensitive' )
+insert ( 1057 2617 0 'not equal' )
+insert ( 1058 2617 0 'less than' )
+insert ( 1059 2617 0 'less than or equal' )
+insert ( 1060 2617 0 'greater than' )
+insert ( 1061 2617 0 'greater than or equal' )
+insert ( 1070 2617 0 equal )
+insert ( 1071 2617 0 'not equal' )
+insert ( 1072 2617 0 'less than' )
+insert ( 1073 2617 0 'greater than' )
+insert ( 1074 2617 0 'less than or equal' )
+insert ( 1075 2617 0 'greater than or equal' )
+insert ( 1076 2617 0 add )
+insert ( 1077 2617 0 subtract )
+insert ( 1093 2617 0 equal )
+insert ( 1094 2617 0 'not equal' )
+insert ( 1095 2617 0 'less than' )
+insert ( 1096 2617 0 'less than or equal' )
+insert ( 1097 2617 0 'greater than' )
+insert ( 1098 2617 0 'greater than or equal' )
+insert ( 1099 2617 0 subtract )
+insert ( 1100 2617 0 add )
+insert ( 1101 2617 0 subtract )
+insert ( 1108 2617 0 equal )
+insert ( 1109 2617 0 'not equal' )
+insert ( 1110 2617 0 'less than' )
+insert ( 1111 2617 0 'less than or equal' )
+insert ( 1112 2617 0 'greater than' )
+insert ( 1113 2617 0 'greater than or equal' )
+insert ( 1550 2617 0 equal )
+insert ( 1551 2617 0 'not equal' )
+insert ( 1552 2617 0 'less than' )
+insert ( 1553 2617 0 'less than or equal' )
+insert ( 1554 2617 0 'greater than' )
+insert ( 1555 2617 0 'greater than or equal' )
+insert ( 1116 2617 0 add )
+insert ( 1117 2617 0 subtract )
+insert ( 1118 2617 0 divide )
+insert ( 1119 2617 0 multiply )
+insert ( 1120 2617 0 equal )
+insert ( 1121 2617 0 'not equal' )
+insert ( 1122 2617 0 'less than' )
+insert ( 1123 2617 0 'greater than' )
+insert ( 1124 2617 0 'less than or equal' )
+insert ( 1125 2617 0 'greater than or equal' )
+insert ( 1126 2617 0 add )
+insert ( 1127 2617 0 subtract )
+insert ( 1128 2617 0 divide )
+insert ( 1129 2617 0 multiply )
+insert ( 1130 2617 0 equal )
+insert ( 1131 2617 0 'not equal' )
+insert ( 1132 2617 0 'less than' )
+insert ( 1133 2617 0 'greater than' )
+insert ( 1134 2617 0 'less than or equal' )
+insert ( 1135 2617 0 'greater than or equal' )
+insert ( 1207 2617 0 'matches LIKE expression' )
+insert ( 1208 2617 0 'does not match LIKE expression' )
+insert ( 1209 2617 0 'matches LIKE expression' )
+insert ( 1210 2617 0 'does not match LIKE expression' )
+insert ( 1211 2617 0 'matches LIKE expression' )
+insert ( 1212 2617 0 'does not match LIKE expression' )
+insert ( 1226 2617 0 'matches regular expression, case-insensitive' )
+insert ( 1227 2617 0 'does not match regular expression, case-insensitive' )
+insert ( 1228 2617 0 'matches regular expression, case-insensitive' )
+insert ( 1229 2617 0 'does not match regular expression, case-insensitive' )
+insert ( 1234 2617 0 'matches regular expression, case-insensitive' )
+insert ( 1235 2617 0 'does not match regular expression, case-insensitive' )
+insert ( 1320 2617 0 equal )
+insert ( 1321 2617 0 'not equal' )
+insert ( 1322 2617 0 'less than' )
+insert ( 1323 2617 0 'less than or equal' )
+insert ( 1324 2617 0 'greater than' )
+insert ( 1325 2617 0 'greater than or equal' )
+insert ( 1327 2617 0 add )
+insert ( 1328 2617 0 subtract )
+insert ( 1329 2617 0 subtract )
+insert ( 1330 2617 0 equal )
+insert ( 1331 2617 0 'not equal' )
+insert ( 1332 2617 0 'less than' )
+insert ( 1333 2617 0 'less than or equal' )
+insert ( 1334 2617 0 'greater than' )
+insert ( 1335 2617 0 'greater than or equal' )
+insert ( 1336 2617 0 negate )
+insert ( 1337 2617 0 add )
+insert ( 1338 2617 0 subtract )
+insert ( 1360 2617 0 'convert date and time to timestamp' )
+insert ( 1361 2617 0 'convert date and time with time zone to timestamp with time zone' )
+insert ( 1363 2617 0 'convert time and date to timestamp' )
+insert ( 1366 2617 0 'convert time with time zone and date to timestamp with time zone' )
+insert ( 1399 2617 0 subtract )
+insert ( 1420 2617 0 'center of' )
+insert ( 1500 2617 0 'equal by area' )
+insert ( 1501 2617 0 'not equal by area' )
+insert ( 1502 2617 0 'less than by area' )
+insert ( 1503 2617 0 'greater than by area' )
+insert ( 1504 2617 0 'less than or equal by area' )
+insert ( 1505 2617 0 'greater than or equal by area' )
+insert ( 1506 2617 0 'is left of' )
+insert ( 1507 2617 0 'overlaps or is left of' )
+insert ( 1508 2617 0 'overlaps or is right of' )
+insert ( 1509 2617 0 'is right of' )
+insert ( 1510 2617 0 'is contained by' )
+insert ( 1511 2617 0 contains )
+insert ( 1512 2617 0 'same as' )
+insert ( 1513 2617 0 overlaps )
+insert ( 1514 2617 0 'is above' )
+insert ( 1515 2617 0 'is below' )
+insert ( 1516 2617 0 add )
+insert ( 1517 2617 0 subtract )
+insert ( 1518 2617 0 multiply )
+insert ( 1519 2617 0 divide )
+insert ( 1520 2617 0 'distance between' )
+insert ( 1521 2617 0 'number of points' )
+insert ( 1522 2617 0 'distance between' )
+insert ( 3291 2617 0 'distance between' )
+insert ( 3276 2617 0 'distance between' )
+insert ( 3289 2617 0 'distance between' )
+insert ( 1523 2617 0 'distance between' )
+insert ( 1383 2617 0 'distance between' )
+insert ( 1525 2617 0 intersect )
+insert ( 1526 2617 0 parallel )
+insert ( 1527 2617 0 perpendicular )
+insert ( 1528 2617 0 horizontal )
+insert ( 1529 2617 0 vertical )
+insert ( 1535 2617 0 equal )
+insert ( 1536 2617 0 'intersection point' )
+insert ( 1537 2617 0 intersect )
+insert ( 1538 2617 0 intersect )
+insert ( 1539 2617 0 intersect )
+insert ( 1546 2617 0 'point on line' )
+insert ( 1547 2617 0 'is contained by' )
+insert ( 1548 2617 0 'lseg on line' )
+insert ( 1549 2617 0 'is contained by' )
+insert ( 1557 2617 0 'closest point to A on B' )
+insert ( 1558 2617 0 'closest point to A on B' )
+insert ( 1559 2617 0 'closest point to A on B' )
+insert ( 1567 2617 0 'closest point to A on B' )
+insert ( 1577 2617 0 'closest point to A on B' )
+insert ( 1578 2617 0 'closest point to A on B' )
+insert ( 1583 2617 0 multiply )
+insert ( 1584 2617 0 multiply )
+insert ( 1585 2617 0 divide )
+insert ( 1586 2617 0 'not equal' )
+insert ( 1587 2617 0 'less than by length' )
+insert ( 1588 2617 0 'less than or equal by length' )
+insert ( 1589 2617 0 'greater than by length' )
+insert ( 1590 2617 0 'greater than or equal by length' )
+insert ( 1591 2617 0 'distance between endpoints' )
+insert ( 1611 2617 0 intersect )
+insert ( 1612 2617 0 parallel )
+insert ( 1613 2617 0 perpendicular )
+insert ( 1614 2617 0 horizontal )
+insert ( 1615 2617 0 vertical )
+insert ( 1616 2617 0 equal )
+insert ( 1617 2617 0 'intersection point' )
+insert ( 4161 2617 0 'is above' )
+insert ( 4162 2617 0 'is below' )
+insert ( 1220 2617 0 equal )
+insert ( 1221 2617 0 'not equal' )
+insert ( 1222 2617 0 'less than' )
+insert ( 1223 2617 0 'less than or equal' )
+insert ( 1224 2617 0 'greater than' )
+insert ( 1225 2617 0 'greater than or equal' )
+insert ( 3147 2617 0 'bitwise not' )
+insert ( 3148 2617 0 'bitwise and' )
+insert ( 3149 2617 0 'bitwise or' )
+insert ( 3362 2617 0 equal )
+insert ( 3363 2617 0 'not equal' )
+insert ( 3364 2617 0 'less than' )
+insert ( 3365 2617 0 'less than or equal' )
+insert ( 3366 2617 0 'greater than' )
+insert ( 3367 2617 0 'greater than or equal' )
+insert ( 3368 2617 0 'bitwise not' )
+insert ( 3369 2617 0 'bitwise and' )
+insert ( 3370 2617 0 'bitwise or' )
+insert ( 1201 2617 0 equal )
+insert ( 1202 2617 0 'not equal' )
+insert ( 1203 2617 0 'less than' )
+insert ( 1204 2617 0 'less than or equal' )
+insert ( 1205 2617 0 'greater than' )
+insert ( 1206 2617 0 'greater than or equal' )
+insert ( 931 2617 0 'is subnet' )
+insert ( 932 2617 0 'is subnet or equal' )
+insert ( 933 2617 0 'is supernet' )
+insert ( 934 2617 0 'is supernet or equal' )
+insert ( 3552 2617 0 'overlaps (is subnet or supernet)' )
+insert ( 2634 2617 0 'bitwise not' )
+insert ( 2635 2617 0 'bitwise and' )
+insert ( 2636 2617 0 'bitwise or' )
+insert ( 2637 2617 0 add )
+insert ( 2638 2617 0 add )
+insert ( 2639 2617 0 subtract )
+insert ( 2640 2617 0 subtract )
+insert ( 1625 2617 0 'matches LIKE expression, case-insensitive' )
+insert ( 1626 2617 0 'does not match LIKE expression, case-insensitive' )
+insert ( 1627 2617 0 'matches LIKE expression, case-insensitive' )
+insert ( 1628 2617 0 'does not match LIKE expression, case-insensitive' )
+insert ( 1629 2617 0 'matches LIKE expression, case-insensitive' )
+insert ( 1630 2617 0 'does not match LIKE expression, case-insensitive' )
+insert ( 1751 2617 0 negate )
+insert ( 1752 2617 0 equal )
+insert ( 1753 2617 0 'not equal' )
+insert ( 1754 2617 0 'less than' )
+insert ( 1755 2617 0 'less than or equal' )
+insert ( 1756 2617 0 'greater than' )
+insert ( 1757 2617 0 'greater than or equal' )
+insert ( 1758 2617 0 add )
+insert ( 1759 2617 0 subtract )
+insert ( 1760 2617 0 multiply )
+insert ( 1761 2617 0 divide )
+insert ( 1762 2617 0 modulus )
+insert ( 1038 2617 0 exponentiation )
+insert ( 1763 2617 0 'absolute value' )
+insert ( 1784 2617 0 equal )
+insert ( 1785 2617 0 'not equal' )
+insert ( 1786 2617 0 'less than' )
+insert ( 1787 2617 0 'greater than' )
+insert ( 1788 2617 0 'less than or equal' )
+insert ( 1789 2617 0 'greater than or equal' )
+insert ( 1791 2617 0 'bitwise and' )
+insert ( 1792 2617 0 'bitwise or' )
+insert ( 1793 2617 0 'bitwise exclusive or' )
+insert ( 1794 2617 0 'bitwise not' )
+insert ( 1795 2617 0 'bitwise shift left' )
+insert ( 1796 2617 0 'bitwise shift right' )
+insert ( 1797 2617 0 concatenate )
+insert ( 1800 2617 0 add )
+insert ( 1801 2617 0 subtract )
+insert ( 1802 2617 0 add )
+insert ( 1803 2617 0 subtract )
+insert ( 1804 2617 0 equal )
+insert ( 1805 2617 0 'not equal' )
+insert ( 1806 2617 0 'less than' )
+insert ( 1807 2617 0 'greater than' )
+insert ( 1808 2617 0 'less than or equal' )
+insert ( 1809 2617 0 'greater than or equal' )
+insert ( 1849 2617 0 add )
+insert ( 1862 2617 0 equal )
+insert ( 1863 2617 0 'not equal' )
+insert ( 1864 2617 0 'less than' )
+insert ( 1865 2617 0 'greater than' )
+insert ( 1866 2617 0 'less than or equal' )
+insert ( 1867 2617 0 'greater than or equal' )
+insert ( 1868 2617 0 equal )
+insert ( 1869 2617 0 'not equal' )
+insert ( 1870 2617 0 'less than' )
+insert ( 1871 2617 0 'greater than' )
+insert ( 1872 2617 0 'less than or equal' )
+insert ( 1873 2617 0 'greater than or equal' )
+insert ( 1874 2617 0 'bitwise and' )
+insert ( 1875 2617 0 'bitwise or' )
+insert ( 1876 2617 0 'bitwise exclusive or' )
+insert ( 1877 2617 0 'bitwise not' )
+insert ( 1878 2617 0 'bitwise shift left' )
+insert ( 1879 2617 0 'bitwise shift right' )
+insert ( 1880 2617 0 'bitwise and' )
+insert ( 1881 2617 0 'bitwise or' )
+insert ( 1882 2617 0 'bitwise exclusive or' )
+insert ( 1883 2617 0 'bitwise not' )
+insert ( 1884 2617 0 'bitwise shift left' )
+insert ( 1885 2617 0 'bitwise shift right' )
+insert ( 1886 2617 0 'bitwise and' )
+insert ( 1887 2617 0 'bitwise or' )
+insert ( 1888 2617 0 'bitwise exclusive or' )
+insert ( 1889 2617 0 'bitwise not' )
+insert ( 1890 2617 0 'bitwise shift left' )
+insert ( 1891 2617 0 'bitwise shift right' )
+insert ( 1916 2617 0 'unary plus' )
+insert ( 1917 2617 0 'unary plus' )
+insert ( 1918 2617 0 'unary plus' )
+insert ( 1919 2617 0 'unary plus' )
+insert ( 1920 2617 0 'unary plus' )
+insert ( 1921 2617 0 'unary plus' )
+insert ( 1955 2617 0 equal )
+insert ( 1956 2617 0 'not equal' )
+insert ( 1957 2617 0 'less than' )
+insert ( 1958 2617 0 'less than or equal' )
+insert ( 1959 2617 0 'greater than' )
+insert ( 1960 2617 0 'greater than or equal' )
+insert ( 2016 2617 0 'matches LIKE expression' )
+insert ( 2017 2617 0 'does not match LIKE expression' )
+insert ( 2018 2617 0 concatenate )
+insert ( 2060 2617 0 equal )
+insert ( 2061 2617 0 'not equal' )
+insert ( 2062 2617 0 'less than' )
+insert ( 2063 2617 0 'less than or equal' )
+insert ( 2064 2617 0 'greater than' )
+insert ( 2065 2617 0 'greater than or equal' )
+insert ( 2066 2617 0 add )
+insert ( 2067 2617 0 subtract )
+insert ( 2068 2617 0 subtract )
+insert ( 2314 2617 0 'less than' )
+insert ( 2315 2617 0 'less than or equal' )
+insert ( 2317 2617 0 'greater than or equal' )
+insert ( 2318 2617 0 'greater than' )
+insert ( 2326 2617 0 'less than' )
+insert ( 2327 2617 0 'less than or equal' )
+insert ( 2329 2617 0 'greater than or equal' )
+insert ( 2330 2617 0 'greater than' )
+insert ( 2345 2617 0 'less than' )
+insert ( 2346 2617 0 'less than or equal' )
+insert ( 2347 2617 0 equal )
+insert ( 2348 2617 0 'greater than or equal' )
+insert ( 2349 2617 0 'greater than' )
+insert ( 2350 2617 0 'not equal' )
+insert ( 2358 2617 0 'less than' )
+insert ( 2359 2617 0 'less than or equal' )
+insert ( 2360 2617 0 equal )
+insert ( 2361 2617 0 'greater than or equal' )
+insert ( 2362 2617 0 'greater than' )
+insert ( 2363 2617 0 'not equal' )
+insert ( 2371 2617 0 'less than' )
+insert ( 2372 2617 0 'less than or equal' )
+insert ( 2373 2617 0 equal )
+insert ( 2374 2617 0 'greater than or equal' )
+insert ( 2375 2617 0 'greater than' )
+insert ( 2376 2617 0 'not equal' )
+insert ( 2384 2617 0 'less than' )
+insert ( 2385 2617 0 'less than or equal' )
+insert ( 2386 2617 0 equal )
+insert ( 2387 2617 0 'greater than or equal' )
+insert ( 2388 2617 0 'greater than' )
+insert ( 2389 2617 0 'not equal' )
+insert ( 2534 2617 0 'less than' )
+insert ( 2535 2617 0 'less than or equal' )
+insert ( 2536 2617 0 equal )
+insert ( 2537 2617 0 'greater than or equal' )
+insert ( 2538 2617 0 'greater than' )
+insert ( 2539 2617 0 'not equal' )
+insert ( 2540 2617 0 'less than' )
+insert ( 2541 2617 0 'less than or equal' )
+insert ( 2542 2617 0 equal )
+insert ( 2543 2617 0 'greater than or equal' )
+insert ( 2544 2617 0 'greater than' )
+insert ( 2545 2617 0 'not equal' )
+insert ( 2551 2617 0 add )
+insert ( 2552 2617 0 add )
+insert ( 2553 2617 0 add )
+insert ( 2554 2617 0 add )
+insert ( 2555 2617 0 add )
+insert ( 2570 2617 0 'is below' )
+insert ( 2571 2617 0 'overlaps or is below' )
+insert ( 2572 2617 0 'overlaps or is above' )
+insert ( 2573 2617 0 'is above' )
+insert ( 2574 2617 0 'is below' )
+insert ( 2575 2617 0 'overlaps or is below' )
+insert ( 2576 2617 0 'overlaps or is above' )
+insert ( 2577 2617 0 'is above' )
+insert ( 2589 2617 0 'overlaps or is below' )
+insert ( 2590 2617 0 'overlaps or is above' )
+insert ( 2750 2617 0 overlaps )
+insert ( 2751 2617 0 contains )
+insert ( 2752 2617 0 'is contained by' )
+insert ( 2779 2617 0 concatenate )
+insert ( 2780 2617 0 concatenate )
+insert ( 2972 2617 0 equal )
+insert ( 2973 2617 0 'not equal' )
+insert ( 2974 2617 0 'less than' )
+insert ( 2975 2617 0 'greater than' )
+insert ( 2976 2617 0 'less than or equal' )
+insert ( 2977 2617 0 'greater than or equal' )
+insert ( 3222 2617 0 equal )
+insert ( 3223 2617 0 'not equal' )
+insert ( 3224 2617 0 'less than' )
+insert ( 3225 2617 0 'greater than' )
+insert ( 3226 2617 0 'less than or equal' )
+insert ( 3227 2617 0 'greater than or equal' )
+insert ( 3228 2617 0 minus )
+insert ( 5025 2617 0 add )
+insert ( 5026 2617 0 add )
+insert ( 5027 2617 0 subtract )
+insert ( 3516 2617 0 equal )
+insert ( 3517 2617 0 'not equal' )
+insert ( 3518 2617 0 'less than' )
+insert ( 3519 2617 0 'greater than' )
+insert ( 3520 2617 0 'less than or equal' )
+insert ( 3521 2617 0 'greater than or equal' )
+insert ( 3627 2617 0 'less than' )
+insert ( 3628 2617 0 'less than or equal' )
+insert ( 3629 2617 0 equal )
+insert ( 3630 2617 0 'not equal' )
+insert ( 3631 2617 0 'greater than or equal' )
+insert ( 3632 2617 0 'greater than' )
+insert ( 3633 2617 0 concatenate )
+insert ( 3636 2617 0 'text search match' )
+insert ( 3637 2617 0 'text search match' )
+insert ( 3660 2617 0 'deprecated, use @@ instead' )
+insert ( 3661 2617 0 'deprecated, use @@ instead' )
+insert ( 3674 2617 0 'less than' )
+insert ( 3675 2617 0 'less than or equal' )
+insert ( 3676 2617 0 equal )
+insert ( 3677 2617 0 'not equal' )
+insert ( 3678 2617 0 'greater than or equal' )
+insert ( 3679 2617 0 'greater than' )
+insert ( 3680 2617 0 AND-concatenate )
+insert ( 3681 2617 0 OR-concatenate )
+insert ( 5005 2617 0 phrase-concatenate )
+insert ( 3682 2617 0 'NOT tsquery' )
+insert ( 3693 2617 0 contains )
+insert ( 3694 2617 0 'is contained by' )
+insert ( 3762 2617 0 'text search match' )
+insert ( 3763 2617 0 'text search match' )
+insert ( 2988 2617 0 equal )
+insert ( 2989 2617 0 'not equal' )
+insert ( 2990 2617 0 'less than' )
+insert ( 2991 2617 0 'greater than' )
+insert ( 2992 2617 0 'less than or equal' )
+insert ( 2993 2617 0 'greater than or equal' )
+insert ( 3188 2617 0 identical )
+insert ( 3189 2617 0 'not identical' )
+insert ( 3190 2617 0 'less than' )
+insert ( 3191 2617 0 'greater than' )
+insert ( 3192 2617 0 'less than or equal' )
+insert ( 3193 2617 0 'greater than or equal' )
+insert ( 3882 2617 0 equal )
+insert ( 3883 2617 0 'not equal' )
+insert ( 3884 2617 0 'less than' )
+insert ( 3885 2617 0 'less than or equal' )
+insert ( 3886 2617 0 'greater than or equal' )
+insert ( 3887 2617 0 'greater than' )
+insert ( 3888 2617 0 overlaps )
+insert ( 3889 2617 0 contains )
+insert ( 3890 2617 0 contains )
+insert ( 3891 2617 0 'is contained by' )
+insert ( 3892 2617 0 'is contained by' )
+insert ( 3893 2617 0 'is left of' )
+insert ( 3894 2617 0 'is right of' )
+insert ( 3895 2617 0 'overlaps or is left of' )
+insert ( 3896 2617 0 'overlaps or is right of' )
+insert ( 3897 2617 0 'is adjacent to' )
+insert ( 3898 2617 0 'range union' )
+insert ( 3899 2617 0 'range difference' )
+insert ( 3900 2617 0 'range intersection' )
+insert ( 3962 2617 0 'get json object field' )
+insert ( 3963 2617 0 'get json object field as text' )
+insert ( 3964 2617 0 'get json array element' )
+insert ( 3965 2617 0 'get json array element as text' )
+insert ( 3966 2617 0 'get value from json with path elements' )
+insert ( 3967 2617 0 'get value from json as text with path elements' )
+insert ( 3211 2617 0 'get jsonb object field' )
+insert ( 3477 2617 0 'get jsonb object field as text' )
+insert ( 3212 2617 0 'get jsonb array element' )
+insert ( 3481 2617 0 'get jsonb array element as text' )
+insert ( 3213 2617 0 'get value from jsonb with path elements' )
+insert ( 3206 2617 0 'get value from jsonb as text with path elements' )
+insert ( 3240 2617 0 equal )
+insert ( 3241 2617 0 'not equal' )
+insert ( 3242 2617 0 'less than' )
+insert ( 3243 2617 0 'greater than' )
+insert ( 3244 2617 0 'less than or equal' )
+insert ( 3245 2617 0 'greater than or equal' )
+insert ( 3246 2617 0 contains )
+insert ( 3247 2617 0 'key exists' )
+insert ( 3248 2617 0 'any key exists' )
+insert ( 3249 2617 0 'all keys exist' )
+insert ( 3250 2617 0 'is contained by' )
+insert ( 3284 2617 0 concatenate )
+insert ( 3285 2617 0 'delete object field' )
+insert ( 3398 2617 0 'delete object fields' )
+insert ( 3286 2617 0 'delete array element' )
+insert ( 3287 2617 0 'delete path' )
+insert ( 4012 2617 0 'jsonpath exists' )
+insert ( 4013 2617 0 'jsonpath match' )
+insert ( 2860 2617 0 equal )
+insert ( 2861 2617 0 'not equal' )
+insert ( 2862 2617 0 'less than' )
+insert ( 2863 2617 0 'less than or equal' )
+insert ( 2864 2617 0 'greater than or equal' )
+insert ( 2865 2617 0 'greater than' )
+insert ( 2866 2617 0 overlaps )
+insert ( 2867 2617 0 overlaps )
+insert ( 2868 2617 0 overlaps )
+insert ( 2869 2617 0 contains )
+insert ( 2870 2617 0 contains )
+insert ( 2871 2617 0 contains )
+insert ( 2872 2617 0 'is contained by' )
+insert ( 2873 2617 0 'is contained by' )
+insert ( 2874 2617 0 'is contained by' )
+insert ( 4539 2617 0 contains )
+insert ( 4540 2617 0 'is contained by' )
+insert ( 2875 2617 0 'overlaps or is left of' )
+insert ( 2876 2617 0 'overlaps or is left of' )
+insert ( 2877 2617 0 'overlaps or is left of' )
+insert ( 3585 2617 0 'overlaps or is right of' )
+insert ( 4035 2617 0 'overlaps or is right of' )
+insert ( 4142 2617 0 'overlaps or is right of' )
+insert ( 4179 2617 0 'is adjacent to' )
+insert ( 4180 2617 0 'is adjacent to' )
+insert ( 4198 2617 0 'is adjacent to' )
+insert ( 4392 2617 0 'multirange union' )
+insert ( 4393 2617 0 'multirange minus' )
+insert ( 4394 2617 0 'multirange intersect' )
+insert ( 4395 2617 0 'is left of' )
+insert ( 4396 2617 0 'is left of' )
+insert ( 4397 2617 0 'is left of' )
+insert ( 4398 2617 0 'is right of' )
+insert ( 4399 2617 0 'is right of' )
+insert ( 4400 2617 0 'is right of' )
+insert ( 2 2601 0 'heap table access method' )
+insert ( 403 2601 0 'b-tree index access method' )
+insert ( 405 2601 0 'hash index access method' )
+insert ( 783 2601 0 'GiST index access method' )
+insert ( 2742 2601 0 'GIN index access method' )
+insert ( 4000 2601 0 'SP-GiST index access method' )
+insert ( 3580 2601 0 'block range index (BRIN) access method' )
+insert ( 12 2612 0 'built-in functions' )
+insert ( 13 2612 0 'dynamically-loaded C functions' )
+insert ( 14 2612 0 'SQL-language functions' )
+insert ( 11 2615 0 'system catalog schema' )
+insert ( 99 2615 0 'reserved schema for TOAST tables' )
+insert ( 2200 2615 0 'standard public schema' )
+insert ( 4402 2607 0 'conversion for KOI8R to MULE_INTERNAL' )
+insert ( 4403 2607 0 'conversion for MULE_INTERNAL to KOI8R' )
+insert ( 4404 2607 0 'conversion for ISO-8859-5 to MULE_INTERNAL' )
+insert ( 4405 2607 0 'conversion for MULE_INTERNAL to ISO-8859-5' )
+insert ( 4406 2607 0 'conversion for WIN1251 to MULE_INTERNAL' )
+insert ( 4407 2607 0 'conversion for MULE_INTERNAL to WIN1251' )
+insert ( 4408 2607 0 'conversion for WIN866 to MULE_INTERNAL' )
+insert ( 4409 2607 0 'conversion for MULE_INTERNAL to WIN866' )
+insert ( 4410 2607 0 'conversion for KOI8R to WIN1251' )
+insert ( 4411 2607 0 'conversion for WIN1251 to KOI8R' )
+insert ( 4412 2607 0 'conversion for KOI8R to WIN866' )
+insert ( 4413 2607 0 'conversion for WIN866 to KOI8R' )
+insert ( 4414 2607 0 'conversion for WIN866 to WIN1251' )
+insert ( 4415 2607 0 'conversion for WIN1251 to WIN866' )
+insert ( 4416 2607 0 'conversion for ISO-8859-5 to KOI8R' )
+insert ( 4417 2607 0 'conversion for KOI8R to ISO-8859-5' )
+insert ( 4418 2607 0 'conversion for ISO-8859-5 to WIN1251' )
+insert ( 4419 2607 0 'conversion for WIN1251 to ISO-8859-5' )
+insert ( 4420 2607 0 'conversion for ISO-8859-5 to WIN866' )
+insert ( 4421 2607 0 'conversion for WIN866 to ISO-8859-5' )
+insert ( 4422 2607 0 'conversion for EUC_CN to MULE_INTERNAL' )
+insert ( 4423 2607 0 'conversion for MULE_INTERNAL to EUC_CN' )
+insert ( 4424 2607 0 'conversion for EUC_JP to SJIS' )
+insert ( 4425 2607 0 'conversion for SJIS to EUC_JP' )
+insert ( 4426 2607 0 'conversion for EUC_JP to MULE_INTERNAL' )
+insert ( 4427 2607 0 'conversion for SJIS to MULE_INTERNAL' )
+insert ( 4428 2607 0 'conversion for MULE_INTERNAL to EUC_JP' )
+insert ( 4429 2607 0 'conversion for MULE_INTERNAL to SJIS' )
+insert ( 4430 2607 0 'conversion for EUC_KR to MULE_INTERNAL' )
+insert ( 4431 2607 0 'conversion for MULE_INTERNAL to EUC_KR' )
+insert ( 4432 2607 0 'conversion for EUC_TW to BIG5' )
+insert ( 4433 2607 0 'conversion for BIG5 to EUC_TW' )
+insert ( 4434 2607 0 'conversion for EUC_TW to MULE_INTERNAL' )
+insert ( 4435 2607 0 'conversion for BIG5 to MULE_INTERNAL' )
+insert ( 4436 2607 0 'conversion for MULE_INTERNAL to EUC_TW' )
+insert ( 4437 2607 0 'conversion for MULE_INTERNAL to BIG5' )
+insert ( 4438 2607 0 'conversion for LATIN2 to MULE_INTERNAL' )
+insert ( 4439 2607 0 'conversion for MULE_INTERNAL to LATIN2' )
+insert ( 4440 2607 0 'conversion for WIN1250 to MULE_INTERNAL' )
+insert ( 4441 2607 0 'conversion for MULE_INTERNAL to WIN1250' )
+insert ( 4442 2607 0 'conversion for LATIN2 to WIN1250' )
+insert ( 4443 2607 0 'conversion for WIN1250 to LATIN2' )
+insert ( 4444 2607 0 'conversion for LATIN1 to MULE_INTERNAL' )
+insert ( 4445 2607 0 'conversion for MULE_INTERNAL to LATIN1' )
+insert ( 4446 2607 0 'conversion for LATIN3 to MULE_INTERNAL' )
+insert ( 4447 2607 0 'conversion for MULE_INTERNAL to LATIN3' )
+insert ( 4448 2607 0 'conversion for LATIN4 to MULE_INTERNAL' )
+insert ( 4449 2607 0 'conversion for MULE_INTERNAL to LATIN4' )
+insert ( 4452 2607 0 'conversion for BIG5 to UTF8' )
+insert ( 4453 2607 0 'conversion for UTF8 to BIG5' )
+insert ( 4454 2607 0 'conversion for UTF8 to KOI8R' )
+insert ( 4455 2607 0 'conversion for KOI8R to UTF8' )
+insert ( 4456 2607 0 'conversion for UTF8 to KOI8U' )
+insert ( 4457 2607 0 'conversion for KOI8U to UTF8' )
+insert ( 4458 2607 0 'conversion for UTF8 to WIN866' )
+insert ( 4459 2607 0 'conversion for WIN866 to UTF8' )
+insert ( 4460 2607 0 'conversion for UTF8 to WIN874' )
+insert ( 4461 2607 0 'conversion for WIN874 to UTF8' )
+insert ( 4462 2607 0 'conversion for UTF8 to WIN1250' )
+insert ( 4463 2607 0 'conversion for WIN1250 to UTF8' )
+insert ( 4464 2607 0 'conversion for UTF8 to WIN1251' )
+insert ( 4465 2607 0 'conversion for WIN1251 to UTF8' )
+insert ( 4466 2607 0 'conversion for UTF8 to WIN1252' )
+insert ( 4467 2607 0 'conversion for WIN1252 to UTF8' )
+insert ( 4468 2607 0 'conversion for UTF8 to WIN1253' )
+insert ( 4469 2607 0 'conversion for WIN1253 to UTF8' )
+insert ( 4470 2607 0 'conversion for UTF8 to WIN1254' )
+insert ( 4471 2607 0 'conversion for WIN1254 to UTF8' )
+insert ( 4472 2607 0 'conversion for UTF8 to WIN1255' )
+insert ( 4473 2607 0 'conversion for WIN1255 to UTF8' )
+insert ( 4474 2607 0 'conversion for UTF8 to WIN1256' )
+insert ( 4475 2607 0 'conversion for WIN1256 to UTF8' )
+insert ( 4476 2607 0 'conversion for UTF8 to WIN1257' )
+insert ( 4477 2607 0 'conversion for WIN1257 to UTF8' )
+insert ( 4478 2607 0 'conversion for UTF8 to WIN1258' )
+insert ( 4479 2607 0 'conversion for WIN1258 to UTF8' )
+insert ( 4480 2607 0 'conversion for EUC_CN to UTF8' )
+insert ( 4481 2607 0 'conversion for UTF8 to EUC_CN' )
+insert ( 4482 2607 0 'conversion for EUC_JP to UTF8' )
+insert ( 4483 2607 0 'conversion for UTF8 to EUC_JP' )
+insert ( 4484 2607 0 'conversion for EUC_KR to UTF8' )
+insert ( 4485 2607 0 'conversion for UTF8 to EUC_KR' )
+insert ( 4486 2607 0 'conversion for EUC_TW to UTF8' )
+insert ( 4487 2607 0 'conversion for UTF8 to EUC_TW' )
+insert ( 4488 2607 0 'conversion for GB18030 to UTF8' )
+insert ( 4489 2607 0 'conversion for UTF8 to GB18030' )
+insert ( 4490 2607 0 'conversion for GBK to UTF8' )
+insert ( 4491 2607 0 'conversion for UTF8 to GBK' )
+insert ( 4492 2607 0 'conversion for UTF8 to LATIN2' )
+insert ( 4493 2607 0 'conversion for LATIN2 to UTF8' )
+insert ( 4494 2607 0 'conversion for UTF8 to LATIN3' )
+insert ( 4495 2607 0 'conversion for LATIN3 to UTF8' )
+insert ( 4496 2607 0 'conversion for UTF8 to LATIN4' )
+insert ( 4497 2607 0 'conversion for LATIN4 to UTF8' )
+insert ( 4498 2607 0 'conversion for UTF8 to LATIN5' )
+insert ( 4499 2607 0 'conversion for LATIN5 to UTF8' )
+insert ( 4500 2607 0 'conversion for UTF8 to LATIN6' )
+insert ( 4501 2607 0 'conversion for LATIN6 to UTF8' )
+insert ( 4502 2607 0 'conversion for UTF8 to LATIN7' )
+insert ( 4503 2607 0 'conversion for LATIN7 to UTF8' )
+insert ( 4504 2607 0 'conversion for UTF8 to LATIN8' )
+insert ( 4505 2607 0 'conversion for LATIN8 to UTF8' )
+insert ( 4506 2607 0 'conversion for UTF8 to LATIN9' )
+insert ( 4507 2607 0 'conversion for LATIN9 to UTF8' )
+insert ( 4508 2607 0 'conversion for UTF8 to LATIN10' )
+insert ( 4509 2607 0 'conversion for LATIN10 to UTF8' )
+insert ( 4510 2607 0 'conversion for UTF8 to ISO-8859-5' )
+insert ( 4511 2607 0 'conversion for ISO-8859-5 to UTF8' )
+insert ( 4512 2607 0 'conversion for UTF8 to ISO-8859-6' )
+insert ( 4513 2607 0 'conversion for ISO-8859-6 to UTF8' )
+insert ( 4514 2607 0 'conversion for UTF8 to ISO-8859-7' )
+insert ( 4515 2607 0 'conversion for ISO-8859-7 to UTF8' )
+insert ( 4516 2607 0 'conversion for UTF8 to ISO-8859-8' )
+insert ( 4517 2607 0 'conversion for ISO-8859-8 to UTF8' )
+insert ( 4518 2607 0 'conversion for LATIN1 to UTF8' )
+insert ( 4519 2607 0 'conversion for UTF8 to LATIN1' )
+insert ( 4520 2607 0 'conversion for JOHAB to UTF8' )
+insert ( 4521 2607 0 'conversion for UTF8 to JOHAB' )
+insert ( 4522 2607 0 'conversion for SJIS to UTF8' )
+insert ( 4523 2607 0 'conversion for UTF8 to SJIS' )
+insert ( 4524 2607 0 'conversion for UHC to UTF8' )
+insert ( 4525 2607 0 'conversion for UTF8 to UHC' )
+insert ( 4526 2607 0 'conversion for EUC_JIS_2004 to UTF8' )
+insert ( 4527 2607 0 'conversion for UTF8 to EUC_JIS_2004' )
+insert ( 4528 2607 0 'conversion for SHIFT_JIS_2004 to UTF8' )
+insert ( 4529 2607 0 'conversion for UTF8 to SHIFT_JIS_2004' )
+insert ( 4530 2607 0 'conversion for EUC_JIS_2004 to SHIFT_JIS_2004' )
+insert ( 4531 2607 0 'conversion for SHIFT_JIS_2004 to EUC_JIS_2004' )
+insert ( 3748 3602 0 'simple configuration' )
+insert ( 3765 3600 0 'simple dictionary: just lower case and check for stopword' )
+insert ( 3722 3601 0 'default word parser' )
+insert ( 3727 3764 0 'simple dictionary: just lower case and check for stopword' )
+insert ( 3730 3764 0 'synonym dictionary: replace word by its synonym' )
+insert ( 3733 3764 0 'ispell dictionary' )
+insert ( 3742 3764 0 'thesaurus dictionary: phrase by phrase substitution' )
+insert ( 100 3456 0 'database''s default collation' )
+insert ( 950 3456 0 'standard C collation' )
+insert ( 951 3456 0 'standard POSIX collation' )
+insert ( 962 3456 0 'sorts by Unicode code point' )
+insert ( 963 3456 0 'sorts using the Unicode Collation Algorithm with default settings' )
+close pg_description
+create pg_cast 2605
+ (
+ oid = oid ,
+ castsource = oid ,
+ casttarget = oid ,
+ castfunc = oid ,
+ castcontext = char ,
+ castmethod = char
+ )
+open pg_cast
+insert ( 10000 20 21 714 a f )
+insert ( 10001 20 23 480 a f )
+insert ( 10002 20 700 652 i f )
+insert ( 10003 20 701 482 i f )
+insert ( 10004 20 1700 1781 i f )
+insert ( 10005 21 20 754 i f )
+insert ( 10006 21 23 313 i f )
+insert ( 10007 21 700 236 i f )
+insert ( 10008 21 701 235 i f )
+insert ( 10009 21 1700 1782 i f )
+insert ( 10010 23 20 481 i f )
+insert ( 10011 23 21 314 a f )
+insert ( 10012 23 700 318 i f )
+insert ( 10013 23 701 316 i f )
+insert ( 10014 23 1700 1740 i f )
+insert ( 10015 700 20 653 a f )
+insert ( 10016 700 21 238 a f )
+insert ( 10017 700 23 319 a f )
+insert ( 10018 700 701 311 i f )
+insert ( 10019 700 1700 1742 a f )
+insert ( 10020 701 20 483 a f )
+insert ( 10021 701 21 237 a f )
+insert ( 10022 701 23 317 a f )
+insert ( 10023 701 700 312 a f )
+insert ( 10024 701 1700 1743 a f )
+insert ( 10025 1700 20 1779 a f )
+insert ( 10026 1700 21 1783 a f )
+insert ( 10027 1700 23 1744 a f )
+insert ( 10028 1700 700 1745 i f )
+insert ( 10029 1700 701 1746 i f )
+insert ( 10030 790 1700 3823 a f )
+insert ( 10031 1700 790 3824 a f )
+insert ( 10032 23 790 3811 a f )
+insert ( 10033 20 790 3812 a f )
+insert ( 10034 23 16 2557 e f )
+insert ( 10035 16 23 2558 e f )
+insert ( 10036 5069 28 5071 e f )
+insert ( 10037 20 26 1287 i f )
+insert ( 10038 21 26 313 i f )
+insert ( 10039 23 26 0 i b )
+insert ( 10040 26 20 1288 a f )
+insert ( 10041 26 23 0 a b )
+insert ( 10042 26 24 0 i b )
+insert ( 10043 24 26 0 i b )
+insert ( 10044 20 24 1287 i f )
+insert ( 10045 21 24 313 i f )
+insert ( 10046 23 24 0 i b )
+insert ( 10047 24 20 1288 a f )
+insert ( 10048 24 23 0 a b )
+insert ( 10049 24 2202 0 i b )
+insert ( 10050 2202 24 0 i b )
+insert ( 10051 26 2202 0 i b )
+insert ( 10052 2202 26 0 i b )
+insert ( 10053 20 2202 1287 i f )
+insert ( 10054 21 2202 313 i f )
+insert ( 10055 23 2202 0 i b )
+insert ( 10056 2202 20 1288 a f )
+insert ( 10057 2202 23 0 a b )
+insert ( 10058 26 2203 0 i b )
+insert ( 10059 2203 26 0 i b )
+insert ( 10060 20 2203 1287 i f )
+insert ( 10061 21 2203 313 i f )
+insert ( 10062 23 2203 0 i b )
+insert ( 10063 2203 20 1288 a f )
+insert ( 10064 2203 23 0 a b )
+insert ( 10065 2203 2204 0 i b )
+insert ( 10066 2204 2203 0 i b )
+insert ( 10067 26 2204 0 i b )
+insert ( 10068 2204 26 0 i b )
+insert ( 10069 20 2204 1287 i f )
+insert ( 10070 21 2204 313 i f )
+insert ( 10071 23 2204 0 i b )
+insert ( 10072 2204 20 1288 a f )
+insert ( 10073 2204 23 0 a b )
+insert ( 10074 26 2205 0 i b )
+insert ( 10075 2205 26 0 i b )
+insert ( 10076 20 2205 1287 i f )
+insert ( 10077 21 2205 313 i f )
+insert ( 10078 23 2205 0 i b )
+insert ( 10079 2205 20 1288 a f )
+insert ( 10080 2205 23 0 a b )
+insert ( 10081 26 4191 0 i b )
+insert ( 10082 4191 26 0 i b )
+insert ( 10083 20 4191 1287 i f )
+insert ( 10084 21 4191 313 i f )
+insert ( 10085 23 4191 0 i b )
+insert ( 10086 4191 20 1288 a f )
+insert ( 10087 4191 23 0 a b )
+insert ( 10088 26 2206 0 i b )
+insert ( 10089 2206 26 0 i b )
+insert ( 10090 20 2206 1287 i f )
+insert ( 10091 21 2206 313 i f )
+insert ( 10092 23 2206 0 i b )
+insert ( 10093 2206 20 1288 a f )
+insert ( 10094 2206 23 0 a b )
+insert ( 10095 26 3734 0 i b )
+insert ( 10096 3734 26 0 i b )
+insert ( 10097 20 3734 1287 i f )
+insert ( 10098 21 3734 313 i f )
+insert ( 10099 23 3734 0 i b )
+insert ( 10100 3734 20 1288 a f )
+insert ( 10101 3734 23 0 a b )
+insert ( 10102 26 3769 0 i b )
+insert ( 10103 3769 26 0 i b )
+insert ( 10104 20 3769 1287 i f )
+insert ( 10105 21 3769 313 i f )
+insert ( 10106 23 3769 0 i b )
+insert ( 10107 3769 20 1288 a f )
+insert ( 10108 3769 23 0 a b )
+insert ( 10109 25 2205 1079 i f )
+insert ( 10110 1043 2205 1079 i f )
+insert ( 10111 26 4096 0 i b )
+insert ( 10112 4096 26 0 i b )
+insert ( 10113 20 4096 1287 i f )
+insert ( 10114 21 4096 313 i f )
+insert ( 10115 23 4096 0 i b )
+insert ( 10116 4096 20 1288 a f )
+insert ( 10117 4096 23 0 a b )
+insert ( 10118 26 4089 0 i b )
+insert ( 10119 4089 26 0 i b )
+insert ( 10120 20 4089 1287 i f )
+insert ( 10121 21 4089 313 i f )
+insert ( 10122 23 4089 0 i b )
+insert ( 10123 4089 20 1288 a f )
+insert ( 10124 4089 23 0 a b )
+insert ( 10125 25 1042 0 i b )
+insert ( 10126 25 1043 0 i b )
+insert ( 10127 1042 25 401 i f )
+insert ( 10128 1042 1043 401 i f )
+insert ( 10129 1043 25 0 i b )
+insert ( 10130 1043 1042 0 i b )
+insert ( 10131 18 25 946 i f )
+insert ( 10132 18 1042 860 a f )
+insert ( 10133 18 1043 946 a f )
+insert ( 10134 19 25 406 i f )
+insert ( 10135 19 1042 408 a f )
+insert ( 10136 19 1043 1401 a f )
+insert ( 10137 25 18 944 a f )
+insert ( 10138 1042 18 944 a f )
+insert ( 10139 1043 18 944 a f )
+insert ( 10140 25 19 407 i f )
+insert ( 10141 1042 19 409 i f )
+insert ( 10142 1043 19 1400 i f )
+insert ( 10143 18 23 77 e f )
+insert ( 10144 23 18 78 e f )
+insert ( 10145 194 25 0 i b )
+insert ( 10146 3361 17 0 i b )
+insert ( 10147 3361 25 0 i i )
+insert ( 10148 3402 17 0 i b )
+insert ( 10149 3402 25 0 i i )
+insert ( 10150 5017 17 0 i b )
+insert ( 10151 5017 25 0 i i )
+insert ( 10152 1082 1114 2024 i f )
+insert ( 10153 1082 1184 1174 i f )
+insert ( 10154 1083 1186 1370 i f )
+insert ( 10155 1083 1266 2047 i f )
+insert ( 10156 1114 1082 2029 a f )
+insert ( 10157 1114 1083 1316 a f )
+insert ( 10158 1114 1184 2028 i f )
+insert ( 10159 1184 1082 1178 a f )
+insert ( 10160 1184 1083 2019 a f )
+insert ( 10161 1184 1114 2027 a f )
+insert ( 10162 1184 1266 1388 a f )
+insert ( 10163 1186 1083 1419 a f )
+insert ( 10164 1266 1083 2046 a f )
+insert ( 10165 600 603 4091 a f )
+insert ( 10166 601 600 1532 e f )
+insert ( 10167 602 604 1449 a f )
+insert ( 10168 603 600 1534 e f )
+insert ( 10169 603 601 1541 e f )
+insert ( 10170 603 604 1448 a f )
+insert ( 10171 603 718 1479 e f )
+insert ( 10172 604 600 1540 e f )
+insert ( 10173 604 602 1447 a f )
+insert ( 10174 604 603 1446 e f )
+insert ( 10175 604 718 1474 e f )
+insert ( 10176 718 600 1416 e f )
+insert ( 10177 718 603 1480 e f )
+insert ( 10178 718 604 1544 e f )
+insert ( 10179 829 774 4123 i f )
+insert ( 10180 774 829 4124 i f )
+insert ( 10181 650 869 0 i b )
+insert ( 10182 869 650 1715 a f )
+insert ( 10183 1560 1562 0 i b )
+insert ( 10184 1562 1560 0 i b )
+insert ( 10185 20 1560 2075 e f )
+insert ( 10186 23 1560 1683 e f )
+insert ( 10187 1560 20 2076 e f )
+insert ( 10188 1560 23 1684 e f )
+insert ( 10189 650 25 730 a f )
+insert ( 10190 869 25 730 a f )
+insert ( 10191 16 25 2971 a f )
+insert ( 10192 142 25 0 a b )
+insert ( 10193 25 142 2896 e f )
+insert ( 10194 650 1043 730 a f )
+insert ( 10195 869 1043 730 a f )
+insert ( 10196 16 1043 2971 a f )
+insert ( 10197 142 1043 0 a b )
+insert ( 10198 1043 142 2896 e f )
+insert ( 10199 650 1042 730 a f )
+insert ( 10200 869 1042 730 a f )
+insert ( 10201 16 1042 2971 a f )
+insert ( 10202 142 1042 0 a b )
+insert ( 10203 1042 142 2896 e f )
+insert ( 10204 1042 1042 668 i f )
+insert ( 10205 1043 1043 669 i f )
+insert ( 10206 1083 1083 1968 i f )
+insert ( 10207 1114 1114 1961 i f )
+insert ( 10208 1184 1184 1967 i f )
+insert ( 10209 1186 1186 1200 i f )
+insert ( 10210 1266 1266 1969 i f )
+insert ( 10211 1560 1560 1685 i f )
+insert ( 10212 1562 1562 1687 i f )
+insert ( 10213 1700 1700 1703 i f )
+insert ( 10214 114 3802 0 a i )
+insert ( 10215 3802 114 0 a i )
+insert ( 10216 3802 16 3556 e f )
+insert ( 10217 3802 1700 3449 e f )
+insert ( 10218 3802 21 3450 e f )
+insert ( 10219 3802 23 3451 e f )
+insert ( 10220 3802 20 3452 e f )
+insert ( 10221 3802 700 3453 e f )
+insert ( 10222 3802 701 2580 e f )
+insert ( 10223 3904 4451 4281 e f )
+insert ( 10224 3926 4536 4296 e f )
+insert ( 10225 3906 4532 4284 e f )
+insert ( 10226 3912 4535 4293 e f )
+insert ( 10227 3908 4533 4287 e f )
+insert ( 10228 3910 4534 4290 e f )
+close pg_cast
+create pg_enum 3501
+ (
+ oid = oid ,
+ enumtypid = oid ,
+ enumsortorder = float4 ,
+ enumlabel = name
+ )
+open pg_enum
+close pg_enum
+create pg_namespace 2615
+ (
+ oid = oid ,
+ nspname = name ,
+ nspowner = oid ,
+ nspacl = _aclitem
+ )
+open pg_namespace
+insert ( 11 pg_catalog 10 _null_ )
+insert ( 99 pg_toast 10 _null_ )
+insert ( 2200 public 6171 _null_ )
+close pg_namespace
+create pg_conversion 2607
+ (
+ oid = oid ,
+ conname = name ,
+ connamespace = oid ,
+ conowner = oid ,
+ conforencoding = int4 ,
+ contoencoding = int4 ,
+ conproc = regproc ,
+ condefault = bool
+ )
+open pg_conversion
+insert ( 4402 koi8_r_to_mic 11 10 22 7 4302 t )
+insert ( 4403 mic_to_koi8_r 11 10 7 22 4303 t )
+insert ( 4404 iso_8859_5_to_mic 11 10 25 7 4304 t )
+insert ( 4405 mic_to_iso_8859_5 11 10 7 25 4305 t )
+insert ( 4406 windows_1251_to_mic 11 10 23 7 4306 t )
+insert ( 4407 mic_to_windows_1251 11 10 7 23 4307 t )
+insert ( 4408 windows_866_to_mic 11 10 20 7 4308 t )
+insert ( 4409 mic_to_windows_866 11 10 7 20 4309 t )
+insert ( 4410 koi8_r_to_windows_1251 11 10 22 23 4310 t )
+insert ( 4411 windows_1251_to_koi8_r 11 10 23 22 4311 t )
+insert ( 4412 koi8_r_to_windows_866 11 10 22 20 4312 t )
+insert ( 4413 windows_866_to_koi8_r 11 10 20 22 4313 t )
+insert ( 4414 windows_866_to_windows_1251 11 10 20 23 4314 t )
+insert ( 4415 windows_1251_to_windows_866 11 10 23 20 4315 t )
+insert ( 4416 iso_8859_5_to_koi8_r 11 10 25 22 4316 t )
+insert ( 4417 koi8_r_to_iso_8859_5 11 10 22 25 4317 t )
+insert ( 4418 iso_8859_5_to_windows_1251 11 10 25 23 4318 t )
+insert ( 4419 windows_1251_to_iso_8859_5 11 10 23 25 4319 t )
+insert ( 4420 iso_8859_5_to_windows_866 11 10 25 20 4320 t )
+insert ( 4421 windows_866_to_iso_8859_5 11 10 20 25 4321 t )
+insert ( 4422 euc_cn_to_mic 11 10 2 7 4322 t )
+insert ( 4423 mic_to_euc_cn 11 10 7 2 4323 t )
+insert ( 4424 euc_jp_to_sjis 11 10 1 35 4324 t )
+insert ( 4425 sjis_to_euc_jp 11 10 35 1 4325 t )
+insert ( 4426 euc_jp_to_mic 11 10 1 7 4326 t )
+insert ( 4427 sjis_to_mic 11 10 35 7 4327 t )
+insert ( 4428 mic_to_euc_jp 11 10 7 1 4328 t )
+insert ( 4429 mic_to_sjis 11 10 7 35 4329 t )
+insert ( 4430 euc_kr_to_mic 11 10 3 7 4330 t )
+insert ( 4431 mic_to_euc_kr 11 10 7 3 4331 t )
+insert ( 4432 euc_tw_to_big5 11 10 4 36 4332 t )
+insert ( 4433 big5_to_euc_tw 11 10 36 4 4333 t )
+insert ( 4434 euc_tw_to_mic 11 10 4 7 4334 t )
+insert ( 4435 big5_to_mic 11 10 36 7 4335 t )
+insert ( 4436 mic_to_euc_tw 11 10 7 4 4336 t )
+insert ( 4437 mic_to_big5 11 10 7 36 4337 t )
+insert ( 4438 iso_8859_2_to_mic 11 10 9 7 4338 t )
+insert ( 4439 mic_to_iso_8859_2 11 10 7 9 4339 t )
+insert ( 4440 windows_1250_to_mic 11 10 29 7 4340 t )
+insert ( 4441 mic_to_windows_1250 11 10 7 29 4341 t )
+insert ( 4442 iso_8859_2_to_windows_1250 11 10 9 29 4342 t )
+insert ( 4443 windows_1250_to_iso_8859_2 11 10 29 9 4343 t )
+insert ( 4444 iso_8859_1_to_mic 11 10 8 7 4344 t )
+insert ( 4445 mic_to_iso_8859_1 11 10 7 8 4345 t )
+insert ( 4446 iso_8859_3_to_mic 11 10 10 7 4346 t )
+insert ( 4447 mic_to_iso_8859_3 11 10 7 10 4347 t )
+insert ( 4448 iso_8859_4_to_mic 11 10 11 7 4348 t )
+insert ( 4449 mic_to_iso_8859_4 11 10 7 11 4349 t )
+insert ( 4452 big5_to_utf8 11 10 36 6 4352 t )
+insert ( 4453 utf8_to_big5 11 10 6 36 4353 t )
+insert ( 4454 utf8_to_koi8_r 11 10 6 22 4354 t )
+insert ( 4455 koi8_r_to_utf8 11 10 22 6 4355 t )
+insert ( 4456 utf8_to_koi8_u 11 10 6 34 4356 t )
+insert ( 4457 koi8_u_to_utf8 11 10 34 6 4357 t )
+insert ( 4458 utf8_to_windows_866 11 10 6 20 4358 t )
+insert ( 4459 windows_866_to_utf8 11 10 20 6 4359 t )
+insert ( 4460 utf8_to_windows_874 11 10 6 21 4358 t )
+insert ( 4461 windows_874_to_utf8 11 10 21 6 4359 t )
+insert ( 4462 utf8_to_windows_1250 11 10 6 29 4358 t )
+insert ( 4463 windows_1250_to_utf8 11 10 29 6 4359 t )
+insert ( 4464 utf8_to_windows_1251 11 10 6 23 4358 t )
+insert ( 4465 windows_1251_to_utf8 11 10 23 6 4359 t )
+insert ( 4466 utf8_to_windows_1252 11 10 6 24 4358 t )
+insert ( 4467 windows_1252_to_utf8 11 10 24 6 4359 t )
+insert ( 4468 utf8_to_windows_1253 11 10 6 30 4358 t )
+insert ( 4469 windows_1253_to_utf8 11 10 30 6 4359 t )
+insert ( 4470 utf8_to_windows_1254 11 10 6 31 4358 t )
+insert ( 4471 windows_1254_to_utf8 11 10 31 6 4359 t )
+insert ( 4472 utf8_to_windows_1255 11 10 6 32 4358 t )
+insert ( 4473 windows_1255_to_utf8 11 10 32 6 4359 t )
+insert ( 4474 utf8_to_windows_1256 11 10 6 18 4358 t )
+insert ( 4475 windows_1256_to_utf8 11 10 18 6 4359 t )
+insert ( 4476 utf8_to_windows_1257 11 10 6 33 4358 t )
+insert ( 4477 windows_1257_to_utf8 11 10 33 6 4359 t )
+insert ( 4478 utf8_to_windows_1258 11 10 6 19 4358 t )
+insert ( 4479 windows_1258_to_utf8 11 10 19 6 4359 t )
+insert ( 4480 euc_cn_to_utf8 11 10 2 6 4360 t )
+insert ( 4481 utf8_to_euc_cn 11 10 6 2 4361 t )
+insert ( 4482 euc_jp_to_utf8 11 10 1 6 4362 t )
+insert ( 4483 utf8_to_euc_jp 11 10 6 1 4363 t )
+insert ( 4484 euc_kr_to_utf8 11 10 3 6 4364 t )
+insert ( 4485 utf8_to_euc_kr 11 10 6 3 4365 t )
+insert ( 4486 euc_tw_to_utf8 11 10 4 6 4366 t )
+insert ( 4487 utf8_to_euc_tw 11 10 6 4 4367 t )
+insert ( 4488 gb18030_to_utf8 11 10 39 6 4368 t )
+insert ( 4489 utf8_to_gb18030 11 10 6 39 4369 t )
+insert ( 4490 gbk_to_utf8 11 10 37 6 4370 t )
+insert ( 4491 utf8_to_gbk 11 10 6 37 4371 t )
+insert ( 4492 utf8_to_iso_8859_2 11 10 6 9 4372 t )
+insert ( 4493 iso_8859_2_to_utf8 11 10 9 6 4373 t )
+insert ( 4494 utf8_to_iso_8859_3 11 10 6 10 4372 t )
+insert ( 4495 iso_8859_3_to_utf8 11 10 10 6 4373 t )
+insert ( 4496 utf8_to_iso_8859_4 11 10 6 11 4372 t )
+insert ( 4497 iso_8859_4_to_utf8 11 10 11 6 4373 t )
+insert ( 4498 utf8_to_iso_8859_9 11 10 6 12 4372 t )
+insert ( 4499 iso_8859_9_to_utf8 11 10 12 6 4373 t )
+insert ( 4500 utf8_to_iso_8859_10 11 10 6 13 4372 t )
+insert ( 4501 iso_8859_10_to_utf8 11 10 13 6 4373 t )
+insert ( 4502 utf8_to_iso_8859_13 11 10 6 14 4372 t )
+insert ( 4503 iso_8859_13_to_utf8 11 10 14 6 4373 t )
+insert ( 4504 utf8_to_iso_8859_14 11 10 6 15 4372 t )
+insert ( 4505 iso_8859_14_to_utf8 11 10 15 6 4373 t )
+insert ( 4506 utf8_to_iso_8859_15 11 10 6 16 4372 t )
+insert ( 4507 iso_8859_15_to_utf8 11 10 16 6 4373 t )
+insert ( 4508 utf8_to_iso_8859_16 11 10 6 17 4372 t )
+insert ( 4509 iso_8859_16_to_utf8 11 10 17 6 4373 t )
+insert ( 4510 utf8_to_iso_8859_5 11 10 6 25 4372 t )
+insert ( 4511 iso_8859_5_to_utf8 11 10 25 6 4373 t )
+insert ( 4512 utf8_to_iso_8859_6 11 10 6 26 4372 t )
+insert ( 4513 iso_8859_6_to_utf8 11 10 26 6 4373 t )
+insert ( 4514 utf8_to_iso_8859_7 11 10 6 27 4372 t )
+insert ( 4515 iso_8859_7_to_utf8 11 10 27 6 4373 t )
+insert ( 4516 utf8_to_iso_8859_8 11 10 6 28 4372 t )
+insert ( 4517 iso_8859_8_to_utf8 11 10 28 6 4373 t )
+insert ( 4518 iso_8859_1_to_utf8 11 10 8 6 4374 t )
+insert ( 4519 utf8_to_iso_8859_1 11 10 6 8 4375 t )
+insert ( 4520 johab_to_utf8 11 10 40 6 4376 t )
+insert ( 4521 utf8_to_johab 11 10 6 40 4377 t )
+insert ( 4522 sjis_to_utf8 11 10 35 6 4378 t )
+insert ( 4523 utf8_to_sjis 11 10 6 35 4379 t )
+insert ( 4524 uhc_to_utf8 11 10 38 6 4380 t )
+insert ( 4525 utf8_to_uhc 11 10 6 38 4381 t )
+insert ( 4526 euc_jis_2004_to_utf8 11 10 5 6 4382 t )
+insert ( 4527 utf8_to_euc_jis_2004 11 10 6 5 4383 t )
+insert ( 4528 shift_jis_2004_to_utf8 11 10 41 6 4384 t )
+insert ( 4529 utf8_to_shift_jis_2004 11 10 6 41 4385 t )
+insert ( 4530 euc_jis_2004_to_shift_jis_2004 11 10 5 41 4386 t )
+insert ( 4531 shift_jis_2004_to_euc_jis_2004 11 10 41 5 4387 t )
+close pg_conversion
+create pg_depend 2608
+ (
+ classid = oid ,
+ objid = oid ,
+ objsubid = int4 ,
+ refclassid = oid ,
+ refobjid = oid ,
+ refobjsubid = int4 ,
+ deptype = char
+ )
+open pg_depend
+close pg_depend
+create pg_database 1262 shared_relation rowtype_oid 1248
+ (
+ oid = oid ,
+ datname = name ,
+ datdba = oid ,
+ encoding = int4 ,
+ datlocprovider = char ,
+ datistemplate = bool ,
+ datallowconn = bool ,
+ datconnlimit = int4 ,
+ datfrozenxid = xid ,
+ datminmxid = xid ,
+ dattablespace = oid ,
+ datcollate = text FORCE NOT NULL ,
+ datctype = text FORCE NOT NULL ,
+ daticulocale = text ,
+ daticurules = text ,
+ datcollversion = text ,
+ datacl = _aclitem
+ )
+open pg_database
+insert ( 1 template1 10 ENCODING LOCALE_PROVIDER t t -1 0 1 1663 LC_COLLATE LC_CTYPE ICU_LOCALE ICU_RULES _null_ _null_ )
+close pg_database
+create pg_db_role_setting 2964 shared_relation
+ (
+ setdatabase = oid ,
+ setrole = oid ,
+ setconfig = _text
+ )
+open pg_db_role_setting
+close pg_db_role_setting
+create pg_tablespace 1213 shared_relation
+ (
+ oid = oid ,
+ spcname = name ,
+ spcowner = oid ,
+ spcacl = _aclitem ,
+ spcoptions = _text
+ )
+open pg_tablespace
+insert ( 1663 pg_default 10 _null_ _null_ )
+insert ( 1664 pg_global 10 _null_ _null_ )
+close pg_tablespace
+create pg_authid 1260 shared_relation rowtype_oid 2842
+ (
+ oid = oid ,
+ rolname = name ,
+ rolsuper = bool ,
+ rolinherit = bool ,
+ rolcreaterole = bool ,
+ rolcreatedb = bool ,
+ rolcanlogin = bool ,
+ rolreplication = bool ,
+ rolbypassrls = bool ,
+ rolconnlimit = int4 ,
+ rolpassword = text ,
+ rolvaliduntil = timestamptz
+ )
+open pg_authid
+insert ( 10 POSTGRES t t t t t t t -1 _null_ _null_ )
+insert ( 6171 pg_database_owner f t f f f f f -1 _null_ _null_ )
+insert ( 6181 pg_read_all_data f t f f f f f -1 _null_ _null_ )
+insert ( 6182 pg_write_all_data f t f f f f f -1 _null_ _null_ )
+insert ( 3373 pg_monitor f t f f f f f -1 _null_ _null_ )
+insert ( 3374 pg_read_all_settings f t f f f f f -1 _null_ _null_ )
+insert ( 3375 pg_read_all_stats f t f f f f f -1 _null_ _null_ )
+insert ( 3377 pg_stat_scan_tables f t f f f f f -1 _null_ _null_ )
+insert ( 4569 pg_read_server_files f t f f f f f -1 _null_ _null_ )
+insert ( 4570 pg_write_server_files f t f f f f f -1 _null_ _null_ )
+insert ( 4571 pg_execute_server_program f t f f f f f -1 _null_ _null_ )
+insert ( 4200 pg_signal_backend f t f f f f f -1 _null_ _null_ )
+insert ( 4544 pg_checkpoint f t f f f f f -1 _null_ _null_ )
+insert ( 4550 pg_use_reserved_connections f t f f f f f -1 _null_ _null_ )
+insert ( 6304 pg_create_subscription f t f f f f f -1 _null_ _null_ )
+close pg_authid
+create pg_auth_members 1261 shared_relation rowtype_oid 2843
+ (
+ oid = oid ,
+ roleid = oid ,
+ member = oid ,
+ grantor = oid ,
+ admin_option = bool ,
+ inherit_option = bool ,
+ set_option = bool
+ )
+open pg_auth_members
+close pg_auth_members
+create pg_shdepend 1214 shared_relation
+ (
+ dbid = oid ,
+ classid = oid ,
+ objid = oid ,
+ objsubid = int4 ,
+ refclassid = oid ,
+ refobjid = oid ,
+ deptype = char
+ )
+open pg_shdepend
+close pg_shdepend
+create pg_shdescription 2396 shared_relation
+ (
+ objoid = oid ,
+ classoid = oid ,
+ description = text FORCE NOT NULL
+ )
+open pg_shdescription
+insert ( 1 1262 'default template for new databases' )
+close pg_shdescription
+create pg_ts_config 3602
+ (
+ oid = oid ,
+ cfgname = name ,
+ cfgnamespace = oid ,
+ cfgowner = oid ,
+ cfgparser = oid
+ )
+open pg_ts_config
+insert ( 3748 simple 11 10 3722 )
+close pg_ts_config
+create pg_ts_config_map 3603
+ (
+ mapcfg = oid ,
+ maptokentype = int4 ,
+ mapseqno = int4 ,
+ mapdict = oid
+ )
+open pg_ts_config_map
+insert ( 3748 1 1 3765 )
+insert ( 3748 2 1 3765 )
+insert ( 3748 3 1 3765 )
+insert ( 3748 4 1 3765 )
+insert ( 3748 5 1 3765 )
+insert ( 3748 6 1 3765 )
+insert ( 3748 7 1 3765 )
+insert ( 3748 8 1 3765 )
+insert ( 3748 9 1 3765 )
+insert ( 3748 10 1 3765 )
+insert ( 3748 11 1 3765 )
+insert ( 3748 15 1 3765 )
+insert ( 3748 16 1 3765 )
+insert ( 3748 17 1 3765 )
+insert ( 3748 18 1 3765 )
+insert ( 3748 19 1 3765 )
+insert ( 3748 20 1 3765 )
+insert ( 3748 21 1 3765 )
+insert ( 3748 22 1 3765 )
+close pg_ts_config_map
+create pg_ts_dict 3600
+ (
+ oid = oid ,
+ dictname = name ,
+ dictnamespace = oid ,
+ dictowner = oid ,
+ dicttemplate = oid ,
+ dictinitoption = text
+ )
+open pg_ts_dict
+insert ( 3765 simple 11 10 3727 _null_ )
+close pg_ts_dict
+create pg_ts_parser 3601
+ (
+ oid = oid ,
+ prsname = name ,
+ prsnamespace = oid ,
+ prsstart = regproc ,
+ prstoken = regproc ,
+ prsend = regproc ,
+ prsheadline = regproc ,
+ prslextype = regproc
+ )
+open pg_ts_parser
+insert ( 3722 default 11 3717 3718 3719 3720 3721 )
+close pg_ts_parser
+create pg_ts_template 3764
+ (
+ oid = oid ,
+ tmplname = name ,
+ tmplnamespace = oid ,
+ tmplinit = regproc ,
+ tmpllexize = regproc
+ )
+open pg_ts_template
+insert ( 3727 simple 11 3725 3726 )
+insert ( 3730 synonym 11 3728 3729 )
+insert ( 3733 ispell 11 3731 3732 )
+insert ( 3742 thesaurus 11 3740 3741 )
+close pg_ts_template
+create pg_extension 3079
+ (
+ oid = oid ,
+ extname = name ,
+ extowner = oid ,
+ extnamespace = oid ,
+ extrelocatable = bool ,
+ extversion = text FORCE NOT NULL ,
+ extconfig = _oid ,
+ extcondition = _text
+ )
+open pg_extension
+close pg_extension
+create pg_foreign_data_wrapper 2328
+ (
+ oid = oid ,
+ fdwname = name ,
+ fdwowner = oid ,
+ fdwhandler = oid ,
+ fdwvalidator = oid ,
+ fdwacl = _aclitem ,
+ fdwoptions = _text
+ )
+open pg_foreign_data_wrapper
+close pg_foreign_data_wrapper
+create pg_foreign_server 1417
+ (
+ oid = oid ,
+ srvname = name ,
+ srvowner = oid ,
+ srvfdw = oid ,
+ srvtype = text ,
+ srvversion = text ,
+ srvacl = _aclitem ,
+ srvoptions = _text
+ )
+open pg_foreign_server
+close pg_foreign_server
+create pg_user_mapping 1418
+ (
+ oid = oid ,
+ umuser = oid ,
+ umserver = oid ,
+ umoptions = _text
+ )
+open pg_user_mapping
+close pg_user_mapping
+create pg_foreign_table 3118
+ (
+ ftrelid = oid ,
+ ftserver = oid ,
+ ftoptions = _text
+ )
+open pg_foreign_table
+close pg_foreign_table
+create pg_policy 3256
+ (
+ oid = oid ,
+ polname = name ,
+ polrelid = oid ,
+ polcmd = char ,
+ polpermissive = bool ,
+ polroles = _oid FORCE NOT NULL ,
+ polqual = pg_node_tree ,
+ polwithcheck = pg_node_tree
+ )
+open pg_policy
+close pg_policy
+create pg_replication_origin 6000 shared_relation
+ (
+ roident = oid ,
+ roname = text FORCE NOT NULL
+ )
+open pg_replication_origin
+close pg_replication_origin
+create pg_default_acl 826
+ (
+ oid = oid ,
+ defaclrole = oid ,
+ defaclnamespace = oid ,
+ defaclobjtype = char ,
+ defaclacl = _aclitem FORCE NOT NULL
+ )
+open pg_default_acl
+close pg_default_acl
+create pg_init_privs 3394
+ (
+ objoid = oid ,
+ classoid = oid ,
+ objsubid = int4 ,
+ privtype = char ,
+ initprivs = _aclitem FORCE NOT NULL
+ )
+open pg_init_privs
+close pg_init_privs
+create pg_seclabel 3596
+ (
+ objoid = oid ,
+ classoid = oid ,
+ objsubid = int4 ,
+ provider = text FORCE NOT NULL ,
+ label = text FORCE NOT NULL
+ )
+open pg_seclabel
+close pg_seclabel
+create pg_shseclabel 3592 shared_relation rowtype_oid 4066
+ (
+ objoid = oid ,
+ classoid = oid ,
+ provider = text FORCE NOT NULL ,
+ label = text FORCE NOT NULL
+ )
+open pg_shseclabel
+close pg_shseclabel
+create pg_collation 3456
+ (
+ oid = oid ,
+ collname = name ,
+ collnamespace = oid ,
+ collowner = oid ,
+ collprovider = char ,
+ collisdeterministic = bool ,
+ collencoding = int4 ,
+ collcollate = text ,
+ collctype = text ,
+ colliculocale = text ,
+ collicurules = text ,
+ collversion = text
+ )
+open pg_collation
+insert ( 100 default 11 10 d t -1 _null_ _null_ _null_ _null_ _null_ )
+insert ( 950 C 11 10 c t -1 C C _null_ _null_ _null_ )
+insert ( 951 POSIX 11 10 c t -1 POSIX POSIX _null_ _null_ _null_ )
+insert ( 962 ucs_basic 11 10 c t 6 C C _null_ _null_ _null_ )
+insert ( 963 unicode 11 10 i t -1 _null_ _null_ und _null_ _null_ )
+close pg_collation
+create pg_parameter_acl 6243 shared_relation
+ (
+ oid = oid ,
+ parname = text FORCE NOT NULL ,
+ paracl = _aclitem
+ )
+open pg_parameter_acl
+close pg_parameter_acl
+create pg_partitioned_table 3350
+ (
+ partrelid = oid ,
+ partstrat = char ,
+ partnatts = int2 ,
+ partdefid = oid ,
+ partattrs = int2vector FORCE NOT NULL ,
+ partclass = oidvector FORCE NOT NULL ,
+ partcollation = oidvector FORCE NOT NULL ,
+ partexprs = pg_node_tree
+ )
+open pg_partitioned_table
+close pg_partitioned_table
+create pg_range 3541
+ (
+ rngtypid = oid ,
+ rngsubtype = oid ,
+ rngmultitypid = oid ,
+ rngcollation = oid ,
+ rngsubopc = oid ,
+ rngcanonical = regproc ,
+ rngsubdiff = regproc
+ )
+open pg_range
+insert ( 3904 23 4451 0 1978 3914 3922 )
+insert ( 3906 1700 4532 0 3125 - 3924 )
+insert ( 3908 1114 4533 0 3128 - 3929 )
+insert ( 3910 1184 4534 0 3127 - 3930 )
+insert ( 3912 1082 4535 0 3122 3915 3925 )
+insert ( 3926 20 4536 0 3124 3928 3923 )
+close pg_range
+create pg_transform 3576
+ (
+ oid = oid ,
+ trftype = oid ,
+ trflang = oid ,
+ trffromsql = regproc ,
+ trftosql = regproc
+ )
+open pg_transform
+close pg_transform
+create pg_sequence 2224
+ (
+ seqrelid = oid ,
+ seqtypid = oid ,
+ seqstart = int8 ,
+ seqincrement = int8 ,
+ seqmax = int8 ,
+ seqmin = int8 ,
+ seqcache = int8 ,
+ seqcycle = bool
+ )
+open pg_sequence
+close pg_sequence
+create pg_publication 6104
+ (
+ oid = oid ,
+ pubname = name ,
+ pubowner = oid ,
+ puballtables = bool ,
+ pubinsert = bool ,
+ pubupdate = bool ,
+ pubdelete = bool ,
+ pubtruncate = bool ,
+ pubviaroot = bool
+ )
+open pg_publication
+close pg_publication
+create pg_publication_namespace 6237
+ (
+ oid = oid ,
+ pnpubid = oid ,
+ pnnspid = oid
+ )
+open pg_publication_namespace
+close pg_publication_namespace
+create pg_publication_rel 6106
+ (
+ oid = oid ,
+ prpubid = oid ,
+ prrelid = oid ,
+ prqual = pg_node_tree ,
+ prattrs = int2vector
+ )
+open pg_publication_rel
+close pg_publication_rel
+create pg_subscription 6100 shared_relation rowtype_oid 6101
+ (
+ oid = oid ,
+ subdbid = oid ,
+ subskiplsn = pg_lsn ,
+ subname = name ,
+ subowner = oid ,
+ subenabled = bool ,
+ subbinary = bool ,
+ substream = char ,
+ subtwophasestate = char ,
+ subdisableonerr = bool ,
+ subpasswordrequired = bool ,
+ subrunasowner = bool ,
+ subconninfo = text FORCE NOT NULL ,
+ subslotname = name FORCE NULL ,
+ subsynccommit = text FORCE NOT NULL ,
+ subpublications = _text FORCE NOT NULL ,
+ suborigin = text
+ )
+open pg_subscription
+close pg_subscription
+create pg_subscription_rel 6102
+ (
+ srsubid = oid ,
+ srrelid = oid ,
+ srsubstate = char ,
+ srsublsn = pg_lsn FORCE NULL
+ )
+open pg_subscription_rel
+close pg_subscription_rel
+declare toast 2836 2837 on pg_proc
+declare toast 4171 4172 on pg_type
+declare toast 2830 2831 on pg_attrdef
+declare toast 2832 2833 on pg_constraint
+declare toast 4157 4158 on pg_language
+declare toast 4159 4160 on pg_aggregate
+declare toast 2840 2841 on pg_statistic
+declare toast 3439 3440 on pg_statistic_ext
+declare toast 3430 3431 on pg_statistic_ext_data
+declare toast 2838 2839 on pg_rewrite
+declare toast 2336 2337 on pg_trigger
+declare toast 4145 4146 on pg_event_trigger
+declare toast 2834 2835 on pg_description
+declare toast 4163 4164 on pg_namespace
+declare toast 4177 4178 on pg_database
+declare toast 2966 2967 on pg_db_role_setting
+declare toast 4185 4186 on pg_tablespace
+declare toast 4175 4176 on pg_authid
+declare toast 2846 2847 on pg_shdescription
+declare toast 4169 4170 on pg_ts_dict
+declare toast 4147 4148 on pg_extension
+declare toast 4149 4150 on pg_foreign_data_wrapper
+declare toast 4151 4152 on pg_foreign_server
+declare toast 4173 4174 on pg_user_mapping
+declare toast 4153 4154 on pg_foreign_table
+declare toast 4167 4168 on pg_policy
+declare toast 4181 4182 on pg_replication_origin
+declare toast 4143 4144 on pg_default_acl
+declare toast 4155 4156 on pg_init_privs
+declare toast 3598 3599 on pg_seclabel
+declare toast 4060 4061 on pg_shseclabel
+declare toast 6175 6176 on pg_collation
+declare toast 6244 6245 on pg_parameter_acl
+declare toast 4165 4166 on pg_partitioned_table
+declare toast 6228 6229 on pg_publication_rel
+declare toast 4183 4184 on pg_subscription
+declare unique index pg_proc_oid_index 2690 on pg_proc using btree(oid oid_ops)
+declare unique index pg_proc_proname_args_nsp_index 2691 on pg_proc using btree(proname name_ops, proargtypes oidvector_ops, pronamespace oid_ops)
+declare unique index pg_type_oid_index 2703 on pg_type using btree(oid oid_ops)
+declare unique index pg_type_typname_nsp_index 2704 on pg_type using btree(typname name_ops, typnamespace oid_ops)
+declare unique index pg_attribute_relid_attnam_index 2658 on pg_attribute using btree(attrelid oid_ops, attname name_ops)
+declare unique index pg_attribute_relid_attnum_index 2659 on pg_attribute using btree(attrelid oid_ops, attnum int2_ops)
+declare unique index pg_class_oid_index 2662 on pg_class using btree(oid oid_ops)
+declare unique index pg_class_relname_nsp_index 2663 on pg_class using btree(relname name_ops, relnamespace oid_ops)
+declare index pg_class_tblspc_relfilenode_index 3455 on pg_class using btree(reltablespace oid_ops, relfilenode oid_ops)
+declare unique index pg_attrdef_adrelid_adnum_index 2656 on pg_attrdef using btree(adrelid oid_ops, adnum int2_ops)
+declare unique index pg_attrdef_oid_index 2657 on pg_attrdef using btree(oid oid_ops)
+declare index pg_constraint_conname_nsp_index 2664 on pg_constraint using btree(conname name_ops, connamespace oid_ops)
+declare unique index pg_constraint_conrelid_contypid_conname_index 2665 on pg_constraint using btree(conrelid oid_ops, contypid oid_ops, conname name_ops)
+declare index pg_constraint_contypid_index 2666 on pg_constraint using btree(contypid oid_ops)
+declare unique index pg_constraint_oid_index 2667 on pg_constraint using btree(oid oid_ops)
+declare index pg_constraint_conparentid_index 2579 on pg_constraint using btree(conparentid oid_ops)
+declare unique index pg_inherits_relid_seqno_index 2680 on pg_inherits using btree(inhrelid oid_ops, inhseqno int4_ops)
+declare index pg_inherits_parent_index 2187 on pg_inherits using btree(inhparent oid_ops)
+declare index pg_index_indrelid_index 2678 on pg_index using btree(indrelid oid_ops)
+declare unique index pg_index_indexrelid_index 2679 on pg_index using btree(indexrelid oid_ops)
+declare unique index pg_operator_oid_index 2688 on pg_operator using btree(oid oid_ops)
+declare unique index pg_operator_oprname_l_r_n_index 2689 on pg_operator using btree(oprname name_ops, oprleft oid_ops, oprright oid_ops, oprnamespace oid_ops)
+declare unique index pg_opfamily_am_name_nsp_index 2754 on pg_opfamily using btree(opfmethod oid_ops, opfname name_ops, opfnamespace oid_ops)
+declare unique index pg_opfamily_oid_index 2755 on pg_opfamily using btree(oid oid_ops)
+declare unique index pg_opclass_am_name_nsp_index 2686 on pg_opclass using btree(opcmethod oid_ops, opcname name_ops, opcnamespace oid_ops)
+declare unique index pg_opclass_oid_index 2687 on pg_opclass using btree(oid oid_ops)
+declare unique index pg_am_name_index 2651 on pg_am using btree(amname name_ops)
+declare unique index pg_am_oid_index 2652 on pg_am using btree(oid oid_ops)
+declare unique index pg_amop_fam_strat_index 2653 on pg_amop using btree(amopfamily oid_ops, amoplefttype oid_ops, amoprighttype oid_ops, amopstrategy int2_ops)
+declare unique index pg_amop_opr_fam_index 2654 on pg_amop using btree(amopopr oid_ops, amoppurpose char_ops, amopfamily oid_ops)
+declare unique index pg_amop_oid_index 2756 on pg_amop using btree(oid oid_ops)
+declare unique index pg_amproc_fam_proc_index 2655 on pg_amproc using btree(amprocfamily oid_ops, amproclefttype oid_ops, amprocrighttype oid_ops, amprocnum int2_ops)
+declare unique index pg_amproc_oid_index 2757 on pg_amproc using btree(oid oid_ops)
+declare unique index pg_language_name_index 2681 on pg_language using btree(lanname name_ops)
+declare unique index pg_language_oid_index 2682 on pg_language using btree(oid oid_ops)
+declare unique index pg_largeobject_metadata_oid_index 2996 on pg_largeobject_metadata using btree(oid oid_ops)
+declare unique index pg_largeobject_loid_pn_index 2683 on pg_largeobject using btree(loid oid_ops, pageno int4_ops)
+declare unique index pg_aggregate_fnoid_index 2650 on pg_aggregate using btree(aggfnoid oid_ops)
+declare unique index pg_statistic_relid_att_inh_index 2696 on pg_statistic using btree(starelid oid_ops, staattnum int2_ops, stainherit bool_ops)
+declare unique index pg_statistic_ext_oid_index 3380 on pg_statistic_ext using btree(oid oid_ops)
+declare unique index pg_statistic_ext_name_index 3997 on pg_statistic_ext using btree(stxname name_ops, stxnamespace oid_ops)
+declare index pg_statistic_ext_relid_index 3379 on pg_statistic_ext using btree(stxrelid oid_ops)
+declare unique index pg_statistic_ext_data_stxoid_inh_index 3433 on pg_statistic_ext_data using btree(stxoid oid_ops, stxdinherit bool_ops)
+declare unique index pg_rewrite_oid_index 2692 on pg_rewrite using btree(oid oid_ops)
+declare unique index pg_rewrite_rel_rulename_index 2693 on pg_rewrite using btree(ev_class oid_ops, rulename name_ops)
+declare index pg_trigger_tgconstraint_index 2699 on pg_trigger using btree(tgconstraint oid_ops)
+declare unique index pg_trigger_tgrelid_tgname_index 2701 on pg_trigger using btree(tgrelid oid_ops, tgname name_ops)
+declare unique index pg_trigger_oid_index 2702 on pg_trigger using btree(oid oid_ops)
+declare unique index pg_event_trigger_evtname_index 3467 on pg_event_trigger using btree(evtname name_ops)
+declare unique index pg_event_trigger_oid_index 3468 on pg_event_trigger using btree(oid oid_ops)
+declare unique index pg_description_o_c_o_index 2675 on pg_description using btree(objoid oid_ops, classoid oid_ops, objsubid int4_ops)
+declare unique index pg_cast_oid_index 2660 on pg_cast using btree(oid oid_ops)
+declare unique index pg_cast_source_target_index 2661 on pg_cast using btree(castsource oid_ops, casttarget oid_ops)
+declare unique index pg_enum_oid_index 3502 on pg_enum using btree(oid oid_ops)
+declare unique index pg_enum_typid_label_index 3503 on pg_enum using btree(enumtypid oid_ops, enumlabel name_ops)
+declare unique index pg_enum_typid_sortorder_index 3534 on pg_enum using btree(enumtypid oid_ops, enumsortorder float4_ops)
+declare unique index pg_namespace_nspname_index 2684 on pg_namespace using btree(nspname name_ops)
+declare unique index pg_namespace_oid_index 2685 on pg_namespace using btree(oid oid_ops)
+declare unique index pg_conversion_default_index 2668 on pg_conversion using btree(connamespace oid_ops, conforencoding int4_ops, contoencoding int4_ops, oid oid_ops)
+declare unique index pg_conversion_name_nsp_index 2669 on pg_conversion using btree(conname name_ops, connamespace oid_ops)
+declare unique index pg_conversion_oid_index 2670 on pg_conversion using btree(oid oid_ops)
+declare index pg_depend_depender_index 2673 on pg_depend using btree(classid oid_ops, objid oid_ops, objsubid int4_ops)
+declare index pg_depend_reference_index 2674 on pg_depend using btree(refclassid oid_ops, refobjid oid_ops, refobjsubid int4_ops)
+declare unique index pg_database_datname_index 2671 on pg_database using btree(datname name_ops)
+declare unique index pg_database_oid_index 2672 on pg_database using btree(oid oid_ops)
+declare unique index pg_db_role_setting_databaseid_rol_index 2965 on pg_db_role_setting using btree(setdatabase oid_ops, setrole oid_ops)
+declare unique index pg_tablespace_oid_index 2697 on pg_tablespace using btree(oid oid_ops)
+declare unique index pg_tablespace_spcname_index 2698 on pg_tablespace using btree(spcname name_ops)
+declare unique index pg_authid_rolname_index 2676 on pg_authid using btree(rolname name_ops)
+declare unique index pg_authid_oid_index 2677 on pg_authid using btree(oid oid_ops)
+declare unique index pg_auth_members_oid_index 6303 on pg_auth_members using btree(oid oid_ops)
+declare unique index pg_auth_members_role_member_index 2694 on pg_auth_members using btree(roleid oid_ops, member oid_ops, grantor oid_ops)
+declare unique index pg_auth_members_member_role_index 2695 on pg_auth_members using btree(member oid_ops, roleid oid_ops, grantor oid_ops)
+declare index pg_auth_members_grantor_index 6302 on pg_auth_members using btree(grantor oid_ops)
+declare index pg_shdepend_depender_index 1232 on pg_shdepend using btree(dbid oid_ops, classid oid_ops, objid oid_ops, objsubid int4_ops)
+declare index pg_shdepend_reference_index 1233 on pg_shdepend using btree(refclassid oid_ops, refobjid oid_ops)
+declare unique index pg_shdescription_o_c_index 2397 on pg_shdescription using btree(objoid oid_ops, classoid oid_ops)
+declare unique index pg_ts_config_cfgname_index 3608 on pg_ts_config using btree(cfgname name_ops, cfgnamespace oid_ops)
+declare unique index pg_ts_config_oid_index 3712 on pg_ts_config using btree(oid oid_ops)
+declare unique index pg_ts_config_map_index 3609 on pg_ts_config_map using btree(mapcfg oid_ops, maptokentype int4_ops, mapseqno int4_ops)
+declare unique index pg_ts_dict_dictname_index 3604 on pg_ts_dict using btree(dictname name_ops, dictnamespace oid_ops)
+declare unique index pg_ts_dict_oid_index 3605 on pg_ts_dict using btree(oid oid_ops)
+declare unique index pg_ts_parser_prsname_index 3606 on pg_ts_parser using btree(prsname name_ops, prsnamespace oid_ops)
+declare unique index pg_ts_parser_oid_index 3607 on pg_ts_parser using btree(oid oid_ops)
+declare unique index pg_ts_template_tmplname_index 3766 on pg_ts_template using btree(tmplname name_ops, tmplnamespace oid_ops)
+declare unique index pg_ts_template_oid_index 3767 on pg_ts_template using btree(oid oid_ops)
+declare unique index pg_extension_oid_index 3080 on pg_extension using btree(oid oid_ops)
+declare unique index pg_extension_name_index 3081 on pg_extension using btree(extname name_ops)
+declare unique index pg_foreign_data_wrapper_oid_index 112 on pg_foreign_data_wrapper using btree(oid oid_ops)
+declare unique index pg_foreign_data_wrapper_name_index 548 on pg_foreign_data_wrapper using btree(fdwname name_ops)
+declare unique index pg_foreign_server_oid_index 113 on pg_foreign_server using btree(oid oid_ops)
+declare unique index pg_foreign_server_name_index 549 on pg_foreign_server using btree(srvname name_ops)
+declare unique index pg_user_mapping_oid_index 174 on pg_user_mapping using btree(oid oid_ops)
+declare unique index pg_user_mapping_user_server_index 175 on pg_user_mapping using btree(umuser oid_ops, umserver oid_ops)
+declare unique index pg_foreign_table_relid_index 3119 on pg_foreign_table using btree(ftrelid oid_ops)
+declare unique index pg_policy_oid_index 3257 on pg_policy using btree(oid oid_ops)
+declare unique index pg_policy_polrelid_polname_index 3258 on pg_policy using btree(polrelid oid_ops, polname name_ops)
+declare unique index pg_replication_origin_roiident_index 6001 on pg_replication_origin using btree(roident oid_ops)
+declare unique index pg_replication_origin_roname_index 6002 on pg_replication_origin using btree(roname text_ops)
+declare unique index pg_default_acl_role_nsp_obj_index 827 on pg_default_acl using btree(defaclrole oid_ops, defaclnamespace oid_ops, defaclobjtype char_ops)
+declare unique index pg_default_acl_oid_index 828 on pg_default_acl using btree(oid oid_ops)
+declare unique index pg_init_privs_o_c_o_index 3395 on pg_init_privs using btree(objoid oid_ops, classoid oid_ops, objsubid int4_ops)
+declare unique index pg_seclabel_object_index 3597 on pg_seclabel using btree(objoid oid_ops, classoid oid_ops, objsubid int4_ops, provider text_ops)
+declare unique index pg_shseclabel_object_index 3593 on pg_shseclabel using btree(objoid oid_ops, classoid oid_ops, provider text_ops)
+declare unique index pg_collation_name_enc_nsp_index 3164 on pg_collation using btree(collname name_ops, collencoding int4_ops, collnamespace oid_ops)
+declare unique index pg_collation_oid_index 3085 on pg_collation using btree(oid oid_ops)
+declare unique index pg_parameter_acl_parname_index 6246 on pg_parameter_acl using btree(parname text_ops)
+declare unique index pg_parameter_acl_oid_index 6247 on pg_parameter_acl using btree(oid oid_ops)
+declare unique index pg_partitioned_table_partrelid_index 3351 on pg_partitioned_table using btree(partrelid oid_ops)
+declare unique index pg_range_rngtypid_index 3542 on pg_range using btree(rngtypid oid_ops)
+declare unique index pg_range_rngmultitypid_index 2228 on pg_range using btree(rngmultitypid oid_ops)
+declare unique index pg_transform_oid_index 3574 on pg_transform using btree(oid oid_ops)
+declare unique index pg_transform_type_lang_index 3575 on pg_transform using btree(trftype oid_ops, trflang oid_ops)
+declare unique index pg_sequence_seqrelid_index 5002 on pg_sequence using btree(seqrelid oid_ops)
+declare unique index pg_publication_oid_index 6110 on pg_publication using btree(oid oid_ops)
+declare unique index pg_publication_pubname_index 6111 on pg_publication using btree(pubname name_ops)
+declare unique index pg_publication_namespace_oid_index 6238 on pg_publication_namespace using btree(oid oid_ops)
+declare unique index pg_publication_namespace_pnnspid_pnpubid_index 6239 on pg_publication_namespace using btree(pnnspid oid_ops, pnpubid oid_ops)
+declare unique index pg_publication_rel_oid_index 6112 on pg_publication_rel using btree(oid oid_ops)
+declare unique index pg_publication_rel_prrelid_prpubid_index 6113 on pg_publication_rel using btree(prrelid oid_ops, prpubid oid_ops)
+declare index pg_publication_rel_prpubid_index 6116 on pg_publication_rel using btree(prpubid oid_ops)
+declare unique index pg_subscription_oid_index 6114 on pg_subscription using btree(oid oid_ops)
+declare unique index pg_subscription_subname_index 6115 on pg_subscription using btree(subdbid oid_ops, subname name_ops)
+declare unique index pg_subscription_rel_srrelid_srsubid_index 6117 on pg_subscription_rel using btree(srrelid oid_ops, srsubid oid_ops)
+build indices
diff --git a/pgsql/share/postgresql.conf.sample b/pgsql/share/postgresql.conf.sample
new file mode 100644
index 0000000000000000000000000000000000000000..904e9187854bc92587b0751550850e964d5214b1
--- /dev/null
+++ b/pgsql/share/postgresql.conf.sample
@@ -0,0 +1,820 @@
+# -----------------------------
+# PostgreSQL configuration file
+# -----------------------------
+#
+# This file consists of lines of the form:
+#
+# name = value
+#
+# (The "=" is optional.) Whitespace may be used. Comments are introduced with
+# "#" anywhere on a line. The complete list of parameter names and allowed
+# values can be found in the PostgreSQL documentation.
+#
+# The commented-out settings shown in this file represent the default values.
+# Re-commenting a setting is NOT sufficient to revert it to the default value;
+# you need to reload the server.
+#
+# This file is read on server startup and when the server receives a SIGHUP
+# signal. If you edit the file on a running system, you have to SIGHUP the
+# server for the changes to take effect, run "pg_ctl reload", or execute
+# "SELECT pg_reload_conf()". Some parameters, which are marked below,
+# require a server shutdown and restart to take effect.
+#
+# Any parameter can also be given as a command-line option to the server, e.g.,
+# "postgres -c log_connections=on". Some parameters can be changed at run time
+# with the "SET" SQL command.
+#
+# Memory units: B = bytes Time units: us = microseconds
+# kB = kilobytes ms = milliseconds
+# MB = megabytes s = seconds
+# GB = gigabytes min = minutes
+# TB = terabytes h = hours
+# d = days
+
+
+#------------------------------------------------------------------------------
+# FILE LOCATIONS
+#------------------------------------------------------------------------------
+
+# The default values of these variables are driven from the -D command-line
+# option or PGDATA environment variable, represented here as ConfigDir.
+
+#data_directory = 'ConfigDir' # use data in another directory
+ # (change requires restart)
+#hba_file = 'ConfigDir/pg_hba.conf' # host-based authentication file
+ # (change requires restart)
+#ident_file = 'ConfigDir/pg_ident.conf' # ident configuration file
+ # (change requires restart)
+
+# If external_pid_file is not explicitly set, no extra PID file is written.
+#external_pid_file = '' # write an extra PID file
+ # (change requires restart)
+
+
+#------------------------------------------------------------------------------
+# CONNECTIONS AND AUTHENTICATION
+#------------------------------------------------------------------------------
+
+# - Connection Settings -
+
+#listen_addresses = 'localhost' # what IP address(es) to listen on;
+ # comma-separated list of addresses;
+ # defaults to 'localhost'; use '*' for all
+ # (change requires restart)
+#port = 5432 # (change requires restart)
+#max_connections = 100 # (change requires restart)
+#reserved_connections = 0 # (change requires restart)
+#superuser_reserved_connections = 3 # (change requires restart)
+#unix_socket_directories = '/tmp' # comma-separated list of directories
+ # (change requires restart)
+#unix_socket_group = '' # (change requires restart)
+#unix_socket_permissions = 0777 # begin with 0 to use octal notation
+ # (change requires restart)
+#bonjour = off # advertise server via Bonjour
+ # (change requires restart)
+#bonjour_name = '' # defaults to the computer name
+ # (change requires restart)
+
+# - TCP settings -
+# see "man tcp" for details
+
+#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
+ # 0 selects the system default
+#tcp_keepalives_interval = 0 # TCP_KEEPINTVL, in seconds;
+ # 0 selects the system default
+#tcp_keepalives_count = 0 # TCP_KEEPCNT;
+ # 0 selects the system default
+#tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds;
+ # 0 selects the system default
+
+#client_connection_check_interval = 0 # time between checks for client
+ # disconnection while running queries;
+ # 0 for never
+
+# - Authentication -
+
+#authentication_timeout = 1min # 1s-600s
+#password_encryption = scram-sha-256 # scram-sha-256 or md5
+#scram_iterations = 4096
+#db_user_namespace = off
+
+# GSSAPI using Kerberos
+#krb_server_keyfile = 'FILE:${sysconfdir}/krb5.keytab'
+#krb_caseins_users = off
+#gss_accept_delegation = off
+
+# - SSL -
+
+#ssl = off
+#ssl_ca_file = ''
+#ssl_cert_file = 'server.crt'
+#ssl_crl_file = ''
+#ssl_crl_dir = ''
+#ssl_key_file = 'server.key'
+#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
+#ssl_prefer_server_ciphers = on
+#ssl_ecdh_curve = 'prime256v1'
+#ssl_min_protocol_version = 'TLSv1.2'
+#ssl_max_protocol_version = ''
+#ssl_dh_params_file = ''
+#ssl_passphrase_command = ''
+#ssl_passphrase_command_supports_reload = off
+
+
+#------------------------------------------------------------------------------
+# RESOURCE USAGE (except WAL)
+#------------------------------------------------------------------------------
+
+# - Memory -
+
+#shared_buffers = 128MB # min 128kB
+ # (change requires restart)
+#huge_pages = try # on, off, or try
+ # (change requires restart)
+#huge_page_size = 0 # zero for system default
+ # (change requires restart)
+#temp_buffers = 8MB # min 800kB
+#max_prepared_transactions = 0 # zero disables the feature
+ # (change requires restart)
+# Caution: it is not advisable to set max_prepared_transactions nonzero unless
+# you actively intend to use prepared transactions.
+#work_mem = 4MB # min 64kB
+#hash_mem_multiplier = 2.0 # 1-1000.0 multiplier on hash table work_mem
+#maintenance_work_mem = 64MB # min 1MB
+#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
+#logical_decoding_work_mem = 64MB # min 64kB
+#max_stack_depth = 2MB # min 100kB
+#shared_memory_type = mmap # the default is the first option
+ # supported by the operating system:
+ # mmap
+ # sysv
+ # windows
+ # (change requires restart)
+#dynamic_shared_memory_type = posix # the default is usually the first option
+ # supported by the operating system:
+ # posix
+ # sysv
+ # windows
+ # mmap
+ # (change requires restart)
+#min_dynamic_shared_memory = 0MB # (change requires restart)
+#vacuum_buffer_usage_limit = 256kB # size of vacuum and analyze buffer access strategy ring;
+ # 0 to disable vacuum buffer access strategy;
+ # range 128kB to 16GB
+
+# - Disk -
+
+#temp_file_limit = -1 # limits per-process temp file space
+ # in kilobytes, or -1 for no limit
+
+# - Kernel Resources -
+
+#max_files_per_process = 1000 # min 64
+ # (change requires restart)
+
+# - Cost-Based Vacuum Delay -
+
+#vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables)
+#vacuum_cost_page_hit = 1 # 0-10000 credits
+#vacuum_cost_page_miss = 2 # 0-10000 credits
+#vacuum_cost_page_dirty = 20 # 0-10000 credits
+#vacuum_cost_limit = 200 # 1-10000 credits
+
+# - Background Writer -
+
+#bgwriter_delay = 200ms # 10-10000ms between rounds
+#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables
+#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
+#bgwriter_flush_after = 0 # measured in pages, 0 disables
+
+# - Asynchronous Behavior -
+
+#backend_flush_after = 0 # measured in pages, 0 disables
+#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
+#maintenance_io_concurrency = 10 # 1-1000; 0 disables prefetching
+#max_worker_processes = 8 # (change requires restart)
+#max_parallel_workers_per_gather = 2 # limited by max_parallel_workers
+#max_parallel_maintenance_workers = 2 # limited by max_parallel_workers
+#max_parallel_workers = 8 # number of max_worker_processes that
+ # can be used in parallel operations
+#parallel_leader_participation = on
+#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
+ # (change requires restart)
+
+
+#------------------------------------------------------------------------------
+# WRITE-AHEAD LOG
+#------------------------------------------------------------------------------
+
+# - Settings -
+
+#wal_level = replica # minimal, replica, or logical
+ # (change requires restart)
+#fsync = on # flush data to disk for crash safety
+ # (turning this off can cause
+ # unrecoverable data corruption)
+#synchronous_commit = on # synchronization level;
+ # off, local, remote_write, remote_apply, or on
+#wal_sync_method = fsync # the default is the first option
+ # supported by the operating system:
+ # open_datasync
+ # fdatasync (default on Linux and FreeBSD)
+ # fsync
+ # fsync_writethrough
+ # open_sync
+#full_page_writes = on # recover from partial page writes
+#wal_log_hints = off # also do full page writes of non-critical updates
+ # (change requires restart)
+#wal_compression = off # enables compression of full-page writes;
+ # off, pglz, lz4, zstd, or on
+#wal_init_zero = on # zero-fill new WAL files
+#wal_recycle = on # recycle WAL files
+#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
+ # (change requires restart)
+#wal_writer_delay = 200ms # 1-10000 milliseconds
+#wal_writer_flush_after = 1MB # measured in pages, 0 disables
+#wal_skip_threshold = 2MB
+
+#commit_delay = 0 # range 0-100000, in microseconds
+#commit_siblings = 5 # range 1-1000
+
+# - Checkpoints -
+
+#checkpoint_timeout = 5min # range 30s-1d
+#checkpoint_completion_target = 0.9 # checkpoint target duration, 0.0 - 1.0
+#checkpoint_flush_after = 0 # measured in pages, 0 disables
+#checkpoint_warning = 30s # 0 disables
+#max_wal_size = 1GB
+#min_wal_size = 80MB
+
+# - Prefetching during recovery -
+
+#recovery_prefetch = try # prefetch pages referenced in the WAL?
+#wal_decode_buffer_size = 512kB # lookahead window used for prefetching
+ # (change requires restart)
+
+# - Archiving -
+
+#archive_mode = off # enables archiving; off, on, or always
+ # (change requires restart)
+#archive_library = '' # library to use to archive a WAL file
+ # (empty string indicates archive_command should
+ # be used)
+#archive_command = '' # command to use to archive a WAL file
+ # placeholders: %p = path of file to archive
+ # %f = file name only
+ # e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f'
+#archive_timeout = 0 # force a WAL file switch after this
+ # number of seconds; 0 disables
+
+# - Archive Recovery -
+
+# These are only used in recovery mode.
+
+#restore_command = '' # command to use to restore an archived WAL file
+ # placeholders: %p = path of file to restore
+ # %f = file name only
+ # e.g. 'cp /mnt/server/archivedir/%f %p'
+#archive_cleanup_command = '' # command to execute at every restartpoint
+#recovery_end_command = '' # command to execute at completion of recovery
+
+# - Recovery Target -
+
+# Set these only when performing a targeted recovery.
+
+#recovery_target = '' # 'immediate' to end recovery as soon as a
+ # consistent state is reached
+ # (change requires restart)
+#recovery_target_name = '' # the named restore point to which recovery will proceed
+ # (change requires restart)
+#recovery_target_time = '' # the time stamp up to which recovery will proceed
+ # (change requires restart)
+#recovery_target_xid = '' # the transaction ID up to which recovery will proceed
+ # (change requires restart)
+#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed
+ # (change requires restart)
+#recovery_target_inclusive = on # Specifies whether to stop:
+ # just after the specified recovery target (on)
+ # just before the recovery target (off)
+ # (change requires restart)
+#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID
+ # (change requires restart)
+#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown'
+ # (change requires restart)
+
+
+#------------------------------------------------------------------------------
+# REPLICATION
+#------------------------------------------------------------------------------
+
+# - Sending Servers -
+
+# Set these on the primary and on any standby that will send replication data.
+
+#max_wal_senders = 10 # max number of walsender processes
+ # (change requires restart)
+#max_replication_slots = 10 # max number of replication slots
+ # (change requires restart)
+#wal_keep_size = 0 # in megabytes; 0 disables
+#max_slot_wal_keep_size = -1 # in megabytes; -1 disables
+#wal_sender_timeout = 60s # in milliseconds; 0 disables
+#track_commit_timestamp = off # collect timestamp of transaction commit
+ # (change requires restart)
+
+# - Primary Server -
+
+# These settings are ignored on a standby server.
+
+#synchronous_standby_names = '' # standby servers that provide sync rep
+ # method to choose sync standbys, number of sync standbys,
+ # and comma-separated list of application_name
+ # from standby(s); '*' = all
+
+# - Standby Servers -
+
+# These settings are ignored on a primary server.
+
+#primary_conninfo = '' # connection string to sending server
+#primary_slot_name = '' # replication slot on sending server
+#hot_standby = on # "off" disallows queries during recovery
+ # (change requires restart)
+#max_standby_archive_delay = 30s # max delay before canceling queries
+ # when reading WAL from archive;
+ # -1 allows indefinite delay
+#max_standby_streaming_delay = 30s # max delay before canceling queries
+ # when reading streaming WAL;
+ # -1 allows indefinite delay
+#wal_receiver_create_temp_slot = off # create temp slot if primary_slot_name
+ # is not set
+#wal_receiver_status_interval = 10s # send replies at least this often
+ # 0 disables
+#hot_standby_feedback = off # send info from standby to prevent
+ # query conflicts
+#wal_receiver_timeout = 60s # time that receiver waits for
+ # communication from primary
+ # in milliseconds; 0 disables
+#wal_retrieve_retry_interval = 5s # time to wait before retrying to
+ # retrieve WAL after a failed attempt
+#recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery
+
+# - Subscribers -
+
+# These settings are ignored on a publisher.
+
+#max_logical_replication_workers = 4 # taken from max_worker_processes
+ # (change requires restart)
+#max_sync_workers_per_subscription = 2 # taken from max_logical_replication_workers
+#max_parallel_apply_workers_per_subscription = 2 # taken from max_logical_replication_workers
+
+
+#------------------------------------------------------------------------------
+# QUERY TUNING
+#------------------------------------------------------------------------------
+
+# - Planner Method Configuration -
+
+#enable_async_append = on
+#enable_bitmapscan = on
+#enable_gathermerge = on
+#enable_hashagg = on
+#enable_hashjoin = on
+#enable_incremental_sort = on
+#enable_indexscan = on
+#enable_indexonlyscan = on
+#enable_material = on
+#enable_memoize = on
+#enable_mergejoin = on
+#enable_nestloop = on
+#enable_parallel_append = on
+#enable_parallel_hash = on
+#enable_partition_pruning = on
+#enable_partitionwise_join = off
+#enable_partitionwise_aggregate = off
+#enable_presorted_aggregate = on
+#enable_seqscan = on
+#enable_sort = on
+#enable_tidscan = on
+
+# - Planner Cost Constants -
+
+#seq_page_cost = 1.0 # measured on an arbitrary scale
+#random_page_cost = 4.0 # same scale as above
+#cpu_tuple_cost = 0.01 # same scale as above
+#cpu_index_tuple_cost = 0.005 # same scale as above
+#cpu_operator_cost = 0.0025 # same scale as above
+#parallel_setup_cost = 1000.0 # same scale as above
+#parallel_tuple_cost = 0.1 # same scale as above
+#min_parallel_table_scan_size = 8MB
+#min_parallel_index_scan_size = 512kB
+#effective_cache_size = 4GB
+
+#jit_above_cost = 100000 # perform JIT compilation if available
+ # and query more expensive than this;
+ # -1 disables
+#jit_inline_above_cost = 500000 # inline small functions if query is
+ # more expensive than this; -1 disables
+#jit_optimize_above_cost = 500000 # use expensive JIT optimizations if
+ # query is more expensive than this;
+ # -1 disables
+
+# - Genetic Query Optimizer -
+
+#geqo = on
+#geqo_threshold = 12
+#geqo_effort = 5 # range 1-10
+#geqo_pool_size = 0 # selects default based on effort
+#geqo_generations = 0 # selects default based on effort
+#geqo_selection_bias = 2.0 # range 1.5-2.0
+#geqo_seed = 0.0 # range 0.0-1.0
+
+# - Other Planner Options -
+
+#default_statistics_target = 100 # range 1-10000
+#constraint_exclusion = partition # on, off, or partition
+#cursor_tuple_fraction = 0.1 # range 0.0-1.0
+#from_collapse_limit = 8
+#jit = on # allow JIT compilation
+#join_collapse_limit = 8 # 1 disables collapsing of explicit
+ # JOIN clauses
+#plan_cache_mode = auto # auto, force_generic_plan or
+ # force_custom_plan
+#recursive_worktable_factor = 10.0 # range 0.001-1000000
+
+
+#------------------------------------------------------------------------------
+# REPORTING AND LOGGING
+#------------------------------------------------------------------------------
+
+# - Where to Log -
+
+#log_destination = 'stderr' # Valid values are combinations of
+ # stderr, csvlog, jsonlog, syslog, and
+ # eventlog, depending on platform.
+ # csvlog and jsonlog require
+ # logging_collector to be on.
+
+# This is used when logging to stderr:
+#logging_collector = off # Enable capturing of stderr, jsonlog,
+ # and csvlog into log files. Required
+ # to be on for csvlogs and jsonlogs.
+ # (change requires restart)
+
+# These are only used if logging_collector is on:
+#log_directory = 'log' # directory where log files are written,
+ # can be absolute or relative to PGDATA
+#log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern,
+ # can include strftime() escapes
+#log_file_mode = 0600 # creation mode for log files,
+ # begin with 0 to use octal notation
+#log_rotation_age = 1d # Automatic rotation of logfiles will
+ # happen after that time. 0 disables.
+#log_rotation_size = 10MB # Automatic rotation of logfiles will
+ # happen after that much log output.
+ # 0 disables.
+#log_truncate_on_rotation = off # If on, an existing log file with the
+ # same name as the new log file will be
+ # truncated rather than appended to.
+ # But such truncation only occurs on
+ # time-driven rotation, not on restarts
+ # or size-driven rotation. Default is
+ # off, meaning append to existing files
+ # in all cases.
+
+# These are relevant when logging to syslog:
+#syslog_facility = 'LOCAL0'
+#syslog_ident = 'postgres'
+#syslog_sequence_numbers = on
+#syslog_split_messages = on
+
+# This is only relevant when logging to eventlog (Windows):
+# (change requires restart)
+#event_source = 'PostgreSQL'
+
+# - When to Log -
+
+#log_min_messages = warning # values in order of decreasing detail:
+ # debug5
+ # debug4
+ # debug3
+ # debug2
+ # debug1
+ # info
+ # notice
+ # warning
+ # error
+ # log
+ # fatal
+ # panic
+
+#log_min_error_statement = error # values in order of decreasing detail:
+ # debug5
+ # debug4
+ # debug3
+ # debug2
+ # debug1
+ # info
+ # notice
+ # warning
+ # error
+ # log
+ # fatal
+ # panic (effectively off)
+
+#log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements
+ # and their durations, > 0 logs only
+ # statements running at least this number
+ # of milliseconds
+
+#log_min_duration_sample = -1 # -1 is disabled, 0 logs a sample of statements
+ # and their durations, > 0 logs only a sample of
+ # statements running at least this number
+ # of milliseconds;
+ # sample fraction is determined by log_statement_sample_rate
+
+#log_statement_sample_rate = 1.0 # fraction of logged statements exceeding
+ # log_min_duration_sample to be logged;
+ # 1.0 logs all such statements, 0.0 never logs
+
+
+#log_transaction_sample_rate = 0.0 # fraction of transactions whose statements
+ # are logged regardless of their duration; 1.0 logs all
+ # statements from all transactions, 0.0 never logs
+
+#log_startup_progress_interval = 10s # Time between progress updates for
+ # long-running startup operations.
+ # 0 disables the feature, > 0 indicates
+ # the interval in milliseconds.
+
+# - What to Log -
+
+#debug_print_parse = off
+#debug_print_rewritten = off
+#debug_print_plan = off
+#debug_pretty_print = on
+#log_autovacuum_min_duration = 10min # log autovacuum activity;
+ # -1 disables, 0 logs all actions and
+ # their durations, > 0 logs only
+ # actions running at least this number
+ # of milliseconds.
+#log_checkpoints = on
+#log_connections = off
+#log_disconnections = off
+#log_duration = off
+#log_error_verbosity = default # terse, default, or verbose messages
+#log_hostname = off
+#log_line_prefix = '%m [%p] ' # special values:
+ # %a = application name
+ # %u = user name
+ # %d = database name
+ # %r = remote host and port
+ # %h = remote host
+ # %b = backend type
+ # %p = process ID
+ # %P = process ID of parallel group leader
+ # %t = timestamp without milliseconds
+ # %m = timestamp with milliseconds
+ # %n = timestamp with milliseconds (as a Unix epoch)
+ # %Q = query ID (0 if none or not computed)
+ # %i = command tag
+ # %e = SQL state
+ # %c = session ID
+ # %l = session line number
+ # %s = session start timestamp
+ # %v = virtual transaction ID
+ # %x = transaction ID (0 if none)
+ # %q = stop here in non-session
+ # processes
+ # %% = '%'
+ # e.g. '<%u%%%d> '
+#log_lock_waits = off # log lock waits >= deadlock_timeout
+#log_recovery_conflict_waits = off # log standby recovery conflict waits
+ # >= deadlock_timeout
+#log_parameter_max_length = -1 # when logging statements, limit logged
+ # bind-parameter values to N bytes;
+ # -1 means print in full, 0 disables
+#log_parameter_max_length_on_error = 0 # when logging an error, limit logged
+ # bind-parameter values to N bytes;
+ # -1 means print in full, 0 disables
+#log_statement = 'none' # none, ddl, mod, all
+#log_replication_commands = off
+#log_temp_files = -1 # log temporary files equal or larger
+ # than the specified size in kilobytes;
+ # -1 disables, 0 logs all temp files
+#log_timezone = 'GMT'
+
+# - Process Title -
+
+#cluster_name = '' # added to process titles if nonempty
+ # (change requires restart)
+#update_process_title = on
+
+
+#------------------------------------------------------------------------------
+# STATISTICS
+#------------------------------------------------------------------------------
+
+# - Cumulative Query and Index Statistics -
+
+#track_activities = on
+#track_activity_query_size = 1024 # (change requires restart)
+#track_counts = on
+#track_io_timing = off
+#track_wal_io_timing = off
+#track_functions = none # none, pl, all
+#stats_fetch_consistency = cache # cache, none, snapshot
+
+
+# - Monitoring -
+
+#compute_query_id = auto
+#log_statement_stats = off
+#log_parser_stats = off
+#log_planner_stats = off
+#log_executor_stats = off
+
+
+#------------------------------------------------------------------------------
+# AUTOVACUUM
+#------------------------------------------------------------------------------
+
+#autovacuum = on # Enable autovacuum subprocess? 'on'
+ # requires track_counts to also be on.
+#autovacuum_max_workers = 3 # max number of autovacuum subprocesses
+ # (change requires restart)
+#autovacuum_naptime = 1min # time between autovacuum runs
+#autovacuum_vacuum_threshold = 50 # min number of row updates before
+ # vacuum
+#autovacuum_vacuum_insert_threshold = 1000 # min number of row inserts
+ # before vacuum; -1 disables insert
+ # vacuums
+#autovacuum_analyze_threshold = 50 # min number of row updates before
+ # analyze
+#autovacuum_vacuum_scale_factor = 0.2 # fraction of table size before vacuum
+#autovacuum_vacuum_insert_scale_factor = 0.2 # fraction of inserts over table
+ # size before insert vacuum
+#autovacuum_analyze_scale_factor = 0.1 # fraction of table size before analyze
+#autovacuum_freeze_max_age = 200000000 # maximum XID age before forced vacuum
+ # (change requires restart)
+#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
+ # before forced vacuum
+ # (change requires restart)
+#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for
+ # autovacuum, in milliseconds;
+ # -1 means use vacuum_cost_delay
+#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
+ # autovacuum, -1 means use
+ # vacuum_cost_limit
+
+
+#------------------------------------------------------------------------------
+# CLIENT CONNECTION DEFAULTS
+#------------------------------------------------------------------------------
+
+# - Statement Behavior -
+
+#client_min_messages = notice # values in order of decreasing detail:
+ # debug5
+ # debug4
+ # debug3
+ # debug2
+ # debug1
+ # log
+ # notice
+ # warning
+ # error
+#search_path = '"$user", public' # schema names
+#row_security = on
+#default_table_access_method = 'heap'
+#default_tablespace = '' # a tablespace name, '' uses the default
+#default_toast_compression = 'pglz' # 'pglz' or 'lz4'
+#temp_tablespaces = '' # a list of tablespace names, '' uses
+ # only default tablespace
+#check_function_bodies = on
+#default_transaction_isolation = 'read committed'
+#default_transaction_read_only = off
+#default_transaction_deferrable = off
+#session_replication_role = 'origin'
+#statement_timeout = 0 # in milliseconds, 0 is disabled
+#lock_timeout = 0 # in milliseconds, 0 is disabled
+#idle_in_transaction_session_timeout = 0 # in milliseconds, 0 is disabled
+#idle_session_timeout = 0 # in milliseconds, 0 is disabled
+#vacuum_freeze_table_age = 150000000
+#vacuum_freeze_min_age = 50000000
+#vacuum_failsafe_age = 1600000000
+#vacuum_multixact_freeze_table_age = 150000000
+#vacuum_multixact_freeze_min_age = 5000000
+#vacuum_multixact_failsafe_age = 1600000000
+#bytea_output = 'hex' # hex, escape
+#xmlbinary = 'base64'
+#xmloption = 'content'
+#gin_pending_list_limit = 4MB
+#createrole_self_grant = '' # set and/or inherit
+
+# - Locale and Formatting -
+
+#datestyle = 'iso, mdy'
+#intervalstyle = 'postgres'
+#timezone = 'GMT'
+#timezone_abbreviations = 'Default' # Select the set of available time zone
+ # abbreviations. Currently, there are
+ # Default
+ # Australia (historical usage)
+ # India
+ # You can create your own file in
+ # share/timezonesets/.
+#extra_float_digits = 1 # min -15, max 3; any value >0 actually
+ # selects precise output mode
+#client_encoding = sql_ascii # actually, defaults to database
+ # encoding
+
+# These settings are initialized by initdb, but they can be changed.
+#lc_messages = '' # locale for system error message
+ # strings
+#lc_monetary = 'C' # locale for monetary formatting
+#lc_numeric = 'C' # locale for number formatting
+#lc_time = 'C' # locale for time formatting
+
+#icu_validation_level = warning # report ICU locale validation
+ # errors at the given level
+
+# default configuration for text search
+#default_text_search_config = 'pg_catalog.simple'
+
+# - Shared Library Preloading -
+
+#local_preload_libraries = ''
+#session_preload_libraries = ''
+#shared_preload_libraries = '' # (change requires restart)
+#jit_provider = 'llvmjit' # JIT library to use
+
+# - Other Defaults -
+
+#dynamic_library_path = '$libdir'
+#gin_fuzzy_search_limit = 0
+
+
+#------------------------------------------------------------------------------
+# LOCK MANAGEMENT
+#------------------------------------------------------------------------------
+
+#deadlock_timeout = 1s
+#max_locks_per_transaction = 64 # min 10
+ # (change requires restart)
+#max_pred_locks_per_transaction = 64 # min 10
+ # (change requires restart)
+#max_pred_locks_per_relation = -2 # negative values mean
+ # (max_pred_locks_per_transaction
+ # / -max_pred_locks_per_relation) - 1
+#max_pred_locks_per_page = 2 # min 0
+
+
+#------------------------------------------------------------------------------
+# VERSION AND PLATFORM COMPATIBILITY
+#------------------------------------------------------------------------------
+
+# - Previous PostgreSQL Versions -
+
+#array_nulls = on
+#backslash_quote = safe_encoding # on, off, or safe_encoding
+#escape_string_warning = on
+#lo_compat_privileges = off
+#quote_all_identifiers = off
+#standard_conforming_strings = on
+#synchronize_seqscans = on
+
+# - Other Platforms and Clients -
+
+#transform_null_equals = off
+
+
+#------------------------------------------------------------------------------
+# ERROR HANDLING
+#------------------------------------------------------------------------------
+
+#exit_on_error = off # terminate session on any error?
+#restart_after_crash = on # reinitialize after backend crash?
+#data_sync_retry = off # retry or panic on failure to fsync
+ # data?
+ # (change requires restart)
+#recovery_init_sync_method = fsync # fsync, syncfs (Linux 5.8+)
+
+
+#------------------------------------------------------------------------------
+# CONFIG FILE INCLUDES
+#------------------------------------------------------------------------------
+
+# These options allow settings to be loaded from files other than the
+# default postgresql.conf. Note that these are directives, not variable
+# assignments, so they can usefully be given more than once.
+
+#include_dir = '...' # include files ending in '.conf' from
+ # a directory, e.g., 'conf.d'
+#include_if_exists = '...' # include file only if it exists
+#include = '...' # include file
+
+
+#------------------------------------------------------------------------------
+# CUSTOMIZED OPTIONS
+#------------------------------------------------------------------------------
+
+# Add settings for extensions here
diff --git a/pgsql/share/psqlrc.sample b/pgsql/share/psqlrc.sample
new file mode 100644
index 0000000000000000000000000000000000000000..8152cace2b06f6982bd0b2c894bfc2ccfc342294
--- /dev/null
+++ b/pgsql/share/psqlrc.sample
@@ -0,0 +1,8 @@
+--
+-- system-wide psql configuration file
+--
+-- This file is read before the .psqlrc file in the user's home directory.
+--
+-- Copy this to your installation's sysconf directory and rename it psqlrc.
+-- The sysconf directory can be identified via "pg_config --sysconfdir".
+--
diff --git a/pgsql/share/snowball_create.sql b/pgsql/share/snowball_create.sql
new file mode 100644
index 0000000000000000000000000000000000000000..4b417393154caccc1fa2805f31f2b60dc345de7a
--- /dev/null
+++ b/pgsql/share/snowball_create.sql
@@ -0,0 +1,1211 @@
+-- Language-specific snowball dictionaries
+/*
+ * Create underlying C functions for Snowball stemmers
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball_func.sql.in
+ *
+ * This file is combined with multiple instances of snowball.sql.in to
+ * build snowball_create.sql, which is executed during initdb.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+SET search_path = pg_catalog;
+
+CREATE FUNCTION dsnowball_init(INTERNAL)
+ RETURNS INTERNAL AS '$libdir/dict_snowball', 'dsnowball_init'
+LANGUAGE C STRICT;
+
+CREATE FUNCTION dsnowball_lexize(INTERNAL, INTERNAL, INTERNAL, INTERNAL)
+ RETURNS INTERNAL AS '$libdir/dict_snowball', 'dsnowball_lexize'
+LANGUAGE C STRICT;
+
+CREATE TEXT SEARCH TEMPLATE snowball
+ (INIT = dsnowball_init,
+ LEXIZE = dsnowball_lexize);
+
+COMMENT ON TEXT SEARCH TEMPLATE snowball IS 'snowball stemmer';
+/*
+ * text search configuration for arabic language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * arabic and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY arabic_stem
+ (TEMPLATE = snowball, Language = arabic );
+
+COMMENT ON TEXT SEARCH DICTIONARY arabic_stem IS 'snowball stemmer for arabic language';
+
+CREATE TEXT SEARCH CONFIGURATION arabic
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION arabic IS 'configuration for arabic language';
+
+ALTER TEXT SEARCH CONFIGURATION arabic ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION arabic ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH arabic_stem;
+
+ALTER TEXT SEARCH CONFIGURATION arabic ADD MAPPING
+ FOR word, hword_part, hword
+ WITH arabic_stem;
+/*
+ * text search configuration for armenian language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * armenian and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY armenian_stem
+ (TEMPLATE = snowball, Language = armenian );
+
+COMMENT ON TEXT SEARCH DICTIONARY armenian_stem IS 'snowball stemmer for armenian language';
+
+CREATE TEXT SEARCH CONFIGURATION armenian
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION armenian IS 'configuration for armenian language';
+
+ALTER TEXT SEARCH CONFIGURATION armenian ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION armenian ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH armenian_stem;
+
+ALTER TEXT SEARCH CONFIGURATION armenian ADD MAPPING
+ FOR word, hword_part, hword
+ WITH armenian_stem;
+/*
+ * text search configuration for basque language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * basque and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY basque_stem
+ (TEMPLATE = snowball, Language = basque );
+
+COMMENT ON TEXT SEARCH DICTIONARY basque_stem IS 'snowball stemmer for basque language';
+
+CREATE TEXT SEARCH CONFIGURATION basque
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION basque IS 'configuration for basque language';
+
+ALTER TEXT SEARCH CONFIGURATION basque ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION basque ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH basque_stem;
+
+ALTER TEXT SEARCH CONFIGURATION basque ADD MAPPING
+ FOR word, hword_part, hword
+ WITH basque_stem;
+/*
+ * text search configuration for catalan language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * catalan and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY catalan_stem
+ (TEMPLATE = snowball, Language = catalan );
+
+COMMENT ON TEXT SEARCH DICTIONARY catalan_stem IS 'snowball stemmer for catalan language';
+
+CREATE TEXT SEARCH CONFIGURATION catalan
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION catalan IS 'configuration for catalan language';
+
+ALTER TEXT SEARCH CONFIGURATION catalan ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION catalan ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH catalan_stem;
+
+ALTER TEXT SEARCH CONFIGURATION catalan ADD MAPPING
+ FOR word, hword_part, hword
+ WITH catalan_stem;
+/*
+ * text search configuration for danish language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * danish and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY danish_stem
+ (TEMPLATE = snowball, Language = danish , StopWords=danish);
+
+COMMENT ON TEXT SEARCH DICTIONARY danish_stem IS 'snowball stemmer for danish language';
+
+CREATE TEXT SEARCH CONFIGURATION danish
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION danish IS 'configuration for danish language';
+
+ALTER TEXT SEARCH CONFIGURATION danish ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION danish ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH danish_stem;
+
+ALTER TEXT SEARCH CONFIGURATION danish ADD MAPPING
+ FOR word, hword_part, hword
+ WITH danish_stem;
+/*
+ * text search configuration for dutch language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * dutch and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY dutch_stem
+ (TEMPLATE = snowball, Language = dutch , StopWords=dutch);
+
+COMMENT ON TEXT SEARCH DICTIONARY dutch_stem IS 'snowball stemmer for dutch language';
+
+CREATE TEXT SEARCH CONFIGURATION dutch
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION dutch IS 'configuration for dutch language';
+
+ALTER TEXT SEARCH CONFIGURATION dutch ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION dutch ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH dutch_stem;
+
+ALTER TEXT SEARCH CONFIGURATION dutch ADD MAPPING
+ FOR word, hword_part, hword
+ WITH dutch_stem;
+/*
+ * text search configuration for english language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * english and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY english_stem
+ (TEMPLATE = snowball, Language = english , StopWords=english);
+
+COMMENT ON TEXT SEARCH DICTIONARY english_stem IS 'snowball stemmer for english language';
+
+CREATE TEXT SEARCH CONFIGURATION english
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION english IS 'configuration for english language';
+
+ALTER TEXT SEARCH CONFIGURATION english ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION english ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH english_stem;
+
+ALTER TEXT SEARCH CONFIGURATION english ADD MAPPING
+ FOR word, hword_part, hword
+ WITH english_stem;
+/*
+ * text search configuration for finnish language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * finnish and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY finnish_stem
+ (TEMPLATE = snowball, Language = finnish , StopWords=finnish);
+
+COMMENT ON TEXT SEARCH DICTIONARY finnish_stem IS 'snowball stemmer for finnish language';
+
+CREATE TEXT SEARCH CONFIGURATION finnish
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION finnish IS 'configuration for finnish language';
+
+ALTER TEXT SEARCH CONFIGURATION finnish ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION finnish ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH finnish_stem;
+
+ALTER TEXT SEARCH CONFIGURATION finnish ADD MAPPING
+ FOR word, hword_part, hword
+ WITH finnish_stem;
+/*
+ * text search configuration for french language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * french and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY french_stem
+ (TEMPLATE = snowball, Language = french , StopWords=french);
+
+COMMENT ON TEXT SEARCH DICTIONARY french_stem IS 'snowball stemmer for french language';
+
+CREATE TEXT SEARCH CONFIGURATION french
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION french IS 'configuration for french language';
+
+ALTER TEXT SEARCH CONFIGURATION french ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION french ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH french_stem;
+
+ALTER TEXT SEARCH CONFIGURATION french ADD MAPPING
+ FOR word, hword_part, hword
+ WITH french_stem;
+/*
+ * text search configuration for german language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * german and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY german_stem
+ (TEMPLATE = snowball, Language = german , StopWords=german);
+
+COMMENT ON TEXT SEARCH DICTIONARY german_stem IS 'snowball stemmer for german language';
+
+CREATE TEXT SEARCH CONFIGURATION german
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION german IS 'configuration for german language';
+
+ALTER TEXT SEARCH CONFIGURATION german ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION german ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH german_stem;
+
+ALTER TEXT SEARCH CONFIGURATION german ADD MAPPING
+ FOR word, hword_part, hword
+ WITH german_stem;
+/*
+ * text search configuration for greek language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * greek and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY greek_stem
+ (TEMPLATE = snowball, Language = greek );
+
+COMMENT ON TEXT SEARCH DICTIONARY greek_stem IS 'snowball stemmer for greek language';
+
+CREATE TEXT SEARCH CONFIGURATION greek
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION greek IS 'configuration for greek language';
+
+ALTER TEXT SEARCH CONFIGURATION greek ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION greek ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH greek_stem;
+
+ALTER TEXT SEARCH CONFIGURATION greek ADD MAPPING
+ FOR word, hword_part, hword
+ WITH greek_stem;
+/*
+ * text search configuration for hindi language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * hindi and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY hindi_stem
+ (TEMPLATE = snowball, Language = hindi );
+
+COMMENT ON TEXT SEARCH DICTIONARY hindi_stem IS 'snowball stemmer for hindi language';
+
+CREATE TEXT SEARCH CONFIGURATION hindi
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION hindi IS 'configuration for hindi language';
+
+ALTER TEXT SEARCH CONFIGURATION hindi ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION hindi ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH english_stem;
+
+ALTER TEXT SEARCH CONFIGURATION hindi ADD MAPPING
+ FOR word, hword_part, hword
+ WITH hindi_stem;
+/*
+ * text search configuration for hungarian language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * hungarian and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY hungarian_stem
+ (TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);
+
+COMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';
+
+CREATE TEXT SEARCH CONFIGURATION hungarian
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';
+
+ALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH hungarian_stem;
+
+ALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING
+ FOR word, hword_part, hword
+ WITH hungarian_stem;
+/*
+ * text search configuration for indonesian language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * indonesian and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY indonesian_stem
+ (TEMPLATE = snowball, Language = indonesian );
+
+COMMENT ON TEXT SEARCH DICTIONARY indonesian_stem IS 'snowball stemmer for indonesian language';
+
+CREATE TEXT SEARCH CONFIGURATION indonesian
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION indonesian IS 'configuration for indonesian language';
+
+ALTER TEXT SEARCH CONFIGURATION indonesian ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION indonesian ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH indonesian_stem;
+
+ALTER TEXT SEARCH CONFIGURATION indonesian ADD MAPPING
+ FOR word, hword_part, hword
+ WITH indonesian_stem;
+/*
+ * text search configuration for irish language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * irish and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY irish_stem
+ (TEMPLATE = snowball, Language = irish );
+
+COMMENT ON TEXT SEARCH DICTIONARY irish_stem IS 'snowball stemmer for irish language';
+
+CREATE TEXT SEARCH CONFIGURATION irish
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION irish IS 'configuration for irish language';
+
+ALTER TEXT SEARCH CONFIGURATION irish ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION irish ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH irish_stem;
+
+ALTER TEXT SEARCH CONFIGURATION irish ADD MAPPING
+ FOR word, hword_part, hword
+ WITH irish_stem;
+/*
+ * text search configuration for italian language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * italian and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY italian_stem
+ (TEMPLATE = snowball, Language = italian , StopWords=italian);
+
+COMMENT ON TEXT SEARCH DICTIONARY italian_stem IS 'snowball stemmer for italian language';
+
+CREATE TEXT SEARCH CONFIGURATION italian
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION italian IS 'configuration for italian language';
+
+ALTER TEXT SEARCH CONFIGURATION italian ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION italian ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH italian_stem;
+
+ALTER TEXT SEARCH CONFIGURATION italian ADD MAPPING
+ FOR word, hword_part, hword
+ WITH italian_stem;
+/*
+ * text search configuration for lithuanian language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * lithuanian and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY lithuanian_stem
+ (TEMPLATE = snowball, Language = lithuanian );
+
+COMMENT ON TEXT SEARCH DICTIONARY lithuanian_stem IS 'snowball stemmer for lithuanian language';
+
+CREATE TEXT SEARCH CONFIGURATION lithuanian
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION lithuanian IS 'configuration for lithuanian language';
+
+ALTER TEXT SEARCH CONFIGURATION lithuanian ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION lithuanian ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH lithuanian_stem;
+
+ALTER TEXT SEARCH CONFIGURATION lithuanian ADD MAPPING
+ FOR word, hword_part, hword
+ WITH lithuanian_stem;
+/*
+ * text search configuration for nepali language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * nepali and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY nepali_stem
+ (TEMPLATE = snowball, Language = nepali , StopWords=nepali);
+
+COMMENT ON TEXT SEARCH DICTIONARY nepali_stem IS 'snowball stemmer for nepali language';
+
+CREATE TEXT SEARCH CONFIGURATION nepali
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION nepali IS 'configuration for nepali language';
+
+ALTER TEXT SEARCH CONFIGURATION nepali ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION nepali ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH nepali_stem;
+
+ALTER TEXT SEARCH CONFIGURATION nepali ADD MAPPING
+ FOR word, hword_part, hword
+ WITH nepali_stem;
+/*
+ * text search configuration for norwegian language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * norwegian and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY norwegian_stem
+ (TEMPLATE = snowball, Language = norwegian , StopWords=norwegian);
+
+COMMENT ON TEXT SEARCH DICTIONARY norwegian_stem IS 'snowball stemmer for norwegian language';
+
+CREATE TEXT SEARCH CONFIGURATION norwegian
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION norwegian IS 'configuration for norwegian language';
+
+ALTER TEXT SEARCH CONFIGURATION norwegian ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION norwegian ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH norwegian_stem;
+
+ALTER TEXT SEARCH CONFIGURATION norwegian ADD MAPPING
+ FOR word, hword_part, hword
+ WITH norwegian_stem;
+/*
+ * text search configuration for portuguese language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * portuguese and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY portuguese_stem
+ (TEMPLATE = snowball, Language = portuguese , StopWords=portuguese);
+
+COMMENT ON TEXT SEARCH DICTIONARY portuguese_stem IS 'snowball stemmer for portuguese language';
+
+CREATE TEXT SEARCH CONFIGURATION portuguese
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION portuguese IS 'configuration for portuguese language';
+
+ALTER TEXT SEARCH CONFIGURATION portuguese ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION portuguese ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH portuguese_stem;
+
+ALTER TEXT SEARCH CONFIGURATION portuguese ADD MAPPING
+ FOR word, hword_part, hword
+ WITH portuguese_stem;
+/*
+ * text search configuration for romanian language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * romanian and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY romanian_stem
+ (TEMPLATE = snowball, Language = romanian );
+
+COMMENT ON TEXT SEARCH DICTIONARY romanian_stem IS 'snowball stemmer for romanian language';
+
+CREATE TEXT SEARCH CONFIGURATION romanian
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION romanian IS 'configuration for romanian language';
+
+ALTER TEXT SEARCH CONFIGURATION romanian ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION romanian ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH romanian_stem;
+
+ALTER TEXT SEARCH CONFIGURATION romanian ADD MAPPING
+ FOR word, hword_part, hword
+ WITH romanian_stem;
+/*
+ * text search configuration for russian language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * russian and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY russian_stem
+ (TEMPLATE = snowball, Language = russian , StopWords=russian);
+
+COMMENT ON TEXT SEARCH DICTIONARY russian_stem IS 'snowball stemmer for russian language';
+
+CREATE TEXT SEARCH CONFIGURATION russian
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION russian IS 'configuration for russian language';
+
+ALTER TEXT SEARCH CONFIGURATION russian ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION russian ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH english_stem;
+
+ALTER TEXT SEARCH CONFIGURATION russian ADD MAPPING
+ FOR word, hword_part, hword
+ WITH russian_stem;
+/*
+ * text search configuration for serbian language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * serbian and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY serbian_stem
+ (TEMPLATE = snowball, Language = serbian );
+
+COMMENT ON TEXT SEARCH DICTIONARY serbian_stem IS 'snowball stemmer for serbian language';
+
+CREATE TEXT SEARCH CONFIGURATION serbian
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION serbian IS 'configuration for serbian language';
+
+ALTER TEXT SEARCH CONFIGURATION serbian ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION serbian ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH serbian_stem;
+
+ALTER TEXT SEARCH CONFIGURATION serbian ADD MAPPING
+ FOR word, hword_part, hword
+ WITH serbian_stem;
+/*
+ * text search configuration for spanish language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * spanish and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY spanish_stem
+ (TEMPLATE = snowball, Language = spanish , StopWords=spanish);
+
+COMMENT ON TEXT SEARCH DICTIONARY spanish_stem IS 'snowball stemmer for spanish language';
+
+CREATE TEXT SEARCH CONFIGURATION spanish
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION spanish IS 'configuration for spanish language';
+
+ALTER TEXT SEARCH CONFIGURATION spanish ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION spanish ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH spanish_stem;
+
+ALTER TEXT SEARCH CONFIGURATION spanish ADD MAPPING
+ FOR word, hword_part, hword
+ WITH spanish_stem;
+/*
+ * text search configuration for swedish language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * swedish and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY swedish_stem
+ (TEMPLATE = snowball, Language = swedish , StopWords=swedish);
+
+COMMENT ON TEXT SEARCH DICTIONARY swedish_stem IS 'snowball stemmer for swedish language';
+
+CREATE TEXT SEARCH CONFIGURATION swedish
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION swedish IS 'configuration for swedish language';
+
+ALTER TEXT SEARCH CONFIGURATION swedish ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION swedish ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH swedish_stem;
+
+ALTER TEXT SEARCH CONFIGURATION swedish ADD MAPPING
+ FOR word, hword_part, hword
+ WITH swedish_stem;
+/*
+ * text search configuration for tamil language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * tamil and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY tamil_stem
+ (TEMPLATE = snowball, Language = tamil );
+
+COMMENT ON TEXT SEARCH DICTIONARY tamil_stem IS 'snowball stemmer for tamil language';
+
+CREATE TEXT SEARCH CONFIGURATION tamil
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION tamil IS 'configuration for tamil language';
+
+ALTER TEXT SEARCH CONFIGURATION tamil ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION tamil ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH tamil_stem;
+
+ALTER TEXT SEARCH CONFIGURATION tamil ADD MAPPING
+ FOR word, hword_part, hword
+ WITH tamil_stem;
+/*
+ * text search configuration for turkish language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * turkish and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY turkish_stem
+ (TEMPLATE = snowball, Language = turkish , StopWords=turkish);
+
+COMMENT ON TEXT SEARCH DICTIONARY turkish_stem IS 'snowball stemmer for turkish language';
+
+CREATE TEXT SEARCH CONFIGURATION turkish
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION turkish IS 'configuration for turkish language';
+
+ALTER TEXT SEARCH CONFIGURATION turkish ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION turkish ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH turkish_stem;
+
+ALTER TEXT SEARCH CONFIGURATION turkish ADD MAPPING
+ FOR word, hword_part, hword
+ WITH turkish_stem;
+/*
+ * text search configuration for yiddish language
+ *
+ * Copyright (c) 2007-2023, PostgreSQL Global Development Group
+ *
+ * src/backend/snowball/snowball.sql.in
+ *
+ * yiddish and certain other macros are replaced for each language;
+ * see the Makefile for details.
+ *
+ * Note: this file is read in single-user -j mode, which means that the
+ * command terminator is semicolon-newline-newline; whenever the backend
+ * sees that, it stops and executes what it's got. If you write a lot of
+ * statements without empty lines between, they'll all get quoted to you
+ * in any error message about one of them, so don't do that. Also, you
+ * cannot write a semicolon immediately followed by an empty line in a
+ * string literal (including a function body!) or a multiline comment.
+ */
+
+CREATE TEXT SEARCH DICTIONARY yiddish_stem
+ (TEMPLATE = snowball, Language = yiddish );
+
+COMMENT ON TEXT SEARCH DICTIONARY yiddish_stem IS 'snowball stemmer for yiddish language';
+
+CREATE TEXT SEARCH CONFIGURATION yiddish
+ (PARSER = default);
+
+COMMENT ON TEXT SEARCH CONFIGURATION yiddish IS 'configuration for yiddish language';
+
+ALTER TEXT SEARCH CONFIGURATION yiddish ADD MAPPING
+ FOR email, url, url_path, host, file, version,
+ sfloat, float, int, uint,
+ numword, hword_numpart, numhword
+ WITH simple;
+
+ALTER TEXT SEARCH CONFIGURATION yiddish ADD MAPPING
+ FOR asciiword, hword_asciipart, asciihword
+ WITH yiddish_stem;
+
+ALTER TEXT SEARCH CONFIGURATION yiddish ADD MAPPING
+ FOR word, hword_part, hword
+ WITH yiddish_stem;
diff --git a/pgsql/share/sql_features.txt b/pgsql/share/sql_features.txt
new file mode 100644
index 0000000000000000000000000000000000000000..784e0e28ed5daca1c18e60c19ae79d4fe489ea10
--- /dev/null
+++ b/pgsql/share/sql_features.txt
@@ -0,0 +1,755 @@
+B011 Embedded Ada NO
+B012 Embedded C YES
+B013 Embedded COBOL NO
+B014 Embedded Fortran NO
+B015 Embedded MUMPS NO
+B016 Embedded Pascal NO
+B017 Embedded PL/I NO
+B021 Direct SQL YES
+B030 Enhanced dynamic SQL NO
+B031 Basic dynamic SQL NO
+B032 Extended dynamic SQL NO
+B033 Untyped SQL-invoked function arguments NO
+B034 Dynamic specification of cursor attributes NO
+B035 Non-extended descriptor names NO
+B036 Describe input statement NO
+B041 Extensions to embedded SQL exception declarations NO
+B051 Enhanced execution rights NO
+B111 Module language Ada NO
+B112 Module language C NO
+B113 Module language COBOL NO
+B114 Module language Fortran NO
+B115 Module language MUMPS NO
+B116 Module language Pascal NO
+B117 Module language PL/I NO
+B121 Routine language Ada NO
+B122 Routine language C NO
+B123 Routine language COBOL NO
+B124 Routine language Fortran NO
+B125 Routine language MUMPS NO
+B126 Routine language Pascal NO
+B127 Routine language PL/I NO
+B128 Routine language SQL YES
+B200 Polymorphic table functions NO
+B201 More than one PTF generic table parameter NO
+B202 PTF copartitioning NO
+B203 More than one copartition specification NO
+B204 PRUNE WHEN EMPTY NO
+B205 Pass-through columns NO
+B206 PTF descriptor parameters NO
+B207 Cross products of partitionings NO
+B208 PTF component procedure interface NO
+B209 PTF extended names NO
+B211 Module language Ada: VARCHAR and NUMERIC support NO
+B221 Routine language Ada: VARCHAR and NUMERIC support NO
+E011 Numeric data types YES
+E011 Numeric data types 01 INTEGER and SMALLINT data types YES
+E011 Numeric data types 02 REAL, DOUBLE PRECISION, and FLOAT data types YES
+E011 Numeric data types 03 DECIMAL and NUMERIC data types YES
+E011 Numeric data types 04 Arithmetic operators YES
+E011 Numeric data types 05 Numeric comparison YES
+E011 Numeric data types 06 Implicit casting among the numeric data types YES
+E021 Character data types YES
+E021 Character string types 01 CHARACTER data type YES
+E021 Character string types 02 CHARACTER VARYING data type YES
+E021 Character string types 03 Character literals YES
+E021 Character string types 04 CHARACTER_LENGTH function YES trims trailing spaces from CHARACTER values before counting
+E021 Character string types 05 OCTET_LENGTH function YES
+E021 Character string types 06 SUBSTRING function YES
+E021 Character string types 07 Character concatenation YES
+E021 Character string types 08 UPPER and LOWER functions YES
+E021 Character string types 09 TRIM function YES
+E021 Character string types 10 Implicit casting among the character string types YES
+E021 Character string types 11 POSITION function YES
+E021 Character string types 12 Character comparison YES
+E031 Identifiers YES
+E031 Identifiers 01 Delimited identifiers YES
+E031 Identifiers 02 Lower case identifiers YES
+E031 Identifiers 03 Trailing underscore YES
+E051 Basic query specification YES
+E051 Basic query specification 01 SELECT DISTINCT YES
+E051 Basic query specification 02 GROUP BY clause YES
+E051 Basic query specification 04 GROUP BY can contain columns not in