pg_query 1.1.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (478) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +163 -52
  3. data/README.md +80 -69
  4. data/Rakefile +82 -1
  5. data/ext/pg_query/extconf.rb +3 -31
  6. data/ext/pg_query/guc-file.c +0 -0
  7. data/ext/pg_query/include/access/amapi.h +246 -0
  8. data/ext/pg_query/include/access/attmap.h +52 -0
  9. data/ext/pg_query/include/access/attnum.h +64 -0
  10. data/ext/pg_query/include/access/clog.h +61 -0
  11. data/ext/pg_query/include/access/commit_ts.h +77 -0
  12. data/ext/pg_query/include/access/detoast.h +92 -0
  13. data/ext/pg_query/include/access/genam.h +228 -0
  14. data/ext/pg_query/include/access/gin.h +78 -0
  15. data/ext/pg_query/include/access/htup.h +89 -0
  16. data/ext/pg_query/include/access/htup_details.h +819 -0
  17. data/ext/pg_query/include/access/itup.h +161 -0
  18. data/ext/pg_query/include/access/parallel.h +82 -0
  19. data/ext/pg_query/include/access/printtup.h +35 -0
  20. data/ext/pg_query/include/access/relation.h +28 -0
  21. data/ext/pg_query/include/access/relscan.h +176 -0
  22. data/ext/pg_query/include/access/rmgr.h +35 -0
  23. data/ext/pg_query/include/access/rmgrlist.h +49 -0
  24. data/ext/pg_query/include/access/sdir.h +58 -0
  25. data/ext/pg_query/include/access/skey.h +151 -0
  26. data/ext/pg_query/include/access/stratnum.h +83 -0
  27. data/ext/pg_query/include/access/sysattr.h +29 -0
  28. data/ext/pg_query/include/access/table.h +27 -0
  29. data/ext/pg_query/include/access/tableam.h +1825 -0
  30. data/ext/pg_query/include/access/transam.h +265 -0
  31. data/ext/pg_query/include/access/tupconvert.h +51 -0
  32. data/ext/pg_query/include/access/tupdesc.h +154 -0
  33. data/ext/pg_query/include/access/tupmacs.h +247 -0
  34. data/ext/pg_query/include/access/twophase.h +61 -0
  35. data/ext/pg_query/include/access/xact.h +463 -0
  36. data/ext/pg_query/include/access/xlog.h +398 -0
  37. data/ext/pg_query/include/access/xlog_internal.h +330 -0
  38. data/ext/pg_query/include/access/xlogdefs.h +109 -0
  39. data/ext/pg_query/include/access/xloginsert.h +64 -0
  40. data/ext/pg_query/include/access/xlogreader.h +327 -0
  41. data/ext/pg_query/include/access/xlogrecord.h +227 -0
  42. data/ext/pg_query/include/bootstrap/bootstrap.h +62 -0
  43. data/ext/pg_query/include/c.h +1322 -0
  44. data/ext/pg_query/include/catalog/catalog.h +42 -0
  45. data/ext/pg_query/include/catalog/catversion.h +58 -0
  46. data/ext/pg_query/include/catalog/dependency.h +275 -0
  47. data/ext/pg_query/include/catalog/genbki.h +64 -0
  48. data/ext/pg_query/include/catalog/index.h +199 -0
  49. data/ext/pg_query/include/catalog/indexing.h +366 -0
  50. data/ext/pg_query/include/catalog/namespace.h +188 -0
  51. data/ext/pg_query/include/catalog/objectaccess.h +197 -0
  52. data/ext/pg_query/include/catalog/objectaddress.h +84 -0
  53. data/ext/pg_query/include/catalog/pg_aggregate.h +176 -0
  54. data/ext/pg_query/include/catalog/pg_aggregate_d.h +77 -0
  55. data/ext/pg_query/include/catalog/pg_am.h +60 -0
  56. data/ext/pg_query/include/catalog/pg_am_d.h +45 -0
  57. data/ext/pg_query/include/catalog/pg_attribute.h +204 -0
  58. data/ext/pg_query/include/catalog/pg_attribute_d.h +59 -0
  59. data/ext/pg_query/include/catalog/pg_authid.h +58 -0
  60. data/ext/pg_query/include/catalog/pg_authid_d.h +49 -0
  61. data/ext/pg_query/include/catalog/pg_class.h +200 -0
  62. data/ext/pg_query/include/catalog/pg_class_d.h +103 -0
  63. data/ext/pg_query/include/catalog/pg_collation.h +73 -0
  64. data/ext/pg_query/include/catalog/pg_collation_d.h +45 -0
  65. data/ext/pg_query/include/catalog/pg_constraint.h +247 -0
  66. data/ext/pg_query/include/catalog/pg_constraint_d.h +67 -0
  67. data/ext/pg_query/include/catalog/pg_control.h +250 -0
  68. data/ext/pg_query/include/catalog/pg_conversion.h +72 -0
  69. data/ext/pg_query/include/catalog/pg_conversion_d.h +35 -0
  70. data/ext/pg_query/include/catalog/pg_depend.h +73 -0
  71. data/ext/pg_query/include/catalog/pg_depend_d.h +34 -0
  72. data/ext/pg_query/include/catalog/pg_event_trigger.h +51 -0
  73. data/ext/pg_query/include/catalog/pg_event_trigger_d.h +34 -0
  74. data/ext/pg_query/include/catalog/pg_index.h +80 -0
  75. data/ext/pg_query/include/catalog/pg_index_d.h +56 -0
  76. data/ext/pg_query/include/catalog/pg_language.h +67 -0
  77. data/ext/pg_query/include/catalog/pg_language_d.h +39 -0
  78. data/ext/pg_query/include/catalog/pg_namespace.h +59 -0
  79. data/ext/pg_query/include/catalog/pg_namespace_d.h +34 -0
  80. data/ext/pg_query/include/catalog/pg_opclass.h +85 -0
  81. data/ext/pg_query/include/catalog/pg_opclass_d.h +49 -0
  82. data/ext/pg_query/include/catalog/pg_operator.h +102 -0
  83. data/ext/pg_query/include/catalog/pg_operator_d.h +106 -0
  84. data/ext/pg_query/include/catalog/pg_opfamily.h +60 -0
  85. data/ext/pg_query/include/catalog/pg_opfamily_d.h +47 -0
  86. data/ext/pg_query/include/catalog/pg_partitioned_table.h +63 -0
  87. data/ext/pg_query/include/catalog/pg_partitioned_table_d.h +35 -0
  88. data/ext/pg_query/include/catalog/pg_proc.h +211 -0
  89. data/ext/pg_query/include/catalog/pg_proc_d.h +99 -0
  90. data/ext/pg_query/include/catalog/pg_publication.h +115 -0
  91. data/ext/pg_query/include/catalog/pg_publication_d.h +36 -0
  92. data/ext/pg_query/include/catalog/pg_replication_origin.h +57 -0
  93. data/ext/pg_query/include/catalog/pg_replication_origin_d.h +29 -0
  94. data/ext/pg_query/include/catalog/pg_statistic.h +275 -0
  95. data/ext/pg_query/include/catalog/pg_statistic_d.h +194 -0
  96. data/ext/pg_query/include/catalog/pg_statistic_ext.h +74 -0
  97. data/ext/pg_query/include/catalog/pg_statistic_ext_d.h +40 -0
  98. data/ext/pg_query/include/catalog/pg_transform.h +45 -0
  99. data/ext/pg_query/include/catalog/pg_transform_d.h +32 -0
  100. data/ext/pg_query/include/catalog/pg_trigger.h +137 -0
  101. data/ext/pg_query/include/catalog/pg_trigger_d.h +106 -0
  102. data/ext/pg_query/include/catalog/pg_ts_config.h +50 -0
  103. data/ext/pg_query/include/catalog/pg_ts_config_d.h +32 -0
  104. data/ext/pg_query/include/catalog/pg_ts_dict.h +54 -0
  105. data/ext/pg_query/include/catalog/pg_ts_dict_d.h +33 -0
  106. data/ext/pg_query/include/catalog/pg_ts_parser.h +57 -0
  107. data/ext/pg_query/include/catalog/pg_ts_parser_d.h +35 -0
  108. data/ext/pg_query/include/catalog/pg_ts_template.h +48 -0
  109. data/ext/pg_query/include/catalog/pg_ts_template_d.h +32 -0
  110. data/ext/pg_query/include/catalog/pg_type.h +372 -0
  111. data/ext/pg_query/include/catalog/pg_type_d.h +285 -0
  112. data/ext/pg_query/include/catalog/storage.h +48 -0
  113. data/ext/pg_query/include/commands/async.h +54 -0
  114. data/ext/pg_query/include/commands/dbcommands.h +35 -0
  115. data/ext/pg_query/include/commands/defrem.h +173 -0
  116. data/ext/pg_query/include/commands/event_trigger.h +88 -0
  117. data/ext/pg_query/include/commands/explain.h +127 -0
  118. data/ext/pg_query/include/commands/prepare.h +61 -0
  119. data/ext/pg_query/include/commands/tablespace.h +67 -0
  120. data/ext/pg_query/include/commands/trigger.h +277 -0
  121. data/ext/pg_query/include/commands/user.h +37 -0
  122. data/ext/pg_query/include/commands/vacuum.h +293 -0
  123. data/ext/pg_query/include/commands/variable.h +38 -0
  124. data/ext/pg_query/include/common/file_perm.h +56 -0
  125. data/ext/pg_query/include/common/hashfn.h +104 -0
  126. data/ext/pg_query/include/common/ip.h +37 -0
  127. data/ext/pg_query/include/common/keywords.h +33 -0
  128. data/ext/pg_query/include/common/kwlookup.h +44 -0
  129. data/ext/pg_query/include/common/relpath.h +90 -0
  130. data/ext/pg_query/include/common/string.h +19 -0
  131. data/ext/pg_query/include/common/unicode_combining_table.h +196 -0
  132. data/ext/pg_query/include/datatype/timestamp.h +197 -0
  133. data/ext/pg_query/include/executor/execdesc.h +70 -0
  134. data/ext/pg_query/include/executor/executor.h +614 -0
  135. data/ext/pg_query/include/executor/functions.h +41 -0
  136. data/ext/pg_query/include/executor/instrument.h +101 -0
  137. data/ext/pg_query/include/executor/spi.h +175 -0
  138. data/ext/pg_query/include/executor/tablefunc.h +67 -0
  139. data/ext/pg_query/include/executor/tuptable.h +487 -0
  140. data/ext/pg_query/include/fmgr.h +775 -0
  141. data/ext/pg_query/include/funcapi.h +348 -0
  142. data/ext/pg_query/include/getaddrinfo.h +162 -0
  143. data/ext/pg_query/include/jit/jit.h +105 -0
  144. data/ext/pg_query/include/kwlist_d.h +1072 -0
  145. data/ext/pg_query/include/lib/ilist.h +727 -0
  146. data/ext/pg_query/include/lib/pairingheap.h +102 -0
  147. data/ext/pg_query/include/lib/simplehash.h +1059 -0
  148. data/ext/pg_query/include/lib/stringinfo.h +161 -0
  149. data/ext/pg_query/include/libpq/auth.h +29 -0
  150. data/ext/pg_query/include/libpq/crypt.h +46 -0
  151. data/ext/pg_query/include/libpq/hba.h +140 -0
  152. data/ext/pg_query/include/libpq/libpq-be.h +326 -0
  153. data/ext/pg_query/include/libpq/libpq.h +133 -0
  154. data/ext/pg_query/include/libpq/pqcomm.h +208 -0
  155. data/ext/pg_query/include/libpq/pqformat.h +210 -0
  156. data/ext/pg_query/include/libpq/pqsignal.h +42 -0
  157. data/ext/pg_query/include/mb/pg_wchar.h +672 -0
  158. data/ext/pg_query/include/mb/stringinfo_mb.h +24 -0
  159. data/ext/pg_query/include/miscadmin.h +476 -0
  160. data/ext/pg_query/include/nodes/bitmapset.h +122 -0
  161. data/ext/pg_query/include/nodes/execnodes.h +2520 -0
  162. data/ext/pg_query/include/nodes/extensible.h +160 -0
  163. data/ext/pg_query/include/nodes/lockoptions.h +61 -0
  164. data/ext/pg_query/include/nodes/makefuncs.h +108 -0
  165. data/ext/pg_query/include/nodes/memnodes.h +108 -0
  166. data/ext/pg_query/include/nodes/nodeFuncs.h +162 -0
  167. data/ext/pg_query/include/nodes/nodes.h +842 -0
  168. data/ext/pg_query/include/nodes/params.h +170 -0
  169. data/ext/pg_query/include/nodes/parsenodes.h +3579 -0
  170. data/ext/pg_query/include/nodes/pathnodes.h +2556 -0
  171. data/ext/pg_query/include/nodes/pg_list.h +605 -0
  172. data/ext/pg_query/include/nodes/plannodes.h +1251 -0
  173. data/ext/pg_query/include/nodes/primnodes.h +1541 -0
  174. data/ext/pg_query/include/nodes/print.h +34 -0
  175. data/ext/pg_query/include/nodes/tidbitmap.h +75 -0
  176. data/ext/pg_query/include/nodes/value.h +61 -0
  177. data/ext/pg_query/include/optimizer/cost.h +206 -0
  178. data/ext/pg_query/include/optimizer/geqo.h +88 -0
  179. data/ext/pg_query/include/optimizer/geqo_gene.h +45 -0
  180. data/ext/pg_query/include/optimizer/optimizer.h +199 -0
  181. data/ext/pg_query/include/optimizer/paths.h +249 -0
  182. data/ext/pg_query/include/optimizer/planmain.h +119 -0
  183. data/ext/pg_query/include/parser/analyze.h +49 -0
  184. data/ext/pg_query/include/parser/gram.h +1067 -0
  185. data/ext/pg_query/include/parser/gramparse.h +75 -0
  186. data/ext/pg_query/include/parser/kwlist.h +477 -0
  187. data/ext/pg_query/include/parser/parse_agg.h +68 -0
  188. data/ext/pg_query/include/parser/parse_clause.h +54 -0
  189. data/ext/pg_query/include/parser/parse_coerce.h +97 -0
  190. data/ext/pg_query/include/parser/parse_collate.h +27 -0
  191. data/ext/pg_query/include/parser/parse_expr.h +26 -0
  192. data/ext/pg_query/include/parser/parse_func.h +73 -0
  193. data/ext/pg_query/include/parser/parse_node.h +327 -0
  194. data/ext/pg_query/include/parser/parse_oper.h +67 -0
  195. data/ext/pg_query/include/parser/parse_relation.h +123 -0
  196. data/ext/pg_query/include/parser/parse_target.h +46 -0
  197. data/ext/pg_query/include/parser/parse_type.h +60 -0
  198. data/ext/pg_query/include/parser/parser.h +41 -0
  199. data/ext/pg_query/include/parser/parsetree.h +61 -0
  200. data/ext/pg_query/include/parser/scanner.h +152 -0
  201. data/ext/pg_query/include/parser/scansup.h +30 -0
  202. data/ext/pg_query/include/partitioning/partdefs.h +26 -0
  203. data/ext/pg_query/include/pg_config.h +988 -0
  204. data/ext/pg_query/include/pg_config_ext.h +8 -0
  205. data/ext/pg_query/include/pg_config_manual.h +350 -0
  206. data/ext/pg_query/include/pg_config_os.h +8 -0
  207. data/ext/pg_query/include/pg_getopt.h +56 -0
  208. data/ext/pg_query/include/pg_query.h +121 -0
  209. data/ext/pg_query/include/pg_query_enum_defs.c +2454 -0
  210. data/ext/pg_query/include/pg_query_fingerprint_conds.c +875 -0
  211. data/ext/pg_query/include/pg_query_fingerprint_defs.c +12413 -0
  212. data/ext/pg_query/include/pg_query_json_helper.c +61 -0
  213. data/ext/pg_query/include/pg_query_outfuncs_conds.c +686 -0
  214. data/ext/pg_query/include/pg_query_outfuncs_defs.c +2437 -0
  215. data/ext/pg_query/include/pg_query_readfuncs_conds.c +222 -0
  216. data/ext/pg_query/include/pg_query_readfuncs_defs.c +2878 -0
  217. data/ext/pg_query/include/pg_trace.h +17 -0
  218. data/ext/pg_query/include/pgstat.h +1487 -0
  219. data/ext/pg_query/include/pgtime.h +84 -0
  220. data/ext/pg_query/include/pl_gram.h +385 -0
  221. data/ext/pg_query/include/pl_reserved_kwlist.h +52 -0
  222. data/ext/pg_query/include/pl_reserved_kwlist_d.h +114 -0
  223. data/ext/pg_query/include/pl_unreserved_kwlist.h +112 -0
  224. data/ext/pg_query/include/pl_unreserved_kwlist_d.h +246 -0
  225. data/ext/pg_query/include/plerrcodes.h +990 -0
  226. data/ext/pg_query/include/plpgsql.h +1347 -0
  227. data/ext/pg_query/include/port.h +524 -0
  228. data/ext/pg_query/include/port/atomics.h +524 -0
  229. data/ext/pg_query/include/port/atomics/arch-arm.h +26 -0
  230. data/ext/pg_query/include/port/atomics/arch-ppc.h +254 -0
  231. data/ext/pg_query/include/port/atomics/arch-x86.h +252 -0
  232. data/ext/pg_query/include/port/atomics/fallback.h +170 -0
  233. data/ext/pg_query/include/port/atomics/generic-gcc.h +286 -0
  234. data/ext/pg_query/include/port/atomics/generic.h +401 -0
  235. data/ext/pg_query/include/port/pg_bitutils.h +226 -0
  236. data/ext/pg_query/include/port/pg_bswap.h +161 -0
  237. data/ext/pg_query/include/port/pg_crc32c.h +101 -0
  238. data/ext/pg_query/include/portability/instr_time.h +256 -0
  239. data/ext/pg_query/include/postgres.h +764 -0
  240. data/ext/pg_query/include/postgres_ext.h +74 -0
  241. data/ext/pg_query/include/postmaster/autovacuum.h +83 -0
  242. data/ext/pg_query/include/postmaster/bgworker.h +161 -0
  243. data/ext/pg_query/include/postmaster/bgworker_internals.h +64 -0
  244. data/ext/pg_query/include/postmaster/bgwriter.h +45 -0
  245. data/ext/pg_query/include/postmaster/fork_process.h +17 -0
  246. data/ext/pg_query/include/postmaster/interrupt.h +32 -0
  247. data/ext/pg_query/include/postmaster/pgarch.h +39 -0
  248. data/ext/pg_query/include/postmaster/postmaster.h +77 -0
  249. data/ext/pg_query/include/postmaster/syslogger.h +98 -0
  250. data/ext/pg_query/include/postmaster/walwriter.h +21 -0
  251. data/ext/pg_query/include/protobuf-c.h +1106 -0
  252. data/ext/pg_query/include/protobuf-c/protobuf-c.h +1106 -0
  253. data/ext/pg_query/include/protobuf/pg_query.pb-c.h +10846 -0
  254. data/ext/pg_query/include/protobuf/pg_query.pb.h +124718 -0
  255. data/ext/pg_query/include/regex/regex.h +184 -0
  256. data/ext/pg_query/include/replication/logicallauncher.h +31 -0
  257. data/ext/pg_query/include/replication/logicalproto.h +110 -0
  258. data/ext/pg_query/include/replication/logicalworker.h +19 -0
  259. data/ext/pg_query/include/replication/origin.h +73 -0
  260. data/ext/pg_query/include/replication/reorderbuffer.h +467 -0
  261. data/ext/pg_query/include/replication/slot.h +219 -0
  262. data/ext/pg_query/include/replication/syncrep.h +115 -0
  263. data/ext/pg_query/include/replication/walreceiver.h +340 -0
  264. data/ext/pg_query/include/replication/walsender.h +74 -0
  265. data/ext/pg_query/include/rewrite/prs2lock.h +46 -0
  266. data/ext/pg_query/include/rewrite/rewriteHandler.h +40 -0
  267. data/ext/pg_query/include/rewrite/rewriteManip.h +87 -0
  268. data/ext/pg_query/include/rewrite/rewriteSupport.h +26 -0
  269. data/ext/pg_query/include/storage/backendid.h +37 -0
  270. data/ext/pg_query/include/storage/block.h +121 -0
  271. data/ext/pg_query/include/storage/buf.h +46 -0
  272. data/ext/pg_query/include/storage/bufmgr.h +292 -0
  273. data/ext/pg_query/include/storage/bufpage.h +459 -0
  274. data/ext/pg_query/include/storage/condition_variable.h +62 -0
  275. data/ext/pg_query/include/storage/dsm.h +61 -0
  276. data/ext/pg_query/include/storage/dsm_impl.h +75 -0
  277. data/ext/pg_query/include/storage/fd.h +168 -0
  278. data/ext/pg_query/include/storage/ipc.h +81 -0
  279. data/ext/pg_query/include/storage/item.h +19 -0
  280. data/ext/pg_query/include/storage/itemid.h +184 -0
  281. data/ext/pg_query/include/storage/itemptr.h +206 -0
  282. data/ext/pg_query/include/storage/large_object.h +100 -0
  283. data/ext/pg_query/include/storage/latch.h +190 -0
  284. data/ext/pg_query/include/storage/lmgr.h +114 -0
  285. data/ext/pg_query/include/storage/lock.h +612 -0
  286. data/ext/pg_query/include/storage/lockdefs.h +59 -0
  287. data/ext/pg_query/include/storage/lwlock.h +232 -0
  288. data/ext/pg_query/include/storage/lwlocknames.h +51 -0
  289. data/ext/pg_query/include/storage/off.h +57 -0
  290. data/ext/pg_query/include/storage/pg_sema.h +61 -0
  291. data/ext/pg_query/include/storage/pg_shmem.h +90 -0
  292. data/ext/pg_query/include/storage/pmsignal.h +94 -0
  293. data/ext/pg_query/include/storage/predicate.h +87 -0
  294. data/ext/pg_query/include/storage/proc.h +333 -0
  295. data/ext/pg_query/include/storage/proclist_types.h +51 -0
  296. data/ext/pg_query/include/storage/procsignal.h +75 -0
  297. data/ext/pg_query/include/storage/relfilenode.h +99 -0
  298. data/ext/pg_query/include/storage/s_lock.h +1047 -0
  299. data/ext/pg_query/include/storage/sharedfileset.h +45 -0
  300. data/ext/pg_query/include/storage/shm_mq.h +85 -0
  301. data/ext/pg_query/include/storage/shm_toc.h +58 -0
  302. data/ext/pg_query/include/storage/shmem.h +81 -0
  303. data/ext/pg_query/include/storage/sinval.h +153 -0
  304. data/ext/pg_query/include/storage/sinvaladt.h +43 -0
  305. data/ext/pg_query/include/storage/smgr.h +109 -0
  306. data/ext/pg_query/include/storage/spin.h +77 -0
  307. data/ext/pg_query/include/storage/standby.h +91 -0
  308. data/ext/pg_query/include/storage/standbydefs.h +74 -0
  309. data/ext/pg_query/include/storage/sync.h +62 -0
  310. data/ext/pg_query/include/tcop/cmdtag.h +58 -0
  311. data/ext/pg_query/include/tcop/cmdtaglist.h +217 -0
  312. data/ext/pg_query/include/tcop/deparse_utility.h +108 -0
  313. data/ext/pg_query/include/tcop/dest.h +149 -0
  314. data/ext/pg_query/include/tcop/fastpath.h +21 -0
  315. data/ext/pg_query/include/tcop/pquery.h +45 -0
  316. data/ext/pg_query/include/tcop/tcopprot.h +89 -0
  317. data/ext/pg_query/include/tcop/utility.h +108 -0
  318. data/ext/pg_query/include/tsearch/ts_cache.h +98 -0
  319. data/ext/pg_query/include/utils/acl.h +312 -0
  320. data/ext/pg_query/include/utils/aclchk_internal.h +45 -0
  321. data/ext/pg_query/include/utils/array.h +458 -0
  322. data/ext/pg_query/include/utils/builtins.h +127 -0
  323. data/ext/pg_query/include/utils/bytea.h +27 -0
  324. data/ext/pg_query/include/utils/catcache.h +231 -0
  325. data/ext/pg_query/include/utils/date.h +90 -0
  326. data/ext/pg_query/include/utils/datetime.h +343 -0
  327. data/ext/pg_query/include/utils/datum.h +68 -0
  328. data/ext/pg_query/include/utils/dsa.h +123 -0
  329. data/ext/pg_query/include/utils/dynahash.h +19 -0
  330. data/ext/pg_query/include/utils/elog.h +439 -0
  331. data/ext/pg_query/include/utils/errcodes.h +352 -0
  332. data/ext/pg_query/include/utils/expandeddatum.h +159 -0
  333. data/ext/pg_query/include/utils/expandedrecord.h +231 -0
  334. data/ext/pg_query/include/utils/float.h +356 -0
  335. data/ext/pg_query/include/utils/fmgroids.h +2657 -0
  336. data/ext/pg_query/include/utils/fmgrprotos.h +2646 -0
  337. data/ext/pg_query/include/utils/fmgrtab.h +48 -0
  338. data/ext/pg_query/include/utils/guc.h +443 -0
  339. data/ext/pg_query/include/utils/guc_tables.h +272 -0
  340. data/ext/pg_query/include/utils/hsearch.h +149 -0
  341. data/ext/pg_query/include/utils/inval.h +64 -0
  342. data/ext/pg_query/include/utils/lsyscache.h +197 -0
  343. data/ext/pg_query/include/utils/memdebug.h +82 -0
  344. data/ext/pg_query/include/utils/memutils.h +225 -0
  345. data/ext/pg_query/include/utils/numeric.h +76 -0
  346. data/ext/pg_query/include/utils/palloc.h +136 -0
  347. data/ext/pg_query/include/utils/partcache.h +102 -0
  348. data/ext/pg_query/include/utils/pg_locale.h +119 -0
  349. data/ext/pg_query/include/utils/pg_lsn.h +29 -0
  350. data/ext/pg_query/include/utils/pidfile.h +56 -0
  351. data/ext/pg_query/include/utils/plancache.h +235 -0
  352. data/ext/pg_query/include/utils/portal.h +241 -0
  353. data/ext/pg_query/include/utils/probes.h +114 -0
  354. data/ext/pg_query/include/utils/ps_status.h +25 -0
  355. data/ext/pg_query/include/utils/queryenvironment.h +74 -0
  356. data/ext/pg_query/include/utils/regproc.h +28 -0
  357. data/ext/pg_query/include/utils/rel.h +644 -0
  358. data/ext/pg_query/include/utils/relcache.h +151 -0
  359. data/ext/pg_query/include/utils/reltrigger.h +81 -0
  360. data/ext/pg_query/include/utils/resowner.h +86 -0
  361. data/ext/pg_query/include/utils/rls.h +50 -0
  362. data/ext/pg_query/include/utils/ruleutils.h +44 -0
  363. data/ext/pg_query/include/utils/sharedtuplestore.h +61 -0
  364. data/ext/pg_query/include/utils/snapmgr.h +158 -0
  365. data/ext/pg_query/include/utils/snapshot.h +206 -0
  366. data/ext/pg_query/include/utils/sortsupport.h +276 -0
  367. data/ext/pg_query/include/utils/syscache.h +219 -0
  368. data/ext/pg_query/include/utils/timeout.h +88 -0
  369. data/ext/pg_query/include/utils/timestamp.h +116 -0
  370. data/ext/pg_query/include/utils/tuplesort.h +277 -0
  371. data/ext/pg_query/include/utils/tuplestore.h +91 -0
  372. data/ext/pg_query/include/utils/typcache.h +202 -0
  373. data/ext/pg_query/include/utils/tzparser.h +39 -0
  374. data/ext/pg_query/include/utils/varlena.h +39 -0
  375. data/ext/pg_query/include/utils/xml.h +84 -0
  376. data/ext/pg_query/include/xxhash.h +5445 -0
  377. data/ext/pg_query/include/xxhash/xxhash.h +5445 -0
  378. data/ext/pg_query/pg_query.c +104 -0
  379. data/ext/pg_query/pg_query.pb-c.c +37628 -0
  380. data/ext/pg_query/pg_query_deparse.c +9953 -0
  381. data/ext/pg_query/pg_query_fingerprint.c +292 -0
  382. data/ext/pg_query/pg_query_fingerprint.h +8 -0
  383. data/ext/pg_query/pg_query_internal.h +24 -0
  384. data/ext/pg_query/pg_query_json_plpgsql.c +738 -0
  385. data/ext/pg_query/pg_query_json_plpgsql.h +9 -0
  386. data/ext/pg_query/pg_query_normalize.c +437 -0
  387. data/ext/pg_query/pg_query_outfuncs.h +10 -0
  388. data/ext/pg_query/pg_query_outfuncs_json.c +297 -0
  389. data/ext/pg_query/pg_query_outfuncs_protobuf.c +237 -0
  390. data/ext/pg_query/pg_query_parse.c +148 -0
  391. data/ext/pg_query/pg_query_parse_plpgsql.c +460 -0
  392. data/ext/pg_query/pg_query_readfuncs.h +11 -0
  393. data/ext/pg_query/pg_query_readfuncs_protobuf.c +142 -0
  394. data/ext/pg_query/pg_query_ruby.c +108 -12
  395. data/ext/pg_query/pg_query_scan.c +173 -0
  396. data/ext/pg_query/pg_query_split.c +221 -0
  397. data/ext/pg_query/protobuf-c.c +3660 -0
  398. data/ext/pg_query/src_backend_catalog_namespace.c +1051 -0
  399. data/ext/pg_query/src_backend_catalog_pg_proc.c +142 -0
  400. data/ext/pg_query/src_backend_commands_define.c +117 -0
  401. data/ext/pg_query/src_backend_libpq_pqcomm.c +651 -0
  402. data/ext/pg_query/src_backend_nodes_bitmapset.c +513 -0
  403. data/ext/pg_query/src_backend_nodes_copyfuncs.c +6013 -0
  404. data/ext/pg_query/src_backend_nodes_equalfuncs.c +4003 -0
  405. data/ext/pg_query/src_backend_nodes_extensible.c +99 -0
  406. data/ext/pg_query/src_backend_nodes_list.c +922 -0
  407. data/ext/pg_query/src_backend_nodes_makefuncs.c +417 -0
  408. data/ext/pg_query/src_backend_nodes_nodeFuncs.c +1363 -0
  409. data/ext/pg_query/src_backend_nodes_value.c +84 -0
  410. data/ext/pg_query/src_backend_parser_gram.c +47456 -0
  411. data/ext/pg_query/src_backend_parser_parse_expr.c +313 -0
  412. data/ext/pg_query/src_backend_parser_parser.c +497 -0
  413. data/ext/pg_query/src_backend_parser_scan.c +7091 -0
  414. data/ext/pg_query/src_backend_parser_scansup.c +160 -0
  415. data/ext/pg_query/src_backend_postmaster_postmaster.c +2230 -0
  416. data/ext/pg_query/src_backend_storage_ipc_ipc.c +192 -0
  417. data/ext/pg_query/src_backend_storage_lmgr_s_lock.c +370 -0
  418. data/ext/pg_query/src_backend_tcop_postgres.c +776 -0
  419. data/ext/pg_query/src_backend_utils_adt_datum.c +326 -0
  420. data/ext/pg_query/src_backend_utils_adt_expandeddatum.c +98 -0
  421. data/ext/pg_query/src_backend_utils_adt_format_type.c +136 -0
  422. data/ext/pg_query/src_backend_utils_adt_ruleutils.c +1683 -0
  423. data/ext/pg_query/src_backend_utils_error_assert.c +74 -0
  424. data/ext/pg_query/src_backend_utils_error_elog.c +1748 -0
  425. data/ext/pg_query/src_backend_utils_fmgr_fmgr.c +570 -0
  426. data/ext/pg_query/src_backend_utils_hash_dynahash.c +1086 -0
  427. data/ext/pg_query/src_backend_utils_init_globals.c +168 -0
  428. data/ext/pg_query/src_backend_utils_mb_mbutils.c +839 -0
  429. data/ext/pg_query/src_backend_utils_misc_guc.c +1831 -0
  430. data/ext/pg_query/src_backend_utils_mmgr_aset.c +1560 -0
  431. data/ext/pg_query/src_backend_utils_mmgr_mcxt.c +1006 -0
  432. data/ext/pg_query/src_common_encnames.c +158 -0
  433. data/ext/pg_query/src_common_keywords.c +39 -0
  434. data/ext/pg_query/src_common_kwlist_d.h +1081 -0
  435. data/ext/pg_query/src_common_kwlookup.c +91 -0
  436. data/ext/pg_query/src_common_psprintf.c +158 -0
  437. data/ext/pg_query/src_common_string.c +86 -0
  438. data/ext/pg_query/src_common_stringinfo.c +336 -0
  439. data/ext/pg_query/src_common_wchar.c +1651 -0
  440. data/ext/pg_query/src_pl_plpgsql_src_pl_comp.c +1133 -0
  441. data/ext/pg_query/src_pl_plpgsql_src_pl_funcs.c +877 -0
  442. data/ext/pg_query/src_pl_plpgsql_src_pl_gram.c +6533 -0
  443. data/ext/pg_query/src_pl_plpgsql_src_pl_handler.c +107 -0
  444. data/ext/pg_query/src_pl_plpgsql_src_pl_reserved_kwlist_d.h +123 -0
  445. data/ext/pg_query/src_pl_plpgsql_src_pl_scanner.c +671 -0
  446. data/ext/pg_query/src_pl_plpgsql_src_pl_unreserved_kwlist_d.h +255 -0
  447. data/ext/pg_query/src_port_erand48.c +127 -0
  448. data/ext/pg_query/src_port_pg_bitutils.c +246 -0
  449. data/ext/pg_query/src_port_pgsleep.c +69 -0
  450. data/ext/pg_query/src_port_pgstrcasecmp.c +83 -0
  451. data/ext/pg_query/src_port_qsort.c +240 -0
  452. data/ext/pg_query/src_port_random.c +31 -0
  453. data/ext/pg_query/src_port_snprintf.c +1449 -0
  454. data/ext/pg_query/src_port_strerror.c +324 -0
  455. data/ext/pg_query/src_port_strnlen.c +39 -0
  456. data/ext/pg_query/xxhash.c +43 -0
  457. data/lib/pg_query.rb +7 -4
  458. data/lib/pg_query/constants.rb +21 -0
  459. data/lib/pg_query/deparse.rb +16 -1117
  460. data/lib/pg_query/filter_columns.rb +86 -85
  461. data/lib/pg_query/fingerprint.rb +122 -87
  462. data/lib/pg_query/json_field_names.rb +1402 -0
  463. data/lib/pg_query/node.rb +31 -0
  464. data/lib/pg_query/param_refs.rb +42 -37
  465. data/lib/pg_query/parse.rb +220 -200
  466. data/lib/pg_query/parse_error.rb +1 -1
  467. data/lib/pg_query/pg_query_pb.rb +3211 -0
  468. data/lib/pg_query/scan.rb +23 -0
  469. data/lib/pg_query/treewalker.rb +24 -40
  470. data/lib/pg_query/truncate.rb +64 -43
  471. data/lib/pg_query/version.rb +2 -2
  472. metadata +473 -11
  473. data/ext/pg_query/pg_query_ruby.h +0 -10
  474. data/lib/pg_query/deep_dup.rb +0 -16
  475. data/lib/pg_query/deparse/alter_table.rb +0 -42
  476. data/lib/pg_query/deparse/interval.rb +0 -105
  477. data/lib/pg_query/legacy_parsetree.rb +0 -109
  478. data/lib/pg_query/node_types.rb +0 -284
