7¤0ìã�z9+8|¤dPòÑI^~_3bü¥®Ã‚±wswGÆ%YÄª›êàTì¿¨>  Èy<&Íä€ ž¢§"y(ÉaEQ”1b!!chHF$   t'Ê¦™B†                  onCacheInvalidate(bool debug_discard);

#ifdef USE_ASSERT_CHECKING
extern void AssertPendingSyncs_RelationCache(void);
#else
#define AssertPendingSyncs_RelationCache() do {} while (0)
#endif
extern void AtEOXact_RelationCache(bool isCommit);
extern void AtEOSubXact_RelationCache(bool isCommit, SubTransactionId mySubid,
									  SubTransactionId parentSubid);

/*
 * Routines to help manage rebuilding of relcache init files
 */
extern bool RelationIdIsInInitFile(Oid relationId);
extern void RelationCacheInitFilePreInvalidate(void);
extern void RelationCacheInitFilePostInvalidate(void);
extern void RelationCacheInitFileRemove(void);

/* should be used only by relcache.c and catcache.c */
extern PGDLLIMPORT bool criticalRelcachesBuilt;

/* should be used only by relcache.c and postinit.c */
extern PGDLLIMPORT bool criticalSharedRelcachesBuilt;

#endif							/* RELCACHE_H */
/*-------------------------------------------------------------------------
 *
 * pg_foreign_data_wrapper_d.h
 *    Macro definitions for p:ã�B¥zqrræì„qÙqt¤qŒÅ æÆzÛ õÚ¨*)˜(¥«+”Ô¨–f†'¨“ñÓb`Àd”�ÌŒÈl’Æ£@08$ Ñsaõ@GLìt!MbB3DˆH’¤Fš;ƒC»à&OþÏŽÇ²O¥:düýSòŸWÁÊ?³$-.²YÞÞVpëû ìf5@Spçw>qü"Qh2Ò=uBÞR8~¤öÜwHsá´[¤]."þDÈÎ!ÑÿjðÕ[=…èÍû¶qhž¸NWy'q_c¹? 2UWÀ V bÈ.A$�CÝµÜÒÔs�·d)áB´£
—eV´·%-Ø)YÅ%¢È—B$ýÍŒ4ý}¾zøÍ§7ÊF¡d45Z]Óx†Ò°É™ŠŽö¼1'-L<ÿz—£ót¦3_ø¨ú$Zû��š£¤š±@‘Ô³0-‰FqQyxž-†·dº½Ý[gsÐôI:¦l9nŒ¼§úø\´®Gsª�ôy°èœíÂMöXè7\A($.\2´ðå?Ë<‚9� ÝöN†ådÖ:£ðýUôÈ%SÊ¿{Ð«W;©«ìêòä6=ú¥Ê6Äçid9ˆ ¨©�Z q,¬ßt‘öë9þéüƒN&â_‡kTã=Üj^{©³¯‡²1Gµs‹ÄÊ<N7ý`?y8NˆXhšÔ‰ð&”Ë…ö[ño®æx5€œCËw¤å"®—Y™Yð»X<Ø�sâqÚE¡§L_€£µÐ½å¬õÒköî@�³¡�£‘Uú² "i%Jà‹ìûãlÆ*rf©5/†ò”(^(ÁØ|;±É�—' <®Jåà3îÓAµ�2¨ôMï2Wv‚Ó¿y·š%'õ(T³¤Mj¬> fÜã^L3ÑN~ùø¼ì7ã->ëPDë.°Ï•JÈ+hV‚ÃÅ_GÔK—a5H±ö}Ž–a¸�ßHœ•µ{`¨ýJ04€öU&cÈyíóXÅ9�J~oõKLÞ�ø»#¯ÇäKÀ£¬ðêV”ùúe•j Àíj…OagÙY�>¦gs|¦‡j*ÔìÊÆÖÕ½ƒì6ÒïŽ&®·§O#?¥á?¤æ7¸u«Îº«:}ãþ•=CµÊ�Õ#Õê]xo}Z­Út#ë#é,¦ˆ@Î›wç³!�Å\˜‹ë“4é %·ŸNò^U†->íq:ÆG˜ÒØ"ýš^:lùbw	Ûi×¬cD·Ý¡ˆ#þAíÊ;®¸«>¯aB2¡©¦%Æ"!(µ¸¾t™2‡–BòÂ]Îè¤lŒ¤’ažc‡¹ÿÍ:ýµÝååypes.  The
 * "default" operators for a particular opclass within the family are those
 * with amoplefttype = amoprighttype = opclass's opcintype.  An opfamily may
 * also contain other operators, typically cross-data-type operators.  All the
 * operators within a family are supposed to be compatible, in a way that is
 * defined by each individual index AM.
 *
 * We also keep a unique index on <amopopr, amoppurpose, amopfamily>, so that
 * we can use a syscache to quickly answer questions of the form "is this
 * operator in this opfamily, and if so what are its semantics with respect to
 * the family?"  This implies that the same operator cannot be listed for
 * multiple strategy numbers within a single opfamily, with the exception that
 * it's possible to list it for both search and ordering purposes (with
 * different strategy numbers for the two purposes).
 *
 * amopmethod is a copy of the owning opfamily's opfmethod field.  This is an
 * intentional denormalization of the catalogs to buy lookup speed.
 *
CAST_D_H
#define PG_CAST_D_H

#define CastRelationId 2605
#define CastOidIndexId 2660
#define CastSourceTargetIndexId 2661

#define Anum_pg_cast_oid 1
#define Anum_pg_cast_castsource 2
#define Anum_pg_cast_casttarget 3
#define Anum_pg_cast_castfunc 4
#define Anum_pg_cast_castcontext 5
#define Anum_pg_cast_castmethod 6

#define Natts_pg_cast 6


/*
 * The allowable values for pg_cast.castcontext are specified by this enum.
 * Since castcontext is stored as a "char", we use ASCII codes for human
 * convenience in reading the table.  Note that internally to the backend,
 * these values are converted to the CoercionContext enum (see primnodes.h),
 * which is defined to sort in a convenient order; the ASCII codes don't
 * have to sort in any special order.
 */

typedef enum CoercionCodes
{
	COERCION_CODE_IMPLICIT = 'i',	/* coercion in context of expression */
	COERCION_CODE_ASSIGNMENT = 'a', /* coercion in context of assignment */
	COERCION_CODE_EXPLICIT = 'e',	/* explicit cast operation */
}			CoercionCodes;

/*
/*
 * List of command tags.  The entries must be sorted alphabetically on their
 * textual name, so that we can bsearch on it; see GetCommandTagEnum().
 */

