embedded-postgres 18.6.0__py3-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1378) hide show
  1. embedded_postgres/__init__.py +2 -0
  2. embedded_postgres/_commands.py +71 -0
  3. embedded_postgres/pginstall/bin/clusterdb.exe +0 -0
  4. embedded_postgres/pginstall/bin/createdb.exe +0 -0
  5. embedded_postgres/pginstall/bin/createuser.exe +0 -0
  6. embedded_postgres/pginstall/bin/dropdb.exe +0 -0
  7. embedded_postgres/pginstall/bin/dropuser.exe +0 -0
  8. embedded_postgres/pginstall/bin/ecpg.exe +0 -0
  9. embedded_postgres/pginstall/bin/initdb.exe +0 -0
  10. embedded_postgres/pginstall/bin/libecpg.dll +0 -0
  11. embedded_postgres/pginstall/bin/libecpg_compat.dll +0 -0
  12. embedded_postgres/pginstall/bin/libpgtypes.dll +0 -0
  13. embedded_postgres/pginstall/bin/libpq.dll +0 -0
  14. embedded_postgres/pginstall/bin/oid2name.exe +0 -0
  15. embedded_postgres/pginstall/bin/pg_amcheck.exe +0 -0
  16. embedded_postgres/pginstall/bin/pg_archivecleanup.exe +0 -0
  17. embedded_postgres/pginstall/bin/pg_basebackup.exe +0 -0
  18. embedded_postgres/pginstall/bin/pg_checksums.exe +0 -0
  19. embedded_postgres/pginstall/bin/pg_combinebackup.exe +0 -0
  20. embedded_postgres/pginstall/bin/pg_config.exe +0 -0
  21. embedded_postgres/pginstall/bin/pg_controldata.exe +0 -0
  22. embedded_postgres/pginstall/bin/pg_createsubscriber.exe +0 -0
  23. embedded_postgres/pginstall/bin/pg_ctl.exe +0 -0
  24. embedded_postgres/pginstall/bin/pg_dump.exe +0 -0
  25. embedded_postgres/pginstall/bin/pg_dumpall.exe +0 -0
  26. embedded_postgres/pginstall/bin/pg_isready.exe +0 -0
  27. embedded_postgres/pginstall/bin/pg_receivewal.exe +0 -0
  28. embedded_postgres/pginstall/bin/pg_recvlogical.exe +0 -0
  29. embedded_postgres/pginstall/bin/pg_resetwal.exe +0 -0
  30. embedded_postgres/pginstall/bin/pg_restore.exe +0 -0
  31. embedded_postgres/pginstall/bin/pg_rewind.exe +0 -0
  32. embedded_postgres/pginstall/bin/pg_test_fsync.exe +0 -0
  33. embedded_postgres/pginstall/bin/pg_test_timing.exe +0 -0
  34. embedded_postgres/pginstall/bin/pg_upgrade.exe +0 -0
  35. embedded_postgres/pginstall/bin/pg_verifybackup.exe +0 -0
  36. embedded_postgres/pginstall/bin/pg_waldump.exe +0 -0
  37. embedded_postgres/pginstall/bin/pg_walsummary.exe +0 -0
  38. embedded_postgres/pginstall/bin/pgbench.exe +0 -0
  39. embedded_postgres/pginstall/bin/postgres.exe +0 -0
  40. embedded_postgres/pginstall/bin/psql.exe +0 -0
  41. embedded_postgres/pginstall/bin/reindexdb.exe +0 -0
  42. embedded_postgres/pginstall/bin/vacuumdb.exe +0 -0
  43. embedded_postgres/pginstall/bin/vacuumlo.exe +0 -0
  44. embedded_postgres/pginstall/include/ecpg_config.h +9 -0
  45. embedded_postgres/pginstall/include/ecpg_informix.h +90 -0
  46. embedded_postgres/pginstall/include/ecpgerrno.h +80 -0
  47. embedded_postgres/pginstall/include/ecpglib.h +79 -0
  48. embedded_postgres/pginstall/include/ecpgtype.h +109 -0
  49. embedded_postgres/pginstall/include/informix/esql/datetime.h +14 -0
  50. embedded_postgres/pginstall/include/informix/esql/decimal.h +13 -0
  51. embedded_postgres/pginstall/include/informix/esql/sqltypes.h +59 -0
  52. embedded_postgres/pginstall/include/internal/c.h +1364 -0
  53. embedded_postgres/pginstall/include/internal/fe-auth-sasl.h +153 -0
  54. embedded_postgres/pginstall/include/internal/libpq/pqcomm.h +175 -0
  55. embedded_postgres/pginstall/include/internal/libpq/protocol.h +89 -0
  56. embedded_postgres/pginstall/include/internal/libpq-int.h +980 -0
  57. embedded_postgres/pginstall/include/internal/port.h +565 -0
  58. embedded_postgres/pginstall/include/internal/postgres_fe.h +34 -0
  59. embedded_postgres/pginstall/include/internal/pqexpbuffer.h +192 -0
  60. embedded_postgres/pginstall/include/libpq/libpq-fs.h +24 -0
  61. embedded_postgres/pginstall/include/libpq-events.h +94 -0
  62. embedded_postgres/pginstall/include/libpq-fe.h +837 -0
  63. embedded_postgres/pginstall/include/pg_config.h +824 -0
  64. embedded_postgres/pginstall/include/pg_config_manual.h +363 -0
  65. embedded_postgres/pginstall/include/pg_config_os.h +59 -0
  66. embedded_postgres/pginstall/include/pgtypes.h +17 -0
  67. embedded_postgres/pginstall/include/pgtypes_date.h +32 -0
  68. embedded_postgres/pginstall/include/pgtypes_error.h +18 -0
  69. embedded_postgres/pginstall/include/pgtypes_interval.h +40 -0
  70. embedded_postgres/pginstall/include/pgtypes_numeric.h +69 -0
  71. embedded_postgres/pginstall/include/pgtypes_timestamp.h +31 -0
  72. embedded_postgres/pginstall/include/postgres_ext.h +74 -0
  73. embedded_postgres/pginstall/include/server/access/amapi.h +332 -0
  74. embedded_postgres/pginstall/include/server/access/amvalidate.h +40 -0
  75. embedded_postgres/pginstall/include/server/access/attmap.h +54 -0
  76. embedded_postgres/pginstall/include/server/access/attnum.h +64 -0
  77. embedded_postgres/pginstall/include/server/access/brin.h +58 -0
  78. embedded_postgres/pginstall/include/server/access/brin_internal.h +116 -0
  79. embedded_postgres/pginstall/include/server/access/brin_page.h +96 -0
  80. embedded_postgres/pginstall/include/server/access/brin_pageops.h +38 -0
  81. embedded_postgres/pginstall/include/server/access/brin_revmap.h +41 -0
  82. embedded_postgres/pginstall/include/server/access/brin_tuple.h +112 -0
  83. embedded_postgres/pginstall/include/server/access/brin_xlog.h +151 -0
  84. embedded_postgres/pginstall/include/server/access/bufmask.h +32 -0
  85. embedded_postgres/pginstall/include/server/access/clog.h +62 -0
  86. embedded_postgres/pginstall/include/server/access/cmptype.h +44 -0
  87. embedded_postgres/pginstall/include/server/access/commit_ts.h +73 -0
  88. embedded_postgres/pginstall/include/server/access/detoast.h +82 -0
  89. embedded_postgres/pginstall/include/server/access/genam.h +278 -0
  90. embedded_postgres/pginstall/include/server/access/generic_xlog.h +45 -0
  91. embedded_postgres/pginstall/include/server/access/gin.h +106 -0
  92. embedded_postgres/pginstall/include/server/access/gin_private.h +506 -0
  93. embedded_postgres/pginstall/include/server/access/gin_tuple.h +44 -0
  94. embedded_postgres/pginstall/include/server/access/ginblock.h +346 -0
  95. embedded_postgres/pginstall/include/server/access/ginxlog.h +216 -0
  96. embedded_postgres/pginstall/include/server/access/gist.h +253 -0
  97. embedded_postgres/pginstall/include/server/access/gist_private.h +571 -0
  98. embedded_postgres/pginstall/include/server/access/gistscan.h +24 -0
  99. embedded_postgres/pginstall/include/server/access/gistxlog.h +117 -0
  100. embedded_postgres/pginstall/include/server/access/hash.h +490 -0
  101. embedded_postgres/pginstall/include/server/access/hash_xlog.h +270 -0
  102. embedded_postgres/pginstall/include/server/access/heapam.h +455 -0
  103. embedded_postgres/pginstall/include/server/access/heapam_xlog.h +538 -0
  104. embedded_postgres/pginstall/include/server/access/heaptoast.h +149 -0
  105. embedded_postgres/pginstall/include/server/access/hio.h +62 -0
  106. embedded_postgres/pginstall/include/server/access/htup.h +89 -0
  107. embedded_postgres/pginstall/include/server/access/htup_details.h +923 -0
  108. embedded_postgres/pginstall/include/server/access/itup.h +186 -0
  109. embedded_postgres/pginstall/include/server/access/multixact.h +161 -0
  110. embedded_postgres/pginstall/include/server/access/nbtree.h +1367 -0
  111. embedded_postgres/pginstall/include/server/access/nbtxlog.h +367 -0
  112. embedded_postgres/pginstall/include/server/access/parallel.h +81 -0
  113. embedded_postgres/pginstall/include/server/access/printsimple.h +23 -0
  114. embedded_postgres/pginstall/include/server/access/printtup.h +35 -0
  115. embedded_postgres/pginstall/include/server/access/relation.h +28 -0
  116. embedded_postgres/pginstall/include/server/access/reloptions.h +260 -0
  117. embedded_postgres/pginstall/include/server/access/relscan.h +217 -0
  118. embedded_postgres/pginstall/include/server/access/rewriteheap.h +57 -0
  119. embedded_postgres/pginstall/include/server/access/rmgr.h +62 -0
  120. embedded_postgres/pginstall/include/server/access/rmgrdesc_utils.h +22 -0
  121. embedded_postgres/pginstall/include/server/access/rmgrlist.h +49 -0
  122. embedded_postgres/pginstall/include/server/access/sdir.h +67 -0
  123. embedded_postgres/pginstall/include/server/access/sequence.h +23 -0
  124. embedded_postgres/pginstall/include/server/access/session.h +44 -0
  125. embedded_postgres/pginstall/include/server/access/skey.h +151 -0
  126. embedded_postgres/pginstall/include/server/access/slru.h +218 -0
  127. embedded_postgres/pginstall/include/server/access/spgist.h +229 -0
  128. embedded_postgres/pginstall/include/server/access/spgist_private.h +549 -0
  129. embedded_postgres/pginstall/include/server/access/spgxlog.h +259 -0
  130. embedded_postgres/pginstall/include/server/access/stratnum.h +85 -0
  131. embedded_postgres/pginstall/include/server/access/subtrans.h +26 -0
  132. embedded_postgres/pginstall/include/server/access/syncscan.h +30 -0
  133. embedded_postgres/pginstall/include/server/access/sysattr.h +29 -0
  134. embedded_postgres/pginstall/include/server/access/table.h +28 -0
  135. embedded_postgres/pginstall/include/server/access/tableam.h +2060 -0
  136. embedded_postgres/pginstall/include/server/access/tidstore.h +54 -0
  137. embedded_postgres/pginstall/include/server/access/timeline.h +44 -0
  138. embedded_postgres/pginstall/include/server/access/toast_compression.h +73 -0
  139. embedded_postgres/pginstall/include/server/access/toast_helper.h +116 -0
  140. embedded_postgres/pginstall/include/server/access/toast_internals.h +63 -0
  141. embedded_postgres/pginstall/include/server/access/transam.h +418 -0
  142. embedded_postgres/pginstall/include/server/access/tsmapi.h +82 -0
  143. embedded_postgres/pginstall/include/server/access/tupconvert.h +54 -0
  144. embedded_postgres/pginstall/include/server/access/tupdesc.h +251 -0
  145. embedded_postgres/pginstall/include/server/access/tupdesc_details.h +28 -0
  146. embedded_postgres/pginstall/include/server/access/tupmacs.h +235 -0
  147. embedded_postgres/pginstall/include/server/access/twophase.h +70 -0
  148. embedded_postgres/pginstall/include/server/access/twophase_rmgr.h +40 -0
  149. embedded_postgres/pginstall/include/server/access/valid.h +58 -0
  150. embedded_postgres/pginstall/include/server/access/visibilitymap.h +48 -0
  151. embedded_postgres/pginstall/include/server/access/visibilitymapdefs.h +34 -0
  152. embedded_postgres/pginstall/include/server/access/xact.h +536 -0
  153. embedded_postgres/pginstall/include/server/access/xlog.h +317 -0
  154. embedded_postgres/pginstall/include/server/access/xlog_internal.h +405 -0
  155. embedded_postgres/pginstall/include/server/access/xlogarchive.h +35 -0
  156. embedded_postgres/pginstall/include/server/access/xlogbackup.h +43 -0
  157. embedded_postgres/pginstall/include/server/access/xlogdefs.h +83 -0
  158. embedded_postgres/pginstall/include/server/access/xloginsert.h +68 -0
  159. embedded_postgres/pginstall/include/server/access/xlogprefetcher.h +55 -0
  160. embedded_postgres/pginstall/include/server/access/xlogreader.h +444 -0
  161. embedded_postgres/pginstall/include/server/access/xlogrecord.h +248 -0
  162. embedded_postgres/pginstall/include/server/access/xlogrecovery.h +158 -0
  163. embedded_postgres/pginstall/include/server/access/xlogstats.h +43 -0
  164. embedded_postgres/pginstall/include/server/access/xlogutils.h +123 -0
  165. embedded_postgres/pginstall/include/server/archive/archive_module.h +67 -0
  166. embedded_postgres/pginstall/include/server/archive/shell_archive.h +24 -0
  167. embedded_postgres/pginstall/include/server/bootstrap/bootstrap.h +69 -0
  168. embedded_postgres/pginstall/include/server/c.h +1364 -0
  169. embedded_postgres/pginstall/include/server/catalog/binary_upgrade.h +38 -0
  170. embedded_postgres/pginstall/include/server/catalog/catalog.h +48 -0
  171. embedded_postgres/pginstall/include/server/catalog/catversion.h +62 -0
  172. embedded_postgres/pginstall/include/server/catalog/dependency.h +234 -0
  173. embedded_postgres/pginstall/include/server/catalog/genbki.h +149 -0
  174. embedded_postgres/pginstall/include/server/catalog/heap.h +168 -0
  175. embedded_postgres/pginstall/include/server/catalog/index.h +220 -0
  176. embedded_postgres/pginstall/include/server/catalog/indexing.h +54 -0
  177. embedded_postgres/pginstall/include/server/catalog/namespace.h +189 -0
  178. embedded_postgres/pginstall/include/server/catalog/objectaccess.h +267 -0
  179. embedded_postgres/pginstall/include/server/catalog/objectaddress.h +93 -0
  180. embedded_postgres/pginstall/include/server/catalog/partition.h +34 -0
  181. embedded_postgres/pginstall/include/server/catalog/pg_aggregate.h +182 -0
  182. embedded_postgres/pginstall/include/server/catalog/pg_aggregate_d.h +85 -0
  183. embedded_postgres/pginstall/include/server/catalog/pg_am.h +66 -0
  184. embedded_postgres/pginstall/include/server/catalog/pg_am_d.h +54 -0
  185. embedded_postgres/pginstall/include/server/catalog/pg_amop.h +105 -0
  186. embedded_postgres/pginstall/include/server/catalog/pg_amop_d.h +51 -0
  187. embedded_postgres/pginstall/include/server/catalog/pg_amproc.h +75 -0
  188. embedded_postgres/pginstall/include/server/catalog/pg_amproc_d.h +42 -0
  189. embedded_postgres/pginstall/include/server/catalog/pg_attrdef.h +69 -0
  190. embedded_postgres/pginstall/include/server/catalog/pg_attrdef_d.h +40 -0
  191. embedded_postgres/pginstall/include/server/catalog/pg_attribute.h +234 -0
  192. embedded_postgres/pginstall/include/server/catalog/pg_attribute_d.h +69 -0
  193. embedded_postgres/pginstall/include/server/catalog/pg_auth_members.h +56 -0
  194. embedded_postgres/pginstall/include/server/catalog/pg_auth_members_d.h +46 -0
  195. embedded_postgres/pginstall/include/server/catalog/pg_authid.h +64 -0
  196. embedded_postgres/pginstall/include/server/catalog/pg_authid_d.h +66 -0
  197. embedded_postgres/pginstall/include/server/catalog/pg_cast.h +106 -0
  198. embedded_postgres/pginstall/include/server/catalog/pg_cast_d.h +71 -0
  199. embedded_postgres/pginstall/include/server/catalog/pg_class.h +238 -0
  200. embedded_postgres/pginstall/include/server/catalog/pg_class_d.h +140 -0
  201. embedded_postgres/pginstall/include/server/catalog/pg_collation.h +106 -0
  202. embedded_postgres/pginstall/include/server/catalog/pg_collation_d.h +72 -0
  203. embedded_postgres/pginstall/include/server/catalog/pg_constraint.h +301 -0
  204. embedded_postgres/pginstall/include/server/catalog/pg_constraint_d.h +83 -0
  205. embedded_postgres/pginstall/include/server/catalog/pg_control.h +266 -0
  206. embedded_postgres/pginstall/include/server/catalog/pg_conversion.h +79 -0
  207. embedded_postgres/pginstall/include/server/catalog/pg_conversion_d.h +45 -0
  208. embedded_postgres/pginstall/include/server/catalog/pg_database.h +129 -0
  209. embedded_postgres/pginstall/include/server/catalog/pg_database_d.h +60 -0
  210. embedded_postgres/pginstall/include/server/catalog/pg_db_role_setting.h +61 -0
  211. embedded_postgres/pginstall/include/server/catalog/pg_db_role_setting_d.h +40 -0
  212. embedded_postgres/pginstall/include/server/catalog/pg_default_acl.h +75 -0
  213. embedded_postgres/pginstall/include/server/catalog/pg_default_acl_d.h +54 -0
  214. embedded_postgres/pginstall/include/server/catalog/pg_depend.h +77 -0
  215. embedded_postgres/pginstall/include/server/catalog/pg_depend_d.h +43 -0
  216. embedded_postgres/pginstall/include/server/catalog/pg_description.h +73 -0
  217. embedded_postgres/pginstall/include/server/catalog/pg_description_d.h +39 -0
  218. embedded_postgres/pginstall/include/server/catalog/pg_enum.h +69 -0
  219. embedded_postgres/pginstall/include/server/catalog/pg_enum_d.h +41 -0
  220. embedded_postgres/pginstall/include/server/catalog/pg_event_trigger.h +60 -0
  221. embedded_postgres/pginstall/include/server/catalog/pg_event_trigger_d.h +43 -0
  222. embedded_postgres/pginstall/include/server/catalog/pg_extension.h +62 -0
  223. embedded_postgres/pginstall/include/server/catalog/pg_extension_d.h +44 -0
  224. embedded_postgres/pginstall/include/server/catalog/pg_foreign_data_wrapper.h +61 -0
  225. embedded_postgres/pginstall/include/server/catalog/pg_foreign_data_wrapper_d.h +43 -0
  226. embedded_postgres/pginstall/include/server/catalog/pg_foreign_server.h +58 -0
  227. embedded_postgres/pginstall/include/server/catalog/pg_foreign_server_d.h +44 -0
  228. embedded_postgres/pginstall/include/server/catalog/pg_foreign_table.h +51 -0
  229. embedded_postgres/pginstall/include/server/catalog/pg_foreign_table_d.h +38 -0
  230. embedded_postgres/pginstall/include/server/catalog/pg_index.h +94 -0
  231. embedded_postgres/pginstall/include/server/catalog/pg_index_d.h +68 -0
  232. embedded_postgres/pginstall/include/server/catalog/pg_inherits.h +67 -0
  233. embedded_postgres/pginstall/include/server/catalog/pg_inherits_d.h +40 -0
  234. embedded_postgres/pginstall/include/server/catalog/pg_init_privs.h +83 -0
  235. embedded_postgres/pginstall/include/server/catalog/pg_init_privs_d.h +40 -0
  236. embedded_postgres/pginstall/include/server/catalog/pg_language.h +75 -0
  237. embedded_postgres/pginstall/include/server/catalog/pg_language_d.h +48 -0
  238. embedded_postgres/pginstall/include/server/catalog/pg_largeobject.h +55 -0
  239. embedded_postgres/pginstall/include/server/catalog/pg_largeobject_d.h +38 -0
  240. embedded_postgres/pginstall/include/server/catalog/pg_largeobject_metadata.h +51 -0
  241. embedded_postgres/pginstall/include/server/catalog/pg_largeobject_metadata_d.h +38 -0
  242. embedded_postgres/pginstall/include/server/catalog/pg_namespace.h +67 -0
  243. embedded_postgres/pginstall/include/server/catalog/pg_namespace_d.h +43 -0
  244. embedded_postgres/pginstall/include/server/catalog/pg_opclass.h +91 -0
  245. embedded_postgres/pginstall/include/server/catalog/pg_opclass_d.h +58 -0
  246. embedded_postgres/pginstall/include/server/catalog/pg_operator.h +124 -0
  247. embedded_postgres/pginstall/include/server/catalog/pg_operator_d.h +153 -0
  248. embedded_postgres/pginstall/include/server/catalog/pg_opfamily.h +67 -0
  249. embedded_postgres/pginstall/include/server/catalog/pg_opfamily_d.h +58 -0
  250. embedded_postgres/pginstall/include/server/catalog/pg_parameter_acl.h +62 -0
  251. embedded_postgres/pginstall/include/server/catalog/pg_parameter_acl_d.h +41 -0
  252. embedded_postgres/pginstall/include/server/catalog/pg_partitioned_table.h +76 -0
  253. embedded_postgres/pginstall/include/server/catalog/pg_partitioned_table_d.h +43 -0
  254. embedded_postgres/pginstall/include/server/catalog/pg_policy.h +58 -0
  255. embedded_postgres/pginstall/include/server/catalog/pg_policy_d.h +44 -0
  256. embedded_postgres/pginstall/include/server/catalog/pg_proc.h +224 -0
  257. embedded_postgres/pginstall/include/server/catalog/pg_proc_d.h +108 -0
  258. embedded_postgres/pginstall/include/server/catalog/pg_publication.h +194 -0
  259. embedded_postgres/pginstall/include/server/catalog/pg_publication_d.h +57 -0
  260. embedded_postgres/pginstall/include/server/catalog/pg_publication_namespace.h +50 -0
  261. embedded_postgres/pginstall/include/server/catalog/pg_publication_namespace_d.h +39 -0
  262. embedded_postgres/pginstall/include/server/catalog/pg_publication_rel.h +57 -0
  263. embedded_postgres/pginstall/include/server/catalog/pg_publication_rel_d.h +42 -0
  264. embedded_postgres/pginstall/include/server/catalog/pg_range.h +75 -0
  265. embedded_postgres/pginstall/include/server/catalog/pg_range_d.h +43 -0
  266. embedded_postgres/pginstall/include/server/catalog/pg_replication_origin.h +63 -0
  267. embedded_postgres/pginstall/include/server/catalog/pg_replication_origin_d.h +38 -0
  268. embedded_postgres/pginstall/include/server/catalog/pg_rewrite.h +61 -0
  269. embedded_postgres/pginstall/include/server/catalog/pg_rewrite_d.h +44 -0
  270. embedded_postgres/pginstall/include/server/catalog/pg_seclabel.h +45 -0
  271. embedded_postgres/pginstall/include/server/catalog/pg_seclabel_d.h +40 -0
  272. embedded_postgres/pginstall/include/server/catalog/pg_sequence.h +46 -0
  273. embedded_postgres/pginstall/include/server/catalog/pg_sequence_d.h +43 -0
  274. embedded_postgres/pginstall/include/server/catalog/pg_shdepend.h +78 -0
  275. embedded_postgres/pginstall/include/server/catalog/pg_shdepend_d.h +43 -0
  276. embedded_postgres/pginstall/include/server/catalog/pg_shdescription.h +65 -0
  277. embedded_postgres/pginstall/include/server/catalog/pg_shdescription_d.h +40 -0
  278. embedded_postgres/pginstall/include/server/catalog/pg_shseclabel.h +46 -0
  279. embedded_postgres/pginstall/include/server/catalog/pg_shseclabel_d.h +42 -0
  280. embedded_postgres/pginstall/include/server/catalog/pg_statistic.h +288 -0
  281. embedded_postgres/pginstall/include/server/catalog/pg_statistic_d.h +206 -0
  282. embedded_postgres/pginstall/include/server/catalog/pg_statistic_ext.h +91 -0
  283. embedded_postgres/pginstall/include/server/catalog/pg_statistic_ext_d.h +52 -0
  284. embedded_postgres/pginstall/include/server/catalog/pg_statistic_ext_data.h +61 -0
  285. embedded_postgres/pginstall/include/server/catalog/pg_statistic_ext_data_d.h +41 -0
  286. embedded_postgres/pginstall/include/server/catalog/pg_subscription.h +190 -0
  287. embedded_postgres/pginstall/include/server/catalog/pg_subscription_d.h +93 -0
  288. embedded_postgres/pginstall/include/server/catalog/pg_subscription_rel.h +95 -0
  289. embedded_postgres/pginstall/include/server/catalog/pg_subscription_rel_d.h +58 -0
  290. embedded_postgres/pginstall/include/server/catalog/pg_tablespace.h +57 -0
  291. embedded_postgres/pginstall/include/server/catalog/pg_tablespace_d.h +45 -0
  292. embedded_postgres/pginstall/include/server/catalog/pg_transform.h +51 -0
  293. embedded_postgres/pginstall/include/server/catalog/pg_transform_d.h +41 -0
  294. embedded_postgres/pginstall/include/server/catalog/pg_trigger.h +153 -0
  295. embedded_postgres/pginstall/include/server/catalog/pg_trigger_d.h +116 -0
  296. embedded_postgres/pginstall/include/server/catalog/pg_ts_config.h +56 -0
  297. embedded_postgres/pginstall/include/server/catalog/pg_ts_config_d.h +41 -0
  298. embedded_postgres/pginstall/include/server/catalog/pg_ts_config_map.h +51 -0
  299. embedded_postgres/pginstall/include/server/catalog/pg_ts_config_map_d.h +39 -0
  300. embedded_postgres/pginstall/include/server/catalog/pg_ts_dict.h +62 -0
  301. embedded_postgres/pginstall/include/server/catalog/pg_ts_dict_d.h +42 -0
  302. embedded_postgres/pginstall/include/server/catalog/pg_ts_parser.h +63 -0
  303. embedded_postgres/pginstall/include/server/catalog/pg_ts_parser_d.h +44 -0
  304. embedded_postgres/pginstall/include/server/catalog/pg_ts_template.h +54 -0
  305. embedded_postgres/pginstall/include/server/catalog/pg_ts_template_d.h +41 -0
  306. embedded_postgres/pginstall/include/server/catalog/pg_type.h +407 -0
  307. embedded_postgres/pginstall/include/server/catalog/pg_type_d.h +331 -0
  308. embedded_postgres/pginstall/include/server/catalog/pg_user_mapping.h +58 -0
  309. embedded_postgres/pginstall/include/server/catalog/pg_user_mapping_d.h +40 -0
  310. embedded_postgres/pginstall/include/server/catalog/schemapg.h +242 -0
  311. embedded_postgres/pginstall/include/server/catalog/storage.h +50 -0
  312. embedded_postgres/pginstall/include/server/catalog/storage_xlog.h +59 -0
  313. embedded_postgres/pginstall/include/server/catalog/syscache_ids.h +106 -0
  314. embedded_postgres/pginstall/include/server/catalog/syscache_info.h +581 -0
  315. embedded_postgres/pginstall/include/server/catalog/system_fk_info.h +253 -0
  316. embedded_postgres/pginstall/include/server/catalog/toasting.h +30 -0
  317. embedded_postgres/pginstall/include/server/commands/alter.h +34 -0
  318. embedded_postgres/pginstall/include/server/commands/async.h +52 -0
  319. embedded_postgres/pginstall/include/server/commands/cluster.h +51 -0
  320. embedded_postgres/pginstall/include/server/commands/collationcmds.h +25 -0
  321. embedded_postgres/pginstall/include/server/commands/comment.h +45 -0
  322. embedded_postgres/pginstall/include/server/commands/conversioncmds.h +23 -0
  323. embedded_postgres/pginstall/include/server/commands/copy.h +130 -0
  324. embedded_postgres/pginstall/include/server/commands/copyapi.h +105 -0
  325. embedded_postgres/pginstall/include/server/commands/copyfrom_internal.h +197 -0
  326. embedded_postgres/pginstall/include/server/commands/createas.h +34 -0
  327. embedded_postgres/pginstall/include/server/commands/dbcommands.h +37 -0
  328. embedded_postgres/pginstall/include/server/commands/dbcommands_xlog.h +60 -0
  329. embedded_postgres/pginstall/include/server/commands/defrem.h +165 -0
  330. embedded_postgres/pginstall/include/server/commands/discard.h +20 -0
  331. embedded_postgres/pginstall/include/server/commands/event_trigger.h +97 -0
  332. embedded_postgres/pginstall/include/server/commands/explain.h +84 -0
  333. embedded_postgres/pginstall/include/server/commands/explain_dr.h +32 -0
  334. embedded_postgres/pginstall/include/server/commands/explain_format.h +58 -0
  335. embedded_postgres/pginstall/include/server/commands/explain_state.h +100 -0
  336. embedded_postgres/pginstall/include/server/commands/extension.h +60 -0
  337. embedded_postgres/pginstall/include/server/commands/lockcmds.h +24 -0
  338. embedded_postgres/pginstall/include/server/commands/matview.h +36 -0
  339. embedded_postgres/pginstall/include/server/commands/policy.h +38 -0
  340. embedded_postgres/pginstall/include/server/commands/portalcmds.h +34 -0
  341. embedded_postgres/pginstall/include/server/commands/prepare.h +62 -0
  342. embedded_postgres/pginstall/include/server/commands/proclang.h +23 -0
  343. embedded_postgres/pginstall/include/server/commands/progress.h +160 -0
  344. embedded_postgres/pginstall/include/server/commands/publicationcmds.h +43 -0
  345. embedded_postgres/pginstall/include/server/commands/schemacmds.h +29 -0
  346. embedded_postgres/pginstall/include/server/commands/seclabel.h +34 -0
  347. embedded_postgres/pginstall/include/server/commands/sequence.h +70 -0
  348. embedded_postgres/pginstall/include/server/commands/subscriptioncmds.h +31 -0
  349. embedded_postgres/pginstall/include/server/commands/tablecmds.h +110 -0
  350. embedded_postgres/pginstall/include/server/commands/tablespace.h +71 -0
  351. embedded_postgres/pginstall/include/server/commands/trigger.h +292 -0
  352. embedded_postgres/pginstall/include/server/commands/typecmds.h +64 -0
  353. embedded_postgres/pginstall/include/server/commands/user.h +43 -0
  354. embedded_postgres/pginstall/include/server/commands/vacuum.h +410 -0
  355. embedded_postgres/pginstall/include/server/commands/view.h +25 -0
  356. embedded_postgres/pginstall/include/server/common/archive.h +21 -0
  357. embedded_postgres/pginstall/include/server/common/base64.h +19 -0
  358. embedded_postgres/pginstall/include/server/common/blkreftable.h +116 -0
  359. embedded_postgres/pginstall/include/server/common/checksum_helper.h +72 -0
  360. embedded_postgres/pginstall/include/server/common/compression.h +53 -0
  361. embedded_postgres/pginstall/include/server/common/config_info.h +21 -0
  362. embedded_postgres/pginstall/include/server/common/connect.h +28 -0
  363. embedded_postgres/pginstall/include/server/common/controldata_utils.h +21 -0
  364. embedded_postgres/pginstall/include/server/common/cryptohash.h +39 -0
  365. embedded_postgres/pginstall/include/server/common/fe_memutils.h +101 -0
  366. embedded_postgres/pginstall/include/server/common/file_perm.h +56 -0
  367. embedded_postgres/pginstall/include/server/common/file_utils.h +66 -0
  368. embedded_postgres/pginstall/include/server/common/hashfn.h +119 -0
  369. embedded_postgres/pginstall/include/server/common/hashfn_unstable.h +407 -0
  370. embedded_postgres/pginstall/include/server/common/hmac.h +30 -0
  371. embedded_postgres/pginstall/include/server/common/int.h +742 -0
  372. embedded_postgres/pginstall/include/server/common/int128.h +276 -0
  373. embedded_postgres/pginstall/include/server/common/ip.h +33 -0
  374. embedded_postgres/pginstall/include/server/common/jsonapi.h +267 -0
  375. embedded_postgres/pginstall/include/server/common/keywords.h +29 -0
  376. embedded_postgres/pginstall/include/server/common/kwlookup.h +44 -0
  377. embedded_postgres/pginstall/include/server/common/link-canary.h +17 -0
  378. embedded_postgres/pginstall/include/server/common/logging.h +163 -0
  379. embedded_postgres/pginstall/include/server/common/md5.h +37 -0
  380. embedded_postgres/pginstall/include/server/common/oauth-common.h +19 -0
  381. embedded_postgres/pginstall/include/server/common/openssl.h +43 -0
  382. embedded_postgres/pginstall/include/server/common/parse_manifest.h +57 -0
  383. embedded_postgres/pginstall/include/server/common/percentrepl.h +18 -0
  384. embedded_postgres/pginstall/include/server/common/pg_lzcompress.h +93 -0
  385. embedded_postgres/pginstall/include/server/common/pg_prng.h +62 -0
  386. embedded_postgres/pginstall/include/server/common/relpath.h +154 -0
  387. embedded_postgres/pginstall/include/server/common/restricted_token.h +24 -0
  388. embedded_postgres/pginstall/include/server/common/saslprep.h +30 -0
  389. embedded_postgres/pginstall/include/server/common/scram-common.h +70 -0
  390. embedded_postgres/pginstall/include/server/common/sha1.h +21 -0
  391. embedded_postgres/pginstall/include/server/common/sha2.h +32 -0
  392. embedded_postgres/pginstall/include/server/common/shortest_dec.h +63 -0
  393. embedded_postgres/pginstall/include/server/common/string.h +44 -0
  394. embedded_postgres/pginstall/include/server/common/unicode_case.h +35 -0
  395. embedded_postgres/pginstall/include/server/common/unicode_case_table.h +13630 -0
  396. embedded_postgres/pginstall/include/server/common/unicode_category.h +91 -0
  397. embedded_postgres/pginstall/include/server/common/unicode_category_table.h +7153 -0
  398. embedded_postgres/pginstall/include/server/common/unicode_east_asian_fw_table.h +126 -0
  399. embedded_postgres/pginstall/include/server/common/unicode_nonspacing_table.h +338 -0
  400. embedded_postgres/pginstall/include/server/common/unicode_norm.h +39 -0
  401. embedded_postgres/pginstall/include/server/common/unicode_norm_hashfunc.h +3016 -0
  402. embedded_postgres/pginstall/include/server/common/unicode_norm_table.h +9202 -0
  403. embedded_postgres/pginstall/include/server/common/unicode_normprops_table.h +8025 -0
  404. embedded_postgres/pginstall/include/server/common/unicode_version.h +14 -0
  405. embedded_postgres/pginstall/include/server/common/username.h +15 -0
  406. embedded_postgres/pginstall/include/server/datatype/timestamp.h +269 -0
  407. embedded_postgres/pginstall/include/server/executor/execAsync.h +25 -0
  408. embedded_postgres/pginstall/include/server/executor/execExpr.h +924 -0
  409. embedded_postgres/pginstall/include/server/executor/execParallel.h +51 -0
  410. embedded_postgres/pginstall/include/server/executor/execPartition.h +143 -0
  411. embedded_postgres/pginstall/include/server/executor/execScan.h +254 -0
  412. embedded_postgres/pginstall/include/server/executor/execdebug.h +130 -0
  413. embedded_postgres/pginstall/include/server/executor/execdesc.h +70 -0
  414. embedded_postgres/pginstall/include/server/executor/executor.h +789 -0
  415. embedded_postgres/pginstall/include/server/executor/functions.h +55 -0
  416. embedded_postgres/pginstall/include/server/executor/hashjoin.h +365 -0
  417. embedded_postgres/pginstall/include/server/executor/instrument.h +121 -0
  418. embedded_postgres/pginstall/include/server/executor/nodeAgg.h +341 -0
  419. embedded_postgres/pginstall/include/server/executor/nodeAppend.h +30 -0
  420. embedded_postgres/pginstall/include/server/executor/nodeBitmapAnd.h +24 -0
  421. embedded_postgres/pginstall/include/server/executor/nodeBitmapHeapscan.h +33 -0
  422. embedded_postgres/pginstall/include/server/executor/nodeBitmapIndexscan.h +30 -0
  423. embedded_postgres/pginstall/include/server/executor/nodeBitmapOr.h +24 -0
  424. embedded_postgres/pginstall/include/server/executor/nodeCtescan.h +23 -0
  425. embedded_postgres/pginstall/include/server/executor/nodeCustom.h +42 -0
  426. embedded_postgres/pginstall/include/server/executor/nodeForeignscan.h +38 -0
  427. embedded_postgres/pginstall/include/server/executor/nodeFunctionscan.h +23 -0
  428. embedded_postgres/pginstall/include/server/executor/nodeGather.h +24 -0
  429. embedded_postgres/pginstall/include/server/executor/nodeGatherMerge.h +26 -0
  430. embedded_postgres/pginstall/include/server/executor/nodeGroup.h +23 -0
  431. embedded_postgres/pginstall/include/server/executor/nodeHash.h +75 -0
  432. embedded_postgres/pginstall/include/server/executor/nodeHashjoin.h +34 -0
  433. embedded_postgres/pginstall/include/server/executor/nodeIncrementalSort.h +28 -0
  434. embedded_postgres/pginstall/include/server/executor/nodeIndexonlyscan.h +37 -0
  435. embedded_postgres/pginstall/include/server/executor/nodeIndexscan.h +48 -0
  436. embedded_postgres/pginstall/include/server/executor/nodeLimit.h +23 -0
  437. embedded_postgres/pginstall/include/server/executor/nodeLockRows.h +23 -0
  438. embedded_postgres/pginstall/include/server/executor/nodeMaterial.h +25 -0
  439. embedded_postgres/pginstall/include/server/executor/nodeMemoize.h +32 -0
  440. embedded_postgres/pginstall/include/server/executor/nodeMergeAppend.h +23 -0
  441. embedded_postgres/pginstall/include/server/executor/nodeMergejoin.h +23 -0
  442. embedded_postgres/pginstall/include/server/executor/nodeModifyTable.h +33 -0
  443. embedded_postgres/pginstall/include/server/executor/nodeNamedtuplestorescan.h +22 -0
  444. embedded_postgres/pginstall/include/server/executor/nodeNestloop.h +23 -0
  445. embedded_postgres/pginstall/include/server/executor/nodeProjectSet.h +23 -0
  446. embedded_postgres/pginstall/include/server/executor/nodeRecursiveunion.h +23 -0
  447. embedded_postgres/pginstall/include/server/executor/nodeResult.h +25 -0
  448. embedded_postgres/pginstall/include/server/executor/nodeSamplescan.h +23 -0
  449. embedded_postgres/pginstall/include/server/executor/nodeSeqscan.h +31 -0
  450. embedded_postgres/pginstall/include/server/executor/nodeSetOp.h +23 -0
  451. embedded_postgres/pginstall/include/server/executor/nodeSort.h +32 -0
  452. embedded_postgres/pginstall/include/server/executor/nodeSubplan.h +29 -0
  453. embedded_postgres/pginstall/include/server/executor/nodeSubqueryscan.h +23 -0
  454. embedded_postgres/pginstall/include/server/executor/nodeTableFuncscan.h +23 -0
  455. embedded_postgres/pginstall/include/server/executor/nodeTidrangescan.h +24 -0
  456. embedded_postgres/pginstall/include/server/executor/nodeTidscan.h +23 -0
  457. embedded_postgres/pginstall/include/server/executor/nodeUnique.h +23 -0
  458. embedded_postgres/pginstall/include/server/executor/nodeValuesscan.h +22 -0
  459. embedded_postgres/pginstall/include/server/executor/nodeWindowAgg.h +23 -0
  460. embedded_postgres/pginstall/include/server/executor/nodeWorktablescan.h +22 -0
  461. embedded_postgres/pginstall/include/server/executor/spi.h +207 -0
  462. embedded_postgres/pginstall/include/server/executor/spi_priv.h +105 -0
  463. embedded_postgres/pginstall/include/server/executor/tablefunc.h +67 -0
  464. embedded_postgres/pginstall/include/server/executor/tqueue.h +32 -0
  465. embedded_postgres/pginstall/include/server/executor/tstoreReceiver.h +31 -0
  466. embedded_postgres/pginstall/include/server/executor/tuptable.h +539 -0
  467. embedded_postgres/pginstall/include/server/extension/cube/cubedata.h +82 -0
  468. embedded_postgres/pginstall/include/server/extension/hstore/hstore.h +205 -0
  469. embedded_postgres/pginstall/include/server/extension/isn/isn.h +34 -0
  470. embedded_postgres/pginstall/include/server/extension/ltree/ltree.h +319 -0
  471. embedded_postgres/pginstall/include/server/extension/seg/segdata.h +33 -0
  472. embedded_postgres/pginstall/include/server/extension/vector/halfvec.h +77 -0
  473. embedded_postgres/pginstall/include/server/extension/vector/sparsevec.h +51 -0
  474. embedded_postgres/pginstall/include/server/extension/vector/vector.h +37 -0
  475. embedded_postgres/pginstall/include/server/fe_utils/archive.h +21 -0
  476. embedded_postgres/pginstall/include/server/fe_utils/astreamer.h +231 -0
  477. embedded_postgres/pginstall/include/server/fe_utils/cancel.h +32 -0
  478. embedded_postgres/pginstall/include/server/fe_utils/conditional.h +107 -0
  479. embedded_postgres/pginstall/include/server/fe_utils/connect_utils.h +48 -0
  480. embedded_postgres/pginstall/include/server/fe_utils/mbprint.h +30 -0
  481. embedded_postgres/pginstall/include/server/fe_utils/option_utils.h +28 -0
  482. embedded_postgres/pginstall/include/server/fe_utils/parallel_slot.h +77 -0
  483. embedded_postgres/pginstall/include/server/fe_utils/print.h +236 -0
  484. embedded_postgres/pginstall/include/server/fe_utils/psqlscan.h +98 -0
  485. embedded_postgres/pginstall/include/server/fe_utils/psqlscan_int.h +181 -0
  486. embedded_postgres/pginstall/include/server/fe_utils/query_utils.h +24 -0
  487. embedded_postgres/pginstall/include/server/fe_utils/recovery_gen.h +30 -0
  488. embedded_postgres/pginstall/include/server/fe_utils/simple_list.h +71 -0
  489. embedded_postgres/pginstall/include/server/fe_utils/string_utils.h +71 -0
  490. embedded_postgres/pginstall/include/server/fmgr.h +851 -0
  491. embedded_postgres/pginstall/include/server/foreign/fdwapi.h +294 -0
  492. embedded_postgres/pginstall/include/server/foreign/foreign.h +85 -0
  493. embedded_postgres/pginstall/include/server/funcapi.h +360 -0
  494. embedded_postgres/pginstall/include/server/getopt_long.h +37 -0
  495. embedded_postgres/pginstall/include/server/jit/SectionMemoryManager.h +226 -0
  496. embedded_postgres/pginstall/include/server/jit/jit.h +106 -0
  497. embedded_postgres/pginstall/include/server/jit/llvmjit.h +152 -0
  498. embedded_postgres/pginstall/include/server/jit/llvmjit_backport.h +22 -0
  499. embedded_postgres/pginstall/include/server/jit/llvmjit_emit.h +320 -0
  500. embedded_postgres/pginstall/include/server/lib/binaryheap.h +69 -0
  501. embedded_postgres/pginstall/include/server/lib/bipartite_match.h +46 -0
  502. embedded_postgres/pginstall/include/server/lib/bloomfilter.h +27 -0
  503. embedded_postgres/pginstall/include/server/lib/dshash.h +130 -0
  504. embedded_postgres/pginstall/include/server/lib/hyperloglog.h +68 -0
  505. embedded_postgres/pginstall/include/server/lib/ilist.h +1159 -0
  506. embedded_postgres/pginstall/include/server/lib/integerset.h +24 -0
  507. embedded_postgres/pginstall/include/server/lib/knapsack.h +16 -0
  508. embedded_postgres/pginstall/include/server/lib/pairingheap.h +102 -0
  509. embedded_postgres/pginstall/include/server/lib/qunique.h +67 -0
  510. embedded_postgres/pginstall/include/server/lib/radixtree.h +3026 -0
  511. embedded_postgres/pginstall/include/server/lib/rbtree.h +81 -0
  512. embedded_postgres/pginstall/include/server/lib/simplehash.h +1210 -0
  513. embedded_postgres/pginstall/include/server/lib/sort_template.h +445 -0
  514. embedded_postgres/pginstall/include/server/lib/stringinfo.h +270 -0
  515. embedded_postgres/pginstall/include/server/libpq/auth.h +54 -0
  516. embedded_postgres/pginstall/include/server/libpq/be-fsstubs.h +32 -0
  517. embedded_postgres/pginstall/include/server/libpq/be-gssapi-common.h +27 -0
  518. embedded_postgres/pginstall/include/server/libpq/crypt.h +60 -0
  519. embedded_postgres/pginstall/include/server/libpq/hba.h +191 -0
  520. embedded_postgres/pginstall/include/server/libpq/ifaddr.h +30 -0
  521. embedded_postgres/pginstall/include/server/libpq/libpq-be-fe-helpers.h +457 -0
  522. embedded_postgres/pginstall/include/server/libpq/libpq-be.h +370 -0
  523. embedded_postgres/pginstall/include/server/libpq/libpq-fs.h +24 -0
  524. embedded_postgres/pginstall/include/server/libpq/libpq.h +145 -0
  525. embedded_postgres/pginstall/include/server/libpq/oauth.h +101 -0
  526. embedded_postgres/pginstall/include/server/libpq/pg-gssapi.h +42 -0
  527. embedded_postgres/pginstall/include/server/libpq/pqcomm.h +175 -0
  528. embedded_postgres/pginstall/include/server/libpq/pqformat.h +209 -0
  529. embedded_postgres/pginstall/include/server/libpq/pqmq.h +24 -0
  530. embedded_postgres/pginstall/include/server/libpq/pqsignal.h +54 -0
  531. embedded_postgres/pginstall/include/server/libpq/protocol.h +89 -0
  532. embedded_postgres/pginstall/include/server/libpq/sasl.h +147 -0
  533. embedded_postgres/pginstall/include/server/libpq/scram.h +37 -0
  534. embedded_postgres/pginstall/include/server/mb/pg_wchar.h +802 -0
  535. embedded_postgres/pginstall/include/server/mb/stringinfo_mb.h +24 -0
  536. embedded_postgres/pginstall/include/server/miscadmin.h +543 -0
  537. embedded_postgres/pginstall/include/server/nodes/bitmapset.h +140 -0
  538. embedded_postgres/pginstall/include/server/nodes/execnodes.h +2924 -0
  539. embedded_postgres/pginstall/include/server/nodes/extensible.h +164 -0
  540. embedded_postgres/pginstall/include/server/nodes/lockoptions.h +61 -0
  541. embedded_postgres/pginstall/include/server/nodes/makefuncs.h +128 -0
  542. embedded_postgres/pginstall/include/server/nodes/memnodes.h +152 -0
  543. embedded_postgres/pginstall/include/server/nodes/miscnodes.h +57 -0
  544. embedded_postgres/pginstall/include/server/nodes/multibitmapset.h +39 -0
  545. embedded_postgres/pginstall/include/server/nodes/nodeFuncs.h +224 -0
  546. embedded_postgres/pginstall/include/server/nodes/nodes.h +441 -0
  547. embedded_postgres/pginstall/include/server/nodes/nodetags.h +496 -0
  548. embedded_postgres/pginstall/include/server/nodes/params.h +170 -0
  549. embedded_postgres/pginstall/include/server/nodes/parsenodes.h +4335 -0
  550. embedded_postgres/pginstall/include/server/nodes/pathnodes.h +3609 -0
  551. embedded_postgres/pginstall/include/server/nodes/pg_list.h +686 -0
  552. embedded_postgres/pginstall/include/server/nodes/plannodes.h +1767 -0
  553. embedded_postgres/pginstall/include/server/nodes/primnodes.h +2374 -0
  554. embedded_postgres/pginstall/include/server/nodes/print.h +34 -0
  555. embedded_postgres/pginstall/include/server/nodes/queryjumble.h +113 -0
  556. embedded_postgres/pginstall/include/server/nodes/readfuncs.h +38 -0
  557. embedded_postgres/pginstall/include/server/nodes/replnodes.h +132 -0
  558. embedded_postgres/pginstall/include/server/nodes/subscripting.h +167 -0
  559. embedded_postgres/pginstall/include/server/nodes/supportnodes.h +393 -0
  560. embedded_postgres/pginstall/include/server/nodes/tidbitmap.h +128 -0
  561. embedded_postgres/pginstall/include/server/nodes/value.h +90 -0
  562. embedded_postgres/pginstall/include/server/optimizer/appendinfo.h +50 -0
  563. embedded_postgres/pginstall/include/server/optimizer/clauses.h +72 -0
  564. embedded_postgres/pginstall/include/server/optimizer/cost.h +226 -0
  565. embedded_postgres/pginstall/include/server/optimizer/geqo.h +90 -0
  566. embedded_postgres/pginstall/include/server/optimizer/geqo_copy.h +30 -0
  567. embedded_postgres/pginstall/include/server/optimizer/geqo_gene.h +45 -0
  568. embedded_postgres/pginstall/include/server/optimizer/geqo_misc.h +34 -0
  569. embedded_postgres/pginstall/include/server/optimizer/geqo_mutation.h +30 -0
  570. embedded_postgres/pginstall/include/server/optimizer/geqo_pool.h +40 -0
  571. embedded_postgres/pginstall/include/server/optimizer/geqo_random.h +38 -0
  572. embedded_postgres/pginstall/include/server/optimizer/geqo_recombination.h +89 -0
  573. embedded_postgres/pginstall/include/server/optimizer/geqo_selection.h +33 -0
  574. embedded_postgres/pginstall/include/server/optimizer/inherit.h +29 -0
  575. embedded_postgres/pginstall/include/server/optimizer/joininfo.h +30 -0
  576. embedded_postgres/pginstall/include/server/optimizer/optimizer.h +215 -0
  577. embedded_postgres/pginstall/include/server/optimizer/orclauses.h +21 -0
  578. embedded_postgres/pginstall/include/server/optimizer/paramassign.h +39 -0
  579. embedded_postgres/pginstall/include/server/optimizer/pathnode.h +356 -0
  580. embedded_postgres/pginstall/include/server/optimizer/paths.h +282 -0
  581. embedded_postgres/pginstall/include/server/optimizer/placeholder.h +37 -0
  582. embedded_postgres/pginstall/include/server/optimizer/plancat.h +82 -0
  583. embedded_postgres/pginstall/include/server/optimizer/planmain.h +134 -0
  584. embedded_postgres/pginstall/include/server/optimizer/planner.h +62 -0
  585. embedded_postgres/pginstall/include/server/optimizer/prep.h +58 -0
  586. embedded_postgres/pginstall/include/server/optimizer/restrictinfo.h +93 -0
  587. embedded_postgres/pginstall/include/server/optimizer/subselect.h +46 -0
  588. embedded_postgres/pginstall/include/server/optimizer/tlist.h +61 -0
  589. embedded_postgres/pginstall/include/server/parser/analyze.h +68 -0
  590. embedded_postgres/pginstall/include/server/parser/kwlist.h +521 -0
  591. embedded_postgres/pginstall/include/server/parser/parse_agg.h +65 -0
  592. embedded_postgres/pginstall/include/server/parser/parse_clause.h +57 -0
  593. embedded_postgres/pginstall/include/server/parser/parse_coerce.h +105 -0
  594. embedded_postgres/pginstall/include/server/parser/parse_collate.h +27 -0
  595. embedded_postgres/pginstall/include/server/parser/parse_cte.h +24 -0
  596. embedded_postgres/pginstall/include/server/parser/parse_enr.h +22 -0
  597. embedded_postgres/pginstall/include/server/parser/parse_expr.h +25 -0
  598. embedded_postgres/pginstall/include/server/parser/parse_func.h +74 -0
  599. embedded_postgres/pginstall/include/server/parser/parse_merge.h +21 -0
  600. embedded_postgres/pginstall/include/server/parser/parse_node.h +368 -0
  601. embedded_postgres/pginstall/include/server/parser/parse_oper.h +68 -0
  602. embedded_postgres/pginstall/include/server/parser/parse_param.h +25 -0
  603. embedded_postgres/pginstall/include/server/parser/parse_relation.h +133 -0
  604. embedded_postgres/pginstall/include/server/parser/parse_target.h +58 -0
  605. embedded_postgres/pginstall/include/server/parser/parse_type.h +61 -0
  606. embedded_postgres/pginstall/include/server/parser/parse_utilcmd.h +44 -0
  607. embedded_postgres/pginstall/include/server/parser/parser.h +68 -0
  608. embedded_postgres/pginstall/include/server/parser/parsetree.h +61 -0
  609. embedded_postgres/pginstall/include/server/parser/scanner.h +150 -0
  610. embedded_postgres/pginstall/include/server/parser/scansup.h +27 -0
  611. embedded_postgres/pginstall/include/server/partitioning/partbounds.h +146 -0
  612. embedded_postgres/pginstall/include/server/partitioning/partdefs.h +26 -0
  613. embedded_postgres/pginstall/include/server/partitioning/partdesc.h +75 -0
  614. embedded_postgres/pginstall/include/server/partitioning/partprune.h +81 -0
  615. embedded_postgres/pginstall/include/server/pg_config.h +824 -0
  616. embedded_postgres/pginstall/include/server/pg_config_manual.h +363 -0
  617. embedded_postgres/pginstall/include/server/pg_config_os.h +59 -0
  618. embedded_postgres/pginstall/include/server/pg_getopt.h +57 -0
  619. embedded_postgres/pginstall/include/server/pg_trace.h +17 -0
  620. embedded_postgres/pginstall/include/server/pgstat.h +842 -0
  621. embedded_postgres/pginstall/include/server/pgtar.h +89 -0
  622. embedded_postgres/pginstall/include/server/pgtime.h +101 -0
  623. embedded_postgres/pginstall/include/server/plpgsql.h +1336 -0
  624. embedded_postgres/pginstall/include/server/port/atomics/arch-arm.h +32 -0
  625. embedded_postgres/pginstall/include/server/port/atomics/arch-ppc.h +256 -0
  626. embedded_postgres/pginstall/include/server/port/atomics/arch-x86.h +246 -0
  627. embedded_postgres/pginstall/include/server/port/atomics/fallback.h +42 -0
  628. embedded_postgres/pginstall/include/server/port/atomics/generic-gcc.h +327 -0
  629. embedded_postgres/pginstall/include/server/port/atomics/generic-msvc.h +115 -0
  630. embedded_postgres/pginstall/include/server/port/atomics/generic-sunpro.h +113 -0
  631. embedded_postgres/pginstall/include/server/port/atomics/generic.h +427 -0
  632. embedded_postgres/pginstall/include/server/port/atomics.h +611 -0
  633. embedded_postgres/pginstall/include/server/port/cygwin.h +23 -0
  634. embedded_postgres/pginstall/include/server/port/darwin.h +13 -0
  635. embedded_postgres/pginstall/include/server/port/freebsd.h +8 -0
  636. embedded_postgres/pginstall/include/server/port/linux.h +22 -0
  637. embedded_postgres/pginstall/include/server/port/netbsd.h +1 -0
  638. embedded_postgres/pginstall/include/server/port/openbsd.h +1 -0
  639. embedded_postgres/pginstall/include/server/port/pg_bitutils.h +445 -0
  640. embedded_postgres/pginstall/include/server/port/pg_bswap.h +161 -0
  641. embedded_postgres/pginstall/include/server/port/pg_crc32c.h +169 -0
  642. embedded_postgres/pginstall/include/server/port/pg_iovec.h +127 -0
  643. embedded_postgres/pginstall/include/server/port/pg_lfind.h +209 -0
  644. embedded_postgres/pginstall/include/server/port/pg_numa.h +42 -0
  645. embedded_postgres/pginstall/include/server/port/pg_pthread.h +41 -0
  646. embedded_postgres/pginstall/include/server/port/simd.h +422 -0
  647. embedded_postgres/pginstall/include/server/port/solaris.h +35 -0
  648. embedded_postgres/pginstall/include/server/port/win32/arpa/inet.h +3 -0
  649. embedded_postgres/pginstall/include/server/port/win32/dlfcn.h +1 -0
  650. embedded_postgres/pginstall/include/server/port/win32/grp.h +1 -0
  651. embedded_postgres/pginstall/include/server/port/win32/netdb.h +7 -0
  652. embedded_postgres/pginstall/include/server/port/win32/netinet/in.h +3 -0
  653. embedded_postgres/pginstall/include/server/port/win32/netinet/tcp.h +7 -0
  654. embedded_postgres/pginstall/include/server/port/win32/pwd.h +3 -0
  655. embedded_postgres/pginstall/include/server/port/win32/sys/resource.h +20 -0
  656. embedded_postgres/pginstall/include/server/port/win32/sys/select.h +3 -0
  657. embedded_postgres/pginstall/include/server/port/win32/sys/socket.h +34 -0
  658. embedded_postgres/pginstall/include/server/port/win32/sys/un.h +17 -0
  659. embedded_postgres/pginstall/include/server/port/win32/sys/wait.h +3 -0
  660. embedded_postgres/pginstall/include/server/port/win32.h +59 -0
  661. embedded_postgres/pginstall/include/server/port/win32_msvc/dirent.h +34 -0
  662. embedded_postgres/pginstall/include/server/port/win32_msvc/sys/file.h +1 -0
  663. embedded_postgres/pginstall/include/server/port/win32_msvc/sys/param.h +1 -0
  664. embedded_postgres/pginstall/include/server/port/win32_msvc/sys/time.h +1 -0
  665. embedded_postgres/pginstall/include/server/port/win32_msvc/unistd.h +9 -0
  666. embedded_postgres/pginstall/include/server/port/win32_msvc/utime.h +3 -0
  667. embedded_postgres/pginstall/include/server/port/win32_port.h +589 -0
  668. embedded_postgres/pginstall/include/server/port/win32ntdll.h +34 -0
  669. embedded_postgres/pginstall/include/server/port.h +565 -0
  670. embedded_postgres/pginstall/include/server/portability/instr_time.h +197 -0
  671. embedded_postgres/pginstall/include/server/portability/mem.h +48 -0
  672. embedded_postgres/pginstall/include/server/postgres.h +584 -0
  673. embedded_postgres/pginstall/include/server/postgres_ext.h +74 -0
  674. embedded_postgres/pginstall/include/server/postgres_fe.h +34 -0
  675. embedded_postgres/pginstall/include/server/postmaster/autovacuum.h +71 -0
  676. embedded_postgres/pginstall/include/server/postmaster/auxprocess.h +18 -0
  677. embedded_postgres/pginstall/include/server/postmaster/bgworker.h +164 -0
  678. embedded_postgres/pginstall/include/server/postmaster/bgworker_internals.h +57 -0
  679. embedded_postgres/pginstall/include/server/postmaster/bgwriter.h +45 -0
  680. embedded_postgres/pginstall/include/server/postmaster/fork_process.h +17 -0
  681. embedded_postgres/pginstall/include/server/postmaster/interrupt.h +32 -0
  682. embedded_postgres/pginstall/include/server/postmaster/pgarch.h +36 -0
  683. embedded_postgres/pginstall/include/server/postmaster/postmaster.h +145 -0
  684. embedded_postgres/pginstall/include/server/postmaster/startup.h +41 -0
  685. embedded_postgres/pginstall/include/server/postmaster/syslogger.h +105 -0
  686. embedded_postgres/pginstall/include/server/postmaster/walsummarizer.h +35 -0
  687. embedded_postgres/pginstall/include/server/postmaster/walwriter.h +23 -0
  688. embedded_postgres/pginstall/include/server/regex/regcustom.h +99 -0
  689. embedded_postgres/pginstall/include/server/regex/regerrs.h +83 -0
  690. embedded_postgres/pginstall/include/server/regex/regex.h +272 -0
  691. embedded_postgres/pginstall/include/server/regex/regexport.h +61 -0
  692. embedded_postgres/pginstall/include/server/regex/regguts.h +563 -0
  693. embedded_postgres/pginstall/include/server/replication/conflict.h +90 -0
  694. embedded_postgres/pginstall/include/server/replication/decode.h +34 -0
  695. embedded_postgres/pginstall/include/server/replication/logical.h +158 -0
  696. embedded_postgres/pginstall/include/server/replication/logicallauncher.h +34 -0
  697. embedded_postgres/pginstall/include/server/replication/logicalproto.h +280 -0
  698. embedded_postgres/pginstall/include/server/replication/logicalrelation.h +54 -0
  699. embedded_postgres/pginstall/include/server/replication/logicalworker.h +33 -0
  700. embedded_postgres/pginstall/include/server/replication/message.h +42 -0
  701. embedded_postgres/pginstall/include/server/replication/origin.h +83 -0
  702. embedded_postgres/pginstall/include/server/replication/output_plugin.h +250 -0
  703. embedded_postgres/pginstall/include/server/replication/pgoutput.h +39 -0
  704. embedded_postgres/pginstall/include/server/replication/reorderbuffer.h +783 -0
  705. embedded_postgres/pginstall/include/server/replication/slot.h +327 -0
  706. embedded_postgres/pginstall/include/server/replication/slotsync.h +45 -0
  707. embedded_postgres/pginstall/include/server/replication/snapbuild.h +101 -0
  708. embedded_postgres/pginstall/include/server/replication/snapbuild_internal.h +199 -0
  709. embedded_postgres/pginstall/include/server/replication/syncrep.h +110 -0
  710. embedded_postgres/pginstall/include/server/replication/walreceiver.h +513 -0
  711. embedded_postgres/pginstall/include/server/replication/walsender.h +75 -0
  712. embedded_postgres/pginstall/include/server/replication/walsender_private.h +155 -0
  713. embedded_postgres/pginstall/include/server/replication/worker_internal.h +354 -0
  714. embedded_postgres/pginstall/include/server/rewrite/prs2lock.h +46 -0
  715. embedded_postgres/pginstall/include/server/rewrite/rewriteDefine.h +44 -0
  716. embedded_postgres/pginstall/include/server/rewrite/rewriteHandler.h +44 -0
  717. embedded_postgres/pginstall/include/server/rewrite/rewriteManip.h +122 -0
  718. embedded_postgres/pginstall/include/server/rewrite/rewriteRemove.h +21 -0
  719. embedded_postgres/pginstall/include/server/rewrite/rewriteSearchCycle.h +21 -0
  720. embedded_postgres/pginstall/include/server/rewrite/rewriteSupport.h +26 -0
  721. embedded_postgres/pginstall/include/server/rewrite/rowsecurity.h +49 -0
  722. embedded_postgres/pginstall/include/server/snowball/header.h +67 -0
  723. embedded_postgres/pginstall/include/server/snowball/libstemmer/api.h +32 -0
  724. embedded_postgres/pginstall/include/server/snowball/libstemmer/header.h +61 -0
  725. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_basque.h +15 -0
  726. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_catalan.h +15 -0
  727. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_danish.h +15 -0
  728. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_dutch.h +15 -0
  729. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_english.h +15 -0
  730. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_finnish.h +15 -0
  731. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_french.h +15 -0
  732. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_german.h +15 -0
  733. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_indonesian.h +15 -0
  734. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_irish.h +15 -0
  735. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_italian.h +15 -0
  736. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_norwegian.h +15 -0
  737. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_porter.h +15 -0
  738. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_portuguese.h +15 -0
  739. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_spanish.h +15 -0
  740. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_1_swedish.h +15 -0
  741. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_ISO_8859_2_hungarian.h +15 -0
  742. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_KOI8_R_russian.h +15 -0
  743. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_arabic.h +15 -0
  744. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_armenian.h +15 -0
  745. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_basque.h +15 -0
  746. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_catalan.h +15 -0
  747. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_danish.h +15 -0
  748. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_dutch.h +15 -0
  749. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_english.h +15 -0
  750. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_estonian.h +15 -0
  751. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_finnish.h +15 -0
  752. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_french.h +15 -0
  753. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_german.h +15 -0
  754. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_greek.h +15 -0
  755. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_hindi.h +15 -0
  756. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_hungarian.h +15 -0
  757. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_indonesian.h +15 -0
  758. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_irish.h +15 -0
  759. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_italian.h +15 -0
  760. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_lithuanian.h +15 -0
  761. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_nepali.h +15 -0
  762. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_norwegian.h +15 -0
  763. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_porter.h +15 -0
  764. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_portuguese.h +15 -0
  765. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_romanian.h +15 -0
  766. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_russian.h +15 -0
  767. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_serbian.h +15 -0
  768. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_spanish.h +15 -0
  769. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_swedish.h +15 -0
  770. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_tamil.h +15 -0
  771. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_turkish.h +15 -0
  772. embedded_postgres/pginstall/include/server/snowball/libstemmer/stem_UTF_8_yiddish.h +15 -0
  773. embedded_postgres/pginstall/include/server/statistics/extended_stats_internal.h +130 -0
  774. embedded_postgres/pginstall/include/server/statistics/stat_utils.h +43 -0
  775. embedded_postgres/pginstall/include/server/statistics/statistics.h +130 -0
  776. embedded_postgres/pginstall/include/server/storage/aio.h +369 -0
  777. embedded_postgres/pginstall/include/server/storage/aio_internal.h +416 -0
  778. embedded_postgres/pginstall/include/server/storage/aio_subsys.h +37 -0
  779. embedded_postgres/pginstall/include/server/storage/aio_types.h +137 -0
  780. embedded_postgres/pginstall/include/server/storage/barrier.h +46 -0
  781. embedded_postgres/pginstall/include/server/storage/block.h +108 -0
  782. embedded_postgres/pginstall/include/server/storage/buf.h +46 -0
  783. embedded_postgres/pginstall/include/server/storage/buf_internals.h +494 -0
  784. embedded_postgres/pginstall/include/server/storage/buffile.h +59 -0
  785. embedded_postgres/pginstall/include/server/storage/bufmgr.h +424 -0
  786. embedded_postgres/pginstall/include/server/storage/bufpage.h +511 -0
  787. embedded_postgres/pginstall/include/server/storage/bulk_write.h +41 -0
  788. embedded_postgres/pginstall/include/server/storage/checksum.h +24 -0
  789. embedded_postgres/pginstall/include/server/storage/checksum_impl.h +215 -0
  790. embedded_postgres/pginstall/include/server/storage/condition_variable.h +73 -0
  791. embedded_postgres/pginstall/include/server/storage/copydir.h +28 -0
  792. embedded_postgres/pginstall/include/server/storage/dsm.h +61 -0
  793. embedded_postgres/pginstall/include/server/storage/dsm_impl.h +79 -0
  794. embedded_postgres/pginstall/include/server/storage/dsm_registry.h +23 -0
  795. embedded_postgres/pginstall/include/server/storage/fd.h +233 -0
  796. embedded_postgres/pginstall/include/server/storage/fileset.h +40 -0
  797. embedded_postgres/pginstall/include/server/storage/freespace.h +39 -0
  798. embedded_postgres/pginstall/include/server/storage/fsm_internals.h +72 -0
  799. embedded_postgres/pginstall/include/server/storage/indexfsm.h +26 -0
  800. embedded_postgres/pginstall/include/server/storage/io_worker.h +22 -0
  801. embedded_postgres/pginstall/include/server/storage/ipc.h +87 -0
  802. embedded_postgres/pginstall/include/server/storage/item.h +19 -0
  803. embedded_postgres/pginstall/include/server/storage/itemid.h +184 -0
  804. embedded_postgres/pginstall/include/server/storage/itemptr.h +245 -0
  805. embedded_postgres/pginstall/include/server/storage/large_object.h +100 -0
  806. embedded_postgres/pginstall/include/server/storage/latch.h +140 -0
  807. embedded_postgres/pginstall/include/server/storage/lmgr.h +127 -0
  808. embedded_postgres/pginstall/include/server/storage/lock.h +630 -0
  809. embedded_postgres/pginstall/include/server/storage/lockdefs.h +61 -0
  810. embedded_postgres/pginstall/include/server/storage/lwlock.h +234 -0
  811. embedded_postgres/pginstall/include/server/storage/lwlocklist.h +86 -0
  812. embedded_postgres/pginstall/include/server/storage/lwlocknames.h +48 -0
  813. embedded_postgres/pginstall/include/server/storage/md.h +65 -0
  814. embedded_postgres/pginstall/include/server/storage/off.h +57 -0
  815. embedded_postgres/pginstall/include/server/storage/pg_sema.h +61 -0
  816. embedded_postgres/pginstall/include/server/storage/pg_shmem.h +94 -0
  817. embedded_postgres/pginstall/include/server/storage/pmsignal.h +110 -0
  818. embedded_postgres/pginstall/include/server/storage/predicate.h +84 -0
  819. embedded_postgres/pginstall/include/server/storage/predicate_internals.h +478 -0
  820. embedded_postgres/pginstall/include/server/storage/proc.h +516 -0
  821. embedded_postgres/pginstall/include/server/storage/procarray.h +103 -0
  822. embedded_postgres/pginstall/include/server/storage/proclist.h +219 -0
  823. embedded_postgres/pginstall/include/server/storage/proclist_types.h +53 -0
  824. embedded_postgres/pginstall/include/server/storage/procnumber.h +56 -0
  825. embedded_postgres/pginstall/include/server/storage/procsignal.h +95 -0
  826. embedded_postgres/pginstall/include/server/storage/read_stream.h +106 -0
  827. embedded_postgres/pginstall/include/server/storage/reinit.h +30 -0
  828. embedded_postgres/pginstall/include/server/storage/relfilelocator.h +100 -0
  829. embedded_postgres/pginstall/include/server/storage/s_lock.h +755 -0
  830. embedded_postgres/pginstall/include/server/storage/sharedfileset.h +37 -0
  831. embedded_postgres/pginstall/include/server/storage/shm_mq.h +86 -0
  832. embedded_postgres/pginstall/include/server/storage/shm_toc.h +58 -0
  833. embedded_postgres/pginstall/include/server/storage/shmem.h +62 -0
  834. embedded_postgres/pginstall/include/server/storage/sinval.h +167 -0
  835. embedded_postgres/pginstall/include/server/storage/sinvaladt.h +41 -0
  836. embedded_postgres/pginstall/include/server/storage/smgr.h +144 -0
  837. embedded_postgres/pginstall/include/server/storage/spin.h +65 -0
  838. embedded_postgres/pginstall/include/server/storage/standby.h +109 -0
  839. embedded_postgres/pginstall/include/server/storage/standbydefs.h +74 -0
  840. embedded_postgres/pginstall/include/server/storage/sync.h +66 -0
  841. embedded_postgres/pginstall/include/server/storage/waiteventset.h +98 -0
  842. embedded_postgres/pginstall/include/server/tcop/backend_startup.h +122 -0
  843. embedded_postgres/pginstall/include/server/tcop/cmdtag.h +62 -0
  844. embedded_postgres/pginstall/include/server/tcop/cmdtaglist.h +219 -0
  845. embedded_postgres/pginstall/include/server/tcop/deparse_utility.h +108 -0
  846. embedded_postgres/pginstall/include/server/tcop/dest.h +148 -0
  847. embedded_postgres/pginstall/include/server/tcop/fastpath.h +20 -0
  848. embedded_postgres/pginstall/include/server/tcop/pquery.h +51 -0
  849. embedded_postgres/pginstall/include/server/tcop/tcopprot.h +94 -0
  850. embedded_postgres/pginstall/include/server/tcop/utility.h +112 -0
  851. embedded_postgres/pginstall/include/server/tsearch/dicts/regis.h +49 -0
  852. embedded_postgres/pginstall/include/server/tsearch/dicts/spell.h +241 -0
  853. embedded_postgres/pginstall/include/server/tsearch/ts_cache.h +96 -0
  854. embedded_postgres/pginstall/include/server/tsearch/ts_locale.h +74 -0
  855. embedded_postgres/pginstall/include/server/tsearch/ts_public.h +159 -0
  856. embedded_postgres/pginstall/include/server/tsearch/ts_type.h +290 -0
  857. embedded_postgres/pginstall/include/server/tsearch/ts_utils.h +281 -0
  858. embedded_postgres/pginstall/include/server/utils/acl.h +293 -0
  859. embedded_postgres/pginstall/include/server/utils/aclchk_internal.h +45 -0
  860. embedded_postgres/pginstall/include/server/utils/array.h +481 -0
  861. embedded_postgres/pginstall/include/server/utils/arrayaccess.h +118 -0
  862. embedded_postgres/pginstall/include/server/utils/ascii.h +84 -0
  863. embedded_postgres/pginstall/include/server/utils/attoptcache.h +28 -0
  864. embedded_postgres/pginstall/include/server/utils/backend_progress.h +46 -0
  865. embedded_postgres/pginstall/include/server/utils/backend_status.h +349 -0
  866. embedded_postgres/pginstall/include/server/utils/builtins.h +140 -0
  867. embedded_postgres/pginstall/include/server/utils/bytea.h +28 -0
  868. embedded_postgres/pginstall/include/server/utils/cash.h +35 -0
  869. embedded_postgres/pginstall/include/server/utils/catcache.h +232 -0
  870. embedded_postgres/pginstall/include/server/utils/combocid.h +28 -0
  871. embedded_postgres/pginstall/include/server/utils/conffiles.h +27 -0
  872. embedded_postgres/pginstall/include/server/utils/date.h +118 -0
  873. embedded_postgres/pginstall/include/server/utils/datetime.h +369 -0
  874. embedded_postgres/pginstall/include/server/utils/datum.h +76 -0
  875. embedded_postgres/pginstall/include/server/utils/dsa.h +166 -0
  876. embedded_postgres/pginstall/include/server/utils/dynahash.h +20 -0
  877. embedded_postgres/pginstall/include/server/utils/elog.h +532 -0
  878. embedded_postgres/pginstall/include/server/utils/errcodes.h +356 -0
  879. embedded_postgres/pginstall/include/server/utils/evtcache.h +38 -0
  880. embedded_postgres/pginstall/include/server/utils/expandeddatum.h +170 -0
  881. embedded_postgres/pginstall/include/server/utils/expandedrecord.h +241 -0
  882. embedded_postgres/pginstall/include/server/utils/float.h +357 -0
  883. embedded_postgres/pginstall/include/server/utils/fmgroids.h +3430 -0
  884. embedded_postgres/pginstall/include/server/utils/fmgrprotos.h +2982 -0
  885. embedded_postgres/pginstall/include/server/utils/fmgrtab.h +49 -0
  886. embedded_postgres/pginstall/include/server/utils/formatting.h +35 -0
  887. embedded_postgres/pginstall/include/server/utils/freepage.h +99 -0
  888. embedded_postgres/pginstall/include/server/utils/funccache.h +134 -0
  889. embedded_postgres/pginstall/include/server/utils/geo_decls.h +285 -0
  890. embedded_postgres/pginstall/include/server/utils/guc.h +489 -0
  891. embedded_postgres/pginstall/include/server/utils/guc_hooks.h +178 -0
  892. embedded_postgres/pginstall/include/server/utils/guc_tables.h +341 -0
  893. embedded_postgres/pginstall/include/server/utils/help_config.h +17 -0
  894. embedded_postgres/pginstall/include/server/utils/hsearch.h +158 -0
  895. embedded_postgres/pginstall/include/server/utils/index_selfuncs.h +74 -0
  896. embedded_postgres/pginstall/include/server/utils/inet.h +184 -0
  897. embedded_postgres/pginstall/include/server/utils/injection_point.h +54 -0
  898. embedded_postgres/pginstall/include/server/utils/inval.h +84 -0
  899. embedded_postgres/pginstall/include/server/utils/json.h +33 -0
  900. embedded_postgres/pginstall/include/server/utils/jsonb.h +440 -0
  901. embedded_postgres/pginstall/include/server/utils/jsonfuncs.h +99 -0
  902. embedded_postgres/pginstall/include/server/utils/jsonpath.h +310 -0
  903. embedded_postgres/pginstall/include/server/utils/logtape.h +77 -0
  904. embedded_postgres/pginstall/include/server/utils/lsyscache.h +224 -0
  905. embedded_postgres/pginstall/include/server/utils/memdebug.h +82 -0
  906. embedded_postgres/pginstall/include/server/utils/memutils.h +322 -0
  907. embedded_postgres/pginstall/include/server/utils/memutils_internal.h +176 -0
  908. embedded_postgres/pginstall/include/server/utils/memutils_memorychunk.h +253 -0
  909. embedded_postgres/pginstall/include/server/utils/multirangetypes.h +150 -0
  910. embedded_postgres/pginstall/include/server/utils/numeric.h +115 -0
  911. embedded_postgres/pginstall/include/server/utils/palloc.h +165 -0
  912. embedded_postgres/pginstall/include/server/utils/partcache.h +103 -0
  913. embedded_postgres/pginstall/include/server/utils/pg_crc.h +107 -0
  914. embedded_postgres/pginstall/include/server/utils/pg_locale.h +185 -0
  915. embedded_postgres/pginstall/include/server/utils/pg_lsn.h +38 -0
  916. embedded_postgres/pginstall/include/server/utils/pg_rusage.h +32 -0
  917. embedded_postgres/pginstall/include/server/utils/pgstat_internal.h +945 -0
  918. embedded_postgres/pginstall/include/server/utils/pgstat_kind.h +72 -0
  919. embedded_postgres/pginstall/include/server/utils/pidfile.h +56 -0
  920. embedded_postgres/pginstall/include/server/utils/plancache.h +256 -0
  921. embedded_postgres/pginstall/include/server/utils/portal.h +251 -0
  922. embedded_postgres/pginstall/include/server/utils/probes.h +114 -0
  923. embedded_postgres/pginstall/include/server/utils/ps_status.h +47 -0
  924. embedded_postgres/pginstall/include/server/utils/queryenvironment.h +74 -0
  925. embedded_postgres/pginstall/include/server/utils/rangetypes.h +168 -0
  926. embedded_postgres/pginstall/include/server/utils/regproc.h +39 -0
  927. embedded_postgres/pginstall/include/server/utils/rel.h +731 -0
  928. embedded_postgres/pginstall/include/server/utils/relcache.h +163 -0
  929. embedded_postgres/pginstall/include/server/utils/relfilenumbermap.h +21 -0
  930. embedded_postgres/pginstall/include/server/utils/relmapper.h +73 -0
  931. embedded_postgres/pginstall/include/server/utils/relptr.h +93 -0
  932. embedded_postgres/pginstall/include/server/utils/reltrigger.h +81 -0
  933. embedded_postgres/pginstall/include/server/utils/resowner.h +172 -0
  934. embedded_postgres/pginstall/include/server/utils/rls.h +50 -0
  935. embedded_postgres/pginstall/include/server/utils/ruleutils.h +57 -0
  936. embedded_postgres/pginstall/include/server/utils/sampling.h +64 -0
  937. embedded_postgres/pginstall/include/server/utils/selfuncs.h +251 -0
  938. embedded_postgres/pginstall/include/server/utils/sharedtuplestore.h +61 -0
  939. embedded_postgres/pginstall/include/server/utils/skipsupport.h +98 -0
  940. embedded_postgres/pginstall/include/server/utils/snapmgr.h +122 -0
  941. embedded_postgres/pginstall/include/server/utils/snapshot.h +212 -0
  942. embedded_postgres/pginstall/include/server/utils/sortsupport.h +391 -0
  943. embedded_postgres/pginstall/include/server/utils/spccache.h +21 -0
  944. embedded_postgres/pginstall/include/server/utils/syscache.h +136 -0
  945. embedded_postgres/pginstall/include/server/utils/timeout.h +96 -0
  946. embedded_postgres/pginstall/include/server/utils/timestamp.h +159 -0
  947. embedded_postgres/pginstall/include/server/utils/tuplesort.h +480 -0
  948. embedded_postgres/pginstall/include/server/utils/tuplestore.h +91 -0
  949. embedded_postgres/pginstall/include/server/utils/typcache.h +215 -0
  950. embedded_postgres/pginstall/include/server/utils/tzparser.h +39 -0
  951. embedded_postgres/pginstall/include/server/utils/usercontext.h +26 -0
  952. embedded_postgres/pginstall/include/server/utils/uuid.h +42 -0
  953. embedded_postgres/pginstall/include/server/utils/varbit.h +89 -0
  954. embedded_postgres/pginstall/include/server/utils/varlena.h +53 -0
  955. embedded_postgres/pginstall/include/server/utils/wait_classes.h +29 -0
  956. embedded_postgres/pginstall/include/server/utils/wait_event.h +92 -0
  957. embedded_postgres/pginstall/include/server/utils/wait_event_types.h +225 -0
  958. embedded_postgres/pginstall/include/server/utils/xid8.h +32 -0
  959. embedded_postgres/pginstall/include/server/utils/xml.h +94 -0
  960. embedded_postgres/pginstall/include/server/varatt.h +358 -0
  961. embedded_postgres/pginstall/include/server/windowapi.h +64 -0
  962. embedded_postgres/pginstall/include/sql3types.h +43 -0
  963. embedded_postgres/pginstall/include/sqlca.h +66 -0
  964. embedded_postgres/pginstall/include/sqlda-compat.h +47 -0
  965. embedded_postgres/pginstall/include/sqlda-native.h +43 -0
  966. embedded_postgres/pginstall/include/sqlda.h +18 -0
  967. embedded_postgres/pginstall/lib/_int.dll +0 -0
  968. embedded_postgres/pginstall/lib/amcheck.dll +0 -0
  969. embedded_postgres/pginstall/lib/auth_delay.dll +0 -0
  970. embedded_postgres/pginstall/lib/auto_explain.dll +0 -0
  971. embedded_postgres/pginstall/lib/autoinc.dll +0 -0
  972. embedded_postgres/pginstall/lib/basebackup_to_shell.dll +0 -0
  973. embedded_postgres/pginstall/lib/basic_archive.dll +0 -0
  974. embedded_postgres/pginstall/lib/bloom.dll +0 -0
  975. embedded_postgres/pginstall/lib/btree_gin.dll +0 -0
  976. embedded_postgres/pginstall/lib/btree_gist.dll +0 -0
  977. embedded_postgres/pginstall/lib/citext.dll +0 -0
  978. embedded_postgres/pginstall/lib/cube.dll +0 -0
  979. embedded_postgres/pginstall/lib/cyrillic_and_mic.dll +0 -0
  980. embedded_postgres/pginstall/lib/dblink.dll +0 -0
  981. embedded_postgres/pginstall/lib/dict_int.dll +0 -0
  982. embedded_postgres/pginstall/lib/dict_snowball.dll +0 -0
  983. embedded_postgres/pginstall/lib/dict_xsyn.dll +0 -0
  984. embedded_postgres/pginstall/lib/earthdistance.dll +0 -0
  985. embedded_postgres/pginstall/lib/euc2004_sjis2004.dll +0 -0
  986. embedded_postgres/pginstall/lib/euc_cn_and_mic.dll +0 -0
  987. embedded_postgres/pginstall/lib/euc_jp_and_sjis.dll +0 -0
  988. embedded_postgres/pginstall/lib/euc_kr_and_mic.dll +0 -0
  989. embedded_postgres/pginstall/lib/euc_tw_and_big5.dll +0 -0
  990. embedded_postgres/pginstall/lib/file_fdw.dll +0 -0
  991. embedded_postgres/pginstall/lib/fuzzystrmatch.dll +0 -0
  992. embedded_postgres/pginstall/lib/hstore.dll +0 -0
  993. embedded_postgres/pginstall/lib/insert_username.dll +0 -0
  994. embedded_postgres/pginstall/lib/isn.dll +0 -0
  995. embedded_postgres/pginstall/lib/latin2_and_win1250.dll +0 -0
  996. embedded_postgres/pginstall/lib/latin_and_mic.dll +0 -0
  997. embedded_postgres/pginstall/lib/libecpg.a +0 -0
  998. embedded_postgres/pginstall/lib/libecpg.dll +0 -0
  999. embedded_postgres/pginstall/lib/libecpg_compat.a +0 -0
  1000. embedded_postgres/pginstall/lib/libecpg_compat.dll +0 -0
  1001. embedded_postgres/pginstall/lib/libpgcommon.a +0 -0
  1002. embedded_postgres/pginstall/lib/libpgcommon_shlib.a +0 -0
  1003. embedded_postgres/pginstall/lib/libpgfeutils.a +0 -0
  1004. embedded_postgres/pginstall/lib/libpgport.a +0 -0
  1005. embedded_postgres/pginstall/lib/libpgport_shlib.a +0 -0
  1006. embedded_postgres/pginstall/lib/libpgtypes.a +0 -0
  1007. embedded_postgres/pginstall/lib/libpgtypes.dll +0 -0
  1008. embedded_postgres/pginstall/lib/libpostgres.a +0 -0
  1009. embedded_postgres/pginstall/lib/libpq.a +0 -0
  1010. embedded_postgres/pginstall/lib/libpq.dll +0 -0
  1011. embedded_postgres/pginstall/lib/libpqwalreceiver.dll +0 -0
  1012. embedded_postgres/pginstall/lib/lo.dll +0 -0
  1013. embedded_postgres/pginstall/lib/ltree.dll +0 -0
  1014. embedded_postgres/pginstall/lib/moddatetime.dll +0 -0
  1015. embedded_postgres/pginstall/lib/pageinspect.dll +0 -0
  1016. embedded_postgres/pginstall/lib/passwordcheck.dll +0 -0
  1017. embedded_postgres/pginstall/lib/pg_buffercache.dll +0 -0
  1018. embedded_postgres/pginstall/lib/pg_freespacemap.dll +0 -0
  1019. embedded_postgres/pginstall/lib/pg_logicalinspect.dll +0 -0
  1020. embedded_postgres/pginstall/lib/pg_overexplain.dll +0 -0
  1021. embedded_postgres/pginstall/lib/pg_prewarm.dll +0 -0
  1022. embedded_postgres/pginstall/lib/pg_stat_statements.dll +0 -0
  1023. embedded_postgres/pginstall/lib/pg_surgery.dll +0 -0
  1024. embedded_postgres/pginstall/lib/pg_trgm.dll +0 -0
  1025. embedded_postgres/pginstall/lib/pg_visibility.dll +0 -0
  1026. embedded_postgres/pginstall/lib/pg_walinspect.dll +0 -0
  1027. embedded_postgres/pginstall/lib/pgevent.dll +0 -0
  1028. embedded_postgres/pginstall/lib/pgoutput.dll +0 -0
  1029. embedded_postgres/pginstall/lib/pgrowlocks.dll +0 -0
  1030. embedded_postgres/pginstall/lib/pgstattuple.dll +0 -0
  1031. embedded_postgres/pginstall/lib/pgxs/config/install-sh +527 -0
  1032. embedded_postgres/pginstall/lib/pgxs/config/missing +54 -0
  1033. embedded_postgres/pginstall/lib/pgxs/src/Makefile.global +1139 -0
  1034. embedded_postgres/pginstall/lib/pgxs/src/Makefile.port +83 -0
  1035. embedded_postgres/pginstall/lib/pgxs/src/Makefile.shlib +436 -0
  1036. embedded_postgres/pginstall/lib/pgxs/src/makefiles/pgxs.mk +476 -0
  1037. embedded_postgres/pginstall/lib/pgxs/src/nls-global.mk +182 -0
  1038. embedded_postgres/pginstall/lib/pgxs/src/test/isolation/isolationtester.exe +0 -0
  1039. embedded_postgres/pginstall/lib/pgxs/src/test/isolation/pg_isolation_regress.exe +0 -0
  1040. embedded_postgres/pginstall/lib/pgxs/src/test/regress/pg_regress.exe +0 -0
  1041. embedded_postgres/pginstall/lib/pkgconfig/libecpg.pc +14 -0
  1042. embedded_postgres/pginstall/lib/pkgconfig/libecpg_compat.pc +14 -0
  1043. embedded_postgres/pginstall/lib/pkgconfig/libpgtypes.pc +14 -0
  1044. embedded_postgres/pginstall/lib/pkgconfig/libpq.pc +14 -0
  1045. embedded_postgres/pginstall/lib/plpgsql.dll +0 -0
  1046. embedded_postgres/pginstall/lib/postgres_fdw.dll +0 -0
  1047. embedded_postgres/pginstall/lib/refint.dll +0 -0
  1048. embedded_postgres/pginstall/lib/seg.dll +0 -0
  1049. embedded_postgres/pginstall/lib/tablefunc.dll +0 -0
  1050. embedded_postgres/pginstall/lib/tcn.dll +0 -0
  1051. embedded_postgres/pginstall/lib/test_decoding.dll +0 -0
  1052. embedded_postgres/pginstall/lib/tsm_system_rows.dll +0 -0
  1053. embedded_postgres/pginstall/lib/tsm_system_time.dll +0 -0
  1054. embedded_postgres/pginstall/lib/unaccent.dll +0 -0
  1055. embedded_postgres/pginstall/lib/utf8_and_big5.dll +0 -0
  1056. embedded_postgres/pginstall/lib/utf8_and_cyrillic.dll +0 -0
  1057. embedded_postgres/pginstall/lib/utf8_and_euc2004.dll +0 -0
  1058. embedded_postgres/pginstall/lib/utf8_and_euc_cn.dll +0 -0
  1059. embedded_postgres/pginstall/lib/utf8_and_euc_jp.dll +0 -0
  1060. embedded_postgres/pginstall/lib/utf8_and_euc_kr.dll +0 -0
  1061. embedded_postgres/pginstall/lib/utf8_and_euc_tw.dll +0 -0
  1062. embedded_postgres/pginstall/lib/utf8_and_gb18030.dll +0 -0
  1063. embedded_postgres/pginstall/lib/utf8_and_gbk.dll +0 -0
  1064. embedded_postgres/pginstall/lib/utf8_and_iso8859.dll +0 -0
  1065. embedded_postgres/pginstall/lib/utf8_and_iso8859_1.dll +0 -0
  1066. embedded_postgres/pginstall/lib/utf8_and_johab.dll +0 -0
  1067. embedded_postgres/pginstall/lib/utf8_and_sjis.dll +0 -0
  1068. embedded_postgres/pginstall/lib/utf8_and_sjis2004.dll +0 -0
  1069. embedded_postgres/pginstall/lib/utf8_and_uhc.dll +0 -0
  1070. embedded_postgres/pginstall/lib/utf8_and_win.dll +0 -0
  1071. embedded_postgres/pginstall/lib/vector.dll +0 -0
  1072. embedded_postgres/pginstall/share/doc/extension/autoinc.example +35 -0
  1073. embedded_postgres/pginstall/share/doc/extension/insert_username.example +20 -0
  1074. embedded_postgres/pginstall/share/doc/extension/moddatetime.example +27 -0
  1075. embedded_postgres/pginstall/share/doc/extension/refint.example +82 -0
  1076. embedded_postgres/pginstall/share/errcodes.txt +501 -0
  1077. embedded_postgres/pginstall/share/extension/amcheck--1.0--1.1.sql +29 -0
  1078. embedded_postgres/pginstall/share/extension/amcheck--1.0.sql +24 -0
  1079. embedded_postgres/pginstall/share/extension/amcheck--1.1--1.2.sql +19 -0
  1080. embedded_postgres/pginstall/share/extension/amcheck--1.2--1.3.sql +30 -0
  1081. embedded_postgres/pginstall/share/extension/amcheck--1.3--1.4.sql +29 -0
  1082. embedded_postgres/pginstall/share/extension/amcheck--1.4--1.5.sql +14 -0
  1083. embedded_postgres/pginstall/share/extension/amcheck.control +5 -0
  1084. embedded_postgres/pginstall/share/extension/autoinc--1.0.sql +9 -0
  1085. embedded_postgres/pginstall/share/extension/autoinc.control +5 -0
  1086. embedded_postgres/pginstall/share/extension/bloom--1.0.sql +25 -0
  1087. embedded_postgres/pginstall/share/extension/bloom.control +5 -0
  1088. embedded_postgres/pginstall/share/extension/btree_gin--1.0--1.1.sql +35 -0
  1089. embedded_postgres/pginstall/share/extension/btree_gin--1.0.sql +689 -0
  1090. embedded_postgres/pginstall/share/extension/btree_gin--1.1--1.2.sql +47 -0
  1091. embedded_postgres/pginstall/share/extension/btree_gin--1.2--1.3.sql +128 -0
  1092. embedded_postgres/pginstall/share/extension/btree_gin.control +6 -0
  1093. embedded_postgres/pginstall/share/extension/btree_gist--1.0--1.1.sql +127 -0
  1094. embedded_postgres/pginstall/share/extension/btree_gist--1.1--1.2.sql +79 -0
  1095. embedded_postgres/pginstall/share/extension/btree_gist--1.2--1.3.sql +65 -0
  1096. embedded_postgres/pginstall/share/extension/btree_gist--1.2.sql +1570 -0
  1097. embedded_postgres/pginstall/share/extension/btree_gist--1.3--1.4.sql +64 -0
  1098. embedded_postgres/pginstall/share/extension/btree_gist--1.4--1.5.sql +69 -0
  1099. embedded_postgres/pginstall/share/extension/btree_gist--1.5--1.6.sql +191 -0
  1100. embedded_postgres/pginstall/share/extension/btree_gist--1.6--1.7.sql +77 -0
  1101. embedded_postgres/pginstall/share/extension/btree_gist--1.7--1.8.sql +284 -0
  1102. embedded_postgres/pginstall/share/extension/btree_gist.control +6 -0
  1103. embedded_postgres/pginstall/share/extension/citext--1.0--1.1.sql +21 -0
  1104. embedded_postgres/pginstall/share/extension/citext--1.1--1.2.sql +68 -0
  1105. embedded_postgres/pginstall/share/extension/citext--1.2--1.3.sql +21 -0
  1106. embedded_postgres/pginstall/share/extension/citext--1.3--1.4.sql +12 -0
  1107. embedded_postgres/pginstall/share/extension/citext--1.4--1.5.sql +88 -0
  1108. embedded_postgres/pginstall/share/extension/citext--1.4.sql +501 -0
  1109. embedded_postgres/pginstall/share/extension/citext--1.5--1.6.sql +12 -0
  1110. embedded_postgres/pginstall/share/extension/citext--1.6--1.7.sql +45 -0
  1111. embedded_postgres/pginstall/share/extension/citext--1.7--1.8.sql +60 -0
  1112. embedded_postgres/pginstall/share/extension/citext.control +6 -0
  1113. embedded_postgres/pginstall/share/extension/cube--1.0--1.1.sql +59 -0
  1114. embedded_postgres/pginstall/share/extension/cube--1.1--1.2.sql +75 -0
  1115. embedded_postgres/pginstall/share/extension/cube--1.2--1.3.sql +12 -0
  1116. embedded_postgres/pginstall/share/extension/cube--1.2.sql +378 -0
  1117. embedded_postgres/pginstall/share/extension/cube--1.3--1.4.sql +58 -0
  1118. embedded_postgres/pginstall/share/extension/cube--1.4--1.5.sql +21 -0
  1119. embedded_postgres/pginstall/share/extension/cube.control +6 -0
  1120. embedded_postgres/pginstall/share/extension/dblink--1.0--1.1.sql +14 -0
  1121. embedded_postgres/pginstall/share/extension/dblink--1.1--1.2.sql +46 -0
  1122. embedded_postgres/pginstall/share/extension/dblink--1.2.sql +235 -0
  1123. embedded_postgres/pginstall/share/extension/dblink.control +5 -0
  1124. embedded_postgres/pginstall/share/extension/dict_int--1.0.sql +25 -0
  1125. embedded_postgres/pginstall/share/extension/dict_int.control +6 -0
  1126. embedded_postgres/pginstall/share/extension/dict_xsyn--1.0.sql +25 -0
  1127. embedded_postgres/pginstall/share/extension/dict_xsyn.control +5 -0
  1128. embedded_postgres/pginstall/share/extension/earthdistance--1.0--1.1.sql +14 -0
  1129. embedded_postgres/pginstall/share/extension/earthdistance--1.1--1.2.sql +73 -0
  1130. embedded_postgres/pginstall/share/extension/earthdistance--1.1.sql +98 -0
  1131. embedded_postgres/pginstall/share/extension/earthdistance.control +6 -0
  1132. embedded_postgres/pginstall/share/extension/file_fdw--1.0.sql +18 -0
  1133. embedded_postgres/pginstall/share/extension/file_fdw.control +5 -0
  1134. embedded_postgres/pginstall/share/extension/fuzzystrmatch--1.0--1.1.sql +15 -0
  1135. embedded_postgres/pginstall/share/extension/fuzzystrmatch--1.1--1.2.sql +8 -0
  1136. embedded_postgres/pginstall/share/extension/fuzzystrmatch--1.1.sql +44 -0
  1137. embedded_postgres/pginstall/share/extension/fuzzystrmatch.control +6 -0
  1138. embedded_postgres/pginstall/share/extension/hstore--1.1--1.2.sql +53 -0
  1139. embedded_postgres/pginstall/share/extension/hstore--1.2--1.3.sql +17 -0
  1140. embedded_postgres/pginstall/share/extension/hstore--1.3--1.4.sql +99 -0
  1141. embedded_postgres/pginstall/share/extension/hstore--1.4--1.5.sql +14 -0
  1142. embedded_postgres/pginstall/share/extension/hstore--1.4.sql +550 -0
  1143. embedded_postgres/pginstall/share/extension/hstore--1.5--1.6.sql +12 -0
  1144. embedded_postgres/pginstall/share/extension/hstore--1.6--1.7.sql +27 -0
  1145. embedded_postgres/pginstall/share/extension/hstore--1.7--1.8.sql +17 -0
  1146. embedded_postgres/pginstall/share/extension/hstore.control +6 -0
  1147. embedded_postgres/pginstall/share/extension/insert_username--1.0.sql +9 -0
  1148. embedded_postgres/pginstall/share/extension/insert_username.control +5 -0
  1149. embedded_postgres/pginstall/share/extension/intagg--1.0--1.1.sql +23 -0
  1150. embedded_postgres/pginstall/share/extension/intagg--1.1.sql +37 -0
  1151. embedded_postgres/pginstall/share/extension/intagg.control +4 -0
  1152. embedded_postgres/pginstall/share/extension/intarray--1.0--1.1.sql +49 -0
  1153. embedded_postgres/pginstall/share/extension/intarray--1.1--1.2.sql +94 -0
  1154. embedded_postgres/pginstall/share/extension/intarray--1.2--1.3.sql +20 -0
  1155. embedded_postgres/pginstall/share/extension/intarray--1.2.sql +520 -0
  1156. embedded_postgres/pginstall/share/extension/intarray--1.3--1.4.sql +21 -0
  1157. embedded_postgres/pginstall/share/extension/intarray--1.4--1.5.sql +8 -0
  1158. embedded_postgres/pginstall/share/extension/intarray.control +6 -0
  1159. embedded_postgres/pginstall/share/extension/isn--1.0--1.1.sql +250 -0
  1160. embedded_postgres/pginstall/share/extension/isn--1.1--1.2.sql +228 -0
  1161. embedded_postgres/pginstall/share/extension/isn--1.1.sql +3434 -0
  1162. embedded_postgres/pginstall/share/extension/isn--1.2--1.3.sql +7 -0
  1163. embedded_postgres/pginstall/share/extension/isn.control +6 -0
  1164. embedded_postgres/pginstall/share/extension/lo--1.0--1.1.sql +6 -0
  1165. embedded_postgres/pginstall/share/extension/lo--1.1--1.2.sql +8 -0
  1166. embedded_postgres/pginstall/share/extension/lo--1.1.sql +25 -0
  1167. embedded_postgres/pginstall/share/extension/lo.control +6 -0
  1168. embedded_postgres/pginstall/share/extension/ltree--1.0--1.1.sql +115 -0
  1169. embedded_postgres/pginstall/share/extension/ltree--1.1--1.2.sql +139 -0
  1170. embedded_postgres/pginstall/share/extension/ltree--1.1.sql +872 -0
  1171. embedded_postgres/pginstall/share/extension/ltree--1.2--1.3.sql +23 -0
  1172. embedded_postgres/pginstall/share/extension/ltree.control +6 -0
  1173. embedded_postgres/pginstall/share/extension/moddatetime--1.0.sql +9 -0
  1174. embedded_postgres/pginstall/share/extension/moddatetime.control +5 -0
  1175. embedded_postgres/pginstall/share/extension/pageinspect--1.0--1.1.sql +18 -0
  1176. embedded_postgres/pginstall/share/extension/pageinspect--1.1--1.2.sql +18 -0
  1177. embedded_postgres/pginstall/share/extension/pageinspect--1.10--1.11.sql +28 -0
  1178. embedded_postgres/pginstall/share/extension/pageinspect--1.11--1.12.sql +40 -0
  1179. embedded_postgres/pginstall/share/extension/pageinspect--1.12--1.13.sql +74 -0
  1180. embedded_postgres/pginstall/share/extension/pageinspect--1.2--1.3.sql +82 -0
  1181. embedded_postgres/pginstall/share/extension/pageinspect--1.3--1.4.sql +118 -0
  1182. embedded_postgres/pginstall/share/extension/pageinspect--1.4--1.5.sql +24 -0
  1183. embedded_postgres/pginstall/share/extension/pageinspect--1.5--1.6.sql +99 -0
  1184. embedded_postgres/pginstall/share/extension/pageinspect--1.5.sql +279 -0
  1185. embedded_postgres/pginstall/share/extension/pageinspect--1.6--1.7.sql +26 -0
  1186. embedded_postgres/pginstall/share/extension/pageinspect--1.7--1.8.sql +69 -0
  1187. embedded_postgres/pginstall/share/extension/pageinspect--1.8--1.9.sql +137 -0
  1188. embedded_postgres/pginstall/share/extension/pageinspect--1.9--1.10.sql +21 -0
  1189. embedded_postgres/pginstall/share/extension/pageinspect.control +5 -0
  1190. embedded_postgres/pginstall/share/extension/pg_buffercache--1.0--1.1.sql +11 -0
  1191. embedded_postgres/pginstall/share/extension/pg_buffercache--1.1--1.2.sql +6 -0
  1192. embedded_postgres/pginstall/share/extension/pg_buffercache--1.2--1.3.sql +7 -0
  1193. embedded_postgres/pginstall/share/extension/pg_buffercache--1.2.sql +21 -0
  1194. embedded_postgres/pginstall/share/extension/pg_buffercache--1.3--1.4.sql +28 -0
  1195. embedded_postgres/pginstall/share/extension/pg_buffercache--1.4--1.5.sql +6 -0
  1196. embedded_postgres/pginstall/share/extension/pg_buffercache--1.5--1.6.sql +46 -0
  1197. embedded_postgres/pginstall/share/extension/pg_buffercache.control +5 -0
  1198. embedded_postgres/pginstall/share/extension/pg_freespacemap--1.0--1.1.sql +7 -0
  1199. embedded_postgres/pginstall/share/extension/pg_freespacemap--1.1--1.2.sql +7 -0
  1200. embedded_postgres/pginstall/share/extension/pg_freespacemap--1.1.sql +25 -0
  1201. embedded_postgres/pginstall/share/extension/pg_freespacemap--1.2--1.3.sql +13 -0
  1202. embedded_postgres/pginstall/share/extension/pg_freespacemap.control +5 -0
  1203. embedded_postgres/pginstall/share/extension/pg_logicalinspect--1.0.sql +43 -0
  1204. embedded_postgres/pginstall/share/extension/pg_logicalinspect.control +5 -0
  1205. embedded_postgres/pginstall/share/extension/pg_prewarm--1.0--1.1.sql +6 -0
  1206. embedded_postgres/pginstall/share/extension/pg_prewarm--1.1--1.2.sql +14 -0
  1207. embedded_postgres/pginstall/share/extension/pg_prewarm--1.1.sql +14 -0
  1208. embedded_postgres/pginstall/share/extension/pg_prewarm.control +5 -0
  1209. embedded_postgres/pginstall/share/extension/pg_stat_statements--1.0--1.1.sql +42 -0
  1210. embedded_postgres/pginstall/share/extension/pg_stat_statements--1.1--1.2.sql +43 -0
  1211. embedded_postgres/pginstall/share/extension/pg_stat_statements--1.10--1.11.sql +82 -0
  1212. embedded_postgres/pginstall/share/extension/pg_stat_statements--1.11--1.12.sql +76 -0
  1213. embedded_postgres/pginstall/share/extension/pg_stat_statements--1.2--1.3.sql +47 -0
  1214. embedded_postgres/pginstall/share/extension/pg_stat_statements--1.3--1.4.sql +7 -0
  1215. embedded_postgres/pginstall/share/extension/pg_stat_statements--1.4--1.5.sql +6 -0
  1216. embedded_postgres/pginstall/share/extension/pg_stat_statements--1.4.sql +48 -0
  1217. embedded_postgres/pginstall/share/extension/pg_stat_statements--1.5--1.6.sql +7 -0
  1218. embedded_postgres/pginstall/share/extension/pg_stat_statements--1.6--1.7.sql +22 -0
  1219. embedded_postgres/pginstall/share/extension/pg_stat_statements--1.7--1.8.sql +56 -0
  1220. embedded_postgres/pginstall/share/extension/pg_stat_statements--1.8--1.9.sql +71 -0
  1221. embedded_postgres/pginstall/share/extension/pg_stat_statements--1.9--1.10.sql +67 -0
  1222. embedded_postgres/pginstall/share/extension/pg_stat_statements.control +5 -0
  1223. embedded_postgres/pginstall/share/extension/pg_surgery--1.0.sql +18 -0
  1224. embedded_postgres/pginstall/share/extension/pg_surgery.control +5 -0
  1225. embedded_postgres/pginstall/share/extension/pg_trgm--1.0--1.1.sql +12 -0
  1226. embedded_postgres/pginstall/share/extension/pg_trgm--1.1--1.2.sql +74 -0
  1227. embedded_postgres/pginstall/share/extension/pg_trgm--1.2--1.3.sql +65 -0
  1228. embedded_postgres/pginstall/share/extension/pg_trgm--1.3--1.4.sql +68 -0
  1229. embedded_postgres/pginstall/share/extension/pg_trgm--1.3.sql +254 -0
  1230. embedded_postgres/pginstall/share/extension/pg_trgm--1.4--1.5.sql +23 -0
  1231. embedded_postgres/pginstall/share/extension/pg_trgm--1.5--1.6.sql +10 -0
  1232. embedded_postgres/pginstall/share/extension/pg_trgm.control +6 -0
  1233. embedded_postgres/pginstall/share/extension/pg_visibility--1.0--1.1.sql +24 -0
  1234. embedded_postgres/pginstall/share/extension/pg_visibility--1.1--1.2.sql +13 -0
  1235. embedded_postgres/pginstall/share/extension/pg_visibility--1.1.sql +75 -0
  1236. embedded_postgres/pginstall/share/extension/pg_visibility.control +5 -0
  1237. embedded_postgres/pginstall/share/extension/pg_walinspect--1.0--1.1.sql +42 -0
  1238. embedded_postgres/pginstall/share/extension/pg_walinspect--1.0.sql +118 -0
  1239. embedded_postgres/pginstall/share/extension/pg_walinspect.control +5 -0
  1240. embedded_postgres/pginstall/share/extension/pgrowlocks--1.0--1.1.sql +17 -0
  1241. embedded_postgres/pginstall/share/extension/pgrowlocks--1.1--1.2.sql +6 -0
  1242. embedded_postgres/pginstall/share/extension/pgrowlocks--1.2.sql +15 -0
  1243. embedded_postgres/pginstall/share/extension/pgrowlocks.control +5 -0
  1244. embedded_postgres/pginstall/share/extension/pgstattuple--1.0--1.1.sql +11 -0
  1245. embedded_postgres/pginstall/share/extension/pgstattuple--1.1--1.2.sql +39 -0
  1246. embedded_postgres/pginstall/share/extension/pgstattuple--1.2--1.3.sql +18 -0
  1247. embedded_postgres/pginstall/share/extension/pgstattuple--1.3--1.4.sql +13 -0
  1248. embedded_postgres/pginstall/share/extension/pgstattuple--1.4--1.5.sql +136 -0
  1249. embedded_postgres/pginstall/share/extension/pgstattuple--1.4.sql +95 -0
  1250. embedded_postgres/pginstall/share/extension/pgstattuple.control +5 -0
  1251. embedded_postgres/pginstall/share/extension/plpgsql--1.0.sql +20 -0
  1252. embedded_postgres/pginstall/share/extension/plpgsql.control +8 -0
  1253. embedded_postgres/pginstall/share/extension/postgres_fdw--1.0--1.1.sql +20 -0
  1254. embedded_postgres/pginstall/share/extension/postgres_fdw--1.0.sql +18 -0
  1255. embedded_postgres/pginstall/share/extension/postgres_fdw--1.1--1.2.sql +18 -0
  1256. embedded_postgres/pginstall/share/extension/postgres_fdw.control +5 -0
  1257. embedded_postgres/pginstall/share/extension/refint--1.0.sql +14 -0
  1258. embedded_postgres/pginstall/share/extension/refint.control +5 -0
  1259. embedded_postgres/pginstall/share/extension/seg--1.0--1.1.sql +63 -0
  1260. embedded_postgres/pginstall/share/extension/seg--1.1--1.2.sql +14 -0
  1261. embedded_postgres/pginstall/share/extension/seg--1.1.sql +395 -0
  1262. embedded_postgres/pginstall/share/extension/seg--1.2--1.3.sql +58 -0
  1263. embedded_postgres/pginstall/share/extension/seg--1.3--1.4.sql +8 -0
  1264. embedded_postgres/pginstall/share/extension/seg.control +6 -0
  1265. embedded_postgres/pginstall/share/extension/tablefunc--1.0.sql +88 -0
  1266. embedded_postgres/pginstall/share/extension/tablefunc.control +6 -0
  1267. embedded_postgres/pginstall/share/extension/tcn--1.0.sql +9 -0
  1268. embedded_postgres/pginstall/share/extension/tcn.control +6 -0
  1269. embedded_postgres/pginstall/share/extension/tsm_system_rows--1.0.sql +9 -0
  1270. embedded_postgres/pginstall/share/extension/tsm_system_rows.control +6 -0
  1271. embedded_postgres/pginstall/share/extension/tsm_system_time--1.0.sql +9 -0
  1272. embedded_postgres/pginstall/share/extension/tsm_system_time.control +6 -0
  1273. embedded_postgres/pginstall/share/extension/unaccent--1.0--1.1.sql +9 -0
  1274. embedded_postgres/pginstall/share/extension/unaccent--1.1.sql +34 -0
  1275. embedded_postgres/pginstall/share/extension/unaccent.control +6 -0
  1276. embedded_postgres/pginstall/share/extension/vector--0.1.0--0.1.1.sql +39 -0
  1277. embedded_postgres/pginstall/share/extension/vector--0.1.1--0.1.3.sql +2 -0
  1278. embedded_postgres/pginstall/share/extension/vector--0.1.3--0.1.4.sql +2 -0
  1279. embedded_postgres/pginstall/share/extension/vector--0.1.4--0.1.5.sql +2 -0
  1280. embedded_postgres/pginstall/share/extension/vector--0.1.5--0.1.6.sql +2 -0
  1281. embedded_postgres/pginstall/share/extension/vector--0.1.6--0.1.7.sql +8 -0
  1282. embedded_postgres/pginstall/share/extension/vector--0.1.7--0.1.8.sql +8 -0
  1283. embedded_postgres/pginstall/share/extension/vector--0.1.8--0.2.0.sql +2 -0
  1284. embedded_postgres/pginstall/share/extension/vector--0.2.0--0.2.1.sql +19 -0
  1285. embedded_postgres/pginstall/share/extension/vector--0.2.1--0.2.2.sql +2 -0
  1286. embedded_postgres/pginstall/share/extension/vector--0.2.2--0.2.3.sql +2 -0
  1287. embedded_postgres/pginstall/share/extension/vector--0.2.3--0.2.4.sql +2 -0
  1288. embedded_postgres/pginstall/share/extension/vector--0.2.4--0.2.5.sql +2 -0
  1289. embedded_postgres/pginstall/share/extension/vector--0.2.5--0.2.6.sql +2 -0
  1290. embedded_postgres/pginstall/share/extension/vector--0.2.6--0.2.7.sql +2 -0
  1291. embedded_postgres/pginstall/share/extension/vector--0.2.7--0.3.0.sql +2 -0
  1292. embedded_postgres/pginstall/share/extension/vector--0.3.0--0.3.1.sql +2 -0
  1293. embedded_postgres/pginstall/share/extension/vector--0.3.1--0.3.2.sql +2 -0
  1294. embedded_postgres/pginstall/share/extension/vector--0.3.2--0.4.0.sql +23 -0
  1295. embedded_postgres/pginstall/share/extension/vector--0.4.0--0.4.1.sql +2 -0
  1296. embedded_postgres/pginstall/share/extension/vector--0.4.1--0.4.2.sql +2 -0
  1297. embedded_postgres/pginstall/share/extension/vector--0.4.2--0.4.3.sql +2 -0
  1298. embedded_postgres/pginstall/share/extension/vector--0.4.3--0.4.4.sql +2 -0
  1299. embedded_postgres/pginstall/share/extension/vector--0.4.4--0.5.0.sql +43 -0
  1300. embedded_postgres/pginstall/share/extension/vector--0.5.0--0.5.1.sql +2 -0
  1301. embedded_postgres/pginstall/share/extension/vector--0.5.1--0.6.0.sql +5 -0
  1302. embedded_postgres/pginstall/share/extension/vector--0.6.0--0.6.1.sql +16 -0
  1303. embedded_postgres/pginstall/share/extension/vector--0.6.1--0.6.2.sql +2 -0
  1304. embedded_postgres/pginstall/share/extension/vector--0.6.2--0.7.0.sql +569 -0
  1305. embedded_postgres/pginstall/share/extension/vector--0.7.0--0.7.1.sql +2 -0
  1306. embedded_postgres/pginstall/share/extension/vector--0.7.1--0.7.2.sql +2 -0
  1307. embedded_postgres/pginstall/share/extension/vector--0.7.2--0.7.3.sql +2 -0
  1308. embedded_postgres/pginstall/share/extension/vector--0.7.3--0.7.4.sql +2 -0
  1309. embedded_postgres/pginstall/share/extension/vector--0.7.4--0.8.0.sql +26 -0
  1310. embedded_postgres/pginstall/share/extension/vector--0.8.0--0.8.1.sql +2 -0
  1311. embedded_postgres/pginstall/share/extension/vector--0.8.1--0.8.2.sql +2 -0
  1312. embedded_postgres/pginstall/share/extension/vector--0.8.2--0.8.3.sql +2 -0
  1313. embedded_postgres/pginstall/share/extension/vector--0.8.3--0.8.4.sql +2 -0
  1314. embedded_postgres/pginstall/share/extension/vector--0.8.4--0.8.5.sql +2 -0
  1315. embedded_postgres/pginstall/share/extension/vector--0.8.5--0.8.6.sql +2 -0
  1316. embedded_postgres/pginstall/share/extension/vector--0.8.6.sql +918 -0
  1317. embedded_postgres/pginstall/share/extension/vector.control +4 -0
  1318. embedded_postgres/pginstall/share/information_schema.sql +3011 -0
  1319. embedded_postgres/pginstall/share/pg_hba.conf.sample +122 -0
  1320. embedded_postgres/pginstall/share/pg_ident.conf.sample +72 -0
  1321. embedded_postgres/pginstall/share/pg_service.conf.sample +17 -0
  1322. embedded_postgres/pginstall/share/postgres.bki +11870 -0
  1323. embedded_postgres/pginstall/share/postgresql.conf.sample +889 -0
  1324. embedded_postgres/pginstall/share/psqlrc.sample +8 -0
  1325. embedded_postgres/pginstall/share/snowball_create.sql +1253 -0
  1326. embedded_postgres/pginstall/share/sql_features.txt +755 -0
  1327. embedded_postgres/pginstall/share/system_constraints.sql +220 -0
  1328. embedded_postgres/pginstall/share/system_functions.sql +808 -0
  1329. embedded_postgres/pginstall/share/system_views.sql +1409 -0
  1330. embedded_postgres/pginstall/share/timezonesets/Africa.txt +176 -0
  1331. embedded_postgres/pginstall/share/timezonesets/America.txt +257 -0
  1332. embedded_postgres/pginstall/share/timezonesets/Antarctica.txt +27 -0
  1333. embedded_postgres/pginstall/share/timezonesets/Asia.txt +190 -0
  1334. embedded_postgres/pginstall/share/timezonesets/Atlantic.txt +85 -0
  1335. embedded_postgres/pginstall/share/timezonesets/Australia +27 -0
  1336. embedded_postgres/pginstall/share/timezonesets/Australia.txt +71 -0
  1337. embedded_postgres/pginstall/share/timezonesets/Default +629 -0
  1338. embedded_postgres/pginstall/share/timezonesets/Etc.txt +34 -0
  1339. embedded_postgres/pginstall/share/timezonesets/Europe.txt +217 -0
  1340. embedded_postgres/pginstall/share/timezonesets/India +19 -0
  1341. embedded_postgres/pginstall/share/timezonesets/Indian.txt +30 -0
  1342. embedded_postgres/pginstall/share/timezonesets/Pacific.txt +84 -0
  1343. embedded_postgres/pginstall/share/tsearch_data/danish.stop +94 -0
  1344. embedded_postgres/pginstall/share/tsearch_data/dutch.stop +101 -0
  1345. embedded_postgres/pginstall/share/tsearch_data/english.stop +127 -0
  1346. embedded_postgres/pginstall/share/tsearch_data/finnish.stop +235 -0
  1347. embedded_postgres/pginstall/share/tsearch_data/french.stop +155 -0
  1348. embedded_postgres/pginstall/share/tsearch_data/german.stop +231 -0
  1349. embedded_postgres/pginstall/share/tsearch_data/hungarian.stop +199 -0
  1350. embedded_postgres/pginstall/share/tsearch_data/hunspell_sample.affix +23 -0
  1351. embedded_postgres/pginstall/share/tsearch_data/hunspell_sample_long.affix +53 -0
  1352. embedded_postgres/pginstall/share/tsearch_data/hunspell_sample_long.dict +11 -0
  1353. embedded_postgres/pginstall/share/tsearch_data/hunspell_sample_num.affix +33 -0
  1354. embedded_postgres/pginstall/share/tsearch_data/hunspell_sample_num.dict +9 -0
  1355. embedded_postgres/pginstall/share/tsearch_data/ispell_sample.affix +26 -0
  1356. embedded_postgres/pginstall/share/tsearch_data/ispell_sample.dict +8 -0
  1357. embedded_postgres/pginstall/share/tsearch_data/italian.stop +279 -0
  1358. embedded_postgres/pginstall/share/tsearch_data/nepali.stop +304 -0
  1359. embedded_postgres/pginstall/share/tsearch_data/norwegian.stop +176 -0
  1360. embedded_postgres/pginstall/share/tsearch_data/portuguese.stop +203 -0
  1361. embedded_postgres/pginstall/share/tsearch_data/russian.stop +151 -0
  1362. embedded_postgres/pginstall/share/tsearch_data/spanish.stop +313 -0
  1363. embedded_postgres/pginstall/share/tsearch_data/swedish.stop +114 -0
  1364. embedded_postgres/pginstall/share/tsearch_data/synonym_sample.syn +5 -0
  1365. embedded_postgres/pginstall/share/tsearch_data/thesaurus_sample.ths +17 -0
  1366. embedded_postgres/pginstall/share/tsearch_data/turkish.stop +53 -0
  1367. embedded_postgres/pginstall/share/tsearch_data/unaccent.rules +2661 -0
  1368. embedded_postgres/pginstall/share/tsearch_data/xsyn_sample.rules +6 -0
  1369. embedded_postgres/postgres_server.py +291 -0
  1370. embedded_postgres/py.typed +0 -0
  1371. embedded_postgres/utils.py +278 -0
  1372. embedded_postgres-18.6.0.dist-info/METADATA +106 -0
  1373. embedded_postgres-18.6.0.dist-info/RECORD +1378 -0
  1374. embedded_postgres-18.6.0.dist-info/WHEEL +5 -0
  1375. embedded_postgres-18.6.0.dist-info/licenses/LICENSE +201 -0
  1376. embedded_postgres-18.6.0.dist-info/licenses/NOTICE +10 -0
  1377. embedded_postgres-18.6.0.dist-info/licenses/THIRD_PARTY_NOTICES.md +53 -0
  1378. embedded_postgres-18.6.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,1767 @@
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * plannodes.h
4
+ * definitions for query plan nodes
5
+ *
6
+ *
7
+ * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
8
+ * Portions Copyright (c) 1994, Regents of the University of California
9
+ *
10
+ * src/include/nodes/plannodes.h
11
+ *
12
+ *-------------------------------------------------------------------------
13
+ */
14
+ #ifndef PLANNODES_H
15
+ #define PLANNODES_H
16
+
17
+ #include "access/sdir.h"
18
+ #include "access/stratnum.h"
19
+ #include "common/relpath.h"
20
+ #include "lib/stringinfo.h"
21
+ #include "nodes/bitmapset.h"
22
+ #include "nodes/lockoptions.h"
23
+ #include "nodes/primnodes.h"
24
+
25
+
26
+ /* ----------------------------------------------------------------
27
+ * node definitions
28
+ * ----------------------------------------------------------------
29
+ */
30
+
31
+ /* ----------------
32
+ * PlannedStmt node
33
+ *
34
+ * The output of the planner is a Plan tree headed by a PlannedStmt node.
35
+ * PlannedStmt holds the "one time" information needed by the executor.
36
+ *
37
+ * For simplicity in APIs, we also wrap utility statements in PlannedStmt
38
+ * nodes; in such cases, commandType == CMD_UTILITY, the statement itself
39
+ * is in the utilityStmt field, and the rest of the struct is mostly dummy.
40
+ * (We do use canSetTag, stmt_location, stmt_len, and possibly queryId.)
41
+ *
42
+ * PlannedStmt, as well as all varieties of Plan, do not support equal(),
43
+ * not because it's not sensible but because we currently have no need.
44
+ * ----------------
45
+ */
46
+ typedef struct PlannedStmt
47
+ {
48
+ pg_node_attr(no_equal, no_query_jumble)
49
+
50
+ NodeTag type;
51
+
52
+ /* select|insert|update|delete|merge|utility */
53
+ CmdType commandType;
54
+
55
+ /* query identifier (copied from Query) */
56
+ int64 queryId;
57
+
58
+ /* plan identifier (can be set by plugins) */
59
+ int64 planId;
60
+
61
+ /* is it insert|update|delete|merge RETURNING? */
62
+ bool hasReturning;
63
+
64
+ /* has insert|update|delete|merge in WITH? */
65
+ bool hasModifyingCTE;
66
+
67
+ /* do I set the command result tag? */
68
+ bool canSetTag;
69
+
70
+ /* redo plan when TransactionXmin changes? */
71
+ bool transientPlan;
72
+
73
+ /* is plan specific to current role? */
74
+ bool dependsOnRole;
75
+
76
+ /* parallel mode required to execute? */
77
+ bool parallelModeNeeded;
78
+
79
+ /* which forms of JIT should be performed */
80
+ int jitFlags;
81
+
82
+ /* tree of Plan nodes */
83
+ struct Plan *planTree;
84
+
85
+ /*
86
+ * List of PartitionPruneInfo contained in the plan
87
+ */
88
+ List *partPruneInfos;
89
+
90
+ /* list of RangeTblEntry nodes */
91
+ List *rtable;
92
+
93
+ /*
94
+ * RT indexes of relations that are not subject to runtime pruning or are
95
+ * needed to perform runtime pruning
96
+ */
97
+ Bitmapset *unprunableRelids;
98
+
99
+ /*
100
+ * list of RTEPermissionInfo nodes for rtable entries needing one
101
+ */
102
+ List *permInfos;
103
+
104
+ /* rtable indexes of target relations for INSERT/UPDATE/DELETE/MERGE */
105
+ /* integer list of RT indexes, or NIL */
106
+ List *resultRelations;
107
+
108
+ /* list of AppendRelInfo nodes */
109
+ List *appendRelations;
110
+
111
+ /*
112
+ * Plan trees for SubPlan expressions; note that some could be NULL
113
+ */
114
+ List *subplans;
115
+
116
+ /* indices of subplans that require REWIND */
117
+ Bitmapset *rewindPlanIDs;
118
+
119
+ /* a list of PlanRowMark's */
120
+ List *rowMarks;
121
+
122
+ /* OIDs of relations the plan depends on */
123
+ List *relationOids;
124
+
125
+ /* other dependencies, as PlanInvalItems */
126
+ List *invalItems;
127
+
128
+ /* type OIDs for PARAM_EXEC Params */
129
+ List *paramExecTypes;
130
+
131
+ /* non-null if this is utility stmt */
132
+ Node *utilityStmt;
133
+
134
+ /* statement location in source string (copied from Query) */
135
+ /* start location, or -1 if unknown */
136
+ ParseLoc stmt_location;
137
+ /* length in bytes; 0 means "rest of string" */
138
+ ParseLoc stmt_len;
139
+ } PlannedStmt;
140
+
141
+ /* macro for fetching the Plan associated with a SubPlan node */
142
+ #define exec_subplan_get_plan(plannedstmt, subplan) \
143
+ ((Plan *) list_nth((plannedstmt)->subplans, (subplan)->plan_id - 1))
144
+
145
+
146
+ /* ----------------
147
+ * Plan node
148
+ *
149
+ * All plan nodes "derive" from the Plan structure by having the
150
+ * Plan structure as the first field. This ensures that everything works
151
+ * when nodes are cast to Plan's. (node pointers are frequently cast to Plan*
152
+ * when passed around generically in the executor)
153
+ *
154
+ * We never actually instantiate any Plan nodes; this is just the common
155
+ * abstract superclass for all Plan-type nodes.
156
+ * ----------------
157
+ */
158
+ typedef struct Plan
159
+ {
160
+ pg_node_attr(abstract, no_equal, no_query_jumble)
161
+
162
+ NodeTag type;
163
+
164
+ /*
165
+ * estimated execution costs for plan (see costsize.c for more info)
166
+ */
167
+ /* count of disabled nodes */
168
+ int disabled_nodes;
169
+ /* cost expended before fetching any tuples */
170
+ Cost startup_cost;
171
+ /* total cost (assuming all tuples fetched) */
172
+ Cost total_cost;
173
+
174
+ /*
175
+ * planner's estimate of result size of this plan step
176
+ */
177
+ /* number of rows plan is expected to emit */
178
+ Cardinality plan_rows;
179
+ /* average row width in bytes */
180
+ int plan_width;
181
+
182
+ /*
183
+ * information needed for parallel query
184
+ */
185
+ /* engage parallel-aware logic? */
186
+ bool parallel_aware;
187
+ /* OK to use as part of parallel plan? */
188
+ bool parallel_safe;
189
+
190
+ /*
191
+ * information needed for asynchronous execution
192
+ */
193
+ /* engage asynchronous-capable logic? */
194
+ bool async_capable;
195
+
196
+ /*
197
+ * Common structural data for all Plan types.
198
+ */
199
+ /* unique across entire final plan tree */
200
+ int plan_node_id;
201
+ /* target list to be computed at this node */
202
+ List *targetlist;
203
+ /* implicitly-ANDed qual conditions */
204
+ List *qual;
205
+ /* input plan tree(s) */
206
+ struct Plan *lefttree;
207
+ struct Plan *righttree;
208
+ /* Init Plan nodes (un-correlated expr subselects) */
209
+ List *initPlan;
210
+
211
+ /*
212
+ * Information for management of parameter-change-driven rescanning
213
+ *
214
+ * extParam includes the paramIDs of all external PARAM_EXEC params
215
+ * affecting this plan node or its children. setParam params from the
216
+ * node's initPlans are not included, but their extParams are.
217
+ *
218
+ * allParam includes all the extParam paramIDs, plus the IDs of local
219
+ * params that affect the node (i.e., the setParams of its initplans).
220
+ * These are _all_ the PARAM_EXEC params that affect this node.
221
+ */
222
+ Bitmapset *extParam;
223
+ Bitmapset *allParam;
224
+ } Plan;
225
+
226
+ /* ----------------
227
+ * these are defined to avoid confusion problems with "left"
228
+ * and "right" and "inner" and "outer". The convention is that
229
+ * the "left" plan is the "outer" plan and the "right" plan is
230
+ * the inner plan, but these make the code more readable.
231
+ * ----------------
232
+ */
233
+ #define innerPlan(node) (((Plan *)(node))->righttree)
234
+ #define outerPlan(node) (((Plan *)(node))->lefttree)
235
+
236
+
237
+ /* ----------------
238
+ * Result node -
239
+ * If no outer plan, evaluate a variable-free targetlist.
240
+ * If outer plan, return tuples from outer plan (after a level of
241
+ * projection as shown by targetlist).
242
+ *
243
+ * If resconstantqual isn't NULL, it represents a one-time qualification
244
+ * test (i.e., one that doesn't depend on any variables from the outer plan,
245
+ * so needs to be evaluated only once).
246
+ * ----------------
247
+ */
248
+ typedef struct Result
249
+ {
250
+ Plan plan;
251
+ Node *resconstantqual;
252
+ } Result;
253
+
254
+ /* ----------------
255
+ * ProjectSet node -
256
+ * Apply a projection that includes set-returning functions to the
257
+ * output tuples of the outer plan.
258
+ * ----------------
259
+ */
260
+ typedef struct ProjectSet
261
+ {
262
+ Plan plan;
263
+ } ProjectSet;
264
+
265
+ /* ----------------
266
+ * ModifyTable node -
267
+ * Apply rows produced by outer plan to result table(s),
268
+ * by inserting, updating, or deleting.
269
+ *
270
+ * If the originally named target table is a partitioned table or inheritance
271
+ * tree, both nominalRelation and rootRelation contain the RT index of the
272
+ * partition root or appendrel RTE, which is not otherwise mentioned in the
273
+ * plan. Otherwise rootRelation is zero. However, nominalRelation will
274
+ * always be set, as it's the rel that EXPLAIN should claim is the
275
+ * INSERT/UPDATE/DELETE/MERGE target.
276
+ *
277
+ * Note that rowMarks and epqParam are presumed to be valid for all the
278
+ * table(s); they can't contain any info that varies across tables.
279
+ * ----------------
280
+ */
281
+ typedef struct ModifyTable
282
+ {
283
+ Plan plan;
284
+ /* INSERT, UPDATE, DELETE, or MERGE */
285
+ CmdType operation;
286
+ /* do we set the command tag/es_processed? */
287
+ bool canSetTag;
288
+ /* Parent RT index for use of EXPLAIN */
289
+ Index nominalRelation;
290
+ /* Root RT index, if partitioned/inherited */
291
+ Index rootRelation;
292
+ /* some part key in hierarchy updated? */
293
+ bool partColsUpdated;
294
+ /* integer list of RT indexes */
295
+ List *resultRelations;
296
+ /* per-target-table update_colnos lists */
297
+ List *updateColnosLists;
298
+ /* per-target-table WCO lists */
299
+ List *withCheckOptionLists;
300
+ /* alias for OLD in RETURNING lists */
301
+ char *returningOldAlias;
302
+ /* alias for NEW in RETURNING lists */
303
+ char *returningNewAlias;
304
+ /* per-target-table RETURNING tlists */
305
+ List *returningLists;
306
+ /* per-target-table FDW private data lists */
307
+ List *fdwPrivLists;
308
+ /* indices of FDW DM plans */
309
+ Bitmapset *fdwDirectModifyPlans;
310
+ /* PlanRowMarks (non-locking only) */
311
+ List *rowMarks;
312
+ /* ID of Param for EvalPlanQual re-eval */
313
+ int epqParam;
314
+ /* ON CONFLICT action */
315
+ OnConflictAction onConflictAction;
316
+ /* List of ON CONFLICT arbiter index OIDs */
317
+ List *arbiterIndexes;
318
+ /* INSERT ON CONFLICT DO UPDATE targetlist */
319
+ List *onConflictSet;
320
+ /* target column numbers for onConflictSet */
321
+ List *onConflictCols;
322
+ /* WHERE for ON CONFLICT UPDATE */
323
+ Node *onConflictWhere;
324
+ /* RTI of the EXCLUDED pseudo relation */
325
+ Index exclRelRTI;
326
+ /* tlist of the EXCLUDED pseudo relation */
327
+ List *exclRelTlist;
328
+ /* per-target-table lists of actions for MERGE */
329
+ List *mergeActionLists;
330
+ /* per-target-table join conditions for MERGE */
331
+ List *mergeJoinConditions;
332
+ } ModifyTable;
333
+
334
+ struct PartitionPruneInfo; /* forward reference to struct below */
335
+
336
+ /* ----------------
337
+ * Append node -
338
+ * Generate the concatenation of the results of sub-plans.
339
+ * ----------------
340
+ */
341
+ typedef struct Append
342
+ {
343
+ Plan plan;
344
+ /* RTIs of appendrel(s) formed by this node */
345
+ Bitmapset *apprelids;
346
+ List *appendplans;
347
+ /* # of asynchronous plans */
348
+ int nasyncplans;
349
+
350
+ /*
351
+ * All 'appendplans' preceding this index are non-partial plans. All
352
+ * 'appendplans' from this index onwards are partial plans.
353
+ */
354
+ int first_partial_plan;
355
+
356
+ /*
357
+ * Index into PlannedStmt.partPruneInfos and parallel lists in EState:
358
+ * es_part_prune_states and es_part_prune_results. Set to -1 if no
359
+ * run-time pruning is used.
360
+ */
361
+ int part_prune_index;
362
+ } Append;
363
+
364
+ /* ----------------
365
+ * MergeAppend node -
366
+ * Merge the results of pre-sorted sub-plans to preserve the ordering.
367
+ * ----------------
368
+ */
369
+ typedef struct MergeAppend
370
+ {
371
+ Plan plan;
372
+
373
+ /* RTIs of appendrel(s) formed by this node */
374
+ Bitmapset *apprelids;
375
+
376
+ List *mergeplans;
377
+
378
+ /* these fields are just like the sort-key info in struct Sort: */
379
+
380
+ /* number of sort-key columns */
381
+ int numCols;
382
+
383
+ /* their indexes in the target list */
384
+ AttrNumber *sortColIdx pg_node_attr(array_size(numCols));
385
+
386
+ /* OIDs of operators to sort them by */
387
+ Oid *sortOperators pg_node_attr(array_size(numCols));
388
+
389
+ /* OIDs of collations */
390
+ Oid *collations pg_node_attr(array_size(numCols));
391
+
392
+ /* NULLS FIRST/LAST directions */
393
+ bool *nullsFirst pg_node_attr(array_size(numCols));
394
+
395
+ /*
396
+ * Index into PlannedStmt.partPruneInfos and parallel lists in EState:
397
+ * es_part_prune_states and es_part_prune_results. Set to -1 if no
398
+ * run-time pruning is used.
399
+ */
400
+ int part_prune_index;
401
+ } MergeAppend;
402
+
403
+ /* ----------------
404
+ * RecursiveUnion node -
405
+ * Generate a recursive union of two subplans.
406
+ *
407
+ * The "outer" subplan is always the non-recursive term, and the "inner"
408
+ * subplan is the recursive term.
409
+ * ----------------
410
+ */
411
+ typedef struct RecursiveUnion
412
+ {
413
+ Plan plan;
414
+
415
+ /* ID of Param representing work table */
416
+ int wtParam;
417
+
418
+ /* Remaining fields are zero/null in UNION ALL case */
419
+
420
+ /* number of columns to check for duplicate-ness */
421
+ int numCols;
422
+
423
+ /* their indexes in the target list */
424
+ AttrNumber *dupColIdx pg_node_attr(array_size(numCols));
425
+
426
+ /* equality operators to compare with */
427
+ Oid *dupOperators pg_node_attr(array_size(numCols));
428
+ Oid *dupCollations pg_node_attr(array_size(numCols));
429
+
430
+ /* estimated number of groups in input */
431
+ long numGroups;
432
+ } RecursiveUnion;
433
+
434
+ /* ----------------
435
+ * BitmapAnd node -
436
+ * Generate the intersection of the results of sub-plans.
437
+ *
438
+ * The subplans must be of types that yield tuple bitmaps. The targetlist
439
+ * and qual fields of the plan are unused and are always NIL.
440
+ * ----------------
441
+ */
442
+ typedef struct BitmapAnd
443
+ {
444
+ Plan plan;
445
+ List *bitmapplans;
446
+ } BitmapAnd;
447
+
448
+ /* ----------------
449
+ * BitmapOr node -
450
+ * Generate the union of the results of sub-plans.
451
+ *
452
+ * The subplans must be of types that yield tuple bitmaps. The targetlist
453
+ * and qual fields of the plan are unused and are always NIL.
454
+ * ----------------
455
+ */
456
+ typedef struct BitmapOr
457
+ {
458
+ Plan plan;
459
+ bool isshared;
460
+ List *bitmapplans;
461
+ } BitmapOr;
462
+
463
+ /*
464
+ * ==========
465
+ * Scan nodes
466
+ *
467
+ * Scan is an abstract type that all relation scan plan types inherit from.
468
+ * ==========
469
+ */
470
+ typedef struct Scan
471
+ {
472
+ pg_node_attr(abstract)
473
+
474
+ Plan plan;
475
+ /* relid is index into the range table */
476
+ Index scanrelid;
477
+ } Scan;
478
+
479
+ /* ----------------
480
+ * sequential scan node
481
+ * ----------------
482
+ */
483
+ typedef struct SeqScan
484
+ {
485
+ Scan scan;
486
+ } SeqScan;
487
+
488
+ /* ----------------
489
+ * table sample scan node
490
+ * ----------------
491
+ */
492
+ typedef struct SampleScan
493
+ {
494
+ Scan scan;
495
+ /* use struct pointer to avoid including parsenodes.h here */
496
+ struct TableSampleClause *tablesample;
497
+ } SampleScan;
498
+
499
+ /* ----------------
500
+ * index scan node
501
+ *
502
+ * indexqualorig is an implicitly-ANDed list of index qual expressions, each
503
+ * in the same form it appeared in the query WHERE condition. Each should
504
+ * be of the form (indexkey OP comparisonval) or (comparisonval OP indexkey).
505
+ * The indexkey is a Var or expression referencing column(s) of the index's
506
+ * base table. The comparisonval might be any expression, but it won't use
507
+ * any columns of the base table. The expressions are ordered by index
508
+ * column position (but items referencing the same index column can appear
509
+ * in any order). indexqualorig is used at runtime only if we have to recheck
510
+ * a lossy indexqual.
511
+ *
512
+ * indexqual has the same form, but the expressions have been commuted if
513
+ * necessary to put the indexkeys on the left, and the indexkeys are replaced
514
+ * by Var nodes identifying the index columns (their varno is INDEX_VAR and
515
+ * their varattno is the index column number).
516
+ *
517
+ * indexorderbyorig is similarly the original form of any ORDER BY expressions
518
+ * that are being implemented by the index, while indexorderby is modified to
519
+ * have index column Vars on the left-hand side. Here, multiple expressions
520
+ * must appear in exactly the ORDER BY order, and this is not necessarily the
521
+ * index column order. Only the expressions are provided, not the auxiliary
522
+ * sort-order information from the ORDER BY SortGroupClauses; it's assumed
523
+ * that the sort ordering is fully determinable from the top-level operators.
524
+ * indexorderbyorig is used at runtime to recheck the ordering, if the index
525
+ * cannot calculate an accurate ordering. It is also needed for EXPLAIN.
526
+ *
527
+ * indexorderbyops is a list of the OIDs of the operators used to sort the
528
+ * ORDER BY expressions. This is used together with indexorderbyorig to
529
+ * recheck ordering at run time. (Note that indexorderby, indexorderbyorig,
530
+ * and indexorderbyops are used for amcanorderbyop cases, not amcanorder.)
531
+ *
532
+ * indexorderdir specifies the scan ordering, for indexscans on amcanorder
533
+ * indexes (for other indexes it should be "don't care").
534
+ * ----------------
535
+ */
536
+ typedef struct IndexScan
537
+ {
538
+ Scan scan;
539
+ /* OID of index to scan */
540
+ Oid indexid;
541
+ /* list of index quals (usually OpExprs) */
542
+ List *indexqual;
543
+ /* the same in original form */
544
+ List *indexqualorig;
545
+ /* list of index ORDER BY exprs */
546
+ List *indexorderby;
547
+ /* the same in original form */
548
+ List *indexorderbyorig;
549
+ /* OIDs of sort ops for ORDER BY exprs */
550
+ List *indexorderbyops;
551
+ /* forward or backward or don't care */
552
+ ScanDirection indexorderdir;
553
+ } IndexScan;
554
+
555
+ /* ----------------
556
+ * index-only scan node
557
+ *
558
+ * IndexOnlyScan is very similar to IndexScan, but it specifies an
559
+ * index-only scan, in which the data comes from the index not the heap.
560
+ * Because of this, *all* Vars in the plan node's targetlist, qual, and
561
+ * index expressions reference index columns and have varno = INDEX_VAR.
562
+ *
563
+ * We could almost use indexqual directly against the index's output tuple
564
+ * when rechecking lossy index operators, but that won't work for quals on
565
+ * index columns that are not retrievable. Hence, recheckqual is needed
566
+ * for rechecks: it expresses the same condition as indexqual, but using
567
+ * only index columns that are retrievable. (We will not generate an
568
+ * index-only scan if this is not possible. An example is that if an
569
+ * index has table column "x" in a retrievable index column "ind1", plus
570
+ * an expression f(x) in a non-retrievable column "ind2", an indexable
571
+ * query on f(x) will use "ind2" in indexqual and f(ind1) in recheckqual.
572
+ * Without the "ind1" column, an index-only scan would be disallowed.)
573
+ *
574
+ * We don't currently need a recheckable equivalent of indexorderby,
575
+ * because we don't support lossy operators in index ORDER BY.
576
+ *
577
+ * To help EXPLAIN interpret the index Vars for display, we provide
578
+ * indextlist, which represents the contents of the index as a targetlist
579
+ * with one TLE per index column. Vars appearing in this list reference
580
+ * the base table, and this is the only field in the plan node that may
581
+ * contain such Vars. Also, for the convenience of setrefs.c, TLEs in
582
+ * indextlist are marked as resjunk if they correspond to columns that
583
+ * the index AM cannot reconstruct.
584
+ * ----------------
585
+ */
586
+ typedef struct IndexOnlyScan
587
+ {
588
+ Scan scan;
589
+ /* OID of index to scan */
590
+ Oid indexid;
591
+ /* list of index quals (usually OpExprs) */
592
+ List *indexqual;
593
+ /* index quals in recheckable form */
594
+ List *recheckqual;
595
+ /* list of index ORDER BY exprs */
596
+ List *indexorderby;
597
+ /* TargetEntry list describing index's cols */
598
+ List *indextlist;
599
+ /* forward or backward or don't care */
600
+ ScanDirection indexorderdir;
601
+ } IndexOnlyScan;
602
+
603
+ /* ----------------
604
+ * bitmap index scan node
605
+ *
606
+ * BitmapIndexScan delivers a bitmap of potential tuple locations;
607
+ * it does not access the heap itself. The bitmap is used by an
608
+ * ancestor BitmapHeapScan node, possibly after passing through
609
+ * intermediate BitmapAnd and/or BitmapOr nodes to combine it with
610
+ * the results of other BitmapIndexScans.
611
+ *
612
+ * The fields have the same meanings as for IndexScan, except we don't
613
+ * store a direction flag because direction is uninteresting.
614
+ *
615
+ * In a BitmapIndexScan plan node, the targetlist and qual fields are
616
+ * not used and are always NIL. The indexqualorig field is unused at
617
+ * run time too, but is saved for the benefit of EXPLAIN.
618
+ * ----------------
619
+ */
620
+ typedef struct BitmapIndexScan
621
+ {
622
+ Scan scan;
623
+ /* OID of index to scan */
624
+ Oid indexid;
625
+ /* Create shared bitmap if set */
626
+ bool isshared;
627
+ /* list of index quals (OpExprs) */
628
+ List *indexqual;
629
+ /* the same in original form */
630
+ List *indexqualorig;
631
+ } BitmapIndexScan;
632
+
633
+ /* ----------------
634
+ * bitmap sequential scan node
635
+ *
636
+ * This needs a copy of the qual conditions being used by the input index
637
+ * scans because there are various cases where we need to recheck the quals;
638
+ * for example, when the bitmap is lossy about the specific rows on a page
639
+ * that meet the index condition.
640
+ * ----------------
641
+ */
642
+ typedef struct BitmapHeapScan
643
+ {
644
+ Scan scan;
645
+ /* index quals, in standard expr form */
646
+ List *bitmapqualorig;
647
+ } BitmapHeapScan;
648
+
649
+ /* ----------------
650
+ * tid scan node
651
+ *
652
+ * tidquals is an implicitly OR'ed list of qual expressions of the form
653
+ * "CTID = pseudoconstant", or "CTID = ANY(pseudoconstant_array)",
654
+ * or a CurrentOfExpr for the relation.
655
+ * ----------------
656
+ */
657
+ typedef struct TidScan
658
+ {
659
+ Scan scan;
660
+ /* qual(s) involving CTID = something */
661
+ List *tidquals;
662
+ } TidScan;
663
+
664
+ /* ----------------
665
+ * tid range scan node
666
+ *
667
+ * tidrangequals is an implicitly AND'ed list of qual expressions of the form
668
+ * "CTID relop pseudoconstant", where relop is one of >,>=,<,<=.
669
+ * ----------------
670
+ */
671
+ typedef struct TidRangeScan
672
+ {
673
+ Scan scan;
674
+ /* qual(s) involving CTID op something */
675
+ List *tidrangequals;
676
+ } TidRangeScan;
677
+
678
+ /* ----------------
679
+ * subquery scan node
680
+ *
681
+ * SubqueryScan is for scanning the output of a sub-query in the range table.
682
+ * We often need an extra plan node above the sub-query's plan to perform
683
+ * expression evaluations (which we can't push into the sub-query without
684
+ * risking changing its semantics). Although we are not scanning a physical
685
+ * relation, we make this a descendant of Scan anyway for code-sharing
686
+ * purposes.
687
+ *
688
+ * SubqueryScanStatus caches the trivial_subqueryscan property of the node.
689
+ * SUBQUERY_SCAN_UNKNOWN means not yet determined. This is only used during
690
+ * planning.
691
+ *
692
+ * Note: we store the sub-plan in the type-specific subplan field, not in
693
+ * the generic lefttree field as you might expect. This is because we do
694
+ * not want plan-tree-traversal routines to recurse into the subplan without
695
+ * knowing that they are changing Query contexts.
696
+ * ----------------
697
+ */
698
+ typedef enum SubqueryScanStatus
699
+ {
700
+ SUBQUERY_SCAN_UNKNOWN,
701
+ SUBQUERY_SCAN_TRIVIAL,
702
+ SUBQUERY_SCAN_NONTRIVIAL,
703
+ } SubqueryScanStatus;
704
+
705
+ typedef struct SubqueryScan
706
+ {
707
+ Scan scan;
708
+ Plan *subplan;
709
+ SubqueryScanStatus scanstatus;
710
+ } SubqueryScan;
711
+
712
+ /* ----------------
713
+ * FunctionScan node
714
+ * ----------------
715
+ */
716
+ typedef struct FunctionScan
717
+ {
718
+ Scan scan;
719
+ /* list of RangeTblFunction nodes */
720
+ List *functions;
721
+ /* WITH ORDINALITY */
722
+ bool funcordinality;
723
+ } FunctionScan;
724
+
725
+ /* ----------------
726
+ * ValuesScan node
727
+ * ----------------
728
+ */
729
+ typedef struct ValuesScan
730
+ {
731
+ Scan scan;
732
+ /* list of expression lists */
733
+ List *values_lists;
734
+ } ValuesScan;
735
+
736
+ /* ----------------
737
+ * TableFunc scan node
738
+ * ----------------
739
+ */
740
+ typedef struct TableFuncScan
741
+ {
742
+ Scan scan;
743
+ /* table function node */
744
+ TableFunc *tablefunc;
745
+ } TableFuncScan;
746
+
747
+ /* ----------------
748
+ * CteScan node
749
+ * ----------------
750
+ */
751
+ typedef struct CteScan
752
+ {
753
+ Scan scan;
754
+ /* ID of init SubPlan for CTE */
755
+ int ctePlanId;
756
+ /* ID of Param representing CTE output */
757
+ int cteParam;
758
+ } CteScan;
759
+
760
+ /* ----------------
761
+ * NamedTuplestoreScan node
762
+ * ----------------
763
+ */
764
+ typedef struct NamedTuplestoreScan
765
+ {
766
+ Scan scan;
767
+ /* Name given to Ephemeral Named Relation */
768
+ char *enrname;
769
+ } NamedTuplestoreScan;
770
+
771
+ /* ----------------
772
+ * WorkTableScan node
773
+ * ----------------
774
+ */
775
+ typedef struct WorkTableScan
776
+ {
777
+ Scan scan;
778
+ /* ID of Param representing work table */
779
+ int wtParam;
780
+ } WorkTableScan;
781
+
782
+ /* ----------------
783
+ * ForeignScan node
784
+ *
785
+ * fdw_exprs and fdw_private are both under the control of the foreign-data
786
+ * wrapper, but fdw_exprs is presumed to contain expression trees and will
787
+ * be post-processed accordingly by the planner; fdw_private won't be.
788
+ * Note that everything in both lists must be copiable by copyObject().
789
+ * One way to store an arbitrary blob of bytes is to represent it as a bytea
790
+ * Const. Usually, though, you'll be better off choosing a representation
791
+ * that can be dumped usefully by nodeToString().
792
+ *
793
+ * fdw_scan_tlist is a targetlist describing the contents of the scan tuple
794
+ * returned by the FDW; it can be NIL if the scan tuple matches the declared
795
+ * rowtype of the foreign table, which is the normal case for a simple foreign
796
+ * table scan. (If the plan node represents a foreign join, fdw_scan_tlist
797
+ * is required since there is no rowtype available from the system catalogs.)
798
+ * When fdw_scan_tlist is provided, Vars in the node's tlist and quals must
799
+ * have varno INDEX_VAR, and their varattnos correspond to resnos in the
800
+ * fdw_scan_tlist (which are also column numbers in the actual scan tuple).
801
+ * fdw_scan_tlist is never actually executed; it just holds expression trees
802
+ * describing what is in the scan tuple's columns.
803
+ *
804
+ * fdw_recheck_quals should contain any quals which the core system passed to
805
+ * the FDW but which were not added to scan.plan.qual; that is, it should
806
+ * contain the quals being checked remotely. This is needed for correct
807
+ * behavior during EvalPlanQual rechecks.
808
+ *
809
+ * When the plan node represents a foreign join, scan.scanrelid is zero and
810
+ * fs_relids must be consulted to identify the join relation. (fs_relids
811
+ * is valid for simple scans as well, but will always match scan.scanrelid.)
812
+ * fs_relids includes outer joins; fs_base_relids does not.
813
+ *
814
+ * If the FDW's PlanDirectModify() callback decides to repurpose a ForeignScan
815
+ * node to perform the UPDATE or DELETE operation directly in the remote
816
+ * server, it sets 'operation' and 'resultRelation' to identify the operation
817
+ * type and target relation. Note that these fields are only set if the
818
+ * modification is performed *fully* remotely; otherwise, the modification is
819
+ * driven by a local ModifyTable node and 'operation' is left to CMD_SELECT.
820
+ * ----------------
821
+ */
822
+ typedef struct ForeignScan
823
+ {
824
+ Scan scan;
825
+ /* SELECT/INSERT/UPDATE/DELETE */
826
+ CmdType operation;
827
+ /* direct modification target's RT index */
828
+ Index resultRelation;
829
+ /* user to perform the scan as; 0 means to check as current user */
830
+ Oid checkAsUser;
831
+ /* OID of foreign server */
832
+ Oid fs_server;
833
+ /* expressions that FDW may evaluate */
834
+ List *fdw_exprs;
835
+ /* private data for FDW */
836
+ List *fdw_private;
837
+ /* optional tlist describing scan tuple */
838
+ List *fdw_scan_tlist;
839
+ /* original quals not in scan.plan.qual */
840
+ List *fdw_recheck_quals;
841
+ /* base+OJ RTIs generated by this scan */
842
+ Bitmapset *fs_relids;
843
+ /* base RTIs generated by this scan */
844
+ Bitmapset *fs_base_relids;
845
+ /* true if any "system column" is needed */
846
+ bool fsSystemCol;
847
+ } ForeignScan;
848
+
849
+ /* ----------------
850
+ * CustomScan node
851
+ *
852
+ * The comments for ForeignScan's fdw_exprs, fdw_private, fdw_scan_tlist,
853
+ * and fs_relids fields apply equally to CustomScan's custom_exprs,
854
+ * custom_private, custom_scan_tlist, and custom_relids fields. The
855
+ * convention of setting scan.scanrelid to zero for joins applies as well.
856
+ *
857
+ * Note that since Plan trees can be copied, custom scan providers *must*
858
+ * fit all plan data they need into those fields; embedding CustomScan in
859
+ * a larger struct will not work.
860
+ * ----------------
861
+ */
862
+ struct CustomScanMethods;
863
+
864
+ typedef struct CustomScan
865
+ {
866
+ Scan scan;
867
+ /* mask of CUSTOMPATH_* flags, see nodes/extensible.h */
868
+ uint32 flags;
869
+ /* list of Plan nodes, if any */
870
+ List *custom_plans;
871
+ /* expressions that custom code may evaluate */
872
+ List *custom_exprs;
873
+ /* private data for custom code */
874
+ List *custom_private;
875
+ /* optional tlist describing scan tuple */
876
+ List *custom_scan_tlist;
877
+ /* RTIs generated by this scan */
878
+ Bitmapset *custom_relids;
879
+
880
+ /*
881
+ * NOTE: The method field of CustomScan is required to be a pointer to a
882
+ * static table of callback functions. So we don't copy the table itself,
883
+ * just reference the original one.
884
+ */
885
+ const struct CustomScanMethods *methods;
886
+ } CustomScan;
887
+
888
+ /*
889
+ * ==========
890
+ * Join nodes
891
+ * ==========
892
+ */
893
+
894
+ /* ----------------
895
+ * Join node
896
+ *
897
+ * jointype: rule for joining tuples from left and right subtrees
898
+ * inner_unique each outer tuple can match to no more than one inner tuple
899
+ * joinqual: qual conditions that came from JOIN/ON or JOIN/USING
900
+ * (plan.qual contains conditions that came from WHERE)
901
+ *
902
+ * When jointype is INNER, joinqual and plan.qual are semantically
903
+ * interchangeable. For OUTER jointypes, the two are *not* interchangeable;
904
+ * only joinqual is used to determine whether a match has been found for
905
+ * the purpose of deciding whether to generate null-extended tuples.
906
+ * (But plan.qual is still applied before actually returning a tuple.)
907
+ * For an outer join, only joinquals are allowed to be used as the merge
908
+ * or hash condition of a merge or hash join.
909
+ *
910
+ * inner_unique is set if the joinquals are such that no more than one inner
911
+ * tuple could match any given outer tuple. This allows the executor to
912
+ * skip searching for additional matches. (This must be provable from just
913
+ * the joinquals, ignoring plan.qual, due to where the executor tests it.)
914
+ * ----------------
915
+ */
916
+ typedef struct Join
917
+ {
918
+ pg_node_attr(abstract)
919
+
920
+ Plan plan;
921
+ JoinType jointype;
922
+ bool inner_unique;
923
+ /* JOIN quals (in addition to plan.qual) */
924
+ List *joinqual;
925
+ } Join;
926
+
927
+ /* ----------------
928
+ * nest loop join node
929
+ *
930
+ * The nestParams list identifies any executor Params that must be passed
931
+ * into execution of the inner subplan carrying values from the current row
932
+ * of the outer subplan. Currently we restrict these values to be simple
933
+ * Vars, but perhaps someday that'd be worth relaxing. (Note: during plan
934
+ * creation, the paramval can actually be a PlaceHolderVar expression; but it
935
+ * must be a Var with varno OUTER_VAR by the time it gets to the executor.)
936
+ * ----------------
937
+ */
938
+ typedef struct NestLoop
939
+ {
940
+ Join join;
941
+ /* list of NestLoopParam nodes */
942
+ List *nestParams;
943
+ } NestLoop;
944
+
945
+ typedef struct NestLoopParam
946
+ {
947
+ pg_node_attr(no_equal, no_query_jumble)
948
+
949
+ NodeTag type;
950
+ /* number of the PARAM_EXEC Param to set */
951
+ int paramno;
952
+ /* outer-relation Var to assign to Param */
953
+ Var *paramval;
954
+ } NestLoopParam;
955
+
956
+ /* ----------------
957
+ * merge join node
958
+ *
959
+ * The expected ordering of each mergeable column is described by a btree
960
+ * opfamily OID, a collation OID, a direction (BTLessStrategyNumber or
961
+ * BTGreaterStrategyNumber) and a nulls-first flag. Note that the two sides
962
+ * of each mergeclause may be of different datatypes, but they are ordered the
963
+ * same way according to the common opfamily and collation. The operator in
964
+ * each mergeclause must be an equality operator of the indicated opfamily.
965
+ * ----------------
966
+ */
967
+ typedef struct MergeJoin
968
+ {
969
+ Join join;
970
+
971
+ /* Can we skip mark/restore calls? */
972
+ bool skip_mark_restore;
973
+
974
+ /* mergeclauses as expression trees */
975
+ List *mergeclauses;
976
+
977
+ /* these are arrays, but have the same length as the mergeclauses list: */
978
+
979
+ /* per-clause OIDs of btree opfamilies */
980
+ Oid *mergeFamilies pg_node_attr(array_size(mergeclauses));
981
+
982
+ /* per-clause OIDs of collations */
983
+ Oid *mergeCollations pg_node_attr(array_size(mergeclauses));
984
+
985
+ /* per-clause ordering (ASC or DESC) */
986
+ bool *mergeReversals pg_node_attr(array_size(mergeclauses));
987
+
988
+ /* per-clause nulls ordering */
989
+ bool *mergeNullsFirst pg_node_attr(array_size(mergeclauses));
990
+ } MergeJoin;
991
+
992
+ /* ----------------
993
+ * hash join node
994
+ * ----------------
995
+ */
996
+ typedef struct HashJoin
997
+ {
998
+ Join join;
999
+ List *hashclauses;
1000
+ List *hashoperators;
1001
+ List *hashcollations;
1002
+
1003
+ /*
1004
+ * List of expressions to be hashed for tuples from the outer plan, to
1005
+ * perform lookups in the hashtable over the inner plan.
1006
+ */
1007
+ List *hashkeys;
1008
+ } HashJoin;
1009
+
1010
+ /* ----------------
1011
+ * materialization node
1012
+ * ----------------
1013
+ */
1014
+ typedef struct Material
1015
+ {
1016
+ Plan plan;
1017
+ } Material;
1018
+
1019
+ /* ----------------
1020
+ * memoize node
1021
+ * ----------------
1022
+ */
1023
+ typedef struct Memoize
1024
+ {
1025
+ Plan plan;
1026
+
1027
+ /* size of the two arrays below */
1028
+ int numKeys;
1029
+
1030
+ /* hash operators for each key */
1031
+ Oid *hashOperators pg_node_attr(array_size(numKeys));
1032
+
1033
+ /* collations for each key */
1034
+ Oid *collations pg_node_attr(array_size(numKeys));
1035
+
1036
+ /* cache keys in the form of exprs containing parameters */
1037
+ List *param_exprs;
1038
+
1039
+ /*
1040
+ * true if the cache entry should be marked as complete after we store the
1041
+ * first tuple in it.
1042
+ */
1043
+ bool singlerow;
1044
+
1045
+ /*
1046
+ * true when cache key should be compared bit by bit, false when using
1047
+ * hash equality ops
1048
+ */
1049
+ bool binary_mode;
1050
+
1051
+ /*
1052
+ * The maximum number of entries that the planner expects will fit in the
1053
+ * cache, or 0 if unknown
1054
+ */
1055
+ uint32 est_entries;
1056
+
1057
+ /* paramids from param_exprs */
1058
+ Bitmapset *keyparamids;
1059
+ } Memoize;
1060
+
1061
+ /* ----------------
1062
+ * sort node
1063
+ * ----------------
1064
+ */
1065
+ typedef struct Sort
1066
+ {
1067
+ Plan plan;
1068
+
1069
+ /* number of sort-key columns */
1070
+ int numCols;
1071
+
1072
+ /* their indexes in the target list */
1073
+ AttrNumber *sortColIdx pg_node_attr(array_size(numCols));
1074
+
1075
+ /* OIDs of operators to sort them by */
1076
+ Oid *sortOperators pg_node_attr(array_size(numCols));
1077
+
1078
+ /* OIDs of collations */
1079
+ Oid *collations pg_node_attr(array_size(numCols));
1080
+
1081
+ /* NULLS FIRST/LAST directions */
1082
+ bool *nullsFirst pg_node_attr(array_size(numCols));
1083
+ } Sort;
1084
+
1085
+ /* ----------------
1086
+ * incremental sort node
1087
+ * ----------------
1088
+ */
1089
+ typedef struct IncrementalSort
1090
+ {
1091
+ Sort sort;
1092
+ /* number of presorted columns */
1093
+ int nPresortedCols;
1094
+ } IncrementalSort;
1095
+
1096
+ /* ---------------
1097
+ * group node -
1098
+ * Used for queries with GROUP BY (but no aggregates) specified.
1099
+ * The input must be presorted according to the grouping columns.
1100
+ * ---------------
1101
+ */
1102
+ typedef struct Group
1103
+ {
1104
+ Plan plan;
1105
+
1106
+ /* number of grouping columns */
1107
+ int numCols;
1108
+
1109
+ /* their indexes in the target list */
1110
+ AttrNumber *grpColIdx pg_node_attr(array_size(numCols));
1111
+
1112
+ /* equality operators to compare with */
1113
+ Oid *grpOperators pg_node_attr(array_size(numCols));
1114
+ Oid *grpCollations pg_node_attr(array_size(numCols));
1115
+ } Group;
1116
+
1117
+ /* ---------------
1118
+ * aggregate node
1119
+ *
1120
+ * An Agg node implements plain or grouped aggregation. For grouped
1121
+ * aggregation, we can work with presorted input or unsorted input;
1122
+ * the latter strategy uses an internal hashtable.
1123
+ *
1124
+ * Notice the lack of any direct info about the aggregate functions to be
1125
+ * computed. They are found by scanning the node's tlist and quals during
1126
+ * executor startup. (It is possible that there are no aggregate functions;
1127
+ * this could happen if they get optimized away by constant-folding, or if
1128
+ * we are using the Agg node to implement hash-based grouping.)
1129
+ * ---------------
1130
+ */
1131
+ typedef struct Agg
1132
+ {
1133
+ Plan plan;
1134
+
1135
+ /* basic strategy, see nodes.h */
1136
+ AggStrategy aggstrategy;
1137
+
1138
+ /* agg-splitting mode, see nodes.h */
1139
+ AggSplit aggsplit;
1140
+
1141
+ /* number of grouping columns */
1142
+ int numCols;
1143
+
1144
+ /* their indexes in the target list */
1145
+ AttrNumber *grpColIdx pg_node_attr(array_size(numCols));
1146
+
1147
+ /* equality operators to compare with */
1148
+ Oid *grpOperators pg_node_attr(array_size(numCols));
1149
+ Oid *grpCollations pg_node_attr(array_size(numCols));
1150
+
1151
+ /* estimated number of groups in input */
1152
+ long numGroups;
1153
+
1154
+ /* for pass-by-ref transition data */
1155
+ uint64 transitionSpace;
1156
+
1157
+ /* IDs of Params used in Aggref inputs */
1158
+ Bitmapset *aggParams;
1159
+
1160
+ /* Note: planner provides numGroups & aggParams only in HASHED/MIXED case */
1161
+
1162
+ /* grouping sets to use */
1163
+ List *groupingSets;
1164
+
1165
+ /* chained Agg/Sort nodes */
1166
+ List *chain;
1167
+ } Agg;
1168
+
1169
+ /* ----------------
1170
+ * window aggregate node
1171
+ * ----------------
1172
+ */
1173
+ typedef struct WindowAgg
1174
+ {
1175
+ Plan plan;
1176
+
1177
+ /* name of WindowClause implemented by this node */
1178
+ char *winname;
1179
+
1180
+ /* ID referenced by window functions */
1181
+ Index winref;
1182
+
1183
+ /* number of columns in partition clause */
1184
+ int partNumCols;
1185
+
1186
+ /* their indexes in the target list */
1187
+ AttrNumber *partColIdx pg_node_attr(array_size(partNumCols));
1188
+
1189
+ /* equality operators for partition columns */
1190
+ Oid *partOperators pg_node_attr(array_size(partNumCols));
1191
+
1192
+ /* collations for partition columns */
1193
+ Oid *partCollations pg_node_attr(array_size(partNumCols));
1194
+
1195
+ /* number of columns in ordering clause */
1196
+ int ordNumCols;
1197
+
1198
+ /* their indexes in the target list */
1199
+ AttrNumber *ordColIdx pg_node_attr(array_size(ordNumCols));
1200
+
1201
+ /* equality operators for ordering columns */
1202
+ Oid *ordOperators pg_node_attr(array_size(ordNumCols));
1203
+
1204
+ /* collations for ordering columns */
1205
+ Oid *ordCollations pg_node_attr(array_size(ordNumCols));
1206
+
1207
+ /* frame_clause options, see WindowDef */
1208
+ int frameOptions;
1209
+
1210
+ /* expression for starting bound, if any */
1211
+ Node *startOffset;
1212
+
1213
+ /* expression for ending bound, if any */
1214
+ Node *endOffset;
1215
+
1216
+ /* qual to help short-circuit execution */
1217
+ List *runCondition;
1218
+
1219
+ /* runCondition for display in EXPLAIN */
1220
+ List *runConditionOrig;
1221
+
1222
+ /* these fields are used with RANGE offset PRECEDING/FOLLOWING: */
1223
+
1224
+ /* in_range function for startOffset */
1225
+ Oid startInRangeFunc;
1226
+
1227
+ /* in_range function for endOffset */
1228
+ Oid endInRangeFunc;
1229
+
1230
+ /* collation for in_range tests */
1231
+ Oid inRangeColl;
1232
+
1233
+ /* use ASC sort order for in_range tests? */
1234
+ bool inRangeAsc;
1235
+
1236
+ /* nulls sort first for in_range tests? */
1237
+ bool inRangeNullsFirst;
1238
+
1239
+ /*
1240
+ * false for all apart from the WindowAgg that's closest to the root of
1241
+ * the plan
1242
+ */
1243
+ bool topWindow;
1244
+ } WindowAgg;
1245
+
1246
+ /* ----------------
1247
+ * unique node
1248
+ * ----------------
1249
+ */
1250
+ typedef struct Unique
1251
+ {
1252
+ Plan plan;
1253
+
1254
+ /* number of columns to check for uniqueness */
1255
+ int numCols;
1256
+
1257
+ /* their indexes in the target list */
1258
+ AttrNumber *uniqColIdx pg_node_attr(array_size(numCols));
1259
+
1260
+ /* equality operators to compare with */
1261
+ Oid *uniqOperators pg_node_attr(array_size(numCols));
1262
+
1263
+ /* collations for equality comparisons */
1264
+ Oid *uniqCollations pg_node_attr(array_size(numCols));
1265
+ } Unique;
1266
+
1267
+ /* ------------
1268
+ * gather node
1269
+ *
1270
+ * Note: rescan_param is the ID of a PARAM_EXEC parameter slot. That slot
1271
+ * will never actually contain a value, but the Gather node must flag it as
1272
+ * having changed whenever it is rescanned. The child parallel-aware scan
1273
+ * nodes are marked as depending on that parameter, so that the rescan
1274
+ * machinery is aware that their output is likely to change across rescans.
1275
+ * In some cases we don't need a rescan Param, so rescan_param is set to -1.
1276
+ * ------------
1277
+ */
1278
+ typedef struct Gather
1279
+ {
1280
+ Plan plan;
1281
+ /* planned number of worker processes */
1282
+ int num_workers;
1283
+ /* ID of Param that signals a rescan, or -1 */
1284
+ int rescan_param;
1285
+ /* don't execute plan more than once */
1286
+ bool single_copy;
1287
+ /* suppress EXPLAIN display (for testing)? */
1288
+ bool invisible;
1289
+
1290
+ /*
1291
+ * param id's of initplans which are referred at gather or one of its
1292
+ * child nodes
1293
+ */
1294
+ Bitmapset *initParam;
1295
+ } Gather;
1296
+
1297
+ /* ------------
1298
+ * gather merge node
1299
+ * ------------
1300
+ */
1301
+ typedef struct GatherMerge
1302
+ {
1303
+ Plan plan;
1304
+
1305
+ /* planned number of worker processes */
1306
+ int num_workers;
1307
+
1308
+ /* ID of Param that signals a rescan, or -1 */
1309
+ int rescan_param;
1310
+
1311
+ /* remaining fields are just like the sort-key info in struct Sort */
1312
+
1313
+ /* number of sort-key columns */
1314
+ int numCols;
1315
+
1316
+ /* their indexes in the target list */
1317
+ AttrNumber *sortColIdx pg_node_attr(array_size(numCols));
1318
+
1319
+ /* OIDs of operators to sort them by */
1320
+ Oid *sortOperators pg_node_attr(array_size(numCols));
1321
+
1322
+ /* OIDs of collations */
1323
+ Oid *collations pg_node_attr(array_size(numCols));
1324
+
1325
+ /* NULLS FIRST/LAST directions */
1326
+ bool *nullsFirst pg_node_attr(array_size(numCols));
1327
+
1328
+ /*
1329
+ * param id's of initplans which are referred at gather merge or one of
1330
+ * its child nodes
1331
+ */
1332
+ Bitmapset *initParam;
1333
+ } GatherMerge;
1334
+
1335
+ /* ----------------
1336
+ * hash build node
1337
+ *
1338
+ * If the executor is supposed to try to apply skew join optimization, then
1339
+ * skewTable/skewColumn/skewInherit identify the outer relation's join key
1340
+ * column, from which the relevant MCV statistics can be fetched.
1341
+ * ----------------
1342
+ */
1343
+ typedef struct Hash
1344
+ {
1345
+ Plan plan;
1346
+
1347
+ /*
1348
+ * List of expressions to be hashed for tuples from Hash's outer plan,
1349
+ * needed to put them into the hashtable.
1350
+ */
1351
+ /* hash keys for the hashjoin condition */
1352
+ List *hashkeys;
1353
+ /* outer join key's table OID, or InvalidOid */
1354
+ Oid skewTable;
1355
+ /* outer join key's column #, or zero */
1356
+ AttrNumber skewColumn;
1357
+ /* is outer join rel an inheritance tree? */
1358
+ bool skewInherit;
1359
+ /* all other info is in the parent HashJoin node */
1360
+ /* estimate total rows if parallel_aware */
1361
+ Cardinality rows_total;
1362
+ } Hash;
1363
+
1364
+ /* ----------------
1365
+ * setop node
1366
+ * ----------------
1367
+ */
1368
+ typedef struct SetOp
1369
+ {
1370
+ Plan plan;
1371
+
1372
+ /* what to do, see nodes.h */
1373
+ SetOpCmd cmd;
1374
+
1375
+ /* how to do it, see nodes.h */
1376
+ SetOpStrategy strategy;
1377
+
1378
+ /* number of columns to compare */
1379
+ int numCols;
1380
+
1381
+ /* their indexes in the target list */
1382
+ AttrNumber *cmpColIdx pg_node_attr(array_size(numCols));
1383
+
1384
+ /* comparison operators (either equality operators or sort operators) */
1385
+ Oid *cmpOperators pg_node_attr(array_size(numCols));
1386
+ Oid *cmpCollations pg_node_attr(array_size(numCols));
1387
+
1388
+ /* nulls-first flags if sorting, otherwise not interesting */
1389
+ bool *cmpNullsFirst pg_node_attr(array_size(numCols));
1390
+
1391
+ /* estimated number of groups in left input */
1392
+ long numGroups;
1393
+ } SetOp;
1394
+
1395
+ /* ----------------
1396
+ * lock-rows node
1397
+ *
1398
+ * rowMarks identifies the rels to be locked by this node; it should be
1399
+ * a subset of the rowMarks listed in the top-level PlannedStmt.
1400
+ * epqParam is a Param that all scan nodes below this one must depend on.
1401
+ * It is used to force re-evaluation of the plan during EvalPlanQual.
1402
+ * ----------------
1403
+ */
1404
+ typedef struct LockRows
1405
+ {
1406
+ Plan plan;
1407
+ /* a list of PlanRowMark's */
1408
+ List *rowMarks;
1409
+ /* ID of Param for EvalPlanQual re-eval */
1410
+ int epqParam;
1411
+ } LockRows;
1412
+
1413
+ /* ----------------
1414
+ * limit node
1415
+ *
1416
+ * Note: as of Postgres 8.2, the offset and count expressions are expected
1417
+ * to yield int8, rather than int4 as before.
1418
+ * ----------------
1419
+ */
1420
+ typedef struct Limit
1421
+ {
1422
+ Plan plan;
1423
+
1424
+ /* OFFSET parameter, or NULL if none */
1425
+ Node *limitOffset;
1426
+
1427
+ /* COUNT parameter, or NULL if none */
1428
+ Node *limitCount;
1429
+
1430
+ /* limit type */
1431
+ LimitOption limitOption;
1432
+
1433
+ /* number of columns to check for similarity */
1434
+ int uniqNumCols;
1435
+
1436
+ /* their indexes in the target list */
1437
+ AttrNumber *uniqColIdx pg_node_attr(array_size(uniqNumCols));
1438
+
1439
+ /* equality operators to compare with */
1440
+ Oid *uniqOperators pg_node_attr(array_size(uniqNumCols));
1441
+
1442
+ /* collations for equality comparisons */
1443
+ Oid *uniqCollations pg_node_attr(array_size(uniqNumCols));
1444
+ } Limit;
1445
+
1446
+
1447
+ /*
1448
+ * RowMarkType -
1449
+ * enums for types of row-marking operations
1450
+ *
1451
+ * The first four of these values represent different lock strengths that
1452
+ * we can take on tuples according to SELECT FOR [KEY] UPDATE/SHARE requests.
1453
+ * We support these on regular tables, as well as on foreign tables whose FDWs
1454
+ * report support for late locking. For other foreign tables, any locking
1455
+ * that might be done for such requests must happen during the initial row
1456
+ * fetch; their FDWs provide no mechanism for going back to lock a row later.
1457
+ * This means that the semantics will be a bit different than for a local
1458
+ * table; in particular we are likely to lock more rows than would be locked
1459
+ * locally, since remote rows will be locked even if they then fail
1460
+ * locally-checked restriction or join quals. However, the prospect of
1461
+ * doing a separate remote query to lock each selected row is usually pretty
1462
+ * unappealing, so early locking remains a credible design choice for FDWs.
1463
+ *
1464
+ * When doing UPDATE/DELETE/MERGE/SELECT FOR UPDATE/SHARE, we have to uniquely
1465
+ * identify all the source rows, not only those from the target relations, so
1466
+ * that we can perform EvalPlanQual rechecking at need. For plain tables we
1467
+ * can just fetch the TID, much as for a target relation; this case is
1468
+ * represented by ROW_MARK_REFERENCE. Otherwise (for example for VALUES or
1469
+ * FUNCTION scans) we have to copy the whole row value. ROW_MARK_COPY is
1470
+ * pretty inefficient, since most of the time we'll never need the data; but
1471
+ * fortunately the overhead is usually not performance-critical in practice.
1472
+ * By default we use ROW_MARK_COPY for foreign tables, but if the FDW has
1473
+ * a concept of rowid it can request to use ROW_MARK_REFERENCE instead.
1474
+ * (Again, this probably doesn't make sense if a physical remote fetch is
1475
+ * needed, but for FDWs that map to local storage it might be credible.)
1476
+ */
1477
+ typedef enum RowMarkType
1478
+ {
1479
+ ROW_MARK_EXCLUSIVE, /* obtain exclusive tuple lock */
1480
+ ROW_MARK_NOKEYEXCLUSIVE, /* obtain no-key exclusive tuple lock */
1481
+ ROW_MARK_SHARE, /* obtain shared tuple lock */
1482
+ ROW_MARK_KEYSHARE, /* obtain keyshare tuple lock */
1483
+ ROW_MARK_REFERENCE, /* just fetch the TID, don't lock it */
1484
+ ROW_MARK_COPY, /* physically copy the row value */
1485
+ } RowMarkType;
1486
+
1487
+ #define RowMarkRequiresRowShareLock(marktype) ((marktype) <= ROW_MARK_KEYSHARE)
1488
+
1489
+ /*
1490
+ * PlanRowMark -
1491
+ * plan-time representation of FOR [KEY] UPDATE/SHARE clauses
1492
+ *
1493
+ * When doing UPDATE/DELETE/MERGE/SELECT FOR UPDATE/SHARE, we create a separate
1494
+ * PlanRowMark node for each non-target relation in the query. Relations that
1495
+ * are not specified as FOR UPDATE/SHARE are marked ROW_MARK_REFERENCE (if
1496
+ * regular tables or supported foreign tables) or ROW_MARK_COPY (if not).
1497
+ *
1498
+ * Initially all PlanRowMarks have rti == prti and isParent == false.
1499
+ * When the planner discovers that a relation is the root of an inheritance
1500
+ * tree, it sets isParent true, and adds an additional PlanRowMark to the
1501
+ * list for each child relation (including the target rel itself in its role
1502
+ * as a child, if it is not a partitioned table). Any non-leaf partitioned
1503
+ * child relations will also have entries with isParent = true. The child
1504
+ * entries have rti == child rel's RT index and prti == top parent's RT index,
1505
+ * and can therefore be recognized as children by the fact that prti != rti.
1506
+ * The parent's allMarkTypes field gets the OR of (1<<markType) across all
1507
+ * its children (this definition allows children to use different markTypes).
1508
+ *
1509
+ * The planner also adds resjunk output columns to the plan that carry
1510
+ * information sufficient to identify the locked or fetched rows. When
1511
+ * markType != ROW_MARK_COPY, these columns are named
1512
+ * tableoid%u OID of table
1513
+ * ctid%u TID of row
1514
+ * The tableoid column is only present for an inheritance hierarchy.
1515
+ * When markType == ROW_MARK_COPY, there is instead a single column named
1516
+ * wholerow%u whole-row value of relation
1517
+ * (An inheritance hierarchy could have all three resjunk output columns,
1518
+ * if some children use a different markType than others.)
1519
+ * In all three cases, %u represents the rowmark ID number (rowmarkId).
1520
+ * This number is unique within a plan tree, except that child relation
1521
+ * entries copy their parent's rowmarkId. (Assigning unique numbers
1522
+ * means we needn't renumber rowmarkIds when flattening subqueries, which
1523
+ * would require finding and renaming the resjunk columns as well.)
1524
+ * Note this means that all tables in an inheritance hierarchy share the
1525
+ * same resjunk column names.
1526
+ */
1527
+ typedef struct PlanRowMark
1528
+ {
1529
+ pg_node_attr(no_equal, no_query_jumble)
1530
+
1531
+ NodeTag type;
1532
+ /* range table index of markable relation */
1533
+ Index rti;
1534
+ /* range table index of parent relation */
1535
+ Index prti;
1536
+ /* unique identifier for resjunk columns */
1537
+ Index rowmarkId;
1538
+ /* see enum above */
1539
+ RowMarkType markType;
1540
+ /* OR of (1<<markType) for all children */
1541
+ int allMarkTypes;
1542
+ /* LockingClause's strength, or LCS_NONE */
1543
+ LockClauseStrength strength;
1544
+ /* NOWAIT and SKIP LOCKED options */
1545
+ LockWaitPolicy waitPolicy;
1546
+ /* true if this is a "dummy" parent entry */
1547
+ bool isParent;
1548
+ } PlanRowMark;
1549
+
1550
+
1551
+ /*
1552
+ * Node types to represent partition pruning information.
1553
+ */
1554
+
1555
+ /*
1556
+ * PartitionPruneInfo - Details required to allow the executor to prune
1557
+ * partitions.
1558
+ *
1559
+ * Here we store mapping details to allow translation of a partitioned table's
1560
+ * index as returned by the partition pruning code into subplan indexes for
1561
+ * plan types which support arbitrary numbers of subplans, such as Append.
1562
+ * We also store various details to tell the executor when it should be
1563
+ * performing partition pruning.
1564
+ *
1565
+ * Each PartitionedRelPruneInfo describes the partitioning rules for a single
1566
+ * partitioned table (a/k/a level of partitioning). Since a partitioning
1567
+ * hierarchy could contain multiple levels, we represent it by a List of
1568
+ * PartitionedRelPruneInfos, where the first entry represents the topmost
1569
+ * partitioned table and additional entries represent non-leaf child
1570
+ * partitions, ordered such that parents appear before their children.
1571
+ * Then, since an Append-type node could have multiple partitioning
1572
+ * hierarchies among its children, we have an unordered List of those Lists.
1573
+ *
1574
+ * relids RelOptInfo.relids of the parent plan node (e.g. Append
1575
+ * or MergeAppend) to which this PartitionPruneInfo node
1576
+ * belongs. The pruning logic ensures that this matches
1577
+ * the parent plan node's apprelids.
1578
+ * prune_infos List of Lists containing PartitionedRelPruneInfo nodes,
1579
+ * one sublist per run-time-prunable partition hierarchy
1580
+ * appearing in the parent plan node's subplans.
1581
+ * other_subplans Indexes of any subplans that are not accounted for
1582
+ * by any of the PartitionedRelPruneInfo nodes in
1583
+ * "prune_infos". These subplans must not be pruned.
1584
+ */
1585
+ typedef struct PartitionPruneInfo
1586
+ {
1587
+ pg_node_attr(no_equal, no_query_jumble)
1588
+
1589
+ NodeTag type;
1590
+ Bitmapset *relids;
1591
+ List *prune_infos;
1592
+ Bitmapset *other_subplans;
1593
+ } PartitionPruneInfo;
1594
+
1595
+ /*
1596
+ * PartitionedRelPruneInfo - Details required to allow the executor to prune
1597
+ * partitions for a single partitioned table.
1598
+ *
1599
+ * subplan_map[], subpart_map[], and leafpart_rti_map[] are indexed by partition
1600
+ * index of the partitioned table referenced by 'rtindex', the partition index
1601
+ * being the order that the partitions are defined in the table's
1602
+ * PartitionDesc. For a leaf partition p, subplan_map[p] contains the
1603
+ * zero-based index of the partition's subplan in the parent plan's subplan
1604
+ * list; it is -1 if the partition is non-leaf or has been pruned. For a
1605
+ * non-leaf partition p, subpart_map[p] contains the zero-based index of that
1606
+ * sub-partition's PartitionedRelPruneInfo in the hierarchy's
1607
+ * PartitionedRelPruneInfo list; it is -1 if the partition is a leaf or has
1608
+ * been pruned. leafpart_rti_map[p] contains the RT index of a leaf partition
1609
+ * if its subplan is in the parent plan' subplan list; it is 0 either if the
1610
+ * partition is non-leaf or it is leaf but has been pruned during planning.
1611
+ * Note that subplan indexes, as stored in 'subplan_map', are global across the
1612
+ * parent plan node, but partition indexes are valid only within a particular
1613
+ * hierarchy. relid_map[p] contains the partition's OID, or 0 if the partition
1614
+ * was pruned.
1615
+ */
1616
+ typedef struct PartitionedRelPruneInfo
1617
+ {
1618
+ pg_node_attr(no_equal, no_query_jumble)
1619
+
1620
+ NodeTag type;
1621
+
1622
+ /* RT index of partition rel for this level */
1623
+ Index rtindex;
1624
+
1625
+ /* Indexes of all partitions which subplans or subparts are present for */
1626
+ Bitmapset *present_parts;
1627
+
1628
+ /* Length of the following arrays: */
1629
+ int nparts;
1630
+
1631
+ /* subplan index by partition index, or -1 */
1632
+ int *subplan_map pg_node_attr(array_size(nparts));
1633
+
1634
+ /* subpart index by partition index, or -1 */
1635
+ int *subpart_map pg_node_attr(array_size(nparts));
1636
+
1637
+ /* RT index by partition index, or 0 */
1638
+ int *leafpart_rti_map pg_node_attr(array_size(nparts));
1639
+
1640
+ /* relation OID by partition index, or 0 */
1641
+ Oid *relid_map pg_node_attr(array_size(nparts));
1642
+
1643
+ /*
1644
+ * initial_pruning_steps shows how to prune during executor startup (i.e.,
1645
+ * without use of any PARAM_EXEC Params); it is NIL if no startup pruning
1646
+ * is required. exec_pruning_steps shows how to prune with PARAM_EXEC
1647
+ * Params; it is NIL if no per-scan pruning is required.
1648
+ */
1649
+ /* List of PartitionPruneStep */
1650
+ List *initial_pruning_steps;
1651
+ /* List of PartitionPruneStep */
1652
+ List *exec_pruning_steps;
1653
+
1654
+ /* All PARAM_EXEC Param IDs in exec_pruning_steps */
1655
+ Bitmapset *execparamids;
1656
+ } PartitionedRelPruneInfo;
1657
+
1658
+ /*
1659
+ * Abstract Node type for partition pruning steps (there are no concrete
1660
+ * Nodes of this type).
1661
+ *
1662
+ * step_id is the global identifier of the step within its pruning context.
1663
+ */
1664
+ typedef struct PartitionPruneStep
1665
+ {
1666
+ pg_node_attr(abstract, no_equal, no_query_jumble)
1667
+
1668
+ NodeTag type;
1669
+ int step_id;
1670
+ } PartitionPruneStep;
1671
+
1672
+ /*
1673
+ * PartitionPruneStepOp - Information to prune using a set of mutually ANDed
1674
+ * OpExpr clauses
1675
+ *
1676
+ * This contains information extracted from up to partnatts OpExpr clauses,
1677
+ * where partnatts is the number of partition key columns. 'opstrategy' is the
1678
+ * strategy of the operator in the clause matched to the last partition key.
1679
+ * 'exprs' contains expressions which comprise the lookup key to be passed to
1680
+ * the partition bound search function. 'cmpfns' contains the OIDs of
1681
+ * comparison functions used to compare aforementioned expressions with
1682
+ * partition bounds. Both 'exprs' and 'cmpfns' contain the same number of
1683
+ * items, up to partnatts items.
1684
+ *
1685
+ * Once we find the offset of a partition bound using the lookup key, we
1686
+ * determine which partitions to include in the result based on the value of
1687
+ * 'opstrategy'. For example, if it were equality, we'd return just the
1688
+ * partition that would contain that key or a set of partitions if the key
1689
+ * didn't consist of all partitioning columns. For non-equality strategies,
1690
+ * we'd need to include other partitions as appropriate.
1691
+ *
1692
+ * 'nullkeys' is the set containing the offset of the partition keys (0 to
1693
+ * partnatts - 1) that were matched to an IS NULL clause. This is only
1694
+ * considered for hash partitioning as we need to pass which keys are null
1695
+ * to the hash partition bound search function. It is never possible to
1696
+ * have an expression be present in 'exprs' for a given partition key and
1697
+ * the corresponding bit set in 'nullkeys'.
1698
+ */
1699
+ typedef struct PartitionPruneStepOp
1700
+ {
1701
+ PartitionPruneStep step;
1702
+
1703
+ StrategyNumber opstrategy;
1704
+ List *exprs;
1705
+ List *cmpfns;
1706
+ Bitmapset *nullkeys;
1707
+ } PartitionPruneStepOp;
1708
+
1709
+ /*
1710
+ * PartitionPruneStepCombine - Information to prune using a BoolExpr clause
1711
+ *
1712
+ * For BoolExpr clauses, we combine the set of partitions determined for each
1713
+ * of the argument clauses.
1714
+ */
1715
+ typedef enum PartitionPruneCombineOp
1716
+ {
1717
+ PARTPRUNE_COMBINE_UNION,
1718
+ PARTPRUNE_COMBINE_INTERSECT,
1719
+ } PartitionPruneCombineOp;
1720
+
1721
+ typedef struct PartitionPruneStepCombine
1722
+ {
1723
+ PartitionPruneStep step;
1724
+
1725
+ PartitionPruneCombineOp combineOp;
1726
+ List *source_stepids;
1727
+ } PartitionPruneStepCombine;
1728
+
1729
+
1730
+ /*
1731
+ * Plan invalidation info
1732
+ *
1733
+ * We track the objects on which a PlannedStmt depends in two ways:
1734
+ * relations are recorded as a simple list of OIDs, and everything else
1735
+ * is represented as a list of PlanInvalItems. A PlanInvalItem is designed
1736
+ * to be used with the syscache invalidation mechanism, so it identifies a
1737
+ * system catalog entry by cache ID and hash value.
1738
+ */
1739
+ typedef struct PlanInvalItem
1740
+ {
1741
+ pg_node_attr(no_equal, no_query_jumble)
1742
+
1743
+ NodeTag type;
1744
+ /* a syscache ID, see utils/syscache.h */
1745
+ int cacheId;
1746
+ /* hash value of object's cache lookup key */
1747
+ uint32 hashValue;
1748
+ } PlanInvalItem;
1749
+
1750
+ /*
1751
+ * MonotonicFunction
1752
+ *
1753
+ * Allows the planner to track monotonic properties of functions. A function
1754
+ * is monotonically increasing if a subsequent call cannot yield a lower value
1755
+ * than the previous call. A monotonically decreasing function cannot yield a
1756
+ * higher value on subsequent calls, and a function which is both must return
1757
+ * the same value on each call.
1758
+ */
1759
+ typedef enum MonotonicFunction
1760
+ {
1761
+ MONOTONICFUNC_NONE = 0,
1762
+ MONOTONICFUNC_INCREASING = (1 << 0),
1763
+ MONOTONICFUNC_DECREASING = (1 << 1),
1764
+ MONOTONICFUNC_BOTH = MONOTONICFUNC_INCREASING | MONOTONICFUNC_DECREASING,
1765
+ } MonotonicFunction;
1766
+
1767
+ #endif /* PLANNODES_H */