@@ -0,0 +1,30 @@
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * scansup.h
4
+ * scanner support routines. used by both the bootstrap lexer
5
+ * as well as the normal lexer
6
+ *
7
+ * Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
8
+ * Portions Copyright (c) 1994, Regents of the University of California
9
+ *
10
+ * src/include/parser/scansup.h
11
+ *
12
+ *-------------------------------------------------------------------------
13
+ */
14
+
15
+ #ifndef SCANSUP_H
16
+ #define SCANSUP_H
17
+
18
+ extern char *scanstr(const char *s);
19
+
20
+ extern char *downcase_truncate_identifier(const char *ident, int len,
21
+ bool warn);
22
+
23
+ extern char *downcase_identifier(const char *ident, int len,
24
+ bool warn, bool truncate);
25
+
26
+ extern void truncate_identifier(char *ident, int len, bool warn);
27
+
28
+ extern bool scanner_isspace(char ch);
29
+
30
+ #endif /* SCANSUP_H */
@@ -0,0 +1,26 @@
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * partdefs.h
4
+ * Base definitions for partitioned table handling
5
+ *
6
+ * Copyright (c) 2007-2020, PostgreSQL Global Development Group
7
+ *
8
+ * src/include/partitioning/partdefs.h
9
+ *
10
+ *-------------------------------------------------------------------------
11
+ */
12
+ #ifndef PARTDEFS_H
13
+ #define PARTDEFS_H
14
+
15
+
16
+ typedef struct PartitionBoundInfoData *PartitionBoundInfo;
17
+
18
+ typedef struct PartitionKeyData *PartitionKey;
19
+
20
+ typedef struct PartitionBoundSpec PartitionBoundSpec;
21
+
22
+ typedef struct PartitionDescData *PartitionDesc;
23
+
24
+ typedef struct PartitionDirectoryData *PartitionDirectory;
25
+
26
+ #endif /* PARTDEFS_H */
@@ -0,0 +1,988 @@
1
+ /* src/include/pg_config.h. Generated from pg_config.h.in by configure. */
2
+ /* src/include/pg_config.h.in. Generated from configure.in by autoheader. */
3
+
4
+ /* Define to the type of arg 1 of 'accept' */
5
+ #define ACCEPT_TYPE_ARG1 int
6
+
7
+ /* Define to the type of arg 2 of 'accept' */
8
+ #define ACCEPT_TYPE_ARG2 struct sockaddr *
9
+
10
+ /* Define to the type of arg 3 of 'accept' */
11
+ #define ACCEPT_TYPE_ARG3 socklen_t
12
+
13
+ /* Define to the return type of 'accept' */
14
+ #define ACCEPT_TYPE_RETURN int
15
+
16
+ /* Define if building universal (internal helper macro) */
17
+ /* #undef AC_APPLE_UNIVERSAL_BUILD */
18
+
19
+ /* The normal alignment of `double', in bytes. */
20
+ #define ALIGNOF_DOUBLE 8
21
+
22
+ /* The normal alignment of `int', in bytes. */
23
+ #define ALIGNOF_INT 4
24
+
25
+ /* The normal alignment of `long', in bytes. */
26
+ #define ALIGNOF_LONG 8
27
+
28
+ /* The normal alignment of `long long int', in bytes. */
29
+ /* #undef ALIGNOF_LONG_LONG_INT */
30
+
31
+ /* The normal alignment of `PG_INT128_TYPE', in bytes. */
32
+ #define ALIGNOF_PG_INT128_TYPE 16
33
+
34
+ /* The normal alignment of `short', in bytes. */
35
+ #define ALIGNOF_SHORT 2
36
+
37
+ /* Size of a disk block --- this also limits the size of a tuple. You can set
38
+ it bigger if you need bigger tuples (although TOAST should reduce the need
39
+ to have large tuples, since fields can be spread across multiple tuples).
40
+ BLCKSZ must be a power of 2. The maximum possible value of BLCKSZ is
41
+ currently 2^15 (32768). This is determined by the 15-bit widths of the
42
+ lp_off and lp_len fields in ItemIdData (see include/storage/itemid.h).
43
+ Changing BLCKSZ requires an initdb. */
44
+ #define BLCKSZ 8192
45
+
46
+ /* Saved arguments from configure */
47
+ #define CONFIGURE_ARGS " '--without-readline' '--without-zlib'"
48
+
49
+ /* Define to the default TCP port number on which the server listens and to
50
+ which clients will try to connect. This can be overridden at run-time, but
51
+ it's convenient if your clients have the right default compiled in.
52
+ (--with-pgport=PORTNUM) */
53
+ #define DEF_PGPORT 5432
54
+
55
+ /* Define to the default TCP port number as a string constant. */
56
+ #define DEF_PGPORT_STR "5432"
57
+
58
+ /* Define to build with GSSAPI support. (--with-gssapi) */
59
+ /* #undef ENABLE_GSS */
60
+
61
+ /* Define to 1 if you want National Language Support. (--enable-nls) */
62
+ /* #undef ENABLE_NLS */
63
+
64
+ /* Define to 1 to build client libraries as thread-safe code.
65
+ (--enable-thread-safety) */
66
+ #define ENABLE_THREAD_SAFETY 1
67
+
68
+ /* Define to 1 if gettimeofday() takes only 1 argument. */
69
+ /* #undef GETTIMEOFDAY_1ARG */
70
+
71
+ #ifdef GETTIMEOFDAY_1ARG
72
+ # define gettimeofday(a,b) gettimeofday(a)
73
+ #endif
74
+
75
+ /* Define to 1 if you have the `append_history' function. */
76
+ /* #undef HAVE_APPEND_HISTORY */
77
+
78
+ /* Define to 1 if you have the `ASN1_STRING_get0_data' function. */
79
+ /* #undef HAVE_ASN1_STRING_GET0_DATA */
80
+
81
+ /* Define to 1 if you want to use atomics if available. */
82
+ #define HAVE_ATOMICS 1
83
+
84
+ /* Define to 1 if you have the <atomic.h> header file. */
85
+ /* #undef HAVE_ATOMIC_H */
86
+
87
+ /* Define to 1 if you have the `backtrace_symbols' function. */
88
+ #define HAVE_BACKTRACE_SYMBOLS 1
89
+
90
+ /* Define to 1 if you have the `BIO_get_data' function. */
91
+ /* #undef HAVE_BIO_GET_DATA */
92
+
93
+ /* Define to 1 if you have the `BIO_meth_new' function. */
94
+ /* #undef HAVE_BIO_METH_NEW */
95
+
96
+ /* Define to 1 if you have the `clock_gettime' function. */
97
+ #define HAVE_CLOCK_GETTIME 1
98
+
99
+ /* Define to 1 if your compiler handles computed gotos. */
100
+ #define HAVE_COMPUTED_GOTO 1
101
+
102
+ /* Define to 1 if you have the `copyfile' function. */
103
+ #define HAVE_COPYFILE 1
104
+
105
+ /* Define to 1 if you have the <copyfile.h> header file. */
106
+ #define HAVE_COPYFILE_H 1
107
+
108
+ /* Define to 1 if you have the <crtdefs.h> header file. */
109
+ /* #undef HAVE_CRTDEFS_H */
110
+
111
+ /* Define to 1 if you have the `CRYPTO_lock' function. */
112
+ /* #undef HAVE_CRYPTO_LOCK */
113
+
114
+ /* Define to 1 if you have the declaration of `fdatasync', and to 0 if you
115
+ don't. */
116
+ #define HAVE_DECL_FDATASYNC 0
117
+
118
+ /* Define to 1 if you have the declaration of `F_FULLFSYNC', and to 0 if you
119
+ don't. */
120
+ #define HAVE_DECL_F_FULLFSYNC 1
121
+
122
+ /* Define to 1 if you have the declaration of
123
+ `LLVMCreateGDBRegistrationListener', and to 0 if you don't. */
124
+ /* #undef HAVE_DECL_LLVMCREATEGDBREGISTRATIONLISTENER */
125
+
126
+ /* Define to 1 if you have the declaration of
127
+ `LLVMCreatePerfJITEventListener', and to 0 if you don't. */
128
+ /* #undef HAVE_DECL_LLVMCREATEPERFJITEVENTLISTENER */
129
+
130
+ /* Define to 1 if you have the declaration of `LLVMGetHostCPUFeatures', and to
131
+ 0 if you don't. */
132
+ /* #undef HAVE_DECL_LLVMGETHOSTCPUFEATURES */
133
+
134
+ /* Define to 1 if you have the declaration of `LLVMGetHostCPUName', and to 0
135
+ if you don't. */
136
+ /* #undef HAVE_DECL_LLVMGETHOSTCPUNAME */
137
+
138
+ /* Define to 1 if you have the declaration of `LLVMOrcGetSymbolAddressIn', and
139
+ to 0 if you don't. */
140
+ /* #undef HAVE_DECL_LLVMORCGETSYMBOLADDRESSIN */
141
+
142
+ /* Define to 1 if you have the declaration of `posix_fadvise', and to 0 if you
143
+ don't. */
144
+ #define HAVE_DECL_POSIX_FADVISE 0
145
+
146
+ /* Define to 1 if you have the declaration of `RTLD_GLOBAL', and to 0 if you
147
+ don't. */
148
+ #define HAVE_DECL_RTLD_GLOBAL 1
149
+
150
+ /* Define to 1 if you have the declaration of `RTLD_NOW', and to 0 if you
151
+ don't. */
152
+ #define HAVE_DECL_RTLD_NOW 1
153
+
154
+ /* Define to 1 if you have the declaration of `strlcat', and to 0 if you
155
+ don't. */
156
+ #define HAVE_DECL_STRLCAT 1
157
+
158
+ /* Define to 1 if you have the declaration of `strlcpy', and to 0 if you
159
+ don't. */
160
+ #define HAVE_DECL_STRLCPY 1
161
+
162
+ /* Define to 1 if you have the declaration of `strnlen', and to 0 if you
163
+ don't. */
164
+ #define HAVE_DECL_STRNLEN 1
165
+
166
+ /* Define to 1 if you have the declaration of `strtoll', and to 0 if you
167
+ don't. */
168
+ #define HAVE_DECL_STRTOLL 1
169
+
170
+ /* Define to 1 if you have the declaration of `strtoull', and to 0 if you
171
+ don't. */
172
+ #define HAVE_DECL_STRTOULL 1
173
+
174
+ /* Define to 1 if you have the `dlopen' function. */
175
+ #define HAVE_DLOPEN 1
176
+
177
+ /* Define to 1 if you have the <editline/history.h> header file. */
178
+ /* #undef HAVE_EDITLINE_HISTORY_H */
179
+
180
+ /* Define to 1 if you have the <editline/readline.h> header file. */
181
+ /* #undef HAVE_EDITLINE_READLINE_H */
182
+
183
+ /* Define to 1 if you have the <execinfo.h> header file. */
184
+ #define HAVE_EXECINFO_H 1
185
+
186
+ /* Define to 1 if you have the `explicit_bzero' function. */
187
+ /* #undef HAVE_EXPLICIT_BZERO */
188
+
189
+ /* Define to 1 if you have the `fdatasync' function. */
190
+ #define HAVE_FDATASYNC 1
191
+
192
+ /* Define to 1 if you have the `fls' function. */
193
+ #define HAVE_FLS 1
194
+
195
+ /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
196
+ #define HAVE_FSEEKO 1
197
+
198
+ /* Define to 1 if your compiler understands __func__. */
199
+ #define HAVE_FUNCNAME__FUNC 1
200
+
201
+ /* Define to 1 if your compiler understands __FUNCTION__. */
202
+ /* #undef HAVE_FUNCNAME__FUNCTION */
203
+
204
+ /* Define to 1 if you have __atomic_compare_exchange_n(int *, int *, int). */
205
+ #define HAVE_GCC__ATOMIC_INT32_CAS 1
206
+
207
+ /* Define to 1 if you have __atomic_compare_exchange_n(int64 *, int64 *,
208
+ int64). */
209
+ #define HAVE_GCC__ATOMIC_INT64_CAS 1
210
+
211
+ /* Define to 1 if you have __sync_lock_test_and_set(char *) and friends. */
212
+ #define HAVE_GCC__SYNC_CHAR_TAS 1
213
+
214
+ /* Define to 1 if you have __sync_val_compare_and_swap(int *, int, int). */
215
+ #define HAVE_GCC__SYNC_INT32_CAS 1
216
+
217
+ /* Define to 1 if you have __sync_lock_test_and_set(int *) and friends. */
218
+ #define HAVE_GCC__SYNC_INT32_TAS 1
219
+
220
+ /* Define to 1 if you have __sync_val_compare_and_swap(int64 *, int64, int64).
221
+ */
222
+ #define HAVE_GCC__SYNC_INT64_CAS 1
223
+
224
+ /* Define to 1 if you have the `getaddrinfo' function. */
225
+ #define HAVE_GETADDRINFO 1
226
+
227
+ /* Define to 1 if you have the `gethostbyname_r' function. */
228
+ /* #undef HAVE_GETHOSTBYNAME_R */
229
+
230
+ /* Define to 1 if you have the `getifaddrs' function. */
231
+ #define HAVE_GETIFADDRS 1
232
+
233
+ /* Define to 1 if you have the `getopt' function. */
234
+ #define HAVE_GETOPT 1
235
+
236
+ /* Define to 1 if you have the <getopt.h> header file. */
237
+ #define HAVE_GETOPT_H 1
238
+
239
+ /* Define to 1 if you have the `getopt_long' function. */
240
+ #define HAVE_GETOPT_LONG 1
241
+
242
+ /* Define to 1 if you have the `getpeereid' function. */
243
+ #define HAVE_GETPEEREID 1
244
+
245
+ /* Define to 1 if you have the `getpeerucred' function. */
246
+ /* #undef HAVE_GETPEERUCRED */
247
+
248
+ /* Define to 1 if you have the `getpwuid_r' function. */
249
+ #define HAVE_GETPWUID_R 1
250
+
251
+ /* Define to 1 if you have the `getrlimit' function. */
252
+ #define HAVE_GETRLIMIT 1
253
+
254
+ /* Define to 1 if you have the `getrusage' function. */
255
+ #define HAVE_GETRUSAGE 1
256
+
257
+ /* Define to 1 if you have the `gettimeofday' function. */
258
+ /* #undef HAVE_GETTIMEOFDAY */
259
+
260
+ /* Define to 1 if you have the <gssapi/gssapi.h> header file. */
261
+ /* #undef HAVE_GSSAPI_GSSAPI_H */
262
+
263
+ /* Define to 1 if you have the <gssapi.h> header file. */
264
+ /* #undef HAVE_GSSAPI_H */
265
+
266
+ /* Define to 1 if you have the <history.h> header file. */
267
+ /* #undef HAVE_HISTORY_H */
268
+
269
+ /* Define to 1 if you have the `history_truncate_file' function. */
270
+ /* #undef HAVE_HISTORY_TRUNCATE_FILE */
271
+
272
+ /* Define to 1 if you have the <ifaddrs.h> header file. */
273
+ #define HAVE_IFADDRS_H 1
274
+
275
+ /* Define to 1 if you have the `inet_aton' function. */
276
+ #define HAVE_INET_ATON 1
277
+
278
+ /* Define to 1 if the system has the type `int64'. */
279
+ /* #undef HAVE_INT64 */
280
+
281
+ /* Define to 1 if the system has the type `int8'. */
282
+ /* #undef HAVE_INT8 */
283
+
284
+ /* Define to 1 if you have the <inttypes.h> header file. */
285
+ #define HAVE_INTTYPES_H 1
286
+
287
+ /* Define to 1 if you have the global variable 'int opterr'. */
288
+ #define HAVE_INT_OPTERR 1
289
+
290
+ /* Define to 1 if you have the global variable 'int optreset'. */
291
+ #define HAVE_INT_OPTRESET 1
292
+
293
+ /* Define to 1 if you have the global variable 'int timezone'. */
294
+ #define HAVE_INT_TIMEZONE 1
295
+
296
+ /* Define to 1 if you have support for IPv6. */
297
+ #define HAVE_IPV6 1
298
+
299
+ /* Define to 1 if __builtin_constant_p(x) implies "i"(x) acceptance. */
300
+ /* #undef HAVE_I_CONSTRAINT__BUILTIN_CONSTANT_P */
301
+
302
+ /* Define to 1 if you have the `kqueue' function. */
303
+ #define HAVE_KQUEUE 1
304
+
305
+ /* Define to 1 if you have the <langinfo.h> header file. */
306
+ #define HAVE_LANGINFO_H 1
307
+
308
+ /* Define to 1 if you have the <ldap.h> header file. */
309
+ /* #undef HAVE_LDAP_H */
310
+
311
+ /* Define to 1 if you have the `ldap_initialize' function. */
312
+ /* #undef HAVE_LDAP_INITIALIZE */
313
+
314
+ /* Define to 1 if you have the `crypto' library (-lcrypto). */
315
+ /* #undef HAVE_LIBCRYPTO */
316
+
317
+ /* Define to 1 if you have the `ldap' library (-lldap). */
318
+ /* #undef HAVE_LIBLDAP */
319
+
320
+ /* Define to 1 if you have the `ldap_r' library (-lldap_r). */
321
+ /* #undef HAVE_LIBLDAP_R */
322
+
323
+ /* Define to 1 if you have the `m' library (-lm). */
324
+ #define HAVE_LIBM 1
325
+
326
+ /* Define to 1 if you have the `pam' library (-lpam). */
327
+ /* #undef HAVE_LIBPAM */
328
+
329
+ /* Define if you have a function readline library */
330
+ /* #undef HAVE_LIBREADLINE */
331
+
332
+ /* Define to 1 if you have the `selinux' library (-lselinux). */
333
+ /* #undef HAVE_LIBSELINUX */
334
+
335
+ /* Define to 1 if you have the `ssl' library (-lssl). */
336
+ /* #undef HAVE_LIBSSL */
337
+
338
+ /* Define to 1 if you have the `wldap32' library (-lwldap32). */
339
+ /* #undef HAVE_LIBWLDAP32 */
340
+
341
+ /* Define to 1 if you have the `xml2' library (-lxml2). */
342
+ /* #undef HAVE_LIBXML2 */
343
+
344
+ /* Define to 1 if you have the `xslt' library (-lxslt). */
345
+ /* #undef HAVE_LIBXSLT */
346
+
347
+ /* Define to 1 if you have the `z' library (-lz). */
348
+ /* #undef HAVE_LIBZ */
349
+
350
+ /* Define to 1 if you have the `link' function. */
351
+ #define HAVE_LINK 1
352
+
353
+ /* Define to 1 if the system has the type `locale_t'. */
354
+ #define HAVE_LOCALE_T 1
355
+
356
+ /* Define to 1 if `long int' works and is 64 bits. */
357
+ #define HAVE_LONG_INT_64 1
358
+
359
+ /* Define to 1 if `long long int' works and is 64 bits. */
360
+ /* #undef HAVE_LONG_LONG_INT_64 */
361
+
362
+ /* Define to 1 if you have the <mbarrier.h> header file. */
363
+ /* #undef HAVE_MBARRIER_H */
364
+
365
+ /* Define to 1 if you have the `mbstowcs_l' function. */
366
+ #define HAVE_MBSTOWCS_L 1
367
+
368
+ /* Define to 1 if you have the <memory.h> header file. */
369
+ #define HAVE_MEMORY_H 1
370
+
371
+ /* Define to 1 if you have the `memset_s' function. */
372
+ #define HAVE_MEMSET_S 1
373
+
374
+ /* Define to 1 if the system has the type `MINIDUMP_TYPE'. */
375
+ /* #undef HAVE_MINIDUMP_TYPE */
376
+
377
+ /* Define to 1 if you have the `mkdtemp' function. */
378
+ #define HAVE_MKDTEMP 1
379
+
380
+ /* Define to 1 if you have the <netinet/tcp.h> header file. */
381
+ #define HAVE_NETINET_TCP_H 1
382
+
383
+ /* Define to 1 if you have the <net/if.h> header file. */
384
+ #define HAVE_NET_IF_H 1
385
+
386
+ /* Define to 1 if you have the `OPENSSL_init_ssl' function. */
387
+ /* #undef HAVE_OPENSSL_INIT_SSL */
388
+
389
+ /* Define to 1 if you have the <ossp/uuid.h> header file. */
390
+ /* #undef HAVE_OSSP_UUID_H */
391
+
392
+ /* Define to 1 if you have the <pam/pam_appl.h> header file. */
393
+ /* #undef HAVE_PAM_PAM_APPL_H */
394
+
395
+ /* Define to 1 if you have the `poll' function. */
396
+ #define HAVE_POLL 1
397
+
398
+ /* Define to 1 if you have the <poll.h> header file. */
399
+ #define HAVE_POLL_H 1
400
+
401
+ /* Define to 1 if you have the `posix_fadvise' function. */
402
+ /* #undef HAVE_POSIX_FADVISE */
403
+
404
+ /* Define to 1 if you have the `posix_fallocate' function. */
405
+ /* #undef HAVE_POSIX_FALLOCATE */
406
+
407
+ /* Define to 1 if the assembler supports PPC's LWARX mutex hint bit. */
408
+ /* #undef HAVE_PPC_LWARX_MUTEX_HINT */
409
+
410
+ /* Define to 1 if you have the `ppoll' function. */
411
+ /* #undef HAVE_PPOLL */
412
+
413
+ /* Define to 1 if you have the `pread' function. */
414
+ #define HAVE_PREAD 1
415
+
416
+ /* Define to 1 if you have the `pstat' function. */
417
+ /* #undef HAVE_PSTAT */
418
+
419
+ /* Define to 1 if the PS_STRINGS thing exists. */
420
+ /* #undef HAVE_PS_STRINGS */
421
+
422
+ /* Define if you have POSIX threads libraries and header files. */
423
+ #define HAVE_PTHREAD 1
424
+
425
+ /* Define to 1 if you have the `pthread_is_threaded_np' function. */
426
+ #define HAVE_PTHREAD_IS_THREADED_NP 1
427
+
428
+ /* Have PTHREAD_PRIO_INHERIT. */
429
+ #define HAVE_PTHREAD_PRIO_INHERIT 1
430
+
431
+ /* Define to 1 if you have the `pwrite' function. */
432
+ #define HAVE_PWRITE 1
433
+
434
+ /* Define to 1 if you have the `random' function. */
435
+ #define HAVE_RANDOM 1
436
+
437
+ /* Define to 1 if you have the <readline.h> header file. */
438
+ /* #undef HAVE_READLINE_H */
439
+
440
+ /* Define to 1 if you have the <readline/history.h> header file. */
441
+ /* #undef HAVE_READLINE_HISTORY_H */
442
+
443
+ /* Define to 1 if you have the <readline/readline.h> header file. */
444
+ /* #undef HAVE_READLINE_READLINE_H */
445
+
446
+ /* Define to 1 if you have the `readlink' function. */
447
+ #define HAVE_READLINK 1
448
+
449
+ /* Define to 1 if you have the global variable
450
+ 'rl_completion_append_character'. */
451
+ /* #undef HAVE_RL_COMPLETION_APPEND_CHARACTER */
452
+
453
+ /* Define to 1 if you have the `rl_completion_matches' function. */
454
+ /* #undef HAVE_RL_COMPLETION_MATCHES */
455
+
456
+ /* Define to 1 if you have the global variable 'rl_completion_suppress_quote'.
457
+ */
458
+ /* #undef HAVE_RL_COMPLETION_SUPPRESS_QUOTE */
459
+
460
+ /* Define to 1 if you have the `rl_filename_completion_function' function. */
461
+ /* #undef HAVE_RL_FILENAME_COMPLETION_FUNCTION */
462
+
463
+ /* Define to 1 if you have the global variable 'rl_filename_quote_characters'.
464
+ */
465
+ /* #undef HAVE_RL_FILENAME_QUOTE_CHARACTERS */
466
+
467
+ /* Define to 1 if you have the global variable 'rl_filename_quoting_function'.
468
+ */
469
+ /* #undef HAVE_RL_FILENAME_QUOTING_FUNCTION */
470
+
471
+ /* Define to 1 if you have the `rl_reset_screen_size' function. */
472
+ /* #undef HAVE_RL_RESET_SCREEN_SIZE */
473
+
474
+ /* Define to 1 if you have the <security/pam_appl.h> header file. */
475
+ /* #undef HAVE_SECURITY_PAM_APPL_H */
476
+
477
+ /* Define to 1 if you have the `setproctitle' function. */
478
+ /* #undef HAVE_SETPROCTITLE */
479
+
480
+ /* Define to 1 if you have the `setproctitle_fast' function. */
481
+ /* #undef HAVE_SETPROCTITLE_FAST */
482
+
483
+ /* Define to 1 if you have the `setsid' function. */
484
+ #define HAVE_SETSID 1
485
+
486
+ /* Define to 1 if you have the `shm_open' function. */
487
+ #define HAVE_SHM_OPEN 1
488
+
489
+ /* Define to 1 if you have spinlocks. */
490
+ #define HAVE_SPINLOCKS 1
491
+
492
+ /* Define to 1 if you have the `srandom' function. */
493
+ #define HAVE_SRANDOM 1
494
+
495
+ /* Define to 1 if stdbool.h conforms to C99. */
496
+ #define HAVE_STDBOOL_H 1
497
+
498
+ /* Define to 1 if you have the <stdint.h> header file. */
499
+ #define HAVE_STDINT_H 1
500
+
501
+ /* Define to 1 if you have the <stdlib.h> header file. */
502
+ #define HAVE_STDLIB_H 1
503
+
504
+ /* Define to 1 if you have the `strchrnul' function. */
505
+ /* #undef HAVE_STRCHRNUL */
506
+
507
+ /* Define to 1 if you have the `strerror_r' function. */
508
+ #define HAVE_STRERROR_R 1
509
+
510
+ /* Define to 1 if you have the <strings.h> header file. */
511
+ #define HAVE_STRINGS_H 1
512
+
513
+ /* Define to 1 if you have the <string.h> header file. */
514
+ #define HAVE_STRING_H 1
515
+
516
+ /* Define to 1 if you have the `strlcat' function. */
517
+ #define HAVE_STRLCAT 1
518
+
519
+ /* Define to 1 if you have the `strlcpy' function. */
520
+ #define HAVE_STRLCPY 1
521
+
522
+ /* Define to 1 if you have the `strnlen' function. */
523
+ #define HAVE_STRNLEN 1
524
+
525
+ /* Define to 1 if you have the `strsignal' function. */
526
+ #define HAVE_STRSIGNAL 1
527
+
528
+ /* Define to 1 if you have the `strtof' function. */
529
+ #define HAVE_STRTOF 1
530
+
531
+ /* Define to 1 if you have the `strtoll' function. */
532
+ #define HAVE_STRTOLL 1
533
+
534
+ /* Define to 1 if you have the `strtoq' function. */
535
+ /* #undef HAVE_STRTOQ */
536
+
537
+ /* Define to 1 if you have the `strtoull' function. */
538
+ #define HAVE_STRTOULL 1
539
+
540
+ /* Define to 1 if you have the `strtouq' function. */
541
+ /* #undef HAVE_STRTOUQ */
542
+
543
+ /* Define to 1 if the system has the type `struct addrinfo'. */
544
+ #define HAVE_STRUCT_ADDRINFO 1
545
+
546
+ /* Define to 1 if the system has the type `struct cmsgcred'. */
547
+ /* #undef HAVE_STRUCT_CMSGCRED */
548
+
549
+ /* Define to 1 if the system has the type `struct option'. */
550
+ #define HAVE_STRUCT_OPTION 1
551
+
552
+ /* Define to 1 if `sa_len' is a member of `struct sockaddr'. */
553
+ #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
554
+
555
+ /* Define to 1 if the system has the type `struct sockaddr_storage'. */
556
+ #define HAVE_STRUCT_SOCKADDR_STORAGE 1
557
+
558
+ /* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */
559
+ #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
560
+
561
+ /* Define to 1 if `ss_len' is a member of `struct sockaddr_storage'. */
562
+ #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN 1
563
+
564
+ /* Define to 1 if `__ss_family' is a member of `struct sockaddr_storage'. */
565
+ /* #undef HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY */
566
+
567
+ /* Define to 1 if `__ss_len' is a member of `struct sockaddr_storage'. */
568
+ /* #undef HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN */
569
+
570
+ /* Define to 1 if the system has the type `struct sockaddr_un'. */
571
+ #define HAVE_STRUCT_SOCKADDR_UN 1
572
+
573
+ /* Define to 1 if `tm_zone' is a member of `struct tm'. */
574
+ #define HAVE_STRUCT_TM_TM_ZONE 1
575
+
576
+ /* Define to 1 if you have the `symlink' function. */
577
+ #define HAVE_SYMLINK 1
578
+
579
+ /* Define to 1 if you have the `sync_file_range' function. */
580
+ /* #undef HAVE_SYNC_FILE_RANGE */
581
+
582
+ /* Define to 1 if you have the syslog interface. */
583
+ #define HAVE_SYSLOG 1
584
+
585
+ /* Define to 1 if you have the <sys/epoll.h> header file. */
586
+ /* #undef HAVE_SYS_EPOLL_H */
587
+
588
+ /* Define to 1 if you have the <sys/event.h> header file. */
589
+ #define HAVE_SYS_EVENT_H 1
590
+
591
+ /* Define to 1 if you have the <sys/ipc.h> header file. */
592
+ #define HAVE_SYS_IPC_H 1
593
+
594
+ /* Define to 1 if you have the <sys/prctl.h> header file. */
595
+ /* #undef HAVE_SYS_PRCTL_H */
596
+
597
+ /* Define to 1 if you have the <sys/procctl.h> header file. */
598
+ /* #undef HAVE_SYS_PROCCTL_H */
599
+
600
+ /* Define to 1 if you have the <sys/pstat.h> header file. */
601
+ /* #undef HAVE_SYS_PSTAT_H */
602
+
603
+ /* Define to 1 if you have the <sys/resource.h> header file. */
604
+ #define HAVE_SYS_RESOURCE_H 1
605
+
606
+ /* Define to 1 if you have the <sys/select.h> header file. */
607
+ #define HAVE_SYS_SELECT_H 1
608
+
609
+ /* Define to 1 if you have the <sys/sem.h> header file. */
610
+ #define HAVE_SYS_SEM_H 1
611
+
612
+ /* Define to 1 if you have the <sys/shm.h> header file. */
613
+ #define HAVE_SYS_SHM_H 1
614
+
615
+ /* Define to 1 if you have the <sys/sockio.h> header file. */
616
+ #define HAVE_SYS_SOCKIO_H 1
617
+
618
+ /* Define to 1 if you have the <sys/stat.h> header file. */
619
+ #define HAVE_SYS_STAT_H 1
620
+
621
+ /* Define to 1 if you have the <sys/tas.h> header file. */
622
+ /* #undef HAVE_SYS_TAS_H */
623
+
624
+ /* Define to 1 if you have the <sys/types.h> header file. */
625
+ #define HAVE_SYS_TYPES_H 1
626
+
627
+ /* Define to 1 if you have the <sys/ucred.h> header file. */
628
+ #define HAVE_SYS_UCRED_H 1
629
+
630
+ /* Define to 1 if you have the <sys/un.h> header file. */
631
+ #define HAVE_SYS_UN_H 1
632
+
633
+ /* Define to 1 if you have the <termios.h> header file. */
634
+ #define HAVE_TERMIOS_H 1
635
+
636
+ /* Define to 1 if your compiler understands `typeof' or something similar. */
637
+ #define HAVE_TYPEOF 1
638
+
639
+ /* Define to 1 if you have the <ucred.h> header file. */
640
+ /* #undef HAVE_UCRED_H */
641
+
642
+ /* Define to 1 if the system has the type `uint64'. */
643
+ /* #undef HAVE_UINT64 */
644
+
645
+ /* Define to 1 if the system has the type `uint8'. */
646
+ /* #undef HAVE_UINT8 */
647
+
648
+ /* Define to 1 if the system has the type `union semun'. */
649
+ #define HAVE_UNION_SEMUN 1
650
+
651
+ /* Define to 1 if you have the <unistd.h> header file. */
652
+ #define HAVE_UNISTD_H 1
653
+
654
+ /* Define to 1 if you have the `unsetenv' function. */
655
+ #define HAVE_UNSETENV 1
656
+
657
+ /* Define to 1 if you have the `uselocale' function. */
658
+ #define HAVE_USELOCALE 1
659
+
660
+ /* Define to 1 if you have BSD UUID support. */
661
+ /* #undef HAVE_UUID_BSD */
662
+
663
+ /* Define to 1 if you have E2FS UUID support. */
664
+ /* #undef HAVE_UUID_E2FS */
665
+
666
+ /* Define to 1 if you have the <uuid.h> header file. */
667
+ /* #undef HAVE_UUID_H */
668
+
669
+ /* Define to 1 if you have OSSP UUID support. */
670
+ /* #undef HAVE_UUID_OSSP */
671
+
672
+ /* Define to 1 if you have the <uuid/uuid.h> header file. */
673
+ /* #undef HAVE_UUID_UUID_H */
674
+
675
+ /* Define to 1 if you have the `wcstombs_l' function. */
676
+ #define HAVE_WCSTOMBS_L 1
677
+
678
+ /* Define to 1 if you have the <wctype.h> header file. */
679
+ #define HAVE_WCTYPE_H 1
680
+
681
+ /* Define to 1 if you have the <winldap.h> header file. */
682
+ /* #undef HAVE_WINLDAP_H */
683
+
684
+ /* Define to 1 if you have the `X509_get_signature_nid' function. */
685
+ /* #undef HAVE_X509_GET_SIGNATURE_NID */
686
+
687
+ /* Define to 1 if the assembler supports X86_64's POPCNTQ instruction. */
688
+ #define HAVE_X86_64_POPCNTQ 1
689
+
690
+ /* Define to 1 if the system has the type `_Bool'. */
691
+ #define HAVE__BOOL 1
692
+
693
+ /* Define to 1 if your compiler understands __builtin_bswap16. */
694
+ #define HAVE__BUILTIN_BSWAP16 1
695
+
696
+ /* Define to 1 if your compiler understands __builtin_bswap32. */
697
+ #define HAVE__BUILTIN_BSWAP32 1
698
+
699
+ /* Define to 1 if your compiler understands __builtin_bswap64. */
700
+ #define HAVE__BUILTIN_BSWAP64 1
701
+
702
+ /* Define to 1 if your compiler understands __builtin_clz. */
703
+ #define HAVE__BUILTIN_CLZ 1
704
+
705
+ /* Define to 1 if your compiler understands __builtin_constant_p. */
706
+ #define HAVE__BUILTIN_CONSTANT_P 1
707
+
708
+ /* Define to 1 if your compiler understands __builtin_ctz. */
709
+ #define HAVE__BUILTIN_CTZ 1
710
+
711
+ /* Define to 1 if your compiler understands __builtin_$op_overflow. */
712
+ #define HAVE__BUILTIN_OP_OVERFLOW 1
713
+
714
+ /* Define to 1 if your compiler understands __builtin_popcount. */
715
+ #define HAVE__BUILTIN_POPCOUNT 1
716
+
717
+ /* Define to 1 if your compiler understands __builtin_types_compatible_p. */
718
+ #define HAVE__BUILTIN_TYPES_COMPATIBLE_P 1
719
+
720
+ /* Define to 1 if your compiler understands __builtin_unreachable. */
721
+ #define HAVE__BUILTIN_UNREACHABLE 1
722
+
723
+ /* Define to 1 if you have the `_configthreadlocale' function. */
724
+ /* #undef HAVE__CONFIGTHREADLOCALE */
725
+
726
+ /* Define to 1 if you have __cpuid. */
727
+ /* #undef HAVE__CPUID */
728
+
729
+ /* Define to 1 if you have __get_cpuid. */
730
+ #define HAVE__GET_CPUID 1
731
+
732
+ /* Define to 1 if your compiler understands _Static_assert. */
733
+ #define HAVE__STATIC_ASSERT 1
734
+
735
+ /* Define to 1 if you have the `__strtoll' function. */
736
+ /* #undef HAVE___STRTOLL */
737
+
738
+ /* Define to 1 if you have the `__strtoull' function. */
739
+ /* #undef HAVE___STRTOULL */
740
+
741
+ /* Define to the appropriate printf length modifier for 64-bit ints. */
742
+ #define INT64_MODIFIER "l"
743
+
744
+ /* Define to 1 if `locale_t' requires <xlocale.h>. */
745
+ #define LOCALE_T_IN_XLOCALE 1
746
+
747
+ /* Define as the maximum alignment requirement of any C data type. */
748
+ #define MAXIMUM_ALIGNOF 8
749
+
750
+ /* Define bytes to use libc memset(). */
751
+ #define MEMSET_LOOP_LIMIT 1024
752
+
753
+ /* Define to the address where bug reports for this package should be sent. */
754
+ #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
755
+
756
+ /* Define to the full name of this package. */
757
+ #define PACKAGE_NAME "PostgreSQL"
758
+
759
+ /* Define to the full name and version of this package. */
760
+ #define PACKAGE_STRING "PostgreSQL 13.2"
761
+
762
+ /* Define to the one symbol short name of this package. */
763
+ #define PACKAGE_TARNAME "postgresql"
764
+
765
+ /* Define to the home page for this package. */
766
+ #define PACKAGE_URL "https://www.postgresql.org/"
767
+
768
+ /* Define to the version of this package. */
769
+ #define PACKAGE_VERSION "13.2"
770
+
771
+ /* Define to the name of a signed 128-bit integer type. */
772
+ #define PG_INT128_TYPE __int128
773
+
774
+ /* Define to the name of a signed 64-bit integer type. */
775
+ #define PG_INT64_TYPE long int
776
+
777
+ /* Define to the name of the default PostgreSQL service principal in Kerberos
778
+ (GSSAPI). (--with-krb-srvnam=NAME) */
779
+ #define PG_KRB_SRVNAM "postgres"
780
+
781
+ /* PostgreSQL major version as a string */
782
+ #define PG_MAJORVERSION "13"
783
+
784
+ /* PostgreSQL major version number */
785
+ #define PG_MAJORVERSION_NUM 13
786
+
787
+ /* PostgreSQL minor version number */
788
+ #define PG_MINORVERSION_NUM 2
789
+
790
+ /* Define to best printf format archetype, usually gnu_printf if available. */
791
+ #define PG_PRINTF_ATTRIBUTE printf
792
+
793
+ /* Define to 1 to use <stdbool.h> to define type bool. */
794
+ #define PG_USE_STDBOOL 1
795
+
796
+ /* PostgreSQL version as a string */
797
+ #define PG_VERSION "13.2"
798
+
799
+ /* PostgreSQL version as a number */
800
+ #define PG_VERSION_NUM 130002
801
+
802
+ /* A string containing the version number, platform, and C compiler */
803
+ #define PG_VERSION_STR "PostgreSQL 13.2 on x86_64-apple-darwin19.6.0, compiled by Apple clang version 12.0.0 (clang-1200.0.32.29), 64-bit"
804
+
805
+ /* Define to 1 to allow profiling output to be saved separately for each
806
+ process. */
807
+ /* #undef PROFILE_PID_DIR */
808
+
809
+ /* Define to necessary symbol if this constant uses a non-standard name on
810
+ your system. */
811
+ /* #undef PTHREAD_CREATE_JOINABLE */
812
+
813
+ /* RELSEG_SIZE is the maximum number of blocks allowed in one disk file. Thus,
814
+ the maximum size of a single file is RELSEG_SIZE * BLCKSZ; relations bigger
815
+ than that are divided into multiple files. RELSEG_SIZE * BLCKSZ must be
816
+ less than your OS' limit on file size. This is often 2 GB or 4GB in a
817
+ 32-bit operating system, unless you have large file support enabled. By
818
+ default, we make the limit 1 GB to avoid any possible integer-overflow
819
+ problems within the OS. A limit smaller than necessary only means we divide
820
+ a large relation into more chunks than necessary, so it seems best to err
821
+ in the direction of a small limit. A power-of-2 value is recommended to
822
+ save a few cycles in md.c, but is not absolutely required. Changing
823
+ RELSEG_SIZE requires an initdb. */
824
+ #define RELSEG_SIZE 131072
825
+
826
+ /* The size of `bool', as computed by sizeof. */
827
+ #define SIZEOF_BOOL 1
828
+
829
+ /* The size of `long', as computed by sizeof. */
830
+ #define SIZEOF_LONG 8
831
+
832
+ /* The size of `off_t', as computed by sizeof. */
833
+ #define SIZEOF_OFF_T 8
834
+
835
+ /* The size of `size_t', as computed by sizeof. */
836
+ #define SIZEOF_SIZE_T 8
837
+
838
+ /* The size of `void *', as computed by sizeof. */
839
+ #define SIZEOF_VOID_P 8
840
+
841
+ /* Define to 1 if you have the ANSI C header files. */
842
+ #define STDC_HEADERS 1
843
+
844
+ /* Define to 1 if strerror_r() returns int. */
845
+ #define STRERROR_R_INT 1
846
+
847
+ /* Define to 1 to use ARMv8 CRC Extension. */
848
+ /* #undef USE_ARMV8_CRC32C */
849
+
850
+ /* Define to 1 to use ARMv8 CRC Extension with a runtime check. */
851
+ /* #undef USE_ARMV8_CRC32C_WITH_RUNTIME_CHECK */
852
+
853
+ /* Define to 1 to build with assertion checks. (--enable-cassert) */
854
+ /* #undef USE_ASSERT_CHECKING */
855
+
856
+ /* Define to 1 to build with Bonjour support. (--with-bonjour) */
857
+ /* #undef USE_BONJOUR */
858
+
859
+ /* Define to 1 to build with BSD Authentication support. (--with-bsd-auth) */
860
+ /* #undef USE_BSD_AUTH */
861
+
862
+ /* Define to use /dev/urandom for random number generation */
863
+ #define USE_DEV_URANDOM 1
864
+
865
+ /* Define to build with ICU support. (--with-icu) */
866
+ /* #undef USE_ICU */
867
+
868
+ /* Define to 1 to build with LDAP support. (--with-ldap) */
869
+ /* #undef USE_LDAP */
870
+
871
+ /* Define to 1 to build with XML support. (--with-libxml) */
872
+ /* #undef USE_LIBXML */
873
+
874
+ /* Define to 1 to use XSLT support when building contrib/xml2.
875
+ (--with-libxslt) */
876
+ /* #undef USE_LIBXSLT */
877
+
878
+ /* Define to 1 to build with LLVM based JIT support. (--with-llvm) */
879
+ /* #undef USE_LLVM */
880
+
881
+ /* Define to select named POSIX semaphores. */
882
+ /* #undef USE_NAMED_POSIX_SEMAPHORES */
883
+
884
+ /* Define to build with OpenSSL support. (--with-openssl) */
885
+ /* #undef USE_OPENSSL */
886
+
887
+ /* Define to use OpenSSL for random number generation */
888
+ /* #undef USE_OPENSSL_RANDOM */
889
+
890
+ /* Define to 1 to build with PAM support. (--with-pam) */
891
+ /* #undef USE_PAM */
892
+
893
+ /* Define to 1 to use software CRC-32C implementation (slicing-by-8). */
894
+ /* #undef USE_SLICING_BY_8_CRC32C */
895
+
896
+ /* Define to 1 use Intel SSE 4.2 CRC instructions. */
897
+ /* #undef USE_SSE42_CRC32C */
898
+
899
+ /* Define to 1 to use Intel SSE 4.2 CRC instructions with a runtime check. */
900
+ #define USE_SSE42_CRC32C_WITH_RUNTIME_CHECK 1
901
+
902
+ /* Define to build with systemd support. (--with-systemd) */
903
+ /* #undef USE_SYSTEMD */
904
+
905
+ /* Define to select SysV-style semaphores. */
906
+ #define USE_SYSV_SEMAPHORES 1
907
+
908
+ /* Define to select SysV-style shared memory. */
909
+ #define USE_SYSV_SHARED_MEMORY 1
910
+
911
+ /* Define to select unnamed POSIX semaphores. */
912
+ /* #undef USE_UNNAMED_POSIX_SEMAPHORES */
913
+
914
+ /* Define to use native Windows API for random number generation */
915
+ /* #undef USE_WIN32_RANDOM */
916
+
917
+ /* Define to select Win32-style semaphores. */
918
+ /* #undef USE_WIN32_SEMAPHORES */
919
+
920
+ /* Define to select Win32-style shared memory. */
921
+ /* #undef USE_WIN32_SHARED_MEMORY */
922
+
923
+ /* Define to 1 if `wcstombs_l' requires <xlocale.h>. */
924
+ #define WCSTOMBS_L_IN_XLOCALE 1
925
+
926
+ /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
927
+ significant byte first (like Motorola and SPARC, unlike Intel). */
928
+ #if defined AC_APPLE_UNIVERSAL_BUILD
929
+ # if defined __BIG_ENDIAN__
930
+ # define WORDS_BIGENDIAN 1
931
+ # endif
932
+ #else
933
+ # ifndef WORDS_BIGENDIAN
934
+ /* # undef WORDS_BIGENDIAN */
935
+ # endif
936
+ #endif
937
+
938
+ /* Size of a WAL file block. This need have no particular relation to BLCKSZ.
939
+ XLOG_BLCKSZ must be a power of 2, and if your system supports O_DIRECT I/O,
940
+ XLOG_BLCKSZ must be a multiple of the alignment requirement for direct-I/O
941
+ buffers, else direct I/O may fail. Changing XLOG_BLCKSZ requires an initdb.
942
+ */
943
+ #define XLOG_BLCKSZ 8192
944
+
945
+
946
+
947
+ /* Number of bits in a file offset, on hosts where this is settable. */
948
+ /* #undef _FILE_OFFSET_BITS */
949
+
950
+ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
951
+ /* #undef _LARGEFILE_SOURCE */
952
+
953
+ /* Define for large files, on AIX-style hosts. */
954
+ /* #undef _LARGE_FILES */
955
+
956
+ /* Define to `__inline__' or `__inline' if that's what the C compiler
957
+ calls it, or to nothing if 'inline' is not supported under any name. */
958
+ #ifndef __cplusplus
959
+ /* #undef inline */
960
+ #endif
961
+
962
+ /* Define to keyword to use for C99 restrict support, or to nothing if not
963
+ supported */
964
+ #define pg_restrict __restrict
965
+
966
+ /* Define to the equivalent of the C99 'restrict' keyword, or to
967
+ nothing if this is not supported. Do not define if restrict is
968
+ supported directly. */
969
+ #define restrict __restrict
970
+ /* Work around a bug in Sun C++: it does not support _Restrict or
971
+ __restrict__, even though the corresponding Sun C compiler ends up with
972
+ "#define restrict _Restrict" or "#define restrict __restrict__" in the
973
+ previous line. Perhaps some future version of Sun C++ will work with
974
+ restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
975
+ #if defined __SUNPRO_CC && !defined __RESTRICT
976
+ # define _Restrict
977
+ # define __restrict__
978
+ #endif
979
+
980
+ /* Define to how the compiler spells `typeof'. */
981
+ /* #undef typeof */
982
+ #undef HAVE_LOCALE_T
983
+ #undef LOCALE_T_IN_XLOCALE
984
+ #undef WCSTOMBS_L_IN_XLOCALE
985
+ #undef PG_INT128_TYPE
986
+ #undef HAVE__STATIC_ASSERT
987
+ #undef HAVE_EXECINFO_H
988
+ #undef HAVE_BACKTRACE_SYMBOLS