/* symbol name, textual name, event_trigger_ok, table_rewrite_ok, rowcount */
PG_CMDTAG(CMDTAG_UNKNOWN, "???", false, false, false)
PG_CMDTAG(CMDTAG_ALTER_ACCESS_METHOD, "ALTER ACCESS METHOD", true, false, false)
PG_CMDTAG(CMDTAG_ALTER_AGGREGATE, "ALTER AGGREGATE", true, false, false)
PG_CMDTAG(CMDTAG_ALTER_CAST, "ALTER CAST", true, false, false)
PG_CMDTAG(CMDTAG_ALTER_COLLATION, "ALTER COLLATION", true, false, false)
PG_CMDTAG(CMDTAG_ALTER_CONSTRAINT, "ALTER CONSTRAINT", true, false, false)
PG_CMDTAG(CMDTAG_ALTER_CONVERSION, "ALTER CONVERSION", true, false, false)
PG_CMDTAG(CMDTAG_ALTER_DATABASE, "ALTER DATABASE", false, false, false)
PG_CMDTAG(CMDTAG_ALTER_DEFAULT_PRIVILEGES, "ALTER DEFAULT PRIVILEGES", true, false, false)
PG_CMDTAG(CMDTAG_ALTER_DOMAIN, "ALTER DOMAIN", true, false, false)
PG_CMDTAG(CMDTAG_ALTER_EVENT_TRIGGER, "ALTER EVENT TRIGGER", fals WARRANTIES OF MERCHANTABILITY
 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
 * HENRY SPENCER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 * src/include/regex/regcustom.h
 */

/* headers if any */

/*
 * It's against Postgres coding conventions to include postgres.h in a
 * header file, but we allow the violation here because the regexp library
 * files specifically intend this file to supply application-dependent
 * headers, and are careful to include this file before anything else.
 */
#include "postgres.h"

#include <ctype.h>
#include <limits.h>
#int, ...)
 * behaves identically to ereport(ERROR, ...).  If context is a pointer
 * to an ErrorSaveContext node, then the information provided by the
 * auxiliary calls is stored in the context node and control returns
 * normally.  The caller of errsave() must then do any required cleanup
 * and return control back to its caller.  That caller must check the
 * ErrorSaveContext node to see whether an error occurred before
 * it can trust the function's result to be meaningful.
 *
 * errsave_domain() allows a message domain to be specified; it is
 * precisely analogous to ereport_domain().
 *----------
 */
#define errsave_domain(context, domain, ...)	\
	do { \
		struct Node *context_ = (context); \
		pg_prevent_errno_in_scope(); \
		if (errsave_start(context_, domain)) \
			__VA_ARGS__, errsave_finish(context_, __FILE__, __LINE__, __func__); \
	} while(0)

#define errsave(context, ...)	\
	errsave_domain(context, TEXTDOMAIN, __VA_ARGS__)

/*
 * "ereturn(context, dummy_value, ...);" is exactly the same as
 * "errs desired freespace per page in bytes.
 */
#define RelationGetTargetPageFreeSpace(relation, defaultff) \
	(BLCKSZ * (100 - RelationGetFillFactor(relation, defaultff)) / 100)

/*
 * RelationIsUsedAsCatalogTable
 *		Returns whether the relation should be treated as a catalog table
 *		from the pov of logical decoding.  Note multiple eval of argument!
 */
#define RelationIsUsedAsCatalogTable(relation)	\
	((relation)->rd_options && \
	 ((relation)->rd_rel->relkind == RELKIND_RELATION || \
	  (relation)->rd_rel->relkind == RELKIND_MATVIEW) ? \
	 ((StdRdOptions *) (relation)->rd_options)->user_catalog_table : false)

/*
 * RelationGetParallelWorkers
 *		Returns the relation's parallel_workers reloption setting.
 *		Note multiple eval of argument!
 */
#define RelationGetParallelWorkers(relation, defaultpw) \
	((relation)->rd_options ? \
	 ((StdRdOptions *) (relation)->rd_options)->parallel_workers : (defaultpw))

/* ViewOptions->check_option values */
typedef enum ViewOptCheckOption
{
	VIEW_OPTION_CHECK_OPTION_NOT_SÏ(ÌBÖD¨9•©r²aÅšN¢ˆál4
"¶#2‡ýƒ¶ˆ¾Ãþ© Ã¼æƒÛÀnð–æ0ØùÜ'úL:ëÖs*ëØ4}5Òõûœ­–ë–E(µ/ý`Ðu FìžIÀQ:pVWß~ìØÛšRrhTâ ÅMñó+EÍ`Ð�ë©âÍ´>kÃ‹H5ˆÄòÊ".€ÈÜ¤åÌõÀDàµs‘¿7‘;É† … � |Þ…ÜNd³>1@§ÒÒ½<__™23ÈƒÜ˜•àˆ|Pg’!ž.÷^âØWð+ûÚA~»ÉV°é�¯sÓ}«üLÑ™-n?cC
•”‰â~\ÔÏ`c¦Ì�Ái9™9
xæ‰©ƒ©
sç
² ÝwÊcš ¬pïeª3ÏsxfÁÌ4˜i�½‚mùu1ÛlØ÷Ý�¯¨ÈÊN÷0O‡ö¼ýƒ¹R^½ÈŸ:Ñ�úÑùô!X)ÛS® eð”»)Óà¤¿ÑãÞ0a~÷W“pÜè?ºñ{÷ñ‰ÄJ¡Ž�jw:Yº÷‚`6²ýæ|bz’ ,Ý‹Dæ•;„´H‰nŠœClWÝÛÛ�$Ã)Í¼áLlá½—I5JØ×ùá¡ã¢¢¨>Ò•xïÍ}GæÈ­‘~WÊñ;au‰bs,Ø«(EWvº‡ùGFä`› \Ÿ_zF„jw;¸Ñ»ôz^^Ð>uº×'£(€³’=Ò{®p63Œ~Gû@�Œ_®Á4á‰†4Õ¨fQÒïV]<oFZÌ%ÆhÄ±F¤•5˜ˆ \€@Œ‘.šŒÅùAŒ`e6±ÑƒëD{ÕÊqfÇÚ‹FDµ™‘9$F·ÄHWYŽ3Œl¥8FÂ`d‹Õš•,	&@�y…(ÇÙ­$e,ÚcÝàÈX6/W­†�™y÷`¯úG;TÔ“*	‡�•¹m f¶M›ÛÜ;ÃÂ�Îª-D}šj/ `"2–<Ä˜Ö/û¼À»w&D�´¤ð1¬«Ò1Ùð,Â½¬M+k°*PEï:íµ°©%ê‹1– H;K4I¥Ív¸‡&í$1kE{¨R•‚€�§¾×…Ø¥L„ á¾KÉÃu`©Â²$„µ(µ/ý`Ã ÆìŸG°Q:\)«Â)*†yÔ.Š(íßŠ�{†yöÈ¢¼Ÿ¸MüohåÇò-ü!ÉhŽãK;ë?°™ž±ÿôãÓÙ!{o¹e
� ‚ � GGª|˜óg3ÙážÍö xØðræÞ^êB®ïñË5ä–ëÿ«,ìü€§É™ 6¸ìf¨¹·§jßød
A[iÏÛ™Ÿ¸ˆ9‡eÉÒ� 6í9L�†ÅÕ”;6ˆ/áù”û`Ò…ÜFJ¸K&o¯^Q»WVâƒM/^þ×¾�ï×£¾<ßOoGó�¨‡÷aƒÏoˆgÇû°àŸž�Oo§Û	é h  §'hˆ'´ãêé|¼Ý�ÎCˆ_ÝÛÄúµ²¬å\Þrþ±(JcÎFåŠ-�Žª-‰ó›õÀ™8åˆv%Æ´#›Úñþ¢×:€±(J4ç4ûd›fåªð�Ü¶X,fÉÍÈ"Ybf‚“11F¦&fi0G’¯“–[î‹—Ü>heÃ%¸á¶|¨AX…T3M�‚$I:@£i�(!SÐ(Ha:›=�þñ-æŒ›-*ˆ“ŒJ¾¼&×àß37?©�v"æ³s¦§úÑì1"Ààk,öµMPqˆÂ\†«ë@Bm€uêé—{YGïDNëº[‰?çtð»T!ó4´é òHI6ûå2©zO(Ù‰š¸K/Ô€tHŒø×Xx»„âeðhTR­×jŸ¡wT¸`(`Q±"¯"ÂÞôv?ˆ	+qË‰HÉ"ÆÓŒ6F(µ/ý` †ßnGà°*@#|H‡ñ]C(†€ýÈw‹R"Ç…Ð|åz´„¾jïÚ‰ì{=�ÛnäT#D‡Àˆù‡¢9Îîù>·Y²‰”)W X Y  œÎœ¶ïÒ<—¶yì«hÙ5�EÄhÛOq—]£3YlAL-ƒ�9gÈ¥Çx—Ý;¼Ëe¹ë«�ËWXìõ}îlLÀb® wÝÈœÓÙ-o[Ä6[K+vGÝñÔÞq¿<Ìßyê½Ë¯Rý�ªˆÜÌ™“s3gR†„ý\ËþØ.ûãN�»•t·omÀÍà<X=Ì‹É¾˜œcÎÛ�ªwi½…5À6GŒVµ¿â,\oayc°Tn·»þzë�ae¶ÁÓ„vè3"Ïœ3Á#ŸÆò.wÈ<æ.V>Í%Q¯áÒ½ËïOPœ qa9´°Ý¢áA™ãœÍ�ËçÞáaÆÍkÇÝÚv»â?…&…Æ¦�´ªÕÉ$’ª
¡Ê$‚ƒ ¨ðD
I"”V©’€ ›ÄRI?•ú€ )@¢�
Q!UJ<}ªÐô…F§oI´’ð°5Æsç¸• éÇ;Âvgu?Èø‰G^;îÖl{ÃF¤€@. À!«y™¹wØIcØ-eQ4´‚¥e¤–²Z[2Ë¼9Ïè8Øt³2(få&¯/F³ð^0Ýå@ß†¢	úŒ7³H)´DF7S¤SdÉûd]¯rÁû{Á#,SÍ?AŒ(µ/ý`�U
 V�>9@Å(AYW(]öhÿ	%!qþ–¼5]+:}ŠÌ¡q–=¸X®³¤TÐ»•b^·“Q·Â[¯@#ZgÆamRý-mÃÈÂ¡ÜJˆ0lKh ùaAâ¸¢<n… CG7—ìŠW.(µ/ý`+M ¶ª—GÀUc(úT¶¡å!,RAC¤…“%ó&CmM›ªˆ|í'?ÚúF�÷ŒæBÉH8æ5Ä2gšŠŸê|·Ý{K™R€ z Š +s,2î:X!’ží·Ò Ä{ïÉÌ“¦±‘(o22„;r^íHz_‰ò&“C¨ƒx¯ïdó¤}Ÿ)OšPžtjgù »‚z5.÷Þ+ôô£­©?:(ýàz>ÀénoªáNÜtï½’W8µŽî½®?¸ÜMÞ6Ží™mQ44î½NÚ,W½Íu�!
«³¯§Úž?^ëÃ~‘¿tàMºïp"ÿèC?IVW³ú3d$º;ÙÝ[,ï�æ8Ñÿû�·öäEWb’m Ï/Š›Ì ÞiÉ“¤ÿÁÌžÛ[…ˆ÷ÞXæÉß˜›é‰dæ‚±‰÷kN:NÅÆ�„ÒÆ¹	/5~NiOx”’�»-Åb±øYiS8”™ù$D<åÉ—ÅÝ›«Öö,+«EÄÊ	»Â'zµ7Ò…ƒ@}ðG.˜ÿ=ƒ†zÉšìorÒøLZ(à(Qž¼ÕÈÂŽ¬íáE4rd/ÈÇæS\U’öÁ/Y a³w^$"44öZÅÐ”I[±,ˆ—ìÔ![©Ò%{±ÐSg„ž1”êl¡f
CS¤U6«V
ÓY¡¬VêÅ¯Óå:U'
;-°apSÓâ�­Ð�ìqŠ­^§Öˆˆ–Yê¤À¶ï~¼õqãÊÐÇº°soŒÿÝ%-C6çµdG–díôG
äo´=¥ýàU Ô>åv;  ‘1+*`¬=Ä°�`ÓXh…\ÀAœ/|ÙÚ.ÖgÎ!òÛ‰˜N.óÐÛRv•¹oÒ®ð–ÜÙ0§ÁYÞÈÆøM3ÐV�äJnxmØnD¹YRÏ¦ŒãÀ;© –&Â8à0ÜÓD`KW…�€{btEqÜ{X€-ßÜÀ’··m/(µ/ý`De fç‹Iàð¨1ðpªÐ# �ÇÙ	T8?âÎÐ¼jÞ‹µ¼öx¥^næ‘E9„5 íLŽ˜¹„ð¿æ.¶àÚi`�˜‡áé”tm²å–2¥t q y ÷–^!oMDW¤™"DN�Jï£ùÈ½L% îõ•~@ÞÚö�~t3ÄD�·£h‡Ç½¾û^2Þ’'oëÑq+Åùþl±ÐÙÕ\üØõ^Oâó$4±»9¡‰Owv5Ÿ(µ/ý`Y• &ÛaFð°(x9gµ¸/²÷û¹oP©ýfo�rÞx›Æäâ¦zê
Fú-þu}F“3°æÄÄ©=G;Ä&t£Pœ‡Ä�M¤L)J J Q z–Ð=:ü î±» îÑ(»†…ÖN¸“Ñ±»#;ê›&Ê¿ì +ÖË7ë!ì€‘ãìÀ‚¹†8qÙS†¥ÊÜ"ì®sÅïxÛlW°/ÝîñÊÝÀ^:)¾¤ÂümµÆ¾ÍÏ=ü£¦UÓ©éäŒøšÝZ�¶´¨CÂöØN–ƒìæÄZPxÚ�=ê¡ç!Ä
‡�ª-/\d0¡RÐœÚnùŒ¥ÀÌî6°C_qòÈÍ„ÄÌ^%R
jMFœÍ#í‘J~ƒ£•¶| Q…Ùz5 ££l›Ž“ê@„½rÞév—�sº%'y>“Í’ç3ÁPòˆB$�RRFïS2y
DŒ @Q1}%ÐÉ4"y§Oä�NH^	Jh…ÄK`;Ü»PÐRêr€¼Fµ?Pº^´mY•…w¾Êqà× »Œ[lnd#\ÚXô³˜ .0„Á^Àÿq1’eÅOW7>½µE³¦¢bÂj��¨h…¡A¸ ¬€k™• ö(µ/ý`O =	 æP@<0Å*€ËBÜ,U'W£Ìë×A`%Ã`Çv‚FÕÚ6=C“”0)HZí´0Ê>U1¥©	„�½S
, . / ¯ »ãzî[÷îÛ„]¼ý‹ü¯Õ
u©Aì®¥j5Þó¶lOØŽ—šl9Ï²;›ÉV¶Å>lŸì ÛR¾šN°k e·RGtßlû!‡�,
°8FŠX{m§kNŽ•š	/ikwlÒI0ºÝuÉ(´<¾ù¦)¡’š£+JÎ—¯íty¾>¡n4—Ð7¥�÷ádüy< �~!e¸4`:"0¤‰@!�ª±iE‡CÊÐÛ5 r±gU`W˜,&4é£0L8­1˜¥áî.ø™æÕN2(µ/ý`îµ †ÝkHÐÐ*€ôŽmcînöL’˜¹î\QV‹#zh/1
å­hÿ¥©Ú!d¤BÛíY´¬ÐÕhJ#�:z‚<Ùv u…Q#›È�RT P [ ~Šç´Xô°Õfjr28vÇ�' ~Ž> üÔœ‹ŸŸJÑwùTÚ�Í¿ï>’!ô“Ù\Ÿ`'Ï²ƒæp`¸ï.ed/R~$»k“Ínð¶)Øž`K‘4|`:óè"5ç«8ûº[ôñ?iUi©Ò÷P Ú7œØ
Ú Ù3âºßnñwî°­¿15hZÔjìŽ¤OG�òeReaderNextRelation BlockRefTableReaderGetBlocks DestroyBlockRefTableReader CreateBlockRefTableWriter BlockRefTableWriteEntry DestroyBlockRefTableWriter CreateBlockRefTableEntry BlockRefTableEntrySetLimitBlock BlockRefTableSetLimitBlock BlockRefTableEntryMarkBlockModified BlockRefTableMarkBlockModified BlockRefTableFreeEntry pg_checksum_parse_type pg_checksum_type_name pg_checksum_init pg_checksum_update pg_checksum_final parse_compress_algorithm get_compress_algorithm_name parse_compress_specification validate_compress_specification parse_compress_options get_configdata get_controlfile_by_exact_path get_controlfile update_controlfile double_to_shortest_decimal_bufn double_to_shortest_decimal_buf double_to_shortest_decimal is_encoding_supported_by_icu get_encoding_name_for_icu pg_valid_server_encoding_id_private pg_char_to_encoding_private pg_valid_server_encoding_private pg_valid_client_encoding pg_encoding_to_char_private pg_enc2name_tbl pg_enc2gettext_tbl validate_exec find_my_exec pclose_check pipe_read_l: */
	struct PlannerInfo *root;	/* Planner's infrastructure */
	Oid			funcid;			/* function we are inquiring about */
	List	   *args;			/* pre-simplified arguments to function */
	Oid			inputcollid;	/* function's input collation */
	bool		is_join;		/* is this a join or restriction case? */
	int			varRelid;		/* if restriction, RTI of target relation */
	JoinType	jointype;		/* if join, outer join type */
	struct SpecialJoinInfo *sjinfo; /* if outer join, info about join */

	/* Output fields: */
	Selectivity selectivity;	/* returned selectivity estimate */
} SupportRequestSelectivity;

/*
 * The Cost request allows the support function to provide an execution
 * cost estimate for its target function.  The cost estimate can include
 * both a one-time (query startup) component and a per-execution component.
 * The estimate should *not* include the costs of evaluating the target
 * function's arguments, only the target function itself.
 *
 * The "node" argument is normally the parse node that is invoking the
 * ta 104,
	T_WithCheckOption = 105,
	T_SortGroupClause = 106,
	T_GroupingSet = 107,
	T_WindowClause = 108,
	T_RowMarkClause = 109,
	T_WithClause = 110,
	T_InferClause = 111,
	T_OnConflictClause = 112,
	T_CTESearchClause = 113,
	T_CTECycleClause = 114,
	T_CommonTableExpr = 115,
	T_MergeWhenClause = 116,
	T_TriggerTransition = 117,
	T_JsonOutput = 118,
	T_JsonArgument = 119,
	T_JsonFuncExpr = 120,
	T_JsonTablePathSpec = 121,
	T_JsonTable = 122,
	T_JsonTableColumn = 123,
	T_JsonKeyValue = 124,
	T_JsonParseExpr = 125,
	T_JsonScalarExpr = 126,
	T_JsonSerializeExpr = 127,
	T_JsonObjectConstructor = 128,
	T_JsonArrayConstructor = 129,
	T_JsonArrayQueryConstructor = 130,
	T_JsonAggConstructor = 131,
	T_JsonObjectAgg = 132,
	T_JsonArrayAgg = 133,
	T_RawStmt = 134,
	T_InsertStmt = 135,
	T_DeleteStmt = 136,
	T_UpdateStmt = 137,
	T_MergeStmt = 138,
	T_SelectStmt = 139,
	T_SetOperationStmt = 140,
	T_ReturnStmt = 141,
	T_PLAssignStmt = 142,
	T_CreateSchemaStmt = 143,
	T_AlterTableStmt = 144,
	T_ReplicaIdentityStmt = 145,
	T_Alnclude/utils/tuplesort.h
 *
 *-------------------------------------------------------------------------
 */
#ifndef TUPLESORT_H
#define TUPLESORT_H

#include "access/brin_tuple.h"
#include "access/itup.h"
#include "executor/tuptable.h"
#include "storage/dsm.h"
#include "utils/logtape.h"
#include "utils/relcache.h"
#include "utils/sortsupport.h"


/*
 * Tuplesortstate and Sharedsort are opaque types whose details are not
 * known outside tuplesort.c.
 */
typedef struct Tuplesortstate Tuplesortstate;
typedef struct Sharedsort Sharedsort;

/*
 * Tuplesort parallel coordination state, allocated by each participant in
 * local memory.  Participant caller initializes everything.  See usage notes
 * below.
 */
typedef struct SortCoordinateData
{
	/* Worker process?  If not, must be leader. */
	bool		isWorker;

	/*
	 * Leader-process-passed number of participants known launched (workers
	 * set this to -1).  Includes state within leader needed for it to
	 * participate as a worker, if any.
	 */
	int			nParticipants;
õ¸¹úœË…n%Ìº
zwh2¢ùeÿaÂÊŸN¨³"lh4èÙ
êêãƒFV…Ðy^‡îa	ðºÊÈ+	�YÅcgã ëKx¸'�¿ï]˜B)ìðª¼e¶³ê–¿Šß¾JÓÁ‡à½{oÍ=eÞ§@Oh  =ÓeË>«xºò"v"\dûQŒ§zSbÎÖÀS#›0JÏ—]X¤	5MÕßÝn3IfxÍýÂ¨õVË;®"….„	úÉúœÒöZâ~73Õ[©ùuv¦vŠ"½Ý±58²Ü9°�5HøÈÕÓ-iPŠš%*:Òä
ª”§HMŽ..UÐM!‡µDWQ;jy]rÂZÌ£0²ì p€Dj]{Î0™*Ù[<<*´RFžÊ:©Î)�‰lV„ïq>{5åynCþcH¨‚„‰|CPŠßŒ‡<Q7vû@;±5ã­«�RéÐÍ¢B›®ÁÌßB¦–`©w@%‹Šv}äWîˆwI[Rèã`QA ÌJÓÌlY…™:‚0{ïAŒp¼ÇYŽPþî(>¡·ýcAðiõàgd@¹Q?¯eNÁ°H<°ìq6W£€¬b©7õî'TrqHHaàaö>¼Ô¹	$0’éñWµ<¨¨Oî½{K>¢±f,f¾ÚÂ(FuãlO9¨aµšsD¾Œ¯Ô!œ‘JÐ8™sü2H±å¥è©¸ôÍ•ùX:<ÀÊÎrå}ôÂ„[àtd8¸>ü›Î•Í]’a(AÆÎ–Û3£gW�‰c’VÉLpHžÀ:î|
}d�ù²ƒÃ]²t ÁSÀjäñ„h9j²“à':—rõ¥ ’,9×´d•¨ÙÑæ•¡«Ú)„03K‘=þòC1ìç…~Yžbj,éÜŒ 8<ü�Âéév(à]¯U(ðØÜÃdÀœÏ‚wBB|cåN0¹òí!}LºúƒWy3(µ/ý`l	ý2 ZèD`¦UÓ¢‚û“çÛõ<ÎP>ã7!�û”�ˆS¸"5öpªø‡]�,§‹ï%Ü×¶†gæmëèÛ†gZn²÷N2¥-0xr>£äm·xY±bø¨x03Ä@‰ØK«q_ÎblgH8îö¨wQz˜oUµ¬áÉ9:ì¯·}}‹ƒ)»ÇØ(×V”°«K™%[ÎyéÈƒ®·¬]o¬½]söÂJ7‰€?_oˆ'´ÓåpïÍmÙÇÊö(7¢º¯
v&�ðYÔ”Båç¼±âgÌ'Naw2§`_ïéC~áÉ4?cr¹!AÜÉ4‚yŽkV»øSË#¤uqq'sb10iñ]–ë²ü¨€“Iç×ùtÖê†±í;e«<í¿ñÏÎ›:?]’Ctu : 
yùb:p(`l›e«9ÉµcãwÚç¼“iïL¸x1~×Í¥¼å¤d”,&yx+Êi‡™PF9Ì„2JæpÒ›š˜IMFÉ•©’Ë#/ux…rR2Úa«’—WÞ’r2jÚaª$'#¦­('#!"X[_6dÌëŠ}…=“«‰EÀXÙ�9eMæs!Òdªb4?ƒ¦gÐôÑû*#3jq1�Ü°¦³V“ØXXØ˜–�æg}ar‘iv‘-»È´¸–L.-, e\M±¯¥Vs)Õ$ã‰)ˆ&WYW“9F¶lr‰-»ÀÈ–[A¾†d-¯˜y�íË¾ˆ:Á³á²,ËÖøsª­[ç¢luLlLŒÞ·”‹Óƒ„[ßS¶$,È«CVáýúÄìï‚»à}úÆH¿§oÕcùòúòzµ
"œ©Â fž‘ñVº€tyU
b¡TTß=²m…8PYß|9®*\ï•mR±
À£ÊV·´¶ÞÈEë…V˜K‹‘u•õ�æƒ>B­—fýVÞ”�(Ö¬?ÅÇ×¨ƒ�HÇÃÎ‚ôøx<2�.ŠÇhÜPð° £	êuÊVwèìøzh€=
`P
þ˜·Äé�—À„'ÊV'˜ ðK˜“ ‚�à{¬ÈAð;è>nƒ™×¶dàø|&N$MmÆÖ—([u «8ðýp<Uh Ì+áßœn 8•(Y[eàU:¦Vàø'%­Ú»)ð/˜‡¤‰0Ê½‡µŸÍ¹d	:‚±õ”­&ÐÄIÂ'ð?})´wKÿv>Yu|§�àLh®ý·xø"L*þö×œtÌÎœuÞGœuk«:¾£äy�" åÓxj\	ÕŒQ<àxõ„vºÔ9þ€ï™ÒÚ¡ÕýÕçø#ÃÖîÈ—z©ü®>ÇìŽ`ë¼�ã™�.8§xéº�ÃÓ!%ox:d@žñ(à½¤qÆôÓ!¦667‚g¨‚ˆ%‘YˆÉˆˆH’$i‚ˆ2�IéÒ`ãu,Å73"]¬w€@&;Ax\Q©ÿ˜Œ2f¨:D.Üå¾Åc}�hgzÑkeŒXÃ3-®äÁ6Üã—)Q„à(']ô/ÕL¬i(PÑŽþS¸Ï?W´RÍÕ=p†QªQviÉJƒ1ß×äBþù·l\’TÂB9ÜH»u ¹‡Ž¨Á:rãykÅ¹~)¼0`UdÛWŠŠî÷¦ÕUDÂ›)ÿÂÑyY�‚(hQ™Úl4J’[¾?R>{"îyl“@‰èqY"üª·“7‚ñº¢'ç/pÌÃ°“Só©Ï4B¦šÒŸ�
Jý`e.Ó 
VaKK§íÊU=wã8“¦8ÜZÄDÄ›Ï/ÌÌQƒÛMêo3 �,Ø…0/‰rãÉ	;¦¦ˆeõr†²�œ2&²öhc÷–2É™7ÏZšP£L"Ì§å0ä�îu¥nÜÛyËÛpB‘yV?‘7¶Ôgøÿ9?�Ÿðüßü~ÿÝÿåóãýdþ2ÿ™ÿúçýzWî^ÎOçu^¸IÂ­Í"�ú�©ÂdjÉ¸u�³×"óîEüÔT9DÞ(¸×3¥L»óË+œ!kˆÙÇd'|~zƒpöq6	¸×°4%„}Èóíûþ·I¿ läª\ß°©‚AÞÈ»Ë½—ƒ¹˜�¹7s4Os6ßÛd›»Y^æ•L.ÈïAÍ×,ŸI$z¨Y8¾ ¯gÔÎ\	ÑÊl™gCL#fjªHÉ@Íò¾ðRˆ]ÛÜ+Ì^™º†˜E®zU‚üË^‘D¢DP3BB&“iÂÝÖ™ÎhQØ•†§—¤Ý#p*œˆÉô"Gæƒóîµ†å·9F‹ÒÌ^ d2µ@­ÈWòtÏ²Ü½šàÚt‚vÈd2£˜®<ÞX¼ÑñÆÎ²iö»GGìîÝî‹}Éd~OìŠ-B.¿~Û·o–o÷VoÝl›e³y»fÕlš½.š=³f¶ÌÊ°dvÌâ­˜³`öËzY8{·]Ön¹lkÝ-Ãj‘Ñ SÄØ?¤€�À/\Dµ€bñäÔ´BÅ¦@aÀ	%
 Á´4B„R<$!)�ŒŠˆ†„:pJý }ŽÆbórOäë÷!ðH_à›/^xù”¨Í/w¼{u-èu]gáuSGÇÛ&l�MuŽ7/LŽm�µ)‡DmÆñªùÜ[ ñ¦¹¢a[ã=c&SxË°}eP¢6¥ Q›QxÉ¨}Ç¨¥ñâý…×!%jSíAy¾þ¶hFmNyÅ…±Qù†aòSœQ$£>Yòýò0ªÝzAüÂQ¢6“ Q›bxïúžœ}»ˆ}íŽðr¹à%JÔ¦Ø�’„D¢6ÃxcP¢6— Q›Jx­[Àž¼0€}µ(Q›F�¨Í",C‰Ú„¶E¹�·×!“÷E÷|*Ï×ßÛ¢z˜ÄOÝ°‡(</�ÖÅ(qöý»Œ9ˆcJÔf˜qÕy[4+p&6|_JÔ&“/AIÃƒ‡¥X	Y—ÑCô}ÑÃ‹ÈBø¶h†AçÐ™Ã¶á‚wQœ%gn!'�¡ûà
©R9g±§ÇO{nØéÑ>%…T©à›îÃæRyË¼-º†Wä]ç}•¨M<$j§8BÁæ|ï-êø„˜›ó}Ñ0mQ0\À—“xÔ˜&ˆªì5ßõÂLOò tablespace name */

	/* owner of tablespace */
	Oid			spcowner BKI_DEFAULT(POSTGRES) BKI_LOOKUP(pg_authid);

#ifdef CATALOG_VARLEN			/* variable-length fields start here */
	aclitem		spcacl[1];		/* access permissions */
	text		spcoptions[1];	/* per-tablespace options */
#endif
} FormData_pg_tablespace;

/* ----------------
 *		Form_pg_tablespace corresponds to a pointer to a tuple with
 *		the format of pg_tablespace relation.
 * ----------------
 */
typedef FormData_pg_tablespace *Form_pg_tablespace;

DECLARE_TOAST_WITH_MACRO(pg_tablespace, 4185, 4186, PgTablespaceToastTable, PgTablespaceToastIndex);

DECLARE_UNIQUE_INDEX_PKEY(pg_tablespace_oid_index, 2697, TablespaceOidIndexId, pg_tablespace, btree(oid oid_ops));
DECLARE_UNIQUE_INDEX(pg_tablespace_spcname_index, 2698, TablespaceNameIndexId, pg_tablespace, btree(spcname name_ops));

MAKE_SYSCACHE(TABLESPACEOID, pg_tablespace_oid_index, 4);

#endif							/* PG_TABLESPACE_H */
!<arch>
/               1794011151  0     0     0       1616      `
   E  ”  ”  RRCODE_TOO_MANY_JSON_ARRAY_ELEMENTS MAKE_SQLSTATE('2','2','0','3','D')
#define ERRCODE_TOO_MANY_JSON_OBJECT_MEMBERS MAKE_SQLSTATE('2','2','0','3','E')
#define ERRCODE_SQL_JSON_SCALAR_REQUIRED MAKE_SQLSTATE('2','2','0','3','F')
#define ERRCODE_SQL_JSON_ITEM_CANNOT_BE_CAST_TO_TARGET_TYPE MAKE_SQLSTATE('2','2','0','3','G')

/* Class 23 - Integrity Constraint Violation */
#define ERRCODE_INTEGRITY_CONSTRAINT_VIOLATION MAKE_SQLSTATE('2','3','0','0','0')
#define ERRCODE_RESTRICT_VIOLATION MAKE_SQLSTATE('2','3','0','0','1')
#define ERRCODE_NOT_NULL_VIOLATION MAKE_SQLSTATE('2','3','5','0','2')
#define ERRCODE_FOREIGN_KEY_VIOLATION MAKE_SQLSTATE('2','3','5','0','3')
#define ERRCODE_UNIQUE_VIOLATION MAKE_SQLSTATE('2','3','5','0','5')
#define ERRCODE_CHECK_VIOLATION MAKE_SQLSTATE('2','3','5','1','4')
#define ERRCODE_EXCLUSION_VIOLATION MAKE_SQLSTATE('2','3','P','0','1')

/* Class 24 - Invalid Cursor State */
#define ERRCODE_INVALID_CURSOR_STATE MAKE_SQLSTATE('2','4','0','0','0')

/* Class 25 - Invalid Transaction State y
 *	  are not, some callers rely on the ending cell values being separately
 *	  NULL or non-NULL as defined here; don't try to optimize that.)
 *
 * The caveats for foreach() apply equally here.
 */
#define forboth(cell1, list1, cell2, list2)							\
	for (ForBothState cell1##__state = {(list1), (list2), 0}; \
		 multi_for_advance_cell(cell1, cell1##__state, l1, i), \
		 multi_for_advance_cell(cell2, cell1##__state, l2, i), \
		 (cell1 != NULL && cell2 != NULL); \
		 cell1##__state.i++)

#define multi_for_advance_cell(cell, state, l, i) \
	(cell = (state.l != NIL && state.i < state.l->length) ? \
	 &state.l->elements[state.i] : NULL)

/*
 * for_both_cell -
 *	  a convenience macro which loops through two lists starting from the
 *	  specified cells of each. This macro loops through both lists at the same
 *	  time, stopping when either list runs out of elements.  Depending on the
 *	  requirements of the call site, it may also be wise to assert that the
 *	  lengths of the two lists are equal, and initcell1 (float4) (0.0 / 0.0);
#endif
}

static inline float8
get_float8_nan(void)
{
	/* (float8) NAN doesn't work on some NetBSD/MIPS releases */
#if defined(NAN) && !(defined(__NetBSD__) && defined(__mips__))
	/* C99 standard way */
	return (float8) NAN;
#else
	/* Assume we can get a NaN via zero divide */
	return (float8) (0.0 / 0.0);
#endif
}

/*
 * Floating-point arithmetic with overflow/underflow reported as errors
 *
 * There isn't any way to check for underflow of addition/subtraction
 * because numbers near the underflow value have already been rounded to
 * the point where we can't detect that the two values were originally
 * different, e.g. on x86, '1e-45'::float4 == '2e-45'::float4 ==
 * 1.4013e-45.
 */

static inline float4
float4_pl(const float4 val1, const float4 val2)
{
	float4		result;

	result = val1 + val2;
	if (unlikely(isinf(result)) && !isinf(val1) && !isinf(val2))
		float_overflow_error();

	return result;
}

static inline float8
float8_pl(const float8 val1, const float8 val2)
{
	float8		resulte type */
#define		  RELKIND_FOREIGN_TABLE   'f'	/* foreign table */
#define		  RELKIND_PARTITIONED_TABLE 'p' /* partitioned table */
#define		  RELKIND_PARTITIONED_INDEX 'I' /* partitioned index */

#define		  RELPERSISTENCE_PERMANENT	'p' /* regular table */
#define		  RELPERSISTENCE_UNLOGGED	'u' /* unlogged permanent table */
#define		  RELPERSISTENCE_TEMP		't' /* temporary table */

/* default selection for replica identity (primary key or nothing) */
#define		  REPLICA_IDENTITY_DEFAULT	'd'
/* no replica identity is logged for this relation */
#define		  REPLICA_IDENTITY_NOTHING	'n'
/* all columns are logged as replica identity */
#define		  REPLICA_IDENTITY_FULL		'f'
/*
 * an explicitly chosen candidate key's columns are used as replica identity.
 * Note this will still be set if the index has been dropped; in that case it
 * has the same meaning as 'n'.
 */
#define		  REPLICA_IDENTITY_INDEX	'i'

/*
 * Relation kinds that have physical storage. These relations normally have
 * relfilenode set to non-zeroig"}, 1009, -1, 29, -1, -1, 1, false, 'i', 'x', '\0', false, false, false, '\0', '\0', false, true, 0, 950 }, \
{ 1255, {"proacl"}, 1034, -1, 30, -1, -1, 1, false, 'd', 'x', '\0', false, false, false, '\0', '\0', false, true, 0, 0 }

#define Schema_pg_type \
{ 1247, {"oid"}, 26, 4, 1, -1, -1, 0, true, 'i', 'p', '\0', true, false, false, '\0', '\0', false, true, 0, 0 }, \
{ 1247, {"typname"}, 19, NAMEDATALEN, 2, -1, -1, 0, false, 'c', 'p', '\0', true, false, false, '\0', '\0', false, true, 0, 950 }, \
{ 1247, {"typnamespace"}, 26, 4, 3, -1, -1, 0, true, 'i', 'p', '\0', true, false, false, '\0', '\0', false, true, 0, 0 }, \
{ 1247, {"typowner"}, 26, 4, 4, -1, -1, 0, true, 'i', 'p', '\0', true, false, false, '\0', '\0', false, true, 0, 0 }, \
{ 1247, {"typlen"}, 21, 2, 5, -1, -1, 0, true, 's', 'p', '\0', true, false, false, '\0', '\0', false, true, 0, 0 }, \
{ 1247, {"typbyval"}, 16, 1, 6, -1, -1, 0, true, 'c', 'p', '\0', true, false, false, '\0', '\0', false, true, 0, 0 }, \
{ 1247, {"typtype"}, 18, 1, 7, -1, -ype (*GetForeignRowMarkType_function) (RangeTblEntry *rte,
													   LockClauseStrength strength);

typedef void (*RefetchForeignRow_function) (EState *estate,
											ExecRowMark *erm,
											Datum rowid,
											TupleTableSlot *slot,
											bool *updated);

typedef void (*ExplainForeignScan_function) (ForeignScanState *node,
											 struct ExplainState *es);

typedef void (*ExplainForeignModify_function) (ModifyTableState *mtstate,
											   ResultRelInfo *rinfo,
											   List *fdw_private,
											   int subplan_index,
											   struct ExplainState *es);

typedef void (*ExplainDirectModify_function) (ForeignScanState *node,
											  struct ExplainState *es);

typedef int (*AcquireSampleRowsFunc) (Relation relation, int elevel,
									  HeapTuple *rows, int targrows,
									  double *totalrows,
									  double *totaldeadrows);

typedef bool (*AnalyzeForeignTable_function) (Relation relation,
											  AcquireSampleRowsFunc *func,
											  BlockNumber er filtering
	 * out any that are >= xmax
	 */
	TransactionId *subxip;
	int32		subxcnt;		/* # of xact ids in subxip[] */
	bool		suboverflowed;	/* has the subxip array overflowed? */

	bool		takenDuringRecovery;	/* recovery-shaped snapshot? */
	bool		copied;			/* false if it's a static snapshot */

	CommandId	curcid;			/* in my xact, CID < curcid are visible */

	/*
	 * An extra return value for HeapTupleSatisfiesDirty, not used in MVCC
	 * snapshots.
	 */
	uint32		speculativeToken;

	/*
	 * For SNAPSHOT_NON_VACUUMABLE (and hopefully more in the future) this is
	 * used to determine whether row could be vacuumed.
	 */
	struct GlobalVisState *vistest;

	/*
	 * Book-keeping information, used by the snapshot manager
	 */
	uint32		active_count;	/* refcount on ActiveSnapshot stack */
	uint32		regd_count;		/* refcount on RegisteredSnapshots */
	pairingheap_node ph_node;	/* link in the RegisteredSnapshots heap */

	TimestampTz whenTaken;		/* timestamp when snapshot was taken */
	XLogRecPtr	lsn;			/* position in the Wth field (which includes itself in all cases).
 * In the big-endian case we mask to extract the length, in the little-endian
 * case we shift.  Note that in both cases the flag bits are in the physically
 * first byte.  Also, it is not possible for a 1-byte length word to be zero;
 * this lets us disambiguate alignment padding bytes from the start of an
 * unaligned datum.  (We now *require* pad bytes to be filled with zero!)
 *
 * In TOAST pointers the va_tag field (see varattrib_1b_e) is used to discern
 * the specific type and length of the pointer datum.
 */

/*
 * Endian-dependent macros.  These are considered internal --- use the
 * external macros below instead of using these directly.
 *
 * Note: IS_1B is true for external toast records but VARSIZE_1B will return 0
 * for such records. Hence you should usually check for IS_EXTERNAL before
 * checking for IS_1B.
 */

#ifdef WORDS_BIGENDIAN

#define VARATT_IS_4B(PTR) \
	((((varattrib_1b *) (PTR))->va_header & 0x80) == 0x00)
#define VARATT_IS_4B_U(PTR) \ CachedPlanSource
{
	int			magic;			/* should equal CACHEDPLANSOURCE_MAGIC */
	struct RawStmt *raw_parse_tree; /* output of raw_parser(), or NULL */
	const char *query_string;	/* source text of query */
	CommandTag	commandTag;		/* 'nuff said */
	Oid		   *param_types;	/* array of parameter type OIDs, or NULL */
	int			num_params;		/* length of param_types array */
	ParserSetupHook parserSetup;	/* alternative parameter spec method */
	void	   *parserSetupArg;
	int			cursor_options; /* cursor options used for planning */
	bool		fixed_result;	/* disallow change in result tupdesc? */
	TupleDesc	resultDesc;		/* result type; NULL = doesn't return tuples */
	MemoryContext context;		/* memory context holding all above */
	/* These fields describe the current analyzed-and-rewritten query tree: */
	List	   *query_list;		/* list of Query nodes, or NIL if not valid */
	List	   *relationOids;	/* OIDs of relations the queries depend on */
	List	   *invalItems;		/* other dependencies, as PlanInvalItems */
	struct SearchPathM;
			}
		case RT_NODE_KIND_256:
			{
				RT_NODE_256 *n256 = (RT_NODE_256 *) node.local;

				for (int i = 0; i < RT_NODE_MAX_SLOTS; i++)
				{
					RT_PTR_ALLOC child;

					if (!RT_NODE_256_IS_CHUNK_USED(n256, i))
						continue;

					child = *RT_NODE_256_GET_CHILD(n256, i);

					if (shift > 0)
						RT_FREE_RECURSE(tree, child, shift - RT_SPAN);
					else if (!RT_CHILDPTR_IS_VALUE(child))
						dsa_free(tree->dsa, child);
				}

				break;
			}
	}

	/* Free the inner node */
	dsa_free(tree->dsa, ptr);
}
#endif

/*
 * Free the radix tree, including all nodes and leaves.
 */
RT_SCOPE void
RT_FREE(RT_RADIX_TREE * tree)
{
#ifdef RT_SHMEM
	Assert(tree->ctl->magic == RT_RADIX_TREE_MAGIC);

	/* Free all memory used for radix tree nodes */
	Assert(RT_PTR_ALLOC_IS_VALID(tree->ctl->root));
	RT_FREE_RECURSE(tree, tree->ctl->root, tree->ctl->start_shift);

	/*
	 * Vandalize the control block to help catch programming error where other
	 * backends access the memory formerly occupied by this radix tree.
	 */
	tree->cR_ALLOC *
RT_GROW_NODE_4(RT_RADIX_TREE * tree, RT_PTR_ALLOC * parent_slot, RT_CHILD_PTR node,
			   uint8 chunk)
{
	RT_NODE_4  *n4 = (RT_NODE_4 *) (node.local);
	RT_CHILD_PTR newnode;
	RT_NODE_16 *new16;
	int			insertpos;

	/* initialize new node */
	newnode = RT_ALLOC_NODE(tree, RT_NODE_KIND_16, RT_CLASS_16_LO);
	new16 = (RT_NODE_16 *) newnode.local;

	/* copy over existing entries */
	RT_COPY_COMMON(newnode, node);
	Assert(n4->base.count == RT_FANOUT_4);
	insertpos = RT_NODE_4_GET_INSERTPOS(n4, chunk, RT_FANOUT_4);
	RT_COPY_ARRAYS_FOR_INSERT(new16->chunks, new16->children,
							  n4->chunks, n4->children,
							  RT_FANOUT_4, insertpos);

	/* insert new chunk into place */
	new16->chunks[insertpos] = chunk;

	new16->base.count++;
	RT_VERIFY_NODE((RT_NODE *) new16);

	/* free old node and update reference in parent */
	*parent_slot = newnode.alloc;
	RT_FREE_NODE(tree, node);

	return &new16->children[insertpos];
}

static inline RT_PTR_ALLOC *
RT_ADD_CHILD_4(RT_RADIX_TREE * tree, RT_CHILD_PTR node, uint8 RT_NODE_48) + RT_FANOUT_48 * sizeof(RT_PTR_ALLOC),
	},
	[RT_CLASS_256] = {
		.name = RT_STR(RT_PREFIX) "_radix_tree node256",
		.fanout = RT_FANOUT_256,
		.allocsize = sizeof(RT_NODE_256),
	},
};

#define RT_NUM_SIZE_CLASSES lengthof(RT_SIZE_CLASS_INFO)

#ifdef RT_SHMEM
/* A magic value used to identify our radix tree */
#define RT_RADIX_TREE_MAGIC 0x54A48167
#endif

/* Contains the actual tree, plus ancillary info */
typedef struct RT_RADIX_TREE_CONTROL
{
#ifdef RT_SHMEM
	RT_HANDLE	handle;
	uint32		magic;
	LWLock		lock;
#endif

	RT_PTR_ALLOC root;
	uint64		max_val;
	int64		num_keys;
	int			start_shift;

	/* statistics */
#ifdef RT_DEBUG
	int64		num_nodes[RT_NUM_SIZE_CLASSES];
	int64		num_leaves;
#endif
}			RT_RADIX_TREE_CONTROL;

/* Entry point for allocating and accessing the tree */
struct RT_RADIX_TREE
{
	MemoryContext context;

	/* pointing to either local memory or DSA */
	RT_RADIX_TREE_CONTROL *ctl;

#ifdef RT_SHMEM
	dsa_area   *dsa;
#else
	MemoryContextData *node_slabs[RT_NUM_SIZE_CLASSES];

	/* leaf_XPR);
}

/* Extract argument from a clause known to be a NOT clause */
static inline Expr *
get_notclausearg(const void *notclause)
{
	return (Expr *) linitial(((const BoolExpr *) notclause)->args);
}

extern bool check_functions_in_node(Node *node, check_function_callback checker,
									void *context);

/*
 * The following functions are usually passed walker or mutator callbacks
 * that are declared like "bool walker(Node *node, my_struct *context)"
 * rather than "bool walker(Node *node, void *context)" as a strict reading
 * of the C standard would require.  Changing the callbacks' declarations
 * to "void *" would create serious hazards of passing them the wrong context
 * struct type, so we respectfully decline to support the standard's position
 * that a pointer to struct is incompatible with "void *".  Instead, silence
 * related compiler warnings by inserting casts into these macro wrappers.
 */

#define expression_tree_walker(n, w, c) \
	expression_tree_walker_impl(n, (tree_walker_callback) (w), c)Ò+ô‘$óåN¦ý+)—2C¦½B_c“F¿³qB¤›}‰ˆho2dpeìžÆ«ž¢8åLÔ¤|}MHß�Ê×f(¤Ã ðËAH¯Š}^�KMµ8Àa½
¤·""íèYœ£*é¼Xë²'†qêåjY-ƒìq%Ìê¬Y-THž¤ÅÖ¸	Ò+à=B›ê­kËÑ°VA XÝÄsl)*r§i\V@ Ý³XíÁ+._·ú*£J/<%�Ð¦ÚÃ(Åõ3+|ý½{„x”ÈwºUG0š÷£¹kÑÏG-~!Á ®¤ªÊÑ"Ïâ“2ŠJ�Ñ‡E§E¨ªþ°è4·ØÄhecOBÅƒª#²t¤¸Âñh>²¨ƒÆª¯z$Sý¸Õíh‘GÑu1ÊÑ¢G�Ê(_Žô‰ÑÅ2Ô-R<C�êŠeØÈˆaÜ+,¼™T¬í�Õ»GdŽÌHuC–Ž×µ¨æ#ŠŽÂHÑzÙ“žÊ(�“uf¨4CÿÁzüT?ëì	ªK�6’§¾Å>Ç;äâŽêÉœúYm†e4KMN½Sç¥¦ËTÌÇš ëXS÷(îyPLL»Ú ÖàÃ˜únXrL†ÁÓSÓ©#¸ÔTœ$ìë`9úq+’T‡2šôA75¢H],Xeÿbl@z¥È[uÓ{åðÉëèÜ®Û¿èèµ‡�=ƒâÚ“#XÞÕÕ]-‘¼´;8b|!íê”äu’¸u®/õãV HM=‰f�ž”Ñ¤tµZÁ-q­J$s…ÔoEWªÇh7Ý¸ì‰‘]Ú?Û±.¦øú%h7Ý°$Ùû»‘¥¨Êh©{¿Js¼"˜OŸ}·'Å6Ã§Õê„beú³W$R•œñ:‘ý¸UŠ¤×“øE=\¡+DÑZ•»Ä0Iü¥Õ‰´ƒ‡2º*u
‰Œ‚ÃRÊèŠŽnBi\¾,‡ÏºsÌ�;»	EñKÜ®<HRã�¤nBAdÄ¨#ÇBêo…AòS®t)¾Þ@ê&Ã¿¬À9J¼qÔM(ƒÕ‡H¨ƒñ“¹|>”2…�Ìˆ¤I2@@8(‹²âR L†¢ÊHÑ9h"C$2#IAÒC ÃsÑÏ—#lžŒEácÆÏß°¡i¼f�´îÈS-¸šùþèÃ4¶»Õ¿€‡ðCqªž÷)N®
?jZ;À;HÊzŽ?>•Åí_Ðuj+ÅÁM>ÄT)âÑfQd%(•(8V?Î ìÉÅ.w€)Ìpt¿@(¬ÑËº‡c€@!†²ÒÕÐÚ+ºg(ê°»¢„¬%dy{1ÆÜnN—ì0Ð�/°¬^„‡;>Ðá¡½¬cÙhQ¢óš>sÎcq!asÜ÷ÅçÌÕªá!¢å«æºÞv°o…›³wu« ç9rÕ%@m«Â¼¤âÐ
ÂãPÑas9(0&Ú-åëè`ý£D´�Ÿ[íR’ò³Â2Q!²Ñü}MXÁYAùi÷õhGÇŠš |A[–ÊÅ–ìo˜—os6bÇ(þƒTi‚ÂC•2k	÷ËÑÖ¹~jï×²êÿ6É•´â±Éhrú–¸iº§¬ûÁ;^ÞEQ£­ÖÊÓ‡I&H±‰ö›Yäâµ0»\€½>ë�Òs.$uÅ�Œ/ê?a±�'Î°bœ—GFI˜ý¤A t¹ûž�öƒý=$ºI ôäÄ¤ hºŸdW~¥é*Èà…7=Á®~_(6©1æö›¾,¥Å3]X�xaLkÔj'úž¹dOih»ª~‰àœ¼Ž§Îçsú�(�îÎÖIl ß‹Í*«îÀß)á	_ž”–,ËyØY
-¾±hŠ¥ë 5±®]Ö3¨¨èZõçJ+Õ„²2¡L½Ðü¢³ ñlBº[¦ÔpMé€ø`s1Ý38®"8‡cóvÂûù†ç¥îì›Ç±ˆ_W¼bbˆ((à,ÅÁ§âT�É’k`†¬ßä
»šsuÇÇ|Ç çä®EE"IÑQÆ" C¤�7ÆÙ¡Ùr�&þº6[LŽù� vgY*ŒÚôÅKÓ<ú½¨ŒF#³Ù¢Ë„�oÙ“…à>>m’ò‘ƒY¼‹=ªþNÿ5ÑòQ¾_d½E¼Lß¿È­Zu=ã^£‰‰‡"èÖ/ûa%Þ¹'H�WkR�o)Ç± å»y J±º(
uÓœÑàÅýM‚Ûê�ªÇ=ä¡RÆ!V®rñ“-úÕlhužäZnÑB™ø8$ ˆ �‡ÙY¡)§'¢›k   +LH*ö´ü­FŒjÑ6žš·Çi_üò@©ª‡|R.¹«µ(Ëp¹YÅS:£ 8†mp†Ô3®à ¦¡€ò—a¯jeªÅK�³X88L›U9f›ZY¿ †ÇQ)W× Vè
º`QÍÕ("ÝLà­5KËq¹>	¥ýÁÒ|›ü« TÓRÇ‹ûTƒ)¹WðÃ-û¨¸2n„h­ ÆQ€Ü4Â
?Õ¬Ê«<�ÎvÕRjKS‰vƒ’W½3KìbðÚ*�Â|Ï
4¹jïÇéÅÎE„ˆŸ2e®È¢z�AN‰ÑÓœ«»¨©` ô]Ì}`|\ËnÞeL€´ùs�d¢YId~˜
nÕ#S!úMÅªMÿô ÌÿT¥¯[e¨ßAÿkBÄ‰šºÞ™À7“´\JÏ4n™P‹(×.	Iæ—F/¾5H/b”ëÞ}1D.^ËœdsLeœÈèè@	Æ‘ž:„Ç—�1*—”ž—˜#7LXDy
“’Ñ±ãÆ�›—�6¼¬ç’Œšäi‰HÛz·Ú©Õq!¹SlšŒ�²Ò­u_¿üøÇÚüÌ¢õËêå©¹~¹ghnrQY{ï8Ð°Ù›ËxÝ§N~LýŽD)½Œ‚–ü¸xí²rù*÷U�ÁÞÞÞžÞÞ@«Ü½A³� ~2þ×-«–=#eÓÅ>æ“)@âà|$»xMi™Æ´Ü¡¢lbYÝÖ,ë•õí+jµÂ­l«•¥2ÍnU;Í¤JP‡ä.Ž‡8¨_B”PÐTÙ
3»xm[«�ÙBt?ú!äÐ¡†~Nú!,é‡påk(+š’'š&Q7´Ö³¯h/šÌ]¼šÝeÛjz¯Rnv«ÖvÀ­e!­`_—üÙÇ
¶’�8L"(iË]ÄD‚ªÂ‹Ø”±¯dZ~ÈPºxur34P€.^›\Š‘¥‹W&7+“eEvñ*öfQ"v¯a ŒÑP4”õ‹H¯iãC(F˜5É×¯›%ÙÁ½]¼zÝÌ§ëîb]¶"Q1fÈÅëÎRRZ,Újm±2U­Q« G«ÒRÌº¬1Ö>²è.ÌUk²f­[+Ö:d-²
Y¯V#k×Êõ•ÈO�(:�ÇF‡¶¢±äXÖ!rºî‘•ŠÈJ´™€F“‰xm±2E­6Ö£UIÌº×ë�Ew‰¢Ó¾è0kÕÚc½±êX}¬8VërÍ±R­@V«õÇ×ß€¹µ�eýY‡ät�VÓm—hæ®¡Ü›¹îX‰V#_fÍ½™øœ”ˆâ< �•pUFÖ+�)dn>~º€Ä¦V©o!%¹ø LÑL×ÕiY¡V4*‚ù’»¼Í({Z›V'0bN¾\#ú TÁX"!�Ú
c]BÁe¶~í…½X]\‰ª•>KIJ”†‘º5iUâ¢åÅºŽÔ!­,2¨ótñA(Òÿ Ì
`@œPY¡‚ÌÞQ“¨ógˆÑÜšb-
Bµ4»ølÑÿ M¯S+�v\ü¯(¾
Y	�Qé*BfZ�þ¥b9ÔDÿƒ­½2ëiYöÊÌ„�¥•€E2zŒÖS¿…Zê¥S;~ºäáá!Qw)W‹$i`´�¾ó�[âöAý€èš7Æ){tºICM®‡OJ*P¼è¹œ•µ…È}Ú¸la\ô–¯`8R0.F¨.ÖZtœ!³½‹ïA™¾GôSC²\�K¿„¢ö©…µ»X¿i7&LRoßƒ úÔÐE¾=§Ý¤«h6&ØØ—’#[4½¶Ï½åŽ”«Ó´š½†áú{=š&'6÷¾ïU¯£íu¸{5¯vz_7smïÛFäîÌm¦Ïìè42^ŸrgÐ£¹÷M#²Š¶WNk)¶×¶¡Ø^™™%TØÁL`>ªH€Š ¨	‹ô¾iÞL3[*
êÉIØdþ|½–Ç®»w&·/Ê£¥¢ˆM;ª­æÜè::m)"fÎ,•�Ú´Ÿ°8uÔJw�^qa•¦+ŒÔ¦l"Ž–Žƒ:iá¢/neÎd¥�Ú´�Mº@™ø¯ qÃ§ã KJ.ŒÔ'ImÚ½Žƒ*Iâm'hÔ¦ÍëRœHê8(’ê©þ`›X$&Áh³�“~úEøÚÂ ‘Œ‚õÏ$/Œ tê»vkT&”Ô¦ý½¡Ò7ìC¢_ýR1íÖõá¾ãð¾/»3*Ö ™;Œ¹“Ì-‘þÏ�ÚÛsš*¢%aÂû9õe-QµùcÌí§KÀ“ùD÷AÁg„
9Ø^ÿ�Í36N%‚­ÙIyÏi=,DTyßf?[´Í.kÀü†÷“%¬‘©‚ý�%cþÑØ‹õo)@ÔC_/„ý™c´/!‰œtMÞÏŒåz?ý‡_?Æ­ÖýþÄ2[˜i4�íû¾¸ßJ5T1ÓÁöJàÛ­ÛG^ÐÈÌéñbœÆÃ�ûëêê.ñŸ1÷Z³U¯iVÐoš©ºMóT·5è´îìÀç,õÎQ>g¨w~â9;õœ…<ç&žs�ufj��¬ó�çìc�{ïÜòœy¬3ûÎ+ë¼[�ÿ�ý�ÛÂOÝÔ’ôÙ˜÷­««¾ÕuŽ–^ÓÝ¦ûMwœîµî¶f™›™wp³i7§å4[»ñ¯-¡A‘æ’¬MÚò�Ç…�ê;¬¬ãôÓ Ó†§¨;ÛI'|§_ Ç)vÁ}Ípr¬È˜G¼ŸÂ_ÿÔ±¤‹ôKhõ-ÅòVÈêW.uU›üöE§É{0“,i›WLÌÀž<R‚MßÒ+z¨}šštÃ}hâ¤‹à
øÁ§‚Â”z?›~øãÇ˜éƒßdkÞê˜þÑÔ�ò§m%:ŒV@T€Ào©•7à”Ž”ÈI÷ÀV˜X¼Ÿ@ÿû¨æ›“*÷iarñ~*øaï}¿€�SŒª÷=4tþðœÜ²Õ·´ŠGT¿FéX©6µP‰øæØ$µZž½ö[êõPë¥%°4ÕþeKÔR1�–´†˜`˜bÚfOÙÎTÁº�‘1žƒæ}ç¡–ÉQ%pö×gž1Ëx?yï\ØÄT›¾f†VÆ²¿{7£ö9à+û½³'_Ì<Ó‚¼B¬ïo
Í9àSÏìáƒ÷s÷E6.Õ¯“.b¶>Ú�žú–69T \uµT&�3®’.Ž¤«Ì:ºÃeQF²H£W-�]H¬átion.c
 */

extern bool pgstat_subscription_flush_cb(PgStat_EntryRef *entry_ref, bool nowait);
extern void pgstat_subscription_reset_timestamp_cb(PgStatShared_Common *header, TimestampTz ts);


/*
 * Functions in pgstat_xact.c
 */

extern PgStat_SubXactStatus *pgstat_get_xact_stack_level(int nest_level);
extern void pgstat_drop_transactional(PgStat_Kind kind, Oid dboid, Oid objoid);
extern void pgstat_create_transactional(PgStat_Kind kind, Oid dboid, Oid objoid);


/*
 * Variables in pgstat.c
 */

extern PGDLLIMPORT PgStat_LocalState pgStatLocal;


/*
 * Variables in pgstat_io.c
 */

extern PGDLLIMPORT bool have_iostats;


/*
 * Variables in pgstat_slru.c
 */

extern PGDLLIMPORT bool have_slrustats;


/*
 * Implementation of inline functions declared above.
 */

/*
 * Helpers for changecount manipulation. See comments around struct
 * PgBackendStatus for details.
 */

static inline void
pgstat_begin_changecount_write(uint32 *cc)
{
	Assert((*cc & 1) == 0);

	START_CRIT_SECTION();
	(*cc)++;
	pg_write_barrier();ointer to the stats data (i.e. PgStatShared_HashEntry->body), resolved
	 * as a local pointer, to avoid repeated dsa_get_address() calls.
	 */
	PgStatShared_Common *shared_stats;

	/*
	 * Copy of PgStatShared_HashEntry->generation, keeping locally track of
	 * the shared stats entry "generation" retrieved (number of times reused).
	 */
	uint32		generation;

	/*
	 * Pending statistics data that will need to be flushed to shared memory
	 * stats eventually. Each stats kind utilizing pending data defines what
	 * format its pending data has and needs to provide a
	 * PgStat_KindInfo->flush_pending_cb callback to merge pending into shared
	 * stats.
	 */
	void	   *pending;
	dlist_node	pending_node;	/* membership in pgStatPending list */
} PgStat_EntryRef;


/*
 * Some stats changes are transactional. To maintain those, a stack of
 * PgStat_SubXactStatus entries is maintained, which contain data pertaining
 * to the current transaction and its active subtransactions.
 */
typedef struct PgStat_SubXactStatus
{
	int	ude/catalog/objectaddress.h
 *
 *-------------------------------------------------------------------------
 */
#ifndef OBJECTADDRESS_H
#define OBJECTADDRESS_H

#include "access/htup.h"
#include "nodes/parsenodes.h"
#include "storage/lockdefs.h"
#include "utils/relcache.h"

/*
 * An ObjectAddress represents a database object of any type.
 */
typedef struct ObjectAddress
{
	Oid			classId;		/* Class Id from pg_class */
	Oid			objectId;		/* OID of the object */
	int32		objectSubId;	/* Subitem within object (eg column), or 0 */
} ObjectAddress;

extern PGDLLIMPORT const ObjectAddress InvalidObjectAddress;

#define ObjectAddressSubSet(addr, class_id, object_id, object_sub_id) \
	do { \
		(addr).classId = (class_id); \
		(addr).objectId = (object_id); \
		(addr).objectSubId = (object_sub_id); \
	} while (0)

#define ObjectAddressSet(addr, class_id, object_id) \
	ObjectAddressSubSet(addr, class_id, object_id, 0)

extern ObjectAddress get_object_address(ObjectType objtype, Node *object,
										Relation *relp,
					 ¡ Š!PW:03U8•L�™™™™©ÝÝm]³º»K"i¯#;}®n­>V¿jªúJõ(ÿä›úROêµ~ä‹üPÔzO_§È)nŠ?ãcœ—¢¥¯øb”#=ÄøcÃg¶è~ÂGø‡>ƒ³àGð¾Àw·:N€3s:Í9 (µ/ý`_ –YT?0m“tÈ#KÁQ)ÀUÙ·~P_PÒ>U«˜ÿ‘Cb ÑF#5âÂiµf#mØÔ©6——_m�4BÈN< H C žçóS±€¦ªêQ2¹øÖÿ*8 …êyŽŽ=º ÿ@[& SÊ¡¦Ÿ„ñSÔ#JE×ØÈð·°1¶x·ÖˆÓ$d?‚û‘<’	Â”M§­4šFìÁ�nÀà+º@»¨0'Á�‹KQ‚òt8–h³}«À´°›6äŸ�‹ÐÕ‘‹‰ÐÕØÖÚx=YÇ»â4~ùr©'fVØÞ®H¾¤%ª¦½dÛñAQ9²eG“%!.‘J$£u*"C;¢RKÔ�“¡žk6€dHkÈ´«ÒÕGõ’™®ê] ôø]"†×ñ…ßÇáÑÓ…Ë²6Æòt­ …©ÄC";¢Á*H±§ËÑ}…±b¨Á4Ê˜!1C¡9@£#ó@¥„†¨Pè	Àêéárôs…ñ„QŸàÛänÒ·ÐÚ©Å<-X’�Âñ`AàÑä4ðôºÞ::q¬â«\’€¨¾ÕXŸA=‹oÑCàXf¹¬ënÏ�œÉÐÊ ‚h¹˜õ|Dª½´Šu¦œy¶QÜ1vå‡xá¥ðƒ¼ùm^(é!ð‡Ô.®�Â¾œÿ²[~CñÞMY¥{A½¤˜:O³îÙy«†"ãB»§Â
ÒŸ	Cï €     (µ/ý pE ô"   B  Œ‚€€üÅžíÐ}{ A‚ˆ€@yw¾u½ 7/build/pkg/net/postgresql-17.6/src/fe_utils print.c  íbà Š(µ/ý`… ´±  Z (†}Œ†€€ü«Ÿ™C{¾ ˜˜{ÀF�{ÂIŽ{ÄF�{ÆIŒ{ÈL‹{ÊŠ{Ì‰{Î¸ÿ{Ð{ÒÔO†ywÖA‚ˆ€€us×qÕoÓmÑ~{Ú{ÜÞQàáqßoÝmÛ}{äæèêëqéoçmå˜|{íïFñóôqòoðmîk2õ3ìãâÙØ(T†i¸úg÷ eF³¿Ã¨œsß13éÀ»ÿ£»It�ZËµîNq0M¦µœóƒ»©ÞWÕæœ|É:Á®µÁ`O‚Îx+üÂÒ«Áñ.ûxyá¸†º#ÍÔ±|bho‹‹¸[Ö}™ï×ÇBk>k*Ø™Elxa,÷‹ãúÃ>s„4Žëno;5o3]ï½ÔÞVjo'!±·�úv€¾­ìÛD¯¾‘ÅÛÇß½�¯ûÛSÿbßÆÅÛ—½ý'6MŽ¾å|½Z³•È·äzõ¿;î~ŸË«}¾-R.(W—ôY®×ßë#–<2¿ÒEèô-ç|tÑÇÒÇ]<¯ûžžCyF–?&#ÚowŒ>^»Ê­,“^OÝŽÔ½n
/üP@¯©N"‰	ïÂî�‘‘Ñ‚¬CgP‰±ºñ»œ
�Ód‚Ã
Ay¼.Ý+YÀp_ÖÇ»Ñ“3V±|ŒA“‹ò¤ÔøYþ|OúEi+"±ž*ËÚØ±¤‚±\w€k‘0gu$ž&a$pgW&ÃÝl¨�„‡I‡9çüsàHŒ„�Dü¨ˆ¹�a)æóbëÓ:Ù#¬Àî‡³ñ°FÍ6ª	ƒçVÉa#GÑÄZÆoòÅ‰+Å±;ÁW{ê€RPÕn«Ÿù@àÁ‰¯6Õ­ �Ör~60“%¢ßF‚=ñˆÏ÷jö¦ð}a)Fó¦î
Ë�L—RÙ˜æRLS ŒUÕ1†ök±ÝS(¾Uå´²bÁVa5W”0Á6�·©l±¸rN]U]]5[4³†Úy…b‹kªÊŠIÕÂÉ\€€A‚å•–³ªÅ‰-'‹,æVÕ
æ	YLW(¸J0t7õë8®ñ’»d¿‹ÅljCD«Ý•^bÒè†0ÆSÜQ_8GSÁˆ¨M­Jwç?Š�à€Û5×Eå¾ìâ#(„Ö'>ƒ¢Â¶&yÇhÜDë˜+¦vŸIœ†P”XÅðY¿Í»9\/gÔÍW"%Hœ®„	OO|ÖÝ¾Ç9Œºžf…<N„ù)hCX®ŸG'hùï=éG×†\ÂNË;^í½„€š0Wõ¥%œÔæ‰¡8�LF5h	7a#2×KØF„�V€§¨a0æ�S¦D‚‘Y�f8ð‘™701dÑl
•e;¥n¿i¬TInBh¥®E©A&Z³ÛT'%ør�¸7*è°~çI½+ÊÅŽ€2µêá¦uÉð·ñ£ºsÅ³Þëë5¼gM(Ù¿Æ[Vd90 	#	Áv#ŽSFw”ôÓj*ŽZÁ€3æÝ>¬…Ê�ª\­È `'‹øo,ŽS—Ë>ÖÍüåz[\´—R©9}ðD=T#†L HPf]31ò�ö‘Ñ,÷$ÏßíËã:—Ða §çÀd=Q1Éd†4)(š'‰Ë÷@üêL¸+>¥šQVÁ¸6Nwz•¾óŒÞ¤2Xöc4>l7b@…	7%y�\^ÎhUíœ�%W£óäÔÕªÄÀ Rd€FÎñrY"aÔÚp†20Þ�—qŽ\¸A("uæÅðl—q¿û[�î‘�æÛU�Š¦1Št@!uÌçDÑ€I
³£ç.	#-Ê~*-ÿ °æºcq^Ä²�Xv0zeóåÃœ;"oêI*…,ô�èÕ'Á'ö¾¿§£yÐ`Þp�«•wwÆ›SþÑNªòèÉ­iÓ’d0çB§«‡¦Ål[$Ù`k'#u¬nD<ÓÎ¬òÂ‘~§xó704¬øa×�IoÏV¶1‡ÓpìîbtÙ›cJ�™zsx)Pœ.¸+9(V‚V`‘@b½z)uoY¦(²ÝåeÃÙé·Žj0�‘Œëp¤šûÀ Æ†;ßg#ï›ÝõËîmHbE2¬B{èª0O�	Ðz{{æÜº]«�mËOÒK?ûrúNB;	¾‹1f�ºVVä��É‹ŒO]!Þ?µÔ­Ü=ÓÒSIÚ•+s2çAÅ.¢‰òô5·³’3kP²}vÜò2"á ƒðÕië,SÇn¤k¸ÐÀ@¶Èezœ«Íí²Õ Š·½%Zö²Ù²•ŸA<<ë’š®qBC{³û—óWA<¦›œª)ŒæjÏÜ­u/ÜÇšº\ãŠÏÖˆìmË(8{Ë¦¢o,­£øP0y� )¾µ.š7@{¥#}Ÿ^û‹¶ hÏ·žXPw§†øÒ”ð‹ËÂœà5®œ.ÞÛÊëY©³<ûñ§%�Á�º:™\® }Èu©ˆla§˜`“ÈùÖÍ�B‡Œ�ÄGÐ¨Á§Àv¢w´ôLëQ 4€ä˜ÍÈÂr`²®ùøbfÊw'pH²Aø®uñpT+A�{ëÎ¡"K.mÎF6˜°¬´‘Ÿ¾h}te™ÆÊHù¯ÒŒîüÚ”YþÊŒy>&†äÉ€›¡í¯k…w]“dnç ‹^-º€�Ž¦9 (î!¤D‚@E;Þ´ip|+ábµ·ûk§UÙgê”°q€	Û‡^Íþ(T%O<+úò+”7›þ
¦8¢íF}¾ó
u\ô‹Ï!v“ÿµ˜K#SþçÆ]3�èä Î ÊŠ>ªÉ	Ã3æGŠÉîG³ ò}îýû>5²à…>Elôœ˜®ï§lconnectDatabase              connectMaintenanceData©SQìªl°â ²C¡€,²j]m°±®Åã‘FFP)­�v“¬r•BP,Z�Gc”Ò˜´b×$ÓÊ
×äÐ©—ºdÀh¡ƒJ6Ù¤dWåšŒ²1dÐCbr5®Sj{ ¡„F-‚Ä€-‚	Pjƒ€ú±Q+¢Ø$d…+T�®T¹©‚E¡ñHd‰RÆãði•²*�Ä`ð)´ÐÊ"‘µŠZk<“Ê'ÁPŠ7”krŠU‘Oìj|š²�|’*­h<…`u¬Æ\µYØ¾ £Ñhe…¬2ªQ5®Å¨ÉÕêÆ‹\¥¢ŒkRˆ`;AA7¥J[R˜–-TÜî¨«L"·)�Åâ¼©âg(ÝP°˜ð‰09“3Hïz©ÌÉå.Jc±»$²Cuk^GMÒ†n�G‡E±c’¾ó^K”¼ ’ÃÓ{zaÉH¢®¼&��üÒÌ‰Ý1©‰K’†3–6ë�9¨á,g”4"#"¢ I’tQÄ I)ë ©¢ŒÈˆˆˆ$%I¡Ò… ù!	�r1+Ùi4¶ áÐcû2²v¥wˆ{½A(.³•þŠ}Ó•ôÌôé’Ö¹³ÐB{þÀšry,AˆXpó™ùt}ûõØ˜7E|(“æÝÿmJòóÌèéU’ˆ¥|¯ŠP<‰BwËN>”„§HîÎìKà›�
¡ºt‹ÃÍmÈ½å…G8´Ò”›1à:ZD¾áôƒ%uµ±ô. 0�ª—$Êo…žÅ®‘·giå¬n3§Ð…¹ÈÙ$˜Zhë‘°®·áÜEHÂþ(~ç›4�$ÚiÍ+JãQ™¸àT3û‚3öìc­,a£³²rà H„¢ß¥ýg¥Êe)€u“óôõ:#~Ñ™.$ß O¤i¨ó?¡}ÐÓc3Óµ ²¼7½KÅÀ°žsýí/÷û™W½¾z’�ÈÀÏÀ¾SÖ�‘¢ÊäˆÂûrªp9Ó¦E™\š$cSP~ÉãD	 ¢SFµ_cVWâ1N>h^X`P¨�³Ï†Ó}¿Ã,x$9°‹x …ûÓ°0ê®èùyÆ–(	ÚBý“�¢¼¦cÎgä�Ç[²o¤>þ@¿0O¹&uañÕ³µð¥¾:{×Øœ_[–þ­½´ì•`‹ÄÊ·Ww3QÉ„3LæW	šud:¿éOÈoü)¬KrO°¸`#Zñ—ß§àÅ}Mù÷eþ@?`Oé‰yúµ#€É�·™ûüG×˜I®+÷­=&Q}œªvTconditional_stack_create            ó   conditioc0(pointer, sizeof(type) * (oldcount), sizeof(type) * (count)))

/* Higher-limit allocators. */
extern void *MemoryContextAllocHuge(MemoryContext context, Size size);
extern pg_nodiscard void *repalloc_huge(void *pointer, Size size);

/*
 * Although this header file is nominally backend-only, certain frontend
 * programs like pg_controldata include it via postgres.h.  For some compilers
 * it's necessary to hide the inline definition of MemoryContextSwitchTo in
 * this scenario; hence the #ifndef FRONTEND.
 */

#ifndef FRONTEND
static inline MemoryContext
MemoryContextSwitchTo(MemoryContext context)
{
	MemoryContext old = CurrentMemoryContext;

	CurrentMemoryContext = context;
	return old;
}
#endif							/* FRONTEND */

/* Registration of memory context reset/delete callbacks */
extern void MemoryContextRegisterResetCallback(MemoryContext context,
											   MemoryContextCallback *cb);

/*
 * These are like standard strdup() except the copied string is
 * allocated in a context, not with malloc().
 */
extE() */
} JsonExprOp;

/*
 * JsonExpr -
 *		Transformed representation of JSON_VALUE(), JSON_QUERY(), and
 *		JSON_EXISTS()
 */
typedef struct JsonExpr
{
	Expr		xpr;

	JsonExprOp	op;

	char	   *column_name;	/* JSON_TABLE() column name or NULL if this is
								 * not for a JSON_TABLE() */

	/* jsonb-valued expression to query */
	Node	   *formatted_expr;

	/* Format of the above expression needed by ruleutils.c */
	JsonFormat *format;

	/* jsonpath-valued expression containing the query pattern */
	Node	   *path_spec;

	/* Expected type/format of the output. */
	JsonReturning *returning;

	/* Information about the PASSING argument expressions */
	List	   *passing_names;
	List	   *passing_values;

	/* User-specified or default ON EMPTY and ON ERROR behaviors */
	JsonBehavior *on_empty;
	JsonBehavior *on_error;

	/*
	 * Information about converting the result of jsonpath functions
	 * JsonPathQuery() and JsonPathValue() to the RETURNING type.
	 */
	bool		use_io_coercion;
	bool		use_json_coercion;

	/* WRAPPER ste type
 * to another, where the source type is guaranteed to contain all the columns
 * needed for the destination type plus possibly others; the columns need not
 * be in the same positions, but are matched up by name.  This is primarily
 * used to convert a whole-row value of an inheritance child table into a
 * valid whole-row value of its parent table's rowtype.  Both resulttype
 * and the exposed type of "arg" must be named composite types (not domains).
 * ----------------
 */

typedef struct ConvertRowtypeExpr
{
	Expr		xpr;
	Expr	   *arg;			/* input expression */
	Oid			resulttype;		/* output type (always a composite type) */
	/* Like RowExpr, we deliberately omit a typmod and collation here */
	/* how to display this node */
	CoercionForm convertformat pg_node_attr(query_jumble_ignore);
	ParseLoc	location;		/* token location, or -1 if unknown */
} ConvertRowtypeExpr;

/*----------
 * CollateExpr - COLLATE
 *
 * The planner replaces CollateExpr with RelabelType during expression
 * preprocessing, so e_node_attr(equal_ignore, query_jumble_ignore);

	/* same as Aggref.agglevelsup */
	Index		agglevelsup;

	/* token location */
	ParseLoc	location;
} GroupingFunc;

/*
 * WindowFunc
 *
 * Collation information is irrelevant for the query jumbling, as is the
 * internal state information of the node like "winstar" and "winagg".
 */
typedef struct WindowFunc
{
	Expr		xpr;
	/* pg_proc Oid of the function */
	Oid			winfnoid;
	/* type Oid of result of the window function */
	Oid			wintype pg_node_attr(query_jumble_ignore);
	/* OID of collation of result */
	Oid			wincollid pg_node_attr(query_jumble_ignore);
	/* OID of collation that function should use */
	Oid			inputcollid pg_node_attr(query_jumble_ignore);
	/* arguments to the window function */
	List	   *args;
	/* FILTER expression, if any */
	Expr	   *aggfilter;
	/* List of WindowFuncRunConditions to help short-circuit execution */
	List	   *runCondition pg_node_attr(query_jumble_ignore);
	/* index of associated WindowClause */
	Index		winref;
	/* true if argumeT_NEXT_MULTIRANGE_ARRAY_PG_TYPE_OID 4391
#define F_RANGE_INTERSECT_AGG_TRANSFN 4401
#define F_RANGE_INTERSECT_AGG_ANYRANGE 4450
#define F_RANGE_CONTAINS_MULTIRANGE 4541
#define F_MULTIRANGE_CONTAINED_BY_RANGE 4542
#define F_PG_LOG_BACKEND_MEMORY_CONTEXTS 4543
#define F_BINARY_UPGRADE_SET_NEXT_HEAP_RELFILENODE 4545
#define F_BINARY_UPGRADE_SET_NEXT_INDEX_RELFILENODE 4546
#define F_BINARY_UPGRADE_SET_NEXT_TOAST_RELFILENODE 4547
#define F_BINARY_UPGRADE_SET_NEXT_PG_TABLESPACE_OID 4548
#define F_UNICODE_VERSION 4549
#define F_PG_EVENT_TRIGGER_TABLE_REWRITE_OID 4566
#define F_PG_EVENT_TRIGGER_TABLE_REWRITE_REASON 4567
#define F_PG_EVENT_TRIGGER_DDL_COMMANDS 4568
#define F_BRIN_BLOOM_OPCINFO 4591
#define F_BRIN_BLOOM_ADD_VALUE 4592
#define F_BRIN_BLOOM_CONSISTENT 4593
#define F_BRIN_BLOOM_UNION 4594
#define F_BRIN_BLOOM_OPTIONS 4595
#define F_BRIN_BLOOM_SUMMARY_IN 4596
#define F_BRIN_BLOOM_SUMMARY_OUT 4597
#define F_BRIN_BLOOM_SUMMARY_RECV 4598
#define F_BRIN_BLOOM_SUMMARY_SEND 4599
#define F_BRIN_MINMAX_MULTI_OPCIine F_SYSTEM 3314
#define F_PG_STAT_GET_WAL_RECEIVER 3317
#define F_PG_STAT_GET_PROGRESS_INFO 3318
#define F_TS_FILTER 3319
#define F_SETWEIGHT_TSVECTOR_CHAR__TEXT 3320
#define F_TS_DELETE_TSVECTOR_TEXT 3321
#define F_UNNEST_TSVECTOR 3322
#define F_TS_DELETE_TSVECTOR__TEXT 3323
#define F_INT4_AVG_COMBINE 3324
#define F_INTERVAL_AVG_COMBINE 3325
#define F_TSVECTOR_TO_ARRAY 3326
#define F_ARRAY_TO_TSVECTOR 3327
#define F_BPCHAR_SORTSUPPORT 3328
#define F_PG_SHOW_ALL_FILE_SETTINGS 3329
#define F_PG_CURRENT_WAL_FLUSH_LSN 3330
#define F_BYTEA_SORTSUPPORT 3331
#define F_BTTEXT_PATTERN_SORTSUPPORT 3332
#define F_BTBPCHAR_PATTERN_SORTSUPPORT 3333
#define F_PG_SIZE_BYTES 3334
#define F_NUMERIC_SERIALIZE 3335
#define F_NUMERIC_DESERIALIZE 3336
#define F_NUMERIC_AVG_COMBINE 3337
#define F_NUMERIC_POLY_COMBINE 3338
#define F_NUMERIC_POLY_SERIALIZE 3339
#define F_NUMERIC_POLY_DESERIALIZE 3340
#define F_NUMERIC_COMBINE 3341
#define F_FLOAT8_REGR_COMBINE 3342
#define F_JSONB_DELETE_JSONB__TEXT 3343
#define F_CASH_MUL_INT8 3ne F_HAS_SCHEMA_PRIVILEGE_OID_TEXT 2273
#define F_PG_STAT_RESET 2274
#define F_PG_GET_BACKEND_MEMORY_CONTEXTS 2282
#define F_REGEXP_REPLACE_TEXT_TEXT_TEXT 2284
#define F_REGEXP_REPLACE_TEXT_TEXT_TEXT_TEXT 2285
#define F_PG_TOTAL_RELATION_SIZE 2286
#define F_PG_SIZE_PRETTY_INT8 2288
#define F_PG_OPTIONS_TO_TABLE 2289
#define F_RECORD_IN 2290
#define F_RECORD_OUT 2291
#define F_CSTRING_IN 2292
#define F_CSTRING_OUT 2293
#define F_ANY_IN 2294
#define F_ANY_OUT 2295
#define F_ANYARRAY_IN 2296
#define F_ANYARRAY_OUT 2297
#define F_VOID_IN 2298
#define F_VOID_OUT 2299
#define F_TRIGGER_IN 2300
#define F_TRIGGER_OUT 2301
#define F_LANGUAGE_HANDLER_IN 2302
#define F_LANGUAGE_HANDLER_OUT 2303
#define F_INTERNAL_IN 2304
#define F_INTERNAL_OUT 2305
#define F_PG_STAT_GET_SLRU 2306
#define F_PG_STAT_RESET_SLRU 2307
#define F_CEIL_FLOAT8 2308
#define F_FLOOR_FLOAT8 2309
#define F_SIGN_FLOAT8 2310
#define F_MD5_TEXT 2311
#define F_ANYELEMENT_IN 2312
#define F_ANYELEMENT_OUT 2313
#define F_POSTGRESQL_FDW_VALIDATOR 2316
#defiUBEQ 928
#define F_NETWORK_SUP 929
#define F_NETWORK_SUPEQ 930
#define F_CASH_WORDS 935
#define F_SUBSTRING_TEXT_INT4_INT4 936
#define F_SUBSTRING_TEXT_INT4 937
#define F_GENERATE_SERIES_TIMESTAMP_TIMESTAMP_INTERVAL 938
#define F_GENERATE_SERIES_TIMESTAMPTZ_TIMESTAMPTZ_INTERVAL 939
#define F_MOD_INT2_INT2 940
#define F_MOD_INT4_INT4 941
#define F_INT28MI 942
#define F_INT28MUL 943
#define F_CHAR_TEXT 944
#define F_INT8MOD 945
#define F_TEXT_CHAR 946
#define F_MOD_INT8_INT8 947
#define F_INT28DIV 948
#define F_HASHINT8 949
#define F_LO_OPEN 952
#define F_LO_CLOSE 953
#define F_LOREAD 954
#define F_LOWRITE 955
#define F_LO_LSEEK 956
#define F_LO_CREAT 957
#define F_LO_TELL 958
#define F_ON_PL 959
#define F_ON_SL 960
#define F_CLOSE_PL 961
#define F_LO_UNLINK 964
#define F_HASHBPCHAREXTENDED 972
#define F_PATH_INTER 973
#define F_AREA_BOX 975
#define F_WIDTH 976
#define F_HEIGHT 977
#define F_BOX_DISTANCE 978
#define F_AREA_PATH 979
#define F_BOX_INTERSECT 980
#define F_DIAGONAL 981
#define F_PATH_N_LT 982
#defi /* pg_class */ 1259, "{tgconstrindid}", "{oid}", false, true},
	{ /* pg_trigger */ 2620, /* pg_constraint */ 2606, "{tgconstraint}", "{oid}", false, true},
	{ /* pg_trigger */ 2620, /* pg_attribute */ 1249, "{tgrelid, tgattr}", "{attrelid, attnum}", true, false},
	{ /* pg_event_trigger */ 3466, /* pg_authid */ 1260, "{evtowner}", "{oid}", false, false},
	{ /* pg_event_trigger */ 3466, /* pg_proc */ 1255, "{evtfoid}", "{oid}", false, false},
	{ /* pg_description */ 2609, /* pg_class */ 1259, "{classoid}", "{oid}", false, false},
	{ /* pg_cast */ 2605, /* pg_type */ 1247, "{castsource}", "{oid}", false, false},
	{ /* pg_cast */ 2605, /* pg_type */ 1247, "{casttarget}", "{oid}", false, false},
	{ /* pg_cast */ 2605, /* pg_proc */ 1255, "{castfunc}", "{oid}", false, true},
	{ /* pg_enum */ 3501, /* pg_type */ 1247, "{enumtypid}", "{oid}", false, false},
	{ /* pg_namespace */ 2615, /* pg_authid */ 1260, "{nspowner}", "{oid}", false, false},
	{ /* pg_conversion */ 2607, /* pg_namespace */ 2615, "{connamespace}", "um_pg_publication_rel_prpubid),
		64
	},
	[RANGEMULTIRANGE] = {
		RangeRelationId,
		RangeMultirangeTypidIndexId,
		KEY(Anum_pg_range_rngmultitypid),
		4
	},
	[RANGETYPE] = {
		RangeRelationId,
		RangeTypidIndexId,
		KEY(Anum_pg_range_rngtypid),
		4
	},
	[RELNAMENSP] = {
		RelationRelationId,
		ClassNameNspIndexId,
		KEY(Anum_pg_class_relname, Anum_pg_class_relnamespace),
		128
	},
	[RELOID] = {
		RelationRelationId,
		ClassOidIndexId,
		KEY(Anum_pg_class_oid),
		128
	},
	[REPLORIGIDENT] = {
		ReplicationOriginRelationId,
		ReplicationOriginIdentIndex,
		KEY(Anum_pg_replication_origin_roident),
		16
	},
	[REPLORIGNAME] = {
		ReplicationOriginRelationId,
		ReplicationOriginNameIndex,
		KEY(Anum_pg_replication_origin_roname),
		16
	},
	[RULERELNAME] = {
		RewriteRelationId,
		RewriteRelRulenameIndexId,
		KEY(Anum_pg_rewrite_ev_class, Anum_pg_rewrite_rulename),
		8
	},
	[SEQRELID] = {
		SequenceRelationId,
		SequenceRelidIndexId,
		KEY(Anum_pg_sequence_seqrelid),
		32
	},
	[STATEXTDATASTXOID] = {
		StatisticExtDtions */
#define REINDEXOPT_CONCURRENTLY	0x08	/* concurrent mode */

/* state info for validate_index bulkdelete callback */
typedef struct ValidateIndexState
{
	Tuplesortstate *tuplesort;	/* for sorting the index TIDs */
	/* statistics (for debug purposes only): */
	double		htups,
				itups,
				tups_inserted;
} ValidateIndexState;

extern void index_check_primary_key(Relation heapRel,
									const IndexInfo *indexInfo,
									bool is_alter_table,
									const IndexStmt *stmt);

#define	INDEX_CREATE_IS_PRIMARY				(1 << 0)
#define	INDEX_CREATE_ADD_CONSTRAINT			(1 << 1)
#define	INDEX_CREATE_SKIP_BUILD				(1 << 2)
#define	INDEX_CREATE_CONCURRENT				(1 << 3)
#define	INDEX_CREATE_IF_NOT_EXISTS			(1 << 4)
#define	INDEX_CREATE_PARTITIONED			(1 << 5)
#define INDEX_CREATE_INVALID				(1 << 6)

extern Oid	index_create(Relation heapRelation,
						 const char *indexRelationName,
						 Oid indexRelationId,
						 Oid parentIndexRelid,
						 Oid parentConstraintId,
						 RelFileNumber relFileNumber,
						 IndexIM(X))
#define PG_RETURN_FULLTRANSACTIONID(X) return FullTransactionIdGetDatum(X)

#endif							/* XID8_H */
/*
 * Internal interface definitions, etc., for the reg package
 *
 * Copyright (c) 1998, 1999 Henry Spencer.  All rights reserved.
 *
 * Development of this software was funded, in part, by Cray Research Inc.,
 * UUNET Communications Services Inc., Sun Microsystems Inc., and Scriptics
 * Corporation, none of whom are responsible for the results.  The author
 * thanks all of them.
 *
 * Redistribution and use in source and binary forms -- with or without
 * modification -- are permitted for any purpose, provided that
 * redistributions in source form retain this entire copyright notice and
 * indicate the origin and nature of any modifications.
 *
 * I'd appreciate being given credit for this package in the documentation
 * of software which uses it, but that is not a requirement.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIe
 * the base table, and this is the only field in the plan node that may
 * contain such Vars.  Also, for the convenience of setrefs.c, TLEs in
 * indextlist are marked as resjunk if they correspond to columns that
 * the index AM cannot reconstruct.
 * ----------------
 */
typedef struct IndexOnlyScan
{
	Scan		scan;
	Oid			indexid;		/* OID of index to scan */
	List	   *indexqual;		/* list of index quals (usually OpExprs) */
	List	   *recheckqual;	/* index quals in recheckable form */
	List	   *indexorderby;	/* list of index ORDER BY exprs */
	List	   *indextlist;		/* TargetEntry list describing index's cols */
	ScanDirection indexorderdir;	/* forward or backward or don't care */
} IndexOnlyScan;

/* ----------------
 *		bitmap index scan node
 *
 * BitmapIndexScan delivers a bitmap of potential tuple locations;
 * it does not access the heap itself.  The bitmap is used by an
 * ancestor BitmapHeapScan node, possibly after passing through
 * intermediate BitmapAnd and/or BitmapOr nodes to combine it with
 * OG(pg_proc,1255,ProcedureRelationId) BKI_BOOTSTRAP BKI_ROWTYPE_OID(81,ProcedureRelation_Rowtype_Id) BKI_SCHEMA_MACRO
{
	Oid			oid;			/* oid */

	/* procedure name */
	NameData	proname;

	/* OID of namespace containing this proc */
	Oid			pronamespace BKI_DEFAULT(pg_catalog) BKI_LOOKUP(pg_namespace);

	/* procedure owner */
	Oid			proowner BKI_DEFAULT(POSTGRES) BKI_LOOKUP(pg_authid);

	/* OID of pg_language entry */
	Oid			prolang BKI_DEFAULT(internal) BKI_LOOKUP(pg_language);

	/* estimated execution cost */
	float4		procost BKI_DEFAULT(1);

	/* estimated # of rows out (if proretset) */
	float4		prorows BKI_DEFAULT(0);

	/* element type of variadic array, or 0 if not variadic */
	Oid			provariadic BKI_DEFAULT(0) BKI_LOOKUP_OPT(pg_type);

	/* planner support function for this function, or 0 if none */
	regproc		prosupport BKI_DEFAULT(0) BKI_LOOKUP_OPT(pg_proc);

	/* see PROKIND_ categories below */
	char		prokind BKI_DEFAULT(f);

	/* security definer */
	bool		prosecdef BKI_DEFAULT(f);

	/* is it a leak-proof  members of stanumbers, holding copies of the minimum
 * and maximum frequencies.  Optionally, there can be a third extra member,
 * which holds the frequency of null elements (expressed in the same terms:
 * the fraction of non-null rows that contain at least one null element).  If
 * this member is omitted, the column is presumed to contain no null elements.
 *
 * Note: in current usage for tsvector columns, the stavalues elements are of
 * type text, even though their representation within tsvector is not
 * exactly text.
 */
#define STATISTIC_KIND_MCELEM  4

/*
 * A "distinct elements count histogram" slot describes the distribution of
 * the number of distinct element values present in each row of an array-type
 * column.  Only non-null rows are considered, and only non-null elements.
 * staop contains the equality operator appropriate to the element type,
 * and stacoll contains the collation to use with it.
 * stavalues is not used and should be NULL.  The last member of stanumbers is
 * the average co of the input parameters of the object.
 * In some contexts, that will be all we have, and it's enough to look up
 * objects according to the traditional Postgres rules (i.e., when only input
 * arguments matter).
 *
 * objfuncargs, if not NIL, carries the full specification of the parameter
 * list, including parameter mode annotations.
 *
 * Some grammar productions can set args_unspecified = true instead of
 * providing parameter info.  In this case, lookup will succeed only if
 * the object name is unique.  Note that otherwise, NIL parameter lists
 * mean zero arguments.
 */
typedef struct ObjectWithArgs
{
	NodeTag		type;
	List	   *objname;		/* qualified name of function/operator */
	List	   *objargs;		/* list of Typename nodes (input args only) */
	List	   *objfuncargs;	/* list of FunctionParameter nodes */
	bool		args_unspecified;	/* argument list was omitted? */
} ObjectWithArgs;

/*
 * An access privilege, with optional list of column names
 * priv_name == NULL denotes ALL PRIVILEGES (only used with a--
 *		Create Schema Statement
 *
 * NOTE: the schemaElts list contains raw parsetrees for component statements
 * of the schema, such as CREATE TABLE, GRANT, etc.  These are analyzed and
 * executed after the schema itself is created.
 * ----------------------
 */
typedef struct CreateSchemaStmt
{
	NodeTag		type;
	char	   *schemaname;		/* the name of the schema to create */
	RoleSpec   *authrole;		/* the owner of the created schema */
	List	   *schemaElts;		/* schema components (list of parsenodes) */
	bool		if_not_exists;	/* just do nothing if schema already exists? */
} CreateSchemaStmt;

typedef enum DropBehavior
{
	DROP_RESTRICT,				/* drop fails if any dependent objects */
	DROP_CASCADE,				/* remove dependent objects too */
} DropBehavior;

/* ----------------------
 *	Alter Table
 * ----------------------
 */
typedef struct AlterTableStmt
{
	NodeTag		type;
	RangeVar   *relation;		/* table to work on */
	List	   *cmds;			/* list of subcommands */
	ObjectType	objtype;		/* type of object */
	bool		missined to perform run-time locking
	 * and permission checks on the view, even though it's not directly used
	 * in the query anymore, and the most expedient way to do that is to
	 * retain these fields from the old state of the RTE.
	 *
	 * As a special case, RTE_NAMEDTUPLESTORE can also set relid to indicate
	 * that the tuple format of the tuplestore is the same as the referenced
	 * relation.  This allows plans referencing AFTER trigger transition
	 * tables to be invalidated if the underlying table is altered.
	 */
	/* OID of the relation */
	Oid			relid;
	/* inheritance requested? */
	bool		inh;
	/* relation kind (see pg_class.relkind) */
	char		relkind pg_node_attr(query_jumble_ignore);
	/* lock level that query requires on the rel */
	int			rellockmode pg_node_attr(query_jumble_ignore);
	/* index of RTEPermissionInfo entry, or 0 */
	Index		perminfoindex pg_node_attr(query_jumble_ignore);
	/* sampling info, or NULL */
	struct TableSampleClause *tablesample;

	/*
	 * Fields valid for a subquery RTE (else NUype;
	char	   *colname;		/* name of generated column */
	TypeName   *typeName;		/* type of generated column */
	bool		for_ordinality; /* does it have FOR ORDINALITY? */
	bool		is_not_null;	/* does it have NOT NULL? */
	Node	   *colexpr;		/* column filter expression */
	Node	   *coldefexpr;		/* column default value expression */
	ParseLoc	location;		/* token location, or -1 if unknown */
} RangeTableFuncCol;

/*
 * RangeTableSample - TABLESAMPLE appearing in a raw FROM clause
 *
 * This node, appearing only in raw parse trees, represents
 *		<relation> TABLESAMPLE <method> (<params>) REPEATABLE (<num>)
 * Currently, the <relation> can only be a RangeVar, but we might in future
 * allow RangeSubselect and other options.  Note that the RangeTableSample
 * is wrapped around the node representing the <relation>, rather than being
 * a subfield of it.
 */
typedef struct RangeTableSample
{
	NodeTag		type;
	Node	   *relation;		/* relation to be sampled */
	List	   *method;			/* sampling method name (possibly qualifie*
 * Return the address of the first element in the list.
 *
 * The list must not be empty.
 */
#define slist_head_element(type, membername, lhead)							\
	(AssertVariableIsOfTypeMacro(((type *) NULL)->membername, slist_node),	\
	 (type *) slist_head_element_off(lhead, offsetof(type, membername)))

/*
 * Iterate through the list pointed at by 'lhead' storing the state in 'iter'.
 *
 * Access the current element with iter.cur.
 *
 * It's allowed to modify the list while iterating, with the exception of
 * deleting the iterator's current node; deletion of that node requires
 * care if the iteration is to be continued afterward.  (Doing so and also
 * deleting or inserting adjacent list elements might misbehave; also, if
 * the user frees the current node's storage, continuing the iteration is
 * not safe.)
 */
#define slist_foreach(iter, lhead)											\
	for (AssertVariableIsOfTypeMacro(iter, slist_iter),						\
		 AssertVariableIsOfTypeMacro(lhead, slist_head *),					\
		 (iter).cur = (lhead)->head.next;		void RelationMapInitializePhase3(void);

extern Size EstimateRelationMapSpace(void);
extern void SerializeRelationMap(Size maxSize, char *startAddress);
extern void RestoreRelationMap(char *startAddress);

extern void relmap_redo(XLogReaderState *record);
extern void relmap_desc(StringInfo buf, XLogReaderState *record);
extern const char *relmap_identify(uint8 info);

#endif							/* RELMAPPER_H */
/*-------------------------------------------------------------------------
 *
 * ilist.h
 *		integrated/inline doubly- and singly-linked lists
 *
 * These list types are useful when there are only a predetermined set of
 * lists that an object could be in.  List links are embedded directly into
 * the objects, and thus no extra memory management overhead is required.
 * (Of course, if only a small proportion of existing objects are in a list,
 * the link fields in the remainder would be wasted space.  But usually,
 * it saves space to not have separately-allocated list nodes.)
 *
 * The doubly-linked list comes inexcept that we don't support moving sequences around
 * into different tablespaces.  Partitioned tables and indexes don't have
 * physical storage, but they have a tablespace settings so that their
 * children can inherit it.
 */
#define RELKIND_HAS_TABLESPACE(relkind) \
	((RELKIND_HAS_STORAGE(relkind) || RELKIND_HAS_PARTITIONS(relkind)) \
	 && (relkind) != RELKIND_SEQUENCE)

/*
 * Relation kinds with a table access method (rd_tableam).  Although sequences
 * use the heap table AM, they are enough of a special case in most uses that
 * they are not included here.  Likewise, partitioned tables can have an access
 * method defined so that their partitions can inherit it, but they do not set
 * rd_tableam; hence, this is handled specially outside of this macro.
 */
#define RELKIND_HAS_TABLE_AM(relkind) \
	((relkind) == RELKIND_RELATION || \
	 (relkind) == RELKIND_TOASTVALUE || \
	 (relkind) == RELKIND_MATVIEW)

extern int	errdetail_relkind_not_supported(char relkind);

#endif							/* EXPOSE_TO_CLIENT_CODE */

#_JSONB_H__

#include "lib/stringinfo.h"
#include "utils/array.h"
#include "utils/numeric.h"

/* Tokens used when sequentially processing a jsonb value */
typedef enum
{
	WJB_DONE,
	WJB_KEY,
	WJB_VALUE,
	WJB_ELEM,
	WJB_BEGIN_ARRAY,
	WJB_END_ARRAY,
	WJB_BEGIN_OBJECT,
	WJB_END_OBJECT,
} JsonbIteratorToken;

/* Strategy numbers for GIN index opclasses */
#define JsonbContainsStrategyNumber		7
#define JsonbExistsStrategyNumber		9
#define JsonbExistsAnyStrategyNumber	10
#define JsonbExistsAllStrategyNumber	11
#define JsonbJsonpathExistsStrategyNumber		15
#define JsonbJsonpathPredicateStrategyNumber	16


/*
 * In the standard jsonb_ops GIN opclass for jsonb, we choose to index both
 * keys and values.  The storage format is text.  The first byte of the text
 * string distinguishes whether this is a key (always a string), null value,
 * boolean value, numeric value, or string value.  However, array elements
 * that are strings are marked as though they were keys; this imprecision
 * supports the definition of the "exÐßxjÄ–°©Òž~p�”!Äß_�Ç…¼é¤týÎI›(ª3ÿOàÿí)‰‰œ€§ç™¦ßøÈZ�b<°;sÛ9—øtŸ*¹}‰Ÿt•_·U%¨d"tÊpJúZÅÐ¨fotôxÈ|¤Æ�~ÔØì1ë/è£è¡’}ˆÐ¡éXRëËÐ¹´ì4GöiEäO0=?l+°iè‚Æ£¨T—>5X½/Ržà?€ŒÍÝ$W}¿	ºÆ„LcìV7+hNÍ�-´Žv©Å0©¢Î±ÊÛ”òFOv_ëÓûÞª™™˜ùÝ÷†Ý{Çˆøò‹¿&LÙ‘q@l¾:Qî¦”›‡@7÷07tNø‰Y>"­¢jðvá%x3|Ÿ‚ýé&©&F`ìŸ.ù‘»Á§„Kø¿3]Ù©ìQ5ò• ü™-¨ƒQF1j[‘&þ&ÌLÎ¶C'a‹‘ZË;8©åF.ö>�ðôÝj¯Òïb¼�¦Ü‚kÆl¬íŽÒ#:#Ë†cäÞG Õé—5v˜Ö	ç�q¶¹ß%ŽQ(©©¦Hs'x±õÐ�êÇ6—H+R‰ îj
Då`S6oÉ)Ëƒ;n.ÅUâ°û¹|&=Óò¹ ·ÔÄã.€La
‹½�{&L¥ÖcT(Õ–™_„ÂØO�qR  AÜÖŒ[Ð;~Ëì# ÜY/uøõKMCÃáe!¥�`É¢1ƒìúÏŒ™˜¡ m]øBý€ƒáÞ
à’z¨Öq8ÔÒ*ö,8’CÔÓÚlo.W¨4áy†Dhö«]êÝX?€[dûKÍ>Y–Ý¸n0€bM+ð P%ÛØÒBmN\é�(ç,ÇÓÆ_5ŽŒ3äåÐE·š¸tDJ{-ð7vùÁ\ "«�¯Üý‰Ø¹0’_¤Ý�_†ePúhFL²$ƒ%«%øõ†p€©ÃD×ÂÆÒŸñÄl3iF»ÁFæäp˜ÑàÃ‰“ËìjNFŸ¥Ó	³à8m qŒL2iaiµ”fx ~Ã¥ }g1¨(µ/ý`,% & sFðîh8HŽZçëŒ"ÚñÓš—.Ó‚æ™-Vk0¢}fzÏ �ŸhoWßañ:á5µÑ‰°ô Ú8ÚjKÈÞR¦_ X a ãÑn·‹ýþ3îJÿÀ(ýóÌva€¶k!ÅÅ2v·CyìåìŸ§9óÁŸbj-ÿn¢IÀ	P£]…´Ó¡j/éy ¹¾ç'1€bj4OOÁî:cj3wé¶Gl‹v~78ÿ|½�í¦£sÑãZRo¾êigÝ±Sàq¿é¹ÛóÒªéÔô(¡†ëäì&%�;~ºen            (  ecpg_hex_dec_len            *  ecpg_hex_encode            ,  ecpg_get_data            G  ecpg_internal_regression_mode           I  pg_strncasecmp           O  __ctype_b_loc           `  ecpg_raise           g  ecpg_type_name           k  ECPGset_noind_null           p  ecpg_log           {  __errno_location           �  PGTYPEStimestamp_from_asc           Š  PGTYPESdate_from_asc           ‘  PGTYPESinterval_copy              ecpg_alloc           ¥  PGTYPESinterval_from_asc           ª  PGTYPESnumeric_free           ²  PGTYPESnumeric_to_decimal           »  PGTYPESnumeric_copy           À  PGTYPESnumeric_new           Ã  PGTYPESnumeric_from_asc           È  PQgetisnull           ù  strtod             __isoc23_strtoull             __isoc23_strtoll             __isoc23_strtoul           %  __isoc23_strtol           0  PQgetlength           2  PQfformat           7  PQgetvalue           =  ECPGget_sqlca           C         ø¥NìëÜ˜f;�Y†wecpg_pthreads_init            É  ecpg_get_connection            Ì  ECPGsetcommit            Ó  ECPGsetconn            Ø  ECPGconnect            â  ecpg_clocale            å  ECPGdisconnect            é  ECPGget_PGconn            í  ivlist           Á  ecpg_internal_regression_mode           ç  pthread_key_create           ú  ecpg_log             ECPGget_sqlca           B  PQresultErrorField           G  ecpg_free           I  pthread_setspecific           T  pthread_getspecific           Z  PQfinish           ^  ecpg_deallocate_all_conn           d  pthread_once           m  pthread_mutex_lock           w  pthread_mutex_unlock           z  PQclear           €  ecpg_check_PQresult           ‡  PQexec           Œ  PQtransactionStatus           •  ecpg_init           �  PQsetNoticeReceiver           ¥  ecpg_raise           ¬  PQerrorMessage           °  PQstatus           ·  PQconnectdbParams           ¿  ecpg_strdup           Ä  newlocale /
#ifndef PARSE_FUNC_H
#define PARSE_FUNC_H

#include "catalog/namespace.h"
#include "parser/parse_node.h"


/* Result codes for func_get_detail */
typedef enum
{
	FUNCDETAIL_NOTFOUND,		/* no matching function */
	FUNCDETAIL_MULTIPLE,		/* too many matching functions */
	FUNCDETAIL_NORMAL,			/* found a matching regular function */
	FUNCDETAIL_PROCEDURE,		/* found a matching procedure */
	FUNCDETAIL_AGGREGATE,		/* found a matching aggregate function */
	FUNCDETAIL_WINDOWFUNC,		/* found a matching window function */
	FUNCDETAIL_COERCION,		/* it's a type coercion request */
} FuncDetailCode;


extern Node *ParseFuncOrColumn(ParseState *pstate, List *funcname, List *fargs,
							   Node *last_srf, FuncCall *fn, bool proc_call,
							   int location);

extern FuncDetailCode func_get_detail(List *funcname,
									  List *fargs, List *fargnames,
									  int nargs, Oid *argtypes,
									  bool expand_variadic, bool expand_defaults,
									  bool include_out_arguments,
									  Oid *funcid, Oid *rettype,
	on
 * during parsing.
 *
 * At call, refassgnexpr has not been filled in, so the SubscriptingRef node
 * always looks like a fetch; refrestype should be set as though for a
 * fetch, too.  (The isAssignment parameter is typically only useful if the
 * transform method wishes to throw an error for not supporting assignment.)
 * To complete processing of an assignment, the core parser will coerce the
 * element/slice source expression to the returned refrestype and reftypmod
 * before putting it into refassgnexpr.  It will then set refrestype and
 * reftypmod to again describe the container type, since that's what an
 * assignment must return.
 */
typedef void (*SubscriptTransform) (SubscriptingRef *sbsref,
									List *indirection,
									struct ParseState *pstate,
									bool isSlice,
									bool isAssignment);

/*
 * The exec_setup method is called during executor-startup compilation of a
 * SubscriptingRef node in an expression.  It must fill *methods with pointers
 * to functions that can be calledines" that provides pointers to the individual
 * subscript parsing and execution methods.  Typically the pointer will point
 * to a "static const" variable, but at need it can point to palloc'd space.
 * The type (after domain-flattening) of the head variable or expression
 * of a subscripting construct determines which subscripting function is
 * called for that construct.
 *
 * In addition to the method pointers, struct SubscriptRoutines includes
 * several bool flags that specify properties of the subscripting actions
 * this data type can perform:
 *
 * fetch_strict indicates that a fetch SubscriptRef is strict, i.e., returns
 * NULL if any input (either the container or any subscript) is NULL.
 *
 * fetch_leakproof indicates that a fetch SubscriptRef is leakproof, i.e.,
 * will not throw any data-value-dependent errors.  Typically this requires
 * silently returning NULL for invalid subscripts.
 *
 * store_leakproof similarly indicates whether an assignment SubscriptRef is
 * leakproof.  (It is common t description. (separated by a newline or '. ')
 *
 * srole is the role that set the current value, or BOOTSTRAP_SUPERUSERID
 * if the value came from an internal source or the config file.  Similarly
 * for reset_srole (which is usually BOOTSTRAP_SUPERUSERID, but not always).
 *
 * Variables that are currently of active interest for maintenance
 * operations are linked into various lists using the xxx_link fields.
 * The link fields are unused/garbage in variables not currently having
 * the specified properties.
 *
 * Note that sourcefile/sourceline are kept here, and not pushed into stacked
 * values, although in principle they belong with some stacked value if the
 * active value is session- or transaction-local.  This is to avoid bloating
 * stack entries.  We know they are only relevant when source == PGC_S_FILE.
 */
struct config_generic
{
	/* constant fields, must be set correctly in initial value: */
	const char *name;			/* name of variable - MUST BE FIRST */
	GucContext	context;		/* context required log/pg_constraint_d.h"
#include "nodes/pg_list.h"

/* ----------------
 *		pg_constraint definition.  cpp turns this into
 *		typedef struct FormData_pg_constraint
 * ----------------
 */
CATALOG(pg_constraint,2606,ConstraintRelationId)
{
	Oid			oid;			/* oid */

	/*
	 * conname + connamespace is deliberately not unique; we allow, for
	 * example, the same name to be used for constraints of different
	 * relations.  This is partly for backwards compatibility with past
	 * Postgres practice, and partly because we don't want to have to obtain a
	 * global lock to generate a globally unique name for a nameless
	 * constraint.  We associate a namespace with constraint names only for
	 * SQL-spec compatibility.
	 *
	 * However, we do require conname to be unique among the constraints of a
	 * single relation or domain.  This is enforced by a unique index on
	 * conrelid + contypid + conname.
	 */
	NameData	conname;		/* name of this constraint */
	Oid			connamespace BKI_LOOKUP(pg_namespace);	/* OID of namespace
			ALOG(pg_partitioned_table,3350,PartitionedRelationId)
{
	Oid			partrelid BKI_LOOKUP(pg_class); /* partitioned table oid */
	char		partstrat;		/* partitioning strategy */
	int16		partnatts;		/* number of partition key columns */
	Oid			partdefid BKI_LOOKUP_OPT(pg_class); /* default partition oid;
													 * 0 if there isn't one */

	/*
	 * variable-length fields start here, but we allow direct access to
	 * partattrs via the C struct.  That's because the first variable-length
	 * field of a heap tuple can be reliably accessed using its C struct
	 * offset, as previous fields are all non-nullable fixed-length fields.
	 */
	int2vector	partattrs BKI_FORCE_NOT_NULL;	/* each member of the array is
												 * the attribute number of a
												 * partition key column, or 0
												 * if the column is actually
												 * an expression */

#ifdef CATALOG_VARLEN
	oidvector	partclass BKI_LOOKUP(pg_opclass) BKI_FORCE_NOT_NULL;	/* operator class to
																		 * compare keys */
	oidvector	partco,
 * so that the only possibilities are that it is in this list or none.
 */
static inline bool
proclist_contains_offset(const proclist_head *list, int procno,
						 size_t node_offset)
{
	const proclist_node *node = proclist_node_get(procno, node_offset);

	/* If it's not in any list, it's definitely not in this one. */
	if (node->prev == 0 && node->next == 0)
		return false;

	/*
	 * It must, in fact, be in this list.  Ideally, in assert-enabled builds,
	 * we'd verify that.  But since this function is typically used while
	 * holding a spinlock, crawling the whole list is unacceptable.  However,
	 * we can verify matters in O(1) time when the node is a list head or
	 * tail, and that seems worth doing, since in practice that should often
	 * be enough to catch mistakes.
	 */
	Assert(node->prev != INVALID_PROC_NUMBER || list->head == procno);
	Assert(node->next != INVALID_PROC_NUMBER || list->tail == procno);

	return true;
}

/*
 * Remove and return the first process from a list (there must be one).
 */
s is not a multiple of BITS_PER_BYTE, the low-order
 * bits of the last byte of bit_dat[] are unused and MUST be zeroes.
 * (This allows bit_cmp() to not bother masking the last byte.)
 * Also, there should not be any excess bytes counted in the header length.
 */
typedef struct
{
	int32		vl_len_;		/* varlena header (do not touch directly!) */
	int32		bit_len;		/* number of valid bits */
	bits8		bit_dat[FLEXIBLE_ARRAY_MEMBER]; /* bit string, most sig. byte
												 * first */
} VarBit;

/*
 * fmgr interface macros
 *
 * BIT and BIT VARYING are toastable varlena types.  They are the same
 * as far as representation goes, so we just have one set of macros.
 */
static inline VarBit *
DatumGetVarBitP(Datum X)
{
	return (VarBit *) PG_DETOAST_DATUM(X);
}

static inline VarBit *
DatumGetVarBitPCopy(Datum X)
{
	return (VarBit *) PG_DETOAST_DATUM_COPY(X);
}

static inline Datum
VarBitPGetDatum(const VarBit *X)
{
	return PointerGetDatum(X);
}

#define PG_GETARG_VARBIT_P(n)	   DatumGetVarBitP(PG_GETARG_DATUM(n))
#def_isolation_test_session_is_blocked(PG_FUNCTION_ARGS);
extern Datum pg_identify_object_as_address(PG_FUNCTION_ARGS);
extern Datum brin_minmax_opcinfo(PG_FUNCTION_ARGS);
extern Datum brin_minmax_add_value(PG_FUNCTION_ARGS);
extern Datum brin_minmax_consistent(PG_FUNCTION_ARGS);
extern Datum brin_minmax_union(PG_FUNCTION_ARGS);
extern Datum int8_avg_accum_inv(PG_FUNCTION_ARGS);
extern Datum numeric_poly_sum(PG_FUNCTION_ARGS);
extern Datum numeric_poly_avg(PG_FUNCTION_ARGS);
extern Datum numeric_poly_var_pop(PG_FUNCTION_ARGS);
extern Datum numeric_poly_var_samp(PG_FUNCTION_ARGS);
extern Datum numeric_poly_stddev_pop(PG_FUNCTION_ARGS);
extern Datum numeric_poly_stddev_samp(PG_FUNCTION_ARGS);
extern Datum regexp_match_no_flags(PG_FUNCTION_ARGS);
extern Datum regexp_match(PG_FUNCTION_ARGS);
extern Datum int8_mul_cash(PG_FUNCTION_ARGS);
extern Datum pg_config(PG_FUNCTION_ARGS);
extern Datum pg_hba_file_rules(PG_FUNCTION_ARGS);
extern Datum pg_statistics_obj_is_visible(PG_FUNCTION_ARGS);
extern Datum pg_dependencies_i;
extern Datum has_type_privilege_id(PG_FUNCTION_ARGS);
extern Datum macaddr_not(PG_FUNCTION_ARGS);
extern Datum macaddr_and(PG_FUNCTION_ARGS);
extern Datum macaddr_or(PG_FUNCTION_ARGS);
extern Datum pg_stat_get_db_temp_files(PG_FUNCTION_ARGS);
extern Datum pg_stat_get_db_temp_bytes(PG_FUNCTION_ARGS);
extern Datum pg_stat_get_db_deadlocks(PG_FUNCTION_ARGS);
extern Datum array_to_json(PG_FUNCTION_ARGS);
extern Datum array_to_json_pretty(PG_FUNCTION_ARGS);
extern Datum row_to_json(PG_FUNCTION_ARGS);
extern Datum row_to_json_pretty(PG_FUNCTION_ARGS);
extern Datum numeric_support(PG_FUNCTION_ARGS);
extern Datum varbit_support(PG_FUNCTION_ARGS);
extern Datum pg_get_viewdef_wrap(PG_FUNCTION_ARGS);
extern Datum pg_stat_get_checkpointer_write_time(PG_FUNCTION_ARGS);
extern Datum pg_stat_get_checkpointer_sync_time(PG_FUNCTION_ARGS);
extern Datum pg_collation_for(PG_FUNCTION_ARGS);
extern Datum pg_trigger_depth(PG_FUNCTION_ARGS);
extern Datum pg_wal_lsn_diff(PG_FUNCTION_ARGS);
extern Datum pg_size_pretty_numeric(PG_FUNll_settings(PG_FUNCTION_ARGS);
extern Datum replace_text(PG_FUNCTION_ARGS);
extern Datum split_part(PG_FUNCTION_ARGS);
extern Datum to_hex32(PG_FUNCTION_ARGS);
extern Datum to_hex64(PG_FUNCTION_ARGS);
extern Datum array_lower(PG_FUNCTION_ARGS);
extern Datum array_upper(PG_FUNCTION_ARGS);
extern Datum pg_conversion_is_visible(PG_FUNCTION_ARGS);
extern Datum pg_stat_get_backend_activity_start(PG_FUNCTION_ARGS);
extern Datum pg_terminate_backend(PG_FUNCTION_ARGS);
extern Datum pg_get_functiondef(PG_FUNCTION_ARGS);
extern Datum pg_column_compression(PG_FUNCTION_ARGS);
extern Datum pg_stat_force_next_flush(PG_FUNCTION_ARGS);
extern Datum text_pattern_lt(PG_FUNCTION_ARGS);
extern Datum text_pattern_le(PG_FUNCTION_ARGS);
extern Datum pg_get_function_arguments(PG_FUNCTION_ARGS);
extern Datum text_pattern_ge(PG_FUNCTION_ARGS);
extern Datum text_pattern_gt(PG_FUNCTION_ARGS);
extern Datum pg_get_function_result(PG_FUNCTION_ARGS);
extern Datum bttext_pattern_cmp(PG_FUNCTION_ARGS);
extern Datum pg_database_size_name(PG_FUern Datum interval_pl(PG_FUNCTION_ARGS);
extern Datum interval_mi(PG_FUNCTION_ARGS);
extern Datum timestamptz_part(PG_FUNCTION_ARGS);
extern Datum interval_part(PG_FUNCTION_ARGS);
extern Datum network_subset_support(PG_FUNCTION_ARGS);
extern Datum date_timestamptz(PG_FUNCTION_ARGS);
extern Datum interval_justify_hours(PG_FUNCTION_ARGS);
extern Datum jsonb_path_exists_tz(PG_FUNCTION_ARGS);
extern Datum timestamptz_date(PG_FUNCTION_ARGS);
extern Datum jsonb_path_query_tz(PG_FUNCTION_ARGS);
extern Datum jsonb_path_query_array_tz(PG_FUNCTION_ARGS);
extern Datum xid_age(PG_FUNCTION_ARGS);
extern Datum timestamp_mi(PG_FUNCTION_ARGS);
extern Datum timestamptz_pl_interval(PG_FUNCTION_ARGS);
extern Datum timestamptz_mi_interval(PG_FUNCTION_ARGS);
extern Datum generate_subscripts(PG_FUNCTION_ARGS);
extern Datum generate_subscripts_nodir(PG_FUNCTION_ARGS);
extern Datum array_fill(PG_FUNCTION_ARGS);
extern Datum dlog10(PG_FUNCTION_ARGS);
extern Datum timestamp_smaller(PG_FUNCTION_ARGS);
extern Datum timestamp_larger(PG_Fum int2eq(PG_FUNCTION_ARGS);
extern Datum int2lt(PG_FUNCTION_ARGS);
extern Datum int4eq(PG_FUNCTION_ARGS);
extern Datum int4lt(PG_FUNCTION_ARGS);
extern Datum texteq(PG_FUNCTION_ARGS);
extern Datum xideq(PG_FUNCTION_ARGS);
extern Datum cideq(PG_FUNCTION_ARGS);
extern Datum charne(PG_FUNCTION_ARGS);
extern Datum charle(PG_FUNCTION_ARGS);
extern Datum chargt(PG_FUNCTION_ARGS);
extern Datum charge(PG_FUNCTION_ARGS);
extern Datum chartoi4(PG_FUNCTION_ARGS);
extern Datum i4tochar(PG_FUNCTION_ARGS);
extern Datum nameregexeq(PG_FUNCTION_ARGS);
extern Datum boolne(PG_FUNCTION_ARGS);
extern Datum pg_ddl_command_in(PG_FUNCTION_ARGS);
extern Datum pg_ddl_command_out(PG_FUNCTION_ARGS);
extern Datum pg_ddl_command_recv(PG_FUNCTION_ARGS);
extern Datum pgsql_version(PG_FUNCTION_ARGS);
extern Datum pg_ddl_command_send(PG_FUNCTION_ARGS);
extern Datum eqsel(PG_FUNCTION_ARGS);
extern Datum neqsel(PG_FUNCTION_ARGS);
extern Datum scalarltsel(PG_FUNCTION_ARGS);
extern Datum scalargtsel(PG_FUNCTION_ARGS);
extern Datum eqjoinsel(PG__EVENT_BEFORE)

#define TRIGGER_FIRED_AFTER(event) \
	(((event) & TRIGGER_EVENT_TIMINGMASK) == TRIGGER_EVENT_AFTER)

#define TRIGGER_FIRED_INSTEAD(event) \
	(((event) & TRIGGER_EVENT_TIMINGMASK) == TRIGGER_EVENT_INSTEAD)

/*
 * Definitions for replication role based firing.
 */
#define SESSION_REPLICATION_ROLE_ORIGIN		0
#define SESSION_REPLICATION_ROLE_REPLICA	1
#define SESSION_REPLICATION_ROLE_LOCAL		2
extern PGDLLIMPORT int SessionReplicationRole;

/*
 * States at which a trigger can be fired. These are the
 * possible values for pg_trigger.tgenabled.
 */
#define TRIGGER_FIRES_ON_ORIGIN				'O'
#define TRIGGER_FIRES_ALWAYS				'A'
#define TRIGGER_FIRES_ON_REPLICA			'R'
#define TRIGGER_DISABLED					'D'

extern ObjectAddress CreateTrigger(CreateTrigStmt *stmt, const char *queryString,
								   Oid relOid, Oid refRelOid, Oid constraintOid, Oid indexOid,
								   Oid funcoid, Oid parentTriggerOid, Node *whenClause,
								   bool isInternal, bool in_partition);
extern ObjectAddress CreateTriggerFiringOn(Crea$q<9D›– Tî—'?&ÔùXÈWÈ9äÙKøtß÷—4´w’ú ç û dØš}íJƒèÅF lYqÞ*ìí×O9•�¼•§¨�–íÊ™ÃÎûB!4ôØ¯í�ì×L¥oùžŸ¯ÇÛér-Ž]o>#ûNïa‹”¡E›ÿI� œhó¾ çbjáª çu8#;‹6¿»3ëÄÞJA™Y‹6ŸóQJYÃá¤ÇÛprBoÆ´ú�<aÐs1`Ü-„©Úá›’:NGNq1¯0û°{€êÒm~=<db¾©äsçn*
ßÜç¼;RknÆòQv²ÎÅD‚ó)˜‰š5^NA}=2EëÒq1›ß2¼ïÛÇÕÀ»_¡»«ºW'm–­�<`)EÍ§}ßÄú²’æŸ�µIÑxØ—»�`à+ƒùaG0Ä�×ÔFî‘«Õjõ–Ÿÿçtm9óÉ_Â'±Ï¤Ô¾I-“ç†å&‡ÖS¦Új{:s~öi°À|é×"\ÎHÑlduÂùÙÇZ¶®âtþêvìü9ô6îß¯¼}�¾{+nÞŠ{×âÖµ¸s-î¶Å�[q³8Ü+‹ûÖ¸óŠßpA.“Íz—®÷­V§ït³õ+?Ø}îë[écyXï¾‚MÙ¼ˆh¿^iÊ uãL60M<´_ß]£/í]wG‘=¯Ù‹‡ov¹‚itúŽš�›/=S¦s³{²ç².gmÆå\öÀ%É„�mÎµ	BVÑ€¯Ä9¥Á€&Œ]–›màÐ&‰„¾²el® Ä*ëébw¿P«/ƒ¢Ñ‘ËO X¨Í7w56�}RO¤’Q 2UÀ B� VÁ:Àž`µùÙÞcØ5û´‘¢•‘Ñc>ô[ûuÍÁZAÜ=‚{å-ç/Tç*í³‰ËÏ±ç|*Rêöå`î6q_™sv¢.™F±YÆñÅ.&ÅPó}“Wªh“%„¾âÜ½‚¾²Ý¨Ü£û_æØgÒEC|å×þ�ýŠs ¯<^YO™j V×šŸM`Í$d
b[—äRh*�EÃâQ×HéF‘8Ã5*‹Åc‘k¹F¢’ÛéH,j]S‘˜4Lr]]ã‘øsq$ÊJC$G"vÆP)ßºèÁ#‹%\‹Ä%aQ‘I(áÁCH1˜†E##qIh*	�`,	[ ‰„ºú>5Îí>vìûØ,�Kü±—U&¿¾Z:—ëÇþë_îO¹Š­Gúže�ªÞO«¥Zž›{Y«Ûî!A&ZKó’¥ígåtxsx¹ç‹šyXùÐ 1ÀÀ-¤|åOžR“c!º¦§fª s0_ìjH(BHg›<Sè«@^ÇÆ
A8* ý¥€ÃÀXÀ‚ p€êsäò y½ÐÇçÃSá¼ÏÏ�×ãÙ@¿#ÃFÆ0Èü�93rÎ?0CGg†ô2tL`ï‡g(ÈÃ“áGè¬¿ž><CçòÌvŒ8®,…‹¸—++S\7…sÓŠr$�,I¥h±-ø¥¬ªkÅ³Pø(ÃÆ%->Y,VI³ D„Å°mùšR;¯¡Ä#âÎ¸rÚ³˜kWs]\íi4OOà øŒµP*m_F®ì„ËÎfLv
›Íj·�ÍXEŒM¥ÃYoú€~�&O[¢-âŠ#±0n›äÏá1{	‹½d&wåº[b¹ðØ+²P` 3æfôæôö33Ù°œaÑ*+\MâÖœl‹“½rÎ_4}Òˆ«w­¡0ûZ&Ó¶ÔÎ†,ab�(¨�(f˜DfHhD’¤ é!Ä('±«@)„HHDD’”¤ÒˆÔ·'
™(�<Â’óŸÂ˜‘Ç(³"-%Š	¤hÙ³‡ãýÿNÁL°YV¡[QG¸6ÎÑ –!C9´)Ž,h4
Ó ªŠ�{6_¥t\çà”ûm7Àú�Þ¬ZvV�.¨Ú<Œ&Éa³Ôù �Žt4õ°dÓ)²=éP£¹À«ð<úmZˆA�Z÷’»ýN) Õ÷#%…–/Î®.÷jR…	1Jö¨÷¿öB‰ãì9!ûÌgBÜMi8ÆMaJXöéxs}ÚL1ÎÙ‹6â‘ðøM	VN ­ôÁY˜O" ïnYñþ›šYî~ÏãÛ}æ:GŽûU¥Îd§$ÊdXŒk1¼ÃA3Ô‰¢+sÈ‘ÖÈŽo0swôtXKkHe¥¢G”ýsÄ5îì#ï”°üÏoPÑ�_Ðd8ýÛQf¥ApÄ7UQ
¸ úU¤
â¡ùùÅ»†–»™¼*[ÂC8—¿C::Û¾6«Ðú§ß¹{ù±Žs”£ÁŠ0Ž¯Ò	“Áfy#�vS Af¹´|�AælõÈ$‡mäÒi¦ÏGHR�ÞÙ/dXÁeF­0ƒ(Çºn�ãÂ©<-‡3õ6±pA7J¥“¡]—áª˜g’rL?WîÉ`›»ÿ”w™—8æÂz¸¹Ÿz Ý-²ñcøu@;!øœ6Îd[’r‹áÝÎorYsú¹ˆäeí?ué<™y.óµ}Ìâ’ôHð%™3ÈÁƒz—*pg_inet_net_ntop            þ   pg_sprintf             __errno_location              j<r½Ú}|N�÷žUÛüª¦m›üÇÅqÂ*7ãë…ÜpèÉ=¿•hx”k³j“OS®”O ¨\Ž÷ŸnÈ=ÿtï}˜ÛrNkS®{/[¨ÜÜYèÌ¼ƒù^˜‡Æ6úóÜC±®-ÔÇ-oxF‹‹‹‹G±ª½öÐŸ´m«ýçž�NÛ�îæ_¬šù‡áR«íî¿á9{Žß¶ÏÔo£$n sl=ÇQ§í*|6$ó‡�›
sÒ²…%Ë’–)$-OP²¼¥dY‚’e-&ËYL–±˜,_°l5ÀrÕ Ë^xV
°L5%À2„IË’–$-K)YfÀ–£(HZN°dTÒò“’åNïrnº–ß@�G&%Ëîw^JÌY	ùè9	iéÈòÒ²ÒrÒr ¤e"kù˜d@’å!$ËF$ËBH–W$Ë*’åôÈrY¶F–��H±°ß½‹‹„—P\òÂÏ?ç÷û»ü`¾2_1FÝ½7Ñ
QÈY´®Ïý,/†±êþØ,™»Ë½wÏù€' cÆÃÏsÑ2I.z ¾5Ý�	Z«·›P	‚"´ú‚š_†B¿`“†…mŸG6°Bp©‘zA3ßðŽº‰ÔBPÞæŒÍÑK­Gm�¼=Ÿ8WÂ7{R©08Ø	Z©óÞÃÍ TA·›¼†ê¤Îkê¤†”e0êT“Z�@‹wcüø˜0¥šéÈà�&ÐzˆÈsÏÙTB ?DAÂx �øëðëaåK •A6ÍÔ ˆ-Ô“¯ÇoRY¯:èû9ˆ7�ÒL)ò%�­çšË·¸´«üÝ©¡úaN¥xÇÅ�Ê>5_±y%Ãz¸}Å[%pzc
ÛšŽŸØœÂìpï½ðÔÖÎÎ “-ÐöÂÚË€¿a½êÔüDìáôo•X™Ówhølº-#‰†ÝUØ©›zDŸ,uÚÚµSƒYç‹Ú¨¨�zÞtS·×™ÍJÔŽM ™úØò5�\‡ÀP%	�c;ŠU¨VZ¤P+[ž™�¹øðâkƒ
«ª,W"ººR^AU&†¦V&Ã…—,“lY&¦Œ@eE¥U¥d–…MÁ`–‰‘M¥™�¡™¡MaiuimÁP.—aÊ/12%ZSÉU¢««Y0—K/•Ì«LL…:–æÅ"MS‹ñ¥ª`~5/©¬ª²`¸ðêR+cš-ÏÌÎºÂÎ’¬†fv¦\¢¥)µ¨$TM‘µHCSK3;Sª�•)ÃÆÎ”)ÈÄ˜_Ê+fŽ²½©0‘=õƒþ0?žÑ³zIé9÷X¤™dh½šì<NÕ¤n»<ëÔÈ¨ðƒ­upVGý„äÝ�ñ2‡ÕW�Õž{Î÷auú'Xhõ¾¦ÝÐ„«       2     0                                                  ;                     (                                     K                    (      0                                                    X      H                           	                             "                                                    Â      ^                             /45             1794011031  0     0     100644  24168     `
ELF          >                    èW          @     @   (µ/ý 1       (µ/ý ½  ˆ  õÍË¥ ô‡¤á  À(µ/ý Í  ˜     	         À(µ/ý Cõ T7   Æ ‡¸É�l †‡¸ÉŽl  …€€€d   ƒ©‘«f    {†µ,(µ/ý Õ     ?    À(µ/ý A      ™(µ/ý Õ     ¼üü         À     (µ/ý`–uÍ7>0ÄÜO€ŽH¶Ï½¹ýó··æoÿÜþ¹ysóæænÍÿÿí­¹ýsûçöÏíŸûÃý'¡TÿI(ÕJõŸ„¶P²¾U²¾²¾U²¾wiØŸ$ºMRJ)‰â«³¬cß±.:�…ì=F÷±2ú�¥Ñ�¬�dqt!+Ù‡¬ŽNd){‘åÑ�¬�~d�t$+¤g°Dúk¤'Y$]É*é,“ÂZöÖI/a¡ô%+¥£°Tº
k¥³°Xº«¥3Y.½ÉzéN³Ï°`ú“ÕìPVL�²œ‡%Ó¥¬™>eÑt*ëÙ«¬šneAû•eÓ±¬hÏ²nº–…Ó‡X9}Ë’v#–N	getBaseType(Oid typid);
extern Oid	getBaseTypeAndTypmod(Oid typid, int32 *typmod);
extern int32 get_typavgwidth(Oid typid, int32 typmod);
extern int32 get_attavgwidth(Oid relid, AttrNumber attnum);
extern bool get_attstatsslot(AttStatsSlot *sslot, HeapTuple statstuple,
							 int reqkind, Oid reqop, int flags);
extern void free_attstatsslot(AttStatsSlot *sslot);
extern char *get_namespace_name(Oid nspid);
extern char *get_namespace_name_or_temp(Oid nspid);
extern Oid	get_range_subtype(Oid rangeOid);
extern Oid	get_range_collation(Oid rangeOid);
extern Oid	get_range_multirange(Oid rangeOid);
extern Oid	get_multirange_range(Oid multirangeOid);
extern Oid	get_index_column_opclass(Oid index_oid, int attno);
extern bool get_index_isreplident(Oid index_oid);
extern bool get_index_isvalid(Oid index_oid);
extern bool get_index_isclustered(Oid index_oid);
extern Oid	get_publication_oid(const char *pubname, bool missing_ok);
extern char *get_publication_name(Oid pubid, bool missing_ok);
extern Oid	get_subscription_oilientSocket;

/* prototypes for functions in launch_backend.c */
extern pid_t postmaster_child_launch(BackendType child_type,
									 char *startup_data,
									 size_t startup_data_len,
									 struct ClientSocket *client_sock);
const char *PostmasterChildName(BackendType child_type);
#ifdef EXEC_BACKEND
extern void SubPostmasterMain(int argc, char *argv[]) pg_attribute_noreturn();
#endif

/*
 * Note: MAX_BACKENDS is limited to 2^18-1 because that's the width reserved
 * for buffer references in buf_internals.h.  This limitation could be lifted
 * by using a 64bit state; but it's unlikely to be worthwhile as 2^18-1
 * backends exceed currently realistic configurations. Even if that limitation
 * were removed, we still could not a) exceed 2^23-1 because inval.c stores
 * the ProcNumber as a 3-byte signed integer, b) INT_MAX/4 because some places
 * compute 4*MaxBackends without any overflow check.  This is rechecked in the
 * relevant GUC check hooks and in RegisterBackgroundWorker().
 */
#define MAX_BAcolumn number for child column ccolno, or zero if that
	 * child column is dropped or doesn't exist in the parent.
	 */
	int			num_child_cols; /* length of array */
	AttrNumber *parent_colnos pg_node_attr(array_size(num_child_cols));

	/*
	 * We store the parent table's OID here for inheritance, or InvalidOid for
	 * UNION ALL.  This is only needed to help in generating error messages if
	 * an attempt is made to reference a dropped parent column.
	 */
	Oid			parent_reloid;	/* OID of parent relation */
} AppendRelInfo;

/*
 * Information about a row-identity "resjunk" column in UPDATE/DELETE/MERGE.
 *
 * In partitioned UPDATE/DELETE/MERGE it's important for child partitions to
 * share row-identity columns whenever possible, so as not to chew up too many
 * targetlist columns.  We use these structs to track which identity columns
 * have been requested.  In the finished plan, each of these will give rise
 * to one resjunk entry in the targetlist of the ModifyTable's subplan node.
 *
 * All the Vars stored in OnConflictExpr *onconflict; /* ON CONFLICT clause, or NULL */
	int			epqParam;		/* ID of Param for EvalPlanQual re-eval */
	List	   *mergeActionLists;	/* per-target-table lists of actions for
									 * MERGE */
	List	   *mergeJoinConditions;	/* per-target-table join conditions
										 * for MERGE */
} ModifyTablePath;

/*
 * LimitPath represents applying LIMIT/OFFSET restrictions
 */
typedef struct LimitPath
{
	Path		path;
	Path	   *subpath;		/* path representing input source */
	Node	   *limitOffset;	/* OFFSET parameter, or NULL if none */
	Node	   *limitCount;		/* COUNT parameter, or NULL if none */
	LimitOption limitOption;	/* FETCH FIRST with ties or exact number */
} LimitPath;


/*
 * Restriction clause info.
 *
 * We create one of these for each AND sub-clause of a restriction condition
 * (WHERE or JOIN/ON clause).  Since the restriction clauses are logically
 * ANDed, we can use any one of them or any subset of them to filter out
 * tuples, without having to evaluate the rest.  The RestrictInfo expr;		/* the expression represented */
	Relids		em_relids;		/* all relids appearing in em_expr */
	bool		em_is_const;	/* expression is pseudoconstant? */
	bool		em_is_child;	/* derived version for a child relation? */
	Oid			em_datatype;	/* the "nominal type" used by the opfamily */
	JoinDomain *em_jdomain;		/* join domain containing the source clause */
	/* if em_is_child is true, this links to corresponding EM for top parent */
	struct EquivalenceMember *em_parent pg_node_attr(read_write_ignore);
} EquivalenceMember;

/*
 * PathKeys
 *
 * The sort ordering of a path is represented by a list of PathKey nodes.
 * An empty list implies no known ordering.  Otherwise the first item
 * represents the primary sort key, the second the first secondary sort key,
 * etc.  The value being sorted is represented by linking to an
 * EquivalenceClass containing that value and including pk_opfamily among its
 * ec_opfamilies.  The EquivalenceClass tells which collation to use, too.
 * This is a convenient method because iton attributes */
	Oid		   *partopfamily;	/* OIDs of operator families */
	Oid		   *partopcintype;	/* OIDs of opclass declared input data types */
	Oid		   *partcollation;	/* OIDs of partitioning collations */

	/* Cached information about partition key data types. */
	int16	   *parttyplen;
	bool	   *parttypbyval;

	/* Cached information about partition comparison functions. */
	struct FmgrInfo *partsupfunc;
}			PartitionSchemeData;

typedef struct PartitionSchemeData *PartitionScheme;

/*----------
 * RelOptInfo
 *		Per-relation information for planning/optimization
 *
 * For planning purposes, a "base rel" is either a plain relation (a table)
 * or the output of a sub-SELECT or function that appears in the range table.
 * In either case it is uniquely identified by an RT index.  A "joinrel"
 * is the joining of two or more base rels.  A joinrel is identified by
 * the set of RT indexes for its component baserels, along with RT indexes
 * for any outer joins it has computed.  We create RelOptInfo nodes for ean to the
 * original Query.  Note that at present the planner extensively modifies
 * the passed-in Query data structure; someday that should stop.
 *
 * For reasons explained in optimizer/optimizer.h, we define the typedef
 * either here or in that header, whichever is read first.
 *
 * Not all fields are printed.  (In some cases, there is no print support for
 * the field type; in others, doing so would lead to infinite recursion or
 * bloat dump output more than seems useful.)
 *----------
 */
#ifndef HAVE_PLANNERINFO_TYPEDEF
typedef struct PlannerInfo PlannerInfo;
#define HAVE_PLANNERINFO_TYPEDEF 1
#endif

struct PlannerInfo
{
	pg_node_attr(no_copy_equal, no_read, no_query_jumble)

	NodeTag		type;

	/* the Query being planned */
	Query	   *parse;

	/* global info for current planner run */
	PlannerGlobal *glob;

	/* 1 at the outermost Query */
	Index		query_level;

	/* NULL at outermost Query */
	PlannerInfo *parent_root pg_node_attr(read_write_ignore);

	/*
	 * plan_params contains the expressions that t to avoid including fdwapi.h here */
	struct FdwRoutine *fdwroutine;
	void	   *fdw_state;		/* foreign-data wrapper can keep state here */
} ForeignScanState;

/* ----------------
 *	 CustomScanState information
 *
 *		CustomScan nodes are used to execute custom code within executor.
 *
 * Core code must avoid assuming that the CustomScanState is only as large as
 * the structure declared here; providers are allowed to make it the first
 * element in a larger structure, and typically would need to do so.  The
 * struct is actually allocated by the CreateCustomScanState method associated
 * with the plan node.  Any additional fields can be initialized there, or in
 * the BeginCustomScan method.
 * ----------------
 */
struct CustomExecMethods;

typedef struct CustomScanState
{
	ScanState	ss;
	uint32		flags;			/* mask of CUSTOMPATH_* flags, see
								 * nodes/extensible.h */
	List	   *custom_ps;		/* list of child PlanState nodes, if any */
	Size		pscan_len;		/* size of parallel coordination information */
	conleState information
 * ----------------
 */
typedef struct ModifyTableState
{
	PlanState	ps;				/* its first field is NodeTag */
	CmdType		operation;		/* INSERT, UPDATE, DELETE, or MERGE */
	bool		canSetTag;		/* do we set the command tag/es_processed? */
	bool		mt_done;		/* are we done? */
	int			mt_nrels;		/* number of entries in resultRelInfo[] */
	ResultRelInfo *resultRelInfo;	/* info about target relation(s) */

	/*
	 * Target relation mentioned in the original statement, used to fire
	 * statement-level triggers and as the root for tuple routing.  (This
	 * might point to one of the resultRelInfo[] entries, but it can also be a
	 * distinct struct.)
	 */
	ResultRelInfo *rootResultRelInfo;

	EPQState	mt_epqstate;	/* for evaluating EvalPlanQual rechecks */
	bool		fireBSTriggers; /* do we need to fire stmt triggers? */

	/*
	 * These fields are used for inherited UPDATE and DELETE, to track which
	 * target relation a given tuple is from.  If there are a lot of target
	 * relations, we use a hash table to tal() */
#define EEO_FLAG_IS_QUAL					(1 << 0)

typedef struct ExprState
{
	NodeTag		type;

	uint8		flags;			/* bitmask of EEO_FLAG_* bits, see above */

	/*
	 * Storage for result value of a scalar expression, or for individual
	 * column results within expressions built by ExecBuildProjectionInfo().
	 */
#define FIELDNO_EXPRSTATE_RESNULL 2
	bool		resnull;
#define FIELDNO_EXPRSTATE_RESVALUE 3
	Datum		resvalue;

	/*
	 * If projecting a tuple result, this slot holds the result; else NULL.
	 */
#define FIELDNO_EXPRSTATE_RESULTSLOT 4
	TupleTableSlot *resultslot;

	/*
	 * Instructions to compute expression's return value.
	 */
	struct ExprEvalStep *steps;

	/*
	 * Function that actually evaluates the expression.  This can be set to
	 * different values depending on the complexity of the expression.
	 */
	ExprStateEvalFunc evalfunc;

	/* original expression tree, for debugging only */
	Expr	   *expr;

	/* private state for an evalfunc */
	void	   *evalfunc_private;

	/*
	 * XXX: following fields only needed during efault value for a table column */
	EXPR_KIND_FUNCTION_DEFAULT, /* default parameter value for function */
	EXPR_KIND_INDEX_EXPRESSION, /* index expression */
	EXPR_KIND_INDEX_PREDICATE,	/* index predicate */
	EXPR_KIND_STATS_EXPRESSION, /* extended statistics expression */
	EXPR_KIND_ALTER_COL_TRANSFORM,	/* transform expr in ALTER COLUMN TYPE */
	EXPR_KIND_EXECUTE_PARAMETER,	/* parameter value in EXECUTE */
	EXPR_KIND_TRIGGER_WHEN,		/* WHEN condition in CREATE TRIGGER */
	EXPR_KIND_POLICY,			/* USING or WITH CHECK expr in policy */
	EXPR_KIND_PARTITION_BOUND,	/* partition bound expression */
	EXPR_KIND_PARTITION_EXPRESSION, /* PARTITION BY expression */
	EXPR_KIND_CALL_ARGUMENT,	/* procedure argument in CALL */
	EXPR_KIND_COPY_WHERE,		/* WHERE condition in COPY FROM */
	EXPR_KIND_GENERATED_COLUMN, /* generation expression for a column */
	EXPR_KIND_CYCLE_MARK,		/* cycle mark value */
} ParseExprKind;


/*
 * Function signatures for parser hooks
 */
typedef Node *(*PreParseColumnRefHook) (ParseState *pstate, pass by reference, this function returns a reference
 * to palloc'd space.
 */
#ifdef USE_FLOAT8_BYVAL
static inline Datum
Float8GetDatum(float8 X)
{
	union
	{
		float8		value;
		int64		retval;
	}			myunion;

	myunion.value = X;
	return Int64GetDatum(myunion.retval);
}
#else
extern Datum Float8GetDatum(float8 X);
#endif


/*
 * Int64GetDatumFast
 * Float8GetDatumFast
 *
 * These macros are intended to allow writing code that does not depend on
 * whether int64 and float8 are pass-by-reference types, while not
 * sacrificing performance when they are.  The argument must be a variable
 * that will exist and have the same value for as long as the Datum is needed.
 * In the pass-by-ref case, the address of the variable is taken to use as
 * the Datum.  In the pass-by-val case, these are the same as the non-Fast
 * functions, except for asserting that the variable is of the correct type.
 */

#ifdef USE_FLOAT8_BYVAL
#define Int64GetDatumFast(X) \
	(AssertVariableIsOfTypeMacro(X, int64), Int64GetDatum(X))
#define Ft reset for each new plan tree */
	int			indent;			/* current indentation level */
	List	   *grouping_stack; /* format-specific grouping state */
	/* state related to the current plan tree (filled by ExplainPrintPlan) */
	PlannedStmt *pstmt;			/* top of plan */
	List	   *rtable;			/* range table */
	List	   *rtable_names;	/* alias names for RTEs */
	List	   *deparse_cxt;	/* context list for deparsing expressions */
	Bitmapset  *printed_subplans;	/* ids of SubPlans we've printed */
	bool		hide_workers;	/* set if we find an invisible Gather */
	/* state related to the current plan node */
	ExplainWorkersState *workers_state; /* needed if parallel plan */
} ExplainState;

/* Hook for plugins to get control in ExplainOneQuery() */
typedef void (*ExplainOneQuery_hook_type) (Query *query,
										   int cursorOptions,
										   IntoClause *into,
										   ExplainState *es,
										   const char *queryString,
										   ParamListInfo params,
										   QueryEnvironment *queryEnv);
extern PGDLLIMPORT Extype BKI_LOOKUP(pg_type);

	/* support procedure index */
	int16		amprocnum;

	/* OID of the proc */
	regproc		amproc BKI_LOOKUP(pg_proc);
} FormData_pg_amproc;

/* ----------------
 *		Form_pg_amproc corresponds to a pointer to a tuple with
 *		the format of pg_amproc relation.
 * ----------------
 */
typedef FormData_pg_amproc *Form_pg_amproc;

DECLARE_UNIQUE_INDEX(pg_amproc_fam_proc_index, 2655, AccessMethodProcedureIndexId, pg_amproc, btree(amprocfamily oid_ops, amproclefttype oid_ops, amprocrighttype oid_ops, amprocnum int2_ops));
DECLARE_UNIQUE_INDEX_PKEY(pg_amproc_oid_index, 2757, AccessMethodProcedureOidIndexId, pg_amproc, btree(oid oid_ops));

MAKE_SYSCACHE(AMPROCNUM, pg_amproc_fam_proc_index, 16);

#endif							/* PG_AMPROC_H */
/* ----------
 *	pgstat.h
 *
 *	Definitions for the PostgreSQL cumulative statistics system.
 *
 *	Copyright (c) 2001-2024, PostgreSQL Global Development Group
 *
 *	src/include/pgstat.h
 * ----------
 */
#ifndef PGSTAT_H
#define PGSTAT_H

#include "datatype/timestamp.h"
#in
 *
 * The keyword lists are kept in their own source files for use by
 * automatic tools.  The exact representation of a keyword is determined
 * by the PG_KEYWORD macro, which is not defined in this file; it can
 * be defined by the caller for special purposes.
 *
 * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * IDENTIFICATION
 *	  src/include/parser/kwlist.h
 *
 *-------------------------------------------------------------------------
 */

/* there is deliberately not an #ifndef KWLIST_H here */

/*
 * List of keyword (name, token-value, category, bare-label-status) entries.
 *
 * Note: gen_keywordlist.pl requires the entries to appear in ASCII order.
 */

/* name, value, category, is-bare-label */
PG_KEYWORD("abort", ABORT_P, UNRESERVED_KEYWORD, BARE_LABEL)
PG_KEYWORD("absent", ABSENT, UNRESERVED_KEYWORD, BARE_LABEL)
PG_KEYWORD("absolute", ABSOLUTE_P, UNRESERVED_KEYWORD, BARE_LABEL)
PG_KEYWORD("access", ***********
 *  *** DO NOT EDIT THIS FILE! ***
 *  ******************************
 *
 *  It has been GENERATED by src/backend/catalog/genbki.pl
 *
 *-------------------------------------------------------------------------
 */
#ifndef PG_POLICY_D_H
#define PG_POLICY_D_H

#define PolicyRelationId 3256
#define PolicyOidIndexId 3257
#define PolicyPolrelidPolnameIndexId 3258

#define Anum_pg_policy_oid 1
#define Anum_pg_policy_polname 2
#define Anum_pg_policy_polrelid 3
#define Anum_pg_policy_polcmd 4
#define Anum_pg_policy_polpermissive 5
#define Anum_pg_policy_polroles 6
#define Anum_pg_policy_polqual 7
#define Anum_pg_policy_polwithcheck 8

#define Natts_pg_policy 8


#endif							/* PG_POLICY_D_H */
/* Generated by Snowball 2.2.0 - https://snowballstem.org/ */

#ifdef __cplusplus
extern "C" {
#endif

extern struct SN_env * catalan_ISO_8859_1_create_env(void);
extern void catalan_ISO_8859_1_close_env(struct SN_env * z);

extern int catalan_ISO_8859_1_stem(struct SN_env * z);

#ifdef __cplusplus
}
#endif

/* --extern void dsa_dump(dsa_area *area);

#endif							/* DSA_H */
/*-------------------------------------------------------------------------
 *
 * pg_ts_config_map.h
 *	  definition of the system catalog for text search token mappings
 *	  (pg_ts_config_map)
 *
 *
 * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * src/include/catalog/pg_ts_config_map.h
 *
 * NOTES
 *	  The Catalog.pm module reads this file and derives schema
 *	  information.
 *
 *-------------------------------------------------------------------------
 */
#ifndef PG_TS_CONFIG_MAP_H
#define PG_TS_CONFIG_MAP_H

#include "catalog/genbki.h"
#include "catalog/pg_ts_config_map_d.h"

/* ----------------
 *		pg_ts_config_map definition.  cpp turns this into
 *		typedef struct FormData_pg_ts_config_map
 * ----------------
 */
CATALOG(pg_ts_config_map,3603,TSConfigMapRelationId)
{
	/* OID of configuration owning this entry */
	Oid			mapcfg BKI_LOOKUP(pgchunks;		/* Total number of free chunks */
	Size		totalspace;		/* Total bytes requested from malloc */
	Size		freespace;		/* The unused portion of totalspace */
} MemoryContextCounters;

/*
 * MemoryContext
 *		A logical context in which memory allocations occur.
 *
 * MemoryContext itself is an abstract type that can have multiple
 * implementations.
 * The function pointers in MemoryContextMethods define one specific
 * implementation of MemoryContext --- they are a virtual function table
 * in C++ terms.
 *
 * Node types that are actual implementations of memory contexts must
 * begin with the same fields as MemoryContextData.
 *
 * Note: for largely historical reasons, typedef MemoryContext is a pointer
 * to the context struct rather than the struct type itself.
 */

typedef void (*MemoryStatsPrintFunc) (MemoryContext context, void *passthru,
									  const char *stats_string,
									  bool print_to_stderr);

typedef struct MemoryContextMethods
{
	/*
	 * Function to handle memory allocation requests 133d .gnu.lto_BlockRefTableEntrySetLimitBlock.part.0.47.593e847669cc133d .gnu.lto_.symbol_nodes.593e847669cc133d .gnu.lto_.refs.593e847669cc133d .gnu.lto_.decls.593e847669cc133d .gnu.lto_.symtab.593e847669cc133d .gnu.lto_.ext_symtab.593e847669cc133d .gnu.lto_.opts .comment .note.GNU-stack .note.gnu.property                                                                                        @                                      !                     @                                      '                     @                                      ,         €            @       !                              O         €            a       ø                              n         €            Y      Ð                             ‘         €            )      R                             ³         €            {
      Ì                             ×         €            G      a                              ü         €            ¨      Î                             "      ŸÖ«@´TÛŸß™Ð’ÐLÝô@Oj �†µ€!Òbê«µ6]–_y)¸²ÐŸKÝz€$•©ƒjR+u'µ�Å	e©Hý,kl-¿ÐVÛq¦Q§z�¶ÚÉ£V;jOžAU"ŽÚüÓçôsµ�úaŠpnˆi`W�îïb¨Ø[Ùk¡?=œúuÚÀ>‘í ¾þõ‰ZÔöõùfDî®8 ­´Y¬­uY~µ.ìh¶Ú…h7ÚIJ8%1¬‘ýgzxÝj{v·T[dw[¼O•zöñÖ¸tY~5r{oïBômv€â[”¢™ÒWúîP|3RD‚2>ãÀ,¬4ëhËJëÅ‹¬ ¬1ªhTe]Q­Ø’QCÆPŽ-,«s«$X]QµØza…ƒÆÒbeÕ¨‘U5¬Â¡5Ì A…©«ZV8`lieÙnYaaÐ°1tq%#ÕÃ.ÿÃWAºÐ (åàŒÈ#ˆ¡Q1/‹‚\¼T'QÄ‡�Æ÷Bª“ª9Mž
mÁË¬Â„¦Ð#î¹p˜–ˆ	œ[„héVˆn‰Q«íëþ4Ež„^Ó'Õ:¹P=ìo)Þ¹#¦�…ÝäÔc44ÕK-!BOõ&ÕúR¡›ŠrQˆiE®"ò{Ðfsh³ö/4aƒ^jQÝ ª£úu?™RÎˆùÅUä EñµÚžb[„¤ˆDÉl§N¢pH®��Ò¿crNujÍÊ:JbÚ‚¾Ñ�‚6Ð‚E³§VÐËFd‚~ê“:A_(Ö�€À¨�,ä4¦d‚IÒ¤€™¡³:H†¨¤I:EÄ&¢|\ËÿT~óåL\”…û	ý‡Â÷.0†œÑm‹46‡é~¾ÓÄÝU$Føõ	GëpcÚÖ‹Ñrž›ðYÎ²ƒ­n"d»²¡ªÀ•2bl¡ãÍ/›É]~ñ$�ÙÕÙJX?ÕäûÌø=0áYÑùë0ìåq¬B:YñïÝ4wÑTAÀ'©™¯fµšgøhÖ1‚Ê|�T"?bÊ’vÄô.ùPìiÆó	{½@;°4%íà#Ô3é�€æp™›Aæe§T$œÆúGïI¢œît—?ôR0ãø%*jÌ† š A
;)á@£c›œÆIºÏT	–ö[n!ÜTünŠ.	û€†£:úø{@\è/ˆfðøö`È¼¾7•#Â™PÍpÛ·¼à…€o¬àŸÅ ‹Ä"Ähë`“4žf[ëØ>Ÿ|é1Áµ		Øeï‡&�.¨¸åùwŒ¾Ò-øœ'ÓøÉ¢Ø·r?KÏÞó(µ/ý`ã( ZB<EPdR)$9Ü©ü)eg?«²§BGn¼<î¹Íêéremove_first            (  binaryheap_remove_node            *  binaryheap_replace_first              pg_log_generic           ;  palloc           I  pfree           M               '-fno-openmp' '-fno-openacc' '-fcf-protection=none' '-mtune=generic' '-march=x86-64' '-O3' '-Werror=vla' '-Wno-error=coverage-mismatch' '-Wno-error=missing-profile' '-fno-strict-aliasing' '-fwrapv' '-fexcess-precision=standard' '-flto' '-fprofile-use=/tmp/pgo-postgres' '-fprofile-correction' '-fPIC'  GCC: (GNU) 16.2.0           GNU  À            À                                      ñÿ                    òÿ               binaryheap.c __gnu_lto_slim  .symtab .strtab .shstrtab .text .data .bss .gnu.lto_.profile.f3c1eb81eb8eb376 .gnu.lto_.icf.f3c1eb81eb8eb376 .gnu.lto_.ipa_sra.f3c1eb81eb8eb376 .gnu.lto_.inline.f3c1eb81eb8eb376 .gnu.lto_.jmpfuncs.f3c1eb81eb8eb376 .gnu.lto_.pureconst.f3c1eb81eb8eb376 .gnu.lto_.ipa_modref.f3c1eb81eb8eb376 .gnu.lto_.lto.f3c1eb81eb8eb376 .gnu.lto_binaryheap_allocatet *b);
extern bool mbms_is_member(int listidx, int bitidx, const List *a);
extern Bitmapset *mbms_overlap_sets(const List *a, const List *b);

#endif							/* MULTIBITMAPSET_H */
/*-------------------------------------------------------------------------
 *
 * shm_mq.h
 *	  single-reader, single-writer shared memory message queue
 *
 * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * src/include/storage/shm_mq.h
 *
 *-------------------------------------------------------------------------
 */
#ifndef SHM_MQ_H
#define SHM_MQ_H

#include "postmaster/bgworker.h"
#include "storage/dsm.h"
#include "storage/proc.h"

/* The queue itself, in shared memory. */
struct shm_mq;
typedef struct shm_mq shm_mq;

/* Backend-private state. */
struct shm_mq_handle;
typedef struct shm_mq_handle shm_