@inkeep/agents-run-api 0.37.2 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{SandboxExecutorFactory-A2LTPE2X.js → SandboxExecutorFactory-2N27SE3B.js} +1 -1
- package/dist/{chunk-W6UIBREL.js → chunk-EVOISBFH.js} +9 -9
- package/dist/{chunk-SBJLXGYG.js → chunk-JCVMVG3J.js} +2 -2
- package/dist/{chunk-BQB27EXW.js → chunk-KCJWSIDZ.js} +3 -3
- package/dist/{chunk-QOUOKHYQ.js → chunk-UC2EPLSW.js} +1 -1
- package/dist/{conversations-33GSAG2C.js → conversations-XPSTWUMK.js} +1 -1
- package/dist/dbClient-MAHUR4TO.js +1 -0
- package/dist/index.cjs +407 -328
- package/dist/index.js +325 -241
- package/dist/instrumentation.cjs +1 -1
- package/dist/instrumentation.js +1 -1
- package/dist/{nodefs-ZHXQGWPG.js → nodefs-RPE52Q4Z.js} +1 -1
- package/dist/{opfs-ahp-CJXSQU3E.js → opfs-ahp-QL4REJJW.js} +2 -2
- package/package.json +9 -9
- package/dist/dbClient-47AP7OHJ.js +0 -1
- package/dist/{chunk-CDYXP4BN.js → chunk-KBZIYCPJ.js} +1 -1
- package/dist/{chunk-SUUSOBLI.js → chunk-THWNUGWP.js} +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var agentsCore = require('@inkeep/agents-core');
|
|
6
5
|
var zodOpenapi = require('@hono/zod-openapi');
|
|
6
|
+
var agentsCore = require('@inkeep/agents-core');
|
|
7
7
|
var s3 = require('fs');
|
|
8
8
|
var o3 = require('path');
|
|
9
9
|
var schema = require('@inkeep/agents-core/db/schema');
|
|
@@ -12,12 +12,6 @@ var child_process = require('child_process');
|
|
|
12
12
|
var crypto2 = require('crypto');
|
|
13
13
|
var os = require('os');
|
|
14
14
|
var sandbox = require('@vercel/sandbox');
|
|
15
|
-
var otel = require('@hono/otel');
|
|
16
|
-
var api = require('@opentelemetry/api');
|
|
17
|
-
var hono = require('hono');
|
|
18
|
-
var cors = require('hono/cors');
|
|
19
|
-
var httpException = require('hono/http-exception');
|
|
20
|
-
var requestId = require('hono/request-id');
|
|
21
15
|
var autoInstrumentationsNode = require('@opentelemetry/auto-instrumentations-node');
|
|
22
16
|
var baggageSpanProcessor = require('@opentelemetry/baggage-span-processor');
|
|
23
17
|
var contextAsyncHooks = require('@opentelemetry/context-async-hooks');
|
|
@@ -27,6 +21,12 @@ var resources = require('@opentelemetry/resources');
|
|
|
27
21
|
var sdkNode = require('@opentelemetry/sdk-node');
|
|
28
22
|
var sdkTraceBase = require('@opentelemetry/sdk-trace-base');
|
|
29
23
|
var semanticConventions = require('@opentelemetry/semantic-conventions');
|
|
24
|
+
var otel = require('@hono/otel');
|
|
25
|
+
var api = require('@opentelemetry/api');
|
|
26
|
+
var hono = require('hono');
|
|
27
|
+
var cors = require('hono/cors');
|
|
28
|
+
var httpException = require('hono/http-exception');
|
|
29
|
+
var requestId = require('hono/request-id');
|
|
30
30
|
var factory = require('hono/factory');
|
|
31
31
|
var swaggerUi = require('@hono/swagger-ui');
|
|
32
32
|
var streaming = require('hono/streaming');
|
|
@@ -128,10 +128,10 @@ var init_logger = __esm({
|
|
|
128
128
|
}
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
131
|
+
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/chunk-QY3QWFKW.js
|
|
132
132
|
var p, i2, c, f, l, s, a, _, d, D, F, g, L, P, n, h, R, x, T, U, u;
|
|
133
133
|
var init_chunk_QY3QWFKW = __esm({
|
|
134
|
-
"../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
134
|
+
"../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/chunk-QY3QWFKW.js"() {
|
|
135
135
|
p = Object.create;
|
|
136
136
|
i2 = Object.defineProperty;
|
|
137
137
|
c = Object.getOwnPropertyDescriptor;
|
|
@@ -168,7 +168,7 @@ var init_chunk_QY3QWFKW = __esm({
|
|
|
168
168
|
}
|
|
169
169
|
});
|
|
170
170
|
|
|
171
|
-
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
171
|
+
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/chunk-3WWIVTCY.js
|
|
172
172
|
function ue(e, t2, n3) {
|
|
173
173
|
if (e === null) return null;
|
|
174
174
|
let r = n3?.[t2] ?? Se.parsers[t2];
|
|
@@ -283,7 +283,7 @@ function Nr(e) {
|
|
|
283
283
|
}
|
|
284
284
|
var hn, ht, bt, be, ge, gt, we, ve, Ge, wt, V, je, At, xt, St, Ae, Dt, Bt, It, Mt, Rt, Tt, Qe, We, Et, Ct, Pt, Ut, Nt, Lt, Ot, kt, Vt, _e, ze, He, Ft, qe, xe, vt, Gt, jt, Qt, Wt, _t, zt, Ht, qt, Yt, $t, Kt, Jt, Xt, Zt, en, tn, nn, rn, sn, an, Ye, on, un, $e, Se, ln, cn, dn, fn, he, wn, Ue, Be, Ie, Me, Re, Te, Ee, Ce, Pe, F2, v, G, j, Q, W, C, _2, z2, H, q, Y, $, K, J, X, Z, ee, te, zn, b, g2, N, ce, L2, x2, le, U2, Xe, T2, m, An, xn, Sn, Dn, Bn, In, Mn, Rn, O, Tn, En, Cn, Pn, Un, Ne, Nn, Ln, On, kn, Vn, Fn, pe, vn, Gn, jn, Qn, k, Le, Wn, R2, w, fe, me, ne, de, Oe, _n, Ze, et, A, S, D2, o, l2, tt, nt, rt, st, it, at, ot, ke, ut, lt, ct, pt, dt, ft, mt, yt, Ve, ye, Fe, se, re;
|
|
285
285
|
var init_chunk_3WWIVTCY = __esm({
|
|
286
|
-
"../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
286
|
+
"../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/chunk-3WWIVTCY.js"() {
|
|
287
287
|
init_chunk_QY3QWFKW();
|
|
288
288
|
hn = {};
|
|
289
289
|
F(hn, { ABSTIME: () => Et, ACLITEM: () => Vt, BIT: () => jt, BOOL: () => be, BPCHAR: () => _e, BYTEA: () => ge, CHAR: () => gt, CID: () => St, CIDR: () => Tt, CIRCLE: () => Ut, DATE: () => He, FLOAT4: () => Qe, FLOAT8: () => We, GTSVECTOR: () => rn, INET: () => kt, INT2: () => ve, INT4: () => Ge, INT8: () => we, INTERVAL: () => vt, JSON: () => Ae, JSONB: () => Ye, MACADDR: () => Ot, MACADDR8: () => Nt, MONEY: () => Lt, NUMERIC: () => Wt, OID: () => je, PATH: () => Mt, PG_DEPENDENCIES: () => en, PG_LSN: () => Xt, PG_NDISTINCT: () => Zt, PG_NODE_TREE: () => Bt, POLYGON: () => Rt, REFCURSOR: () => _t, REGCLASS: () => Yt, REGCONFIG: () => sn, REGDICTIONARY: () => an, REGNAMESPACE: () => on, REGOPER: () => Ht, REGOPERATOR: () => qt, REGPROC: () => wt, REGPROCEDURE: () => zt, REGROLE: () => un, REGTYPE: () => $t, RELTIME: () => Ct, SMGR: () => It, TEXT: () => V, TID: () => At, TIME: () => Ft, TIMESTAMP: () => qe, TIMESTAMPTZ: () => xe, TIMETZ: () => Gt, TINTERVAL: () => Pt, TSQUERY: () => nn, TSVECTOR: () => tn, TXID_SNAPSHOT: () => Jt, UUID: () => Kt, VARBIT: () => Qt, VARCHAR: () => ze, XID: () => xt, XML: () => Dt, arrayParser: () => yn, arraySerializer: () => Ke, parseType: () => ue, parsers: () => ln, serializers: () => cn, types: () => $e });
|
|
@@ -878,7 +878,7 @@ var init_chunk_3WWIVTCY = __esm({
|
|
|
878
878
|
}
|
|
879
879
|
});
|
|
880
880
|
|
|
881
|
-
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
881
|
+
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/chunk-F4GETNPB.js
|
|
882
882
|
function s2(t2, r, ...e) {
|
|
883
883
|
let a2 = t2.length - 1, p4 = e.length - 1;
|
|
884
884
|
if (p4 !== -1) {
|
|
@@ -913,21 +913,21 @@ function g3(t2, ...r) {
|
|
|
913
913
|
}
|
|
914
914
|
var o2;
|
|
915
915
|
var init_chunk_F4GETNPB = __esm({
|
|
916
|
-
"../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
916
|
+
"../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/chunk-F4GETNPB.js"() {
|
|
917
917
|
init_chunk_QY3QWFKW();
|
|
918
918
|
u();
|
|
919
919
|
o2 = { part: "part", container: "container" };
|
|
920
920
|
}
|
|
921
921
|
});
|
|
922
922
|
|
|
923
|
-
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
923
|
+
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/chunk-F2DQ4FIK.js
|
|
924
924
|
function E(m4) {
|
|
925
925
|
let s4 = m4.e;
|
|
926
926
|
return s4.query = m4.query, s4.params = m4.params, s4.queryOptions = m4.options, s4;
|
|
927
927
|
}
|
|
928
928
|
var T3, p2, t, y2, x3, h2, O2, k2;
|
|
929
929
|
var init_chunk_F2DQ4FIK = __esm({
|
|
930
|
-
"../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
930
|
+
"../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/chunk-F2DQ4FIK.js"() {
|
|
931
931
|
init_chunk_3WWIVTCY();
|
|
932
932
|
init_chunk_F4GETNPB();
|
|
933
933
|
init_chunk_QY3QWFKW();
|
|
@@ -1048,7 +1048,7 @@ var init_chunk_F2DQ4FIK = __esm({
|
|
|
1048
1048
|
}
|
|
1049
1049
|
});
|
|
1050
1050
|
|
|
1051
|
-
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
1051
|
+
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/chunk-VBDAOXYI.js
|
|
1052
1052
|
async function H2(r, e, t2 = "pgdata", s4 = "auto") {
|
|
1053
1053
|
let a2 = Br(r, e), [n3, o4] = await qr(a2, s4), i3 = t2 + (o4 ? ".tar.gz" : ".tar"), u2 = o4 ? "application/x-gzip" : "application/x-tar";
|
|
1054
1054
|
return typeof File < "u" ? new File([n3], i3, { type: u2 }) : new Blob([n3], { type: u2 });
|
|
@@ -1139,7 +1139,7 @@ function sr(r) {
|
|
|
1139
1139
|
}
|
|
1140
1140
|
var w2, x4, L3, er, nr, or, g4, Hr, Vr, C2, ur, cr, pr, Zr;
|
|
1141
1141
|
var init_chunk_VBDAOXYI = __esm({
|
|
1142
|
-
"../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
1142
|
+
"../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/chunk-VBDAOXYI.js"() {
|
|
1143
1143
|
init_chunk_QY3QWFKW();
|
|
1144
1144
|
w2 = D(($r, l3) => {
|
|
1145
1145
|
u();
|
|
@@ -1240,7 +1240,7 @@ var init_chunk_VBDAOXYI = __esm({
|
|
|
1240
1240
|
}], ["modifyTime", 12, 136, function(r, e) {
|
|
1241
1241
|
return k4(r[e[0]], e[1]);
|
|
1242
1242
|
}, function(r, e, t2) {
|
|
1243
|
-
return
|
|
1243
|
+
return z13(r.slice(e, e + t2[1]));
|
|
1244
1244
|
}], ["checksum", 8, 148, function(r, e) {
|
|
1245
1245
|
return " ";
|
|
1246
1246
|
}, function(r, e, t2) {
|
|
@@ -1282,11 +1282,11 @@ var init_chunk_VBDAOXYI = __esm({
|
|
|
1282
1282
|
}], ["accessTime", 12, 476, function(r, e) {
|
|
1283
1283
|
return k4(r[e[0]], e[1]);
|
|
1284
1284
|
}, function(r, e, t2) {
|
|
1285
|
-
return
|
|
1285
|
+
return z13(r.slice(e, e + t2[1]));
|
|
1286
1286
|
}], ["createTime", 12, 488, function(r, e) {
|
|
1287
1287
|
return k4(r[e[0]], e[1]);
|
|
1288
1288
|
}, function(r, e, t2) {
|
|
1289
|
-
return
|
|
1289
|
+
return z13(r.slice(e, e + t2[1]));
|
|
1290
1290
|
}]], $4 = (function(r) {
|
|
1291
1291
|
var e = r[r.length - 1];
|
|
1292
1292
|
return e[2] + e[1];
|
|
@@ -1323,7 +1323,7 @@ var init_chunk_VBDAOXYI = __esm({
|
|
|
1323
1323
|
var e = String.fromCharCode.apply(null, r);
|
|
1324
1324
|
return parseInt(e.replace(/^0+$/g, ""), 8) || 0;
|
|
1325
1325
|
}
|
|
1326
|
-
function
|
|
1326
|
+
function z13(r) {
|
|
1327
1327
|
return r.length == 0 || r[0] == 0 ? null : new Date(1e3 * S3(r));
|
|
1328
1328
|
}
|
|
1329
1329
|
function Tr2(r, e, t2) {
|
|
@@ -1349,7 +1349,7 @@ var init_chunk_VBDAOXYI = __esm({
|
|
|
1349
1349
|
f3.exports.formatTarDateTime = k4;
|
|
1350
1350
|
f3.exports.parseTarString = A2;
|
|
1351
1351
|
f3.exports.parseTarNumber = S3;
|
|
1352
|
-
f3.exports.parseTarDateTime =
|
|
1352
|
+
f3.exports.parseTarDateTime = z13;
|
|
1353
1353
|
});
|
|
1354
1354
|
er = D((ne3, rr) => {
|
|
1355
1355
|
u();
|
|
@@ -1610,14 +1610,14 @@ var init_chunk_VBDAOXYI = __esm({
|
|
|
1610
1610
|
}
|
|
1611
1611
|
});
|
|
1612
1612
|
|
|
1613
|
-
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
1613
|
+
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/fs/nodefs.js
|
|
1614
1614
|
var nodefs_exports = {};
|
|
1615
1615
|
__export(nodefs_exports, {
|
|
1616
1616
|
NodeFS: () => m2
|
|
1617
1617
|
});
|
|
1618
1618
|
var m2;
|
|
1619
1619
|
var init_nodefs = __esm({
|
|
1620
|
-
"../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
1620
|
+
"../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/fs/nodefs.js"() {
|
|
1621
1621
|
init_chunk_VBDAOXYI();
|
|
1622
1622
|
init_chunk_QY3QWFKW();
|
|
1623
1623
|
u();
|
|
@@ -1638,14 +1638,14 @@ var init_nodefs = __esm({
|
|
|
1638
1638
|
}
|
|
1639
1639
|
});
|
|
1640
1640
|
|
|
1641
|
-
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
1641
|
+
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/fs/opfs-ahp.js
|
|
1642
1642
|
var opfs_ahp_exports = {};
|
|
1643
1643
|
__export(opfs_ahp_exports, {
|
|
1644
1644
|
OpfsAhpFS: () => L4
|
|
1645
1645
|
});
|
|
1646
1646
|
var $2, G2, T4, H3, v2, F3, M, y3, b2, m3, x5, P3, D3, S2, n2, C3, O3, k3, w3, f2, I, W2, j2, L4, p3;
|
|
1647
1647
|
var init_opfs_ahp = __esm({
|
|
1648
|
-
"../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
1648
|
+
"../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/fs/opfs-ahp.js"() {
|
|
1649
1649
|
init_chunk_VBDAOXYI();
|
|
1650
1650
|
init_chunk_QY3QWFKW();
|
|
1651
1651
|
u();
|
|
@@ -1944,7 +1944,7 @@ ${t2}`), i3 = h(this, y3).getSize();
|
|
|
1944
1944
|
}
|
|
1945
1945
|
});
|
|
1946
1946
|
|
|
1947
|
-
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
1947
|
+
// ../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/index.js
|
|
1948
1948
|
async function ke2(e) {
|
|
1949
1949
|
if (Fe) {
|
|
1950
1950
|
let t2 = await import('fs'), r = await import('zlib'), { Writable: a2 } = await import('stream'), { pipeline: s4 } = await import('stream/promises');
|
|
@@ -2024,7 +2024,7 @@ async function Ue2(e, t2) {
|
|
|
2024
2024
|
}
|
|
2025
2025
|
var ot2, nt2, Fe2, it2, Y2, Le2, ue2, ce3, pt2, He2, je2, ne2, te2, re2, ie, _e2, xe2, we2, Se2, ye2, le2, fe2, he2, pe2, ae, $3, I2, se2, de2, B, Q2, K2, me2, oe, J2, O4, Z2, q2, G3, C4, Ve2, Xe2, ge2, Ke2, Ye2, L5, We2;
|
|
2026
2026
|
var init_dist = __esm({
|
|
2027
|
-
"../node_modules/.pnpm/@electric-sql+pglite@0.3.
|
|
2027
|
+
"../node_modules/.pnpm/@electric-sql+pglite@0.3.14/node_modules/@electric-sql/pglite/dist/index.js"() {
|
|
2028
2028
|
init_chunk_F2DQ4FIK();
|
|
2029
2029
|
init_chunk_VBDAOXYI();
|
|
2030
2030
|
init_chunk_3WWIVTCY();
|
|
@@ -5281,7 +5281,7 @@ ${_3}`), 0;
|
|
|
5281
5281
|
Module._getTempRet0 = _getTempRet0, registerWasmPlugin(), FS.createPreloadedFile = FS_createPreloadedFile, FS.staticInit(), Module.FS_createPath = FS.createPath, Module.FS_createDataFile = FS.createDataFile, Module.FS_createPreloadedFile = FS.createPreloadedFile, Module.FS_unlink = FS.unlink, Module.FS_createLazyFile = FS.createLazyFile, Module.FS_createDevice = FS.createDevice, MEMFS.doesNotExistError = new FS.ErrnoError(44), MEMFS.doesNotExistError.stack = "<generic error, no stack>", ENVIRONMENT_IS_NODE && NODEFS.staticInit();
|
|
5282
5282
|
var wasmImports = { __assert_fail: ___assert_fail, __call_sighandler: ___call_sighandler, __heap_base: ___heap_base, __indirect_function_table: wasmTable, __memory_base: ___memory_base, __stack_pointer: ___stack_pointer, __syscall__newselect: ___syscall__newselect, __syscall_bind: ___syscall_bind, __syscall_chdir: ___syscall_chdir, __syscall_chmod: ___syscall_chmod, __syscall_dup: ___syscall_dup, __syscall_dup3: ___syscall_dup3, __syscall_faccessat: ___syscall_faccessat, __syscall_fadvise64: ___syscall_fadvise64, __syscall_fallocate: ___syscall_fallocate, __syscall_fcntl64: ___syscall_fcntl64, __syscall_fdatasync: ___syscall_fdatasync, __syscall_fstat64: ___syscall_fstat64, __syscall_ftruncate64: ___syscall_ftruncate64, __syscall_getcwd: ___syscall_getcwd, __syscall_getdents64: ___syscall_getdents64, __syscall_ioctl: ___syscall_ioctl, __syscall_lstat64: ___syscall_lstat64, __syscall_mkdirat: ___syscall_mkdirat, __syscall_newfstatat: ___syscall_newfstatat, __syscall_openat: ___syscall_openat, __syscall_pipe: ___syscall_pipe, __syscall_readlinkat: ___syscall_readlinkat, __syscall_recvfrom: ___syscall_recvfrom, __syscall_renameat: ___syscall_renameat, __syscall_rmdir: ___syscall_rmdir, __syscall_sendto: ___syscall_sendto, __syscall_socket: ___syscall_socket, __syscall_stat64: ___syscall_stat64, __syscall_symlinkat: ___syscall_symlinkat, __syscall_truncate64: ___syscall_truncate64, __syscall_unlinkat: ___syscall_unlinkat, __table_base: ___table_base, _abort_js: __abort_js, _dlopen_js: __dlopen_js, _dlsym_js: __dlsym_js, _emscripten_memcpy_js: __emscripten_memcpy_js, _emscripten_runtime_keepalive_clear: __emscripten_runtime_keepalive_clear, _emscripten_system: __emscripten_system, _emscripten_throw_longjmp: __emscripten_throw_longjmp, _gmtime_js: __gmtime_js, _localtime_js: __localtime_js, _mmap_js: __mmap_js, _munmap_js: __munmap_js, _setitimer_js: __setitimer_js, _tzset_js: __tzset_js, clock_time_get: _clock_time_get, emscripten_asm_const_int: _emscripten_asm_const_int, emscripten_date_now: _emscripten_date_now, emscripten_force_exit: _emscripten_force_exit, emscripten_get_now: _emscripten_get_now, emscripten_resize_heap: _emscripten_resize_heap, environ_get: _environ_get, environ_sizes_get: _environ_sizes_get, exit: _exit, fd_close: _fd_close, fd_fdstat_get: _fd_fdstat_get, fd_pread: _fd_pread, fd_pwrite: _fd_pwrite, fd_read: _fd_read, fd_seek: _fd_seek, fd_sync: _fd_sync, fd_write: _fd_write, getTempRet0: _getTempRet0, getaddrinfo: _getaddrinfo, getnameinfo: _getnameinfo, invoke_di, invoke_i, invoke_id, invoke_ii, invoke_iii, invoke_iiii, invoke_iiiii, invoke_iiiiii, invoke_iiiiiii, invoke_iiiiiiii, invoke_iiiiiiiii, invoke_iiiiiiiiii, invoke_iiiiiiiiiii, invoke_iiiiiiiiiiiiii, invoke_iiiiiiiiiiiiiiiiii, invoke_iiiiiji, invoke_iiiij, invoke_iiiijii, invoke_iiij, invoke_iiji, invoke_ij, invoke_ijiiiii, invoke_ijiiiiii, invoke_j, invoke_ji, invoke_jii, invoke_jiiii, invoke_jiiiiii, invoke_jiiiiiiiii, invoke_v, invoke_vi, invoke_vid, invoke_vii, invoke_viii, invoke_viiii, invoke_viiiii, invoke_viiiiii, invoke_viiiiiii, invoke_viiiiiiii, invoke_viiiiiiiii, invoke_viiiiiiiiiiii, invoke_viiiji, invoke_viij, invoke_viiji, invoke_viijii, invoke_viijiiii, invoke_vij, invoke_viji, invoke_vijiji, invoke_vj, invoke_vji, memory: wasmMemory, proc_exit: _proc_exit, setTempRet0: _setTempRet0 }, wasmExports;
|
|
5283
5283
|
createWasm();
|
|
5284
|
-
var _fflush = Module._fflush = (e) => (_fflush = Module._fflush = wasmExports.fflush)(e); Module.___errno_location = () => (Module.___errno_location = wasmExports.__errno_location)(); Module._ProcessInterrupts = () => (Module._ProcessInterrupts = wasmExports.ProcessInterrupts)(); Module._errstart_cold = (e, t2) => (Module._errstart_cold = wasmExports.errstart_cold)(e, t2); Module._errcode = (e) => (Module._errcode = wasmExports.errcode)(e); Module._errmsg = (e, t2) => (Module._errmsg = wasmExports.errmsg)(e, t2); Module._errfinish = (e, t2, r) => (Module._errfinish = wasmExports.errfinish)(e, t2, r); Module._puts = (e) => (Module._puts = wasmExports.puts)(e); Module._errstart = (e, t2) => (Module._errstart = wasmExports.errstart)(e, t2); Module._errmsg_internal = (e, t2) => (Module._errmsg_internal = wasmExports.errmsg_internal)(e, t2); Module._errdetail = (e, t2) => (Module._errdetail = wasmExports.errdetail)(e, t2); Module._errhint = (e, t2) => (Module._errhint = wasmExports.errhint)(e, t2); Module._pg_parse_query = (e) => (Module._pg_parse_query = wasmExports.pg_parse_query)(e); Module._gettimeofday = (e, t2) => (Module._gettimeofday = wasmExports.gettimeofday)(e, t2); Module._raw_parser = (e, t2) => (Module._raw_parser = wasmExports.raw_parser)(e, t2); Module._initStringInfo = (e) => (Module._initStringInfo = wasmExports.initStringInfo)(e); Module._appendStringInfoString = (e, t2) => (Module._appendStringInfoString = wasmExports.appendStringInfoString)(e, t2); Module._appendStringInfo = (e, t2, r) => (Module._appendStringInfo = wasmExports.appendStringInfo)(e, t2, r); Module._errdetail_internal = (e, t2) => (Module._errdetail_internal = wasmExports.errdetail_internal)(e, t2); Module._pfree = (e) => (Module._pfree = wasmExports.pfree)(e); Module._list_make1_impl = (e, t2) => (Module._list_make1_impl = wasmExports.list_make1_impl)(e, t2); Module._QueryRewrite = (e) => (Module._QueryRewrite = wasmExports.QueryRewrite)(e); Module._pg_plan_query = (e, t2, r, a2) => (Module._pg_plan_query = wasmExports.pg_plan_query)(e, t2, r, a2); Module._palloc0 = (e) => (Module._palloc0 = wasmExports.palloc0)(e); Module._lappend = (e, t2) => (Module._lappend = wasmExports.lappend)(e, t2); Module._GetCurrentTimestamp = () => (Module._GetCurrentTimestamp = wasmExports.GetCurrentTimestamp)(); Module._pg_prng_double = (e) => (Module._pg_prng_double = wasmExports.pg_prng_double)(e); Module._pg_snprintf = (e, t2, r, a2) => (Module._pg_snprintf = wasmExports.pg_snprintf)(e, t2, r, a2); Module._die = (e) => (Module._die = wasmExports.die)(e); Module._check_stack_depth = () => (Module._check_stack_depth = wasmExports.check_stack_depth)(); Module._pre_format_elog_string = (e, t2) => (Module._pre_format_elog_string = wasmExports.pre_format_elog_string)(e, t2); Module._format_elog_string = (e, t2) => (Module._format_elog_string = wasmExports.format_elog_string)(e, t2); Module._pstrdup = (e) => (Module._pstrdup = wasmExports.pstrdup)(e); Module._SplitIdentifierString = (e, t2, r) => (Module._SplitIdentifierString = wasmExports.SplitIdentifierString)(e, t2, r); Module._list_free = (e) => (Module._list_free = wasmExports.list_free)(e); Module._pg_strcasecmp = (e, t2) => (Module._pg_strcasecmp = wasmExports.pg_strcasecmp)(e, t2); Module._guc_malloc = (e, t2) => (Module._guc_malloc = wasmExports.guc_malloc)(e, t2); Module._SetConfigOption = (e, t2, r, a2) => (Module._SetConfigOption = wasmExports.SetConfigOption)(e, t2, r, a2); Module._pg_sprintf = (e, t2, r) => (Module._pg_sprintf = wasmExports.pg_sprintf)(e, t2, r); Module._strcmp = (e, t2) => (Module._strcmp = wasmExports.strcmp)(e, t2); Module._atoi = (e) => (Module._atoi = wasmExports.atoi)(e); Module._pgl_shutdown = () => (Module._pgl_shutdown = wasmExports.pgl_shutdown)(); Module._pgl_closed = () => (Module._pgl_closed = wasmExports.pgl_closed)(); Module._MemoryContextReset = (e) => (Module._MemoryContextReset = wasmExports.MemoryContextReset)(e); Module._resetStringInfo = (e) => (Module._resetStringInfo = wasmExports.resetStringInfo)(e); Module._getc = (e) => (Module._getc = wasmExports.getc)(e); Module._appendStringInfoChar = (e, t2) => (Module._appendStringInfoChar = wasmExports.appendStringInfoChar)(e, t2); Module._strlen = (e) => (Module._strlen = wasmExports.strlen)(e); Module._strncmp = (e, t2, r) => (Module._strncmp = wasmExports.strncmp)(e, t2, r); Module._pg_fprintf = (e, t2, r) => (Module._pg_fprintf = wasmExports.pg_fprintf)(e, t2, r); Module._pgstat_report_activity = (e, t2) => (Module._pgstat_report_activity = wasmExports.pgstat_report_activity)(e, t2); Module._errhidestmt = (e) => (Module._errhidestmt = wasmExports.errhidestmt)(e); Module._GetTransactionSnapshot = () => (Module._GetTransactionSnapshot = wasmExports.GetTransactionSnapshot)(); Module._PushActiveSnapshot = (e) => (Module._PushActiveSnapshot = wasmExports.PushActiveSnapshot)(e); Module._AllocSetContextCreateInternal = (e, t2, r, a2, s4) => (Module._AllocSetContextCreateInternal = wasmExports.AllocSetContextCreateInternal)(e, t2, r, a2, s4); Module._PopActiveSnapshot = () => (Module._PopActiveSnapshot = wasmExports.PopActiveSnapshot)(); Module._CreateDestReceiver = (e) => (Module._CreateDestReceiver = wasmExports.CreateDestReceiver)(e); Module._CommitTransactionCommand = () => (Module._CommitTransactionCommand = wasmExports.CommitTransactionCommand)(); Module._CommandCounterIncrement = () => (Module._CommandCounterIncrement = wasmExports.CommandCounterIncrement)(); Module._MemoryContextDelete = (e) => (Module._MemoryContextDelete = wasmExports.MemoryContextDelete)(e); Module._StartTransactionCommand = () => (Module._StartTransactionCommand = wasmExports.StartTransactionCommand)(); Module.___wasm_setjmp_test = (e, t2) => (Module.___wasm_setjmp_test = wasmExports.__wasm_setjmp_test)(e, t2); Module._pg_printf = (e, t2) => (Module._pg_printf = wasmExports.pg_printf)(e, t2); Module.___wasm_setjmp = (e, t2, r) => (Module.___wasm_setjmp = wasmExports.__wasm_setjmp)(e, t2, r); Module._FlushErrorState = () => (Module._FlushErrorState = wasmExports.FlushErrorState)(); Module._emscripten_longjmp = (e, t2) => (Module._emscripten_longjmp = wasmExports.emscripten_longjmp)(e, t2); Module._enlargeStringInfo = (e, t2) => (Module._enlargeStringInfo = wasmExports.enlargeStringInfo)(e, t2); var _malloc = Module._malloc = (e) => (_malloc = Module._malloc = wasmExports.malloc)(e); Module._realloc = (e, t2) => (Module._realloc = wasmExports.realloc)(e, t2); Module._strspn = (e, t2) => (Module._strspn = wasmExports.strspn)(e, t2); Module._memcpy = (e, t2, r) => (Module._memcpy = wasmExports.memcpy)(e, t2, r); Module._fileno = (e) => (Module._fileno = wasmExports.fileno)(e); Module._strchr = (e, t2) => (Module._strchr = wasmExports.strchr)(e, t2); Module._free = (e) => (Module._free = wasmExports.free)(e); Module._pg_vsnprintf = (e, t2, r, a2) => (Module._pg_vsnprintf = wasmExports.pg_vsnprintf)(e, t2, r, a2); Module._strcpy = (e, t2) => (Module._strcpy = wasmExports.strcpy)(e, t2); Module._psprintf = (e, t2) => (Module._psprintf = wasmExports.psprintf)(e, t2); Module._stat = (e, t2) => (Module._stat = wasmExports.stat)(e, t2); Module._fwrite = (e, t2, r, a2) => (Module._fwrite = wasmExports.fwrite)(e, t2, r, a2); Module._strftime = (e, t2, r, a2) => (Module._strftime = wasmExports.strftime)(e, t2, r, a2); Module._strstr = (e, t2) => (Module._strstr = wasmExports.strstr)(e, t2); Module._strtol = (e, t2, r) => (Module._strtol = wasmExports.strtol)(e, t2, r); Module._ferror = (e) => (Module._ferror = wasmExports.ferror)(e); Module._clear_error = () => (Module._clear_error = wasmExports.clear_error)(); Module._interactive_one = (e, t2) => (Module._interactive_one = wasmExports.interactive_one)(e, t2); Module._pq_getmsgint = (e, t2) => (Module._pq_getmsgint = wasmExports.pq_getmsgint)(e, t2); Module._palloc = (e) => (Module._palloc = wasmExports.palloc)(e); Module._makeParamList = (e) => (Module._makeParamList = wasmExports.makeParamList)(e); Module._getTypeInputInfo = (e, t2, r) => (Module._getTypeInputInfo = wasmExports.getTypeInputInfo)(e, t2, r); Module._pnstrdup = (e, t2) => (Module._pnstrdup = wasmExports.pnstrdup)(e, t2); Module._MemoryContextSetParent = (e, t2) => (Module._MemoryContextSetParent = wasmExports.MemoryContextSetParent)(e, t2); Module._pgl_backend = () => (Module._pgl_backend = wasmExports.pgl_backend)(); Module._pgl_initdb = () => (Module._pgl_initdb = wasmExports.pgl_initdb)(); Module._main = (e, t2) => (Module._main = wasmExports.__main_argc_argv)(e, t2); Module._appendStringInfoStringQuoted = (e, t2, r) => (Module._appendStringInfoStringQuoted = wasmExports.appendStringInfoStringQuoted)(e, t2, r); Module._set_errcontext_domain = (e) => (Module._set_errcontext_domain = wasmExports.set_errcontext_domain)(e); Module._errcontext_msg = (e, t2) => (Module._errcontext_msg = wasmExports.errcontext_msg)(e, t2); Module._memchr = (e, t2, r) => (Module._memchr = wasmExports.memchr)(e, t2, r); Module._strrchr = (e, t2) => (Module._strrchr = wasmExports.strrchr)(e, t2); Module._xsltFreeStylesheet = (e) => (Module._xsltFreeStylesheet = wasmExports.xsltFreeStylesheet)(e); Module._xsltParseStylesheetDoc = (e) => (Module._xsltParseStylesheetDoc = wasmExports.xsltParseStylesheetDoc)(e); Module._xsltSaveResultToString = (e, t2, r, a2) => (Module._xsltSaveResultToString = wasmExports.xsltSaveResultToString)(e, t2, r, a2); Module._xsltCleanupGlobals = () => (Module._xsltCleanupGlobals = wasmExports.xsltCleanupGlobals)(); Module._xsltNewTransformContext = (e, t2) => (Module._xsltNewTransformContext = wasmExports.xsltNewTransformContext)(e, t2); Module._xsltFreeTransformContext = (e) => (Module._xsltFreeTransformContext = wasmExports.xsltFreeTransformContext)(e); Module._xsltApplyStylesheetUser = (e, t2, r, a2, s4, o4) => (Module._xsltApplyStylesheetUser = wasmExports.xsltApplyStylesheetUser)(e, t2, r, a2, s4, o4); Module._xsltNewSecurityPrefs = () => (Module._xsltNewSecurityPrefs = wasmExports.xsltNewSecurityPrefs)(); Module._xsltFreeSecurityPrefs = (e) => (Module._xsltFreeSecurityPrefs = wasmExports.xsltFreeSecurityPrefs)(e); Module._xsltSetSecurityPrefs = (e, t2, r) => (Module._xsltSetSecurityPrefs = wasmExports.xsltSetSecurityPrefs)(e, t2, r); Module._xsltSetCtxtSecurityPrefs = (e, t2) => (Module._xsltSetCtxtSecurityPrefs = wasmExports.xsltSetCtxtSecurityPrefs)(e, t2); Module._xsltSecurityForbid = (e, t2, r) => (Module._xsltSecurityForbid = wasmExports.xsltSecurityForbid)(e, t2, r); Module._replace_percent_placeholders = (e, t2, r, a2) => (Module._replace_percent_placeholders = wasmExports.replace_percent_placeholders)(e, t2, r, a2); Module._memset = (e, t2, r) => (Module._memset = wasmExports.memset)(e, t2, r); Module._MemoryContextAllocZero = (e, t2) => (Module._MemoryContextAllocZero = wasmExports.MemoryContextAllocZero)(e, t2); Module._MemoryContextAllocExtended = (e, t2, r) => (Module._MemoryContextAllocExtended = wasmExports.MemoryContextAllocExtended)(e, t2, r); Module._hash_bytes = (e, t2) => (Module._hash_bytes = wasmExports.hash_bytes)(e, t2); Module._memcmp = (e, t2, r) => (Module._memcmp = wasmExports.memcmp)(e, t2, r); Module._repalloc = (e, t2) => (Module._repalloc = wasmExports.repalloc)(e, t2); Module._pg_qsort = (e, t2, r, a2) => (Module._pg_qsort = wasmExports.pg_qsort)(e, t2, r, a2); Module._OpenTransientFile = (e, t2) => (Module._OpenTransientFile = wasmExports.OpenTransientFile)(e, t2); Module._errcode_for_file_access = () => (Module._errcode_for_file_access = wasmExports.errcode_for_file_access)(); Module._read = (e, t2, r) => (Module._read = wasmExports.read)(e, t2, r); Module._CloseTransientFile = (e) => (Module._CloseTransientFile = wasmExports.CloseTransientFile)(e); Module._close = (e) => (Module._close = wasmExports.close)(e); Module.___multi3 = (e, t2, r, a2, s4) => (Module.___multi3 = wasmExports.__multi3)(e, t2, r, a2, s4); Module._isalnum = (e) => (Module._isalnum = wasmExports.isalnum)(e); Module._wait_result_to_str = (e) => (Module._wait_result_to_str = wasmExports.wait_result_to_str)(e); Module._float_to_shortest_decimal_bufn = (e, t2) => (Module._float_to_shortest_decimal_bufn = wasmExports.float_to_shortest_decimal_bufn)(e, t2); Module._float_to_shortest_decimal_buf = (e, t2) => (Module._float_to_shortest_decimal_buf = wasmExports.float_to_shortest_decimal_buf)(e, t2); Module._memmove = (e, t2, r) => (Module._memmove = wasmExports.memmove)(e, t2, r); Module._pwrite = (e, t2, r, a2) => (Module._pwrite = wasmExports.pwrite)(e, t2, r, a2); Module._hash_bytes_extended = (e, t2, r) => (Module._hash_bytes_extended = wasmExports.hash_bytes_extended)(e, t2, r); var _calloc = (e, t2) => (_calloc = wasmExports.calloc)(e, t2); Module._IsValidJsonNumber = (e, t2) => (Module._IsValidJsonNumber = wasmExports.IsValidJsonNumber)(e, t2); Module._appendBinaryStringInfo = (e, t2, r) => (Module._appendBinaryStringInfo = wasmExports.appendBinaryStringInfo)(e, t2, r); Module._makeStringInfo = () => (Module._makeStringInfo = wasmExports.makeStringInfo)(); Module._GetDatabaseEncodingName = () => (Module._GetDatabaseEncodingName = wasmExports.GetDatabaseEncodingName)(); Module._ScanKeywordLookup = (e, t2) => (Module._ScanKeywordLookup = wasmExports.ScanKeywordLookup)(e, t2); Module._strtoul = (e, t2, r) => (Module._strtoul = wasmExports.strtoul)(e, t2, r); Module._sscanf = (e, t2, r) => (Module._sscanf = wasmExports.sscanf)(e, t2, r); Module._pg_prng_uint64 = (e) => (Module._pg_prng_uint64 = wasmExports.pg_prng_uint64)(e); Module._pg_prng_uint32 = (e) => (Module._pg_prng_uint32 = wasmExports.pg_prng_uint32)(e); Module._log = (e) => (Module._log = wasmExports.log)(e); Module._sin = (e) => (Module._sin = wasmExports.sin)(e); Module._forkname_to_number = (e) => (Module._forkname_to_number = wasmExports.forkname_to_number)(e); Module._unlink = (e) => (Module._unlink = wasmExports.unlink)(e); Module._pg_utf_mblen_private = (e) => (Module._pg_utf_mblen_private = wasmExports.pg_utf_mblen_private)(e); Module._bsearch = (e, t2, r, a2, s4) => (Module._bsearch = wasmExports.bsearch)(e, t2, r, a2, s4); Module._palloc_extended = (e, t2) => (Module._palloc_extended = wasmExports.palloc_extended)(e, t2); Module._appendStringInfoSpaces = (e, t2) => (Module._appendStringInfoSpaces = wasmExports.appendStringInfoSpaces)(e, t2); Module._fcntl = (e, t2, r) => (Module._fcntl = wasmExports.fcntl)(e, t2, r); Module._pg_popcount_optimized = (e, t2) => (Module._pg_popcount_optimized = wasmExports.pg_popcount_optimized)(e, t2); Module._open = (e, t2, r) => (Module._open = wasmExports.open)(e, t2, r); Module._pg_usleep = (e) => (Module._pg_usleep = wasmExports.pg_usleep)(e); Module._nanosleep = (e, t2) => (Module._nanosleep = wasmExports.nanosleep)(e, t2); Module._getpid = () => (Module._getpid = wasmExports.getpid)(); Module._qsort_arg = (e, t2, r, a2, s4) => (Module._qsort_arg = wasmExports.qsort_arg)(e, t2, r, a2, s4); Module._RelationGetNumberOfBlocksInFork = (e, t2) => (Module._RelationGetNumberOfBlocksInFork = wasmExports.RelationGetNumberOfBlocksInFork)(e, t2); Module._ExtendBufferedRel = (e, t2, r, a2) => (Module._ExtendBufferedRel = wasmExports.ExtendBufferedRel)(e, t2, r, a2); Module._MarkBufferDirty = (e) => (Module._MarkBufferDirty = wasmExports.MarkBufferDirty)(e); Module._XLogBeginInsert = () => (Module._XLogBeginInsert = wasmExports.XLogBeginInsert)(); Module._XLogRegisterData = (e, t2) => (Module._XLogRegisterData = wasmExports.XLogRegisterData)(e, t2); Module._XLogInsert = (e, t2) => (Module._XLogInsert = wasmExports.XLogInsert)(e, t2); Module._UnlockReleaseBuffer = (e) => (Module._UnlockReleaseBuffer = wasmExports.UnlockReleaseBuffer)(e); Module._brin_build_desc = (e) => (Module._brin_build_desc = wasmExports.brin_build_desc)(e); Module._EnterParallelMode = () => (Module._EnterParallelMode = wasmExports.EnterParallelMode)(); Module._CreateParallelContext = (e, t2, r) => (Module._CreateParallelContext = wasmExports.CreateParallelContext)(e, t2, r); Module._RegisterSnapshot = (e) => (Module._RegisterSnapshot = wasmExports.RegisterSnapshot)(e); Module._table_parallelscan_estimate = (e, t2) => (Module._table_parallelscan_estimate = wasmExports.table_parallelscan_estimate)(e, t2); Module._add_size = (e, t2) => (Module._add_size = wasmExports.add_size)(e, t2); Module._tuplesort_estimate_shared = (e) => (Module._tuplesort_estimate_shared = wasmExports.tuplesort_estimate_shared)(e); Module._InitializeParallelDSM = (e) => (Module._InitializeParallelDSM = wasmExports.InitializeParallelDSM)(e); Module._UnregisterSnapshot = (e) => (Module._UnregisterSnapshot = wasmExports.UnregisterSnapshot)(e); Module._DestroyParallelContext = (e) => (Module._DestroyParallelContext = wasmExports.DestroyParallelContext)(e); Module._ExitParallelMode = () => (Module._ExitParallelMode = wasmExports.ExitParallelMode)(); Module._shm_toc_allocate = (e, t2) => (Module._shm_toc_allocate = wasmExports.shm_toc_allocate)(e, t2); Module._ConditionVariableInit = (e) => (Module._ConditionVariableInit = wasmExports.ConditionVariableInit)(e); Module._s_init_lock_sema = (e, t2) => (Module._s_init_lock_sema = wasmExports.s_init_lock_sema)(e, t2); Module._table_parallelscan_initialize = (e, t2, r) => (Module._table_parallelscan_initialize = wasmExports.table_parallelscan_initialize)(e, t2, r); Module._tuplesort_initialize_shared = (e, t2, r) => (Module._tuplesort_initialize_shared = wasmExports.tuplesort_initialize_shared)(e, t2, r); Module._shm_toc_insert = (e, t2, r) => (Module._shm_toc_insert = wasmExports.shm_toc_insert)(e, t2, r); Module._LaunchParallelWorkers = (e) => (Module._LaunchParallelWorkers = wasmExports.LaunchParallelWorkers)(e); Module._WaitForParallelWorkersToAttach = (e) => (Module._WaitForParallelWorkersToAttach = wasmExports.WaitForParallelWorkersToAttach)(e); Module._tas_sema = (e) => (Module._tas_sema = wasmExports.tas_sema)(e); Module._s_lock = (e, t2, r, a2) => (Module._s_lock = wasmExports.s_lock)(e, t2, r, a2); Module._s_unlock_sema = (e) => (Module._s_unlock_sema = wasmExports.s_unlock_sema)(e); Module._ConditionVariableSleep = (e, t2) => (Module._ConditionVariableSleep = wasmExports.ConditionVariableSleep)(e, t2); Module._ConditionVariableCancelSleep = () => (Module._ConditionVariableCancelSleep = wasmExports.ConditionVariableCancelSleep)(); Module._tuplesort_performsort = (e) => (Module._tuplesort_performsort = wasmExports.tuplesort_performsort)(e); Module._tuplesort_end = (e) => (Module._tuplesort_end = wasmExports.tuplesort_end)(e); Module._brin_deform_tuple = (e, t2, r) => (Module._brin_deform_tuple = wasmExports.brin_deform_tuple)(e, t2, r); Module._log_newpage_buffer = (e, t2) => (Module._log_newpage_buffer = wasmExports.log_newpage_buffer)(e, t2); Module._LockBuffer = (e, t2) => (Module._LockBuffer = wasmExports.LockBuffer)(e, t2); Module._ReleaseBuffer = (e) => (Module._ReleaseBuffer = wasmExports.ReleaseBuffer)(e); Module._IndexGetRelation = (e, t2) => (Module._IndexGetRelation = wasmExports.IndexGetRelation)(e, t2); Module._table_open = (e, t2) => (Module._table_open = wasmExports.table_open)(e, t2); Module._ReadBufferExtended = (e, t2, r, a2, s4) => (Module._ReadBufferExtended = wasmExports.ReadBufferExtended)(e, t2, r, a2, s4); Module._table_close = (e, t2) => (Module._table_close = wasmExports.table_close)(e, t2); Module._build_reloptions = (e, t2, r, a2, s4, o4) => (Module._build_reloptions = wasmExports.build_reloptions)(e, t2, r, a2, s4, o4); Module._RelationGetIndexScan = (e, t2, r) => (Module._RelationGetIndexScan = wasmExports.RelationGetIndexScan)(e, t2, r); Module._pgstat_assoc_relation = (e) => (Module._pgstat_assoc_relation = wasmExports.pgstat_assoc_relation)(e); Module._index_getprocinfo = (e, t2, r) => (Module._index_getprocinfo = wasmExports.index_getprocinfo)(e, t2, r); Module._fmgr_info_copy = (e, t2, r) => (Module._fmgr_info_copy = wasmExports.fmgr_info_copy)(e, t2, r); Module._FunctionCall4Coll = (e, t2, r, a2, s4, o4) => (Module._FunctionCall4Coll = wasmExports.FunctionCall4Coll)(e, t2, r, a2, s4, o4); Module._FunctionCall1Coll = (e, t2, r) => (Module._FunctionCall1Coll = wasmExports.FunctionCall1Coll)(e, t2, r); Module._brin_free_desc = (e) => (Module._brin_free_desc = wasmExports.brin_free_desc)(e); Module._WaitForParallelWorkersToFinish = (e) => (Module._WaitForParallelWorkersToFinish = wasmExports.WaitForParallelWorkersToFinish)(e); Module._PageGetFreeSpace = (e) => (Module._PageGetFreeSpace = wasmExports.PageGetFreeSpace)(e); Module._BufferGetBlockNumber = (e) => (Module._BufferGetBlockNumber = wasmExports.BufferGetBlockNumber)(e); Module._BuildIndexInfo = (e) => (Module._BuildIndexInfo = wasmExports.BuildIndexInfo)(e); Module._Int64GetDatum = (e) => (Module._Int64GetDatum = wasmExports.Int64GetDatum)(e); Module._DirectFunctionCall2Coll = (e, t2, r, a2) => (Module._DirectFunctionCall2Coll = wasmExports.DirectFunctionCall2Coll)(e, t2, r, a2); Module._RecoveryInProgress = () => (Module._RecoveryInProgress = wasmExports.RecoveryInProgress)(); Module._GetUserIdAndSecContext = (e, t2) => (Module._GetUserIdAndSecContext = wasmExports.GetUserIdAndSecContext)(e, t2); Module._SetUserIdAndSecContext = (e, t2) => (Module._SetUserIdAndSecContext = wasmExports.SetUserIdAndSecContext)(e, t2); Module._NewGUCNestLevel = () => (Module._NewGUCNestLevel = wasmExports.NewGUCNestLevel)(); Module._RestrictSearchPath = () => (Module._RestrictSearchPath = wasmExports.RestrictSearchPath)(); Module._index_open = (e, t2) => (Module._index_open = wasmExports.index_open)(e, t2); Module._object_ownercheck = (e, t2, r) => (Module._object_ownercheck = wasmExports.object_ownercheck)(e, t2, r); Module._aclcheck_error = (e, t2, r) => (Module._aclcheck_error = wasmExports.aclcheck_error)(e, t2, r); Module._AtEOXact_GUC = (e, t2) => (Module._AtEOXact_GUC = wasmExports.AtEOXact_GUC)(e, t2); Module._relation_close = (e, t2) => (Module._relation_close = wasmExports.relation_close)(e, t2); Module._GetUserId = () => (Module._GetUserId = wasmExports.GetUserId)(); Module._ReadBuffer = (e, t2) => (Module._ReadBuffer = wasmExports.ReadBuffer)(e, t2); Module._shm_toc_lookup = (e, t2, r) => (Module._shm_toc_lookup = wasmExports.shm_toc_lookup)(e, t2, r); Module._tuplesort_attach_shared = (e, t2) => (Module._tuplesort_attach_shared = wasmExports.tuplesort_attach_shared)(e, t2); Module._index_close = (e, t2) => (Module._index_close = wasmExports.index_close)(e, t2); Module._table_beginscan_parallel = (e, t2) => (Module._table_beginscan_parallel = wasmExports.table_beginscan_parallel)(e, t2); Module._ConditionVariableSignal = (e) => (Module._ConditionVariableSignal = wasmExports.ConditionVariableSignal)(e); Module._datumCopy = (e, t2, r) => (Module._datumCopy = wasmExports.datumCopy)(e, t2, r); Module._lookup_type_cache = (e, t2) => (Module._lookup_type_cache = wasmExports.lookup_type_cache)(e, t2); Module._get_fn_opclass_options = (e) => (Module._get_fn_opclass_options = wasmExports.get_fn_opclass_options)(e); Module._pg_detoast_datum = (e) => (Module._pg_detoast_datum = wasmExports.pg_detoast_datum)(e); Module._index_getprocid = (e, t2, r) => (Module._index_getprocid = wasmExports.index_getprocid)(e, t2, r); Module._init_local_reloptions = (e, t2) => (Module._init_local_reloptions = wasmExports.init_local_reloptions)(e, t2); Module._FunctionCall2Coll = (e, t2, r, a2) => (Module._FunctionCall2Coll = wasmExports.FunctionCall2Coll)(e, t2, r, a2); Module._SysCacheGetAttrNotNull = (e, t2, r) => (Module._SysCacheGetAttrNotNull = wasmExports.SysCacheGetAttrNotNull)(e, t2, r); Module._ReleaseSysCache = (e) => (Module._ReleaseSysCache = wasmExports.ReleaseSysCache)(e); Module._fmgr_info_cxt = (e, t2, r) => (Module._fmgr_info_cxt = wasmExports.fmgr_info_cxt)(e, t2, r); Module._Float8GetDatum = (e) => (Module._Float8GetDatum = wasmExports.Float8GetDatum)(e); Module._numeric_sub = (e) => (Module._numeric_sub = wasmExports.numeric_sub)(e); Module._DirectFunctionCall1Coll = (e, t2, r) => (Module._DirectFunctionCall1Coll = wasmExports.DirectFunctionCall1Coll)(e, t2, r); Module._pg_detoast_datum_packed = (e) => (Module._pg_detoast_datum_packed = wasmExports.pg_detoast_datum_packed)(e); Module._add_local_int_reloption = (e, t2, r, a2, s4, o4, n3) => (Module._add_local_int_reloption = wasmExports.add_local_int_reloption)(e, t2, r, a2, s4, o4, n3); Module._getTypeOutputInfo = (e, t2, r) => (Module._getTypeOutputInfo = wasmExports.getTypeOutputInfo)(e, t2, r); Module._fmgr_info = (e, t2) => (Module._fmgr_info = wasmExports.fmgr_info)(e, t2); Module._OutputFunctionCall = (e, t2) => (Module._OutputFunctionCall = wasmExports.OutputFunctionCall)(e, t2); Module._cstring_to_text_with_len = (e, t2) => (Module._cstring_to_text_with_len = wasmExports.cstring_to_text_with_len)(e, t2); Module._accumArrayResult = (e, t2, r, a2, s4) => (Module._accumArrayResult = wasmExports.accumArrayResult)(e, t2, r, a2, s4); Module._makeArrayResult = (e, t2) => (Module._makeArrayResult = wasmExports.makeArrayResult)(e, t2); Module._OidOutputFunctionCall = (e, t2) => (Module._OidOutputFunctionCall = wasmExports.OidOutputFunctionCall)(e, t2); Module._cstring_to_text = (e) => (Module._cstring_to_text = wasmExports.cstring_to_text)(e); Module._PageGetExactFreeSpace = (e) => (Module._PageGetExactFreeSpace = wasmExports.PageGetExactFreeSpace)(e); Module._PageIndexTupleOverwrite = (e, t2, r, a2) => (Module._PageIndexTupleOverwrite = wasmExports.PageIndexTupleOverwrite)(e, t2, r, a2); Module._PageInit = (e, t2, r) => (Module._PageInit = wasmExports.PageInit)(e, t2, r); Module._PageAddItemExtended = (e, t2, r, a2, s4) => (Module._PageAddItemExtended = wasmExports.PageAddItemExtended)(e, t2, r, a2, s4); Module._LockRelationForExtension = (e, t2) => (Module._LockRelationForExtension = wasmExports.LockRelationForExtension)(e, t2); Module._UnlockRelationForExtension = (e, t2) => (Module._UnlockRelationForExtension = wasmExports.UnlockRelationForExtension)(e, t2); Module._smgropen = (e, t2) => (Module._smgropen = wasmExports.smgropen)(e, t2); Module._smgrpin = (e) => (Module._smgrpin = wasmExports.smgrpin)(e); Module._ItemPointerEquals = (e, t2) => (Module._ItemPointerEquals = wasmExports.ItemPointerEquals)(e, t2); Module._detoast_external_attr = (e) => (Module._detoast_external_attr = wasmExports.detoast_external_attr)(e); Module._CreateTemplateTupleDesc = (e) => (Module._CreateTemplateTupleDesc = wasmExports.CreateTemplateTupleDesc)(e); Module._TupleDescInitEntry = (e, t2, r, a2, s4, o4) => (Module._TupleDescInitEntry = wasmExports.TupleDescInitEntry)(e, t2, r, a2, s4, o4); Module._SearchSysCache1 = (e, t2) => (Module._SearchSysCache1 = wasmExports.SearchSysCache1)(e, t2); Module._SearchSysCacheList = (e, t2, r, a2, s4) => (Module._SearchSysCacheList = wasmExports.SearchSysCacheList)(e, t2, r, a2, s4); Module._check_amproc_signature = (e, t2, r, a2, s4, o4) => (Module._check_amproc_signature = wasmExports.check_amproc_signature)(e, t2, r, a2, s4, o4); Module._check_amoptsproc_signature = (e) => (Module._check_amoptsproc_signature = wasmExports.check_amoptsproc_signature)(e); Module._format_procedure = (e) => (Module._format_procedure = wasmExports.format_procedure)(e); Module._format_operator = (e) => (Module._format_operator = wasmExports.format_operator)(e); Module._check_amop_signature = (e, t2, r, a2) => (Module._check_amop_signature = wasmExports.check_amop_signature)(e, t2, r, a2); Module._identify_opfamily_groups = (e, t2) => (Module._identify_opfamily_groups = wasmExports.identify_opfamily_groups)(e, t2); Module._format_type_be = (e) => (Module._format_type_be = wasmExports.format_type_be)(e); Module._ReleaseCatCacheList = (e) => (Module._ReleaseCatCacheList = wasmExports.ReleaseCatCacheList)(e); Module._format_type_with_typemod = (e, t2) => (Module._format_type_with_typemod = wasmExports.format_type_with_typemod)(e, t2); Module._DatumGetEOHP = (e) => (Module._DatumGetEOHP = wasmExports.DatumGetEOHP)(e); Module._EOH_get_flat_size = (e) => (Module._EOH_get_flat_size = wasmExports.EOH_get_flat_size)(e); Module._EOH_flatten_into = (e, t2, r) => (Module._EOH_flatten_into = wasmExports.EOH_flatten_into)(e, t2, r); Module._getmissingattr = (e, t2, r) => (Module._getmissingattr = wasmExports.getmissingattr)(e, t2, r); Module._hash_create = (e, t2, r, a2) => (Module._hash_create = wasmExports.hash_create)(e, t2, r, a2); Module._hash_search = (e, t2, r, a2) => (Module._hash_search = wasmExports.hash_search)(e, t2, r, a2); Module._nocachegetattr = (e, t2, r) => (Module._nocachegetattr = wasmExports.nocachegetattr)(e, t2, r); Module._heap_form_tuple = (e, t2, r) => (Module._heap_form_tuple = wasmExports.heap_form_tuple)(e, t2, r); Module._heap_modify_tuple = (e, t2, r, a2, s4) => (Module._heap_modify_tuple = wasmExports.heap_modify_tuple)(e, t2, r, a2, s4); Module._heap_deform_tuple = (e, t2, r, a2) => (Module._heap_deform_tuple = wasmExports.heap_deform_tuple)(e, t2, r, a2); Module._heap_modify_tuple_by_cols = (e, t2, r, a2, s4, o4) => (Module._heap_modify_tuple_by_cols = wasmExports.heap_modify_tuple_by_cols)(e, t2, r, a2, s4, o4); Module._heap_freetuple = (e) => (Module._heap_freetuple = wasmExports.heap_freetuple)(e); Module._index_form_tuple = (e, t2, r) => (Module._index_form_tuple = wasmExports.index_form_tuple)(e, t2, r); Module._nocache_index_getattr = (e, t2, r) => (Module._nocache_index_getattr = wasmExports.nocache_index_getattr)(e, t2, r); Module._index_deform_tuple = (e, t2, r, a2) => (Module._index_deform_tuple = wasmExports.index_deform_tuple)(e, t2, r, a2); Module._slot_getsomeattrs_int = (e, t2) => (Module._slot_getsomeattrs_int = wasmExports.slot_getsomeattrs_int)(e, t2); Module._pg_ltoa = (e, t2) => (Module._pg_ltoa = wasmExports.pg_ltoa)(e, t2); Module._relation_open = (e, t2) => (Module._relation_open = wasmExports.relation_open)(e, t2); Module._LockRelationOid = (e, t2) => (Module._LockRelationOid = wasmExports.LockRelationOid)(e, t2); Module._try_relation_open = (e, t2) => (Module._try_relation_open = wasmExports.try_relation_open)(e, t2); Module._relation_openrv = (e, t2) => (Module._relation_openrv = wasmExports.relation_openrv)(e, t2); Module._RangeVarGetRelidExtended = (e, t2, r, a2, s4) => (Module._RangeVarGetRelidExtended = wasmExports.RangeVarGetRelidExtended)(e, t2, r, a2, s4); Module._add_reloption_kind = () => (Module._add_reloption_kind = wasmExports.add_reloption_kind)(); Module._register_reloptions_validator = (e, t2) => (Module._register_reloptions_validator = wasmExports.register_reloptions_validator)(e, t2); Module._add_int_reloption = (e, t2, r, a2, s4, o4, n3) => (Module._add_int_reloption = wasmExports.add_int_reloption)(e, t2, r, a2, s4, o4, n3); Module._MemoryContextStrdup = (e, t2) => (Module._MemoryContextStrdup = wasmExports.MemoryContextStrdup)(e, t2); Module._transformRelOptions = (e, t2, r, a2, s4, o4) => (Module._transformRelOptions = wasmExports.transformRelOptions)(e, t2, r, a2, s4, o4); Module._deconstruct_array_builtin = (e, t2, r, a2, s4) => (Module._deconstruct_array_builtin = wasmExports.deconstruct_array_builtin)(e, t2, r, a2, s4); Module._defGetString = (e) => (Module._defGetString = wasmExports.defGetString)(e); Module._defGetBoolean = (e) => (Module._defGetBoolean = wasmExports.defGetBoolean)(e); Module._untransformRelOptions = (e) => (Module._untransformRelOptions = wasmExports.untransformRelOptions)(e); Module._text_to_cstring = (e) => (Module._text_to_cstring = wasmExports.text_to_cstring)(e); Module._makeString = (e) => (Module._makeString = wasmExports.makeString)(e); Module._makeDefElem = (e, t2, r) => (Module._makeDefElem = wasmExports.makeDefElem)(e, t2, r); Module._heap_reloptions = (e, t2, r) => (Module._heap_reloptions = wasmExports.heap_reloptions)(e, t2, r); Module._MemoryContextAlloc = (e, t2) => (Module._MemoryContextAlloc = wasmExports.MemoryContextAlloc)(e, t2); Module._parse_bool = (e, t2) => (Module._parse_bool = wasmExports.parse_bool)(e, t2); Module._parse_int = (e, t2, r, a2) => (Module._parse_int = wasmExports.parse_int)(e, t2, r, a2); Module._parse_real = (e, t2, r, a2) => (Module._parse_real = wasmExports.parse_real)(e, t2, r, a2); Module._ScanKeyInit = (e, t2, r, a2, s4) => (Module._ScanKeyInit = wasmExports.ScanKeyInit)(e, t2, r, a2, s4); Module._dsm_segment_handle = (e) => (Module._dsm_segment_handle = wasmExports.dsm_segment_handle)(e); Module._dsm_create = (e, t2) => (Module._dsm_create = wasmExports.dsm_create)(e, t2); Module._dsm_segment_address = (e) => (Module._dsm_segment_address = wasmExports.dsm_segment_address)(e); Module._dsm_attach = (e) => (Module._dsm_attach = wasmExports.dsm_attach)(e); Module._dsm_detach = (e) => (Module._dsm_detach = wasmExports.dsm_detach)(e); Module._ShmemInitStruct = (e, t2, r) => (Module._ShmemInitStruct = wasmExports.ShmemInitStruct)(e, t2, r); Module._LWLockAcquire = (e, t2) => (Module._LWLockAcquire = wasmExports.LWLockAcquire)(e, t2); Module._LWLockRelease = (e) => (Module._LWLockRelease = wasmExports.LWLockRelease)(e); Module._LWLockInitialize = (e, t2) => (Module._LWLockInitialize = wasmExports.LWLockInitialize)(e, t2); Module._MemoryContextMemAllocated = (e, t2) => (Module._MemoryContextMemAllocated = wasmExports.MemoryContextMemAllocated)(e, t2); Module._GetCurrentCommandId = (e) => (Module._GetCurrentCommandId = wasmExports.GetCurrentCommandId)(e); Module._toast_open_indexes = (e, t2, r, a2) => (Module._toast_open_indexes = wasmExports.toast_open_indexes)(e, t2, r, a2); Module._RelationGetIndexList = (e) => (Module._RelationGetIndexList = wasmExports.RelationGetIndexList)(e); Module._systable_beginscan = (e, t2, r, a2, s4, o4) => (Module._systable_beginscan = wasmExports.systable_beginscan)(e, t2, r, a2, s4, o4); Module._systable_getnext = (e) => (Module._systable_getnext = wasmExports.systable_getnext)(e); Module._systable_endscan = (e) => (Module._systable_endscan = wasmExports.systable_endscan)(e); Module._toast_close_indexes = (e, t2, r) => (Module._toast_close_indexes = wasmExports.toast_close_indexes)(e, t2, r); Module._systable_beginscan_ordered = (e, t2, r, a2, s4) => (Module._systable_beginscan_ordered = wasmExports.systable_beginscan_ordered)(e, t2, r, a2, s4); Module._systable_getnext_ordered = (e, t2) => (Module._systable_getnext_ordered = wasmExports.systable_getnext_ordered)(e, t2); Module._systable_endscan_ordered = (e) => (Module._systable_endscan_ordered = wasmExports.systable_endscan_ordered)(e); Module._init_toast_snapshot = (e) => (Module._init_toast_snapshot = wasmExports.init_toast_snapshot)(e); Module._convert_tuples_by_position = (e, t2, r) => (Module._convert_tuples_by_position = wasmExports.convert_tuples_by_position)(e, t2, r); Module._execute_attr_map_tuple = (e, t2) => (Module._execute_attr_map_tuple = wasmExports.execute_attr_map_tuple)(e, t2); Module._ExecStoreVirtualTuple = (e) => (Module._ExecStoreVirtualTuple = wasmExports.ExecStoreVirtualTuple)(e); Module._bms_is_member = (e, t2) => (Module._bms_is_member = wasmExports.bms_is_member)(e, t2); Module._bms_add_member = (e, t2) => (Module._bms_add_member = wasmExports.bms_add_member)(e, t2); Module._CreateTupleDescCopy = (e) => (Module._CreateTupleDescCopy = wasmExports.CreateTupleDescCopy)(e); Module._DecrTupleDescRefCount = (e) => (Module._DecrTupleDescRefCount = wasmExports.DecrTupleDescRefCount)(e); Module._datumIsEqual = (e, t2, r, a2) => (Module._datumIsEqual = wasmExports.datumIsEqual)(e, t2, r, a2); Module._TupleDescInitEntryCollation = (e, t2, r) => (Module._TupleDescInitEntryCollation = wasmExports.TupleDescInitEntryCollation)(e, t2, r); Module._stringToNode = (e) => (Module._stringToNode = wasmExports.stringToNode)(e); Module._pg_detoast_datum_copy = (e) => (Module._pg_detoast_datum_copy = wasmExports.pg_detoast_datum_copy)(e); Module._get_typlenbyvalalign = (e, t2, r, a2) => (Module._get_typlenbyvalalign = wasmExports.get_typlenbyvalalign)(e, t2, r, a2); Module._deconstruct_array = (e, t2, r, a2, s4, o4, n3, _3) => (Module._deconstruct_array = wasmExports.deconstruct_array)(e, t2, r, a2, s4, o4, n3, _3); Module._tbm_add_tuples = (e, t2, r, a2) => (Module._tbm_add_tuples = wasmExports.tbm_add_tuples)(e, t2, r, a2); Module._ginPostingListDecode = (e, t2) => (Module._ginPostingListDecode = wasmExports.ginPostingListDecode)(e, t2); Module._ItemPointerCompare = (e, t2) => (Module._ItemPointerCompare = wasmExports.ItemPointerCompare)(e, t2); Module._LockPage = (e, t2, r) => (Module._LockPage = wasmExports.LockPage)(e, t2, r); Module._UnlockPage = (e, t2, r) => (Module._UnlockPage = wasmExports.UnlockPage)(e, t2, r); Module._vacuum_delay_point = () => (Module._vacuum_delay_point = wasmExports.vacuum_delay_point)(); Module._RecordFreeIndexPage = (e, t2) => (Module._RecordFreeIndexPage = wasmExports.RecordFreeIndexPage)(e, t2); Module._IndexFreeSpaceMapVacuum = (e) => (Module._IndexFreeSpaceMapVacuum = wasmExports.IndexFreeSpaceMapVacuum)(e); Module._log_newpage_range = (e, t2, r, a2, s4) => (Module._log_newpage_range = wasmExports.log_newpage_range)(e, t2, r, a2, s4); Module._GetFreeIndexPage = (e) => (Module._GetFreeIndexPage = wasmExports.GetFreeIndexPage)(e); Module._ConditionalLockBuffer = (e) => (Module._ConditionalLockBuffer = wasmExports.ConditionalLockBuffer)(e); Module._LockBufferForCleanup = (e) => (Module._LockBufferForCleanup = wasmExports.LockBufferForCleanup)(e); Module._gistcheckpage = (e, t2) => (Module._gistcheckpage = wasmExports.gistcheckpage)(e, t2); Module._PageIndexMultiDelete = (e, t2, r) => (Module._PageIndexMultiDelete = wasmExports.PageIndexMultiDelete)(e, t2, r); Module._smgrnblocks = (e, t2) => (Module._smgrnblocks = wasmExports.smgrnblocks)(e, t2); Module._list_free_deep = (e) => (Module._list_free_deep = wasmExports.list_free_deep)(e); Module._pairingheap_remove_first = (e) => (Module._pairingheap_remove_first = wasmExports.pairingheap_remove_first)(e); Module._pairingheap_add = (e, t2) => (Module._pairingheap_add = wasmExports.pairingheap_add)(e, t2); Module._float_overflow_error = () => (Module._float_overflow_error = wasmExports.float_overflow_error)(); Module._float_underflow_error = () => (Module._float_underflow_error = wasmExports.float_underflow_error)(); Module._DirectFunctionCall5Coll = (e, t2, r, a2, s4, o4, n3) => (Module._DirectFunctionCall5Coll = wasmExports.DirectFunctionCall5Coll)(e, t2, r, a2, s4, o4, n3); Module._pairingheap_allocate = (e, t2) => (Module._pairingheap_allocate = wasmExports.pairingheap_allocate)(e, t2); Module._GenerationContextCreate = (e, t2, r, a2, s4) => (Module._GenerationContextCreate = wasmExports.GenerationContextCreate)(e, t2, r, a2, s4); Module._pgstat_progress_update_param = (e, t2) => (Module._pgstat_progress_update_param = wasmExports.pgstat_progress_update_param)(e, t2); Module.__hash_getbuf = (e, t2, r, a2) => (Module.__hash_getbuf = wasmExports._hash_getbuf)(e, t2, r, a2); Module.__hash_relbuf = (e, t2) => (Module.__hash_relbuf = wasmExports._hash_relbuf)(e, t2); Module.__hash_get_indextuple_hashkey = (e) => (Module.__hash_get_indextuple_hashkey = wasmExports._hash_get_indextuple_hashkey)(e); Module.__hash_getbuf_with_strategy = (e, t2, r, a2, s4) => (Module.__hash_getbuf_with_strategy = wasmExports._hash_getbuf_with_strategy)(e, t2, r, a2, s4); Module.__hash_ovflblkno_to_bitno = (e, t2) => (Module.__hash_ovflblkno_to_bitno = wasmExports._hash_ovflblkno_to_bitno)(e, t2); Module._list_member_oid = (e, t2) => (Module._list_member_oid = wasmExports.list_member_oid)(e, t2); Module._HeapTupleSatisfiesVisibility = (e, t2, r) => (Module._HeapTupleSatisfiesVisibility = wasmExports.HeapTupleSatisfiesVisibility)(e, t2, r); Module._read_stream_begin_relation = (e, t2, r, a2, s4, o4, n3) => (Module._read_stream_begin_relation = wasmExports.read_stream_begin_relation)(e, t2, r, a2, s4, o4, n3); Module._GetAccessStrategy = (e) => (Module._GetAccessStrategy = wasmExports.GetAccessStrategy)(e); Module._FreeAccessStrategy = (e) => (Module._FreeAccessStrategy = wasmExports.FreeAccessStrategy)(e); Module._read_stream_end = (e) => (Module._read_stream_end = wasmExports.read_stream_end)(e); Module._heap_getnext = (e, t2) => (Module._heap_getnext = wasmExports.heap_getnext)(e, t2); Module._HeapTupleSatisfiesVacuum = (e, t2, r) => (Module._HeapTupleSatisfiesVacuum = wasmExports.HeapTupleSatisfiesVacuum)(e, t2, r); Module._GetMultiXactIdMembers = (e, t2, r, a2) => (Module._GetMultiXactIdMembers = wasmExports.GetMultiXactIdMembers)(e, t2, r, a2); Module._TransactionIdPrecedes = (e, t2) => (Module._TransactionIdPrecedes = wasmExports.TransactionIdPrecedes)(e, t2); Module._HeapTupleGetUpdateXid = (e) => (Module._HeapTupleGetUpdateXid = wasmExports.HeapTupleGetUpdateXid)(e); Module._visibilitymap_clear = (e, t2, r, a2) => (Module._visibilitymap_clear = wasmExports.visibilitymap_clear)(e, t2, r, a2); Module._pgstat_count_heap_insert = (e, t2) => (Module._pgstat_count_heap_insert = wasmExports.pgstat_count_heap_insert)(e, t2); Module._ExecFetchSlotHeapTuple = (e, t2, r) => (Module._ExecFetchSlotHeapTuple = wasmExports.ExecFetchSlotHeapTuple)(e, t2, r); Module._PageGetHeapFreeSpace = (e) => (Module._PageGetHeapFreeSpace = wasmExports.PageGetHeapFreeSpace)(e); Module._visibilitymap_pin = (e, t2, r) => (Module._visibilitymap_pin = wasmExports.visibilitymap_pin)(e, t2, r); Module._HeapTupleSatisfiesUpdate = (e, t2, r) => (Module._HeapTupleSatisfiesUpdate = wasmExports.HeapTupleSatisfiesUpdate)(e, t2, r); Module._TransactionIdIsCurrentTransactionId = (e) => (Module._TransactionIdIsCurrentTransactionId = wasmExports.TransactionIdIsCurrentTransactionId)(e); Module._TransactionIdDidCommit = (e) => (Module._TransactionIdDidCommit = wasmExports.TransactionIdDidCommit)(e); Module._TransactionIdIsInProgress = (e) => (Module._TransactionIdIsInProgress = wasmExports.TransactionIdIsInProgress)(e); Module._bms_free = (e) => (Module._bms_free = wasmExports.bms_free)(e); Module._bms_add_members = (e, t2) => (Module._bms_add_members = wasmExports.bms_add_members)(e, t2); Module._bms_next_member = (e, t2) => (Module._bms_next_member = wasmExports.bms_next_member)(e, t2); Module._bms_overlap = (e, t2) => (Module._bms_overlap = wasmExports.bms_overlap)(e, t2); Module._MultiXactIdPrecedes = (e, t2) => (Module._MultiXactIdPrecedes = wasmExports.MultiXactIdPrecedes)(e, t2); Module._heap_tuple_needs_eventual_freeze = (e) => (Module._heap_tuple_needs_eventual_freeze = wasmExports.heap_tuple_needs_eventual_freeze)(e); Module._PrefetchBuffer = (e, t2, r, a2) => (Module._PrefetchBuffer = wasmExports.PrefetchBuffer)(e, t2, r, a2); Module._XLogRecGetBlockTagExtended = (e, t2, r, a2, s4, o4) => (Module._XLogRecGetBlockTagExtended = wasmExports.XLogRecGetBlockTagExtended)(e, t2, r, a2, s4, o4); Module._read_stream_next_buffer = (e, t2) => (Module._read_stream_next_buffer = wasmExports.read_stream_next_buffer)(e, t2); Module._smgrexists = (e, t2) => (Module._smgrexists = wasmExports.smgrexists)(e, t2); Module._table_slot_create = (e, t2) => (Module._table_slot_create = wasmExports.table_slot_create)(e, t2); Module._ExecDropSingleTupleTableSlot = (e) => (Module._ExecDropSingleTupleTableSlot = wasmExports.ExecDropSingleTupleTableSlot)(e); Module._CreateExecutorState = () => (Module._CreateExecutorState = wasmExports.CreateExecutorState)(); Module._MakePerTupleExprContext = (e) => (Module._MakePerTupleExprContext = wasmExports.MakePerTupleExprContext)(e); Module._GetOldestNonRemovableTransactionId = (e) => (Module._GetOldestNonRemovableTransactionId = wasmExports.GetOldestNonRemovableTransactionId)(e); Module._FreeExecutorState = (e) => (Module._FreeExecutorState = wasmExports.FreeExecutorState)(e); Module._MakeSingleTupleTableSlot = (e, t2) => (Module._MakeSingleTupleTableSlot = wasmExports.MakeSingleTupleTableSlot)(e, t2); Module._ExecStoreHeapTuple = (e, t2, r) => (Module._ExecStoreHeapTuple = wasmExports.ExecStoreHeapTuple)(e, t2, r); Module._visibilitymap_get_status = (e, t2, r) => (Module._visibilitymap_get_status = wasmExports.visibilitymap_get_status)(e, t2, r); Module._ExecStoreAllNullTuple = (e) => (Module._ExecStoreAllNullTuple = wasmExports.ExecStoreAllNullTuple)(e); Module._XidInMVCCSnapshot = (e, t2) => (Module._XidInMVCCSnapshot = wasmExports.XidInMVCCSnapshot)(e, t2); Module._hash_seq_init = (e, t2) => (Module._hash_seq_init = wasmExports.hash_seq_init)(e, t2); Module._hash_seq_search = (e) => (Module._hash_seq_search = wasmExports.hash_seq_search)(e); Module._ftruncate = (e, t2) => (Module._ftruncate = wasmExports.ftruncate)(e, t2); Module._fd_fsync_fname = (e, t2) => (Module._fd_fsync_fname = wasmExports.fd_fsync_fname)(e, t2); Module._get_namespace_name = (e) => (Module._get_namespace_name = wasmExports.get_namespace_name)(e); Module._GetRecordedFreeSpace = (e, t2) => (Module._GetRecordedFreeSpace = wasmExports.GetRecordedFreeSpace)(e, t2); Module._vac_estimate_reltuples = (e, t2, r, a2) => (Module._vac_estimate_reltuples = wasmExports.vac_estimate_reltuples)(e, t2, r, a2); Module._WaitLatch = (e, t2, r, a2) => (Module._WaitLatch = wasmExports.WaitLatch)(e, t2, r, a2); Module._ResetLatch = (e) => (Module._ResetLatch = wasmExports.ResetLatch)(e); Module._clock_gettime = (e, t2) => (Module._clock_gettime = wasmExports.clock_gettime)(e, t2); Module._WalUsageAccumDiff = (e, t2, r) => (Module._WalUsageAccumDiff = wasmExports.WalUsageAccumDiff)(e, t2, r); Module._BufferUsageAccumDiff = (e, t2, r) => (Module._BufferUsageAccumDiff = wasmExports.BufferUsageAccumDiff)(e, t2, r); Module._visibilitymap_prepare_truncate = (e, t2) => (Module._visibilitymap_prepare_truncate = wasmExports.visibilitymap_prepare_truncate)(e, t2); Module._pg_class_aclcheck = (e, t2, r) => (Module._pg_class_aclcheck = wasmExports.pg_class_aclcheck)(e, t2, r); Module._btboolcmp = (e) => (Module._btboolcmp = wasmExports.btboolcmp)(e); Module._btint2cmp = (e) => (Module._btint2cmp = wasmExports.btint2cmp)(e); Module._btint4cmp = (e) => (Module._btint4cmp = wasmExports.btint4cmp)(e); Module._btint8cmp = (e) => (Module._btint8cmp = wasmExports.btint8cmp)(e); Module._btoidcmp = (e) => (Module._btoidcmp = wasmExports.btoidcmp)(e); Module._btcharcmp = (e) => (Module._btcharcmp = wasmExports.btcharcmp)(e); Module.__bt_form_posting = (e, t2, r) => (Module.__bt_form_posting = wasmExports._bt_form_posting)(e, t2, r); Module.__bt_mkscankey = (e, t2) => (Module.__bt_mkscankey = wasmExports._bt_mkscankey)(e, t2); Module.__bt_checkpage = (e, t2) => (Module.__bt_checkpage = wasmExports._bt_checkpage)(e, t2); Module.__bt_compare = (e, t2, r, a2) => (Module.__bt_compare = wasmExports._bt_compare)(e, t2, r, a2); Module.__bt_relbuf = (e, t2) => (Module.__bt_relbuf = wasmExports._bt_relbuf)(e, t2); Module.__bt_search = (e, t2, r, a2, s4) => (Module.__bt_search = wasmExports._bt_search)(e, t2, r, a2, s4); Module.__bt_binsrch_insert = (e, t2) => (Module.__bt_binsrch_insert = wasmExports._bt_binsrch_insert)(e, t2); Module.__bt_freestack = (e) => (Module.__bt_freestack = wasmExports._bt_freestack)(e); Module.__bt_metaversion = (e, t2, r) => (Module.__bt_metaversion = wasmExports._bt_metaversion)(e, t2, r); Module.__bt_allequalimage = (e, t2) => (Module.__bt_allequalimage = wasmExports._bt_allequalimage)(e, t2); Module._before_shmem_exit = (e, t2) => (Module._before_shmem_exit = wasmExports.before_shmem_exit)(e, t2); Module._cancel_before_shmem_exit = (e, t2) => (Module._cancel_before_shmem_exit = wasmExports.cancel_before_shmem_exit)(e, t2); Module._pg_re_throw = () => (Module._pg_re_throw = wasmExports.pg_re_throw)(); Module._get_opfamily_member = (e, t2, r, a2) => (Module._get_opfamily_member = wasmExports.get_opfamily_member)(e, t2, r, a2); Module.__bt_check_natts = (e, t2, r, a2) => (Module.__bt_check_natts = wasmExports._bt_check_natts)(e, t2, r, a2); Module._timestamptz_to_str = (e) => (Module._timestamptz_to_str = wasmExports.timestamptz_to_str)(e); Module._XLogRecGetBlockRefInfo = (e, t2, r, a2, s4) => (Module._XLogRecGetBlockRefInfo = wasmExports.XLogRecGetBlockRefInfo)(e, t2, r, a2, s4); Module._varstr_cmp = (e, t2, r, a2, s4) => (Module._varstr_cmp = wasmExports.varstr_cmp)(e, t2, r, a2, s4); Module._exprType = (e) => (Module._exprType = wasmExports.exprType)(e); Module._GetActiveSnapshot = () => (Module._GetActiveSnapshot = wasmExports.GetActiveSnapshot)(); Module._errdetail_relkind_not_supported = (e) => (Module._errdetail_relkind_not_supported = wasmExports.errdetail_relkind_not_supported)(e); Module._table_openrv = (e, t2) => (Module._table_openrv = wasmExports.table_openrv)(e, t2); Module._table_slot_callbacks = (e) => (Module._table_slot_callbacks = wasmExports.table_slot_callbacks)(e); Module._clamp_row_est = (e) => (Module._clamp_row_est = wasmExports.clamp_row_est)(e); Module._estimate_expression_value = (e, t2) => (Module._estimate_expression_value = wasmExports.estimate_expression_value)(e, t2); Module._XLogFlush = (e) => (Module._XLogFlush = wasmExports.XLogFlush)(e); Module._get_call_result_type = (e, t2, r) => (Module._get_call_result_type = wasmExports.get_call_result_type)(e, t2, r); Module._HeapTupleHeaderGetDatum = (e) => (Module._HeapTupleHeaderGetDatum = wasmExports.HeapTupleHeaderGetDatum)(e); Module._GenericXLogStart = (e) => (Module._GenericXLogStart = wasmExports.GenericXLogStart)(e); Module._GenericXLogRegisterBuffer = (e, t2, r) => (Module._GenericXLogRegisterBuffer = wasmExports.GenericXLogRegisterBuffer)(e, t2, r); Module._GenericXLogFinish = (e) => (Module._GenericXLogFinish = wasmExports.GenericXLogFinish)(e); Module._GenericXLogAbort = (e) => (Module._GenericXLogAbort = wasmExports.GenericXLogAbort)(e); Module._errmsg_plural = (e, t2, r, a2) => (Module._errmsg_plural = wasmExports.errmsg_plural)(e, t2, r, a2); Module._ReadNextMultiXactId = () => (Module._ReadNextMultiXactId = wasmExports.ReadNextMultiXactId)(); Module._ReadMultiXactIdRange = (e, t2) => (Module._ReadMultiXactIdRange = wasmExports.ReadMultiXactIdRange)(e, t2); Module._MultiXactIdPrecedesOrEquals = (e, t2) => (Module._MultiXactIdPrecedesOrEquals = wasmExports.MultiXactIdPrecedesOrEquals)(e, t2); Module._init_MultiFuncCall = (e) => (Module._init_MultiFuncCall = wasmExports.init_MultiFuncCall)(e); Module._TupleDescGetAttInMetadata = (e) => (Module._TupleDescGetAttInMetadata = wasmExports.TupleDescGetAttInMetadata)(e); Module._per_MultiFuncCall = (e) => (Module._per_MultiFuncCall = wasmExports.per_MultiFuncCall)(e); Module._BuildTupleFromCStrings = (e, t2) => (Module._BuildTupleFromCStrings = wasmExports.BuildTupleFromCStrings)(e, t2); Module._end_MultiFuncCall = (e, t2) => (Module._end_MultiFuncCall = wasmExports.end_MultiFuncCall)(e, t2); Module._GetCurrentSubTransactionId = () => (Module._GetCurrentSubTransactionId = wasmExports.GetCurrentSubTransactionId)(); Module._WaitForBackgroundWorkerShutdown = (e) => (Module._WaitForBackgroundWorkerShutdown = wasmExports.WaitForBackgroundWorkerShutdown)(e); Module._RegisterDynamicBackgroundWorker = (e, t2) => (Module._RegisterDynamicBackgroundWorker = wasmExports.RegisterDynamicBackgroundWorker)(e, t2); Module._BackgroundWorkerUnblockSignals = () => (Module._BackgroundWorkerUnblockSignals = wasmExports.BackgroundWorkerUnblockSignals)(); Module._BackgroundWorkerInitializeConnectionByOid = (e, t2, r) => (Module._BackgroundWorkerInitializeConnectionByOid = wasmExports.BackgroundWorkerInitializeConnectionByOid)(e, t2, r); Module._GetDatabaseEncoding = () => (Module._GetDatabaseEncoding = wasmExports.GetDatabaseEncoding)(); Module._RmgrNotFound = (e) => (Module._RmgrNotFound = wasmExports.RmgrNotFound)(e); Module._InitMaterializedSRF = (e, t2) => (Module._InitMaterializedSRF = wasmExports.InitMaterializedSRF)(e, t2); Module._tuplestore_putvalues = (e, t2, r, a2) => (Module._tuplestore_putvalues = wasmExports.tuplestore_putvalues)(e, t2, r, a2); Module._AllocateFile = (e, t2) => (Module._AllocateFile = wasmExports.AllocateFile)(e, t2); Module._FreeFile = (e) => (Module._FreeFile = wasmExports.FreeFile)(e); Module._fd_durable_rename = (e, t2, r) => (Module._fd_durable_rename = wasmExports.fd_durable_rename)(e, t2, r); Module._BlessTupleDesc = (e) => (Module._BlessTupleDesc = wasmExports.BlessTupleDesc)(e); Module._fstat = (e, t2) => (Module._fstat = wasmExports.fstat)(e, t2); Module._superuser_arg = (e) => (Module._superuser_arg = wasmExports.superuser_arg)(e); Module._wal_segment_close = (e) => (Module._wal_segment_close = wasmExports.wal_segment_close)(e); Module._wal_segment_open = (e, t2, r) => (Module._wal_segment_open = wasmExports.wal_segment_open)(e, t2, r); Module._XLogReaderAllocate = (e, t2, r, a2) => (Module._XLogReaderAllocate = wasmExports.XLogReaderAllocate)(e, t2, r, a2); Module._XLogReadRecord = (e, t2) => (Module._XLogReadRecord = wasmExports.XLogReadRecord)(e, t2); Module._XLogReaderFree = (e) => (Module._XLogReaderFree = wasmExports.XLogReaderFree)(e); Module._GetTopFullTransactionId = () => (Module._GetTopFullTransactionId = wasmExports.GetTopFullTransactionId)(); Module._GetCurrentTransactionNestLevel = () => (Module._GetCurrentTransactionNestLevel = wasmExports.GetCurrentTransactionNestLevel)(); Module._ResourceOwnerCreate = (e, t2) => (Module._ResourceOwnerCreate = wasmExports.ResourceOwnerCreate)(e, t2); Module._RegisterXactCallback = (e, t2) => (Module._RegisterXactCallback = wasmExports.RegisterXactCallback)(e, t2); Module._RegisterSubXactCallback = (e, t2) => (Module._RegisterSubXactCallback = wasmExports.RegisterSubXactCallback)(e, t2); Module._BeginInternalSubTransaction = (e) => (Module._BeginInternalSubTransaction = wasmExports.BeginInternalSubTransaction)(e); Module._ReleaseCurrentSubTransaction = () => (Module._ReleaseCurrentSubTransaction = wasmExports.ReleaseCurrentSubTransaction)(); Module._ResourceOwnerDelete = (e) => (Module._ResourceOwnerDelete = wasmExports.ResourceOwnerDelete)(e); Module._RollbackAndReleaseCurrentSubTransaction = () => (Module._RollbackAndReleaseCurrentSubTransaction = wasmExports.RollbackAndReleaseCurrentSubTransaction)(); Module._ReleaseExternalFD = () => (Module._ReleaseExternalFD = wasmExports.ReleaseExternalFD)(); Module._GetFlushRecPtr = (e) => (Module._GetFlushRecPtr = wasmExports.GetFlushRecPtr)(e); Module._GetXLogReplayRecPtr = (e) => (Module._GetXLogReplayRecPtr = wasmExports.GetXLogReplayRecPtr)(e); Module._TimestampDifferenceMilliseconds = (e, t2) => (Module._TimestampDifferenceMilliseconds = wasmExports.TimestampDifferenceMilliseconds)(e, t2); Module._numeric_in = (e) => (Module._numeric_in = wasmExports.numeric_in)(e); Module._DirectFunctionCall3Coll = (e, t2, r, a2, s4) => (Module._DirectFunctionCall3Coll = wasmExports.DirectFunctionCall3Coll)(e, t2, r, a2, s4); Module._XLogFindNextRecord = (e, t2) => (Module._XLogFindNextRecord = wasmExports.XLogFindNextRecord)(e, t2); Module._RestoreBlockImage = (e, t2, r) => (Module._RestoreBlockImage = wasmExports.RestoreBlockImage)(e, t2, r); Module._timestamptz_in = (e) => (Module._timestamptz_in = wasmExports.timestamptz_in)(e); Module._fscanf = (e, t2, r) => (Module._fscanf = wasmExports.fscanf)(e, t2, r); Module._XLogRecStoreStats = (e, t2) => (Module._XLogRecStoreStats = wasmExports.XLogRecStoreStats)(e, t2); Module._hash_get_num_entries = (e) => (Module._hash_get_num_entries = wasmExports.hash_get_num_entries)(e); Module._read_local_xlog_page_no_wait = (e, t2, r, a2, s4) => (Module._read_local_xlog_page_no_wait = wasmExports.read_local_xlog_page_no_wait)(e, t2, r, a2, s4); Module._escape_json = (e, t2) => (Module._escape_json = wasmExports.escape_json)(e, t2); Module._list_sort = (e, t2) => (Module._list_sort = wasmExports.list_sort)(e, t2); Module._pg_checksum_page = (e, t2) => (Module._pg_checksum_page = wasmExports.pg_checksum_page)(e, t2); Module._bbsink_forward_end_archive = (e) => (Module._bbsink_forward_end_archive = wasmExports.bbsink_forward_end_archive)(e); Module._bbsink_forward_begin_manifest = (e) => (Module._bbsink_forward_begin_manifest = wasmExports.bbsink_forward_begin_manifest)(e); Module._bbsink_forward_end_manifest = (e) => (Module._bbsink_forward_end_manifest = wasmExports.bbsink_forward_end_manifest)(e); Module._bbsink_forward_end_backup = (e, t2, r) => (Module._bbsink_forward_end_backup = wasmExports.bbsink_forward_end_backup)(e, t2, r); Module._bbsink_forward_cleanup = (e) => (Module._bbsink_forward_cleanup = wasmExports.bbsink_forward_cleanup)(e); Module._list_concat = (e, t2) => (Module._list_concat = wasmExports.list_concat)(e, t2); Module._bbsink_forward_begin_backup = (e) => (Module._bbsink_forward_begin_backup = wasmExports.bbsink_forward_begin_backup)(e); Module._bbsink_forward_archive_contents = (e, t2) => (Module._bbsink_forward_archive_contents = wasmExports.bbsink_forward_archive_contents)(e, t2); Module._bbsink_forward_begin_archive = (e, t2) => (Module._bbsink_forward_begin_archive = wasmExports.bbsink_forward_begin_archive)(e, t2); Module._bbsink_forward_manifest_contents = (e, t2) => (Module._bbsink_forward_manifest_contents = wasmExports.bbsink_forward_manifest_contents)(e, t2); Module._has_privs_of_role = (e, t2) => (Module._has_privs_of_role = wasmExports.has_privs_of_role)(e, t2); Module._BaseBackupAddTarget = (e, t2, r) => (Module._BaseBackupAddTarget = wasmExports.BaseBackupAddTarget)(e, t2, r); Module._list_copy = (e) => (Module._list_copy = wasmExports.list_copy)(e); Module._tuplestore_puttuple = (e, t2) => (Module._tuplestore_puttuple = wasmExports.tuplestore_puttuple)(e, t2); Module._makeRangeVar = (e, t2, r) => (Module._makeRangeVar = wasmExports.makeRangeVar)(e, t2, r); Module._DefineIndex = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2) => (Module._DefineIndex = wasmExports.DefineIndex)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2); Module._fread = (e, t2, r, a2) => (Module._fread = wasmExports.fread)(e, t2, r, a2); Module._clearerr = (e) => (Module._clearerr = wasmExports.clearerr)(e); Module._copyObjectImpl = (e) => (Module._copyObjectImpl = wasmExports.copyObjectImpl)(e); Module._lappend_oid = (e, t2) => (Module._lappend_oid = wasmExports.lappend_oid)(e, t2); Module._makeTypeNameFromNameList = (e) => (Module._makeTypeNameFromNameList = wasmExports.makeTypeNameFromNameList)(e); Module._CatalogTupleUpdate = (e, t2, r) => (Module._CatalogTupleUpdate = wasmExports.CatalogTupleUpdate)(e, t2, r); Module._get_rel_name = (e) => (Module._get_rel_name = wasmExports.get_rel_name)(e); Module._CatalogTupleDelete = (e, t2) => (Module._CatalogTupleDelete = wasmExports.CatalogTupleDelete)(e, t2); Module._CatalogTupleInsert = (e, t2) => (Module._CatalogTupleInsert = wasmExports.CatalogTupleInsert)(e, t2); Module._recordDependencyOn = (e, t2, r) => (Module._recordDependencyOn = wasmExports.recordDependencyOn)(e, t2, r); Module._get_element_type = (e) => (Module._get_element_type = wasmExports.get_element_type)(e); Module._object_aclcheck = (e, t2, r, a2) => (Module._object_aclcheck = wasmExports.object_aclcheck)(e, t2, r, a2); Module._superuser = () => (Module._superuser = wasmExports.superuser)(); Module._SearchSysCacheAttName = (e, t2) => (Module._SearchSysCacheAttName = wasmExports.SearchSysCacheAttName)(e, t2); Module._new_object_addresses = () => (Module._new_object_addresses = wasmExports.new_object_addresses)(); Module._free_object_addresses = (e) => (Module._free_object_addresses = wasmExports.free_object_addresses)(e); Module._performMultipleDeletions = (e, t2, r) => (Module._performMultipleDeletions = wasmExports.performMultipleDeletions)(e, t2, r); Module._recordDependencyOnExpr = (e, t2, r, a2) => (Module._recordDependencyOnExpr = wasmExports.recordDependencyOnExpr)(e, t2, r, a2); Module._query_tree_walker_impl = (e, t2, r, a2) => (Module._query_tree_walker_impl = wasmExports.query_tree_walker_impl)(e, t2, r, a2); Module._expression_tree_walker_impl = (e, t2, r) => (Module._expression_tree_walker_impl = wasmExports.expression_tree_walker_impl)(e, t2, r); Module._add_exact_object_address = (e, t2) => (Module._add_exact_object_address = wasmExports.add_exact_object_address)(e, t2); Module._get_rel_relkind = (e) => (Module._get_rel_relkind = wasmExports.get_rel_relkind)(e); Module._get_typtype = (e) => (Module._get_typtype = wasmExports.get_typtype)(e); Module._list_delete_last = (e) => (Module._list_delete_last = wasmExports.list_delete_last)(e); Module._type_is_collatable = (e) => (Module._type_is_collatable = wasmExports.type_is_collatable)(e); Module._GetSysCacheOid = (e, t2, r, a2, s4, o4) => (Module._GetSysCacheOid = wasmExports.GetSysCacheOid)(e, t2, r, a2, s4, o4); Module._CheckTableNotInUse = (e, t2) => (Module._CheckTableNotInUse = wasmExports.CheckTableNotInUse)(e, t2); Module._construct_array = (e, t2, r, a2, s4, o4) => (Module._construct_array = wasmExports.construct_array)(e, t2, r, a2, s4, o4); Module._make_parsestate = (e) => (Module._make_parsestate = wasmExports.make_parsestate)(e); Module._transformExpr = (e, t2, r) => (Module._transformExpr = wasmExports.transformExpr)(e, t2, r); Module._equal = (e, t2) => (Module._equal = wasmExports.equal)(e, t2); Module._pull_var_clause = (e, t2) => (Module._pull_var_clause = wasmExports.pull_var_clause)(e, t2); Module._get_attname = (e, t2, r) => (Module._get_attname = wasmExports.get_attname)(e, t2, r); Module._coerce_to_target_type = (e, t2, r, a2, s4, o4, n3, _3) => (Module._coerce_to_target_type = wasmExports.coerce_to_target_type)(e, t2, r, a2, s4, o4, n3, _3); Module._nodeToString = (e) => (Module._nodeToString = wasmExports.nodeToString)(e); Module._parser_errposition = (e, t2) => (Module._parser_errposition = wasmExports.parser_errposition)(e, t2); Module._exprTypmod = (e) => (Module._exprTypmod = wasmExports.exprTypmod)(e); Module._get_base_element_type = (e) => (Module._get_base_element_type = wasmExports.get_base_element_type)(e); Module._SystemFuncName = (e) => (Module._SystemFuncName = wasmExports.SystemFuncName)(e); Module._CreateTrigger = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2) => (Module._CreateTrigger = wasmExports.CreateTrigger)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2); Module._plan_create_index_workers = (e, t2) => (Module._plan_create_index_workers = wasmExports.plan_create_index_workers)(e, t2); Module._get_rel_namespace = (e) => (Module._get_rel_namespace = wasmExports.get_rel_namespace)(e); Module._ConditionalLockRelationOid = (e, t2) => (Module._ConditionalLockRelationOid = wasmExports.ConditionalLockRelationOid)(e, t2); Module._RelnameGetRelid = (e) => (Module._RelnameGetRelid = wasmExports.RelnameGetRelid)(e); Module._get_relkind_objtype = (e) => (Module._get_relkind_objtype = wasmExports.get_relkind_objtype)(e); Module._RelationIsVisible = (e) => (Module._RelationIsVisible = wasmExports.RelationIsVisible)(e); Module._get_func_arg_info = (e, t2, r, a2) => (Module._get_func_arg_info = wasmExports.get_func_arg_info)(e, t2, r, a2); Module._NameListToString = (e) => (Module._NameListToString = wasmExports.NameListToString)(e); Module._OpernameGetOprid = (e, t2, r) => (Module._OpernameGetOprid = wasmExports.OpernameGetOprid)(e, t2, r); Module._makeRangeVarFromNameList = (e) => (Module._makeRangeVarFromNameList = wasmExports.makeRangeVarFromNameList)(e); Module._quote_identifier = (e) => (Module._quote_identifier = wasmExports.quote_identifier)(e); Module._GetSearchPathMatcher = (e) => (Module._GetSearchPathMatcher = wasmExports.GetSearchPathMatcher)(e); Module._SearchPathMatchesCurrentEnvironment = (e) => (Module._SearchPathMatchesCurrentEnvironment = wasmExports.SearchPathMatchesCurrentEnvironment)(e); Module._get_collation_oid = (e, t2) => (Module._get_collation_oid = wasmExports.get_collation_oid)(e, t2); Module._CacheRegisterSyscacheCallback = (e, t2, r) => (Module._CacheRegisterSyscacheCallback = wasmExports.CacheRegisterSyscacheCallback)(e, t2, r); Module._get_extension_oid = (e, t2) => (Module._get_extension_oid = wasmExports.get_extension_oid)(e, t2); Module._get_role_oid = (e, t2) => (Module._get_role_oid = wasmExports.get_role_oid)(e, t2); Module._GetForeignServerByName = (e, t2) => (Module._GetForeignServerByName = wasmExports.GetForeignServerByName)(e, t2); Module._typeStringToTypeName = (e, t2) => (Module._typeStringToTypeName = wasmExports.typeStringToTypeName)(e, t2); Module._list_make2_impl = (e, t2, r) => (Module._list_make2_impl = wasmExports.list_make2_impl)(e, t2, r); Module._GetUserNameFromId = (e, t2) => (Module._GetUserNameFromId = wasmExports.GetUserNameFromId)(e, t2); Module._format_type_extended = (e, t2, r) => (Module._format_type_extended = wasmExports.format_type_extended)(e, t2, r); Module._quote_qualified_identifier = (e, t2) => (Module._quote_qualified_identifier = wasmExports.quote_qualified_identifier)(e, t2); Module._get_tablespace_name = (e) => (Module._get_tablespace_name = wasmExports.get_tablespace_name)(e); Module._GetForeignServerExtended = (e, t2) => (Module._GetForeignServerExtended = wasmExports.GetForeignServerExtended)(e, t2); Module._GetForeignServer = (e) => (Module._GetForeignServer = wasmExports.GetForeignServer)(e); Module._construct_empty_array = (e) => (Module._construct_empty_array = wasmExports.construct_empty_array)(e); Module._format_type_be_qualified = (e) => (Module._format_type_be_qualified = wasmExports.format_type_be_qualified)(e); Module._get_namespace_name_or_temp = (e) => (Module._get_namespace_name_or_temp = wasmExports.get_namespace_name_or_temp)(e); Module._list_make3_impl = (e, t2, r, a2) => (Module._list_make3_impl = wasmExports.list_make3_impl)(e, t2, r, a2); Module._construct_md_array = (e, t2, r, a2, s4, o4, n3, _3, l3) => (Module._construct_md_array = wasmExports.construct_md_array)(e, t2, r, a2, s4, o4, n3, _3, l3); Module._pull_varattnos = (e, t2, r) => (Module._pull_varattnos = wasmExports.pull_varattnos)(e, t2, r); Module._get_func_name = (e) => (Module._get_func_name = wasmExports.get_func_name)(e); Module._construct_array_builtin = (e, t2, r) => (Module._construct_array_builtin = wasmExports.construct_array_builtin)(e, t2, r); Module._makeObjectName = (e, t2, r) => (Module._makeObjectName = wasmExports.makeObjectName)(e, t2, r); Module._get_primary_key_attnos = (e, t2, r) => (Module._get_primary_key_attnos = wasmExports.get_primary_key_attnos)(e, t2, r); Module._bms_is_subset = (e, t2) => (Module._bms_is_subset = wasmExports.bms_is_subset)(e, t2); Module._getExtensionOfObject = (e, t2) => (Module._getExtensionOfObject = wasmExports.getExtensionOfObject)(e, t2); Module._find_inheritance_children = (e, t2) => (Module._find_inheritance_children = wasmExports.find_inheritance_children)(e, t2); Module._lappend_int = (e, t2) => (Module._lappend_int = wasmExports.lappend_int)(e, t2); Module._has_superclass = (e) => (Module._has_superclass = wasmExports.has_superclass)(e); Module._CheckFunctionValidatorAccess = (e, t2) => (Module._CheckFunctionValidatorAccess = wasmExports.CheckFunctionValidatorAccess)(e, t2); Module._AcquireRewriteLocks = (e, t2, r) => (Module._AcquireRewriteLocks = wasmExports.AcquireRewriteLocks)(e, t2, r); Module._function_parse_error_transpose = (e) => (Module._function_parse_error_transpose = wasmExports.function_parse_error_transpose)(e); Module._geterrposition = () => (Module._geterrposition = wasmExports.geterrposition)(); Module._getinternalerrposition = () => (Module._getinternalerrposition = wasmExports.getinternalerrposition)(); Module._pg_mblen = (e) => (Module._pg_mblen = wasmExports.pg_mblen)(e); Module._pg_mbstrlen_with_len = (e, t2) => (Module._pg_mbstrlen_with_len = wasmExports.pg_mbstrlen_with_len)(e, t2); Module._errposition = (e) => (Module._errposition = wasmExports.errposition)(e); Module._internalerrposition = (e) => (Module._internalerrposition = wasmExports.internalerrposition)(e); Module._internalerrquery = (e) => (Module._internalerrquery = wasmExports.internalerrquery)(e); Module._list_delete_nth_cell = (e, t2) => (Module._list_delete_nth_cell = wasmExports.list_delete_nth_cell)(e, t2); Module._get_array_type = (e) => (Module._get_array_type = wasmExports.get_array_type)(e); Module._smgrtruncate2 = (e, t2, r, a2, s4) => (Module._smgrtruncate2 = wasmExports.smgrtruncate2)(e, t2, r, a2, s4); Module._smgrreadv = (e, t2, r, a2, s4) => (Module._smgrreadv = wasmExports.smgrreadv)(e, t2, r, a2, s4); Module._NewRelationCreateToastTable = (e, t2) => (Module._NewRelationCreateToastTable = wasmExports.NewRelationCreateToastTable)(e, t2); Module._transformStmt = (e, t2) => (Module._transformStmt = wasmExports.transformStmt)(e, t2); Module._exprLocation = (e) => (Module._exprLocation = wasmExports.exprLocation)(e); Module._ParseFuncOrColumn = (e, t2, r, a2, s4, o4, n3) => (Module._ParseFuncOrColumn = wasmExports.ParseFuncOrColumn)(e, t2, r, a2, s4, o4, n3); Module._exprCollation = (e) => (Module._exprCollation = wasmExports.exprCollation)(e); Module._transformDistinctClause = (e, t2, r, a2) => (Module._transformDistinctClause = wasmExports.transformDistinctClause)(e, t2, r, a2); Module._makeTargetEntry = (e, t2, r, a2) => (Module._makeTargetEntry = wasmExports.makeTargetEntry)(e, t2, r, a2); Module._makeAlias = (e, t2) => (Module._makeAlias = wasmExports.makeAlias)(e, t2); Module._addRangeTableEntryForSubquery = (e, t2, r, a2, s4) => (Module._addRangeTableEntryForSubquery = wasmExports.addRangeTableEntryForSubquery)(e, t2, r, a2, s4); Module._makeVar = (e, t2, r, a2, s4, o4) => (Module._makeVar = wasmExports.makeVar)(e, t2, r, a2, s4, o4); Module._makeBoolean = (e) => (Module._makeBoolean = wasmExports.makeBoolean)(e); Module._makeInteger = (e) => (Module._makeInteger = wasmExports.makeInteger)(e); Module._makeTypeName = (e) => (Module._makeTypeName = wasmExports.makeTypeName)(e); Module._makeFuncCall = (e, t2, r, a2) => (Module._makeFuncCall = wasmExports.makeFuncCall)(e, t2, r, a2); Module._list_make4_impl = (e, t2, r, a2, s4) => (Module._list_make4_impl = wasmExports.list_make4_impl)(e, t2, r, a2, s4); Module._get_sortgroupclause_tle = (e, t2) => (Module._get_sortgroupclause_tle = wasmExports.get_sortgroupclause_tle)(e, t2); Module._flatten_join_alias_vars = (e, t2, r) => (Module._flatten_join_alias_vars = wasmExports.flatten_join_alias_vars)(e, t2, r); Module._list_member_int = (e, t2) => (Module._list_member_int = wasmExports.list_member_int)(e, t2); Module._addRangeTableEntryForENR = (e, t2, r) => (Module._addRangeTableEntryForENR = wasmExports.addRangeTableEntryForENR)(e, t2, r); Module._typenameTypeIdAndMod = (e, t2, r, a2) => (Module._typenameTypeIdAndMod = wasmExports.typenameTypeIdAndMod)(e, t2, r, a2); Module._get_typcollation = (e) => (Module._get_typcollation = wasmExports.get_typcollation)(e); Module._strip_implicit_coercions = (e) => (Module._strip_implicit_coercions = wasmExports.strip_implicit_coercions)(e); Module._get_sortgroupref_tle = (e, t2) => (Module._get_sortgroupref_tle = wasmExports.get_sortgroupref_tle)(e, t2); Module._contain_aggs_of_level = (e, t2) => (Module._contain_aggs_of_level = wasmExports.contain_aggs_of_level)(e, t2); Module._typeidType = (e) => (Module._typeidType = wasmExports.typeidType)(e); Module._typeTypeCollation = (e) => (Module._typeTypeCollation = wasmExports.typeTypeCollation)(e); Module._typeLen = (e) => (Module._typeLen = wasmExports.typeLen)(e); Module._typeByVal = (e) => (Module._typeByVal = wasmExports.typeByVal)(e); Module._makeConst = (e, t2, r, a2, s4, o4, n3) => (Module._makeConst = wasmExports.makeConst)(e, t2, r, a2, s4, o4, n3); Module._lookup_rowtype_tupdesc = (e, t2) => (Module._lookup_rowtype_tupdesc = wasmExports.lookup_rowtype_tupdesc)(e, t2); Module._bms_del_member = (e, t2) => (Module._bms_del_member = wasmExports.bms_del_member)(e, t2); Module._list_member = (e, t2) => (Module._list_member = wasmExports.list_member)(e, t2); Module._type_is_rowtype = (e) => (Module._type_is_rowtype = wasmExports.type_is_rowtype)(e); Module._bit_in = (e) => (Module._bit_in = wasmExports.bit_in)(e); Module._bms_union = (e, t2) => (Module._bms_union = wasmExports.bms_union)(e, t2); Module._varstr_levenshtein_less_equal = (e, t2, r, a2, s4, o4, n3, _3, l3) => (Module._varstr_levenshtein_less_equal = wasmExports.varstr_levenshtein_less_equal)(e, t2, r, a2, s4, o4, n3, _3, l3); Module._errsave_start = (e, t2) => (Module._errsave_start = wasmExports.errsave_start)(e, t2); Module._errsave_finish = (e, t2, r, a2) => (Module._errsave_finish = wasmExports.errsave_finish)(e, t2, r, a2); Module._makeColumnDef = (e, t2, r, a2) => (Module._makeColumnDef = wasmExports.makeColumnDef)(e, t2, r, a2); Module._GetDefaultOpClass = (e, t2) => (Module._GetDefaultOpClass = wasmExports.GetDefaultOpClass)(e, t2); Module._scanner_init = (e, t2, r, a2) => (Module._scanner_init = wasmExports.scanner_init)(e, t2, r, a2); Module._scanner_finish = (e) => (Module._scanner_finish = wasmExports.scanner_finish)(e); Module._core_yylex = (e, t2, r) => (Module._core_yylex = wasmExports.core_yylex)(e, t2, r); Module._isxdigit = (e) => (Module._isxdigit = wasmExports.isxdigit)(e); Module._scanner_isspace = (e) => (Module._scanner_isspace = wasmExports.scanner_isspace)(e); Module._truncate_identifier = (e, t2, r) => (Module._truncate_identifier = wasmExports.truncate_identifier)(e, t2, r); Module._pg_database_encoding_max_length = () => (Module._pg_database_encoding_max_length = wasmExports.pg_database_encoding_max_length)(); Module._namein = (e) => (Module._namein = wasmExports.namein)(e); Module._BlockSampler_Init = (e, t2, r, a2) => (Module._BlockSampler_Init = wasmExports.BlockSampler_Init)(e, t2, r, a2); Module._reservoir_init_selection_state = (e, t2) => (Module._reservoir_init_selection_state = wasmExports.reservoir_init_selection_state)(e, t2); Module._reservoir_get_next_S = (e, t2, r) => (Module._reservoir_get_next_S = wasmExports.reservoir_get_next_S)(e, t2, r); Module._sampler_random_fract = (e) => (Module._sampler_random_fract = wasmExports.sampler_random_fract)(e); Module._BlockSampler_HasMore = (e) => (Module._BlockSampler_HasMore = wasmExports.BlockSampler_HasMore)(e); Module._BlockSampler_Next = (e) => (Module._BlockSampler_Next = wasmExports.BlockSampler_Next)(e); Module._Async_Notify = (e, t2) => (Module._Async_Notify = wasmExports.Async_Notify)(e, t2); Module._RangeVarCallbackMaintainsTable = (e, t2, r, a2) => (Module._RangeVarCallbackMaintainsTable = wasmExports.RangeVarCallbackMaintainsTable)(e, t2, r, a2); Module._make_new_heap = (e, t2, r, a2, s4) => (Module._make_new_heap = wasmExports.make_new_heap)(e, t2, r, a2, s4); Module._finish_heap_swap = (e, t2, r, a2, s4, o4, n3, _3, l3) => (Module._finish_heap_swap = wasmExports.finish_heap_swap)(e, t2, r, a2, s4, o4, n3, _3, l3); Module._wasm_OpenPipeStream = (e, t2) => (Module._wasm_OpenPipeStream = wasmExports.wasm_OpenPipeStream)(e, t2); Module._ClosePipeStream = (e) => (Module._ClosePipeStream = wasmExports.ClosePipeStream)(e); Module._BeginCopyFrom = (e, t2, r, a2, s4, o4, n3, _3) => (Module._BeginCopyFrom = wasmExports.BeginCopyFrom)(e, t2, r, a2, s4, o4, n3, _3); Module._EndCopyFrom = (e) => (Module._EndCopyFrom = wasmExports.EndCopyFrom)(e); Module._ProcessCopyOptions = (e, t2, r, a2) => (Module._ProcessCopyOptions = wasmExports.ProcessCopyOptions)(e, t2, r, a2); Module._CopyFromErrorCallback = (e) => (Module._CopyFromErrorCallback = wasmExports.CopyFromErrorCallback)(e); Module._NextCopyFrom = (e, t2, r, a2) => (Module._NextCopyFrom = wasmExports.NextCopyFrom)(e, t2, r, a2); Module._ExecInitExpr = (e, t2) => (Module._ExecInitExpr = wasmExports.ExecInitExpr)(e, t2); Module._tolower = (e) => (Module._tolower = wasmExports.tolower)(e); Module._PushCopiedSnapshot = (e) => (Module._PushCopiedSnapshot = wasmExports.PushCopiedSnapshot)(e); Module._UpdateActiveSnapshotCommandId = () => (Module._UpdateActiveSnapshotCommandId = wasmExports.UpdateActiveSnapshotCommandId)(); Module._CreateQueryDesc = (e, t2, r, a2, s4, o4, n3, _3) => (Module._CreateQueryDesc = wasmExports.CreateQueryDesc)(e, t2, r, a2, s4, o4, n3, _3); Module._ExecutorStart = (e, t2) => (Module._ExecutorStart = wasmExports.ExecutorStart)(e, t2); Module._ExecutorFinish = (e) => (Module._ExecutorFinish = wasmExports.ExecutorFinish)(e); Module._ExecutorEnd = (e) => (Module._ExecutorEnd = wasmExports.ExecutorEnd)(e); Module._FreeQueryDesc = (e) => (Module._FreeQueryDesc = wasmExports.FreeQueryDesc)(e); Module._pg_server_to_any = (e, t2, r) => (Module._pg_server_to_any = wasmExports.pg_server_to_any)(e, t2, r); Module._ExecutorRun = (e, t2, r, a2) => (Module._ExecutorRun = wasmExports.ExecutorRun)(e, t2, r, a2); Module._CreateTableAsRelExists = (e) => (Module._CreateTableAsRelExists = wasmExports.CreateTableAsRelExists)(e); Module._DefineRelation = (e, t2, r, a2, s4, o4) => (Module._DefineRelation = wasmExports.DefineRelation)(e, t2, r, a2, s4, o4); Module._oidin = (e) => (Module._oidin = wasmExports.oidin)(e); Module._GetCommandTagName = (e) => (Module._GetCommandTagName = wasmExports.GetCommandTagName)(e); Module._ExplainBeginOutput = (e) => (Module._ExplainBeginOutput = wasmExports.ExplainBeginOutput)(e); Module._NewExplainState = () => (Module._NewExplainState = wasmExports.NewExplainState)(); Module._ExplainEndOutput = (e) => (Module._ExplainEndOutput = wasmExports.ExplainEndOutput)(e); Module._ExplainPrintPlan = (e, t2) => (Module._ExplainPrintPlan = wasmExports.ExplainPrintPlan)(e, t2); Module._ExplainPrintTriggers = (e, t2) => (Module._ExplainPrintTriggers = wasmExports.ExplainPrintTriggers)(e, t2); Module._ExplainPrintJITSummary = (e, t2) => (Module._ExplainPrintJITSummary = wasmExports.ExplainPrintJITSummary)(e, t2); Module._InstrEndLoop = (e) => (Module._InstrEndLoop = wasmExports.InstrEndLoop)(e); Module._ExplainPropertyInteger = (e, t2, r, a2) => (Module._ExplainPropertyInteger = wasmExports.ExplainPropertyInteger)(e, t2, r, a2); Module._ExplainQueryText = (e, t2) => (Module._ExplainQueryText = wasmExports.ExplainQueryText)(e, t2); Module._ExplainPropertyText = (e, t2, r) => (Module._ExplainPropertyText = wasmExports.ExplainPropertyText)(e, t2, r); Module._ExplainQueryParameters = (e, t2, r) => (Module._ExplainQueryParameters = wasmExports.ExplainQueryParameters)(e, t2, r); Module._get_func_namespace = (e) => (Module._get_func_namespace = wasmExports.get_func_namespace)(e); Module._get_rel_type_id = (e) => (Module._get_rel_type_id = wasmExports.get_rel_type_id)(e); Module._set_config_option = (e, t2, r, a2, s4, o4, n3, _3) => (Module._set_config_option = wasmExports.set_config_option)(e, t2, r, a2, s4, o4, n3, _3); Module._pg_any_to_server = (e, t2, r) => (Module._pg_any_to_server = wasmExports.pg_any_to_server)(e, t2, r); Module._DirectFunctionCall4Coll = (e, t2, r, a2, s4, o4) => (Module._DirectFunctionCall4Coll = wasmExports.DirectFunctionCall4Coll)(e, t2, r, a2, s4, o4); Module._list_delete_cell = (e, t2) => (Module._list_delete_cell = wasmExports.list_delete_cell)(e, t2); Module._GetForeignDataWrapper = (e) => (Module._GetForeignDataWrapper = wasmExports.GetForeignDataWrapper)(e); Module._CreateExprContext = (e) => (Module._CreateExprContext = wasmExports.CreateExprContext)(e); Module._EnsurePortalSnapshotExists = () => (Module._EnsurePortalSnapshotExists = wasmExports.EnsurePortalSnapshotExists)(); Module._CheckIndexCompatible = (e, t2, r, a2) => (Module._CheckIndexCompatible = wasmExports.CheckIndexCompatible)(e, t2, r, a2); Module._pgstat_count_truncate = (e) => (Module._pgstat_count_truncate = wasmExports.pgstat_count_truncate)(e); Module._SPI_connect = () => (Module._SPI_connect = wasmExports.SPI_connect)(); Module._SPI_exec = (e, t2) => (Module._SPI_exec = wasmExports.SPI_exec)(e, t2); Module._SPI_execute = (e, t2, r) => (Module._SPI_execute = wasmExports.SPI_execute)(e, t2, r); Module._SPI_getvalue = (e, t2, r) => (Module._SPI_getvalue = wasmExports.SPI_getvalue)(e, t2, r); Module._generate_operator_clause = (e, t2, r, a2, s4, o4) => (Module._generate_operator_clause = wasmExports.generate_operator_clause)(e, t2, r, a2, s4, o4); Module._SPI_finish = () => (Module._SPI_finish = wasmExports.SPI_finish)(); Module._CreateTransientRelDestReceiver = (e) => (Module._CreateTransientRelDestReceiver = wasmExports.CreateTransientRelDestReceiver)(e); Module._MemoryContextSetIdentifier = (e, t2) => (Module._MemoryContextSetIdentifier = wasmExports.MemoryContextSetIdentifier)(e, t2); Module._checkExprHasSubLink = (e) => (Module._checkExprHasSubLink = wasmExports.checkExprHasSubLink)(e); Module._SetTuplestoreDestReceiverParams = (e, t2, r, a2, s4, o4) => (Module._SetTuplestoreDestReceiverParams = wasmExports.SetTuplestoreDestReceiverParams)(e, t2, r, a2, s4, o4); Module._tuplestore_rescan = (e) => (Module._tuplestore_rescan = wasmExports.tuplestore_rescan)(e); Module._MemoryContextDeleteChildren = (e) => (Module._MemoryContextDeleteChildren = wasmExports.MemoryContextDeleteChildren)(e); Module._ReleaseCachedPlan = (e, t2) => (Module._ReleaseCachedPlan = wasmExports.ReleaseCachedPlan)(e, t2); Module._nextval = (e) => (Module._nextval = wasmExports.nextval)(e); Module._textToQualifiedNameList = (e) => (Module._textToQualifiedNameList = wasmExports.textToQualifiedNameList)(e); Module._tuplestore_gettupleslot = (e, t2, r, a2) => (Module._tuplestore_gettupleslot = wasmExports.tuplestore_gettupleslot)(e, t2, r, a2); Module._list_delete = (e, t2) => (Module._list_delete = wasmExports.list_delete)(e, t2); Module._tuplestore_end = (e) => (Module._tuplestore_end = wasmExports.tuplestore_end)(e); Module._quote_literal_cstr = (e) => (Module._quote_literal_cstr = wasmExports.quote_literal_cstr)(e); Module._contain_mutable_functions = (e) => (Module._contain_mutable_functions = wasmExports.contain_mutable_functions)(e); Module._ExecuteTruncateGuts = (e, t2, r, a2, s4, o4) => (Module._ExecuteTruncateGuts = wasmExports.ExecuteTruncateGuts)(e, t2, r, a2, s4, o4); Module._bms_make_singleton = (e) => (Module._bms_make_singleton = wasmExports.bms_make_singleton)(e); Module._tuplestore_puttupleslot = (e, t2) => (Module._tuplestore_puttupleslot = wasmExports.tuplestore_puttupleslot)(e, t2); Module._tuplestore_begin_heap = (e, t2, r) => (Module._tuplestore_begin_heap = wasmExports.tuplestore_begin_heap)(e, t2, r); Module._ExecForceStoreHeapTuple = (e, t2, r) => (Module._ExecForceStoreHeapTuple = wasmExports.ExecForceStoreHeapTuple)(e, t2, r); Module._strtod = (e, t2) => (Module._strtod = wasmExports.strtod)(e, t2); Module._plain_crypt_verify = (e, t2, r, a2) => (Module._plain_crypt_verify = wasmExports.plain_crypt_verify)(e, t2, r, a2); Module._ProcessConfigFile = (e) => (Module._ProcessConfigFile = wasmExports.ProcessConfigFile)(e); Module._ExecReScan = (e) => (Module._ExecReScan = wasmExports.ExecReScan)(e); Module._ExecAsyncResponse = (e) => (Module._ExecAsyncResponse = wasmExports.ExecAsyncResponse)(e); Module._ExecAsyncRequestDone = (e, t2) => (Module._ExecAsyncRequestDone = wasmExports.ExecAsyncRequestDone)(e, t2); Module._ExecAsyncRequestPending = (e) => (Module._ExecAsyncRequestPending = wasmExports.ExecAsyncRequestPending)(e); Module._ExprEvalPushStep = (e, t2) => (Module._ExprEvalPushStep = wasmExports.ExprEvalPushStep)(e, t2); Module._ExecInitExprWithParams = (e, t2) => (Module._ExecInitExprWithParams = wasmExports.ExecInitExprWithParams)(e, t2); Module._ExecInitExprList = (e, t2) => (Module._ExecInitExprList = wasmExports.ExecInitExprList)(e, t2); Module._MakeExpandedObjectReadOnlyInternal = (e) => (Module._MakeExpandedObjectReadOnlyInternal = wasmExports.MakeExpandedObjectReadOnlyInternal)(e); Module._tuplesort_puttupleslot = (e, t2) => (Module._tuplesort_puttupleslot = wasmExports.tuplesort_puttupleslot)(e, t2); Module._ArrayGetNItems = (e, t2) => (Module._ArrayGetNItems = wasmExports.ArrayGetNItems)(e, t2); Module._expanded_record_fetch_tupdesc = (e) => (Module._expanded_record_fetch_tupdesc = wasmExports.expanded_record_fetch_tupdesc)(e); Module._expanded_record_fetch_field = (e, t2, r) => (Module._expanded_record_fetch_field = wasmExports.expanded_record_fetch_field)(e, t2, r); Module._JsonbValueToJsonb = (e) => (Module._JsonbValueToJsonb = wasmExports.JsonbValueToJsonb)(e); Module._boolout = (e) => (Module._boolout = wasmExports.boolout)(e); Module._lookup_rowtype_tupdesc_domain = (e, t2, r) => (Module._lookup_rowtype_tupdesc_domain = wasmExports.lookup_rowtype_tupdesc_domain)(e, t2, r); Module._MemoryContextGetParent = (e) => (Module._MemoryContextGetParent = wasmExports.MemoryContextGetParent)(e); Module._DeleteExpandedObject = (e) => (Module._DeleteExpandedObject = wasmExports.DeleteExpandedObject)(e); Module._ExecFindJunkAttributeInTlist = (e, t2) => (Module._ExecFindJunkAttributeInTlist = wasmExports.ExecFindJunkAttributeInTlist)(e, t2); Module._standard_ExecutorStart = (e, t2) => (Module._standard_ExecutorStart = wasmExports.standard_ExecutorStart)(e, t2); Module._standard_ExecutorRun = (e, t2, r, a2) => (Module._standard_ExecutorRun = wasmExports.standard_ExecutorRun)(e, t2, r, a2); Module._standard_ExecutorFinish = (e) => (Module._standard_ExecutorFinish = wasmExports.standard_ExecutorFinish)(e); Module._standard_ExecutorEnd = (e) => (Module._standard_ExecutorEnd = wasmExports.standard_ExecutorEnd)(e); Module._InstrAlloc = (e, t2, r) => (Module._InstrAlloc = wasmExports.InstrAlloc)(e, t2, r); Module._get_typlenbyval = (e, t2, r) => (Module._get_typlenbyval = wasmExports.get_typlenbyval)(e, t2, r); Module._InputFunctionCall = (e, t2, r, a2) => (Module._InputFunctionCall = wasmExports.InputFunctionCall)(e, t2, r, a2); Module._FreeExprContext = (e, t2) => (Module._FreeExprContext = wasmExports.FreeExprContext)(e, t2); Module._ExecOpenScanRelation = (e, t2, r) => (Module._ExecOpenScanRelation = wasmExports.ExecOpenScanRelation)(e, t2, r); Module._bms_intersect = (e, t2) => (Module._bms_intersect = wasmExports.bms_intersect)(e, t2); Module._ExecGetReturningSlot = (e, t2) => (Module._ExecGetReturningSlot = wasmExports.ExecGetReturningSlot)(e, t2); Module._ExecGetResultRelCheckAsUser = (e, t2) => (Module._ExecGetResultRelCheckAsUser = wasmExports.ExecGetResultRelCheckAsUser)(e, t2); Module._get_call_expr_argtype = (e, t2) => (Module._get_call_expr_argtype = wasmExports.get_call_expr_argtype)(e, t2); Module._tuplestore_clear = (e) => (Module._tuplestore_clear = wasmExports.tuplestore_clear)(e); Module._InstrUpdateTupleCount = (e, t2) => (Module._InstrUpdateTupleCount = wasmExports.InstrUpdateTupleCount)(e, t2); Module._tuplesort_begin_heap = (e, t2, r, a2, s4, o4, n3, _3, l3) => (Module._tuplesort_begin_heap = wasmExports.tuplesort_begin_heap)(e, t2, r, a2, s4, o4, n3, _3, l3); Module._tuplesort_gettupleslot = (e, t2, r, a2, s4) => (Module._tuplesort_gettupleslot = wasmExports.tuplesort_gettupleslot)(e, t2, r, a2, s4); Module._AddWaitEventToSet = (e, t2, r, a2, s4) => (Module._AddWaitEventToSet = wasmExports.AddWaitEventToSet)(e, t2, r, a2, s4); Module._GetNumRegisteredWaitEvents = (e) => (Module._GetNumRegisteredWaitEvents = wasmExports.GetNumRegisteredWaitEvents)(e); Module._get_attstatsslot = (e, t2, r, a2, s4) => (Module._get_attstatsslot = wasmExports.get_attstatsslot)(e, t2, r, a2, s4); Module._free_attstatsslot = (e) => (Module._free_attstatsslot = wasmExports.free_attstatsslot)(e); Module._tuplesort_reset = (e) => (Module._tuplesort_reset = wasmExports.tuplesort_reset)(e); Module._pairingheap_first = (e) => (Module._pairingheap_first = wasmExports.pairingheap_first)(e); Module._bms_nonempty_difference = (e, t2) => (Module._bms_nonempty_difference = wasmExports.bms_nonempty_difference)(e, t2); Module._SPI_connect_ext = (e) => (Module._SPI_connect_ext = wasmExports.SPI_connect_ext)(e); Module._SPI_commit = () => (Module._SPI_commit = wasmExports.SPI_commit)(); Module._CopyErrorData = () => (Module._CopyErrorData = wasmExports.CopyErrorData)(); Module._ReThrowError = (e) => (Module._ReThrowError = wasmExports.ReThrowError)(e); Module._SPI_commit_and_chain = () => (Module._SPI_commit_and_chain = wasmExports.SPI_commit_and_chain)(); Module._SPI_rollback = () => (Module._SPI_rollback = wasmExports.SPI_rollback)(); Module._SPI_rollback_and_chain = () => (Module._SPI_rollback_and_chain = wasmExports.SPI_rollback_and_chain)(); Module._SPI_freetuptable = (e) => (Module._SPI_freetuptable = wasmExports.SPI_freetuptable)(e); Module._SPI_execute_extended = (e, t2) => (Module._SPI_execute_extended = wasmExports.SPI_execute_extended)(e, t2); Module._SPI_execute_plan = (e, t2, r, a2, s4) => (Module._SPI_execute_plan = wasmExports.SPI_execute_plan)(e, t2, r, a2, s4); Module._SPI_execp = (e, t2, r, a2) => (Module._SPI_execp = wasmExports.SPI_execp)(e, t2, r, a2); Module._SPI_execute_plan_extended = (e, t2) => (Module._SPI_execute_plan_extended = wasmExports.SPI_execute_plan_extended)(e, t2); Module._SPI_execute_plan_with_paramlist = (e, t2, r, a2) => (Module._SPI_execute_plan_with_paramlist = wasmExports.SPI_execute_plan_with_paramlist)(e, t2, r, a2); Module._SPI_prepare = (e, t2, r) => (Module._SPI_prepare = wasmExports.SPI_prepare)(e, t2, r); Module._SPI_prepare_extended = (e, t2) => (Module._SPI_prepare_extended = wasmExports.SPI_prepare_extended)(e, t2); Module._SPI_keepplan = (e) => (Module._SPI_keepplan = wasmExports.SPI_keepplan)(e); Module._SPI_freeplan = (e) => (Module._SPI_freeplan = wasmExports.SPI_freeplan)(e); Module._SPI_copytuple = (e) => (Module._SPI_copytuple = wasmExports.SPI_copytuple)(e); Module._SPI_returntuple = (e, t2) => (Module._SPI_returntuple = wasmExports.SPI_returntuple)(e, t2); Module._SPI_fnumber = (e, t2) => (Module._SPI_fnumber = wasmExports.SPI_fnumber)(e, t2); Module._SPI_fname = (e, t2) => (Module._SPI_fname = wasmExports.SPI_fname)(e, t2); Module._SPI_getbinval = (e, t2, r, a2) => (Module._SPI_getbinval = wasmExports.SPI_getbinval)(e, t2, r, a2); Module._SPI_gettype = (e, t2) => (Module._SPI_gettype = wasmExports.SPI_gettype)(e, t2); Module._SPI_gettypeid = (e, t2) => (Module._SPI_gettypeid = wasmExports.SPI_gettypeid)(e, t2); Module._SPI_getrelname = (e) => (Module._SPI_getrelname = wasmExports.SPI_getrelname)(e); Module._SPI_palloc = (e) => (Module._SPI_palloc = wasmExports.SPI_palloc)(e); Module._SPI_datumTransfer = (e, t2, r) => (Module._SPI_datumTransfer = wasmExports.SPI_datumTransfer)(e, t2, r); Module._datumTransfer = (e, t2, r) => (Module._datumTransfer = wasmExports.datumTransfer)(e, t2, r); Module._SPI_cursor_open_with_paramlist = (e, t2, r, a2) => (Module._SPI_cursor_open_with_paramlist = wasmExports.SPI_cursor_open_with_paramlist)(e, t2, r, a2); Module._SPI_cursor_parse_open = (e, t2, r) => (Module._SPI_cursor_parse_open = wasmExports.SPI_cursor_parse_open)(e, t2, r); Module._SPI_cursor_find = (e) => (Module._SPI_cursor_find = wasmExports.SPI_cursor_find)(e); Module._SPI_cursor_fetch = (e, t2, r) => (Module._SPI_cursor_fetch = wasmExports.SPI_cursor_fetch)(e, t2, r); Module._SPI_scroll_cursor_fetch = (e, t2, r) => (Module._SPI_scroll_cursor_fetch = wasmExports.SPI_scroll_cursor_fetch)(e, t2, r); Module._SPI_scroll_cursor_move = (e, t2, r) => (Module._SPI_scroll_cursor_move = wasmExports.SPI_scroll_cursor_move)(e, t2, r); Module._SPI_cursor_close = (e) => (Module._SPI_cursor_close = wasmExports.SPI_cursor_close)(e); Module._SPI_plan_is_valid = (e) => (Module._SPI_plan_is_valid = wasmExports.SPI_plan_is_valid)(e); Module._SPI_result_code_string = (e) => (Module._SPI_result_code_string = wasmExports.SPI_result_code_string)(e); Module._SPI_plan_get_plan_sources = (e) => (Module._SPI_plan_get_plan_sources = wasmExports.SPI_plan_get_plan_sources)(e); Module._SPI_plan_get_cached_plan = (e) => (Module._SPI_plan_get_cached_plan = wasmExports.SPI_plan_get_cached_plan)(e); Module._SPI_register_relation = (e) => (Module._SPI_register_relation = wasmExports.SPI_register_relation)(e); Module._create_queryEnv = () => (Module._create_queryEnv = wasmExports.create_queryEnv)(); Module._register_ENR = (e, t2) => (Module._register_ENR = wasmExports.register_ENR)(e, t2); Module._SPI_register_trigger_data = (e) => (Module._SPI_register_trigger_data = wasmExports.SPI_register_trigger_data)(e); Module._tuplestore_tuple_count = (e) => (Module._tuplestore_tuple_count = wasmExports.tuplestore_tuple_count)(e); Module._GetUserMapping = (e, t2) => (Module._GetUserMapping = wasmExports.GetUserMapping)(e, t2); Module._GetForeignTable = (e) => (Module._GetForeignTable = wasmExports.GetForeignTable)(e); Module._GetForeignColumnOptions = (e, t2) => (Module._GetForeignColumnOptions = wasmExports.GetForeignColumnOptions)(e, t2); Module._initClosestMatch = (e, t2, r) => (Module._initClosestMatch = wasmExports.initClosestMatch)(e, t2, r); Module._updateClosestMatch = (e, t2) => (Module._updateClosestMatch = wasmExports.updateClosestMatch)(e, t2); Module._getClosestMatch = (e) => (Module._getClosestMatch = wasmExports.getClosestMatch)(e); Module._GetExistingLocalJoinPath = (e) => (Module._GetExistingLocalJoinPath = wasmExports.GetExistingLocalJoinPath)(e); Module._bloom_create = (e, t2, r) => (Module._bloom_create = wasmExports.bloom_create)(e, t2, r); Module._bloom_free = (e) => (Module._bloom_free = wasmExports.bloom_free)(e); Module._bloom_add_element = (e, t2, r) => (Module._bloom_add_element = wasmExports.bloom_add_element)(e, t2, r); Module._bloom_lacks_element = (e, t2, r) => (Module._bloom_lacks_element = wasmExports.bloom_lacks_element)(e, t2, r); Module._bloom_prop_bits_set = (e) => (Module._bloom_prop_bits_set = wasmExports.bloom_prop_bits_set)(e); Module._socket = (e, t2, r) => (Module._socket = wasmExports.socket)(e, t2, r); Module._connect = (e, t2, r) => (Module._connect = wasmExports.connect)(e, t2, r); Module._send = (e, t2, r, a2) => (Module._send = wasmExports.send)(e, t2, r, a2); Module._recv = (e, t2, r, a2) => (Module._recv = wasmExports.recv)(e, t2, r, a2); Module._be_lo_unlink = (e) => (Module._be_lo_unlink = wasmExports.be_lo_unlink)(e); Module._set_read_write_cbs = (e, t2) => (Module._set_read_write_cbs = wasmExports.set_read_write_cbs)(e, t2); Module._setsockopt = (e, t2, r, a2, s4) => (Module._setsockopt = wasmExports.setsockopt)(e, t2, r, a2, s4); Module._getsockopt = (e, t2, r, a2, s4) => (Module._getsockopt = wasmExports.getsockopt)(e, t2, r, a2, s4); Module._getsockname = (e, t2, r) => (Module._getsockname = wasmExports.getsockname)(e, t2, r); Module._poll = (e, t2, r) => (Module._poll = wasmExports.poll)(e, t2, r); Module._pg_mb2wchar_with_len = (e, t2, r) => (Module._pg_mb2wchar_with_len = wasmExports.pg_mb2wchar_with_len)(e, t2, r); Module._pg_regcomp = (e, t2, r, a2, s4) => (Module._pg_regcomp = wasmExports.pg_regcomp)(e, t2, r, a2, s4); Module._pg_regerror = (e, t2, r, a2) => (Module._pg_regerror = wasmExports.pg_regerror)(e, t2, r, a2); Module._strcat = (e, t2) => (Module._strcat = wasmExports.strcat)(e, t2); Module._pq_sendtext = (e, t2, r) => (Module._pq_sendtext = wasmExports.pq_sendtext)(e, t2, r); Module._pq_sendfloat4 = (e, t2) => (Module._pq_sendfloat4 = wasmExports.pq_sendfloat4)(e, t2); Module._pq_sendfloat8 = (e, t2) => (Module._pq_sendfloat8 = wasmExports.pq_sendfloat8)(e, t2); Module._pq_begintypsend = (e) => (Module._pq_begintypsend = wasmExports.pq_begintypsend)(e); Module._pq_endtypsend = (e) => (Module._pq_endtypsend = wasmExports.pq_endtypsend)(e); Module._pq_getmsgfloat4 = (e) => (Module._pq_getmsgfloat4 = wasmExports.pq_getmsgfloat4)(e); Module._pq_getmsgfloat8 = (e) => (Module._pq_getmsgfloat8 = wasmExports.pq_getmsgfloat8)(e); Module._pq_getmsgtext = (e, t2, r) => (Module._pq_getmsgtext = wasmExports.pq_getmsgtext)(e, t2, r); Module._pg_strtoint32 = (e) => (Module._pg_strtoint32 = wasmExports.pg_strtoint32)(e); Module._bms_membership = (e) => (Module._bms_membership = wasmExports.bms_membership)(e); Module._list_make5_impl = (e, t2, r, a2, s4, o4) => (Module._list_make5_impl = wasmExports.list_make5_impl)(e, t2, r, a2, s4, o4); Module._list_insert_nth = (e, t2, r) => (Module._list_insert_nth = wasmExports.list_insert_nth)(e, t2, r); Module._list_member_ptr = (e, t2) => (Module._list_member_ptr = wasmExports.list_member_ptr)(e, t2); Module._list_append_unique_ptr = (e, t2) => (Module._list_append_unique_ptr = wasmExports.list_append_unique_ptr)(e, t2); Module._make_opclause = (e, t2, r, a2, s4, o4, n3) => (Module._make_opclause = wasmExports.make_opclause)(e, t2, r, a2, s4, o4, n3); Module._exprIsLengthCoercion = (e, t2) => (Module._exprIsLengthCoercion = wasmExports.exprIsLengthCoercion)(e, t2); Module._fix_opfuncids = (e) => (Module._fix_opfuncids = wasmExports.fix_opfuncids)(e); Module._CleanQuerytext = (e, t2, r) => (Module._CleanQuerytext = wasmExports.CleanQuerytext)(e, t2, r); Module._EnableQueryId = () => (Module._EnableQueryId = wasmExports.EnableQueryId)(); Module._find_base_rel = (e, t2) => (Module._find_base_rel = wasmExports.find_base_rel)(e, t2); Module._add_path = (e, t2) => (Module._add_path = wasmExports.add_path)(e, t2); Module._pathkeys_contained_in = (e, t2) => (Module._pathkeys_contained_in = wasmExports.pathkeys_contained_in)(e, t2); Module._create_sort_path = (e, t2, r, a2, s4) => (Module._create_sort_path = wasmExports.create_sort_path)(e, t2, r, a2, s4); Module._set_baserel_size_estimates = (e, t2) => (Module._set_baserel_size_estimates = wasmExports.set_baserel_size_estimates)(e, t2); Module._clauselist_selectivity = (e, t2, r, a2, s4) => (Module._clauselist_selectivity = wasmExports.clauselist_selectivity)(e, t2, r, a2, s4); Module._get_tablespace_page_costs = (e, t2, r) => (Module._get_tablespace_page_costs = wasmExports.get_tablespace_page_costs)(e, t2, r); Module._cost_qual_eval = (e, t2, r) => (Module._cost_qual_eval = wasmExports.cost_qual_eval)(e, t2, r); Module._estimate_num_groups = (e, t2, r, a2, s4) => (Module._estimate_num_groups = wasmExports.estimate_num_groups)(e, t2, r, a2, s4); Module._cost_sort = (e, t2, r, a2, s4, o4, n3, _3, l3) => (Module._cost_sort = wasmExports.cost_sort)(e, t2, r, a2, s4, o4, n3, _3, l3); Module._get_sortgrouplist_exprs = (e, t2) => (Module._get_sortgrouplist_exprs = wasmExports.get_sortgrouplist_exprs)(e, t2); Module._make_restrictinfo = (e, t2, r, a2, s4, o4, n3, _3, l3, p4) => (Module._make_restrictinfo = wasmExports.make_restrictinfo)(e, t2, r, a2, s4, o4, n3, _3, l3, p4); Module._generate_implied_equalities_for_column = (e, t2, r, a2, s4) => (Module._generate_implied_equalities_for_column = wasmExports.generate_implied_equalities_for_column)(e, t2, r, a2, s4); Module._eclass_useful_for_merging = (e, t2, r) => (Module._eclass_useful_for_merging = wasmExports.eclass_useful_for_merging)(e, t2, r); Module._join_clause_is_movable_to = (e, t2) => (Module._join_clause_is_movable_to = wasmExports.join_clause_is_movable_to)(e, t2); Module._get_plan_rowmark = (e, t2) => (Module._get_plan_rowmark = wasmExports.get_plan_rowmark)(e, t2); Module._update_mergeclause_eclasses = (e, t2) => (Module._update_mergeclause_eclasses = wasmExports.update_mergeclause_eclasses)(e, t2); Module._find_join_rel = (e, t2) => (Module._find_join_rel = wasmExports.find_join_rel)(e, t2); Module._make_canonical_pathkey = (e, t2, r, a2, s4) => (Module._make_canonical_pathkey = wasmExports.make_canonical_pathkey)(e, t2, r, a2, s4); Module._get_sortgroupref_clause_noerr = (e, t2) => (Module._get_sortgroupref_clause_noerr = wasmExports.get_sortgroupref_clause_noerr)(e, t2); Module._extract_actual_clauses = (e, t2) => (Module._extract_actual_clauses = wasmExports.extract_actual_clauses)(e, t2); Module._change_plan_targetlist = (e, t2, r) => (Module._change_plan_targetlist = wasmExports.change_plan_targetlist)(e, t2, r); Module._make_foreignscan = (e, t2, r, a2, s4, o4, n3, _3) => (Module._make_foreignscan = wasmExports.make_foreignscan)(e, t2, r, a2, s4, o4, n3, _3); Module._tlist_member = (e, t2) => (Module._tlist_member = wasmExports.tlist_member)(e, t2); Module._pull_vars_of_level = (e, t2) => (Module._pull_vars_of_level = wasmExports.pull_vars_of_level)(e, t2); Module._IncrementVarSublevelsUp = (e, t2, r) => (Module._IncrementVarSublevelsUp = wasmExports.IncrementVarSublevelsUp)(e, t2, r); Module._standard_planner = (e, t2, r, a2) => (Module._standard_planner = wasmExports.standard_planner)(e, t2, r, a2); Module._get_relids_in_jointree = (e, t2, r) => (Module._get_relids_in_jointree = wasmExports.get_relids_in_jointree)(e, t2, r); Module._add_new_columns_to_pathtarget = (e, t2) => (Module._add_new_columns_to_pathtarget = wasmExports.add_new_columns_to_pathtarget)(e, t2); Module._get_agg_clause_costs = (e, t2, r) => (Module._get_agg_clause_costs = wasmExports.get_agg_clause_costs)(e, t2, r); Module._grouping_is_sortable = (e) => (Module._grouping_is_sortable = wasmExports.grouping_is_sortable)(e); Module._copy_pathtarget = (e) => (Module._copy_pathtarget = wasmExports.copy_pathtarget)(e); Module._create_projection_path = (e, t2, r, a2) => (Module._create_projection_path = wasmExports.create_projection_path)(e, t2, r, a2); Module._GetSysCacheHashValue = (e, t2, r, a2, s4) => (Module._GetSysCacheHashValue = wasmExports.GetSysCacheHashValue)(e, t2, r, a2, s4); Module._get_translated_update_targetlist = (e, t2, r, a2) => (Module._get_translated_update_targetlist = wasmExports.get_translated_update_targetlist)(e, t2, r, a2); Module._add_row_identity_var = (e, t2, r, a2) => (Module._add_row_identity_var = wasmExports.add_row_identity_var)(e, t2, r, a2); Module._get_rel_all_updated_cols = (e, t2) => (Module._get_rel_all_updated_cols = wasmExports.get_rel_all_updated_cols)(e, t2); Module._get_baserel_parampathinfo = (e, t2, r) => (Module._get_baserel_parampathinfo = wasmExports.get_baserel_parampathinfo)(e, t2, r); Module._create_foreignscan_path = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4) => (Module._create_foreignscan_path = wasmExports.create_foreignscan_path)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4); Module._create_foreign_join_path = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4) => (Module._create_foreign_join_path = wasmExports.create_foreign_join_path)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4); Module._create_foreign_upper_path = (e, t2, r, a2, s4, o4, n3, _3, l3, p4) => (Module._create_foreign_upper_path = wasmExports.create_foreign_upper_path)(e, t2, r, a2, s4, o4, n3, _3, l3, p4); Module._adjust_limit_rows_costs = (e, t2, r, a2, s4) => (Module._adjust_limit_rows_costs = wasmExports.adjust_limit_rows_costs)(e, t2, r, a2, s4); Module._add_to_flat_tlist = (e, t2) => (Module._add_to_flat_tlist = wasmExports.add_to_flat_tlist)(e, t2); Module._get_fn_expr_argtype = (e, t2) => (Module._get_fn_expr_argtype = wasmExports.get_fn_expr_argtype)(e, t2); Module._on_shmem_exit = (e, t2) => (Module._on_shmem_exit = wasmExports.on_shmem_exit)(e, t2); Module._SignalHandlerForConfigReload = (e) => (Module._SignalHandlerForConfigReload = wasmExports.SignalHandlerForConfigReload)(e); Module._SignalHandlerForShutdownRequest = (e) => (Module._SignalHandlerForShutdownRequest = wasmExports.SignalHandlerForShutdownRequest)(e); Module._procsignal_sigusr1_handler = (e) => (Module._procsignal_sigusr1_handler = wasmExports.procsignal_sigusr1_handler)(e); Module._RegisterBackgroundWorker = (e) => (Module._RegisterBackgroundWorker = wasmExports.RegisterBackgroundWorker)(e); Module._WaitForBackgroundWorkerStartup = (e, t2) => (Module._WaitForBackgroundWorkerStartup = wasmExports.WaitForBackgroundWorkerStartup)(e, t2); Module._GetConfigOption = (e, t2, r) => (Module._GetConfigOption = wasmExports.GetConfigOption)(e, t2, r); Module._toupper = (e) => (Module._toupper = wasmExports.toupper)(e); Module._pg_reg_getinitialstate = (e) => (Module._pg_reg_getinitialstate = wasmExports.pg_reg_getinitialstate)(e); Module._pg_reg_getfinalstate = (e) => (Module._pg_reg_getfinalstate = wasmExports.pg_reg_getfinalstate)(e); Module._pg_reg_getnumoutarcs = (e, t2) => (Module._pg_reg_getnumoutarcs = wasmExports.pg_reg_getnumoutarcs)(e, t2); Module._pg_reg_getoutarcs = (e, t2, r, a2) => (Module._pg_reg_getoutarcs = wasmExports.pg_reg_getoutarcs)(e, t2, r, a2); Module._pg_reg_getnumcolors = (e) => (Module._pg_reg_getnumcolors = wasmExports.pg_reg_getnumcolors)(e); Module._pg_reg_colorisbegin = (e, t2) => (Module._pg_reg_colorisbegin = wasmExports.pg_reg_colorisbegin)(e, t2); Module._pg_reg_colorisend = (e, t2) => (Module._pg_reg_colorisend = wasmExports.pg_reg_colorisend)(e, t2); Module._pg_reg_getnumcharacters = (e, t2) => (Module._pg_reg_getnumcharacters = wasmExports.pg_reg_getnumcharacters)(e, t2); Module._pg_reg_getcharacters = (e, t2, r, a2) => (Module._pg_reg_getcharacters = wasmExports.pg_reg_getcharacters)(e, t2, r, a2); Module._OutputPluginPrepareWrite = (e, t2) => (Module._OutputPluginPrepareWrite = wasmExports.OutputPluginPrepareWrite)(e, t2); Module._OutputPluginWrite = (e, t2) => (Module._OutputPluginWrite = wasmExports.OutputPluginWrite)(e, t2); Module._array_contains_nulls = (e) => (Module._array_contains_nulls = wasmExports.array_contains_nulls)(e); Module._hash_seq_term = (e) => (Module._hash_seq_term = wasmExports.hash_seq_term)(e); Module._FreeErrorData = (e) => (Module._FreeErrorData = wasmExports.FreeErrorData)(e); Module._RelidByRelfilenumber = (e, t2) => (Module._RelidByRelfilenumber = wasmExports.RelidByRelfilenumber)(e, t2); Module._WaitLatchOrSocket = (e, t2, r, a2, s4) => (Module._WaitLatchOrSocket = wasmExports.WaitLatchOrSocket)(e, t2, r, a2, s4); Module._get_row_security_policies = (e, t2, r, a2, s4, o4, n3) => (Module._get_row_security_policies = wasmExports.get_row_security_policies)(e, t2, r, a2, s4, o4, n3); Module._hash_estimate_size = (e, t2) => (Module._hash_estimate_size = wasmExports.hash_estimate_size)(e, t2); Module._ShmemInitHash = (e, t2, r, a2, s4) => (Module._ShmemInitHash = wasmExports.ShmemInitHash)(e, t2, r, a2, s4); Module._LockBufHdr = (e) => (Module._LockBufHdr = wasmExports.LockBufHdr)(e); Module._EvictUnpinnedBuffer = (e) => (Module._EvictUnpinnedBuffer = wasmExports.EvictUnpinnedBuffer)(e); Module._have_free_buffer = () => (Module._have_free_buffer = wasmExports.have_free_buffer)(); Module._copy_file = (e, t2) => (Module._copy_file = wasmExports.copy_file)(e, t2); Module._AcquireExternalFD = () => (Module._AcquireExternalFD = wasmExports.AcquireExternalFD)(); Module._GetNamedDSMSegment = (e, t2, r, a2) => (Module._GetNamedDSMSegment = wasmExports.GetNamedDSMSegment)(e, t2, r, a2); Module._RequestAddinShmemSpace = (e) => (Module._RequestAddinShmemSpace = wasmExports.RequestAddinShmemSpace)(e); Module._GetRunningTransactionData = () => (Module._GetRunningTransactionData = wasmExports.GetRunningTransactionData)(); Module._BackendXidGetPid = (e) => (Module._BackendXidGetPid = wasmExports.BackendXidGetPid)(e); Module._LWLockRegisterTranche = (e, t2) => (Module._LWLockRegisterTranche = wasmExports.LWLockRegisterTranche)(e, t2); Module._GetNamedLWLockTranche = (e) => (Module._GetNamedLWLockTranche = wasmExports.GetNamedLWLockTranche)(e); Module._LWLockNewTrancheId = () => (Module._LWLockNewTrancheId = wasmExports.LWLockNewTrancheId)(); Module._RequestNamedLWLockTranche = (e, t2) => (Module._RequestNamedLWLockTranche = wasmExports.RequestNamedLWLockTranche)(e, t2); Module._standard_ProcessUtility = (e, t2, r, a2, s4, o4, n3, _3) => (Module._standard_ProcessUtility = wasmExports.standard_ProcessUtility)(e, t2, r, a2, s4, o4, n3, _3); Module._lookup_ts_dictionary_cache = (e) => (Module._lookup_ts_dictionary_cache = wasmExports.lookup_ts_dictionary_cache)(e); Module._get_tsearch_config_filename = (e, t2) => (Module._get_tsearch_config_filename = wasmExports.get_tsearch_config_filename)(e, t2); Module._lowerstr = (e) => (Module._lowerstr = wasmExports.lowerstr)(e); Module._readstoplist = (e, t2, r) => (Module._readstoplist = wasmExports.readstoplist)(e, t2, r); Module._lowerstr_with_len = (e, t2) => (Module._lowerstr_with_len = wasmExports.lowerstr_with_len)(e, t2); Module._searchstoplist = (e, t2) => (Module._searchstoplist = wasmExports.searchstoplist)(e, t2); Module._tsearch_readline_begin = (e, t2) => (Module._tsearch_readline_begin = wasmExports.tsearch_readline_begin)(e, t2); Module._tsearch_readline = (e) => (Module._tsearch_readline = wasmExports.tsearch_readline)(e); Module._t_isspace = (e) => (Module._t_isspace = wasmExports.t_isspace)(e); Module._tsearch_readline_end = (e) => (Module._tsearch_readline_end = wasmExports.tsearch_readline_end)(e); Module._stringToQualifiedNameList = (e, t2) => (Module._stringToQualifiedNameList = wasmExports.stringToQualifiedNameList)(e, t2); Module._t_isdigit = (e) => (Module._t_isdigit = wasmExports.t_isdigit)(e); Module._t_isalnum = (e) => (Module._t_isalnum = wasmExports.t_isalnum)(e); Module._get_restriction_variable = (e, t2, r, a2, s4, o4) => (Module._get_restriction_variable = wasmExports.get_restriction_variable)(e, t2, r, a2, s4, o4); Module._MemoryContextAllocHuge = (e, t2) => (Module._MemoryContextAllocHuge = wasmExports.MemoryContextAllocHuge)(e, t2); Module._WaitEventExtensionNew = (e) => (Module._WaitEventExtensionNew = wasmExports.WaitEventExtensionNew)(e); Module._expand_array = (e, t2, r) => (Module._expand_array = wasmExports.expand_array)(e, t2, r); Module._arraycontsel = (e) => (Module._arraycontsel = wasmExports.arraycontsel)(e); Module._arraycontjoinsel = (e) => (Module._arraycontjoinsel = wasmExports.arraycontjoinsel)(e); Module._initArrayResult = (e, t2, r) => (Module._initArrayResult = wasmExports.initArrayResult)(e, t2, r); Module._array_create_iterator = (e, t2, r) => (Module._array_create_iterator = wasmExports.array_create_iterator)(e, t2, r); Module._array_iterate = (e, t2, r) => (Module._array_iterate = wasmExports.array_iterate)(e, t2, r); Module._ArrayGetIntegerTypmods = (e, t2) => (Module._ArrayGetIntegerTypmods = wasmExports.ArrayGetIntegerTypmods)(e, t2); Module._boolin = (e) => (Module._boolin = wasmExports.boolin)(e); Module._cash_cmp = (e) => (Module._cash_cmp = wasmExports.cash_cmp)(e); Module._int64_to_numeric = (e) => (Module._int64_to_numeric = wasmExports.int64_to_numeric)(e); Module._numeric_div = (e) => (Module._numeric_div = wasmExports.numeric_div)(e); Module._date_eq = (e) => (Module._date_eq = wasmExports.date_eq)(e); Module._date_lt = (e) => (Module._date_lt = wasmExports.date_lt)(e); Module._date_le = (e) => (Module._date_le = wasmExports.date_le)(e); Module._date_gt = (e) => (Module._date_gt = wasmExports.date_gt)(e); Module._date_ge = (e) => (Module._date_ge = wasmExports.date_ge)(e); Module._date_cmp = (e) => (Module._date_cmp = wasmExports.date_cmp)(e); Module._date_mi = (e) => (Module._date_mi = wasmExports.date_mi)(e); Module._time_eq = (e) => (Module._time_eq = wasmExports.time_eq)(e); Module._time_lt = (e) => (Module._time_lt = wasmExports.time_lt)(e); Module._time_le = (e) => (Module._time_le = wasmExports.time_le)(e); Module._time_gt = (e) => (Module._time_gt = wasmExports.time_gt)(e); Module._time_ge = (e) => (Module._time_ge = wasmExports.time_ge)(e); Module._time_cmp = (e) => (Module._time_cmp = wasmExports.time_cmp)(e); Module._time_mi_time = (e) => (Module._time_mi_time = wasmExports.time_mi_time)(e); Module._timetz_cmp = (e) => (Module._timetz_cmp = wasmExports.timetz_cmp)(e); Module._TransferExpandedObject = (e, t2) => (Module._TransferExpandedObject = wasmExports.TransferExpandedObject)(e, t2); Module._numeric_lt = (e) => (Module._numeric_lt = wasmExports.numeric_lt)(e); Module._numeric_ge = (e) => (Module._numeric_ge = wasmExports.numeric_ge)(e); Module._err_generic_string = (e, t2) => (Module._err_generic_string = wasmExports.err_generic_string)(e, t2); Module._domain_check = (e, t2, r, a2, s4) => (Module._domain_check = wasmExports.domain_check)(e, t2, r, a2, s4); Module._enum_lt = (e) => (Module._enum_lt = wasmExports.enum_lt)(e); Module._enum_le = (e) => (Module._enum_le = wasmExports.enum_le)(e); Module._enum_ge = (e) => (Module._enum_ge = wasmExports.enum_ge)(e); Module._enum_gt = (e) => (Module._enum_gt = wasmExports.enum_gt)(e); Module._enum_cmp = (e) => (Module._enum_cmp = wasmExports.enum_cmp)(e); Module._make_expanded_record_from_typeid = (e, t2, r) => (Module._make_expanded_record_from_typeid = wasmExports.make_expanded_record_from_typeid)(e, t2, r); Module._make_expanded_record_from_tupdesc = (e, t2) => (Module._make_expanded_record_from_tupdesc = wasmExports.make_expanded_record_from_tupdesc)(e, t2); Module._make_expanded_record_from_exprecord = (e, t2) => (Module._make_expanded_record_from_exprecord = wasmExports.make_expanded_record_from_exprecord)(e, t2); Module._expanded_record_set_tuple = (e, t2, r, a2) => (Module._expanded_record_set_tuple = wasmExports.expanded_record_set_tuple)(e, t2, r, a2); Module._expanded_record_get_tuple = (e) => (Module._expanded_record_get_tuple = wasmExports.expanded_record_get_tuple)(e); Module._deconstruct_expanded_record = (e) => (Module._deconstruct_expanded_record = wasmExports.deconstruct_expanded_record)(e); Module._expanded_record_lookup_field = (e, t2, r) => (Module._expanded_record_lookup_field = wasmExports.expanded_record_lookup_field)(e, t2, r); Module._expanded_record_set_field_internal = (e, t2, r, a2, s4, o4) => (Module._expanded_record_set_field_internal = wasmExports.expanded_record_set_field_internal)(e, t2, r, a2, s4, o4); Module._expanded_record_set_fields = (e, t2, r, a2) => (Module._expanded_record_set_fields = wasmExports.expanded_record_set_fields)(e, t2, r, a2); Module._float4in_internal = (e, t2, r, a2, s4) => (Module._float4in_internal = wasmExports.float4in_internal)(e, t2, r, a2, s4); Module._strtof = (e, t2) => (Module._strtof = wasmExports.strtof)(e, t2); Module._float8in_internal = (e, t2, r, a2, s4) => (Module._float8in_internal = wasmExports.float8in_internal)(e, t2, r, a2, s4); Module._float8out_internal = (e) => (Module._float8out_internal = wasmExports.float8out_internal)(e); Module._btfloat4cmp = (e) => (Module._btfloat4cmp = wasmExports.btfloat4cmp)(e); Module._btfloat8cmp = (e) => (Module._btfloat8cmp = wasmExports.btfloat8cmp)(e); Module._acos = (e) => (Module._acos = wasmExports.acos)(e); Module._asin = (e) => (Module._asin = wasmExports.asin)(e); Module._cos = (e) => (Module._cos = wasmExports.cos)(e); Module._str_tolower = (e, t2, r) => (Module._str_tolower = wasmExports.str_tolower)(e, t2, r); Module._pushJsonbValue = (e, t2, r) => (Module._pushJsonbValue = wasmExports.pushJsonbValue)(e, t2, r); Module._numeric_float4 = (e) => (Module._numeric_float4 = wasmExports.numeric_float4)(e); Module._numeric_cmp = (e) => (Module._numeric_cmp = wasmExports.numeric_cmp)(e); Module._numeric_eq = (e) => (Module._numeric_eq = wasmExports.numeric_eq)(e); Module._numeric_is_nan = (e) => (Module._numeric_is_nan = wasmExports.numeric_is_nan)(e); Module._timestamp_cmp = (e) => (Module._timestamp_cmp = wasmExports.timestamp_cmp)(e); Module._macaddr_cmp = (e) => (Module._macaddr_cmp = wasmExports.macaddr_cmp)(e); Module._macaddr_lt = (e) => (Module._macaddr_lt = wasmExports.macaddr_lt)(e); Module._macaddr_le = (e) => (Module._macaddr_le = wasmExports.macaddr_le)(e); Module._macaddr_eq = (e) => (Module._macaddr_eq = wasmExports.macaddr_eq)(e); Module._macaddr_ge = (e) => (Module._macaddr_ge = wasmExports.macaddr_ge)(e); Module._macaddr_gt = (e) => (Module._macaddr_gt = wasmExports.macaddr_gt)(e); Module._macaddr8_cmp = (e) => (Module._macaddr8_cmp = wasmExports.macaddr8_cmp)(e); Module._macaddr8_lt = (e) => (Module._macaddr8_lt = wasmExports.macaddr8_lt)(e); Module._macaddr8_le = (e) => (Module._macaddr8_le = wasmExports.macaddr8_le)(e); Module._macaddr8_eq = (e) => (Module._macaddr8_eq = wasmExports.macaddr8_eq)(e); Module._macaddr8_ge = (e) => (Module._macaddr8_ge = wasmExports.macaddr8_ge)(e); Module._macaddr8_gt = (e) => (Module._macaddr8_gt = wasmExports.macaddr8_gt)(e); Module._current_query = (e) => (Module._current_query = wasmExports.current_query)(e); Module._unpack_sql_state = (e) => (Module._unpack_sql_state = wasmExports.unpack_sql_state)(e); Module._get_fn_expr_rettype = (e) => (Module._get_fn_expr_rettype = wasmExports.get_fn_expr_rettype)(e); Module._btnamecmp = (e) => (Module._btnamecmp = wasmExports.btnamecmp)(e); Module._inet_in = (e) => (Module._inet_in = wasmExports.inet_in)(e); Module._network_cmp = (e) => (Module._network_cmp = wasmExports.network_cmp)(e); Module._convert_network_to_scalar = (e, t2, r) => (Module._convert_network_to_scalar = wasmExports.convert_network_to_scalar)(e, t2, r); Module._numeric_gt = (e) => (Module._numeric_gt = wasmExports.numeric_gt)(e); Module._numeric_le = (e) => (Module._numeric_le = wasmExports.numeric_le)(e); Module._numeric_float8_no_overflow = (e) => (Module._numeric_float8_no_overflow = wasmExports.numeric_float8_no_overflow)(e); Module._oidout = (e) => (Module._oidout = wasmExports.oidout)(e); Module._interval_mi = (e) => (Module._interval_mi = wasmExports.interval_mi)(e); Module._quote_ident = (e) => (Module._quote_ident = wasmExports.quote_ident)(e); Module._pg_wchar2mb_with_len = (e, t2, r) => (Module._pg_wchar2mb_with_len = wasmExports.pg_wchar2mb_with_len)(e, t2, r); Module._pg_get_indexdef_columns_extended = (e, t2) => (Module._pg_get_indexdef_columns_extended = wasmExports.pg_get_indexdef_columns_extended)(e, t2); Module._pg_get_querydef = (e, t2) => (Module._pg_get_querydef = wasmExports.pg_get_querydef)(e, t2); Module._strcspn = (e, t2) => (Module._strcspn = wasmExports.strcspn)(e, t2); Module._generic_restriction_selectivity = (e, t2, r, a2, s4, o4) => (Module._generic_restriction_selectivity = wasmExports.generic_restriction_selectivity)(e, t2, r, a2, s4, o4); Module._genericcostestimate = (e, t2, r, a2) => (Module._genericcostestimate = wasmExports.genericcostestimate)(e, t2, r, a2); Module._tidin = (e) => (Module._tidin = wasmExports.tidin)(e); Module._tidout = (e) => (Module._tidout = wasmExports.tidout)(e); Module._timestamp_in = (e) => (Module._timestamp_in = wasmExports.timestamp_in)(e); Module._timestamp_eq = (e) => (Module._timestamp_eq = wasmExports.timestamp_eq)(e); Module._timestamp_lt = (e) => (Module._timestamp_lt = wasmExports.timestamp_lt)(e); Module._timestamp_gt = (e) => (Module._timestamp_gt = wasmExports.timestamp_gt)(e); Module._timestamp_le = (e) => (Module._timestamp_le = wasmExports.timestamp_le)(e); Module._timestamp_ge = (e) => (Module._timestamp_ge = wasmExports.timestamp_ge)(e); Module._interval_eq = (e) => (Module._interval_eq = wasmExports.interval_eq)(e); Module._interval_lt = (e) => (Module._interval_lt = wasmExports.interval_lt)(e); Module._interval_gt = (e) => (Module._interval_gt = wasmExports.interval_gt)(e); Module._interval_le = (e) => (Module._interval_le = wasmExports.interval_le)(e); Module._interval_ge = (e) => (Module._interval_ge = wasmExports.interval_ge)(e); Module._interval_cmp = (e) => (Module._interval_cmp = wasmExports.interval_cmp)(e); Module._timestamp_mi = (e) => (Module._timestamp_mi = wasmExports.timestamp_mi)(e); Module._interval_um = (e) => (Module._interval_um = wasmExports.interval_um)(e); Module._has_fn_opclass_options = (e) => (Module._has_fn_opclass_options = wasmExports.has_fn_opclass_options)(e); Module._uuid_in = (e) => (Module._uuid_in = wasmExports.uuid_in)(e); Module._uuid_out = (e) => (Module._uuid_out = wasmExports.uuid_out)(e); Module._uuid_cmp = (e) => (Module._uuid_cmp = wasmExports.uuid_cmp)(e); Module._varbit_in = (e) => (Module._varbit_in = wasmExports.varbit_in)(e); Module._biteq = (e) => (Module._biteq = wasmExports.biteq)(e); Module._bitlt = (e) => (Module._bitlt = wasmExports.bitlt)(e); Module._bitle = (e) => (Module._bitle = wasmExports.bitle)(e); Module._bitgt = (e) => (Module._bitgt = wasmExports.bitgt)(e); Module._bitge = (e) => (Module._bitge = wasmExports.bitge)(e); Module._bitcmp = (e) => (Module._bitcmp = wasmExports.bitcmp)(e); Module._bpchareq = (e) => (Module._bpchareq = wasmExports.bpchareq)(e); Module._bpcharlt = (e) => (Module._bpcharlt = wasmExports.bpcharlt)(e); Module._bpcharle = (e) => (Module._bpcharle = wasmExports.bpcharle)(e); Module._bpchargt = (e) => (Module._bpchargt = wasmExports.bpchargt)(e); Module._bpcharge = (e) => (Module._bpcharge = wasmExports.bpcharge)(e); Module._bpcharcmp = (e) => (Module._bpcharcmp = wasmExports.bpcharcmp)(e); Module._texteq = (e) => (Module._texteq = wasmExports.texteq)(e); Module._text_lt = (e) => (Module._text_lt = wasmExports.text_lt)(e); Module._text_le = (e) => (Module._text_le = wasmExports.text_le)(e); Module._text_gt = (e) => (Module._text_gt = wasmExports.text_gt)(e); Module._text_ge = (e) => (Module._text_ge = wasmExports.text_ge)(e); Module._bttextcmp = (e) => (Module._bttextcmp = wasmExports.bttextcmp)(e); Module._byteaeq = (e) => (Module._byteaeq = wasmExports.byteaeq)(e); Module._bytealt = (e) => (Module._bytealt = wasmExports.bytealt)(e); Module._byteale = (e) => (Module._byteale = wasmExports.byteale)(e); Module._byteagt = (e) => (Module._byteagt = wasmExports.byteagt)(e); Module._byteage = (e) => (Module._byteage = wasmExports.byteage)(e); Module._byteacmp = (e) => (Module._byteacmp = wasmExports.byteacmp)(e); Module._to_hex32 = (e) => (Module._to_hex32 = wasmExports.to_hex32)(e); Module._varstr_levenshtein = (e, t2, r, a2, s4, o4, n3, _3) => (Module._varstr_levenshtein = wasmExports.varstr_levenshtein)(e, t2, r, a2, s4, o4, n3, _3); Module._pg_xml_init = (e) => (Module._pg_xml_init = wasmExports.pg_xml_init)(e); Module._xmlInitParser = () => (Module._xmlInitParser = wasmExports.xmlInitParser)(); Module._xml_ereport = (e, t2, r, a2) => (Module._xml_ereport = wasmExports.xml_ereport)(e, t2, r, a2); Module._pg_xml_done = (e, t2) => (Module._pg_xml_done = wasmExports.pg_xml_done)(e, t2); Module._xmlXPathNewContext = (e) => (Module._xmlXPathNewContext = wasmExports.xmlXPathNewContext)(e); Module._xmlXPathFreeContext = (e) => (Module._xmlXPathFreeContext = wasmExports.xmlXPathFreeContext)(e); Module._xmlFreeDoc = (e) => (Module._xmlFreeDoc = wasmExports.xmlFreeDoc)(e); Module._xmlXPathCtxtCompile = (e, t2) => (Module._xmlXPathCtxtCompile = wasmExports.xmlXPathCtxtCompile)(e, t2); Module._xmlXPathCompiledEval = (e, t2) => (Module._xmlXPathCompiledEval = wasmExports.xmlXPathCompiledEval)(e, t2); Module._xmlXPathFreeObject = (e) => (Module._xmlXPathFreeObject = wasmExports.xmlXPathFreeObject)(e); Module._xmlXPathFreeCompExpr = (e) => (Module._xmlXPathFreeCompExpr = wasmExports.xmlXPathFreeCompExpr)(e); Module._xmlStrdup = (e) => (Module._xmlStrdup = wasmExports.xmlStrdup)(e); Module._xmlEncodeSpecialChars = (e, t2) => (Module._xmlEncodeSpecialChars = wasmExports.xmlEncodeSpecialChars)(e, t2); Module._xmlStrlen = (e) => (Module._xmlStrlen = wasmExports.xmlStrlen)(e); Module._xmlBufferCreate = () => (Module._xmlBufferCreate = wasmExports.xmlBufferCreate)(); Module._xmlBufferFree = (e) => (Module._xmlBufferFree = wasmExports.xmlBufferFree)(e); Module._xmlXPathCastNodeToString = (e) => (Module._xmlXPathCastNodeToString = wasmExports.xmlXPathCastNodeToString)(e); Module._xmlNodeDump = (e, t2, r, a2, s4) => (Module._xmlNodeDump = wasmExports.xmlNodeDump)(e, t2, r, a2, s4); Module._get_typsubscript = (e, t2) => (Module._get_typsubscript = wasmExports.get_typsubscript)(e, t2); Module._CachedPlanAllowsSimpleValidityCheck = (e, t2, r) => (Module._CachedPlanAllowsSimpleValidityCheck = wasmExports.CachedPlanAllowsSimpleValidityCheck)(e, t2, r); Module._CachedPlanIsSimplyValid = (e, t2, r) => (Module._CachedPlanIsSimplyValid = wasmExports.CachedPlanIsSimplyValid)(e, t2, r); Module._GetCachedExpression = (e) => (Module._GetCachedExpression = wasmExports.GetCachedExpression)(e); Module._FreeCachedExpression = (e) => (Module._FreeCachedExpression = wasmExports.FreeCachedExpression)(e); Module._ReleaseAllPlanCacheRefsInOwner = (e) => (Module._ReleaseAllPlanCacheRefsInOwner = wasmExports.ReleaseAllPlanCacheRefsInOwner)(e); Module._in_error_recursion_trouble = () => (Module._in_error_recursion_trouble = wasmExports.in_error_recursion_trouble)(); Module._GetErrorContextStack = () => (Module._GetErrorContextStack = wasmExports.GetErrorContextStack)(); Module._find_rendezvous_variable = (e) => (Module._find_rendezvous_variable = wasmExports.find_rendezvous_variable)(e); Module._CallerFInfoFunctionCall2 = (e, t2, r, a2, s4) => (Module._CallerFInfoFunctionCall2 = wasmExports.CallerFInfoFunctionCall2)(e, t2, r, a2, s4); Module._FunctionCall0Coll = (e, t2) => (Module._FunctionCall0Coll = wasmExports.FunctionCall0Coll)(e, t2); Module._resolve_polymorphic_argtypes = (e, t2, r, a2) => (Module._resolve_polymorphic_argtypes = wasmExports.resolve_polymorphic_argtypes)(e, t2, r, a2); Module._pg_bindtextdomain = (e) => (Module._pg_bindtextdomain = wasmExports.pg_bindtextdomain)(e); Module._DefineCustomBoolVariable = (e, t2, r, a2, s4, o4, n3, _3, l3, p4) => (Module._DefineCustomBoolVariable = wasmExports.DefineCustomBoolVariable)(e, t2, r, a2, s4, o4, n3, _3, l3, p4); Module._DefineCustomIntVariable = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2) => (Module._DefineCustomIntVariable = wasmExports.DefineCustomIntVariable)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2); Module._DefineCustomRealVariable = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2) => (Module._DefineCustomRealVariable = wasmExports.DefineCustomRealVariable)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2); Module._DefineCustomStringVariable = (e, t2, r, a2, s4, o4, n3, _3, l3, p4) => (Module._DefineCustomStringVariable = wasmExports.DefineCustomStringVariable)(e, t2, r, a2, s4, o4, n3, _3, l3, p4); Module._DefineCustomEnumVariable = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4) => (Module._DefineCustomEnumVariable = wasmExports.DefineCustomEnumVariable)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4); Module._MarkGUCPrefixReserved = (e) => (Module._MarkGUCPrefixReserved = wasmExports.MarkGUCPrefixReserved)(e); Module._sampler_random_init_state = (e, t2) => (Module._sampler_random_init_state = wasmExports.sampler_random_init_state)(e, t2); Module._pchomp = (e) => (Module._pchomp = wasmExports.pchomp)(e); Module._PinPortal = (e) => (Module._PinPortal = wasmExports.PinPortal)(e); Module._UnpinPortal = (e) => (Module._UnpinPortal = wasmExports.UnpinPortal)(e); Module._xmlBufferWriteCHAR = (e, t2) => (Module._xmlBufferWriteCHAR = wasmExports.xmlBufferWriteCHAR)(e, t2); Module._xmlBufferWriteChar = (e, t2) => (Module._xmlBufferWriteChar = wasmExports.xmlBufferWriteChar)(e, t2); Module._xmlReadMemory = (e, t2, r, a2, s4) => (Module._xmlReadMemory = wasmExports.xmlReadMemory)(e, t2, r, a2, s4); Module._xmlDocGetRootElement = (e) => (Module._xmlDocGetRootElement = wasmExports.xmlDocGetRootElement)(e); Module._xmlXPathIsNaN = (e) => (Module._xmlXPathIsNaN = wasmExports.xmlXPathIsNaN)(e); Module._xmlXPathCastToBoolean = (e) => (Module._xmlXPathCastToBoolean = wasmExports.xmlXPathCastToBoolean)(e); Module._xmlXPathCastToNumber = (e) => (Module._xmlXPathCastToNumber = wasmExports.xmlXPathCastToNumber)(e); var ___dl_seterr = (e, t2) => (___dl_seterr = wasmExports.__dl_seterr)(e, t2); Module._gmtime = (e) => (Module._gmtime = wasmExports.gmtime)(e); var _htonl = (e) => (_htonl = wasmExports.htonl)(e), _htons = (e) => (_htons = wasmExports.htons)(e); Module._ioctl = (e, t2, r) => (Module._ioctl = wasmExports.ioctl)(e, t2, r); var _emscripten_builtin_memalign = (e, t2) => (_emscripten_builtin_memalign = wasmExports.emscripten_builtin_memalign)(e, t2), _ntohs = (e) => (_ntohs = wasmExports.ntohs)(e); Module._srand = (e) => (Module._srand = wasmExports.srand)(e); Module._rand = () => (Module._rand = wasmExports.rand)(); var __emscripten_timeout = (e, t2) => (__emscripten_timeout = wasmExports._emscripten_timeout)(e, t2), _setThrew = (e, t2) => (_setThrew = wasmExports.setThrew)(e, t2), __emscripten_tempret_set = (e) => (__emscripten_tempret_set = wasmExports._emscripten_tempret_set)(e), __emscripten_tempret_get = () => (__emscripten_tempret_get = wasmExports._emscripten_tempret_get)(), __emscripten_stack_restore = (e) => (__emscripten_stack_restore = wasmExports._emscripten_stack_restore)(e), __emscripten_stack_alloc = (e) => (__emscripten_stack_alloc = wasmExports._emscripten_stack_alloc)(e), _emscripten_stack_get_current = () => (_emscripten_stack_get_current = wasmExports.emscripten_stack_get_current)(); Module._InterruptPending = 2677872; Module._MyLatch = 2678060; Module._CritSectionCount = 2677924; Module._MyProc = 2647676; Module._pg_global_prng_state = 2624256; Module._error_context_stack = 2676168; Module._GUC_check_errdetail_string = 2681820; Module._IsUnderPostmaster = 2677953; Module._CurrentMemoryContext = 2683248; Module._stdout = 2537152; Module._debug_query_string = 2538700; Module._MyProcPort = 2678048; Module.___THREW__ = 2698916; Module.___threwValue = 2698920; Module._MyDatabaseId = 2677932; Module._TopMemoryContext = 2683252; Module._PG_exception_stack = 2676172; Module._MyProcPid = 2678024; Module._stdin = 2537e3; Module._ScanKeywords = 2374040; Module._pg_number_of_ones = 925120; Module._LocalBufferBlockPointers = 2644252; Module._BufferBlocks = 2638988; Module._wal_level = 2387920; Module._SnapshotAnyData = 2474096; Module._maintenance_work_mem = 2421576; Module._ParallelWorkerNumber = 2379480; Module._MainLWLockArray = 2645860; Module._CurrentResourceOwner = 2683296; Module._work_mem = 2421560; Module._NBuffers = 2421584; Module._bsysscan = 2625492; Module._CheckXidAlive = 2625488; Module._RecentXmin = 2474188; Module._XactIsoLevel = 2387784; Module._pgWalUsage = 2628960; Module._pgBufferUsage = 2628832; Module._TTSOpsVirtual = 2391608; Module._TransamVariables = 2625480; Module._TopTransactionContext = 2683272; Module._RmgrTable = 2379504; Module._process_shared_preload_libraries_in_progress = 2681216; Module._wal_segment_size = 2387940; Module._TopTransactionResourceOwner = 2683304; Module._arch_module_check_errdetail_string = 2638372; Module._object_access_hook = 2627600; Module._InvalidObjectAddress = 1520620; Module._check_function_bodies = 2421750; Module._post_parse_analyze_hook = 2627640; Module._ScanKeywordTokens = 1551648; Module._SPI_processed = 2628984; Module._SPI_tuptable = 2628992; Module._TTSOpsMinimalTuple = 2391712; Module._check_password_hook = 2627908; Module._ConfigReloadPending = 2638360; Module._max_parallel_maintenance_workers = 2421580; Module._DateStyle = 2421548; Module._ExecutorStart_hook = 2628808; Module._ExecutorRun_hook = 2628812; Module._ExecutorFinish_hook = 2628816; Module._ExecutorEnd_hook = 2628820; Module._SPI_result = 2628996; Module._ClientAuthentication_hook = 2629168; Module._cpu_tuple_cost = 2392168; Module._cpu_operator_cost = 2392184; Module._seq_page_cost = 2392152; Module._planner_hook = 2638056; Module._ShutdownRequestPending = 2638364; Module._MyStartTime = 2678032; Module._cluster_name = 2421800; Module._application_name = 2682044; Module._BufferDescriptors = 2638984; Module._shmem_startup_hook = 2644932; Module._ProcessUtility_hook = 2647764; Module._IntervalStyle = 2677956; Module._extra_float_digits = 2411976; Module._pg_crc32_table = 2112288; Module._xmlFree = 2523400; Module._shmem_request_hook = 2681220;
|
|
5284
|
+
var _fflush = Module._fflush = (e) => (_fflush = Module._fflush = wasmExports.fflush)(e); Module.___errno_location = () => (Module.___errno_location = wasmExports.__errno_location)(); Module._ProcessInterrupts = () => (Module._ProcessInterrupts = wasmExports.ProcessInterrupts)(); Module._errstart_cold = (e, t2) => (Module._errstart_cold = wasmExports.errstart_cold)(e, t2); Module._errcode = (e) => (Module._errcode = wasmExports.errcode)(e); Module._errmsg = (e, t2) => (Module._errmsg = wasmExports.errmsg)(e, t2); Module._errfinish = (e, t2, r) => (Module._errfinish = wasmExports.errfinish)(e, t2, r); Module._puts = (e) => (Module._puts = wasmExports.puts)(e); Module._errstart = (e, t2) => (Module._errstart = wasmExports.errstart)(e, t2); Module._errmsg_internal = (e, t2) => (Module._errmsg_internal = wasmExports.errmsg_internal)(e, t2); Module._errdetail = (e, t2) => (Module._errdetail = wasmExports.errdetail)(e, t2); Module._errhint = (e, t2) => (Module._errhint = wasmExports.errhint)(e, t2); Module._pg_parse_query = (e) => (Module._pg_parse_query = wasmExports.pg_parse_query)(e); Module._gettimeofday = (e, t2) => (Module._gettimeofday = wasmExports.gettimeofday)(e, t2); Module._raw_parser = (e, t2) => (Module._raw_parser = wasmExports.raw_parser)(e, t2); Module._initStringInfo = (e) => (Module._initStringInfo = wasmExports.initStringInfo)(e); Module._appendStringInfoString = (e, t2) => (Module._appendStringInfoString = wasmExports.appendStringInfoString)(e, t2); Module._appendStringInfo = (e, t2, r) => (Module._appendStringInfo = wasmExports.appendStringInfo)(e, t2, r); Module._errdetail_internal = (e, t2) => (Module._errdetail_internal = wasmExports.errdetail_internal)(e, t2); Module._pfree = (e) => (Module._pfree = wasmExports.pfree)(e); Module._list_make1_impl = (e, t2) => (Module._list_make1_impl = wasmExports.list_make1_impl)(e, t2); Module._QueryRewrite = (e) => (Module._QueryRewrite = wasmExports.QueryRewrite)(e); Module._pg_plan_query = (e, t2, r, a2) => (Module._pg_plan_query = wasmExports.pg_plan_query)(e, t2, r, a2); Module._palloc0 = (e) => (Module._palloc0 = wasmExports.palloc0)(e); Module._lappend = (e, t2) => (Module._lappend = wasmExports.lappend)(e, t2); Module._GetCurrentTimestamp = () => (Module._GetCurrentTimestamp = wasmExports.GetCurrentTimestamp)(); Module._pg_prng_double = (e) => (Module._pg_prng_double = wasmExports.pg_prng_double)(e); Module._pg_snprintf = (e, t2, r, a2) => (Module._pg_snprintf = wasmExports.pg_snprintf)(e, t2, r, a2); Module._die = (e) => (Module._die = wasmExports.die)(e); Module._check_stack_depth = () => (Module._check_stack_depth = wasmExports.check_stack_depth)(); Module._pre_format_elog_string = (e, t2) => (Module._pre_format_elog_string = wasmExports.pre_format_elog_string)(e, t2); Module._format_elog_string = (e, t2) => (Module._format_elog_string = wasmExports.format_elog_string)(e, t2); Module._pstrdup = (e) => (Module._pstrdup = wasmExports.pstrdup)(e); Module._SplitIdentifierString = (e, t2, r) => (Module._SplitIdentifierString = wasmExports.SplitIdentifierString)(e, t2, r); Module._list_free = (e) => (Module._list_free = wasmExports.list_free)(e); Module._pg_strcasecmp = (e, t2) => (Module._pg_strcasecmp = wasmExports.pg_strcasecmp)(e, t2); Module._guc_malloc = (e, t2) => (Module._guc_malloc = wasmExports.guc_malloc)(e, t2); Module._SetConfigOption = (e, t2, r, a2) => (Module._SetConfigOption = wasmExports.SetConfigOption)(e, t2, r, a2); Module._pg_sprintf = (e, t2, r) => (Module._pg_sprintf = wasmExports.pg_sprintf)(e, t2, r); Module._strcmp = (e, t2) => (Module._strcmp = wasmExports.strcmp)(e, t2); Module._atoi = (e) => (Module._atoi = wasmExports.atoi)(e); Module._pgl_shutdown = () => (Module._pgl_shutdown = wasmExports.pgl_shutdown)(); Module._pgl_closed = () => (Module._pgl_closed = wasmExports.pgl_closed)(); Module._MemoryContextReset = (e) => (Module._MemoryContextReset = wasmExports.MemoryContextReset)(e); Module._resetStringInfo = (e) => (Module._resetStringInfo = wasmExports.resetStringInfo)(e); Module._getc = (e) => (Module._getc = wasmExports.getc)(e); Module._appendStringInfoChar = (e, t2) => (Module._appendStringInfoChar = wasmExports.appendStringInfoChar)(e, t2); Module._strlen = (e) => (Module._strlen = wasmExports.strlen)(e); Module._strncmp = (e, t2, r) => (Module._strncmp = wasmExports.strncmp)(e, t2, r); Module._pg_fprintf = (e, t2, r) => (Module._pg_fprintf = wasmExports.pg_fprintf)(e, t2, r); Module._pgstat_report_activity = (e, t2) => (Module._pgstat_report_activity = wasmExports.pgstat_report_activity)(e, t2); Module._errhidestmt = (e) => (Module._errhidestmt = wasmExports.errhidestmt)(e); Module._GetTransactionSnapshot = () => (Module._GetTransactionSnapshot = wasmExports.GetTransactionSnapshot)(); Module._PushActiveSnapshot = (e) => (Module._PushActiveSnapshot = wasmExports.PushActiveSnapshot)(e); Module._AllocSetContextCreateInternal = (e, t2, r, a2, s4) => (Module._AllocSetContextCreateInternal = wasmExports.AllocSetContextCreateInternal)(e, t2, r, a2, s4); Module._PopActiveSnapshot = () => (Module._PopActiveSnapshot = wasmExports.PopActiveSnapshot)(); Module._CreateDestReceiver = (e) => (Module._CreateDestReceiver = wasmExports.CreateDestReceiver)(e); Module._CommitTransactionCommand = () => (Module._CommitTransactionCommand = wasmExports.CommitTransactionCommand)(); Module._CommandCounterIncrement = () => (Module._CommandCounterIncrement = wasmExports.CommandCounterIncrement)(); Module._MemoryContextDelete = (e) => (Module._MemoryContextDelete = wasmExports.MemoryContextDelete)(e); Module._StartTransactionCommand = () => (Module._StartTransactionCommand = wasmExports.StartTransactionCommand)(); Module.___wasm_setjmp_test = (e, t2) => (Module.___wasm_setjmp_test = wasmExports.__wasm_setjmp_test)(e, t2); Module._pg_printf = (e, t2) => (Module._pg_printf = wasmExports.pg_printf)(e, t2); Module.___wasm_setjmp = (e, t2, r) => (Module.___wasm_setjmp = wasmExports.__wasm_setjmp)(e, t2, r); Module._FlushErrorState = () => (Module._FlushErrorState = wasmExports.FlushErrorState)(); Module._emscripten_longjmp = (e, t2) => (Module._emscripten_longjmp = wasmExports.emscripten_longjmp)(e, t2); Module._enlargeStringInfo = (e, t2) => (Module._enlargeStringInfo = wasmExports.enlargeStringInfo)(e, t2); var _malloc = Module._malloc = (e) => (_malloc = Module._malloc = wasmExports.malloc)(e); Module._realloc = (e, t2) => (Module._realloc = wasmExports.realloc)(e, t2); Module._strspn = (e, t2) => (Module._strspn = wasmExports.strspn)(e, t2); Module._memcpy = (e, t2, r) => (Module._memcpy = wasmExports.memcpy)(e, t2, r); Module._fileno = (e) => (Module._fileno = wasmExports.fileno)(e); Module._strchr = (e, t2) => (Module._strchr = wasmExports.strchr)(e, t2); Module._free = (e) => (Module._free = wasmExports.free)(e); Module._pg_vsnprintf = (e, t2, r, a2) => (Module._pg_vsnprintf = wasmExports.pg_vsnprintf)(e, t2, r, a2); Module._strcpy = (e, t2) => (Module._strcpy = wasmExports.strcpy)(e, t2); Module._psprintf = (e, t2) => (Module._psprintf = wasmExports.psprintf)(e, t2); Module._stat = (e, t2) => (Module._stat = wasmExports.stat)(e, t2); Module._fwrite = (e, t2, r, a2) => (Module._fwrite = wasmExports.fwrite)(e, t2, r, a2); Module._strftime = (e, t2, r, a2) => (Module._strftime = wasmExports.strftime)(e, t2, r, a2); Module._strstr = (e, t2) => (Module._strstr = wasmExports.strstr)(e, t2); Module._strtol = (e, t2, r) => (Module._strtol = wasmExports.strtol)(e, t2, r); Module._ferror = (e) => (Module._ferror = wasmExports.ferror)(e); Module._clear_error = () => (Module._clear_error = wasmExports.clear_error)(); Module._interactive_one = (e, t2) => (Module._interactive_one = wasmExports.interactive_one)(e, t2); Module._pq_getmsgint = (e, t2) => (Module._pq_getmsgint = wasmExports.pq_getmsgint)(e, t2); Module._palloc = (e) => (Module._palloc = wasmExports.palloc)(e); Module._makeParamList = (e) => (Module._makeParamList = wasmExports.makeParamList)(e); Module._getTypeInputInfo = (e, t2, r) => (Module._getTypeInputInfo = wasmExports.getTypeInputInfo)(e, t2, r); Module._pnstrdup = (e, t2) => (Module._pnstrdup = wasmExports.pnstrdup)(e, t2); Module._MemoryContextSetParent = (e, t2) => (Module._MemoryContextSetParent = wasmExports.MemoryContextSetParent)(e, t2); Module._pgl_backend = () => (Module._pgl_backend = wasmExports.pgl_backend)(); Module._pgl_initdb = () => (Module._pgl_initdb = wasmExports.pgl_initdb)(); Module._main = (e, t2) => (Module._main = wasmExports.__main_argc_argv)(e, t2); Module._appendStringInfoStringQuoted = (e, t2, r) => (Module._appendStringInfoStringQuoted = wasmExports.appendStringInfoStringQuoted)(e, t2, r); Module._set_errcontext_domain = (e) => (Module._set_errcontext_domain = wasmExports.set_errcontext_domain)(e); Module._errcontext_msg = (e, t2) => (Module._errcontext_msg = wasmExports.errcontext_msg)(e, t2); Module._memchr = (e, t2, r) => (Module._memchr = wasmExports.memchr)(e, t2, r); Module._strrchr = (e, t2) => (Module._strrchr = wasmExports.strrchr)(e, t2); Module._xsltFreeStylesheet = (e) => (Module._xsltFreeStylesheet = wasmExports.xsltFreeStylesheet)(e); Module._xsltParseStylesheetDoc = (e) => (Module._xsltParseStylesheetDoc = wasmExports.xsltParseStylesheetDoc)(e); Module._xsltSaveResultToString = (e, t2, r, a2) => (Module._xsltSaveResultToString = wasmExports.xsltSaveResultToString)(e, t2, r, a2); Module._xsltCleanupGlobals = () => (Module._xsltCleanupGlobals = wasmExports.xsltCleanupGlobals)(); Module._xsltNewTransformContext = (e, t2) => (Module._xsltNewTransformContext = wasmExports.xsltNewTransformContext)(e, t2); Module._xsltFreeTransformContext = (e) => (Module._xsltFreeTransformContext = wasmExports.xsltFreeTransformContext)(e); Module._xsltApplyStylesheetUser = (e, t2, r, a2, s4, o4) => (Module._xsltApplyStylesheetUser = wasmExports.xsltApplyStylesheetUser)(e, t2, r, a2, s4, o4); Module._xsltNewSecurityPrefs = () => (Module._xsltNewSecurityPrefs = wasmExports.xsltNewSecurityPrefs)(); Module._xsltFreeSecurityPrefs = (e) => (Module._xsltFreeSecurityPrefs = wasmExports.xsltFreeSecurityPrefs)(e); Module._xsltSetSecurityPrefs = (e, t2, r) => (Module._xsltSetSecurityPrefs = wasmExports.xsltSetSecurityPrefs)(e, t2, r); Module._xsltSetCtxtSecurityPrefs = (e, t2) => (Module._xsltSetCtxtSecurityPrefs = wasmExports.xsltSetCtxtSecurityPrefs)(e, t2); Module._xsltSecurityForbid = (e, t2, r) => (Module._xsltSecurityForbid = wasmExports.xsltSecurityForbid)(e, t2, r); Module._replace_percent_placeholders = (e, t2, r, a2) => (Module._replace_percent_placeholders = wasmExports.replace_percent_placeholders)(e, t2, r, a2); Module._memset = (e, t2, r) => (Module._memset = wasmExports.memset)(e, t2, r); Module._MemoryContextAllocZero = (e, t2) => (Module._MemoryContextAllocZero = wasmExports.MemoryContextAllocZero)(e, t2); Module._MemoryContextAllocExtended = (e, t2, r) => (Module._MemoryContextAllocExtended = wasmExports.MemoryContextAllocExtended)(e, t2, r); Module._hash_bytes = (e, t2) => (Module._hash_bytes = wasmExports.hash_bytes)(e, t2); Module._memcmp = (e, t2, r) => (Module._memcmp = wasmExports.memcmp)(e, t2, r); Module._repalloc = (e, t2) => (Module._repalloc = wasmExports.repalloc)(e, t2); Module._pg_qsort = (e, t2, r, a2) => (Module._pg_qsort = wasmExports.pg_qsort)(e, t2, r, a2); Module._OpenTransientFile = (e, t2) => (Module._OpenTransientFile = wasmExports.OpenTransientFile)(e, t2); Module._errcode_for_file_access = () => (Module._errcode_for_file_access = wasmExports.errcode_for_file_access)(); Module._read = (e, t2, r) => (Module._read = wasmExports.read)(e, t2, r); Module._CloseTransientFile = (e) => (Module._CloseTransientFile = wasmExports.CloseTransientFile)(e); Module._close = (e) => (Module._close = wasmExports.close)(e); Module.___multi3 = (e, t2, r, a2, s4) => (Module.___multi3 = wasmExports.__multi3)(e, t2, r, a2, s4); Module._isalnum = (e) => (Module._isalnum = wasmExports.isalnum)(e); Module._wait_result_to_str = (e) => (Module._wait_result_to_str = wasmExports.wait_result_to_str)(e); Module._float_to_shortest_decimal_bufn = (e, t2) => (Module._float_to_shortest_decimal_bufn = wasmExports.float_to_shortest_decimal_bufn)(e, t2); Module._float_to_shortest_decimal_buf = (e, t2) => (Module._float_to_shortest_decimal_buf = wasmExports.float_to_shortest_decimal_buf)(e, t2); Module._memmove = (e, t2, r) => (Module._memmove = wasmExports.memmove)(e, t2, r); Module._pwrite = (e, t2, r, a2) => (Module._pwrite = wasmExports.pwrite)(e, t2, r, a2); Module._hash_bytes_extended = (e, t2, r) => (Module._hash_bytes_extended = wasmExports.hash_bytes_extended)(e, t2, r); var _calloc = (e, t2) => (_calloc = wasmExports.calloc)(e, t2); Module._IsValidJsonNumber = (e, t2) => (Module._IsValidJsonNumber = wasmExports.IsValidJsonNumber)(e, t2); Module._appendBinaryStringInfo = (e, t2, r) => (Module._appendBinaryStringInfo = wasmExports.appendBinaryStringInfo)(e, t2, r); Module._makeStringInfo = () => (Module._makeStringInfo = wasmExports.makeStringInfo)(); Module._GetDatabaseEncodingName = () => (Module._GetDatabaseEncodingName = wasmExports.GetDatabaseEncodingName)(); Module._ScanKeywordLookup = (e, t2) => (Module._ScanKeywordLookup = wasmExports.ScanKeywordLookup)(e, t2); Module._strtoul = (e, t2, r) => (Module._strtoul = wasmExports.strtoul)(e, t2, r); Module._sscanf = (e, t2, r) => (Module._sscanf = wasmExports.sscanf)(e, t2, r); Module._pg_prng_uint64 = (e) => (Module._pg_prng_uint64 = wasmExports.pg_prng_uint64)(e); Module._pg_prng_uint32 = (e) => (Module._pg_prng_uint32 = wasmExports.pg_prng_uint32)(e); Module._log = (e) => (Module._log = wasmExports.log)(e); Module._sin = (e) => (Module._sin = wasmExports.sin)(e); Module._forkname_to_number = (e) => (Module._forkname_to_number = wasmExports.forkname_to_number)(e); Module._unlink = (e) => (Module._unlink = wasmExports.unlink)(e); Module._pg_utf_mblen_private = (e) => (Module._pg_utf_mblen_private = wasmExports.pg_utf_mblen_private)(e); Module._bsearch = (e, t2, r, a2, s4) => (Module._bsearch = wasmExports.bsearch)(e, t2, r, a2, s4); Module._palloc_extended = (e, t2) => (Module._palloc_extended = wasmExports.palloc_extended)(e, t2); Module._appendStringInfoSpaces = (e, t2) => (Module._appendStringInfoSpaces = wasmExports.appendStringInfoSpaces)(e, t2); Module._fcntl = (e, t2, r) => (Module._fcntl = wasmExports.fcntl)(e, t2, r); Module._pg_popcount_optimized = (e, t2) => (Module._pg_popcount_optimized = wasmExports.pg_popcount_optimized)(e, t2); Module._pg_strong_random = (e, t2) => (Module._pg_strong_random = wasmExports.pg_strong_random)(e, t2); Module._open = (e, t2, r) => (Module._open = wasmExports.open)(e, t2, r); Module._pg_usleep = (e) => (Module._pg_usleep = wasmExports.pg_usleep)(e); Module._nanosleep = (e, t2) => (Module._nanosleep = wasmExports.nanosleep)(e, t2); Module._getpid = () => (Module._getpid = wasmExports.getpid)(); Module._qsort_arg = (e, t2, r, a2, s4) => (Module._qsort_arg = wasmExports.qsort_arg)(e, t2, r, a2, s4); Module._RelationGetNumberOfBlocksInFork = (e, t2) => (Module._RelationGetNumberOfBlocksInFork = wasmExports.RelationGetNumberOfBlocksInFork)(e, t2); Module._ExtendBufferedRel = (e, t2, r, a2) => (Module._ExtendBufferedRel = wasmExports.ExtendBufferedRel)(e, t2, r, a2); Module._MarkBufferDirty = (e) => (Module._MarkBufferDirty = wasmExports.MarkBufferDirty)(e); Module._XLogBeginInsert = () => (Module._XLogBeginInsert = wasmExports.XLogBeginInsert)(); Module._XLogRegisterData = (e, t2) => (Module._XLogRegisterData = wasmExports.XLogRegisterData)(e, t2); Module._XLogInsert = (e, t2) => (Module._XLogInsert = wasmExports.XLogInsert)(e, t2); Module._UnlockReleaseBuffer = (e) => (Module._UnlockReleaseBuffer = wasmExports.UnlockReleaseBuffer)(e); Module._brin_build_desc = (e) => (Module._brin_build_desc = wasmExports.brin_build_desc)(e); Module._EnterParallelMode = () => (Module._EnterParallelMode = wasmExports.EnterParallelMode)(); Module._CreateParallelContext = (e, t2, r) => (Module._CreateParallelContext = wasmExports.CreateParallelContext)(e, t2, r); Module._RegisterSnapshot = (e) => (Module._RegisterSnapshot = wasmExports.RegisterSnapshot)(e); Module._table_parallelscan_estimate = (e, t2) => (Module._table_parallelscan_estimate = wasmExports.table_parallelscan_estimate)(e, t2); Module._add_size = (e, t2) => (Module._add_size = wasmExports.add_size)(e, t2); Module._tuplesort_estimate_shared = (e) => (Module._tuplesort_estimate_shared = wasmExports.tuplesort_estimate_shared)(e); Module._InitializeParallelDSM = (e) => (Module._InitializeParallelDSM = wasmExports.InitializeParallelDSM)(e); Module._UnregisterSnapshot = (e) => (Module._UnregisterSnapshot = wasmExports.UnregisterSnapshot)(e); Module._DestroyParallelContext = (e) => (Module._DestroyParallelContext = wasmExports.DestroyParallelContext)(e); Module._ExitParallelMode = () => (Module._ExitParallelMode = wasmExports.ExitParallelMode)(); Module._shm_toc_allocate = (e, t2) => (Module._shm_toc_allocate = wasmExports.shm_toc_allocate)(e, t2); Module._ConditionVariableInit = (e) => (Module._ConditionVariableInit = wasmExports.ConditionVariableInit)(e); Module._s_init_lock_sema = (e, t2) => (Module._s_init_lock_sema = wasmExports.s_init_lock_sema)(e, t2); Module._table_parallelscan_initialize = (e, t2, r) => (Module._table_parallelscan_initialize = wasmExports.table_parallelscan_initialize)(e, t2, r); Module._tuplesort_initialize_shared = (e, t2, r) => (Module._tuplesort_initialize_shared = wasmExports.tuplesort_initialize_shared)(e, t2, r); Module._shm_toc_insert = (e, t2, r) => (Module._shm_toc_insert = wasmExports.shm_toc_insert)(e, t2, r); Module._LaunchParallelWorkers = (e) => (Module._LaunchParallelWorkers = wasmExports.LaunchParallelWorkers)(e); Module._WaitForParallelWorkersToAttach = (e) => (Module._WaitForParallelWorkersToAttach = wasmExports.WaitForParallelWorkersToAttach)(e); Module._tas_sema = (e) => (Module._tas_sema = wasmExports.tas_sema)(e); Module._s_lock = (e, t2, r, a2) => (Module._s_lock = wasmExports.s_lock)(e, t2, r, a2); Module._s_unlock_sema = (e) => (Module._s_unlock_sema = wasmExports.s_unlock_sema)(e); Module._ConditionVariableSleep = (e, t2) => (Module._ConditionVariableSleep = wasmExports.ConditionVariableSleep)(e, t2); Module._ConditionVariableCancelSleep = () => (Module._ConditionVariableCancelSleep = wasmExports.ConditionVariableCancelSleep)(); Module._tuplesort_performsort = (e) => (Module._tuplesort_performsort = wasmExports.tuplesort_performsort)(e); Module._tuplesort_end = (e) => (Module._tuplesort_end = wasmExports.tuplesort_end)(e); Module._brin_deform_tuple = (e, t2, r) => (Module._brin_deform_tuple = wasmExports.brin_deform_tuple)(e, t2, r); Module._log_newpage_buffer = (e, t2) => (Module._log_newpage_buffer = wasmExports.log_newpage_buffer)(e, t2); Module._LockBuffer = (e, t2) => (Module._LockBuffer = wasmExports.LockBuffer)(e, t2); Module._ReleaseBuffer = (e) => (Module._ReleaseBuffer = wasmExports.ReleaseBuffer)(e); Module._IndexGetRelation = (e, t2) => (Module._IndexGetRelation = wasmExports.IndexGetRelation)(e, t2); Module._table_open = (e, t2) => (Module._table_open = wasmExports.table_open)(e, t2); Module._ReadBufferExtended = (e, t2, r, a2, s4) => (Module._ReadBufferExtended = wasmExports.ReadBufferExtended)(e, t2, r, a2, s4); Module._table_close = (e, t2) => (Module._table_close = wasmExports.table_close)(e, t2); Module._build_reloptions = (e, t2, r, a2, s4, o4) => (Module._build_reloptions = wasmExports.build_reloptions)(e, t2, r, a2, s4, o4); Module._RelationGetIndexScan = (e, t2, r) => (Module._RelationGetIndexScan = wasmExports.RelationGetIndexScan)(e, t2, r); Module._pgstat_assoc_relation = (e) => (Module._pgstat_assoc_relation = wasmExports.pgstat_assoc_relation)(e); Module._index_getprocinfo = (e, t2, r) => (Module._index_getprocinfo = wasmExports.index_getprocinfo)(e, t2, r); Module._fmgr_info_copy = (e, t2, r) => (Module._fmgr_info_copy = wasmExports.fmgr_info_copy)(e, t2, r); Module._FunctionCall4Coll = (e, t2, r, a2, s4, o4) => (Module._FunctionCall4Coll = wasmExports.FunctionCall4Coll)(e, t2, r, a2, s4, o4); Module._FunctionCall1Coll = (e, t2, r) => (Module._FunctionCall1Coll = wasmExports.FunctionCall1Coll)(e, t2, r); Module._brin_free_desc = (e) => (Module._brin_free_desc = wasmExports.brin_free_desc)(e); Module._WaitForParallelWorkersToFinish = (e) => (Module._WaitForParallelWorkersToFinish = wasmExports.WaitForParallelWorkersToFinish)(e); Module._PageGetFreeSpace = (e) => (Module._PageGetFreeSpace = wasmExports.PageGetFreeSpace)(e); Module._BufferGetBlockNumber = (e) => (Module._BufferGetBlockNumber = wasmExports.BufferGetBlockNumber)(e); Module._BuildIndexInfo = (e) => (Module._BuildIndexInfo = wasmExports.BuildIndexInfo)(e); Module._Int64GetDatum = (e) => (Module._Int64GetDatum = wasmExports.Int64GetDatum)(e); Module._DirectFunctionCall2Coll = (e, t2, r, a2) => (Module._DirectFunctionCall2Coll = wasmExports.DirectFunctionCall2Coll)(e, t2, r, a2); Module._RecoveryInProgress = () => (Module._RecoveryInProgress = wasmExports.RecoveryInProgress)(); Module._GetUserIdAndSecContext = (e, t2) => (Module._GetUserIdAndSecContext = wasmExports.GetUserIdAndSecContext)(e, t2); Module._SetUserIdAndSecContext = (e, t2) => (Module._SetUserIdAndSecContext = wasmExports.SetUserIdAndSecContext)(e, t2); Module._NewGUCNestLevel = () => (Module._NewGUCNestLevel = wasmExports.NewGUCNestLevel)(); Module._RestrictSearchPath = () => (Module._RestrictSearchPath = wasmExports.RestrictSearchPath)(); Module._index_open = (e, t2) => (Module._index_open = wasmExports.index_open)(e, t2); Module._object_ownercheck = (e, t2, r) => (Module._object_ownercheck = wasmExports.object_ownercheck)(e, t2, r); Module._aclcheck_error = (e, t2, r) => (Module._aclcheck_error = wasmExports.aclcheck_error)(e, t2, r); Module._AtEOXact_GUC = (e, t2) => (Module._AtEOXact_GUC = wasmExports.AtEOXact_GUC)(e, t2); Module._relation_close = (e, t2) => (Module._relation_close = wasmExports.relation_close)(e, t2); Module._GetUserId = () => (Module._GetUserId = wasmExports.GetUserId)(); Module._ReadBuffer = (e, t2) => (Module._ReadBuffer = wasmExports.ReadBuffer)(e, t2); Module._shm_toc_lookup = (e, t2, r) => (Module._shm_toc_lookup = wasmExports.shm_toc_lookup)(e, t2, r); Module._tuplesort_attach_shared = (e, t2) => (Module._tuplesort_attach_shared = wasmExports.tuplesort_attach_shared)(e, t2); Module._index_close = (e, t2) => (Module._index_close = wasmExports.index_close)(e, t2); Module._table_beginscan_parallel = (e, t2) => (Module._table_beginscan_parallel = wasmExports.table_beginscan_parallel)(e, t2); Module._ConditionVariableSignal = (e) => (Module._ConditionVariableSignal = wasmExports.ConditionVariableSignal)(e); Module._datumCopy = (e, t2, r) => (Module._datumCopy = wasmExports.datumCopy)(e, t2, r); Module._lookup_type_cache = (e, t2) => (Module._lookup_type_cache = wasmExports.lookup_type_cache)(e, t2); Module._get_fn_opclass_options = (e) => (Module._get_fn_opclass_options = wasmExports.get_fn_opclass_options)(e); Module._pg_detoast_datum = (e) => (Module._pg_detoast_datum = wasmExports.pg_detoast_datum)(e); Module._index_getprocid = (e, t2, r) => (Module._index_getprocid = wasmExports.index_getprocid)(e, t2, r); Module._init_local_reloptions = (e, t2) => (Module._init_local_reloptions = wasmExports.init_local_reloptions)(e, t2); Module._FunctionCall2Coll = (e, t2, r, a2) => (Module._FunctionCall2Coll = wasmExports.FunctionCall2Coll)(e, t2, r, a2); Module._SysCacheGetAttrNotNull = (e, t2, r) => (Module._SysCacheGetAttrNotNull = wasmExports.SysCacheGetAttrNotNull)(e, t2, r); Module._ReleaseSysCache = (e) => (Module._ReleaseSysCache = wasmExports.ReleaseSysCache)(e); Module._fmgr_info_cxt = (e, t2, r) => (Module._fmgr_info_cxt = wasmExports.fmgr_info_cxt)(e, t2, r); Module._Float8GetDatum = (e) => (Module._Float8GetDatum = wasmExports.Float8GetDatum)(e); Module._numeric_sub = (e) => (Module._numeric_sub = wasmExports.numeric_sub)(e); Module._DirectFunctionCall1Coll = (e, t2, r) => (Module._DirectFunctionCall1Coll = wasmExports.DirectFunctionCall1Coll)(e, t2, r); Module._pg_detoast_datum_packed = (e) => (Module._pg_detoast_datum_packed = wasmExports.pg_detoast_datum_packed)(e); Module._add_local_int_reloption = (e, t2, r, a2, s4, o4, n3) => (Module._add_local_int_reloption = wasmExports.add_local_int_reloption)(e, t2, r, a2, s4, o4, n3); Module._getTypeOutputInfo = (e, t2, r) => (Module._getTypeOutputInfo = wasmExports.getTypeOutputInfo)(e, t2, r); Module._fmgr_info = (e, t2) => (Module._fmgr_info = wasmExports.fmgr_info)(e, t2); Module._OutputFunctionCall = (e, t2) => (Module._OutputFunctionCall = wasmExports.OutputFunctionCall)(e, t2); Module._cstring_to_text_with_len = (e, t2) => (Module._cstring_to_text_with_len = wasmExports.cstring_to_text_with_len)(e, t2); Module._accumArrayResult = (e, t2, r, a2, s4) => (Module._accumArrayResult = wasmExports.accumArrayResult)(e, t2, r, a2, s4); Module._makeArrayResult = (e, t2) => (Module._makeArrayResult = wasmExports.makeArrayResult)(e, t2); Module._OidOutputFunctionCall = (e, t2) => (Module._OidOutputFunctionCall = wasmExports.OidOutputFunctionCall)(e, t2); Module._cstring_to_text = (e) => (Module._cstring_to_text = wasmExports.cstring_to_text)(e); Module._PageGetExactFreeSpace = (e) => (Module._PageGetExactFreeSpace = wasmExports.PageGetExactFreeSpace)(e); Module._PageIndexTupleOverwrite = (e, t2, r, a2) => (Module._PageIndexTupleOverwrite = wasmExports.PageIndexTupleOverwrite)(e, t2, r, a2); Module._PageInit = (e, t2, r) => (Module._PageInit = wasmExports.PageInit)(e, t2, r); Module._PageAddItemExtended = (e, t2, r, a2, s4) => (Module._PageAddItemExtended = wasmExports.PageAddItemExtended)(e, t2, r, a2, s4); Module._LockRelationForExtension = (e, t2) => (Module._LockRelationForExtension = wasmExports.LockRelationForExtension)(e, t2); Module._UnlockRelationForExtension = (e, t2) => (Module._UnlockRelationForExtension = wasmExports.UnlockRelationForExtension)(e, t2); Module._smgropen = (e, t2) => (Module._smgropen = wasmExports.smgropen)(e, t2); Module._smgrpin = (e) => (Module._smgrpin = wasmExports.smgrpin)(e); Module._ItemPointerEquals = (e, t2) => (Module._ItemPointerEquals = wasmExports.ItemPointerEquals)(e, t2); Module._detoast_external_attr = (e) => (Module._detoast_external_attr = wasmExports.detoast_external_attr)(e); Module._CreateTemplateTupleDesc = (e) => (Module._CreateTemplateTupleDesc = wasmExports.CreateTemplateTupleDesc)(e); Module._TupleDescInitEntry = (e, t2, r, a2, s4, o4) => (Module._TupleDescInitEntry = wasmExports.TupleDescInitEntry)(e, t2, r, a2, s4, o4); Module._SearchSysCache1 = (e, t2) => (Module._SearchSysCache1 = wasmExports.SearchSysCache1)(e, t2); Module._SearchSysCacheList = (e, t2, r, a2, s4) => (Module._SearchSysCacheList = wasmExports.SearchSysCacheList)(e, t2, r, a2, s4); Module._check_amproc_signature = (e, t2, r, a2, s4, o4) => (Module._check_amproc_signature = wasmExports.check_amproc_signature)(e, t2, r, a2, s4, o4); Module._check_amoptsproc_signature = (e) => (Module._check_amoptsproc_signature = wasmExports.check_amoptsproc_signature)(e); Module._format_procedure = (e) => (Module._format_procedure = wasmExports.format_procedure)(e); Module._format_operator = (e) => (Module._format_operator = wasmExports.format_operator)(e); Module._check_amop_signature = (e, t2, r, a2) => (Module._check_amop_signature = wasmExports.check_amop_signature)(e, t2, r, a2); Module._identify_opfamily_groups = (e, t2) => (Module._identify_opfamily_groups = wasmExports.identify_opfamily_groups)(e, t2); Module._format_type_be = (e) => (Module._format_type_be = wasmExports.format_type_be)(e); Module._ReleaseCatCacheList = (e) => (Module._ReleaseCatCacheList = wasmExports.ReleaseCatCacheList)(e); Module._format_type_with_typemod = (e, t2) => (Module._format_type_with_typemod = wasmExports.format_type_with_typemod)(e, t2); Module._DatumGetEOHP = (e) => (Module._DatumGetEOHP = wasmExports.DatumGetEOHP)(e); Module._EOH_get_flat_size = (e) => (Module._EOH_get_flat_size = wasmExports.EOH_get_flat_size)(e); Module._EOH_flatten_into = (e, t2, r) => (Module._EOH_flatten_into = wasmExports.EOH_flatten_into)(e, t2, r); Module._getmissingattr = (e, t2, r) => (Module._getmissingattr = wasmExports.getmissingattr)(e, t2, r); Module._hash_create = (e, t2, r, a2) => (Module._hash_create = wasmExports.hash_create)(e, t2, r, a2); Module._hash_search = (e, t2, r, a2) => (Module._hash_search = wasmExports.hash_search)(e, t2, r, a2); Module._nocachegetattr = (e, t2, r) => (Module._nocachegetattr = wasmExports.nocachegetattr)(e, t2, r); Module._heap_form_tuple = (e, t2, r) => (Module._heap_form_tuple = wasmExports.heap_form_tuple)(e, t2, r); Module._heap_modify_tuple = (e, t2, r, a2, s4) => (Module._heap_modify_tuple = wasmExports.heap_modify_tuple)(e, t2, r, a2, s4); Module._heap_deform_tuple = (e, t2, r, a2) => (Module._heap_deform_tuple = wasmExports.heap_deform_tuple)(e, t2, r, a2); Module._heap_modify_tuple_by_cols = (e, t2, r, a2, s4, o4) => (Module._heap_modify_tuple_by_cols = wasmExports.heap_modify_tuple_by_cols)(e, t2, r, a2, s4, o4); Module._heap_freetuple = (e) => (Module._heap_freetuple = wasmExports.heap_freetuple)(e); Module._index_form_tuple = (e, t2, r) => (Module._index_form_tuple = wasmExports.index_form_tuple)(e, t2, r); Module._nocache_index_getattr = (e, t2, r) => (Module._nocache_index_getattr = wasmExports.nocache_index_getattr)(e, t2, r); Module._index_deform_tuple = (e, t2, r, a2) => (Module._index_deform_tuple = wasmExports.index_deform_tuple)(e, t2, r, a2); Module._slot_getsomeattrs_int = (e, t2) => (Module._slot_getsomeattrs_int = wasmExports.slot_getsomeattrs_int)(e, t2); Module._pg_ltoa = (e, t2) => (Module._pg_ltoa = wasmExports.pg_ltoa)(e, t2); Module._relation_open = (e, t2) => (Module._relation_open = wasmExports.relation_open)(e, t2); Module._LockRelationOid = (e, t2) => (Module._LockRelationOid = wasmExports.LockRelationOid)(e, t2); Module._try_relation_open = (e, t2) => (Module._try_relation_open = wasmExports.try_relation_open)(e, t2); Module._relation_openrv = (e, t2) => (Module._relation_openrv = wasmExports.relation_openrv)(e, t2); Module._RangeVarGetRelidExtended = (e, t2, r, a2, s4) => (Module._RangeVarGetRelidExtended = wasmExports.RangeVarGetRelidExtended)(e, t2, r, a2, s4); Module._add_reloption_kind = () => (Module._add_reloption_kind = wasmExports.add_reloption_kind)(); Module._register_reloptions_validator = (e, t2) => (Module._register_reloptions_validator = wasmExports.register_reloptions_validator)(e, t2); Module._add_int_reloption = (e, t2, r, a2, s4, o4, n3) => (Module._add_int_reloption = wasmExports.add_int_reloption)(e, t2, r, a2, s4, o4, n3); Module._MemoryContextStrdup = (e, t2) => (Module._MemoryContextStrdup = wasmExports.MemoryContextStrdup)(e, t2); Module._transformRelOptions = (e, t2, r, a2, s4, o4) => (Module._transformRelOptions = wasmExports.transformRelOptions)(e, t2, r, a2, s4, o4); Module._deconstruct_array_builtin = (e, t2, r, a2, s4) => (Module._deconstruct_array_builtin = wasmExports.deconstruct_array_builtin)(e, t2, r, a2, s4); Module._defGetString = (e) => (Module._defGetString = wasmExports.defGetString)(e); Module._defGetBoolean = (e) => (Module._defGetBoolean = wasmExports.defGetBoolean)(e); Module._untransformRelOptions = (e) => (Module._untransformRelOptions = wasmExports.untransformRelOptions)(e); Module._text_to_cstring = (e) => (Module._text_to_cstring = wasmExports.text_to_cstring)(e); Module._makeString = (e) => (Module._makeString = wasmExports.makeString)(e); Module._makeDefElem = (e, t2, r) => (Module._makeDefElem = wasmExports.makeDefElem)(e, t2, r); Module._heap_reloptions = (e, t2, r) => (Module._heap_reloptions = wasmExports.heap_reloptions)(e, t2, r); Module._MemoryContextAlloc = (e, t2) => (Module._MemoryContextAlloc = wasmExports.MemoryContextAlloc)(e, t2); Module._parse_bool = (e, t2) => (Module._parse_bool = wasmExports.parse_bool)(e, t2); Module._parse_int = (e, t2, r, a2) => (Module._parse_int = wasmExports.parse_int)(e, t2, r, a2); Module._parse_real = (e, t2, r, a2) => (Module._parse_real = wasmExports.parse_real)(e, t2, r, a2); Module._ScanKeyInit = (e, t2, r, a2, s4) => (Module._ScanKeyInit = wasmExports.ScanKeyInit)(e, t2, r, a2, s4); Module._dsm_segment_handle = (e) => (Module._dsm_segment_handle = wasmExports.dsm_segment_handle)(e); Module._dsm_create = (e, t2) => (Module._dsm_create = wasmExports.dsm_create)(e, t2); Module._dsm_segment_address = (e) => (Module._dsm_segment_address = wasmExports.dsm_segment_address)(e); Module._dsm_attach = (e) => (Module._dsm_attach = wasmExports.dsm_attach)(e); Module._dsm_detach = (e) => (Module._dsm_detach = wasmExports.dsm_detach)(e); Module._ShmemInitStruct = (e, t2, r) => (Module._ShmemInitStruct = wasmExports.ShmemInitStruct)(e, t2, r); Module._LWLockAcquire = (e, t2) => (Module._LWLockAcquire = wasmExports.LWLockAcquire)(e, t2); Module._LWLockRelease = (e) => (Module._LWLockRelease = wasmExports.LWLockRelease)(e); Module._LWLockInitialize = (e, t2) => (Module._LWLockInitialize = wasmExports.LWLockInitialize)(e, t2); Module._MemoryContextMemAllocated = (e, t2) => (Module._MemoryContextMemAllocated = wasmExports.MemoryContextMemAllocated)(e, t2); Module._GetCurrentCommandId = (e) => (Module._GetCurrentCommandId = wasmExports.GetCurrentCommandId)(e); Module._toast_open_indexes = (e, t2, r, a2) => (Module._toast_open_indexes = wasmExports.toast_open_indexes)(e, t2, r, a2); Module._RelationGetIndexList = (e) => (Module._RelationGetIndexList = wasmExports.RelationGetIndexList)(e); Module._systable_beginscan = (e, t2, r, a2, s4, o4) => (Module._systable_beginscan = wasmExports.systable_beginscan)(e, t2, r, a2, s4, o4); Module._systable_getnext = (e) => (Module._systable_getnext = wasmExports.systable_getnext)(e); Module._systable_endscan = (e) => (Module._systable_endscan = wasmExports.systable_endscan)(e); Module._toast_close_indexes = (e, t2, r) => (Module._toast_close_indexes = wasmExports.toast_close_indexes)(e, t2, r); Module._systable_beginscan_ordered = (e, t2, r, a2, s4) => (Module._systable_beginscan_ordered = wasmExports.systable_beginscan_ordered)(e, t2, r, a2, s4); Module._systable_getnext_ordered = (e, t2) => (Module._systable_getnext_ordered = wasmExports.systable_getnext_ordered)(e, t2); Module._systable_endscan_ordered = (e) => (Module._systable_endscan_ordered = wasmExports.systable_endscan_ordered)(e); Module._init_toast_snapshot = (e) => (Module._init_toast_snapshot = wasmExports.init_toast_snapshot)(e); Module._convert_tuples_by_position = (e, t2, r) => (Module._convert_tuples_by_position = wasmExports.convert_tuples_by_position)(e, t2, r); Module._execute_attr_map_tuple = (e, t2) => (Module._execute_attr_map_tuple = wasmExports.execute_attr_map_tuple)(e, t2); Module._ExecStoreVirtualTuple = (e) => (Module._ExecStoreVirtualTuple = wasmExports.ExecStoreVirtualTuple)(e); Module._bms_is_member = (e, t2) => (Module._bms_is_member = wasmExports.bms_is_member)(e, t2); Module._bms_add_member = (e, t2) => (Module._bms_add_member = wasmExports.bms_add_member)(e, t2); Module._CreateTupleDescCopy = (e) => (Module._CreateTupleDescCopy = wasmExports.CreateTupleDescCopy)(e); Module._DecrTupleDescRefCount = (e) => (Module._DecrTupleDescRefCount = wasmExports.DecrTupleDescRefCount)(e); Module._datumIsEqual = (e, t2, r, a2) => (Module._datumIsEqual = wasmExports.datumIsEqual)(e, t2, r, a2); Module._TupleDescInitEntryCollation = (e, t2, r) => (Module._TupleDescInitEntryCollation = wasmExports.TupleDescInitEntryCollation)(e, t2, r); Module._stringToNode = (e) => (Module._stringToNode = wasmExports.stringToNode)(e); Module._pg_detoast_datum_copy = (e) => (Module._pg_detoast_datum_copy = wasmExports.pg_detoast_datum_copy)(e); Module._get_typlenbyvalalign = (e, t2, r, a2) => (Module._get_typlenbyvalalign = wasmExports.get_typlenbyvalalign)(e, t2, r, a2); Module._deconstruct_array = (e, t2, r, a2, s4, o4, n3, _3) => (Module._deconstruct_array = wasmExports.deconstruct_array)(e, t2, r, a2, s4, o4, n3, _3); Module._tbm_add_tuples = (e, t2, r, a2) => (Module._tbm_add_tuples = wasmExports.tbm_add_tuples)(e, t2, r, a2); Module._ginPostingListDecode = (e, t2) => (Module._ginPostingListDecode = wasmExports.ginPostingListDecode)(e, t2); Module._ItemPointerCompare = (e, t2) => (Module._ItemPointerCompare = wasmExports.ItemPointerCompare)(e, t2); Module._LockPage = (e, t2, r) => (Module._LockPage = wasmExports.LockPage)(e, t2, r); Module._UnlockPage = (e, t2, r) => (Module._UnlockPage = wasmExports.UnlockPage)(e, t2, r); Module._vacuum_delay_point = () => (Module._vacuum_delay_point = wasmExports.vacuum_delay_point)(); Module._RecordFreeIndexPage = (e, t2) => (Module._RecordFreeIndexPage = wasmExports.RecordFreeIndexPage)(e, t2); Module._IndexFreeSpaceMapVacuum = (e) => (Module._IndexFreeSpaceMapVacuum = wasmExports.IndexFreeSpaceMapVacuum)(e); Module._log_newpage_range = (e, t2, r, a2, s4) => (Module._log_newpage_range = wasmExports.log_newpage_range)(e, t2, r, a2, s4); Module._GetFreeIndexPage = (e) => (Module._GetFreeIndexPage = wasmExports.GetFreeIndexPage)(e); Module._ConditionalLockBuffer = (e) => (Module._ConditionalLockBuffer = wasmExports.ConditionalLockBuffer)(e); Module._LockBufferForCleanup = (e) => (Module._LockBufferForCleanup = wasmExports.LockBufferForCleanup)(e); Module._gistcheckpage = (e, t2) => (Module._gistcheckpage = wasmExports.gistcheckpage)(e, t2); Module._PageIndexMultiDelete = (e, t2, r) => (Module._PageIndexMultiDelete = wasmExports.PageIndexMultiDelete)(e, t2, r); Module._smgrnblocks = (e, t2) => (Module._smgrnblocks = wasmExports.smgrnblocks)(e, t2); Module._list_free_deep = (e) => (Module._list_free_deep = wasmExports.list_free_deep)(e); Module._pairingheap_remove_first = (e) => (Module._pairingheap_remove_first = wasmExports.pairingheap_remove_first)(e); Module._pairingheap_add = (e, t2) => (Module._pairingheap_add = wasmExports.pairingheap_add)(e, t2); Module._float_overflow_error = () => (Module._float_overflow_error = wasmExports.float_overflow_error)(); Module._float_underflow_error = () => (Module._float_underflow_error = wasmExports.float_underflow_error)(); Module._DirectFunctionCall5Coll = (e, t2, r, a2, s4, o4, n3) => (Module._DirectFunctionCall5Coll = wasmExports.DirectFunctionCall5Coll)(e, t2, r, a2, s4, o4, n3); Module._pairingheap_allocate = (e, t2) => (Module._pairingheap_allocate = wasmExports.pairingheap_allocate)(e, t2); Module._GenerationContextCreate = (e, t2, r, a2, s4) => (Module._GenerationContextCreate = wasmExports.GenerationContextCreate)(e, t2, r, a2, s4); Module._pgstat_progress_update_param = (e, t2) => (Module._pgstat_progress_update_param = wasmExports.pgstat_progress_update_param)(e, t2); Module.__hash_getbuf = (e, t2, r, a2) => (Module.__hash_getbuf = wasmExports._hash_getbuf)(e, t2, r, a2); Module.__hash_relbuf = (e, t2) => (Module.__hash_relbuf = wasmExports._hash_relbuf)(e, t2); Module.__hash_get_indextuple_hashkey = (e) => (Module.__hash_get_indextuple_hashkey = wasmExports._hash_get_indextuple_hashkey)(e); Module.__hash_getbuf_with_strategy = (e, t2, r, a2, s4) => (Module.__hash_getbuf_with_strategy = wasmExports._hash_getbuf_with_strategy)(e, t2, r, a2, s4); Module.__hash_ovflblkno_to_bitno = (e, t2) => (Module.__hash_ovflblkno_to_bitno = wasmExports._hash_ovflblkno_to_bitno)(e, t2); Module._list_member_oid = (e, t2) => (Module._list_member_oid = wasmExports.list_member_oid)(e, t2); Module._HeapTupleSatisfiesVisibility = (e, t2, r) => (Module._HeapTupleSatisfiesVisibility = wasmExports.HeapTupleSatisfiesVisibility)(e, t2, r); Module._read_stream_begin_relation = (e, t2, r, a2, s4, o4, n3) => (Module._read_stream_begin_relation = wasmExports.read_stream_begin_relation)(e, t2, r, a2, s4, o4, n3); Module._GetAccessStrategy = (e) => (Module._GetAccessStrategy = wasmExports.GetAccessStrategy)(e); Module._FreeAccessStrategy = (e) => (Module._FreeAccessStrategy = wasmExports.FreeAccessStrategy)(e); Module._read_stream_end = (e) => (Module._read_stream_end = wasmExports.read_stream_end)(e); Module._heap_getnext = (e, t2) => (Module._heap_getnext = wasmExports.heap_getnext)(e, t2); Module._HeapTupleSatisfiesVacuum = (e, t2, r) => (Module._HeapTupleSatisfiesVacuum = wasmExports.HeapTupleSatisfiesVacuum)(e, t2, r); Module._GetMultiXactIdMembers = (e, t2, r, a2) => (Module._GetMultiXactIdMembers = wasmExports.GetMultiXactIdMembers)(e, t2, r, a2); Module._TransactionIdPrecedes = (e, t2) => (Module._TransactionIdPrecedes = wasmExports.TransactionIdPrecedes)(e, t2); Module._HeapTupleGetUpdateXid = (e) => (Module._HeapTupleGetUpdateXid = wasmExports.HeapTupleGetUpdateXid)(e); Module._visibilitymap_clear = (e, t2, r, a2) => (Module._visibilitymap_clear = wasmExports.visibilitymap_clear)(e, t2, r, a2); Module._pgstat_count_heap_insert = (e, t2) => (Module._pgstat_count_heap_insert = wasmExports.pgstat_count_heap_insert)(e, t2); Module._ExecFetchSlotHeapTuple = (e, t2, r) => (Module._ExecFetchSlotHeapTuple = wasmExports.ExecFetchSlotHeapTuple)(e, t2, r); Module._PageGetHeapFreeSpace = (e) => (Module._PageGetHeapFreeSpace = wasmExports.PageGetHeapFreeSpace)(e); Module._visibilitymap_pin = (e, t2, r) => (Module._visibilitymap_pin = wasmExports.visibilitymap_pin)(e, t2, r); Module._HeapTupleSatisfiesUpdate = (e, t2, r) => (Module._HeapTupleSatisfiesUpdate = wasmExports.HeapTupleSatisfiesUpdate)(e, t2, r); Module._TransactionIdIsCurrentTransactionId = (e) => (Module._TransactionIdIsCurrentTransactionId = wasmExports.TransactionIdIsCurrentTransactionId)(e); Module._TransactionIdDidCommit = (e) => (Module._TransactionIdDidCommit = wasmExports.TransactionIdDidCommit)(e); Module._TransactionIdIsInProgress = (e) => (Module._TransactionIdIsInProgress = wasmExports.TransactionIdIsInProgress)(e); Module._bms_free = (e) => (Module._bms_free = wasmExports.bms_free)(e); Module._bms_add_members = (e, t2) => (Module._bms_add_members = wasmExports.bms_add_members)(e, t2); Module._bms_next_member = (e, t2) => (Module._bms_next_member = wasmExports.bms_next_member)(e, t2); Module._bms_overlap = (e, t2) => (Module._bms_overlap = wasmExports.bms_overlap)(e, t2); Module._MultiXactIdPrecedes = (e, t2) => (Module._MultiXactIdPrecedes = wasmExports.MultiXactIdPrecedes)(e, t2); Module._heap_tuple_needs_eventual_freeze = (e) => (Module._heap_tuple_needs_eventual_freeze = wasmExports.heap_tuple_needs_eventual_freeze)(e); Module._PrefetchBuffer = (e, t2, r, a2) => (Module._PrefetchBuffer = wasmExports.PrefetchBuffer)(e, t2, r, a2); Module._XLogRecGetBlockTagExtended = (e, t2, r, a2, s4, o4) => (Module._XLogRecGetBlockTagExtended = wasmExports.XLogRecGetBlockTagExtended)(e, t2, r, a2, s4, o4); Module._read_stream_next_buffer = (e, t2) => (Module._read_stream_next_buffer = wasmExports.read_stream_next_buffer)(e, t2); Module._smgrexists = (e, t2) => (Module._smgrexists = wasmExports.smgrexists)(e, t2); Module._table_slot_create = (e, t2) => (Module._table_slot_create = wasmExports.table_slot_create)(e, t2); Module._ExecDropSingleTupleTableSlot = (e) => (Module._ExecDropSingleTupleTableSlot = wasmExports.ExecDropSingleTupleTableSlot)(e); Module._CreateExecutorState = () => (Module._CreateExecutorState = wasmExports.CreateExecutorState)(); Module._MakePerTupleExprContext = (e) => (Module._MakePerTupleExprContext = wasmExports.MakePerTupleExprContext)(e); Module._GetOldestNonRemovableTransactionId = (e) => (Module._GetOldestNonRemovableTransactionId = wasmExports.GetOldestNonRemovableTransactionId)(e); Module._FreeExecutorState = (e) => (Module._FreeExecutorState = wasmExports.FreeExecutorState)(e); Module._MakeSingleTupleTableSlot = (e, t2) => (Module._MakeSingleTupleTableSlot = wasmExports.MakeSingleTupleTableSlot)(e, t2); Module._ExecStoreHeapTuple = (e, t2, r) => (Module._ExecStoreHeapTuple = wasmExports.ExecStoreHeapTuple)(e, t2, r); Module._visibilitymap_get_status = (e, t2, r) => (Module._visibilitymap_get_status = wasmExports.visibilitymap_get_status)(e, t2, r); Module._ExecStoreAllNullTuple = (e) => (Module._ExecStoreAllNullTuple = wasmExports.ExecStoreAllNullTuple)(e); Module._XidInMVCCSnapshot = (e, t2) => (Module._XidInMVCCSnapshot = wasmExports.XidInMVCCSnapshot)(e, t2); Module._hash_seq_init = (e, t2) => (Module._hash_seq_init = wasmExports.hash_seq_init)(e, t2); Module._hash_seq_search = (e) => (Module._hash_seq_search = wasmExports.hash_seq_search)(e); Module._ftruncate = (e, t2) => (Module._ftruncate = wasmExports.ftruncate)(e, t2); Module._fd_fsync_fname = (e, t2) => (Module._fd_fsync_fname = wasmExports.fd_fsync_fname)(e, t2); Module._get_namespace_name = (e) => (Module._get_namespace_name = wasmExports.get_namespace_name)(e); Module._GetRecordedFreeSpace = (e, t2) => (Module._GetRecordedFreeSpace = wasmExports.GetRecordedFreeSpace)(e, t2); Module._vac_estimate_reltuples = (e, t2, r, a2) => (Module._vac_estimate_reltuples = wasmExports.vac_estimate_reltuples)(e, t2, r, a2); Module._WaitLatch = (e, t2, r, a2) => (Module._WaitLatch = wasmExports.WaitLatch)(e, t2, r, a2); Module._ResetLatch = (e) => (Module._ResetLatch = wasmExports.ResetLatch)(e); Module._clock_gettime = (e, t2) => (Module._clock_gettime = wasmExports.clock_gettime)(e, t2); Module._WalUsageAccumDiff = (e, t2, r) => (Module._WalUsageAccumDiff = wasmExports.WalUsageAccumDiff)(e, t2, r); Module._BufferUsageAccumDiff = (e, t2, r) => (Module._BufferUsageAccumDiff = wasmExports.BufferUsageAccumDiff)(e, t2, r); Module._visibilitymap_prepare_truncate = (e, t2) => (Module._visibilitymap_prepare_truncate = wasmExports.visibilitymap_prepare_truncate)(e, t2); Module._pg_class_aclcheck = (e, t2, r) => (Module._pg_class_aclcheck = wasmExports.pg_class_aclcheck)(e, t2, r); Module._btboolcmp = (e) => (Module._btboolcmp = wasmExports.btboolcmp)(e); Module._btint2cmp = (e) => (Module._btint2cmp = wasmExports.btint2cmp)(e); Module._btint4cmp = (e) => (Module._btint4cmp = wasmExports.btint4cmp)(e); Module._btint8cmp = (e) => (Module._btint8cmp = wasmExports.btint8cmp)(e); Module._btoidcmp = (e) => (Module._btoidcmp = wasmExports.btoidcmp)(e); Module._btcharcmp = (e) => (Module._btcharcmp = wasmExports.btcharcmp)(e); Module.__bt_form_posting = (e, t2, r) => (Module.__bt_form_posting = wasmExports._bt_form_posting)(e, t2, r); Module.__bt_mkscankey = (e, t2) => (Module.__bt_mkscankey = wasmExports._bt_mkscankey)(e, t2); Module.__bt_checkpage = (e, t2) => (Module.__bt_checkpage = wasmExports._bt_checkpage)(e, t2); Module.__bt_compare = (e, t2, r, a2) => (Module.__bt_compare = wasmExports._bt_compare)(e, t2, r, a2); Module.__bt_relbuf = (e, t2) => (Module.__bt_relbuf = wasmExports._bt_relbuf)(e, t2); Module.__bt_search = (e, t2, r, a2, s4) => (Module.__bt_search = wasmExports._bt_search)(e, t2, r, a2, s4); Module.__bt_binsrch_insert = (e, t2) => (Module.__bt_binsrch_insert = wasmExports._bt_binsrch_insert)(e, t2); Module.__bt_freestack = (e) => (Module.__bt_freestack = wasmExports._bt_freestack)(e); Module.__bt_metaversion = (e, t2, r) => (Module.__bt_metaversion = wasmExports._bt_metaversion)(e, t2, r); Module.__bt_allequalimage = (e, t2) => (Module.__bt_allequalimage = wasmExports._bt_allequalimage)(e, t2); Module._before_shmem_exit = (e, t2) => (Module._before_shmem_exit = wasmExports.before_shmem_exit)(e, t2); Module._cancel_before_shmem_exit = (e, t2) => (Module._cancel_before_shmem_exit = wasmExports.cancel_before_shmem_exit)(e, t2); Module._pg_re_throw = () => (Module._pg_re_throw = wasmExports.pg_re_throw)(); Module._get_opfamily_member = (e, t2, r, a2) => (Module._get_opfamily_member = wasmExports.get_opfamily_member)(e, t2, r, a2); Module.__bt_check_natts = (e, t2, r, a2) => (Module.__bt_check_natts = wasmExports._bt_check_natts)(e, t2, r, a2); Module._timestamptz_to_str = (e) => (Module._timestamptz_to_str = wasmExports.timestamptz_to_str)(e); Module._XLogRecGetBlockRefInfo = (e, t2, r, a2, s4) => (Module._XLogRecGetBlockRefInfo = wasmExports.XLogRecGetBlockRefInfo)(e, t2, r, a2, s4); Module._varstr_cmp = (e, t2, r, a2, s4) => (Module._varstr_cmp = wasmExports.varstr_cmp)(e, t2, r, a2, s4); Module._exprType = (e) => (Module._exprType = wasmExports.exprType)(e); Module._GetActiveSnapshot = () => (Module._GetActiveSnapshot = wasmExports.GetActiveSnapshot)(); Module._errdetail_relkind_not_supported = (e) => (Module._errdetail_relkind_not_supported = wasmExports.errdetail_relkind_not_supported)(e); Module._table_openrv = (e, t2) => (Module._table_openrv = wasmExports.table_openrv)(e, t2); Module._table_slot_callbacks = (e) => (Module._table_slot_callbacks = wasmExports.table_slot_callbacks)(e); Module._clamp_row_est = (e) => (Module._clamp_row_est = wasmExports.clamp_row_est)(e); Module._estimate_expression_value = (e, t2) => (Module._estimate_expression_value = wasmExports.estimate_expression_value)(e, t2); Module._XLogFlush = (e) => (Module._XLogFlush = wasmExports.XLogFlush)(e); Module._get_call_result_type = (e, t2, r) => (Module._get_call_result_type = wasmExports.get_call_result_type)(e, t2, r); Module._HeapTupleHeaderGetDatum = (e) => (Module._HeapTupleHeaderGetDatum = wasmExports.HeapTupleHeaderGetDatum)(e); Module._GenericXLogStart = (e) => (Module._GenericXLogStart = wasmExports.GenericXLogStart)(e); Module._GenericXLogRegisterBuffer = (e, t2, r) => (Module._GenericXLogRegisterBuffer = wasmExports.GenericXLogRegisterBuffer)(e, t2, r); Module._GenericXLogFinish = (e) => (Module._GenericXLogFinish = wasmExports.GenericXLogFinish)(e); Module._GenericXLogAbort = (e) => (Module._GenericXLogAbort = wasmExports.GenericXLogAbort)(e); Module._errmsg_plural = (e, t2, r, a2) => (Module._errmsg_plural = wasmExports.errmsg_plural)(e, t2, r, a2); Module._ReadNextMultiXactId = () => (Module._ReadNextMultiXactId = wasmExports.ReadNextMultiXactId)(); Module._ReadMultiXactIdRange = (e, t2) => (Module._ReadMultiXactIdRange = wasmExports.ReadMultiXactIdRange)(e, t2); Module._MultiXactIdPrecedesOrEquals = (e, t2) => (Module._MultiXactIdPrecedesOrEquals = wasmExports.MultiXactIdPrecedesOrEquals)(e, t2); Module._init_MultiFuncCall = (e) => (Module._init_MultiFuncCall = wasmExports.init_MultiFuncCall)(e); Module._TupleDescGetAttInMetadata = (e) => (Module._TupleDescGetAttInMetadata = wasmExports.TupleDescGetAttInMetadata)(e); Module._per_MultiFuncCall = (e) => (Module._per_MultiFuncCall = wasmExports.per_MultiFuncCall)(e); Module._BuildTupleFromCStrings = (e, t2) => (Module._BuildTupleFromCStrings = wasmExports.BuildTupleFromCStrings)(e, t2); Module._end_MultiFuncCall = (e, t2) => (Module._end_MultiFuncCall = wasmExports.end_MultiFuncCall)(e, t2); Module._GetCurrentSubTransactionId = () => (Module._GetCurrentSubTransactionId = wasmExports.GetCurrentSubTransactionId)(); Module._WaitForBackgroundWorkerShutdown = (e) => (Module._WaitForBackgroundWorkerShutdown = wasmExports.WaitForBackgroundWorkerShutdown)(e); Module._RegisterDynamicBackgroundWorker = (e, t2) => (Module._RegisterDynamicBackgroundWorker = wasmExports.RegisterDynamicBackgroundWorker)(e, t2); Module._BackgroundWorkerUnblockSignals = () => (Module._BackgroundWorkerUnblockSignals = wasmExports.BackgroundWorkerUnblockSignals)(); Module._BackgroundWorkerInitializeConnectionByOid = (e, t2, r) => (Module._BackgroundWorkerInitializeConnectionByOid = wasmExports.BackgroundWorkerInitializeConnectionByOid)(e, t2, r); Module._GetDatabaseEncoding = () => (Module._GetDatabaseEncoding = wasmExports.GetDatabaseEncoding)(); Module._RmgrNotFound = (e) => (Module._RmgrNotFound = wasmExports.RmgrNotFound)(e); Module._InitMaterializedSRF = (e, t2) => (Module._InitMaterializedSRF = wasmExports.InitMaterializedSRF)(e, t2); Module._tuplestore_putvalues = (e, t2, r, a2) => (Module._tuplestore_putvalues = wasmExports.tuplestore_putvalues)(e, t2, r, a2); Module._AllocateFile = (e, t2) => (Module._AllocateFile = wasmExports.AllocateFile)(e, t2); Module._FreeFile = (e) => (Module._FreeFile = wasmExports.FreeFile)(e); Module._fd_durable_rename = (e, t2, r) => (Module._fd_durable_rename = wasmExports.fd_durable_rename)(e, t2, r); Module._BlessTupleDesc = (e) => (Module._BlessTupleDesc = wasmExports.BlessTupleDesc)(e); Module._fstat = (e, t2) => (Module._fstat = wasmExports.fstat)(e, t2); Module._superuser_arg = (e) => (Module._superuser_arg = wasmExports.superuser_arg)(e); Module._wal_segment_close = (e) => (Module._wal_segment_close = wasmExports.wal_segment_close)(e); Module._wal_segment_open = (e, t2, r) => (Module._wal_segment_open = wasmExports.wal_segment_open)(e, t2, r); Module._XLogReaderAllocate = (e, t2, r, a2) => (Module._XLogReaderAllocate = wasmExports.XLogReaderAllocate)(e, t2, r, a2); Module._XLogReadRecord = (e, t2) => (Module._XLogReadRecord = wasmExports.XLogReadRecord)(e, t2); Module._XLogReaderFree = (e) => (Module._XLogReaderFree = wasmExports.XLogReaderFree)(e); Module._GetTopFullTransactionId = () => (Module._GetTopFullTransactionId = wasmExports.GetTopFullTransactionId)(); Module._GetCurrentTransactionNestLevel = () => (Module._GetCurrentTransactionNestLevel = wasmExports.GetCurrentTransactionNestLevel)(); Module._ResourceOwnerCreate = (e, t2) => (Module._ResourceOwnerCreate = wasmExports.ResourceOwnerCreate)(e, t2); Module._RegisterXactCallback = (e, t2) => (Module._RegisterXactCallback = wasmExports.RegisterXactCallback)(e, t2); Module._RegisterSubXactCallback = (e, t2) => (Module._RegisterSubXactCallback = wasmExports.RegisterSubXactCallback)(e, t2); Module._BeginInternalSubTransaction = (e) => (Module._BeginInternalSubTransaction = wasmExports.BeginInternalSubTransaction)(e); Module._ReleaseCurrentSubTransaction = () => (Module._ReleaseCurrentSubTransaction = wasmExports.ReleaseCurrentSubTransaction)(); Module._ResourceOwnerDelete = (e) => (Module._ResourceOwnerDelete = wasmExports.ResourceOwnerDelete)(e); Module._RollbackAndReleaseCurrentSubTransaction = () => (Module._RollbackAndReleaseCurrentSubTransaction = wasmExports.RollbackAndReleaseCurrentSubTransaction)(); Module._ReleaseExternalFD = () => (Module._ReleaseExternalFD = wasmExports.ReleaseExternalFD)(); Module._GetFlushRecPtr = (e) => (Module._GetFlushRecPtr = wasmExports.GetFlushRecPtr)(e); Module._GetXLogReplayRecPtr = (e) => (Module._GetXLogReplayRecPtr = wasmExports.GetXLogReplayRecPtr)(e); Module._TimestampDifferenceMilliseconds = (e, t2) => (Module._TimestampDifferenceMilliseconds = wasmExports.TimestampDifferenceMilliseconds)(e, t2); Module._numeric_in = (e) => (Module._numeric_in = wasmExports.numeric_in)(e); Module._DirectFunctionCall3Coll = (e, t2, r, a2, s4) => (Module._DirectFunctionCall3Coll = wasmExports.DirectFunctionCall3Coll)(e, t2, r, a2, s4); Module._XLogFindNextRecord = (e, t2) => (Module._XLogFindNextRecord = wasmExports.XLogFindNextRecord)(e, t2); Module._RestoreBlockImage = (e, t2, r) => (Module._RestoreBlockImage = wasmExports.RestoreBlockImage)(e, t2, r); Module._timestamptz_in = (e) => (Module._timestamptz_in = wasmExports.timestamptz_in)(e); Module._fscanf = (e, t2, r) => (Module._fscanf = wasmExports.fscanf)(e, t2, r); Module._XLogRecStoreStats = (e, t2) => (Module._XLogRecStoreStats = wasmExports.XLogRecStoreStats)(e, t2); Module._hash_get_num_entries = (e) => (Module._hash_get_num_entries = wasmExports.hash_get_num_entries)(e); Module._read_local_xlog_page_no_wait = (e, t2, r, a2, s4) => (Module._read_local_xlog_page_no_wait = wasmExports.read_local_xlog_page_no_wait)(e, t2, r, a2, s4); Module._escape_json = (e, t2) => (Module._escape_json = wasmExports.escape_json)(e, t2); Module._list_sort = (e, t2) => (Module._list_sort = wasmExports.list_sort)(e, t2); Module._pg_checksum_page = (e, t2) => (Module._pg_checksum_page = wasmExports.pg_checksum_page)(e, t2); Module._bbsink_forward_end_archive = (e) => (Module._bbsink_forward_end_archive = wasmExports.bbsink_forward_end_archive)(e); Module._bbsink_forward_begin_manifest = (e) => (Module._bbsink_forward_begin_manifest = wasmExports.bbsink_forward_begin_manifest)(e); Module._bbsink_forward_end_manifest = (e) => (Module._bbsink_forward_end_manifest = wasmExports.bbsink_forward_end_manifest)(e); Module._bbsink_forward_end_backup = (e, t2, r) => (Module._bbsink_forward_end_backup = wasmExports.bbsink_forward_end_backup)(e, t2, r); Module._bbsink_forward_cleanup = (e) => (Module._bbsink_forward_cleanup = wasmExports.bbsink_forward_cleanup)(e); Module._list_concat = (e, t2) => (Module._list_concat = wasmExports.list_concat)(e, t2); Module._bbsink_forward_begin_backup = (e) => (Module._bbsink_forward_begin_backup = wasmExports.bbsink_forward_begin_backup)(e); Module._bbsink_forward_archive_contents = (e, t2) => (Module._bbsink_forward_archive_contents = wasmExports.bbsink_forward_archive_contents)(e, t2); Module._bbsink_forward_begin_archive = (e, t2) => (Module._bbsink_forward_begin_archive = wasmExports.bbsink_forward_begin_archive)(e, t2); Module._bbsink_forward_manifest_contents = (e, t2) => (Module._bbsink_forward_manifest_contents = wasmExports.bbsink_forward_manifest_contents)(e, t2); Module._has_privs_of_role = (e, t2) => (Module._has_privs_of_role = wasmExports.has_privs_of_role)(e, t2); Module._BaseBackupAddTarget = (e, t2, r) => (Module._BaseBackupAddTarget = wasmExports.BaseBackupAddTarget)(e, t2, r); Module._list_copy = (e) => (Module._list_copy = wasmExports.list_copy)(e); Module._tuplestore_puttuple = (e, t2) => (Module._tuplestore_puttuple = wasmExports.tuplestore_puttuple)(e, t2); Module._makeRangeVar = (e, t2, r) => (Module._makeRangeVar = wasmExports.makeRangeVar)(e, t2, r); Module._DefineIndex = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2) => (Module._DefineIndex = wasmExports.DefineIndex)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2); Module._fread = (e, t2, r, a2) => (Module._fread = wasmExports.fread)(e, t2, r, a2); Module._clearerr = (e) => (Module._clearerr = wasmExports.clearerr)(e); Module._copyObjectImpl = (e) => (Module._copyObjectImpl = wasmExports.copyObjectImpl)(e); Module._lappend_oid = (e, t2) => (Module._lappend_oid = wasmExports.lappend_oid)(e, t2); Module._makeTypeNameFromNameList = (e) => (Module._makeTypeNameFromNameList = wasmExports.makeTypeNameFromNameList)(e); Module._CatalogTupleUpdate = (e, t2, r) => (Module._CatalogTupleUpdate = wasmExports.CatalogTupleUpdate)(e, t2, r); Module._get_rel_name = (e) => (Module._get_rel_name = wasmExports.get_rel_name)(e); Module._CatalogTupleDelete = (e, t2) => (Module._CatalogTupleDelete = wasmExports.CatalogTupleDelete)(e, t2); Module._CatalogTupleInsert = (e, t2) => (Module._CatalogTupleInsert = wasmExports.CatalogTupleInsert)(e, t2); Module._recordDependencyOn = (e, t2, r) => (Module._recordDependencyOn = wasmExports.recordDependencyOn)(e, t2, r); Module._get_element_type = (e) => (Module._get_element_type = wasmExports.get_element_type)(e); Module._object_aclcheck = (e, t2, r, a2) => (Module._object_aclcheck = wasmExports.object_aclcheck)(e, t2, r, a2); Module._superuser = () => (Module._superuser = wasmExports.superuser)(); Module._SearchSysCacheAttName = (e, t2) => (Module._SearchSysCacheAttName = wasmExports.SearchSysCacheAttName)(e, t2); Module._new_object_addresses = () => (Module._new_object_addresses = wasmExports.new_object_addresses)(); Module._free_object_addresses = (e) => (Module._free_object_addresses = wasmExports.free_object_addresses)(e); Module._performMultipleDeletions = (e, t2, r) => (Module._performMultipleDeletions = wasmExports.performMultipleDeletions)(e, t2, r); Module._recordDependencyOnExpr = (e, t2, r, a2) => (Module._recordDependencyOnExpr = wasmExports.recordDependencyOnExpr)(e, t2, r, a2); Module._query_tree_walker_impl = (e, t2, r, a2) => (Module._query_tree_walker_impl = wasmExports.query_tree_walker_impl)(e, t2, r, a2); Module._expression_tree_walker_impl = (e, t2, r) => (Module._expression_tree_walker_impl = wasmExports.expression_tree_walker_impl)(e, t2, r); Module._add_exact_object_address = (e, t2) => (Module._add_exact_object_address = wasmExports.add_exact_object_address)(e, t2); Module._get_rel_relkind = (e) => (Module._get_rel_relkind = wasmExports.get_rel_relkind)(e); Module._get_typtype = (e) => (Module._get_typtype = wasmExports.get_typtype)(e); Module._list_delete_last = (e) => (Module._list_delete_last = wasmExports.list_delete_last)(e); Module._type_is_collatable = (e) => (Module._type_is_collatable = wasmExports.type_is_collatable)(e); Module._GetSysCacheOid = (e, t2, r, a2, s4, o4) => (Module._GetSysCacheOid = wasmExports.GetSysCacheOid)(e, t2, r, a2, s4, o4); Module._CheckTableNotInUse = (e, t2) => (Module._CheckTableNotInUse = wasmExports.CheckTableNotInUse)(e, t2); Module._construct_array = (e, t2, r, a2, s4, o4) => (Module._construct_array = wasmExports.construct_array)(e, t2, r, a2, s4, o4); Module._make_parsestate = (e) => (Module._make_parsestate = wasmExports.make_parsestate)(e); Module._transformExpr = (e, t2, r) => (Module._transformExpr = wasmExports.transformExpr)(e, t2, r); Module._equal = (e, t2) => (Module._equal = wasmExports.equal)(e, t2); Module._pull_var_clause = (e, t2) => (Module._pull_var_clause = wasmExports.pull_var_clause)(e, t2); Module._get_attname = (e, t2, r) => (Module._get_attname = wasmExports.get_attname)(e, t2, r); Module._coerce_to_target_type = (e, t2, r, a2, s4, o4, n3, _3) => (Module._coerce_to_target_type = wasmExports.coerce_to_target_type)(e, t2, r, a2, s4, o4, n3, _3); Module._nodeToString = (e) => (Module._nodeToString = wasmExports.nodeToString)(e); Module._parser_errposition = (e, t2) => (Module._parser_errposition = wasmExports.parser_errposition)(e, t2); Module._exprTypmod = (e) => (Module._exprTypmod = wasmExports.exprTypmod)(e); Module._get_base_element_type = (e) => (Module._get_base_element_type = wasmExports.get_base_element_type)(e); Module._SystemFuncName = (e) => (Module._SystemFuncName = wasmExports.SystemFuncName)(e); Module._CreateTrigger = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2) => (Module._CreateTrigger = wasmExports.CreateTrigger)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2); Module._plan_create_index_workers = (e, t2) => (Module._plan_create_index_workers = wasmExports.plan_create_index_workers)(e, t2); Module._get_rel_namespace = (e) => (Module._get_rel_namespace = wasmExports.get_rel_namespace)(e); Module._ConditionalLockRelationOid = (e, t2) => (Module._ConditionalLockRelationOid = wasmExports.ConditionalLockRelationOid)(e, t2); Module._RelnameGetRelid = (e) => (Module._RelnameGetRelid = wasmExports.RelnameGetRelid)(e); Module._get_relkind_objtype = (e) => (Module._get_relkind_objtype = wasmExports.get_relkind_objtype)(e); Module._RelationIsVisible = (e) => (Module._RelationIsVisible = wasmExports.RelationIsVisible)(e); Module._get_func_arg_info = (e, t2, r, a2) => (Module._get_func_arg_info = wasmExports.get_func_arg_info)(e, t2, r, a2); Module._NameListToString = (e) => (Module._NameListToString = wasmExports.NameListToString)(e); Module._OpernameGetOprid = (e, t2, r) => (Module._OpernameGetOprid = wasmExports.OpernameGetOprid)(e, t2, r); Module._makeRangeVarFromNameList = (e) => (Module._makeRangeVarFromNameList = wasmExports.makeRangeVarFromNameList)(e); Module._quote_identifier = (e) => (Module._quote_identifier = wasmExports.quote_identifier)(e); Module._GetSearchPathMatcher = (e) => (Module._GetSearchPathMatcher = wasmExports.GetSearchPathMatcher)(e); Module._SearchPathMatchesCurrentEnvironment = (e) => (Module._SearchPathMatchesCurrentEnvironment = wasmExports.SearchPathMatchesCurrentEnvironment)(e); Module._get_collation_oid = (e, t2) => (Module._get_collation_oid = wasmExports.get_collation_oid)(e, t2); Module._CacheRegisterSyscacheCallback = (e, t2, r) => (Module._CacheRegisterSyscacheCallback = wasmExports.CacheRegisterSyscacheCallback)(e, t2, r); Module._get_extension_oid = (e, t2) => (Module._get_extension_oid = wasmExports.get_extension_oid)(e, t2); Module._get_role_oid = (e, t2) => (Module._get_role_oid = wasmExports.get_role_oid)(e, t2); Module._GetForeignServerByName = (e, t2) => (Module._GetForeignServerByName = wasmExports.GetForeignServerByName)(e, t2); Module._typeStringToTypeName = (e, t2) => (Module._typeStringToTypeName = wasmExports.typeStringToTypeName)(e, t2); Module._list_make2_impl = (e, t2, r) => (Module._list_make2_impl = wasmExports.list_make2_impl)(e, t2, r); Module._GetUserNameFromId = (e, t2) => (Module._GetUserNameFromId = wasmExports.GetUserNameFromId)(e, t2); Module._format_type_extended = (e, t2, r) => (Module._format_type_extended = wasmExports.format_type_extended)(e, t2, r); Module._quote_qualified_identifier = (e, t2) => (Module._quote_qualified_identifier = wasmExports.quote_qualified_identifier)(e, t2); Module._get_tablespace_name = (e) => (Module._get_tablespace_name = wasmExports.get_tablespace_name)(e); Module._GetForeignServerExtended = (e, t2) => (Module._GetForeignServerExtended = wasmExports.GetForeignServerExtended)(e, t2); Module._GetForeignServer = (e) => (Module._GetForeignServer = wasmExports.GetForeignServer)(e); Module._construct_empty_array = (e) => (Module._construct_empty_array = wasmExports.construct_empty_array)(e); Module._format_type_be_qualified = (e) => (Module._format_type_be_qualified = wasmExports.format_type_be_qualified)(e); Module._get_namespace_name_or_temp = (e) => (Module._get_namespace_name_or_temp = wasmExports.get_namespace_name_or_temp)(e); Module._list_make3_impl = (e, t2, r, a2) => (Module._list_make3_impl = wasmExports.list_make3_impl)(e, t2, r, a2); Module._construct_md_array = (e, t2, r, a2, s4, o4, n3, _3, l3) => (Module._construct_md_array = wasmExports.construct_md_array)(e, t2, r, a2, s4, o4, n3, _3, l3); Module._pull_varattnos = (e, t2, r) => (Module._pull_varattnos = wasmExports.pull_varattnos)(e, t2, r); Module._get_func_name = (e) => (Module._get_func_name = wasmExports.get_func_name)(e); Module._construct_array_builtin = (e, t2, r) => (Module._construct_array_builtin = wasmExports.construct_array_builtin)(e, t2, r); Module._makeObjectName = (e, t2, r) => (Module._makeObjectName = wasmExports.makeObjectName)(e, t2, r); Module._get_primary_key_attnos = (e, t2, r) => (Module._get_primary_key_attnos = wasmExports.get_primary_key_attnos)(e, t2, r); Module._bms_is_subset = (e, t2) => (Module._bms_is_subset = wasmExports.bms_is_subset)(e, t2); Module._getExtensionOfObject = (e, t2) => (Module._getExtensionOfObject = wasmExports.getExtensionOfObject)(e, t2); Module._find_inheritance_children = (e, t2) => (Module._find_inheritance_children = wasmExports.find_inheritance_children)(e, t2); Module._lappend_int = (e, t2) => (Module._lappend_int = wasmExports.lappend_int)(e, t2); Module._has_superclass = (e) => (Module._has_superclass = wasmExports.has_superclass)(e); Module._CheckFunctionValidatorAccess = (e, t2) => (Module._CheckFunctionValidatorAccess = wasmExports.CheckFunctionValidatorAccess)(e, t2); Module._AcquireRewriteLocks = (e, t2, r) => (Module._AcquireRewriteLocks = wasmExports.AcquireRewriteLocks)(e, t2, r); Module._function_parse_error_transpose = (e) => (Module._function_parse_error_transpose = wasmExports.function_parse_error_transpose)(e); Module._geterrposition = () => (Module._geterrposition = wasmExports.geterrposition)(); Module._getinternalerrposition = () => (Module._getinternalerrposition = wasmExports.getinternalerrposition)(); Module._pg_mblen = (e) => (Module._pg_mblen = wasmExports.pg_mblen)(e); Module._pg_mbstrlen_with_len = (e, t2) => (Module._pg_mbstrlen_with_len = wasmExports.pg_mbstrlen_with_len)(e, t2); Module._errposition = (e) => (Module._errposition = wasmExports.errposition)(e); Module._internalerrposition = (e) => (Module._internalerrposition = wasmExports.internalerrposition)(e); Module._internalerrquery = (e) => (Module._internalerrquery = wasmExports.internalerrquery)(e); Module._list_delete_nth_cell = (e, t2) => (Module._list_delete_nth_cell = wasmExports.list_delete_nth_cell)(e, t2); Module._get_array_type = (e) => (Module._get_array_type = wasmExports.get_array_type)(e); Module._smgrtruncate2 = (e, t2, r, a2, s4) => (Module._smgrtruncate2 = wasmExports.smgrtruncate2)(e, t2, r, a2, s4); Module._smgrreadv = (e, t2, r, a2, s4) => (Module._smgrreadv = wasmExports.smgrreadv)(e, t2, r, a2, s4); Module._NewRelationCreateToastTable = (e, t2) => (Module._NewRelationCreateToastTable = wasmExports.NewRelationCreateToastTable)(e, t2); Module._transformStmt = (e, t2) => (Module._transformStmt = wasmExports.transformStmt)(e, t2); Module._exprLocation = (e) => (Module._exprLocation = wasmExports.exprLocation)(e); Module._ParseFuncOrColumn = (e, t2, r, a2, s4, o4, n3) => (Module._ParseFuncOrColumn = wasmExports.ParseFuncOrColumn)(e, t2, r, a2, s4, o4, n3); Module._exprCollation = (e) => (Module._exprCollation = wasmExports.exprCollation)(e); Module._transformDistinctClause = (e, t2, r, a2) => (Module._transformDistinctClause = wasmExports.transformDistinctClause)(e, t2, r, a2); Module._makeTargetEntry = (e, t2, r, a2) => (Module._makeTargetEntry = wasmExports.makeTargetEntry)(e, t2, r, a2); Module._makeAlias = (e, t2) => (Module._makeAlias = wasmExports.makeAlias)(e, t2); Module._addRangeTableEntryForSubquery = (e, t2, r, a2, s4) => (Module._addRangeTableEntryForSubquery = wasmExports.addRangeTableEntryForSubquery)(e, t2, r, a2, s4); Module._makeVar = (e, t2, r, a2, s4, o4) => (Module._makeVar = wasmExports.makeVar)(e, t2, r, a2, s4, o4); Module._makeBoolean = (e) => (Module._makeBoolean = wasmExports.makeBoolean)(e); Module._makeInteger = (e) => (Module._makeInteger = wasmExports.makeInteger)(e); Module._makeTypeName = (e) => (Module._makeTypeName = wasmExports.makeTypeName)(e); Module._makeFuncCall = (e, t2, r, a2) => (Module._makeFuncCall = wasmExports.makeFuncCall)(e, t2, r, a2); Module._list_make4_impl = (e, t2, r, a2, s4) => (Module._list_make4_impl = wasmExports.list_make4_impl)(e, t2, r, a2, s4); Module._get_sortgroupclause_tle = (e, t2) => (Module._get_sortgroupclause_tle = wasmExports.get_sortgroupclause_tle)(e, t2); Module._flatten_join_alias_vars = (e, t2, r) => (Module._flatten_join_alias_vars = wasmExports.flatten_join_alias_vars)(e, t2, r); Module._list_member_int = (e, t2) => (Module._list_member_int = wasmExports.list_member_int)(e, t2); Module._addRangeTableEntryForENR = (e, t2, r) => (Module._addRangeTableEntryForENR = wasmExports.addRangeTableEntryForENR)(e, t2, r); Module._typenameTypeIdAndMod = (e, t2, r, a2) => (Module._typenameTypeIdAndMod = wasmExports.typenameTypeIdAndMod)(e, t2, r, a2); Module._get_typcollation = (e) => (Module._get_typcollation = wasmExports.get_typcollation)(e); Module._strip_implicit_coercions = (e) => (Module._strip_implicit_coercions = wasmExports.strip_implicit_coercions)(e); Module._get_sortgroupref_tle = (e, t2) => (Module._get_sortgroupref_tle = wasmExports.get_sortgroupref_tle)(e, t2); Module._contain_aggs_of_level = (e, t2) => (Module._contain_aggs_of_level = wasmExports.contain_aggs_of_level)(e, t2); Module._typeidType = (e) => (Module._typeidType = wasmExports.typeidType)(e); Module._typeTypeCollation = (e) => (Module._typeTypeCollation = wasmExports.typeTypeCollation)(e); Module._typeLen = (e) => (Module._typeLen = wasmExports.typeLen)(e); Module._typeByVal = (e) => (Module._typeByVal = wasmExports.typeByVal)(e); Module._makeConst = (e, t2, r, a2, s4, o4, n3) => (Module._makeConst = wasmExports.makeConst)(e, t2, r, a2, s4, o4, n3); Module._lookup_rowtype_tupdesc = (e, t2) => (Module._lookup_rowtype_tupdesc = wasmExports.lookup_rowtype_tupdesc)(e, t2); Module._bms_del_member = (e, t2) => (Module._bms_del_member = wasmExports.bms_del_member)(e, t2); Module._list_member = (e, t2) => (Module._list_member = wasmExports.list_member)(e, t2); Module._type_is_rowtype = (e) => (Module._type_is_rowtype = wasmExports.type_is_rowtype)(e); Module._bit_in = (e) => (Module._bit_in = wasmExports.bit_in)(e); Module._bms_union = (e, t2) => (Module._bms_union = wasmExports.bms_union)(e, t2); Module._varstr_levenshtein_less_equal = (e, t2, r, a2, s4, o4, n3, _3, l3) => (Module._varstr_levenshtein_less_equal = wasmExports.varstr_levenshtein_less_equal)(e, t2, r, a2, s4, o4, n3, _3, l3); Module._errsave_start = (e, t2) => (Module._errsave_start = wasmExports.errsave_start)(e, t2); Module._errsave_finish = (e, t2, r, a2) => (Module._errsave_finish = wasmExports.errsave_finish)(e, t2, r, a2); Module._makeColumnDef = (e, t2, r, a2) => (Module._makeColumnDef = wasmExports.makeColumnDef)(e, t2, r, a2); Module._GetDefaultOpClass = (e, t2) => (Module._GetDefaultOpClass = wasmExports.GetDefaultOpClass)(e, t2); Module._scanner_init = (e, t2, r, a2) => (Module._scanner_init = wasmExports.scanner_init)(e, t2, r, a2); Module._scanner_finish = (e) => (Module._scanner_finish = wasmExports.scanner_finish)(e); Module._core_yylex = (e, t2, r) => (Module._core_yylex = wasmExports.core_yylex)(e, t2, r); Module._isxdigit = (e) => (Module._isxdigit = wasmExports.isxdigit)(e); Module._scanner_isspace = (e) => (Module._scanner_isspace = wasmExports.scanner_isspace)(e); Module._truncate_identifier = (e, t2, r) => (Module._truncate_identifier = wasmExports.truncate_identifier)(e, t2, r); Module._pg_database_encoding_max_length = () => (Module._pg_database_encoding_max_length = wasmExports.pg_database_encoding_max_length)(); Module._namein = (e) => (Module._namein = wasmExports.namein)(e); Module._BlockSampler_Init = (e, t2, r, a2) => (Module._BlockSampler_Init = wasmExports.BlockSampler_Init)(e, t2, r, a2); Module._reservoir_init_selection_state = (e, t2) => (Module._reservoir_init_selection_state = wasmExports.reservoir_init_selection_state)(e, t2); Module._reservoir_get_next_S = (e, t2, r) => (Module._reservoir_get_next_S = wasmExports.reservoir_get_next_S)(e, t2, r); Module._sampler_random_fract = (e) => (Module._sampler_random_fract = wasmExports.sampler_random_fract)(e); Module._BlockSampler_HasMore = (e) => (Module._BlockSampler_HasMore = wasmExports.BlockSampler_HasMore)(e); Module._BlockSampler_Next = (e) => (Module._BlockSampler_Next = wasmExports.BlockSampler_Next)(e); Module._Async_Notify = (e, t2) => (Module._Async_Notify = wasmExports.Async_Notify)(e, t2); Module._RangeVarCallbackMaintainsTable = (e, t2, r, a2) => (Module._RangeVarCallbackMaintainsTable = wasmExports.RangeVarCallbackMaintainsTable)(e, t2, r, a2); Module._make_new_heap = (e, t2, r, a2, s4) => (Module._make_new_heap = wasmExports.make_new_heap)(e, t2, r, a2, s4); Module._finish_heap_swap = (e, t2, r, a2, s4, o4, n3, _3, l3) => (Module._finish_heap_swap = wasmExports.finish_heap_swap)(e, t2, r, a2, s4, o4, n3, _3, l3); Module._wasm_OpenPipeStream = (e, t2) => (Module._wasm_OpenPipeStream = wasmExports.wasm_OpenPipeStream)(e, t2); Module._ClosePipeStream = (e) => (Module._ClosePipeStream = wasmExports.ClosePipeStream)(e); Module._BeginCopyFrom = (e, t2, r, a2, s4, o4, n3, _3) => (Module._BeginCopyFrom = wasmExports.BeginCopyFrom)(e, t2, r, a2, s4, o4, n3, _3); Module._EndCopyFrom = (e) => (Module._EndCopyFrom = wasmExports.EndCopyFrom)(e); Module._ProcessCopyOptions = (e, t2, r, a2) => (Module._ProcessCopyOptions = wasmExports.ProcessCopyOptions)(e, t2, r, a2); Module._CopyFromErrorCallback = (e) => (Module._CopyFromErrorCallback = wasmExports.CopyFromErrorCallback)(e); Module._NextCopyFrom = (e, t2, r, a2) => (Module._NextCopyFrom = wasmExports.NextCopyFrom)(e, t2, r, a2); Module._ExecInitExpr = (e, t2) => (Module._ExecInitExpr = wasmExports.ExecInitExpr)(e, t2); Module._tolower = (e) => (Module._tolower = wasmExports.tolower)(e); Module._PushCopiedSnapshot = (e) => (Module._PushCopiedSnapshot = wasmExports.PushCopiedSnapshot)(e); Module._UpdateActiveSnapshotCommandId = () => (Module._UpdateActiveSnapshotCommandId = wasmExports.UpdateActiveSnapshotCommandId)(); Module._CreateQueryDesc = (e, t2, r, a2, s4, o4, n3, _3) => (Module._CreateQueryDesc = wasmExports.CreateQueryDesc)(e, t2, r, a2, s4, o4, n3, _3); Module._ExecutorStart = (e, t2) => (Module._ExecutorStart = wasmExports.ExecutorStart)(e, t2); Module._ExecutorFinish = (e) => (Module._ExecutorFinish = wasmExports.ExecutorFinish)(e); Module._ExecutorEnd = (e) => (Module._ExecutorEnd = wasmExports.ExecutorEnd)(e); Module._FreeQueryDesc = (e) => (Module._FreeQueryDesc = wasmExports.FreeQueryDesc)(e); Module._pg_server_to_any = (e, t2, r) => (Module._pg_server_to_any = wasmExports.pg_server_to_any)(e, t2, r); Module._ExecutorRun = (e, t2, r, a2) => (Module._ExecutorRun = wasmExports.ExecutorRun)(e, t2, r, a2); Module._CreateTableAsRelExists = (e) => (Module._CreateTableAsRelExists = wasmExports.CreateTableAsRelExists)(e); Module._DefineRelation = (e, t2, r, a2, s4, o4) => (Module._DefineRelation = wasmExports.DefineRelation)(e, t2, r, a2, s4, o4); Module._oidin = (e) => (Module._oidin = wasmExports.oidin)(e); Module._GetCommandTagName = (e) => (Module._GetCommandTagName = wasmExports.GetCommandTagName)(e); Module._ExplainBeginOutput = (e) => (Module._ExplainBeginOutput = wasmExports.ExplainBeginOutput)(e); Module._NewExplainState = () => (Module._NewExplainState = wasmExports.NewExplainState)(); Module._ExplainEndOutput = (e) => (Module._ExplainEndOutput = wasmExports.ExplainEndOutput)(e); Module._ExplainPrintPlan = (e, t2) => (Module._ExplainPrintPlan = wasmExports.ExplainPrintPlan)(e, t2); Module._ExplainPrintTriggers = (e, t2) => (Module._ExplainPrintTriggers = wasmExports.ExplainPrintTriggers)(e, t2); Module._ExplainPrintJITSummary = (e, t2) => (Module._ExplainPrintJITSummary = wasmExports.ExplainPrintJITSummary)(e, t2); Module._InstrEndLoop = (e) => (Module._InstrEndLoop = wasmExports.InstrEndLoop)(e); Module._ExplainPropertyInteger = (e, t2, r, a2) => (Module._ExplainPropertyInteger = wasmExports.ExplainPropertyInteger)(e, t2, r, a2); Module._ExplainQueryText = (e, t2) => (Module._ExplainQueryText = wasmExports.ExplainQueryText)(e, t2); Module._ExplainPropertyText = (e, t2, r) => (Module._ExplainPropertyText = wasmExports.ExplainPropertyText)(e, t2, r); Module._ExplainQueryParameters = (e, t2, r) => (Module._ExplainQueryParameters = wasmExports.ExplainQueryParameters)(e, t2, r); Module._get_func_namespace = (e) => (Module._get_func_namespace = wasmExports.get_func_namespace)(e); Module._get_rel_type_id = (e) => (Module._get_rel_type_id = wasmExports.get_rel_type_id)(e); Module._set_config_option = (e, t2, r, a2, s4, o4, n3, _3) => (Module._set_config_option = wasmExports.set_config_option)(e, t2, r, a2, s4, o4, n3, _3); Module._pg_any_to_server = (e, t2, r) => (Module._pg_any_to_server = wasmExports.pg_any_to_server)(e, t2, r); Module._DirectFunctionCall4Coll = (e, t2, r, a2, s4, o4) => (Module._DirectFunctionCall4Coll = wasmExports.DirectFunctionCall4Coll)(e, t2, r, a2, s4, o4); Module._list_delete_cell = (e, t2) => (Module._list_delete_cell = wasmExports.list_delete_cell)(e, t2); Module._GetForeignDataWrapper = (e) => (Module._GetForeignDataWrapper = wasmExports.GetForeignDataWrapper)(e); Module._CreateExprContext = (e) => (Module._CreateExprContext = wasmExports.CreateExprContext)(e); Module._EnsurePortalSnapshotExists = () => (Module._EnsurePortalSnapshotExists = wasmExports.EnsurePortalSnapshotExists)(); Module._CheckIndexCompatible = (e, t2, r, a2) => (Module._CheckIndexCompatible = wasmExports.CheckIndexCompatible)(e, t2, r, a2); Module._pgstat_count_truncate = (e) => (Module._pgstat_count_truncate = wasmExports.pgstat_count_truncate)(e); Module._SPI_connect = () => (Module._SPI_connect = wasmExports.SPI_connect)(); Module._SPI_exec = (e, t2) => (Module._SPI_exec = wasmExports.SPI_exec)(e, t2); Module._SPI_execute = (e, t2, r) => (Module._SPI_execute = wasmExports.SPI_execute)(e, t2, r); Module._SPI_getvalue = (e, t2, r) => (Module._SPI_getvalue = wasmExports.SPI_getvalue)(e, t2, r); Module._generate_operator_clause = (e, t2, r, a2, s4, o4) => (Module._generate_operator_clause = wasmExports.generate_operator_clause)(e, t2, r, a2, s4, o4); Module._SPI_finish = () => (Module._SPI_finish = wasmExports.SPI_finish)(); Module._CreateTransientRelDestReceiver = (e) => (Module._CreateTransientRelDestReceiver = wasmExports.CreateTransientRelDestReceiver)(e); Module._MemoryContextSetIdentifier = (e, t2) => (Module._MemoryContextSetIdentifier = wasmExports.MemoryContextSetIdentifier)(e, t2); Module._checkExprHasSubLink = (e) => (Module._checkExprHasSubLink = wasmExports.checkExprHasSubLink)(e); Module._SetTuplestoreDestReceiverParams = (e, t2, r, a2, s4, o4) => (Module._SetTuplestoreDestReceiverParams = wasmExports.SetTuplestoreDestReceiverParams)(e, t2, r, a2, s4, o4); Module._tuplestore_rescan = (e) => (Module._tuplestore_rescan = wasmExports.tuplestore_rescan)(e); Module._MemoryContextDeleteChildren = (e) => (Module._MemoryContextDeleteChildren = wasmExports.MemoryContextDeleteChildren)(e); Module._ReleaseCachedPlan = (e, t2) => (Module._ReleaseCachedPlan = wasmExports.ReleaseCachedPlan)(e, t2); Module._nextval = (e) => (Module._nextval = wasmExports.nextval)(e); Module._textToQualifiedNameList = (e) => (Module._textToQualifiedNameList = wasmExports.textToQualifiedNameList)(e); Module._tuplestore_gettupleslot = (e, t2, r, a2) => (Module._tuplestore_gettupleslot = wasmExports.tuplestore_gettupleslot)(e, t2, r, a2); Module._list_delete = (e, t2) => (Module._list_delete = wasmExports.list_delete)(e, t2); Module._tuplestore_end = (e) => (Module._tuplestore_end = wasmExports.tuplestore_end)(e); Module._quote_literal_cstr = (e) => (Module._quote_literal_cstr = wasmExports.quote_literal_cstr)(e); Module._contain_mutable_functions = (e) => (Module._contain_mutable_functions = wasmExports.contain_mutable_functions)(e); Module._ExecuteTruncateGuts = (e, t2, r, a2, s4, o4) => (Module._ExecuteTruncateGuts = wasmExports.ExecuteTruncateGuts)(e, t2, r, a2, s4, o4); Module._bms_make_singleton = (e) => (Module._bms_make_singleton = wasmExports.bms_make_singleton)(e); Module._tuplestore_puttupleslot = (e, t2) => (Module._tuplestore_puttupleslot = wasmExports.tuplestore_puttupleslot)(e, t2); Module._tuplestore_begin_heap = (e, t2, r) => (Module._tuplestore_begin_heap = wasmExports.tuplestore_begin_heap)(e, t2, r); Module._ExecForceStoreHeapTuple = (e, t2, r) => (Module._ExecForceStoreHeapTuple = wasmExports.ExecForceStoreHeapTuple)(e, t2, r); Module._strtod = (e, t2) => (Module._strtod = wasmExports.strtod)(e, t2); Module._plain_crypt_verify = (e, t2, r, a2) => (Module._plain_crypt_verify = wasmExports.plain_crypt_verify)(e, t2, r, a2); Module._ProcessConfigFile = (e) => (Module._ProcessConfigFile = wasmExports.ProcessConfigFile)(e); Module._ExecReScan = (e) => (Module._ExecReScan = wasmExports.ExecReScan)(e); Module._ExecAsyncResponse = (e) => (Module._ExecAsyncResponse = wasmExports.ExecAsyncResponse)(e); Module._ExecAsyncRequestDone = (e, t2) => (Module._ExecAsyncRequestDone = wasmExports.ExecAsyncRequestDone)(e, t2); Module._ExecAsyncRequestPending = (e) => (Module._ExecAsyncRequestPending = wasmExports.ExecAsyncRequestPending)(e); Module._ExprEvalPushStep = (e, t2) => (Module._ExprEvalPushStep = wasmExports.ExprEvalPushStep)(e, t2); Module._ExecInitExprWithParams = (e, t2) => (Module._ExecInitExprWithParams = wasmExports.ExecInitExprWithParams)(e, t2); Module._ExecInitExprList = (e, t2) => (Module._ExecInitExprList = wasmExports.ExecInitExprList)(e, t2); Module._MakeExpandedObjectReadOnlyInternal = (e) => (Module._MakeExpandedObjectReadOnlyInternal = wasmExports.MakeExpandedObjectReadOnlyInternal)(e); Module._tuplesort_puttupleslot = (e, t2) => (Module._tuplesort_puttupleslot = wasmExports.tuplesort_puttupleslot)(e, t2); Module._ArrayGetNItems = (e, t2) => (Module._ArrayGetNItems = wasmExports.ArrayGetNItems)(e, t2); Module._expanded_record_fetch_tupdesc = (e) => (Module._expanded_record_fetch_tupdesc = wasmExports.expanded_record_fetch_tupdesc)(e); Module._expanded_record_fetch_field = (e, t2, r) => (Module._expanded_record_fetch_field = wasmExports.expanded_record_fetch_field)(e, t2, r); Module._JsonbValueToJsonb = (e) => (Module._JsonbValueToJsonb = wasmExports.JsonbValueToJsonb)(e); Module._boolout = (e) => (Module._boolout = wasmExports.boolout)(e); Module._lookup_rowtype_tupdesc_domain = (e, t2, r) => (Module._lookup_rowtype_tupdesc_domain = wasmExports.lookup_rowtype_tupdesc_domain)(e, t2, r); Module._MemoryContextGetParent = (e) => (Module._MemoryContextGetParent = wasmExports.MemoryContextGetParent)(e); Module._DeleteExpandedObject = (e) => (Module._DeleteExpandedObject = wasmExports.DeleteExpandedObject)(e); Module._ExecFindJunkAttributeInTlist = (e, t2) => (Module._ExecFindJunkAttributeInTlist = wasmExports.ExecFindJunkAttributeInTlist)(e, t2); Module._standard_ExecutorStart = (e, t2) => (Module._standard_ExecutorStart = wasmExports.standard_ExecutorStart)(e, t2); Module._standard_ExecutorRun = (e, t2, r, a2) => (Module._standard_ExecutorRun = wasmExports.standard_ExecutorRun)(e, t2, r, a2); Module._standard_ExecutorFinish = (e) => (Module._standard_ExecutorFinish = wasmExports.standard_ExecutorFinish)(e); Module._standard_ExecutorEnd = (e) => (Module._standard_ExecutorEnd = wasmExports.standard_ExecutorEnd)(e); Module._InstrAlloc = (e, t2, r) => (Module._InstrAlloc = wasmExports.InstrAlloc)(e, t2, r); Module._get_typlenbyval = (e, t2, r) => (Module._get_typlenbyval = wasmExports.get_typlenbyval)(e, t2, r); Module._InputFunctionCall = (e, t2, r, a2) => (Module._InputFunctionCall = wasmExports.InputFunctionCall)(e, t2, r, a2); Module._FreeExprContext = (e, t2) => (Module._FreeExprContext = wasmExports.FreeExprContext)(e, t2); Module._ExecOpenScanRelation = (e, t2, r) => (Module._ExecOpenScanRelation = wasmExports.ExecOpenScanRelation)(e, t2, r); Module._bms_intersect = (e, t2) => (Module._bms_intersect = wasmExports.bms_intersect)(e, t2); Module._ExecGetReturningSlot = (e, t2) => (Module._ExecGetReturningSlot = wasmExports.ExecGetReturningSlot)(e, t2); Module._ExecGetResultRelCheckAsUser = (e, t2) => (Module._ExecGetResultRelCheckAsUser = wasmExports.ExecGetResultRelCheckAsUser)(e, t2); Module._get_call_expr_argtype = (e, t2) => (Module._get_call_expr_argtype = wasmExports.get_call_expr_argtype)(e, t2); Module._tuplestore_clear = (e) => (Module._tuplestore_clear = wasmExports.tuplestore_clear)(e); Module._InstrUpdateTupleCount = (e, t2) => (Module._InstrUpdateTupleCount = wasmExports.InstrUpdateTupleCount)(e, t2); Module._tuplesort_begin_heap = (e, t2, r, a2, s4, o4, n3, _3, l3) => (Module._tuplesort_begin_heap = wasmExports.tuplesort_begin_heap)(e, t2, r, a2, s4, o4, n3, _3, l3); Module._tuplesort_gettupleslot = (e, t2, r, a2, s4) => (Module._tuplesort_gettupleslot = wasmExports.tuplesort_gettupleslot)(e, t2, r, a2, s4); Module._AddWaitEventToSet = (e, t2, r, a2, s4) => (Module._AddWaitEventToSet = wasmExports.AddWaitEventToSet)(e, t2, r, a2, s4); Module._GetNumRegisteredWaitEvents = (e) => (Module._GetNumRegisteredWaitEvents = wasmExports.GetNumRegisteredWaitEvents)(e); Module._get_attstatsslot = (e, t2, r, a2, s4) => (Module._get_attstatsslot = wasmExports.get_attstatsslot)(e, t2, r, a2, s4); Module._free_attstatsslot = (e) => (Module._free_attstatsslot = wasmExports.free_attstatsslot)(e); Module._tuplesort_reset = (e) => (Module._tuplesort_reset = wasmExports.tuplesort_reset)(e); Module._pairingheap_first = (e) => (Module._pairingheap_first = wasmExports.pairingheap_first)(e); Module._bms_nonempty_difference = (e, t2) => (Module._bms_nonempty_difference = wasmExports.bms_nonempty_difference)(e, t2); Module._SPI_connect_ext = (e) => (Module._SPI_connect_ext = wasmExports.SPI_connect_ext)(e); Module._SPI_commit = () => (Module._SPI_commit = wasmExports.SPI_commit)(); Module._CopyErrorData = () => (Module._CopyErrorData = wasmExports.CopyErrorData)(); Module._ReThrowError = (e) => (Module._ReThrowError = wasmExports.ReThrowError)(e); Module._SPI_commit_and_chain = () => (Module._SPI_commit_and_chain = wasmExports.SPI_commit_and_chain)(); Module._SPI_rollback = () => (Module._SPI_rollback = wasmExports.SPI_rollback)(); Module._SPI_rollback_and_chain = () => (Module._SPI_rollback_and_chain = wasmExports.SPI_rollback_and_chain)(); Module._SPI_freetuptable = (e) => (Module._SPI_freetuptable = wasmExports.SPI_freetuptable)(e); Module._SPI_execute_extended = (e, t2) => (Module._SPI_execute_extended = wasmExports.SPI_execute_extended)(e, t2); Module._SPI_execute_plan = (e, t2, r, a2, s4) => (Module._SPI_execute_plan = wasmExports.SPI_execute_plan)(e, t2, r, a2, s4); Module._SPI_execp = (e, t2, r, a2) => (Module._SPI_execp = wasmExports.SPI_execp)(e, t2, r, a2); Module._SPI_execute_plan_extended = (e, t2) => (Module._SPI_execute_plan_extended = wasmExports.SPI_execute_plan_extended)(e, t2); Module._SPI_execute_plan_with_paramlist = (e, t2, r, a2) => (Module._SPI_execute_plan_with_paramlist = wasmExports.SPI_execute_plan_with_paramlist)(e, t2, r, a2); Module._SPI_prepare = (e, t2, r) => (Module._SPI_prepare = wasmExports.SPI_prepare)(e, t2, r); Module._SPI_prepare_extended = (e, t2) => (Module._SPI_prepare_extended = wasmExports.SPI_prepare_extended)(e, t2); Module._SPI_keepplan = (e) => (Module._SPI_keepplan = wasmExports.SPI_keepplan)(e); Module._SPI_freeplan = (e) => (Module._SPI_freeplan = wasmExports.SPI_freeplan)(e); Module._SPI_copytuple = (e) => (Module._SPI_copytuple = wasmExports.SPI_copytuple)(e); Module._SPI_returntuple = (e, t2) => (Module._SPI_returntuple = wasmExports.SPI_returntuple)(e, t2); Module._SPI_fnumber = (e, t2) => (Module._SPI_fnumber = wasmExports.SPI_fnumber)(e, t2); Module._SPI_fname = (e, t2) => (Module._SPI_fname = wasmExports.SPI_fname)(e, t2); Module._SPI_getbinval = (e, t2, r, a2) => (Module._SPI_getbinval = wasmExports.SPI_getbinval)(e, t2, r, a2); Module._SPI_gettype = (e, t2) => (Module._SPI_gettype = wasmExports.SPI_gettype)(e, t2); Module._SPI_gettypeid = (e, t2) => (Module._SPI_gettypeid = wasmExports.SPI_gettypeid)(e, t2); Module._SPI_getrelname = (e) => (Module._SPI_getrelname = wasmExports.SPI_getrelname)(e); Module._SPI_palloc = (e) => (Module._SPI_palloc = wasmExports.SPI_palloc)(e); Module._SPI_datumTransfer = (e, t2, r) => (Module._SPI_datumTransfer = wasmExports.SPI_datumTransfer)(e, t2, r); Module._datumTransfer = (e, t2, r) => (Module._datumTransfer = wasmExports.datumTransfer)(e, t2, r); Module._SPI_cursor_open_with_paramlist = (e, t2, r, a2) => (Module._SPI_cursor_open_with_paramlist = wasmExports.SPI_cursor_open_with_paramlist)(e, t2, r, a2); Module._SPI_cursor_parse_open = (e, t2, r) => (Module._SPI_cursor_parse_open = wasmExports.SPI_cursor_parse_open)(e, t2, r); Module._SPI_cursor_find = (e) => (Module._SPI_cursor_find = wasmExports.SPI_cursor_find)(e); Module._SPI_cursor_fetch = (e, t2, r) => (Module._SPI_cursor_fetch = wasmExports.SPI_cursor_fetch)(e, t2, r); Module._SPI_scroll_cursor_fetch = (e, t2, r) => (Module._SPI_scroll_cursor_fetch = wasmExports.SPI_scroll_cursor_fetch)(e, t2, r); Module._SPI_scroll_cursor_move = (e, t2, r) => (Module._SPI_scroll_cursor_move = wasmExports.SPI_scroll_cursor_move)(e, t2, r); Module._SPI_cursor_close = (e) => (Module._SPI_cursor_close = wasmExports.SPI_cursor_close)(e); Module._SPI_plan_is_valid = (e) => (Module._SPI_plan_is_valid = wasmExports.SPI_plan_is_valid)(e); Module._SPI_result_code_string = (e) => (Module._SPI_result_code_string = wasmExports.SPI_result_code_string)(e); Module._SPI_plan_get_plan_sources = (e) => (Module._SPI_plan_get_plan_sources = wasmExports.SPI_plan_get_plan_sources)(e); Module._SPI_plan_get_cached_plan = (e) => (Module._SPI_plan_get_cached_plan = wasmExports.SPI_plan_get_cached_plan)(e); Module._SPI_register_relation = (e) => (Module._SPI_register_relation = wasmExports.SPI_register_relation)(e); Module._create_queryEnv = () => (Module._create_queryEnv = wasmExports.create_queryEnv)(); Module._register_ENR = (e, t2) => (Module._register_ENR = wasmExports.register_ENR)(e, t2); Module._SPI_register_trigger_data = (e) => (Module._SPI_register_trigger_data = wasmExports.SPI_register_trigger_data)(e); Module._tuplestore_tuple_count = (e) => (Module._tuplestore_tuple_count = wasmExports.tuplestore_tuple_count)(e); Module._GetUserMapping = (e, t2) => (Module._GetUserMapping = wasmExports.GetUserMapping)(e, t2); Module._GetForeignTable = (e) => (Module._GetForeignTable = wasmExports.GetForeignTable)(e); Module._GetForeignColumnOptions = (e, t2) => (Module._GetForeignColumnOptions = wasmExports.GetForeignColumnOptions)(e, t2); Module._initClosestMatch = (e, t2, r) => (Module._initClosestMatch = wasmExports.initClosestMatch)(e, t2, r); Module._updateClosestMatch = (e, t2) => (Module._updateClosestMatch = wasmExports.updateClosestMatch)(e, t2); Module._getClosestMatch = (e) => (Module._getClosestMatch = wasmExports.getClosestMatch)(e); Module._GetExistingLocalJoinPath = (e) => (Module._GetExistingLocalJoinPath = wasmExports.GetExistingLocalJoinPath)(e); Module._bloom_create = (e, t2, r) => (Module._bloom_create = wasmExports.bloom_create)(e, t2, r); Module._bloom_free = (e) => (Module._bloom_free = wasmExports.bloom_free)(e); Module._bloom_add_element = (e, t2, r) => (Module._bloom_add_element = wasmExports.bloom_add_element)(e, t2, r); Module._bloom_lacks_element = (e, t2, r) => (Module._bloom_lacks_element = wasmExports.bloom_lacks_element)(e, t2, r); Module._bloom_prop_bits_set = (e) => (Module._bloom_prop_bits_set = wasmExports.bloom_prop_bits_set)(e); Module._socket = (e, t2, r) => (Module._socket = wasmExports.socket)(e, t2, r); Module._connect = (e, t2, r) => (Module._connect = wasmExports.connect)(e, t2, r); Module._send = (e, t2, r, a2) => (Module._send = wasmExports.send)(e, t2, r, a2); Module._recv = (e, t2, r, a2) => (Module._recv = wasmExports.recv)(e, t2, r, a2); Module._be_lo_unlink = (e) => (Module._be_lo_unlink = wasmExports.be_lo_unlink)(e); Module._set_read_write_cbs = (e, t2) => (Module._set_read_write_cbs = wasmExports.set_read_write_cbs)(e, t2); Module._setsockopt = (e, t2, r, a2, s4) => (Module._setsockopt = wasmExports.setsockopt)(e, t2, r, a2, s4); Module._getsockopt = (e, t2, r, a2, s4) => (Module._getsockopt = wasmExports.getsockopt)(e, t2, r, a2, s4); Module._getsockname = (e, t2, r) => (Module._getsockname = wasmExports.getsockname)(e, t2, r); Module._poll = (e, t2, r) => (Module._poll = wasmExports.poll)(e, t2, r); Module._pg_mb2wchar_with_len = (e, t2, r) => (Module._pg_mb2wchar_with_len = wasmExports.pg_mb2wchar_with_len)(e, t2, r); Module._pg_regcomp = (e, t2, r, a2, s4) => (Module._pg_regcomp = wasmExports.pg_regcomp)(e, t2, r, a2, s4); Module._pg_regerror = (e, t2, r, a2) => (Module._pg_regerror = wasmExports.pg_regerror)(e, t2, r, a2); Module._strcat = (e, t2) => (Module._strcat = wasmExports.strcat)(e, t2); Module._pq_sendtext = (e, t2, r) => (Module._pq_sendtext = wasmExports.pq_sendtext)(e, t2, r); Module._pq_sendfloat4 = (e, t2) => (Module._pq_sendfloat4 = wasmExports.pq_sendfloat4)(e, t2); Module._pq_sendfloat8 = (e, t2) => (Module._pq_sendfloat8 = wasmExports.pq_sendfloat8)(e, t2); Module._pq_begintypsend = (e) => (Module._pq_begintypsend = wasmExports.pq_begintypsend)(e); Module._pq_endtypsend = (e) => (Module._pq_endtypsend = wasmExports.pq_endtypsend)(e); Module._pq_getmsgfloat4 = (e) => (Module._pq_getmsgfloat4 = wasmExports.pq_getmsgfloat4)(e); Module._pq_getmsgfloat8 = (e) => (Module._pq_getmsgfloat8 = wasmExports.pq_getmsgfloat8)(e); Module._pq_getmsgtext = (e, t2, r) => (Module._pq_getmsgtext = wasmExports.pq_getmsgtext)(e, t2, r); Module._pg_strtoint32 = (e) => (Module._pg_strtoint32 = wasmExports.pg_strtoint32)(e); Module._bms_membership = (e) => (Module._bms_membership = wasmExports.bms_membership)(e); Module._list_make5_impl = (e, t2, r, a2, s4, o4) => (Module._list_make5_impl = wasmExports.list_make5_impl)(e, t2, r, a2, s4, o4); Module._list_insert_nth = (e, t2, r) => (Module._list_insert_nth = wasmExports.list_insert_nth)(e, t2, r); Module._list_member_ptr = (e, t2) => (Module._list_member_ptr = wasmExports.list_member_ptr)(e, t2); Module._list_append_unique_ptr = (e, t2) => (Module._list_append_unique_ptr = wasmExports.list_append_unique_ptr)(e, t2); Module._make_opclause = (e, t2, r, a2, s4, o4, n3) => (Module._make_opclause = wasmExports.make_opclause)(e, t2, r, a2, s4, o4, n3); Module._exprIsLengthCoercion = (e, t2) => (Module._exprIsLengthCoercion = wasmExports.exprIsLengthCoercion)(e, t2); Module._fix_opfuncids = (e) => (Module._fix_opfuncids = wasmExports.fix_opfuncids)(e); Module._CleanQuerytext = (e, t2, r) => (Module._CleanQuerytext = wasmExports.CleanQuerytext)(e, t2, r); Module._EnableQueryId = () => (Module._EnableQueryId = wasmExports.EnableQueryId)(); Module._find_base_rel = (e, t2) => (Module._find_base_rel = wasmExports.find_base_rel)(e, t2); Module._add_path = (e, t2) => (Module._add_path = wasmExports.add_path)(e, t2); Module._pathkeys_contained_in = (e, t2) => (Module._pathkeys_contained_in = wasmExports.pathkeys_contained_in)(e, t2); Module._create_sort_path = (e, t2, r, a2, s4) => (Module._create_sort_path = wasmExports.create_sort_path)(e, t2, r, a2, s4); Module._set_baserel_size_estimates = (e, t2) => (Module._set_baserel_size_estimates = wasmExports.set_baserel_size_estimates)(e, t2); Module._clauselist_selectivity = (e, t2, r, a2, s4) => (Module._clauselist_selectivity = wasmExports.clauselist_selectivity)(e, t2, r, a2, s4); Module._get_tablespace_page_costs = (e, t2, r) => (Module._get_tablespace_page_costs = wasmExports.get_tablespace_page_costs)(e, t2, r); Module._cost_qual_eval = (e, t2, r) => (Module._cost_qual_eval = wasmExports.cost_qual_eval)(e, t2, r); Module._estimate_num_groups = (e, t2, r, a2, s4) => (Module._estimate_num_groups = wasmExports.estimate_num_groups)(e, t2, r, a2, s4); Module._cost_sort = (e, t2, r, a2, s4, o4, n3, _3, l3) => (Module._cost_sort = wasmExports.cost_sort)(e, t2, r, a2, s4, o4, n3, _3, l3); Module._get_sortgrouplist_exprs = (e, t2) => (Module._get_sortgrouplist_exprs = wasmExports.get_sortgrouplist_exprs)(e, t2); Module._make_restrictinfo = (e, t2, r, a2, s4, o4, n3, _3, l3, p4) => (Module._make_restrictinfo = wasmExports.make_restrictinfo)(e, t2, r, a2, s4, o4, n3, _3, l3, p4); Module._generate_implied_equalities_for_column = (e, t2, r, a2, s4) => (Module._generate_implied_equalities_for_column = wasmExports.generate_implied_equalities_for_column)(e, t2, r, a2, s4); Module._eclass_useful_for_merging = (e, t2, r) => (Module._eclass_useful_for_merging = wasmExports.eclass_useful_for_merging)(e, t2, r); Module._join_clause_is_movable_to = (e, t2) => (Module._join_clause_is_movable_to = wasmExports.join_clause_is_movable_to)(e, t2); Module._get_plan_rowmark = (e, t2) => (Module._get_plan_rowmark = wasmExports.get_plan_rowmark)(e, t2); Module._update_mergeclause_eclasses = (e, t2) => (Module._update_mergeclause_eclasses = wasmExports.update_mergeclause_eclasses)(e, t2); Module._find_join_rel = (e, t2) => (Module._find_join_rel = wasmExports.find_join_rel)(e, t2); Module._make_canonical_pathkey = (e, t2, r, a2, s4) => (Module._make_canonical_pathkey = wasmExports.make_canonical_pathkey)(e, t2, r, a2, s4); Module._get_sortgroupref_clause_noerr = (e, t2) => (Module._get_sortgroupref_clause_noerr = wasmExports.get_sortgroupref_clause_noerr)(e, t2); Module._extract_actual_clauses = (e, t2) => (Module._extract_actual_clauses = wasmExports.extract_actual_clauses)(e, t2); Module._change_plan_targetlist = (e, t2, r) => (Module._change_plan_targetlist = wasmExports.change_plan_targetlist)(e, t2, r); Module._make_foreignscan = (e, t2, r, a2, s4, o4, n3, _3) => (Module._make_foreignscan = wasmExports.make_foreignscan)(e, t2, r, a2, s4, o4, n3, _3); Module._tlist_member = (e, t2) => (Module._tlist_member = wasmExports.tlist_member)(e, t2); Module._pull_vars_of_level = (e, t2) => (Module._pull_vars_of_level = wasmExports.pull_vars_of_level)(e, t2); Module._IncrementVarSublevelsUp = (e, t2, r) => (Module._IncrementVarSublevelsUp = wasmExports.IncrementVarSublevelsUp)(e, t2, r); Module._standard_planner = (e, t2, r, a2) => (Module._standard_planner = wasmExports.standard_planner)(e, t2, r, a2); Module._get_relids_in_jointree = (e, t2, r) => (Module._get_relids_in_jointree = wasmExports.get_relids_in_jointree)(e, t2, r); Module._add_new_columns_to_pathtarget = (e, t2) => (Module._add_new_columns_to_pathtarget = wasmExports.add_new_columns_to_pathtarget)(e, t2); Module._get_agg_clause_costs = (e, t2, r) => (Module._get_agg_clause_costs = wasmExports.get_agg_clause_costs)(e, t2, r); Module._grouping_is_sortable = (e) => (Module._grouping_is_sortable = wasmExports.grouping_is_sortable)(e); Module._copy_pathtarget = (e) => (Module._copy_pathtarget = wasmExports.copy_pathtarget)(e); Module._create_projection_path = (e, t2, r, a2) => (Module._create_projection_path = wasmExports.create_projection_path)(e, t2, r, a2); Module._GetSysCacheHashValue = (e, t2, r, a2, s4) => (Module._GetSysCacheHashValue = wasmExports.GetSysCacheHashValue)(e, t2, r, a2, s4); Module._get_translated_update_targetlist = (e, t2, r, a2) => (Module._get_translated_update_targetlist = wasmExports.get_translated_update_targetlist)(e, t2, r, a2); Module._add_row_identity_var = (e, t2, r, a2) => (Module._add_row_identity_var = wasmExports.add_row_identity_var)(e, t2, r, a2); Module._get_rel_all_updated_cols = (e, t2) => (Module._get_rel_all_updated_cols = wasmExports.get_rel_all_updated_cols)(e, t2); Module._get_baserel_parampathinfo = (e, t2, r) => (Module._get_baserel_parampathinfo = wasmExports.get_baserel_parampathinfo)(e, t2, r); Module._create_foreignscan_path = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4) => (Module._create_foreignscan_path = wasmExports.create_foreignscan_path)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4); Module._create_foreign_join_path = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4) => (Module._create_foreign_join_path = wasmExports.create_foreign_join_path)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4); Module._create_foreign_upper_path = (e, t2, r, a2, s4, o4, n3, _3, l3, p4) => (Module._create_foreign_upper_path = wasmExports.create_foreign_upper_path)(e, t2, r, a2, s4, o4, n3, _3, l3, p4); Module._adjust_limit_rows_costs = (e, t2, r, a2, s4) => (Module._adjust_limit_rows_costs = wasmExports.adjust_limit_rows_costs)(e, t2, r, a2, s4); Module._add_to_flat_tlist = (e, t2) => (Module._add_to_flat_tlist = wasmExports.add_to_flat_tlist)(e, t2); Module._get_fn_expr_argtype = (e, t2) => (Module._get_fn_expr_argtype = wasmExports.get_fn_expr_argtype)(e, t2); Module._on_shmem_exit = (e, t2) => (Module._on_shmem_exit = wasmExports.on_shmem_exit)(e, t2); Module._SignalHandlerForConfigReload = (e) => (Module._SignalHandlerForConfigReload = wasmExports.SignalHandlerForConfigReload)(e); Module._SignalHandlerForShutdownRequest = (e) => (Module._SignalHandlerForShutdownRequest = wasmExports.SignalHandlerForShutdownRequest)(e); Module._procsignal_sigusr1_handler = (e) => (Module._procsignal_sigusr1_handler = wasmExports.procsignal_sigusr1_handler)(e); Module._RegisterBackgroundWorker = (e) => (Module._RegisterBackgroundWorker = wasmExports.RegisterBackgroundWorker)(e); Module._WaitForBackgroundWorkerStartup = (e, t2) => (Module._WaitForBackgroundWorkerStartup = wasmExports.WaitForBackgroundWorkerStartup)(e, t2); Module._GetConfigOption = (e, t2, r) => (Module._GetConfigOption = wasmExports.GetConfigOption)(e, t2, r); Module._toupper = (e) => (Module._toupper = wasmExports.toupper)(e); Module._pg_reg_getinitialstate = (e) => (Module._pg_reg_getinitialstate = wasmExports.pg_reg_getinitialstate)(e); Module._pg_reg_getfinalstate = (e) => (Module._pg_reg_getfinalstate = wasmExports.pg_reg_getfinalstate)(e); Module._pg_reg_getnumoutarcs = (e, t2) => (Module._pg_reg_getnumoutarcs = wasmExports.pg_reg_getnumoutarcs)(e, t2); Module._pg_reg_getoutarcs = (e, t2, r, a2) => (Module._pg_reg_getoutarcs = wasmExports.pg_reg_getoutarcs)(e, t2, r, a2); Module._pg_reg_getnumcolors = (e) => (Module._pg_reg_getnumcolors = wasmExports.pg_reg_getnumcolors)(e); Module._pg_reg_colorisbegin = (e, t2) => (Module._pg_reg_colorisbegin = wasmExports.pg_reg_colorisbegin)(e, t2); Module._pg_reg_colorisend = (e, t2) => (Module._pg_reg_colorisend = wasmExports.pg_reg_colorisend)(e, t2); Module._pg_reg_getnumcharacters = (e, t2) => (Module._pg_reg_getnumcharacters = wasmExports.pg_reg_getnumcharacters)(e, t2); Module._pg_reg_getcharacters = (e, t2, r, a2) => (Module._pg_reg_getcharacters = wasmExports.pg_reg_getcharacters)(e, t2, r, a2); Module._OutputPluginPrepareWrite = (e, t2) => (Module._OutputPluginPrepareWrite = wasmExports.OutputPluginPrepareWrite)(e, t2); Module._OutputPluginWrite = (e, t2) => (Module._OutputPluginWrite = wasmExports.OutputPluginWrite)(e, t2); Module._array_contains_nulls = (e) => (Module._array_contains_nulls = wasmExports.array_contains_nulls)(e); Module._hash_seq_term = (e) => (Module._hash_seq_term = wasmExports.hash_seq_term)(e); Module._FreeErrorData = (e) => (Module._FreeErrorData = wasmExports.FreeErrorData)(e); Module._RelidByRelfilenumber = (e, t2) => (Module._RelidByRelfilenumber = wasmExports.RelidByRelfilenumber)(e, t2); Module._WaitLatchOrSocket = (e, t2, r, a2, s4) => (Module._WaitLatchOrSocket = wasmExports.WaitLatchOrSocket)(e, t2, r, a2, s4); Module._get_row_security_policies = (e, t2, r, a2, s4, o4, n3) => (Module._get_row_security_policies = wasmExports.get_row_security_policies)(e, t2, r, a2, s4, o4, n3); Module._hash_estimate_size = (e, t2) => (Module._hash_estimate_size = wasmExports.hash_estimate_size)(e, t2); Module._ShmemInitHash = (e, t2, r, a2, s4) => (Module._ShmemInitHash = wasmExports.ShmemInitHash)(e, t2, r, a2, s4); Module._LockBufHdr = (e) => (Module._LockBufHdr = wasmExports.LockBufHdr)(e); Module._EvictUnpinnedBuffer = (e) => (Module._EvictUnpinnedBuffer = wasmExports.EvictUnpinnedBuffer)(e); Module._have_free_buffer = () => (Module._have_free_buffer = wasmExports.have_free_buffer)(); Module._copy_file = (e, t2) => (Module._copy_file = wasmExports.copy_file)(e, t2); Module._AcquireExternalFD = () => (Module._AcquireExternalFD = wasmExports.AcquireExternalFD)(); Module._GetNamedDSMSegment = (e, t2, r, a2) => (Module._GetNamedDSMSegment = wasmExports.GetNamedDSMSegment)(e, t2, r, a2); Module._RequestAddinShmemSpace = (e) => (Module._RequestAddinShmemSpace = wasmExports.RequestAddinShmemSpace)(e); Module._GetRunningTransactionData = () => (Module._GetRunningTransactionData = wasmExports.GetRunningTransactionData)(); Module._BackendXidGetPid = (e) => (Module._BackendXidGetPid = wasmExports.BackendXidGetPid)(e); Module._LWLockRegisterTranche = (e, t2) => (Module._LWLockRegisterTranche = wasmExports.LWLockRegisterTranche)(e, t2); Module._GetNamedLWLockTranche = (e) => (Module._GetNamedLWLockTranche = wasmExports.GetNamedLWLockTranche)(e); Module._LWLockNewTrancheId = () => (Module._LWLockNewTrancheId = wasmExports.LWLockNewTrancheId)(); Module._RequestNamedLWLockTranche = (e, t2) => (Module._RequestNamedLWLockTranche = wasmExports.RequestNamedLWLockTranche)(e, t2); Module._standard_ProcessUtility = (e, t2, r, a2, s4, o4, n3, _3) => (Module._standard_ProcessUtility = wasmExports.standard_ProcessUtility)(e, t2, r, a2, s4, o4, n3, _3); Module._lookup_ts_dictionary_cache = (e) => (Module._lookup_ts_dictionary_cache = wasmExports.lookup_ts_dictionary_cache)(e); Module._get_tsearch_config_filename = (e, t2) => (Module._get_tsearch_config_filename = wasmExports.get_tsearch_config_filename)(e, t2); Module._lowerstr = (e) => (Module._lowerstr = wasmExports.lowerstr)(e); Module._readstoplist = (e, t2, r) => (Module._readstoplist = wasmExports.readstoplist)(e, t2, r); Module._lowerstr_with_len = (e, t2) => (Module._lowerstr_with_len = wasmExports.lowerstr_with_len)(e, t2); Module._searchstoplist = (e, t2) => (Module._searchstoplist = wasmExports.searchstoplist)(e, t2); Module._tsearch_readline_begin = (e, t2) => (Module._tsearch_readline_begin = wasmExports.tsearch_readline_begin)(e, t2); Module._tsearch_readline = (e) => (Module._tsearch_readline = wasmExports.tsearch_readline)(e); Module._t_isspace = (e) => (Module._t_isspace = wasmExports.t_isspace)(e); Module._tsearch_readline_end = (e) => (Module._tsearch_readline_end = wasmExports.tsearch_readline_end)(e); Module._stringToQualifiedNameList = (e, t2) => (Module._stringToQualifiedNameList = wasmExports.stringToQualifiedNameList)(e, t2); Module._t_isdigit = (e) => (Module._t_isdigit = wasmExports.t_isdigit)(e); Module._t_isalnum = (e) => (Module._t_isalnum = wasmExports.t_isalnum)(e); Module._get_restriction_variable = (e, t2, r, a2, s4, o4) => (Module._get_restriction_variable = wasmExports.get_restriction_variable)(e, t2, r, a2, s4, o4); Module._MemoryContextAllocHuge = (e, t2) => (Module._MemoryContextAllocHuge = wasmExports.MemoryContextAllocHuge)(e, t2); Module._WaitEventExtensionNew = (e) => (Module._WaitEventExtensionNew = wasmExports.WaitEventExtensionNew)(e); Module._expand_array = (e, t2, r) => (Module._expand_array = wasmExports.expand_array)(e, t2, r); Module._arraycontsel = (e) => (Module._arraycontsel = wasmExports.arraycontsel)(e); Module._arraycontjoinsel = (e) => (Module._arraycontjoinsel = wasmExports.arraycontjoinsel)(e); Module._initArrayResult = (e, t2, r) => (Module._initArrayResult = wasmExports.initArrayResult)(e, t2, r); Module._array_create_iterator = (e, t2, r) => (Module._array_create_iterator = wasmExports.array_create_iterator)(e, t2, r); Module._array_iterate = (e, t2, r) => (Module._array_iterate = wasmExports.array_iterate)(e, t2, r); Module._ArrayGetIntegerTypmods = (e, t2) => (Module._ArrayGetIntegerTypmods = wasmExports.ArrayGetIntegerTypmods)(e, t2); Module._boolin = (e) => (Module._boolin = wasmExports.boolin)(e); Module._cash_cmp = (e) => (Module._cash_cmp = wasmExports.cash_cmp)(e); Module._int64_to_numeric = (e) => (Module._int64_to_numeric = wasmExports.int64_to_numeric)(e); Module._numeric_div = (e) => (Module._numeric_div = wasmExports.numeric_div)(e); Module._date_eq = (e) => (Module._date_eq = wasmExports.date_eq)(e); Module._date_lt = (e) => (Module._date_lt = wasmExports.date_lt)(e); Module._date_le = (e) => (Module._date_le = wasmExports.date_le)(e); Module._date_gt = (e) => (Module._date_gt = wasmExports.date_gt)(e); Module._date_ge = (e) => (Module._date_ge = wasmExports.date_ge)(e); Module._date_cmp = (e) => (Module._date_cmp = wasmExports.date_cmp)(e); Module._date_mi = (e) => (Module._date_mi = wasmExports.date_mi)(e); Module._time_eq = (e) => (Module._time_eq = wasmExports.time_eq)(e); Module._time_lt = (e) => (Module._time_lt = wasmExports.time_lt)(e); Module._time_le = (e) => (Module._time_le = wasmExports.time_le)(e); Module._time_gt = (e) => (Module._time_gt = wasmExports.time_gt)(e); Module._time_ge = (e) => (Module._time_ge = wasmExports.time_ge)(e); Module._time_cmp = (e) => (Module._time_cmp = wasmExports.time_cmp)(e); Module._time_mi_time = (e) => (Module._time_mi_time = wasmExports.time_mi_time)(e); Module._timetz_cmp = (e) => (Module._timetz_cmp = wasmExports.timetz_cmp)(e); Module._TransferExpandedObject = (e, t2) => (Module._TransferExpandedObject = wasmExports.TransferExpandedObject)(e, t2); Module._numeric_lt = (e) => (Module._numeric_lt = wasmExports.numeric_lt)(e); Module._numeric_ge = (e) => (Module._numeric_ge = wasmExports.numeric_ge)(e); Module._err_generic_string = (e, t2) => (Module._err_generic_string = wasmExports.err_generic_string)(e, t2); Module._domain_check = (e, t2, r, a2, s4) => (Module._domain_check = wasmExports.domain_check)(e, t2, r, a2, s4); Module._enum_lt = (e) => (Module._enum_lt = wasmExports.enum_lt)(e); Module._enum_le = (e) => (Module._enum_le = wasmExports.enum_le)(e); Module._enum_ge = (e) => (Module._enum_ge = wasmExports.enum_ge)(e); Module._enum_gt = (e) => (Module._enum_gt = wasmExports.enum_gt)(e); Module._enum_cmp = (e) => (Module._enum_cmp = wasmExports.enum_cmp)(e); Module._make_expanded_record_from_typeid = (e, t2, r) => (Module._make_expanded_record_from_typeid = wasmExports.make_expanded_record_from_typeid)(e, t2, r); Module._make_expanded_record_from_tupdesc = (e, t2) => (Module._make_expanded_record_from_tupdesc = wasmExports.make_expanded_record_from_tupdesc)(e, t2); Module._make_expanded_record_from_exprecord = (e, t2) => (Module._make_expanded_record_from_exprecord = wasmExports.make_expanded_record_from_exprecord)(e, t2); Module._expanded_record_set_tuple = (e, t2, r, a2) => (Module._expanded_record_set_tuple = wasmExports.expanded_record_set_tuple)(e, t2, r, a2); Module._expanded_record_get_tuple = (e) => (Module._expanded_record_get_tuple = wasmExports.expanded_record_get_tuple)(e); Module._deconstruct_expanded_record = (e) => (Module._deconstruct_expanded_record = wasmExports.deconstruct_expanded_record)(e); Module._expanded_record_lookup_field = (e, t2, r) => (Module._expanded_record_lookup_field = wasmExports.expanded_record_lookup_field)(e, t2, r); Module._expanded_record_set_field_internal = (e, t2, r, a2, s4, o4) => (Module._expanded_record_set_field_internal = wasmExports.expanded_record_set_field_internal)(e, t2, r, a2, s4, o4); Module._expanded_record_set_fields = (e, t2, r, a2) => (Module._expanded_record_set_fields = wasmExports.expanded_record_set_fields)(e, t2, r, a2); Module._float4in_internal = (e, t2, r, a2, s4) => (Module._float4in_internal = wasmExports.float4in_internal)(e, t2, r, a2, s4); Module._strtof = (e, t2) => (Module._strtof = wasmExports.strtof)(e, t2); Module._float8in_internal = (e, t2, r, a2, s4) => (Module._float8in_internal = wasmExports.float8in_internal)(e, t2, r, a2, s4); Module._float8out_internal = (e) => (Module._float8out_internal = wasmExports.float8out_internal)(e); Module._btfloat4cmp = (e) => (Module._btfloat4cmp = wasmExports.btfloat4cmp)(e); Module._btfloat8cmp = (e) => (Module._btfloat8cmp = wasmExports.btfloat8cmp)(e); Module._acos = (e) => (Module._acos = wasmExports.acos)(e); Module._asin = (e) => (Module._asin = wasmExports.asin)(e); Module._cos = (e) => (Module._cos = wasmExports.cos)(e); Module._str_tolower = (e, t2, r) => (Module._str_tolower = wasmExports.str_tolower)(e, t2, r); Module._pushJsonbValue = (e, t2, r) => (Module._pushJsonbValue = wasmExports.pushJsonbValue)(e, t2, r); Module._numeric_float4 = (e) => (Module._numeric_float4 = wasmExports.numeric_float4)(e); Module._numeric_cmp = (e) => (Module._numeric_cmp = wasmExports.numeric_cmp)(e); Module._numeric_eq = (e) => (Module._numeric_eq = wasmExports.numeric_eq)(e); Module._numeric_is_nan = (e) => (Module._numeric_is_nan = wasmExports.numeric_is_nan)(e); Module._timestamp_cmp = (e) => (Module._timestamp_cmp = wasmExports.timestamp_cmp)(e); Module._macaddr_cmp = (e) => (Module._macaddr_cmp = wasmExports.macaddr_cmp)(e); Module._macaddr_lt = (e) => (Module._macaddr_lt = wasmExports.macaddr_lt)(e); Module._macaddr_le = (e) => (Module._macaddr_le = wasmExports.macaddr_le)(e); Module._macaddr_eq = (e) => (Module._macaddr_eq = wasmExports.macaddr_eq)(e); Module._macaddr_ge = (e) => (Module._macaddr_ge = wasmExports.macaddr_ge)(e); Module._macaddr_gt = (e) => (Module._macaddr_gt = wasmExports.macaddr_gt)(e); Module._macaddr8_cmp = (e) => (Module._macaddr8_cmp = wasmExports.macaddr8_cmp)(e); Module._macaddr8_lt = (e) => (Module._macaddr8_lt = wasmExports.macaddr8_lt)(e); Module._macaddr8_le = (e) => (Module._macaddr8_le = wasmExports.macaddr8_le)(e); Module._macaddr8_eq = (e) => (Module._macaddr8_eq = wasmExports.macaddr8_eq)(e); Module._macaddr8_ge = (e) => (Module._macaddr8_ge = wasmExports.macaddr8_ge)(e); Module._macaddr8_gt = (e) => (Module._macaddr8_gt = wasmExports.macaddr8_gt)(e); Module._current_query = (e) => (Module._current_query = wasmExports.current_query)(e); Module._unpack_sql_state = (e) => (Module._unpack_sql_state = wasmExports.unpack_sql_state)(e); Module._get_fn_expr_rettype = (e) => (Module._get_fn_expr_rettype = wasmExports.get_fn_expr_rettype)(e); Module._btnamecmp = (e) => (Module._btnamecmp = wasmExports.btnamecmp)(e); Module._inet_in = (e) => (Module._inet_in = wasmExports.inet_in)(e); Module._network_cmp = (e) => (Module._network_cmp = wasmExports.network_cmp)(e); Module._convert_network_to_scalar = (e, t2, r) => (Module._convert_network_to_scalar = wasmExports.convert_network_to_scalar)(e, t2, r); Module._numeric_gt = (e) => (Module._numeric_gt = wasmExports.numeric_gt)(e); Module._numeric_le = (e) => (Module._numeric_le = wasmExports.numeric_le)(e); Module._numeric_float8_no_overflow = (e) => (Module._numeric_float8_no_overflow = wasmExports.numeric_float8_no_overflow)(e); Module._oidout = (e) => (Module._oidout = wasmExports.oidout)(e); Module._interval_mi = (e) => (Module._interval_mi = wasmExports.interval_mi)(e); Module._quote_ident = (e) => (Module._quote_ident = wasmExports.quote_ident)(e); Module._pg_wchar2mb_with_len = (e, t2, r) => (Module._pg_wchar2mb_with_len = wasmExports.pg_wchar2mb_with_len)(e, t2, r); Module._pg_get_indexdef_columns_extended = (e, t2) => (Module._pg_get_indexdef_columns_extended = wasmExports.pg_get_indexdef_columns_extended)(e, t2); Module._pg_get_querydef = (e, t2) => (Module._pg_get_querydef = wasmExports.pg_get_querydef)(e, t2); Module._strcspn = (e, t2) => (Module._strcspn = wasmExports.strcspn)(e, t2); Module._generic_restriction_selectivity = (e, t2, r, a2, s4, o4) => (Module._generic_restriction_selectivity = wasmExports.generic_restriction_selectivity)(e, t2, r, a2, s4, o4); Module._genericcostestimate = (e, t2, r, a2) => (Module._genericcostestimate = wasmExports.genericcostestimate)(e, t2, r, a2); Module._tidin = (e) => (Module._tidin = wasmExports.tidin)(e); Module._tidout = (e) => (Module._tidout = wasmExports.tidout)(e); Module._timestamp_in = (e) => (Module._timestamp_in = wasmExports.timestamp_in)(e); Module._timestamp_eq = (e) => (Module._timestamp_eq = wasmExports.timestamp_eq)(e); Module._timestamp_lt = (e) => (Module._timestamp_lt = wasmExports.timestamp_lt)(e); Module._timestamp_gt = (e) => (Module._timestamp_gt = wasmExports.timestamp_gt)(e); Module._timestamp_le = (e) => (Module._timestamp_le = wasmExports.timestamp_le)(e); Module._timestamp_ge = (e) => (Module._timestamp_ge = wasmExports.timestamp_ge)(e); Module._interval_eq = (e) => (Module._interval_eq = wasmExports.interval_eq)(e); Module._interval_lt = (e) => (Module._interval_lt = wasmExports.interval_lt)(e); Module._interval_gt = (e) => (Module._interval_gt = wasmExports.interval_gt)(e); Module._interval_le = (e) => (Module._interval_le = wasmExports.interval_le)(e); Module._interval_ge = (e) => (Module._interval_ge = wasmExports.interval_ge)(e); Module._interval_cmp = (e) => (Module._interval_cmp = wasmExports.interval_cmp)(e); Module._timestamp_mi = (e) => (Module._timestamp_mi = wasmExports.timestamp_mi)(e); Module._interval_um = (e) => (Module._interval_um = wasmExports.interval_um)(e); Module._has_fn_opclass_options = (e) => (Module._has_fn_opclass_options = wasmExports.has_fn_opclass_options)(e); Module._uuid_in = (e) => (Module._uuid_in = wasmExports.uuid_in)(e); Module._uuid_out = (e) => (Module._uuid_out = wasmExports.uuid_out)(e); Module._uuid_cmp = (e) => (Module._uuid_cmp = wasmExports.uuid_cmp)(e); Module._varbit_in = (e) => (Module._varbit_in = wasmExports.varbit_in)(e); Module._biteq = (e) => (Module._biteq = wasmExports.biteq)(e); Module._bitlt = (e) => (Module._bitlt = wasmExports.bitlt)(e); Module._bitle = (e) => (Module._bitle = wasmExports.bitle)(e); Module._bitgt = (e) => (Module._bitgt = wasmExports.bitgt)(e); Module._bitge = (e) => (Module._bitge = wasmExports.bitge)(e); Module._bitcmp = (e) => (Module._bitcmp = wasmExports.bitcmp)(e); Module._bpchareq = (e) => (Module._bpchareq = wasmExports.bpchareq)(e); Module._bpcharlt = (e) => (Module._bpcharlt = wasmExports.bpcharlt)(e); Module._bpcharle = (e) => (Module._bpcharle = wasmExports.bpcharle)(e); Module._bpchargt = (e) => (Module._bpchargt = wasmExports.bpchargt)(e); Module._bpcharge = (e) => (Module._bpcharge = wasmExports.bpcharge)(e); Module._bpcharcmp = (e) => (Module._bpcharcmp = wasmExports.bpcharcmp)(e); Module._texteq = (e) => (Module._texteq = wasmExports.texteq)(e); Module._text_lt = (e) => (Module._text_lt = wasmExports.text_lt)(e); Module._text_le = (e) => (Module._text_le = wasmExports.text_le)(e); Module._text_gt = (e) => (Module._text_gt = wasmExports.text_gt)(e); Module._text_ge = (e) => (Module._text_ge = wasmExports.text_ge)(e); Module._bttextcmp = (e) => (Module._bttextcmp = wasmExports.bttextcmp)(e); Module._byteaeq = (e) => (Module._byteaeq = wasmExports.byteaeq)(e); Module._bytealt = (e) => (Module._bytealt = wasmExports.bytealt)(e); Module._byteale = (e) => (Module._byteale = wasmExports.byteale)(e); Module._byteagt = (e) => (Module._byteagt = wasmExports.byteagt)(e); Module._byteage = (e) => (Module._byteage = wasmExports.byteage)(e); Module._byteacmp = (e) => (Module._byteacmp = wasmExports.byteacmp)(e); Module._to_hex32 = (e) => (Module._to_hex32 = wasmExports.to_hex32)(e); Module._varstr_levenshtein = (e, t2, r, a2, s4, o4, n3, _3) => (Module._varstr_levenshtein = wasmExports.varstr_levenshtein)(e, t2, r, a2, s4, o4, n3, _3); Module._pg_xml_init = (e) => (Module._pg_xml_init = wasmExports.pg_xml_init)(e); Module._xmlInitParser = () => (Module._xmlInitParser = wasmExports.xmlInitParser)(); Module._xml_ereport = (e, t2, r, a2) => (Module._xml_ereport = wasmExports.xml_ereport)(e, t2, r, a2); Module._pg_xml_done = (e, t2) => (Module._pg_xml_done = wasmExports.pg_xml_done)(e, t2); Module._xmlXPathNewContext = (e) => (Module._xmlXPathNewContext = wasmExports.xmlXPathNewContext)(e); Module._xmlXPathFreeContext = (e) => (Module._xmlXPathFreeContext = wasmExports.xmlXPathFreeContext)(e); Module._xmlFreeDoc = (e) => (Module._xmlFreeDoc = wasmExports.xmlFreeDoc)(e); Module._xmlXPathCtxtCompile = (e, t2) => (Module._xmlXPathCtxtCompile = wasmExports.xmlXPathCtxtCompile)(e, t2); Module._xmlXPathCompiledEval = (e, t2) => (Module._xmlXPathCompiledEval = wasmExports.xmlXPathCompiledEval)(e, t2); Module._xmlXPathFreeObject = (e) => (Module._xmlXPathFreeObject = wasmExports.xmlXPathFreeObject)(e); Module._xmlXPathFreeCompExpr = (e) => (Module._xmlXPathFreeCompExpr = wasmExports.xmlXPathFreeCompExpr)(e); Module._xmlStrdup = (e) => (Module._xmlStrdup = wasmExports.xmlStrdup)(e); Module._xmlEncodeSpecialChars = (e, t2) => (Module._xmlEncodeSpecialChars = wasmExports.xmlEncodeSpecialChars)(e, t2); Module._xmlStrlen = (e) => (Module._xmlStrlen = wasmExports.xmlStrlen)(e); Module._xmlBufferCreate = () => (Module._xmlBufferCreate = wasmExports.xmlBufferCreate)(); Module._xmlBufferFree = (e) => (Module._xmlBufferFree = wasmExports.xmlBufferFree)(e); Module._xmlXPathCastNodeToString = (e) => (Module._xmlXPathCastNodeToString = wasmExports.xmlXPathCastNodeToString)(e); Module._xmlNodeDump = (e, t2, r, a2, s4) => (Module._xmlNodeDump = wasmExports.xmlNodeDump)(e, t2, r, a2, s4); Module._get_typsubscript = (e, t2) => (Module._get_typsubscript = wasmExports.get_typsubscript)(e, t2); Module._CachedPlanAllowsSimpleValidityCheck = (e, t2, r) => (Module._CachedPlanAllowsSimpleValidityCheck = wasmExports.CachedPlanAllowsSimpleValidityCheck)(e, t2, r); Module._CachedPlanIsSimplyValid = (e, t2, r) => (Module._CachedPlanIsSimplyValid = wasmExports.CachedPlanIsSimplyValid)(e, t2, r); Module._GetCachedExpression = (e) => (Module._GetCachedExpression = wasmExports.GetCachedExpression)(e); Module._FreeCachedExpression = (e) => (Module._FreeCachedExpression = wasmExports.FreeCachedExpression)(e); Module._ReleaseAllPlanCacheRefsInOwner = (e) => (Module._ReleaseAllPlanCacheRefsInOwner = wasmExports.ReleaseAllPlanCacheRefsInOwner)(e); Module._in_error_recursion_trouble = () => (Module._in_error_recursion_trouble = wasmExports.in_error_recursion_trouble)(); Module._GetErrorContextStack = () => (Module._GetErrorContextStack = wasmExports.GetErrorContextStack)(); Module._find_rendezvous_variable = (e) => (Module._find_rendezvous_variable = wasmExports.find_rendezvous_variable)(e); Module._CallerFInfoFunctionCall2 = (e, t2, r, a2, s4) => (Module._CallerFInfoFunctionCall2 = wasmExports.CallerFInfoFunctionCall2)(e, t2, r, a2, s4); Module._FunctionCall0Coll = (e, t2) => (Module._FunctionCall0Coll = wasmExports.FunctionCall0Coll)(e, t2); Module._resolve_polymorphic_argtypes = (e, t2, r, a2) => (Module._resolve_polymorphic_argtypes = wasmExports.resolve_polymorphic_argtypes)(e, t2, r, a2); Module._pg_bindtextdomain = (e) => (Module._pg_bindtextdomain = wasmExports.pg_bindtextdomain)(e); Module._DefineCustomBoolVariable = (e, t2, r, a2, s4, o4, n3, _3, l3, p4) => (Module._DefineCustomBoolVariable = wasmExports.DefineCustomBoolVariable)(e, t2, r, a2, s4, o4, n3, _3, l3, p4); Module._DefineCustomIntVariable = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2) => (Module._DefineCustomIntVariable = wasmExports.DefineCustomIntVariable)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2); Module._DefineCustomRealVariable = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2) => (Module._DefineCustomRealVariable = wasmExports.DefineCustomRealVariable)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4, d2); Module._DefineCustomStringVariable = (e, t2, r, a2, s4, o4, n3, _3, l3, p4) => (Module._DefineCustomStringVariable = wasmExports.DefineCustomStringVariable)(e, t2, r, a2, s4, o4, n3, _3, l3, p4); Module._DefineCustomEnumVariable = (e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4) => (Module._DefineCustomEnumVariable = wasmExports.DefineCustomEnumVariable)(e, t2, r, a2, s4, o4, n3, _3, l3, p4, m4); Module._MarkGUCPrefixReserved = (e) => (Module._MarkGUCPrefixReserved = wasmExports.MarkGUCPrefixReserved)(e); Module._sampler_random_init_state = (e, t2) => (Module._sampler_random_init_state = wasmExports.sampler_random_init_state)(e, t2); Module._pchomp = (e) => (Module._pchomp = wasmExports.pchomp)(e); Module._PinPortal = (e) => (Module._PinPortal = wasmExports.PinPortal)(e); Module._UnpinPortal = (e) => (Module._UnpinPortal = wasmExports.UnpinPortal)(e); Module._xmlBufferWriteCHAR = (e, t2) => (Module._xmlBufferWriteCHAR = wasmExports.xmlBufferWriteCHAR)(e, t2); Module._xmlBufferWriteChar = (e, t2) => (Module._xmlBufferWriteChar = wasmExports.xmlBufferWriteChar)(e, t2); Module._xmlReadMemory = (e, t2, r, a2, s4) => (Module._xmlReadMemory = wasmExports.xmlReadMemory)(e, t2, r, a2, s4); Module._xmlDocGetRootElement = (e) => (Module._xmlDocGetRootElement = wasmExports.xmlDocGetRootElement)(e); Module._xmlXPathIsNaN = (e) => (Module._xmlXPathIsNaN = wasmExports.xmlXPathIsNaN)(e); Module._xmlXPathCastToBoolean = (e) => (Module._xmlXPathCastToBoolean = wasmExports.xmlXPathCastToBoolean)(e); Module._xmlXPathCastToNumber = (e) => (Module._xmlXPathCastToNumber = wasmExports.xmlXPathCastToNumber)(e); var ___dl_seterr = (e, t2) => (___dl_seterr = wasmExports.__dl_seterr)(e, t2); Module._gmtime = (e) => (Module._gmtime = wasmExports.gmtime)(e); var _htonl = (e) => (_htonl = wasmExports.htonl)(e), _htons = (e) => (_htons = wasmExports.htons)(e); Module._ioctl = (e, t2, r) => (Module._ioctl = wasmExports.ioctl)(e, t2, r); var _emscripten_builtin_memalign = (e, t2) => (_emscripten_builtin_memalign = wasmExports.emscripten_builtin_memalign)(e, t2), _ntohs = (e) => (_ntohs = wasmExports.ntohs)(e); Module._srand = (e) => (Module._srand = wasmExports.srand)(e); Module._rand = () => (Module._rand = wasmExports.rand)(); var __emscripten_timeout = (e, t2) => (__emscripten_timeout = wasmExports._emscripten_timeout)(e, t2), _setThrew = (e, t2) => (_setThrew = wasmExports.setThrew)(e, t2), __emscripten_tempret_set = (e) => (__emscripten_tempret_set = wasmExports._emscripten_tempret_set)(e), __emscripten_tempret_get = () => (__emscripten_tempret_get = wasmExports._emscripten_tempret_get)(), __emscripten_stack_restore = (e) => (__emscripten_stack_restore = wasmExports._emscripten_stack_restore)(e), __emscripten_stack_alloc = (e) => (__emscripten_stack_alloc = wasmExports._emscripten_stack_alloc)(e), _emscripten_stack_get_current = () => (_emscripten_stack_get_current = wasmExports.emscripten_stack_get_current)(); Module._InterruptPending = 2677872; Module._MyLatch = 2678060; Module._CritSectionCount = 2677924; Module._MyProc = 2647676; Module._pg_global_prng_state = 2624256; Module._error_context_stack = 2676168; Module._GUC_check_errdetail_string = 2681820; Module._IsUnderPostmaster = 2677953; Module._CurrentMemoryContext = 2683248; Module._stdout = 2537152; Module._debug_query_string = 2538700; Module._MyProcPort = 2678048; Module.___THREW__ = 2698916; Module.___threwValue = 2698920; Module._MyDatabaseId = 2677932; Module._TopMemoryContext = 2683252; Module._PG_exception_stack = 2676172; Module._MyProcPid = 2678024; Module._stdin = 2537e3; Module._ScanKeywords = 2374040; Module._pg_number_of_ones = 925120; Module._LocalBufferBlockPointers = 2644252; Module._BufferBlocks = 2638988; Module._wal_level = 2387920; Module._SnapshotAnyData = 2474096; Module._maintenance_work_mem = 2421576; Module._ParallelWorkerNumber = 2379480; Module._MainLWLockArray = 2645860; Module._CurrentResourceOwner = 2683296; Module._work_mem = 2421560; Module._NBuffers = 2421584; Module._bsysscan = 2625492; Module._CheckXidAlive = 2625488; Module._RecentXmin = 2474188; Module._XactIsoLevel = 2387784; Module._pgWalUsage = 2628960; Module._pgBufferUsage = 2628832; Module._TTSOpsVirtual = 2391608; Module._TransamVariables = 2625480; Module._TopTransactionContext = 2683272; Module._RmgrTable = 2379504; Module._process_shared_preload_libraries_in_progress = 2681216; Module._wal_segment_size = 2387940; Module._TopTransactionResourceOwner = 2683304; Module._arch_module_check_errdetail_string = 2638372; Module._object_access_hook = 2627600; Module._InvalidObjectAddress = 1520620; Module._check_function_bodies = 2421750; Module._post_parse_analyze_hook = 2627640; Module._ScanKeywordTokens = 1551648; Module._SPI_processed = 2628984; Module._SPI_tuptable = 2628992; Module._TTSOpsMinimalTuple = 2391712; Module._check_password_hook = 2627908; Module._ConfigReloadPending = 2638360; Module._max_parallel_maintenance_workers = 2421580; Module._DateStyle = 2421548; Module._ExecutorStart_hook = 2628808; Module._ExecutorRun_hook = 2628812; Module._ExecutorFinish_hook = 2628816; Module._ExecutorEnd_hook = 2628820; Module._SPI_result = 2628996; Module._ClientAuthentication_hook = 2629168; Module._cpu_tuple_cost = 2392168; Module._cpu_operator_cost = 2392184; Module._seq_page_cost = 2392152; Module._planner_hook = 2638056; Module._ShutdownRequestPending = 2638364; Module._MyStartTime = 2678032; Module._cluster_name = 2421800; Module._application_name = 2682044; Module._BufferDescriptors = 2638984; Module._shmem_startup_hook = 2644932; Module._ProcessUtility_hook = 2647764; Module._IntervalStyle = 2677956; Module._extra_float_digits = 2411976; Module._pg_crc32_table = 2112288; Module._xmlFree = 2523400; Module._shmem_request_hook = 2681220;
|
|
5285
5285
|
function invoke_iii(e, t2, r) {
|
|
5286
5286
|
var a2 = stackSave();
|
|
5287
5287
|
try {
|
|
@@ -6530,8 +6530,8 @@ async function getConversationScopedArtifacts(params) {
|
|
|
6530
6530
|
});
|
|
6531
6531
|
referenceArtifacts.push(...artifacts);
|
|
6532
6532
|
}
|
|
6533
|
-
const
|
|
6534
|
-
|
|
6533
|
+
const logger28 = (await Promise.resolve().then(() => (init_logger(), logger_exports))).getLogger("conversations");
|
|
6534
|
+
logger28.debug(
|
|
6535
6535
|
{
|
|
6536
6536
|
conversationId,
|
|
6537
6537
|
visibleMessages: visibleMessages.length,
|
|
@@ -6543,8 +6543,8 @@ async function getConversationScopedArtifacts(params) {
|
|
|
6543
6543
|
);
|
|
6544
6544
|
return referenceArtifacts;
|
|
6545
6545
|
} catch (error) {
|
|
6546
|
-
const
|
|
6547
|
-
|
|
6546
|
+
const logger28 = (await Promise.resolve().then(() => (init_logger(), logger_exports))).getLogger("conversations");
|
|
6547
|
+
logger28.error(
|
|
6548
6548
|
{
|
|
6549
6549
|
error: error instanceof Error ? error.message : "Unknown error",
|
|
6550
6550
|
conversationId
|
|
@@ -6586,14 +6586,14 @@ const execute = ${executeCode}
|
|
|
6586
6586
|
})();
|
|
6587
6587
|
`;
|
|
6588
6588
|
}
|
|
6589
|
-
function parseExecutionResult(stdout, functionId,
|
|
6589
|
+
function parseExecutionResult(stdout, functionId, logger28) {
|
|
6590
6590
|
try {
|
|
6591
6591
|
const outputLines = stdout.split("\n").filter((line) => line.trim());
|
|
6592
6592
|
const resultLine = outputLines[outputLines.length - 1];
|
|
6593
6593
|
return JSON.parse(resultLine);
|
|
6594
6594
|
} catch (parseError) {
|
|
6595
|
-
if (
|
|
6596
|
-
|
|
6595
|
+
if (logger28) {
|
|
6596
|
+
logger28.warn(
|
|
6597
6597
|
{
|
|
6598
6598
|
functionId,
|
|
6599
6599
|
stdout,
|
|
@@ -6609,13 +6609,13 @@ var init_sandbox_utils = __esm({
|
|
|
6609
6609
|
"src/tools/sandbox-utils.ts"() {
|
|
6610
6610
|
}
|
|
6611
6611
|
});
|
|
6612
|
-
var
|
|
6612
|
+
var logger15, ExecutionSemaphore, NativeSandboxExecutor;
|
|
6613
6613
|
var init_NativeSandboxExecutor = __esm({
|
|
6614
6614
|
"src/tools/NativeSandboxExecutor.ts"() {
|
|
6615
6615
|
init_execution_limits();
|
|
6616
6616
|
init_logger();
|
|
6617
6617
|
init_sandbox_utils();
|
|
6618
|
-
|
|
6618
|
+
logger15 = agentsCore.getLogger("native-sandbox-executor");
|
|
6619
6619
|
ExecutionSemaphore = class {
|
|
6620
6620
|
permits;
|
|
6621
6621
|
waitQueue = [];
|
|
@@ -6687,7 +6687,7 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6687
6687
|
getSemaphore(vcpus) {
|
|
6688
6688
|
const effectiveVcpus = Math.max(1, vcpus || 1);
|
|
6689
6689
|
if (!this.executionSemaphores.has(effectiveVcpus)) {
|
|
6690
|
-
|
|
6690
|
+
logger15.debug({ vcpus: effectiveVcpus }, "Creating new execution semaphore");
|
|
6691
6691
|
this.executionSemaphores.set(effectiveVcpus, new ExecutionSemaphore(effectiveVcpus));
|
|
6692
6692
|
}
|
|
6693
6693
|
const semaphore = this.executionSemaphores.get(effectiveVcpus);
|
|
@@ -6724,7 +6724,7 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6724
6724
|
if (now - sandbox.lastUsed < FUNCTION_TOOL_SANDBOX_POOL_TTL_MS && sandbox.useCount < FUNCTION_TOOL_SANDBOX_MAX_USE_COUNT) {
|
|
6725
6725
|
sandbox.lastUsed = now;
|
|
6726
6726
|
sandbox.useCount++;
|
|
6727
|
-
|
|
6727
|
+
logger15.debug(
|
|
6728
6728
|
{
|
|
6729
6729
|
poolKey,
|
|
6730
6730
|
useCount: sandbox.useCount,
|
|
@@ -6751,14 +6751,14 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6751
6751
|
useCount: 1,
|
|
6752
6752
|
dependencies
|
|
6753
6753
|
};
|
|
6754
|
-
|
|
6754
|
+
logger15.debug({ poolKey, sandboxDir }, "Added sandbox to pool");
|
|
6755
6755
|
}
|
|
6756
6756
|
cleanupSandbox(sandboxDir) {
|
|
6757
6757
|
try {
|
|
6758
6758
|
s3.rmSync(sandboxDir, { recursive: true, force: true });
|
|
6759
|
-
|
|
6759
|
+
logger15.debug({ sandboxDir }, "Cleaned up sandbox");
|
|
6760
6760
|
} catch (error) {
|
|
6761
|
-
|
|
6761
|
+
logger15.warn({ sandboxDir, error }, "Failed to clean up sandbox");
|
|
6762
6762
|
}
|
|
6763
6763
|
}
|
|
6764
6764
|
startPoolCleanup() {
|
|
@@ -6775,7 +6775,7 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6775
6775
|
delete this.sandboxPool[key];
|
|
6776
6776
|
});
|
|
6777
6777
|
if (keysToDelete.length > 0) {
|
|
6778
|
-
|
|
6778
|
+
logger15.debug({ cleanedCount: keysToDelete.length }, "Cleaned up expired sandboxes");
|
|
6779
6779
|
}
|
|
6780
6780
|
}, FUNCTION_TOOL_SANDBOX_CLEANUP_INTERVAL_MS);
|
|
6781
6781
|
}
|
|
@@ -6804,7 +6804,7 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6804
6804
|
return hasCjsSyntax ? "cjs" : "esm";
|
|
6805
6805
|
}
|
|
6806
6806
|
if (hasEsmSyntax && hasCjsSyntax) {
|
|
6807
|
-
|
|
6807
|
+
logger15.warn(
|
|
6808
6808
|
{ executeCode: `${executeCode.substring(0, 100)}...` },
|
|
6809
6809
|
"Both ESM and CommonJS syntax detected, defaulting to ESM"
|
|
6810
6810
|
);
|
|
@@ -6821,7 +6821,7 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6821
6821
|
async executeFunctionTool(toolId, args2, config) {
|
|
6822
6822
|
const vcpus = config.sandboxConfig?.vcpus || 1;
|
|
6823
6823
|
const semaphore = this.getSemaphore(vcpus);
|
|
6824
|
-
|
|
6824
|
+
logger15.debug(
|
|
6825
6825
|
{
|
|
6826
6826
|
toolId,
|
|
6827
6827
|
vcpus,
|
|
@@ -6839,7 +6839,7 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6839
6839
|
async executeInSandbox_Internal(toolId, args2, config) {
|
|
6840
6840
|
const dependencies = config.dependencies || {};
|
|
6841
6841
|
const dependencyHash = this.generateDependencyHash(dependencies);
|
|
6842
|
-
|
|
6842
|
+
logger15.debug(
|
|
6843
6843
|
{
|
|
6844
6844
|
toolId,
|
|
6845
6845
|
dependencies,
|
|
@@ -6855,7 +6855,7 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6855
6855
|
sandboxDir = o3.join(this.tempDir, `sandbox-${dependencyHash}-${Date.now()}`);
|
|
6856
6856
|
s3.mkdirSync(sandboxDir, { recursive: true });
|
|
6857
6857
|
isNewSandbox = true;
|
|
6858
|
-
|
|
6858
|
+
logger15.debug(
|
|
6859
6859
|
{
|
|
6860
6860
|
toolId,
|
|
6861
6861
|
dependencyHash,
|
|
@@ -6926,15 +6926,15 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6926
6926
|
});
|
|
6927
6927
|
npm.on("close", (code) => {
|
|
6928
6928
|
if (code === 0) {
|
|
6929
|
-
|
|
6929
|
+
logger15.debug({ sandboxDir }, "Dependencies installed successfully");
|
|
6930
6930
|
resolve2();
|
|
6931
6931
|
} else {
|
|
6932
|
-
|
|
6932
|
+
logger15.error({ sandboxDir, code, stderr }, "Failed to install dependencies");
|
|
6933
6933
|
reject(new Error(`npm install failed with code ${code}: ${stderr}`));
|
|
6934
6934
|
}
|
|
6935
6935
|
});
|
|
6936
6936
|
npm.on("error", (err2) => {
|
|
6937
|
-
|
|
6937
|
+
logger15.error({ sandboxDir, error: err2 }, "Failed to spawn npm install");
|
|
6938
6938
|
reject(err2);
|
|
6939
6939
|
});
|
|
6940
6940
|
});
|
|
@@ -6981,7 +6981,7 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6981
6981
|
stderr += dataStr;
|
|
6982
6982
|
});
|
|
6983
6983
|
const timeoutId = setTimeout(() => {
|
|
6984
|
-
|
|
6984
|
+
logger15.warn({ sandboxDir, timeout }, "Function execution timed out, killing process");
|
|
6985
6985
|
node.kill("SIGTERM");
|
|
6986
6986
|
const forceKillTimeout = Math.min(Math.max(timeout / 10, 2e3), 5e3);
|
|
6987
6987
|
setTimeout(() => {
|
|
@@ -6996,7 +6996,7 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
6996
6996
|
clearTimeout(timeoutId);
|
|
6997
6997
|
if (code === 0) {
|
|
6998
6998
|
try {
|
|
6999
|
-
const result = parseExecutionResult(stdout, "function",
|
|
6999
|
+
const result = parseExecutionResult(stdout, "function", logger15);
|
|
7000
7000
|
if (typeof result === "object" && result !== null && "success" in result) {
|
|
7001
7001
|
const parsed = result;
|
|
7002
7002
|
if (parsed.success) {
|
|
@@ -7008,18 +7008,18 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
7008
7008
|
resolve2(result);
|
|
7009
7009
|
}
|
|
7010
7010
|
} catch (parseError) {
|
|
7011
|
-
|
|
7011
|
+
logger15.error({ stdout, stderr, parseError }, "Failed to parse function result");
|
|
7012
7012
|
reject(new Error(`Invalid function result: ${stdout}`));
|
|
7013
7013
|
}
|
|
7014
7014
|
} else {
|
|
7015
7015
|
const errorMsg = signal ? `Function execution killed by signal ${signal}: ${stderr}` : `Function execution failed with code ${code}: ${stderr}`;
|
|
7016
|
-
|
|
7016
|
+
logger15.error({ code, signal, stderr }, "Function execution failed");
|
|
7017
7017
|
reject(new Error(errorMsg));
|
|
7018
7018
|
}
|
|
7019
7019
|
});
|
|
7020
7020
|
node.on("error", (error) => {
|
|
7021
7021
|
clearTimeout(timeoutId);
|
|
7022
|
-
|
|
7022
|
+
logger15.error({ sandboxDir, error }, "Failed to spawn node process");
|
|
7023
7023
|
reject(error);
|
|
7024
7024
|
});
|
|
7025
7025
|
});
|
|
@@ -7027,13 +7027,13 @@ var init_NativeSandboxExecutor = __esm({
|
|
|
7027
7027
|
};
|
|
7028
7028
|
}
|
|
7029
7029
|
});
|
|
7030
|
-
var
|
|
7030
|
+
var logger16, VercelSandboxExecutor;
|
|
7031
7031
|
var init_VercelSandboxExecutor = __esm({
|
|
7032
7032
|
"src/tools/VercelSandboxExecutor.ts"() {
|
|
7033
7033
|
init_execution_limits();
|
|
7034
7034
|
init_logger();
|
|
7035
7035
|
init_sandbox_utils();
|
|
7036
|
-
|
|
7036
|
+
logger16 = agentsCore.getLogger("VercelSandboxExecutor");
|
|
7037
7037
|
VercelSandboxExecutor = class _VercelSandboxExecutor {
|
|
7038
7038
|
static instance;
|
|
7039
7039
|
config;
|
|
@@ -7041,7 +7041,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7041
7041
|
cleanupInterval = null;
|
|
7042
7042
|
constructor(config) {
|
|
7043
7043
|
this.config = config;
|
|
7044
|
-
|
|
7044
|
+
logger16.info(
|
|
7045
7045
|
{
|
|
7046
7046
|
teamId: config.teamId,
|
|
7047
7047
|
projectId: config.projectId,
|
|
@@ -7078,7 +7078,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7078
7078
|
const now = Date.now();
|
|
7079
7079
|
const age = now - cached.createdAt;
|
|
7080
7080
|
if (age > FUNCTION_TOOL_SANDBOX_POOL_TTL_MS || cached.useCount >= FUNCTION_TOOL_SANDBOX_MAX_USE_COUNT) {
|
|
7081
|
-
|
|
7081
|
+
logger16.debug(
|
|
7082
7082
|
{
|
|
7083
7083
|
dependencyHash,
|
|
7084
7084
|
age,
|
|
@@ -7091,7 +7091,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7091
7091
|
this.removeSandbox(dependencyHash);
|
|
7092
7092
|
return null;
|
|
7093
7093
|
}
|
|
7094
|
-
|
|
7094
|
+
logger16.debug(
|
|
7095
7095
|
{
|
|
7096
7096
|
dependencyHash,
|
|
7097
7097
|
useCount: cached.useCount,
|
|
@@ -7111,7 +7111,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7111
7111
|
useCount: 0,
|
|
7112
7112
|
dependencies
|
|
7113
7113
|
});
|
|
7114
|
-
|
|
7114
|
+
logger16.debug(
|
|
7115
7115
|
{
|
|
7116
7116
|
dependencyHash,
|
|
7117
7117
|
poolSize: this.sandboxPool.size
|
|
@@ -7136,9 +7136,9 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7136
7136
|
if (cached) {
|
|
7137
7137
|
try {
|
|
7138
7138
|
await cached.sandbox.stop();
|
|
7139
|
-
|
|
7139
|
+
logger16.debug({ dependencyHash }, "Sandbox stopped");
|
|
7140
7140
|
} catch (error) {
|
|
7141
|
-
|
|
7141
|
+
logger16.warn({ error, dependencyHash }, "Error stopping sandbox");
|
|
7142
7142
|
}
|
|
7143
7143
|
this.sandboxPool.delete(dependencyHash);
|
|
7144
7144
|
}
|
|
@@ -7157,7 +7157,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7157
7157
|
}
|
|
7158
7158
|
}
|
|
7159
7159
|
if (toRemove.length > 0) {
|
|
7160
|
-
|
|
7160
|
+
logger16.info(
|
|
7161
7161
|
{
|
|
7162
7162
|
count: toRemove.length,
|
|
7163
7163
|
poolSize: this.sandboxPool.size
|
|
@@ -7178,7 +7178,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7178
7178
|
clearInterval(this.cleanupInterval);
|
|
7179
7179
|
this.cleanupInterval = null;
|
|
7180
7180
|
}
|
|
7181
|
-
|
|
7181
|
+
logger16.info(
|
|
7182
7182
|
{
|
|
7183
7183
|
poolSize: this.sandboxPool.size
|
|
7184
7184
|
},
|
|
@@ -7215,7 +7215,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7215
7215
|
const envLines = [];
|
|
7216
7216
|
for (const varName of envVarNames) {
|
|
7217
7217
|
envLines.push(`${varName}=""`);
|
|
7218
|
-
|
|
7218
|
+
logger16.debug({ varName }, "Adding environment variable placeholder to sandbox");
|
|
7219
7219
|
}
|
|
7220
7220
|
return envLines.join("\n");
|
|
7221
7221
|
}
|
|
@@ -7228,7 +7228,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7228
7228
|
const dependencies = toolConfig.dependencies || {};
|
|
7229
7229
|
const dependencyHash = this.generateDependencyHash(dependencies);
|
|
7230
7230
|
try {
|
|
7231
|
-
|
|
7231
|
+
logger16.info(
|
|
7232
7232
|
{
|
|
7233
7233
|
functionId,
|
|
7234
7234
|
functionName: toolConfig.name,
|
|
@@ -7251,7 +7251,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7251
7251
|
},
|
|
7252
7252
|
runtime: this.config.runtime
|
|
7253
7253
|
});
|
|
7254
|
-
|
|
7254
|
+
logger16.info(
|
|
7255
7255
|
{
|
|
7256
7256
|
functionId,
|
|
7257
7257
|
sandboxId: sandbox$1.sandboxId,
|
|
@@ -7261,7 +7261,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7261
7261
|
);
|
|
7262
7262
|
this.addToPool(dependencyHash, sandbox$1, dependencies);
|
|
7263
7263
|
} else {
|
|
7264
|
-
|
|
7264
|
+
logger16.info(
|
|
7265
7265
|
{
|
|
7266
7266
|
functionId,
|
|
7267
7267
|
sandboxId: sandbox$1.sandboxId,
|
|
@@ -7273,7 +7273,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7273
7273
|
this.incrementUseCount(dependencyHash);
|
|
7274
7274
|
try {
|
|
7275
7275
|
if (isNewSandbox && toolConfig.dependencies && Object.keys(toolConfig.dependencies).length > 0) {
|
|
7276
|
-
|
|
7276
|
+
logger16.debug(
|
|
7277
7277
|
{
|
|
7278
7278
|
functionId,
|
|
7279
7279
|
functionName: toolConfig.name,
|
|
@@ -7306,7 +7306,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7306
7306
|
if (installCmd.exitCode !== 0) {
|
|
7307
7307
|
throw new Error(`Failed to install dependencies: ${installStderr}`);
|
|
7308
7308
|
}
|
|
7309
|
-
|
|
7309
|
+
logger16.info(
|
|
7310
7310
|
{
|
|
7311
7311
|
functionId,
|
|
7312
7312
|
dependencyHash
|
|
@@ -7329,7 +7329,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7329
7329
|
path: ".env",
|
|
7330
7330
|
content: Buffer.from(envFileContent, "utf-8")
|
|
7331
7331
|
});
|
|
7332
|
-
|
|
7332
|
+
logger16.info(
|
|
7333
7333
|
{
|
|
7334
7334
|
functionId,
|
|
7335
7335
|
envVarCount: envVars.size,
|
|
@@ -7340,7 +7340,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7340
7340
|
}
|
|
7341
7341
|
}
|
|
7342
7342
|
await sandbox$1.writeFiles(filesToWrite);
|
|
7343
|
-
|
|
7343
|
+
logger16.info(
|
|
7344
7344
|
{
|
|
7345
7345
|
functionId,
|
|
7346
7346
|
runtime: this.config.runtime === "typescript" ? "tsx" : "node",
|
|
@@ -7371,7 +7371,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7371
7371
|
}
|
|
7372
7372
|
const executionTime = Date.now() - startTime;
|
|
7373
7373
|
if (executeCmd.exitCode !== 0) {
|
|
7374
|
-
|
|
7374
|
+
logger16.error(
|
|
7375
7375
|
{
|
|
7376
7376
|
functionId,
|
|
7377
7377
|
exitCode: executeCmd.exitCode,
|
|
@@ -7386,8 +7386,8 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7386
7386
|
executionTime
|
|
7387
7387
|
};
|
|
7388
7388
|
}
|
|
7389
|
-
const result = parseExecutionResult(executeStdout, functionId,
|
|
7390
|
-
|
|
7389
|
+
const result = parseExecutionResult(executeStdout, functionId, logger16);
|
|
7390
|
+
logger16.info(
|
|
7391
7391
|
{
|
|
7392
7392
|
functionId,
|
|
7393
7393
|
executionTime
|
|
@@ -7407,7 +7407,7 @@ var init_VercelSandboxExecutor = __esm({
|
|
|
7407
7407
|
} catch (error) {
|
|
7408
7408
|
const executionTime = Date.now() - startTime;
|
|
7409
7409
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
7410
|
-
|
|
7410
|
+
logger16.error(
|
|
7411
7411
|
{
|
|
7412
7412
|
functionId,
|
|
7413
7413
|
error: errorMessage,
|
|
@@ -7432,19 +7432,19 @@ var SandboxExecutorFactory_exports = {};
|
|
|
7432
7432
|
__export(SandboxExecutorFactory_exports, {
|
|
7433
7433
|
SandboxExecutorFactory: () => SandboxExecutorFactory
|
|
7434
7434
|
});
|
|
7435
|
-
var
|
|
7435
|
+
var logger17, SandboxExecutorFactory;
|
|
7436
7436
|
var init_SandboxExecutorFactory = __esm({
|
|
7437
7437
|
"src/tools/SandboxExecutorFactory.ts"() {
|
|
7438
7438
|
init_logger();
|
|
7439
7439
|
init_NativeSandboxExecutor();
|
|
7440
7440
|
init_VercelSandboxExecutor();
|
|
7441
|
-
|
|
7441
|
+
logger17 = agentsCore.getLogger("SandboxExecutorFactory");
|
|
7442
7442
|
SandboxExecutorFactory = class _SandboxExecutorFactory {
|
|
7443
7443
|
static instance;
|
|
7444
7444
|
nativeExecutor = null;
|
|
7445
7445
|
vercelExecutors = /* @__PURE__ */ new Map();
|
|
7446
7446
|
constructor() {
|
|
7447
|
-
|
|
7447
|
+
logger17.info({}, "SandboxExecutorFactory initialized");
|
|
7448
7448
|
}
|
|
7449
7449
|
/**
|
|
7450
7450
|
* Get singleton instance of SandboxExecutorFactory
|
|
@@ -7477,7 +7477,7 @@ var init_SandboxExecutorFactory = __esm({
|
|
|
7477
7477
|
async executeInNativeSandbox(functionId, args2, config) {
|
|
7478
7478
|
if (!this.nativeExecutor) {
|
|
7479
7479
|
this.nativeExecutor = NativeSandboxExecutor.getInstance();
|
|
7480
|
-
|
|
7480
|
+
logger17.info({}, "Native sandbox executor created");
|
|
7481
7481
|
}
|
|
7482
7482
|
return this.nativeExecutor.executeFunctionTool(functionId, args2, config);
|
|
7483
7483
|
}
|
|
@@ -7490,7 +7490,7 @@ var init_SandboxExecutorFactory = __esm({
|
|
|
7490
7490
|
if (!this.vercelExecutors.has(configKey)) {
|
|
7491
7491
|
const executor2 = VercelSandboxExecutor.getInstance(vercelConfig);
|
|
7492
7492
|
this.vercelExecutors.set(configKey, executor2);
|
|
7493
|
-
|
|
7493
|
+
logger17.info(
|
|
7494
7494
|
{
|
|
7495
7495
|
teamId: vercelConfig.teamId,
|
|
7496
7496
|
projectId: vercelConfig.projectId
|
|
@@ -7512,13 +7512,13 @@ var init_SandboxExecutorFactory = __esm({
|
|
|
7512
7512
|
* Clean up all sandbox executors
|
|
7513
7513
|
*/
|
|
7514
7514
|
async cleanup() {
|
|
7515
|
-
|
|
7515
|
+
logger17.info({}, "Cleaning up sandbox executors");
|
|
7516
7516
|
this.nativeExecutor = null;
|
|
7517
7517
|
for (const [key, executor] of this.vercelExecutors.entries()) {
|
|
7518
7518
|
await executor.cleanup();
|
|
7519
7519
|
this.vercelExecutors.delete(key);
|
|
7520
7520
|
}
|
|
7521
|
-
|
|
7521
|
+
logger17.info({}, "Sandbox executor cleanup completed");
|
|
7522
7522
|
}
|
|
7523
7523
|
};
|
|
7524
7524
|
}
|
|
@@ -7597,7 +7597,7 @@ var defaultContextManager = new contextAsyncHooks.AsyncLocalStorageContextManage
|
|
|
7597
7597
|
var defaultTextMapPropagator = new core.CompositePropagator({
|
|
7598
7598
|
propagators: [new core.W3CTraceContextPropagator(), new core.W3CBaggagePropagator()]
|
|
7599
7599
|
});
|
|
7600
|
-
new sdkNode.NodeSDK({
|
|
7600
|
+
var defaultSDK = new sdkNode.NodeSDK({
|
|
7601
7601
|
resource: defaultResource,
|
|
7602
7602
|
contextManager: defaultContextManager,
|
|
7603
7603
|
textMapPropagator: defaultTextMapPropagator,
|
|
@@ -7611,8 +7611,6 @@ async function flushBatchProcessor() {
|
|
|
7611
7611
|
logger.warn({ error }, "Failed to flush batch processor");
|
|
7612
7612
|
}
|
|
7613
7613
|
}
|
|
7614
|
-
|
|
7615
|
-
// src/app.ts
|
|
7616
7614
|
init_logger();
|
|
7617
7615
|
|
|
7618
7616
|
// src/middleware/api-key-auth.ts
|
|
@@ -7621,6 +7619,10 @@ init_env();
|
|
|
7621
7619
|
init_logger();
|
|
7622
7620
|
|
|
7623
7621
|
// src/types/execution-context.ts
|
|
7622
|
+
function getUserIdFromContext(ctx) {
|
|
7623
|
+
const metadata2 = ctx.metadata;
|
|
7624
|
+
return metadata2?.initiatedBy?.type === "user" ? metadata2.initiatedBy.id : void 0;
|
|
7625
|
+
}
|
|
7624
7626
|
function createExecutionContext(params) {
|
|
7625
7627
|
return {
|
|
7626
7628
|
apiKey: params.apiKey,
|
|
@@ -10282,13 +10284,30 @@ var AgentSession = class {
|
|
|
10282
10284
|
/**
|
|
10283
10285
|
* Clean up status update resources when session ends
|
|
10284
10286
|
*/
|
|
10285
|
-
cleanup() {
|
|
10287
|
+
async cleanup() {
|
|
10286
10288
|
this.isEnded = true;
|
|
10287
10289
|
if (this.statusUpdateTimer) {
|
|
10288
10290
|
clearInterval(this.statusUpdateTimer);
|
|
10289
10291
|
this.statusUpdateTimer = void 0;
|
|
10290
10292
|
}
|
|
10291
10293
|
this.statusUpdateState = void 0;
|
|
10294
|
+
if (this.pendingArtifacts.size > 0) {
|
|
10295
|
+
const maxWaitTime = 1e4;
|
|
10296
|
+
const startTime = Date.now();
|
|
10297
|
+
while (this.pendingArtifacts.size > 0 && Date.now() - startTime < maxWaitTime) {
|
|
10298
|
+
await new Promise((resolve2) => setTimeout(resolve2, 100));
|
|
10299
|
+
}
|
|
10300
|
+
if (this.pendingArtifacts.size > 0) {
|
|
10301
|
+
logger8.warn(
|
|
10302
|
+
{
|
|
10303
|
+
sessionId: this.sessionId,
|
|
10304
|
+
pendingCount: this.pendingArtifacts.size,
|
|
10305
|
+
pendingIds: Array.from(this.pendingArtifacts)
|
|
10306
|
+
},
|
|
10307
|
+
"Cleanup proceeding with pending artifacts still processing"
|
|
10308
|
+
);
|
|
10309
|
+
}
|
|
10310
|
+
}
|
|
10292
10311
|
this.pendingArtifacts.clear();
|
|
10293
10312
|
this.artifactProcessingErrors.clear();
|
|
10294
10313
|
this.artifactCache.clear();
|
|
@@ -11063,6 +11082,9 @@ Make it specific and relevant.`;
|
|
|
11063
11082
|
result = object;
|
|
11064
11083
|
}
|
|
11065
11084
|
try {
|
|
11085
|
+
if (!this.artifactService) {
|
|
11086
|
+
throw new Error("ArtifactService is not initialized");
|
|
11087
|
+
}
|
|
11066
11088
|
await this.artifactService.saveArtifact({
|
|
11067
11089
|
artifactId: artifactData.artifactId,
|
|
11068
11090
|
name: result.name,
|
|
@@ -11252,7 +11274,7 @@ var AgentSessionManager = class {
|
|
|
11252
11274
|
/**
|
|
11253
11275
|
* End a session and return the final event data
|
|
11254
11276
|
*/
|
|
11255
|
-
endSession(sessionId) {
|
|
11277
|
+
async endSession(sessionId) {
|
|
11256
11278
|
const session = this.sessions.get(sessionId);
|
|
11257
11279
|
if (!session) {
|
|
11258
11280
|
logger8.warn({ sessionId }, "Attempted to end non-existent session");
|
|
@@ -11261,7 +11283,7 @@ var AgentSessionManager = class {
|
|
|
11261
11283
|
const events = session.getEvents();
|
|
11262
11284
|
const summary = session.getSummary();
|
|
11263
11285
|
logger8.info({ sessionId, summary }, "AgentSession ended");
|
|
11264
|
-
session.cleanup();
|
|
11286
|
+
await session.cleanup();
|
|
11265
11287
|
this.sessions.delete(sessionId);
|
|
11266
11288
|
return events;
|
|
11267
11289
|
}
|
|
@@ -12103,49 +12125,6 @@ function generateToolId() {
|
|
|
12103
12125
|
// src/utils/artifact-component-schema.ts
|
|
12104
12126
|
init_logger();
|
|
12105
12127
|
|
|
12106
|
-
// src/utils/data-component-schema.ts
|
|
12107
|
-
init_logger();
|
|
12108
|
-
var logger12 = agentsCore.getLogger("DataComponentSchema");
|
|
12109
|
-
function jsonSchemaToZod(jsonSchema) {
|
|
12110
|
-
if (!jsonSchema || typeof jsonSchema !== "object") {
|
|
12111
|
-
logger12.warn({ jsonSchema }, "Invalid JSON schema provided, using string fallback");
|
|
12112
|
-
return zodOpenapi.z.string();
|
|
12113
|
-
}
|
|
12114
|
-
switch (jsonSchema.type) {
|
|
12115
|
-
case "object":
|
|
12116
|
-
if (jsonSchema.properties) {
|
|
12117
|
-
const shape = {};
|
|
12118
|
-
for (const [key, prop] of Object.entries(jsonSchema.properties)) {
|
|
12119
|
-
shape[key] = jsonSchemaToZod(prop);
|
|
12120
|
-
}
|
|
12121
|
-
return zodOpenapi.z.object(shape);
|
|
12122
|
-
}
|
|
12123
|
-
return zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.unknown());
|
|
12124
|
-
case "array": {
|
|
12125
|
-
const itemSchema = jsonSchema.items ? jsonSchemaToZod(jsonSchema.items) : zodOpenapi.z.unknown();
|
|
12126
|
-
return zodOpenapi.z.array(itemSchema);
|
|
12127
|
-
}
|
|
12128
|
-
case "string":
|
|
12129
|
-
return zodOpenapi.z.string();
|
|
12130
|
-
case "number":
|
|
12131
|
-
case "integer":
|
|
12132
|
-
return zodOpenapi.z.number();
|
|
12133
|
-
case "boolean":
|
|
12134
|
-
return zodOpenapi.z.boolean();
|
|
12135
|
-
case "null":
|
|
12136
|
-
return zodOpenapi.z.null();
|
|
12137
|
-
default:
|
|
12138
|
-
logger12.warn(
|
|
12139
|
-
{
|
|
12140
|
-
unsupportedType: jsonSchema.type,
|
|
12141
|
-
schema: jsonSchema
|
|
12142
|
-
},
|
|
12143
|
-
"Unsupported JSON schema type, using unknown validation"
|
|
12144
|
-
);
|
|
12145
|
-
return zodOpenapi.z.unknown();
|
|
12146
|
-
}
|
|
12147
|
-
}
|
|
12148
|
-
|
|
12149
12128
|
// src/utils/SchemaProcessor.ts
|
|
12150
12129
|
init_logger();
|
|
12151
12130
|
var SchemaProcessor = class _SchemaProcessor {
|
|
@@ -12392,7 +12371,7 @@ var ArtifactReferenceSchema = class _ArtifactReferenceSchema {
|
|
|
12392
12371
|
return zodOpenapi.z.object({
|
|
12393
12372
|
id: zodOpenapi.z.string(),
|
|
12394
12373
|
name: zodOpenapi.z.literal("Artifact"),
|
|
12395
|
-
props: jsonSchemaToZod(_ArtifactReferenceSchema.ARTIFACT_PROPS_SCHEMA)
|
|
12374
|
+
props: agentsCore.jsonSchemaToZod(_ArtifactReferenceSchema.ARTIFACT_PROPS_SCHEMA)
|
|
12396
12375
|
});
|
|
12397
12376
|
}
|
|
12398
12377
|
/**
|
|
@@ -12445,7 +12424,7 @@ var ArtifactCreateSchema = class {
|
|
|
12445
12424
|
return zodOpenapi.z.object({
|
|
12446
12425
|
id: zodOpenapi.z.string(),
|
|
12447
12426
|
name: zodOpenapi.z.literal(`ArtifactCreate_${component.name}`),
|
|
12448
|
-
props: jsonSchemaToZod(propsSchema)
|
|
12427
|
+
props: agentsCore.jsonSchemaToZod(propsSchema)
|
|
12449
12428
|
});
|
|
12450
12429
|
});
|
|
12451
12430
|
}
|
|
@@ -12505,7 +12484,7 @@ function parseEmbeddedJson(data) {
|
|
|
12505
12484
|
|
|
12506
12485
|
// src/a2a/client.ts
|
|
12507
12486
|
init_logger();
|
|
12508
|
-
var
|
|
12487
|
+
var logger12 = agentsCore.getLogger("a2aClient");
|
|
12509
12488
|
var DEFAULT_BACKOFF = {
|
|
12510
12489
|
initialInterval: 500,
|
|
12511
12490
|
maxInterval: 6e4,
|
|
@@ -12712,7 +12691,7 @@ var A2AClient = class {
|
|
|
12712
12691
|
try {
|
|
12713
12692
|
const res = await fn2();
|
|
12714
12693
|
if (attempt > 0) {
|
|
12715
|
-
|
|
12694
|
+
logger12.info(
|
|
12716
12695
|
{
|
|
12717
12696
|
attempts: attempt + 1,
|
|
12718
12697
|
elapsedTime: Date.now() - start2
|
|
@@ -12727,7 +12706,7 @@ var A2AClient = class {
|
|
|
12727
12706
|
}
|
|
12728
12707
|
const elapsed = Date.now() - start2;
|
|
12729
12708
|
if (elapsed > maxElapsedTime) {
|
|
12730
|
-
|
|
12709
|
+
logger12.warn(
|
|
12731
12710
|
{
|
|
12732
12711
|
attempts: attempt + 1,
|
|
12733
12712
|
elapsedTime: elapsed,
|
|
@@ -12748,7 +12727,7 @@ var A2AClient = class {
|
|
|
12748
12727
|
retryInterval = initialInterval * attempt ** exponent + Math.random() * 1e3;
|
|
12749
12728
|
}
|
|
12750
12729
|
const delayMs = Math.min(retryInterval, maxInterval);
|
|
12751
|
-
|
|
12730
|
+
logger12.info(
|
|
12752
12731
|
{
|
|
12753
12732
|
attempt: attempt + 1,
|
|
12754
12733
|
delayMs,
|
|
@@ -12839,7 +12818,7 @@ var A2AClient = class {
|
|
|
12839
12818
|
});
|
|
12840
12819
|
}
|
|
12841
12820
|
if (rpcResponse.id !== requestId2) {
|
|
12842
|
-
|
|
12821
|
+
logger12.warn(
|
|
12843
12822
|
{
|
|
12844
12823
|
method,
|
|
12845
12824
|
expectedId: requestId2,
|
|
@@ -13036,7 +13015,7 @@ var A2AClient = class {
|
|
|
13036
13015
|
try {
|
|
13037
13016
|
while (true) {
|
|
13038
13017
|
const { done, value } = await reader.read();
|
|
13039
|
-
|
|
13018
|
+
logger12.info({ done, value }, "parseA2ASseStream");
|
|
13040
13019
|
if (done) {
|
|
13041
13020
|
if (eventDataBuffer.trim()) {
|
|
13042
13021
|
const result = this._processSseEventData(
|
|
@@ -13127,7 +13106,7 @@ init_execution_limits();
|
|
|
13127
13106
|
init_conversations();
|
|
13128
13107
|
init_dbClient();
|
|
13129
13108
|
init_logger();
|
|
13130
|
-
var
|
|
13109
|
+
var logger13 = agentsCore.getLogger("relationships Tools");
|
|
13131
13110
|
var A2A_RETRY_STATUS_CODES = ["429", "500", "502", "503", "504"];
|
|
13132
13111
|
var generateTransferToolDescription = (config) => {
|
|
13133
13112
|
let toolsSection = "";
|
|
@@ -13238,7 +13217,7 @@ var createTransferToAgentTool = ({
|
|
|
13238
13217
|
[agentsCore.SPAN_KEYS.TRANSFER_TO_SUB_AGENT_ID]: transferConfig.id ?? "unknown"
|
|
13239
13218
|
});
|
|
13240
13219
|
}
|
|
13241
|
-
|
|
13220
|
+
logger13.info(
|
|
13242
13221
|
{
|
|
13243
13222
|
transferTo: transferConfig.id ?? "unknown",
|
|
13244
13223
|
fromSubAgent: callingAgentId
|
|
@@ -13259,7 +13238,7 @@ var createTransferToAgentTool = ({
|
|
|
13259
13238
|
fromSubAgentId: callingAgentId
|
|
13260
13239
|
// Include the calling agent ID for tracking
|
|
13261
13240
|
};
|
|
13262
|
-
|
|
13241
|
+
logger13.info(
|
|
13263
13242
|
{
|
|
13264
13243
|
transferResult,
|
|
13265
13244
|
transferResultKeys: Object.keys(transferResult)
|
|
@@ -13406,7 +13385,7 @@ function createDelegateToAgentTool({
|
|
|
13406
13385
|
...isInternal ? { fromSubAgentId: callingAgentId } : { fromExternalAgentId: callingAgentId }
|
|
13407
13386
|
}
|
|
13408
13387
|
};
|
|
13409
|
-
|
|
13388
|
+
logger13.info({ messageToSend }, "messageToSend");
|
|
13410
13389
|
await agentsCore.createMessage(dbClient_default)({
|
|
13411
13390
|
id: agentsCore.generateId(),
|
|
13412
13391
|
tenantId,
|
|
@@ -13469,7 +13448,7 @@ function createDelegateToAgentTool({
|
|
|
13469
13448
|
|
|
13470
13449
|
// src/agents/SystemPromptBuilder.ts
|
|
13471
13450
|
init_logger();
|
|
13472
|
-
var
|
|
13451
|
+
var logger14 = agentsCore.getLogger("SystemPromptBuilder");
|
|
13473
13452
|
var SystemPromptBuilder = class {
|
|
13474
13453
|
constructor(version, versionConfig) {
|
|
13475
13454
|
this.version = version;
|
|
@@ -13485,12 +13464,12 @@ var SystemPromptBuilder = class {
|
|
|
13485
13464
|
this.templates.set(name2, content);
|
|
13486
13465
|
}
|
|
13487
13466
|
this.loaded = true;
|
|
13488
|
-
|
|
13467
|
+
logger14.debug(
|
|
13489
13468
|
{ templateCount: this.templates.size, version: this.version },
|
|
13490
13469
|
`Loaded ${this.templates.size} templates for version ${this.version}`
|
|
13491
13470
|
);
|
|
13492
13471
|
} catch (error) {
|
|
13493
|
-
|
|
13472
|
+
logger14.error({ error }, `Failed to load templates for version ${this.version}`);
|
|
13494
13473
|
throw new Error(`Template loading failed: ${error}`);
|
|
13495
13474
|
}
|
|
13496
13475
|
}
|
|
@@ -13731,7 +13710,14 @@ var Phase1Config = class _Phase1Config {
|
|
|
13731
13710
|
throw new Error("System prompt template not loaded");
|
|
13732
13711
|
}
|
|
13733
13712
|
let systemPrompt = systemPromptTemplate;
|
|
13734
|
-
|
|
13713
|
+
if (config.corePrompt && config.corePrompt.trim()) {
|
|
13714
|
+
systemPrompt = systemPrompt.replace("{{CORE_INSTRUCTIONS}}", config.corePrompt);
|
|
13715
|
+
} else {
|
|
13716
|
+
systemPrompt = systemPrompt.replace(
|
|
13717
|
+
/<core_instructions>\s*\{\{CORE_INSTRUCTIONS\}\}\s*<\/core_instructions>/g,
|
|
13718
|
+
""
|
|
13719
|
+
);
|
|
13720
|
+
}
|
|
13735
13721
|
const agentContextSection = this.generateAgentContextSection(config.prompt);
|
|
13736
13722
|
systemPrompt = systemPrompt.replace("{{AGENT_CONTEXT_SECTION}}", agentContextSection);
|
|
13737
13723
|
const toolData = this.isToolDataArray(config.tools) ? config.tools : _Phase1Config.convertMcpToolsToToolData(config.tools);
|
|
@@ -13761,7 +13747,7 @@ var Phase1Config = class _Phase1Config {
|
|
|
13761
13747
|
return systemPrompt;
|
|
13762
13748
|
}
|
|
13763
13749
|
generateAgentContextSection(prompt) {
|
|
13764
|
-
if (!prompt) {
|
|
13750
|
+
if (!prompt || prompt.trim() === "") {
|
|
13765
13751
|
return "";
|
|
13766
13752
|
}
|
|
13767
13753
|
return `
|
|
@@ -13898,6 +13884,8 @@ THE details PROPERTY MUST CONTAIN JMESPATH SELECTORS THAT EXTRACT DATA FROM THE
|
|
|
13898
13884
|
\u274C NEVER: [?text ~ contains(@, 'word')] (~ with @ operator)
|
|
13899
13885
|
\u274C NEVER: contains(@, 'text') (@ operator usage)
|
|
13900
13886
|
\u274C NEVER: [?field=="value"] (double quotes in filters)
|
|
13887
|
+
\u274C NEVER: [?field=='value'] (escaped quotes in filters)
|
|
13888
|
+
\u274C NEVER: [?field=='"'"'value'"'"'] (nightmare quote mixing)
|
|
13901
13889
|
\u274C NEVER: result.items[?type=='doc'][?status=='active'] (chained filters)
|
|
13902
13890
|
|
|
13903
13891
|
\u2705 CORRECT JMESPATH SYNTAX:
|
|
@@ -13909,6 +13897,11 @@ THE details PROPERTY MUST CONTAIN JMESPATH SELECTORS THAT EXTRACT DATA FROM THE
|
|
|
13909
13897
|
\u2705 [?contains(text, 'Founder')] (contains haystack, needle format)
|
|
13910
13898
|
\u2705 source.content[?contains(text, 'Founder')].text (correct filter usage)
|
|
13911
13899
|
|
|
13900
|
+
\u{1F6A8} MANDATORY QUOTE PATTERN - FOLLOW EXACTLY:
|
|
13901
|
+
- ALWAYS: base="path[?field=='value']" (double quotes outside, single inside)
|
|
13902
|
+
- This is the ONLY allowed pattern - any other pattern WILL FAIL
|
|
13903
|
+
- NEVER escape quotes, NEVER mix quote types, NEVER use complex quoting
|
|
13904
|
+
|
|
13912
13905
|
\u{1F6A8} CRITICAL: EXAMINE TOOL RESULTS BEFORE CREATING SELECTORS! \u{1F6A8}
|
|
13913
13906
|
|
|
13914
13907
|
STEP 1: INSPECT THE ACTUAL DATA FIRST
|
|
@@ -13947,7 +13940,7 @@ Only use artifact:ref when you need to cite the SAME artifact again for a differ
|
|
|
13947
13940
|
Format: <artifact:ref id="artifact-id" tool="tool_call_id" />
|
|
13948
13941
|
|
|
13949
13942
|
EXAMPLE TEXT RESPONSE:
|
|
13950
|
-
"I found the authentication documentation. <artifact:create id='auth-doc-1' tool='call_xyz789' type='APIDoc' base=
|
|
13943
|
+
"I found the authentication documentation. <artifact:create id='auth-doc-1' tool='call_xyz789' type='APIDoc' base="result.documents[?type=='auth']" details='{"title":"metadata.title","endpoint":"api.endpoint","description":"content.description","parameters":"spec.parameters","examples":"examples.sample_code"}' /> The documentation explains OAuth 2.0 implementation in detail.
|
|
13951
13944
|
|
|
13952
13945
|
The process involves three main steps: registration, token exchange, and API calls. As mentioned in the authentication documentation <artifact:ref id='auth-doc-1' tool='call_xyz789' />, you'll need to register your application first."
|
|
13953
13946
|
|
|
@@ -14445,7 +14438,7 @@ ${componentDescriptions}`;
|
|
|
14445
14438
|
dataComponentXml = dataComponentXml.replace("{{COMPONENT_NAME}}", dataComponent.name);
|
|
14446
14439
|
dataComponentXml = dataComponentXml.replace(
|
|
14447
14440
|
"{{COMPONENT_DESCRIPTION}}",
|
|
14448
|
-
dataComponent.description
|
|
14441
|
+
dataComponent.description || ""
|
|
14449
14442
|
);
|
|
14450
14443
|
dataComponentXml = dataComponentXml.replace(
|
|
14451
14444
|
"{{COMPONENT_PROPS_SCHEMA}}",
|
|
@@ -14541,7 +14534,14 @@ ${artifact_retrieval_guidance_default}
|
|
|
14541
14534
|
artifactComponents
|
|
14542
14535
|
);
|
|
14543
14536
|
let phase2Prompt = system_prompt_default2;
|
|
14544
|
-
|
|
14537
|
+
if (corePrompt && corePrompt.trim()) {
|
|
14538
|
+
phase2Prompt = phase2Prompt.replace("{{CORE_INSTRUCTIONS}}", corePrompt);
|
|
14539
|
+
} else {
|
|
14540
|
+
phase2Prompt = phase2Prompt.replace(
|
|
14541
|
+
/<core_instructions>\s*\{\{CORE_INSTRUCTIONS\}\}\s*<\/core_instructions>/g,
|
|
14542
|
+
""
|
|
14543
|
+
);
|
|
14544
|
+
}
|
|
14545
14545
|
phase2Prompt = phase2Prompt.replace("{{DATA_COMPONENTS_SECTION}}", dataComponentsSection);
|
|
14546
14546
|
phase2Prompt = phase2Prompt.replace("{{ARTIFACTS_SECTION}}", artifactsSection);
|
|
14547
14547
|
phase2Prompt = phase2Prompt.replace("{{ARTIFACT_GUIDANCE_SECTION}}", artifactGuidance);
|
|
@@ -14560,7 +14560,7 @@ function hasToolCallWithPrefix(prefix) {
|
|
|
14560
14560
|
return false;
|
|
14561
14561
|
};
|
|
14562
14562
|
}
|
|
14563
|
-
var
|
|
14563
|
+
var logger18 = agentsCore.getLogger("Agent");
|
|
14564
14564
|
function validateModel(modelString, modelType) {
|
|
14565
14565
|
if (!modelString?.trim()) {
|
|
14566
14566
|
throw new Error(
|
|
@@ -14666,6 +14666,32 @@ var Agent = class {
|
|
|
14666
14666
|
}
|
|
14667
14667
|
return sanitizedTools;
|
|
14668
14668
|
}
|
|
14669
|
+
#createRelationToolName(prefix, targetId) {
|
|
14670
|
+
return `${prefix}_to_${targetId.toLowerCase().replace(/\s+/g, "_")}`;
|
|
14671
|
+
}
|
|
14672
|
+
#getRelationshipIdForTool(toolName, toolType) {
|
|
14673
|
+
if (toolType === "mcp") {
|
|
14674
|
+
const matchingTool = this.config.tools?.find((tool3) => {
|
|
14675
|
+
if (tool3.config?.type !== "mcp") {
|
|
14676
|
+
return false;
|
|
14677
|
+
}
|
|
14678
|
+
if (tool3.availableTools?.some((available) => available.name === toolName)) {
|
|
14679
|
+
return true;
|
|
14680
|
+
}
|
|
14681
|
+
if (tool3.config.mcp.activeTools?.includes(toolName)) {
|
|
14682
|
+
return true;
|
|
14683
|
+
}
|
|
14684
|
+
return tool3.name === toolName;
|
|
14685
|
+
});
|
|
14686
|
+
return matchingTool?.relationshipId;
|
|
14687
|
+
}
|
|
14688
|
+
if (toolType === "delegation") {
|
|
14689
|
+
const relation = this.config.delegateRelations.find(
|
|
14690
|
+
(relation2) => this.#createRelationToolName("delegate", relation2.config.id) === toolName
|
|
14691
|
+
);
|
|
14692
|
+
return relation?.config.relationId;
|
|
14693
|
+
}
|
|
14694
|
+
}
|
|
14669
14695
|
/**
|
|
14670
14696
|
* Get the primary model settings for text generation and thinking
|
|
14671
14697
|
* Requires model to be configured at project level
|
|
@@ -14734,10 +14760,11 @@ var Agent = class {
|
|
|
14734
14760
|
/**
|
|
14735
14761
|
* Wraps a tool with streaming lifecycle tracking (start, complete, error) and AgentSession recording
|
|
14736
14762
|
*/
|
|
14737
|
-
wrapToolWithStreaming(toolName, toolDefinition, streamRequestId, toolType,
|
|
14763
|
+
wrapToolWithStreaming(toolName, toolDefinition, streamRequestId, toolType, options) {
|
|
14738
14764
|
if (!toolDefinition || typeof toolDefinition !== "object" || !("execute" in toolDefinition)) {
|
|
14739
14765
|
return toolDefinition;
|
|
14740
14766
|
}
|
|
14767
|
+
const relationshipId = this.#getRelationshipIdForTool(toolName, toolType);
|
|
14741
14768
|
const originalExecute = toolDefinition.execute;
|
|
14742
14769
|
return {
|
|
14743
14770
|
...toolDefinition,
|
|
@@ -14806,7 +14833,7 @@ var Agent = class {
|
|
|
14806
14833
|
};
|
|
14807
14834
|
await agentsCore.createMessage(dbClient_default)(messagePayload);
|
|
14808
14835
|
} catch (error) {
|
|
14809
|
-
|
|
14836
|
+
logger18.warn(
|
|
14810
14837
|
{ error, toolName, toolCallId, conversationId: toolResultConversationId },
|
|
14811
14838
|
"Failed to store tool result in conversation history"
|
|
14812
14839
|
);
|
|
@@ -14844,10 +14871,9 @@ var Agent = class {
|
|
|
14844
14871
|
}
|
|
14845
14872
|
getRelationTools(runtimeContext, sessionId) {
|
|
14846
14873
|
const { transferRelations = [], delegateRelations = [] } = this.config;
|
|
14847
|
-
const createToolName = (prefix, subAgentId) => `${prefix}_to_${subAgentId.toLowerCase().replace(/\s+/g, "_")}`;
|
|
14848
14874
|
return Object.fromEntries([
|
|
14849
14875
|
...transferRelations.map((agentConfig) => {
|
|
14850
|
-
const toolName =
|
|
14876
|
+
const toolName = this.#createRelationToolName("transfer", agentConfig.id);
|
|
14851
14877
|
return [
|
|
14852
14878
|
toolName,
|
|
14853
14879
|
this.wrapToolWithStreaming(
|
|
@@ -14864,7 +14890,7 @@ var Agent = class {
|
|
|
14864
14890
|
];
|
|
14865
14891
|
}),
|
|
14866
14892
|
...delegateRelations.map((relation) => {
|
|
14867
|
-
const toolName =
|
|
14893
|
+
const toolName = this.#createRelationToolName("delegate", relation.config.id);
|
|
14868
14894
|
return [
|
|
14869
14895
|
toolName,
|
|
14870
14896
|
this.wrapToolWithStreaming(
|
|
@@ -14901,8 +14927,7 @@ var Agent = class {
|
|
|
14901
14927
|
const tools = await Promise.all(mcpTools.map((tool3) => this.getMcpTool(tool3)) || []) || [];
|
|
14902
14928
|
if (!sessionId) {
|
|
14903
14929
|
const wrappedTools2 = {};
|
|
14904
|
-
for (const
|
|
14905
|
-
const relationshipId = mcpTools[index]?.relationshipId;
|
|
14930
|
+
for (const toolSet of tools) {
|
|
14906
14931
|
for (const [toolName, toolDef] of Object.entries(toolSet.tools)) {
|
|
14907
14932
|
const needsApproval = toolSet.toolPolicies?.[toolName]?.needsApproval || false;
|
|
14908
14933
|
const enhancedTool = {
|
|
@@ -14914,7 +14939,6 @@ var Agent = class {
|
|
|
14914
14939
|
enhancedTool,
|
|
14915
14940
|
streamRequestId,
|
|
14916
14941
|
"mcp",
|
|
14917
|
-
relationshipId,
|
|
14918
14942
|
{ needsApproval }
|
|
14919
14943
|
);
|
|
14920
14944
|
}
|
|
@@ -14922,15 +14946,14 @@ var Agent = class {
|
|
|
14922
14946
|
return wrappedTools2;
|
|
14923
14947
|
}
|
|
14924
14948
|
const wrappedTools = {};
|
|
14925
|
-
for (const
|
|
14926
|
-
const relationshipId = mcpTools[index]?.relationshipId;
|
|
14949
|
+
for (const toolResult of tools) {
|
|
14927
14950
|
for (const [toolName, originalTool] of Object.entries(toolResult.tools)) {
|
|
14928
14951
|
if (!isValidTool(originalTool)) {
|
|
14929
|
-
|
|
14952
|
+
logger18.error({ toolName }, "Invalid MCP tool structure - missing required properties");
|
|
14930
14953
|
continue;
|
|
14931
14954
|
}
|
|
14932
14955
|
const needsApproval = toolResult.toolPolicies?.[toolName]?.needsApproval || false;
|
|
14933
|
-
|
|
14956
|
+
logger18.debug(
|
|
14934
14957
|
{
|
|
14935
14958
|
toolName,
|
|
14936
14959
|
toolPolicies: toolResult.toolPolicies,
|
|
@@ -14944,7 +14967,7 @@ var Agent = class {
|
|
|
14944
14967
|
inputSchema: originalTool.inputSchema,
|
|
14945
14968
|
execute: async (args2, { toolCallId }) => {
|
|
14946
14969
|
if (needsApproval) {
|
|
14947
|
-
|
|
14970
|
+
logger18.info(
|
|
14948
14971
|
{ toolName, toolCallId, args: args2 },
|
|
14949
14972
|
"Tool requires approval - waiting for user response"
|
|
14950
14973
|
);
|
|
@@ -14990,7 +15013,7 @@ var Agent = class {
|
|
|
14990
15013
|
}
|
|
14991
15014
|
},
|
|
14992
15015
|
(denialSpan) => {
|
|
14993
|
-
|
|
15016
|
+
logger18.info(
|
|
14994
15017
|
{ toolName, toolCallId, reason: approvalResult.reason },
|
|
14995
15018
|
"Tool execution denied by user"
|
|
14996
15019
|
);
|
|
@@ -15011,18 +15034,18 @@ var Agent = class {
|
|
|
15011
15034
|
}
|
|
15012
15035
|
},
|
|
15013
15036
|
(approvedSpan) => {
|
|
15014
|
-
|
|
15037
|
+
logger18.info({ toolName, toolCallId }, "Tool approved, continuing with execution");
|
|
15015
15038
|
approvedSpan.setStatus({ code: api.SpanStatusCode.OK });
|
|
15016
15039
|
approvedSpan.end();
|
|
15017
15040
|
}
|
|
15018
15041
|
);
|
|
15019
15042
|
}
|
|
15020
|
-
|
|
15043
|
+
logger18.debug({ toolName, toolCallId }, "MCP Tool Called");
|
|
15021
15044
|
try {
|
|
15022
15045
|
const rawResult = await originalTool.execute(args2, { toolCallId });
|
|
15023
15046
|
if (rawResult && typeof rawResult === "object" && rawResult.isError) {
|
|
15024
15047
|
const errorMessage = rawResult.content?.[0]?.text || "MCP tool returned an error";
|
|
15025
|
-
|
|
15048
|
+
logger18.error(
|
|
15026
15049
|
{ toolName, toolCallId, errorMessage, rawResult },
|
|
15027
15050
|
"MCP tool returned error status"
|
|
15028
15051
|
);
|
|
@@ -15034,6 +15057,7 @@ var Agent = class {
|
|
|
15034
15057
|
timestamp: Date.now()
|
|
15035
15058
|
});
|
|
15036
15059
|
if (streamRequestId) {
|
|
15060
|
+
const relationshipId = this.#getRelationshipIdForTool(toolName, "mcp");
|
|
15037
15061
|
agentSessionManager.recordEvent(streamRequestId, "error", this.config.id, {
|
|
15038
15062
|
message: `MCP tool "${toolName}" failed: ${errorMessage}`,
|
|
15039
15063
|
code: "mcp_tool_error",
|
|
@@ -15072,7 +15096,7 @@ var Agent = class {
|
|
|
15072
15096
|
});
|
|
15073
15097
|
return { result: enhancedResult, toolCallId };
|
|
15074
15098
|
} catch (error) {
|
|
15075
|
-
|
|
15099
|
+
logger18.error({ toolName, toolCallId, error }, "MCP tool execution failed");
|
|
15076
15100
|
throw error;
|
|
15077
15101
|
}
|
|
15078
15102
|
}
|
|
@@ -15082,7 +15106,6 @@ var Agent = class {
|
|
|
15082
15106
|
sessionWrappedTool,
|
|
15083
15107
|
streamRequestId,
|
|
15084
15108
|
"mcp",
|
|
15085
|
-
relationshipId,
|
|
15086
15109
|
{ needsApproval }
|
|
15087
15110
|
);
|
|
15088
15111
|
}
|
|
@@ -15127,7 +15150,51 @@ var Agent = class {
|
|
|
15127
15150
|
const selectedTools = toolRelation?.selectedTools || void 0;
|
|
15128
15151
|
const toolPolicies = toolRelation?.toolPolicies || {};
|
|
15129
15152
|
let serverConfig;
|
|
15130
|
-
|
|
15153
|
+
const isUserScoped = tool3.credentialScope === "user";
|
|
15154
|
+
const userId = this.config.userId;
|
|
15155
|
+
if (isUserScoped && userId && this.credentialStuffer) {
|
|
15156
|
+
const userCredentialReference = await agentsCore.getUserScopedCredentialReference(dbClient_default)({
|
|
15157
|
+
scopes: {
|
|
15158
|
+
tenantId: this.config.tenantId,
|
|
15159
|
+
projectId: this.config.projectId
|
|
15160
|
+
},
|
|
15161
|
+
toolId: tool3.id,
|
|
15162
|
+
userId
|
|
15163
|
+
});
|
|
15164
|
+
if (userCredentialReference) {
|
|
15165
|
+
const storeReference = {
|
|
15166
|
+
credentialStoreId: userCredentialReference.credentialStoreId,
|
|
15167
|
+
retrievalParams: userCredentialReference.retrievalParams || {}
|
|
15168
|
+
};
|
|
15169
|
+
serverConfig = await this.credentialStuffer.buildMcpServerConfig(
|
|
15170
|
+
{
|
|
15171
|
+
tenantId: this.config.tenantId,
|
|
15172
|
+
projectId: this.config.projectId,
|
|
15173
|
+
contextConfigId: this.config.contextConfigId || void 0,
|
|
15174
|
+
conversationId: this.conversationId || void 0
|
|
15175
|
+
},
|
|
15176
|
+
this.convertToMCPToolConfig(tool3, agentToolRelationHeaders),
|
|
15177
|
+
storeReference,
|
|
15178
|
+
selectedTools
|
|
15179
|
+
);
|
|
15180
|
+
} else {
|
|
15181
|
+
logger18.warn(
|
|
15182
|
+
{ toolId: tool3.id, userId },
|
|
15183
|
+
"User-scoped tool has no credential connected for this user"
|
|
15184
|
+
);
|
|
15185
|
+
serverConfig = await this.credentialStuffer.buildMcpServerConfig(
|
|
15186
|
+
{
|
|
15187
|
+
tenantId: this.config.tenantId,
|
|
15188
|
+
projectId: this.config.projectId,
|
|
15189
|
+
contextConfigId: this.config.contextConfigId || void 0,
|
|
15190
|
+
conversationId: this.conversationId || void 0
|
|
15191
|
+
},
|
|
15192
|
+
this.convertToMCPToolConfig(tool3, agentToolRelationHeaders),
|
|
15193
|
+
void 0,
|
|
15194
|
+
selectedTools
|
|
15195
|
+
);
|
|
15196
|
+
}
|
|
15197
|
+
} else if (credentialReferenceId && this.credentialStuffer) {
|
|
15131
15198
|
const credentialReference = await agentsCore.getCredentialReference(dbClient_default)({
|
|
15132
15199
|
scopes: {
|
|
15133
15200
|
tenantId: this.config.tenantId,
|
|
@@ -15177,7 +15244,7 @@ var Agent = class {
|
|
|
15177
15244
|
headers: agentToolRelationHeaders
|
|
15178
15245
|
};
|
|
15179
15246
|
}
|
|
15180
|
-
|
|
15247
|
+
logger18.info(
|
|
15181
15248
|
{
|
|
15182
15249
|
toolName: tool3.name,
|
|
15183
15250
|
credentialReferenceId,
|
|
@@ -15202,7 +15269,7 @@ var Agent = class {
|
|
|
15202
15269
|
this.mcpClientCache.set(cacheKey, client);
|
|
15203
15270
|
} catch (error) {
|
|
15204
15271
|
this.mcpConnectionLocks.delete(cacheKey);
|
|
15205
|
-
|
|
15272
|
+
logger18.error(
|
|
15206
15273
|
{
|
|
15207
15274
|
toolName: tool3.name,
|
|
15208
15275
|
subAgentId: this.config.id,
|
|
@@ -15267,7 +15334,7 @@ var Agent = class {
|
|
|
15267
15334
|
await client.connect();
|
|
15268
15335
|
return client;
|
|
15269
15336
|
} catch (error) {
|
|
15270
|
-
|
|
15337
|
+
logger18.error(
|
|
15271
15338
|
{
|
|
15272
15339
|
toolName: tool3.name,
|
|
15273
15340
|
subAgentId: this.config.id,
|
|
@@ -15309,7 +15376,7 @@ var Agent = class {
|
|
|
15309
15376
|
for (const functionToolDef of functionToolsData) {
|
|
15310
15377
|
const functionId = functionToolDef.functionId;
|
|
15311
15378
|
if (!functionId) {
|
|
15312
|
-
|
|
15379
|
+
logger18.warn(
|
|
15313
15380
|
{ functionToolId: functionToolDef.id },
|
|
15314
15381
|
"Function tool missing functionId reference"
|
|
15315
15382
|
);
|
|
@@ -15323,18 +15390,18 @@ var Agent = class {
|
|
|
15323
15390
|
}
|
|
15324
15391
|
});
|
|
15325
15392
|
if (!functionData) {
|
|
15326
|
-
|
|
15393
|
+
logger18.warn(
|
|
15327
15394
|
{ functionId, functionToolId: functionToolDef.id },
|
|
15328
15395
|
"Function not found in functions table"
|
|
15329
15396
|
);
|
|
15330
15397
|
continue;
|
|
15331
15398
|
}
|
|
15332
|
-
const zodSchema = jsonSchemaToZod(functionData.inputSchema);
|
|
15399
|
+
const zodSchema = agentsCore.jsonSchemaToZod(functionData.inputSchema);
|
|
15333
15400
|
const aiTool = ai.tool({
|
|
15334
15401
|
description: functionToolDef.description || functionToolDef.name,
|
|
15335
15402
|
inputSchema: zodSchema,
|
|
15336
15403
|
execute: async (args2, { toolCallId }) => {
|
|
15337
|
-
|
|
15404
|
+
logger18.debug(
|
|
15338
15405
|
{ toolName: functionToolDef.name, toolCallId, args: args2 },
|
|
15339
15406
|
"Function Tool Called"
|
|
15340
15407
|
);
|
|
@@ -15361,7 +15428,7 @@ var Agent = class {
|
|
|
15361
15428
|
});
|
|
15362
15429
|
return { result, toolCallId };
|
|
15363
15430
|
} catch (error) {
|
|
15364
|
-
|
|
15431
|
+
logger18.error(
|
|
15365
15432
|
{
|
|
15366
15433
|
toolName: functionToolDef.name,
|
|
15367
15434
|
toolCallId,
|
|
@@ -15381,7 +15448,7 @@ var Agent = class {
|
|
|
15381
15448
|
);
|
|
15382
15449
|
}
|
|
15383
15450
|
} catch (error) {
|
|
15384
|
-
|
|
15451
|
+
logger18.error({ error }, "Failed to load function tools from database");
|
|
15385
15452
|
}
|
|
15386
15453
|
return functionTools;
|
|
15387
15454
|
}
|
|
@@ -15391,7 +15458,7 @@ var Agent = class {
|
|
|
15391
15458
|
async getResolvedContext(conversationId, headers2) {
|
|
15392
15459
|
try {
|
|
15393
15460
|
if (!this.config.contextConfigId) {
|
|
15394
|
-
|
|
15461
|
+
logger18.debug({ agentId: this.config.agentId }, "No context config found for agent");
|
|
15395
15462
|
return null;
|
|
15396
15463
|
}
|
|
15397
15464
|
const contextConfig = await agentsCore.getContextConfigById(dbClient_default)({
|
|
@@ -15403,7 +15470,7 @@ var Agent = class {
|
|
|
15403
15470
|
id: this.config.contextConfigId
|
|
15404
15471
|
});
|
|
15405
15472
|
if (!contextConfig) {
|
|
15406
|
-
|
|
15473
|
+
logger18.warn({ contextConfigId: this.config.contextConfigId }, "Context config not found");
|
|
15407
15474
|
return null;
|
|
15408
15475
|
}
|
|
15409
15476
|
if (!this.contextResolver) {
|
|
@@ -15419,7 +15486,7 @@ var Agent = class {
|
|
|
15419
15486
|
...result.resolvedContext,
|
|
15420
15487
|
$env: process.env
|
|
15421
15488
|
};
|
|
15422
|
-
|
|
15489
|
+
logger18.debug(
|
|
15423
15490
|
{
|
|
15424
15491
|
conversationId,
|
|
15425
15492
|
contextConfigId: contextConfig.id,
|
|
@@ -15433,7 +15500,7 @@ var Agent = class {
|
|
|
15433
15500
|
);
|
|
15434
15501
|
return contextWithBuiltins;
|
|
15435
15502
|
} catch (error) {
|
|
15436
|
-
|
|
15503
|
+
logger18.error(
|
|
15437
15504
|
{
|
|
15438
15505
|
conversationId,
|
|
15439
15506
|
error: error instanceof Error ? error.message : "Unknown error"
|
|
@@ -15457,7 +15524,7 @@ var Agent = class {
|
|
|
15457
15524
|
});
|
|
15458
15525
|
return agentDefinition?.prompt || void 0;
|
|
15459
15526
|
} catch (error) {
|
|
15460
|
-
|
|
15527
|
+
logger18.warn(
|
|
15461
15528
|
{
|
|
15462
15529
|
agentId: this.config.agentId,
|
|
15463
15530
|
error: error instanceof Error ? error.message : "Unknown error"
|
|
@@ -15486,7 +15553,7 @@ var Agent = class {
|
|
|
15486
15553
|
(subAgent) => "artifactComponents" in subAgent && subAgent.artifactComponents && subAgent.artifactComponents.length > 0
|
|
15487
15554
|
);
|
|
15488
15555
|
} catch (error) {
|
|
15489
|
-
|
|
15556
|
+
logger18.warn(
|
|
15490
15557
|
{
|
|
15491
15558
|
agentId: this.config.agentId,
|
|
15492
15559
|
tenantId: this.config.tenantId,
|
|
@@ -15507,15 +15574,15 @@ var Agent = class {
|
|
|
15507
15574
|
const hasAgentArtifactComponents = await this.hasAgentArtifactComponents();
|
|
15508
15575
|
const conversationId = runtimeContext?.metadata?.conversationId || runtimeContext?.contextId;
|
|
15509
15576
|
const resolvedContext = conversationId ? await this.getResolvedContext(conversationId) : null;
|
|
15510
|
-
let processedPrompt = this.config.prompt;
|
|
15511
|
-
if (resolvedContext) {
|
|
15577
|
+
let processedPrompt = this.config.prompt || "";
|
|
15578
|
+
if (resolvedContext && this.config.prompt) {
|
|
15512
15579
|
try {
|
|
15513
15580
|
processedPrompt = agentsCore.TemplateEngine.render(this.config.prompt, resolvedContext, {
|
|
15514
15581
|
strict: false,
|
|
15515
15582
|
preserveUnresolved: false
|
|
15516
15583
|
});
|
|
15517
15584
|
} catch (error) {
|
|
15518
|
-
|
|
15585
|
+
logger18.error(
|
|
15519
15586
|
{
|
|
15520
15587
|
conversationId,
|
|
15521
15588
|
error: error instanceof Error ? error.message : "Unknown error"
|
|
@@ -15554,15 +15621,15 @@ var Agent = class {
|
|
|
15554
15621
|
this.setConversationId(conversationId);
|
|
15555
15622
|
}
|
|
15556
15623
|
const resolvedContext = conversationId ? await this.getResolvedContext(conversationId) : null;
|
|
15557
|
-
let processedPrompt = this.config.prompt;
|
|
15558
|
-
if (resolvedContext) {
|
|
15624
|
+
let processedPrompt = this.config.prompt || "";
|
|
15625
|
+
if (resolvedContext && this.config.prompt) {
|
|
15559
15626
|
try {
|
|
15560
15627
|
processedPrompt = agentsCore.TemplateEngine.render(this.config.prompt, resolvedContext, {
|
|
15561
15628
|
strict: false,
|
|
15562
15629
|
preserveUnresolved: false
|
|
15563
15630
|
});
|
|
15564
15631
|
} catch (error) {
|
|
15565
|
-
|
|
15632
|
+
logger18.error(
|
|
15566
15633
|
{
|
|
15567
15634
|
conversationId,
|
|
15568
15635
|
error: error instanceof Error ? error.message : "Unknown error"
|
|
@@ -15577,7 +15644,7 @@ var Agent = class {
|
|
|
15577
15644
|
const functionTools = await this.getFunctionTools(streamRequestId || "");
|
|
15578
15645
|
const relationTools = this.getRelationTools(runtimeContext);
|
|
15579
15646
|
const allTools = { ...mcpTools, ...functionTools, ...relationTools };
|
|
15580
|
-
|
|
15647
|
+
logger18.info(
|
|
15581
15648
|
{
|
|
15582
15649
|
mcpTools: Object.keys(mcpTools),
|
|
15583
15650
|
functionTools: Object.keys(functionTools),
|
|
@@ -15616,7 +15683,7 @@ var Agent = class {
|
|
|
15616
15683
|
preserveUnresolved: false
|
|
15617
15684
|
});
|
|
15618
15685
|
} catch (error) {
|
|
15619
|
-
|
|
15686
|
+
logger18.error(
|
|
15620
15687
|
{
|
|
15621
15688
|
conversationId,
|
|
15622
15689
|
error: error instanceof Error ? error.message : "Unknown error"
|
|
@@ -15649,7 +15716,7 @@ var Agent = class {
|
|
|
15649
15716
|
toolCallId: zodOpenapi.z.string().describe("The tool call ID associated with this artifact.")
|
|
15650
15717
|
}),
|
|
15651
15718
|
execute: async ({ artifactId, toolCallId }) => {
|
|
15652
|
-
|
|
15719
|
+
logger18.info({ artifactId, toolCallId }, "get_artifact_full executed");
|
|
15653
15720
|
const streamRequestId = this.getStreamRequestId();
|
|
15654
15721
|
const artifactService = agentSessionManager.getArtifactService(streamRequestId);
|
|
15655
15722
|
if (!artifactService) {
|
|
@@ -15945,7 +16012,7 @@ ${output}`;
|
|
|
15945
16012
|
};
|
|
15946
16013
|
return enhanced;
|
|
15947
16014
|
} catch (error) {
|
|
15948
|
-
|
|
16015
|
+
logger18.warn({ error }, "Failed to enhance tool result with structure hints");
|
|
15949
16016
|
return result;
|
|
15950
16017
|
}
|
|
15951
16018
|
}
|
|
@@ -15960,7 +16027,7 @@ ${output}`;
|
|
|
15960
16027
|
}
|
|
15961
16028
|
});
|
|
15962
16029
|
} catch (error) {
|
|
15963
|
-
|
|
16030
|
+
logger18.error(
|
|
15964
16031
|
{ error, agentId: this.config.agentId },
|
|
15965
16032
|
"Failed to check agent artifact components"
|
|
15966
16033
|
);
|
|
@@ -16077,7 +16144,7 @@ ${output}`;
|
|
|
16077
16144
|
const configuredTimeout = modelSettings.maxDuration ? Math.min(modelSettings.maxDuration * 1e3, LLM_GENERATION_MAX_ALLOWED_TIMEOUT_MS) : shouldStreamPhase1 ? LLM_GENERATION_FIRST_CALL_TIMEOUT_MS_STREAMING : LLM_GENERATION_FIRST_CALL_TIMEOUT_MS_NON_STREAMING;
|
|
16078
16145
|
const timeoutMs = Math.min(configuredTimeout, LLM_GENERATION_MAX_ALLOWED_TIMEOUT_MS);
|
|
16079
16146
|
if (modelSettings.maxDuration && modelSettings.maxDuration * 1e3 > LLM_GENERATION_MAX_ALLOWED_TIMEOUT_MS) {
|
|
16080
|
-
|
|
16147
|
+
logger18.warn(
|
|
16081
16148
|
{
|
|
16082
16149
|
requestedTimeout: modelSettings.maxDuration * 1e3,
|
|
16083
16150
|
appliedTimeout: timeoutMs,
|
|
@@ -16119,7 +16186,7 @@ ${output}`;
|
|
|
16119
16186
|
}
|
|
16120
16187
|
);
|
|
16121
16188
|
} catch (error) {
|
|
16122
|
-
|
|
16189
|
+
logger18.debug({ error }, "Failed to track agent reasoning");
|
|
16123
16190
|
}
|
|
16124
16191
|
}
|
|
16125
16192
|
if (last && last["content"] && last["content"].length > 0) {
|
|
@@ -16254,7 +16321,7 @@ ${output}`;
|
|
|
16254
16321
|
}
|
|
16255
16322
|
);
|
|
16256
16323
|
} catch (error) {
|
|
16257
|
-
|
|
16324
|
+
logger18.debug({ error }, "Failed to track agent reasoning");
|
|
16258
16325
|
}
|
|
16259
16326
|
}
|
|
16260
16327
|
if (steps.length >= 2) {
|
|
@@ -16364,7 +16431,7 @@ ${output}${structureHintsFormatted}`;
|
|
|
16364
16431
|
const componentSchemas = [];
|
|
16365
16432
|
if (this.config.dataComponents && this.config.dataComponents.length > 0) {
|
|
16366
16433
|
this.config.dataComponents.forEach((dc) => {
|
|
16367
|
-
const propsSchema = jsonSchemaToZod(dc.props);
|
|
16434
|
+
const propsSchema = agentsCore.jsonSchemaToZod(dc.props);
|
|
16368
16435
|
componentSchemas.push(
|
|
16369
16436
|
zodOpenapi.z.object({
|
|
16370
16437
|
id: zodOpenapi.z.string(),
|
|
@@ -16401,7 +16468,7 @@ ${output}${structureHintsFormatted}`;
|
|
|
16401
16468
|
LLM_GENERATION_MAX_ALLOWED_TIMEOUT_MS
|
|
16402
16469
|
);
|
|
16403
16470
|
if (structuredModelSettings.maxDuration && structuredModelSettings.maxDuration * 1e3 > LLM_GENERATION_MAX_ALLOWED_TIMEOUT_MS) {
|
|
16404
|
-
|
|
16471
|
+
logger18.warn(
|
|
16405
16472
|
{
|
|
16406
16473
|
requestedTimeout: structuredModelSettings.maxDuration * 1e3,
|
|
16407
16474
|
appliedTimeout: phase2TimeoutMs,
|
|
@@ -16577,7 +16644,7 @@ ${output}${structureHintsFormatted}`;
|
|
|
16577
16644
|
};
|
|
16578
16645
|
|
|
16579
16646
|
// src/agents/generateTaskHandler.ts
|
|
16580
|
-
var
|
|
16647
|
+
var logger19 = agentsCore.getLogger("generateTaskHandler");
|
|
16581
16648
|
var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
16582
16649
|
return async (task) => {
|
|
16583
16650
|
try {
|
|
@@ -16695,7 +16762,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16695
16762
|
return { ...relation, description: enhancedDescription };
|
|
16696
16763
|
}
|
|
16697
16764
|
} catch (error) {
|
|
16698
|
-
|
|
16765
|
+
logger19.warn({ subAgentId: relation.id, error }, "Failed to enhance agent description");
|
|
16699
16766
|
}
|
|
16700
16767
|
return relation;
|
|
16701
16768
|
})
|
|
@@ -16753,7 +16820,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16753
16820
|
};
|
|
16754
16821
|
}
|
|
16755
16822
|
} catch (error) {
|
|
16756
|
-
|
|
16823
|
+
logger19.warn(
|
|
16757
16824
|
{ targetAgentId: relation.targetAgentId, error },
|
|
16758
16825
|
"Failed to enhance team agent description"
|
|
16759
16826
|
);
|
|
@@ -16761,7 +16828,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16761
16828
|
return relation;
|
|
16762
16829
|
})
|
|
16763
16830
|
);
|
|
16764
|
-
const prompt = "prompt" in config.agentSchema ? config.agentSchema.prompt : "";
|
|
16831
|
+
const prompt = "prompt" in config.agentSchema ? config.agentSchema.prompt || void 0 : "";
|
|
16765
16832
|
const models = "models" in config.agentSchema ? config.agentSchema.models : void 0;
|
|
16766
16833
|
const stopWhen = "stopWhen" in config.agentSchema ? config.agentSchema.stopWhen : void 0;
|
|
16767
16834
|
const toolsForAgentResult = await Promise.all(
|
|
@@ -16770,7 +16837,8 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16770
16837
|
item.tool,
|
|
16771
16838
|
dbClient_default,
|
|
16772
16839
|
credentialStoreRegistry,
|
|
16773
|
-
item.id
|
|
16840
|
+
item.id,
|
|
16841
|
+
config.userId
|
|
16774
16842
|
);
|
|
16775
16843
|
if (item.selectedTools && item.selectedTools.length > 0) {
|
|
16776
16844
|
const selectedToolsSet = new Set(item.selectedTools);
|
|
@@ -16787,6 +16855,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16787
16855
|
agentId: config.agentId,
|
|
16788
16856
|
baseUrl: config.baseUrl,
|
|
16789
16857
|
apiKey: config.apiKey,
|
|
16858
|
+
userId: config.userId,
|
|
16790
16859
|
name: config.name,
|
|
16791
16860
|
description: config.description || "",
|
|
16792
16861
|
prompt,
|
|
@@ -16800,7 +16869,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16800
16869
|
baseUrl: config.baseUrl,
|
|
16801
16870
|
apiKey: config.apiKey,
|
|
16802
16871
|
name: relation.name,
|
|
16803
|
-
description: relation.description,
|
|
16872
|
+
description: relation.description || void 0,
|
|
16804
16873
|
prompt: "",
|
|
16805
16874
|
delegateRelations: [],
|
|
16806
16875
|
subAgentRelations: [],
|
|
@@ -16840,7 +16909,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16840
16909
|
targetTransferRelations = transferRel;
|
|
16841
16910
|
targetDelegateRelations = delegateRel;
|
|
16842
16911
|
} catch (err2) {
|
|
16843
|
-
|
|
16912
|
+
logger19.info(
|
|
16844
16913
|
{
|
|
16845
16914
|
agentId: relation.id,
|
|
16846
16915
|
error: err2?.message || "Unknown error"
|
|
@@ -16854,7 +16923,8 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16854
16923
|
item.tool,
|
|
16855
16924
|
dbClient_default,
|
|
16856
16925
|
credentialStoreRegistry,
|
|
16857
|
-
item.id
|
|
16926
|
+
item.id,
|
|
16927
|
+
config.userId
|
|
16858
16928
|
);
|
|
16859
16929
|
if (item.selectedTools && item.selectedTools.length > 0) {
|
|
16860
16930
|
const selectedToolsSet = new Set(item.selectedTools);
|
|
@@ -16903,7 +16973,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16903
16973
|
projectId: config.projectId,
|
|
16904
16974
|
agentId: config.agentId,
|
|
16905
16975
|
name: relation.name,
|
|
16906
|
-
description: relation.description,
|
|
16976
|
+
description: relation.description || void 0,
|
|
16907
16977
|
prompt: "",
|
|
16908
16978
|
delegateRelations: targetDelegateRelationsConfig,
|
|
16909
16979
|
subAgentRelations: [],
|
|
@@ -16918,13 +16988,14 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16918
16988
|
type: "internal",
|
|
16919
16989
|
config: {
|
|
16920
16990
|
id: relation.id,
|
|
16991
|
+
relationId: relation.relationId,
|
|
16921
16992
|
tenantId: config.tenantId,
|
|
16922
16993
|
projectId: config.projectId,
|
|
16923
16994
|
agentId: config.agentId,
|
|
16924
16995
|
baseUrl: config.baseUrl,
|
|
16925
16996
|
apiKey: config.apiKey,
|
|
16926
16997
|
name: relation.name,
|
|
16927
|
-
description: relation.description,
|
|
16998
|
+
description: relation.description || void 0,
|
|
16928
16999
|
prompt: "",
|
|
16929
17000
|
delegateRelations: [],
|
|
16930
17001
|
// Simplified - no nested relations
|
|
@@ -16979,7 +17050,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16979
17050
|
const taskIdMatch = task.id.match(/^task_([^-]+-[^-]+-\d+)-/);
|
|
16980
17051
|
if (taskIdMatch) {
|
|
16981
17052
|
contextId = taskIdMatch[1];
|
|
16982
|
-
|
|
17053
|
+
logger19.info(
|
|
16983
17054
|
{
|
|
16984
17055
|
taskId: task.id,
|
|
16985
17056
|
extractedContextId: contextId,
|
|
@@ -16997,7 +17068,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
16997
17068
|
agent.setDelegationStatus(isDelegation);
|
|
16998
17069
|
agent.setDelegationId(delegationId);
|
|
16999
17070
|
if (isDelegation) {
|
|
17000
|
-
|
|
17071
|
+
logger19.info(
|
|
17001
17072
|
{ subAgentId: config.subAgentId, taskId: task.id, delegationId },
|
|
17002
17073
|
"Delegated agent - streaming disabled"
|
|
17003
17074
|
);
|
|
@@ -17034,7 +17105,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
17034
17105
|
const toolResult = allToolResults.find(
|
|
17035
17106
|
(result) => result.toolCallId === toolCall.toolCallId
|
|
17036
17107
|
);
|
|
17037
|
-
|
|
17108
|
+
logger19.info(
|
|
17038
17109
|
{
|
|
17039
17110
|
toolCallName: toolCall.toolName,
|
|
17040
17111
|
toolCallId: toolCall.toolCallId,
|
|
@@ -17051,7 +17122,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
17051
17122
|
const transferReason = responseText || allThoughts[allThoughts.length - 1]?.text || "Agent requested transfer. No reason provided.";
|
|
17052
17123
|
if (toolResult?.output && isValidTransferResult(toolResult.output)) {
|
|
17053
17124
|
const transferResult = toolResult.output;
|
|
17054
|
-
|
|
17125
|
+
logger19.info(
|
|
17055
17126
|
{
|
|
17056
17127
|
validationPassed: true,
|
|
17057
17128
|
transferResult,
|
|
@@ -17068,7 +17139,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
17068
17139
|
reason: transferReason,
|
|
17069
17140
|
original_message: userMessage
|
|
17070
17141
|
};
|
|
17071
|
-
|
|
17142
|
+
logger19.info(
|
|
17072
17143
|
{
|
|
17073
17144
|
artifactData,
|
|
17074
17145
|
artifactDataKeys: Object.keys(artifactData)
|
|
@@ -17093,7 +17164,7 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
17093
17164
|
]
|
|
17094
17165
|
};
|
|
17095
17166
|
}
|
|
17096
|
-
|
|
17167
|
+
logger19.warn(
|
|
17097
17168
|
{
|
|
17098
17169
|
hasToolResult: !!toolResult,
|
|
17099
17170
|
hasOutput: !!toolResult?.output,
|
|
@@ -17122,7 +17193,9 @@ var createTaskHandler = (config, credentialStoreRegistry) => {
|
|
|
17122
17193
|
} catch (error) {
|
|
17123
17194
|
console.error("Task handler error:", error);
|
|
17124
17195
|
const errorMessage = error instanceof Error ? error.message : "Unknown error occurred";
|
|
17125
|
-
const isConnectionRefused = errorMessage.includes(
|
|
17196
|
+
const isConnectionRefused = errorMessage.includes(
|
|
17197
|
+
"Connection refused. Please check if the MCP server is running."
|
|
17198
|
+
);
|
|
17126
17199
|
return {
|
|
17127
17200
|
status: {
|
|
17128
17201
|
state: agentsCore.TaskState.Failed,
|
|
@@ -17174,17 +17247,18 @@ var createTaskHandlerConfig = async (params) => {
|
|
|
17174
17247
|
baseUrl: params.baseUrl,
|
|
17175
17248
|
apiKey: params.apiKey,
|
|
17176
17249
|
name: subAgent.name,
|
|
17177
|
-
description: subAgent.description,
|
|
17250
|
+
description: subAgent.description || void 0,
|
|
17178
17251
|
conversationHistoryConfig: effectiveConversationHistoryConfig,
|
|
17179
17252
|
contextConfigId: agent?.contextConfigId || void 0,
|
|
17180
|
-
sandboxConfig: params.sandboxConfig
|
|
17253
|
+
sandboxConfig: params.sandboxConfig,
|
|
17254
|
+
userId: params.userId
|
|
17181
17255
|
};
|
|
17182
17256
|
};
|
|
17183
17257
|
|
|
17184
17258
|
// src/data/agents.ts
|
|
17185
17259
|
init_logger();
|
|
17186
17260
|
init_dbClient();
|
|
17187
|
-
var
|
|
17261
|
+
var logger20 = agentsCore.getLogger("agents");
|
|
17188
17262
|
function createAgentCard({
|
|
17189
17263
|
dbAgent,
|
|
17190
17264
|
baseUrl
|
|
@@ -17254,7 +17328,8 @@ async function hydrateAgent({
|
|
|
17254
17328
|
baseUrl,
|
|
17255
17329
|
apiKey,
|
|
17256
17330
|
credentialStoreRegistry,
|
|
17257
|
-
sandboxConfig
|
|
17331
|
+
sandboxConfig,
|
|
17332
|
+
userId
|
|
17258
17333
|
}) {
|
|
17259
17334
|
try {
|
|
17260
17335
|
const taskHandlerConfig = await createTaskHandlerConfig({
|
|
@@ -17264,7 +17339,8 @@ async function hydrateAgent({
|
|
|
17264
17339
|
subAgentId: dbAgent.id,
|
|
17265
17340
|
baseUrl,
|
|
17266
17341
|
apiKey,
|
|
17267
|
-
sandboxConfig
|
|
17342
|
+
sandboxConfig,
|
|
17343
|
+
userId
|
|
17268
17344
|
});
|
|
17269
17345
|
const taskHandler = createTaskHandler(taskHandlerConfig, credentialStoreRegistry);
|
|
17270
17346
|
const agentCard = createAgentCard({
|
|
@@ -17287,12 +17363,13 @@ async function hydrateAgent({
|
|
|
17287
17363
|
async function getRegisteredAgent(params) {
|
|
17288
17364
|
const { executionContext, credentialStoreRegistry, sandboxConfig } = params;
|
|
17289
17365
|
const { tenantId, projectId, agentId, subAgentId, baseUrl, apiKey } = executionContext;
|
|
17366
|
+
const userId = getUserIdFromContext(executionContext);
|
|
17290
17367
|
let dbAgent;
|
|
17291
17368
|
if (!subAgentId) {
|
|
17292
17369
|
const agent = await agentsCore.getAgentWithDefaultSubAgent(dbClient_default)({
|
|
17293
17370
|
scopes: { tenantId, projectId, agentId }
|
|
17294
17371
|
});
|
|
17295
|
-
|
|
17372
|
+
logger20.info({ agent }, "agent with default sub agent");
|
|
17296
17373
|
if (!agent || !agent.defaultSubAgent) {
|
|
17297
17374
|
return null;
|
|
17298
17375
|
}
|
|
@@ -17317,7 +17394,8 @@ async function getRegisteredAgent(params) {
|
|
|
17317
17394
|
baseUrl: agentFrameworkBaseUrl,
|
|
17318
17395
|
credentialStoreRegistry,
|
|
17319
17396
|
apiKey,
|
|
17320
|
-
sandboxConfig
|
|
17397
|
+
sandboxConfig,
|
|
17398
|
+
userId
|
|
17321
17399
|
});
|
|
17322
17400
|
}
|
|
17323
17401
|
|
|
@@ -17325,7 +17403,7 @@ async function getRegisteredAgent(params) {
|
|
|
17325
17403
|
init_dbClient();
|
|
17326
17404
|
init_logger();
|
|
17327
17405
|
var app = new zodOpenapi.OpenAPIHono();
|
|
17328
|
-
var
|
|
17406
|
+
var logger21 = agentsCore.getLogger("agents");
|
|
17329
17407
|
app.openapi(
|
|
17330
17408
|
zodOpenapi.createRoute({
|
|
17331
17409
|
method: "get",
|
|
@@ -17363,7 +17441,7 @@ app.openapi(
|
|
|
17363
17441
|
tracestate: c2.req.header("tracestate"),
|
|
17364
17442
|
baggage: c2.req.header("baggage")
|
|
17365
17443
|
};
|
|
17366
|
-
|
|
17444
|
+
logger21.info(
|
|
17367
17445
|
{
|
|
17368
17446
|
otelHeaders,
|
|
17369
17447
|
path: c2.req.path,
|
|
@@ -17373,8 +17451,8 @@ app.openapi(
|
|
|
17373
17451
|
);
|
|
17374
17452
|
const executionContext = agentsCore.getRequestExecutionContext(c2);
|
|
17375
17453
|
const { tenantId, projectId, agentId, subAgentId } = executionContext;
|
|
17376
|
-
|
|
17377
|
-
|
|
17454
|
+
logger21.info({ executionContext }, "executionContext");
|
|
17455
|
+
logger21.info(
|
|
17378
17456
|
{
|
|
17379
17457
|
message: "getRegisteredAgent (agent-level)",
|
|
17380
17458
|
tenantId,
|
|
@@ -17391,7 +17469,7 @@ app.openapi(
|
|
|
17391
17469
|
credentialStoreRegistry: credentialStores,
|
|
17392
17470
|
sandboxConfig
|
|
17393
17471
|
});
|
|
17394
|
-
|
|
17472
|
+
logger21.info({ agent }, "agent registered: well-known agent.json");
|
|
17395
17473
|
if (!agent) {
|
|
17396
17474
|
throw agentsCore.createApiError({
|
|
17397
17475
|
code: "not_found",
|
|
@@ -17407,7 +17485,7 @@ app.post("/a2a", async (c2) => {
|
|
|
17407
17485
|
tracestate: c2.req.header("tracestate"),
|
|
17408
17486
|
baggage: c2.req.header("baggage")
|
|
17409
17487
|
};
|
|
17410
|
-
|
|
17488
|
+
logger21.info(
|
|
17411
17489
|
{
|
|
17412
17490
|
otelHeaders,
|
|
17413
17491
|
path: c2.req.path,
|
|
@@ -17418,7 +17496,7 @@ app.post("/a2a", async (c2) => {
|
|
|
17418
17496
|
const executionContext = agentsCore.getRequestExecutionContext(c2);
|
|
17419
17497
|
const { tenantId, projectId, agentId, subAgentId } = executionContext;
|
|
17420
17498
|
if (subAgentId) {
|
|
17421
|
-
|
|
17499
|
+
logger21.info(
|
|
17422
17500
|
{
|
|
17423
17501
|
message: "a2a (agent-level)",
|
|
17424
17502
|
tenantId,
|
|
@@ -17447,7 +17525,7 @@ app.post("/a2a", async (c2) => {
|
|
|
17447
17525
|
}
|
|
17448
17526
|
return a2aHandler(c2, agent2);
|
|
17449
17527
|
}
|
|
17450
|
-
|
|
17528
|
+
logger21.info(
|
|
17451
17529
|
{
|
|
17452
17530
|
message: "a2a (agent-level)",
|
|
17453
17531
|
tenantId,
|
|
@@ -17532,14 +17610,14 @@ function extractTransferData(task) {
|
|
|
17532
17610
|
}
|
|
17533
17611
|
|
|
17534
17612
|
// src/a2a/transfer.ts
|
|
17535
|
-
var
|
|
17613
|
+
var logger22 = agentsCore.getLogger("Transfer");
|
|
17536
17614
|
async function executeTransfer({
|
|
17537
17615
|
tenantId,
|
|
17538
17616
|
threadId,
|
|
17539
17617
|
projectId,
|
|
17540
17618
|
targetSubAgentId
|
|
17541
17619
|
}) {
|
|
17542
|
-
|
|
17620
|
+
logger22.info(
|
|
17543
17621
|
{
|
|
17544
17622
|
targetAgent: targetSubAgentId,
|
|
17545
17623
|
threadId,
|
|
@@ -17554,12 +17632,12 @@ async function executeTransfer({
|
|
|
17554
17632
|
threadId,
|
|
17555
17633
|
subAgentId: targetSubAgentId
|
|
17556
17634
|
});
|
|
17557
|
-
|
|
17635
|
+
logger22.info(
|
|
17558
17636
|
{ targetAgent: targetSubAgentId, threadId },
|
|
17559
17637
|
"Successfully updated active_sub_agent_id in database"
|
|
17560
17638
|
);
|
|
17561
17639
|
} catch (error) {
|
|
17562
|
-
|
|
17640
|
+
logger22.error(
|
|
17563
17641
|
{ error, targetAgent: targetSubAgentId, threadId },
|
|
17564
17642
|
"Failed to update active_sub_agent_id"
|
|
17565
17643
|
);
|
|
@@ -18131,7 +18209,7 @@ function createBufferingStreamHelper() {
|
|
|
18131
18209
|
var createMCPStreamHelper = createBufferingStreamHelper;
|
|
18132
18210
|
|
|
18133
18211
|
// src/handlers/executionHandler.ts
|
|
18134
|
-
var
|
|
18212
|
+
var logger23 = agentsCore.getLogger("ExecutionHandler");
|
|
18135
18213
|
var ExecutionHandler = class {
|
|
18136
18214
|
MAX_ERRORS = AGENT_EXECUTION_MAX_CONSECUTIVE_ERRORS;
|
|
18137
18215
|
/**
|
|
@@ -18164,7 +18242,7 @@ var ExecutionHandler = class {
|
|
|
18164
18242
|
if (emitOperations) {
|
|
18165
18243
|
agentSessionManager.enableEmitOperations(requestId2);
|
|
18166
18244
|
}
|
|
18167
|
-
|
|
18245
|
+
logger23.info(
|
|
18168
18246
|
{ sessionId: requestId2, agentId, conversationId, emitOperations },
|
|
18169
18247
|
"Created AgentSession for message execution"
|
|
18170
18248
|
);
|
|
@@ -18197,7 +18275,7 @@ var ExecutionHandler = class {
|
|
|
18197
18275
|
);
|
|
18198
18276
|
}
|
|
18199
18277
|
} catch (modelError) {
|
|
18200
|
-
|
|
18278
|
+
logger23.warn(
|
|
18201
18279
|
{
|
|
18202
18280
|
error: modelError instanceof Error ? modelError.message : "Unknown error",
|
|
18203
18281
|
agentId
|
|
@@ -18212,7 +18290,7 @@ var ExecutionHandler = class {
|
|
|
18212
18290
|
}
|
|
18213
18291
|
}
|
|
18214
18292
|
} catch (error) {
|
|
18215
|
-
|
|
18293
|
+
logger23.error(
|
|
18216
18294
|
{
|
|
18217
18295
|
error: error instanceof Error ? error.message : "Unknown error",
|
|
18218
18296
|
stack: error instanceof Error ? error.stack : void 0
|
|
@@ -18228,7 +18306,7 @@ var ExecutionHandler = class {
|
|
|
18228
18306
|
try {
|
|
18229
18307
|
await sseHelper.writeOperation(agentInitializingOp(requestId2, agentId));
|
|
18230
18308
|
const taskId = `task_${conversationId}-${requestId2}`;
|
|
18231
|
-
|
|
18309
|
+
logger23.info(
|
|
18232
18310
|
{ taskId, currentAgentId, conversationId, requestId: requestId2 },
|
|
18233
18311
|
"Attempting to create or reuse existing task"
|
|
18234
18312
|
);
|
|
@@ -18252,7 +18330,7 @@ var ExecutionHandler = class {
|
|
|
18252
18330
|
sub_agent_id: currentAgentId
|
|
18253
18331
|
}
|
|
18254
18332
|
});
|
|
18255
|
-
|
|
18333
|
+
logger23.info(
|
|
18256
18334
|
{
|
|
18257
18335
|
taskId,
|
|
18258
18336
|
createdTaskMetadata: Array.isArray(task) ? task[0]?.metadata : task?.metadata
|
|
@@ -18261,27 +18339,27 @@ var ExecutionHandler = class {
|
|
|
18261
18339
|
);
|
|
18262
18340
|
} catch (error) {
|
|
18263
18341
|
if (error?.cause?.code === "23505") {
|
|
18264
|
-
|
|
18342
|
+
logger23.info(
|
|
18265
18343
|
{ taskId, error: error.message },
|
|
18266
18344
|
"Task already exists, fetching existing task"
|
|
18267
18345
|
);
|
|
18268
18346
|
const existingTask = await agentsCore.getTask(dbClient_default)({ id: taskId });
|
|
18269
18347
|
if (existingTask) {
|
|
18270
18348
|
task = existingTask;
|
|
18271
|
-
|
|
18349
|
+
logger23.info(
|
|
18272
18350
|
{ taskId, existingTask },
|
|
18273
18351
|
"Successfully reused existing task from race condition"
|
|
18274
18352
|
);
|
|
18275
18353
|
} else {
|
|
18276
|
-
|
|
18354
|
+
logger23.error({ taskId, error }, "Task constraint failed but task not found");
|
|
18277
18355
|
throw error;
|
|
18278
18356
|
}
|
|
18279
18357
|
} else {
|
|
18280
|
-
|
|
18358
|
+
logger23.error({ taskId, error }, "Failed to create task due to non-constraint error");
|
|
18281
18359
|
throw error;
|
|
18282
18360
|
}
|
|
18283
18361
|
}
|
|
18284
|
-
|
|
18362
|
+
logger23.debug(
|
|
18285
18363
|
{
|
|
18286
18364
|
timestamp: /* @__PURE__ */ new Date(),
|
|
18287
18365
|
executionType: "create_initial_task",
|
|
@@ -18300,7 +18378,7 @@ var ExecutionHandler = class {
|
|
|
18300
18378
|
const maxTransfers = agentConfig?.stopWhen?.transferCountIs ?? agentsCore.AGENT_EXECUTION_TRANSFER_COUNT_DEFAULT;
|
|
18301
18379
|
while (iterations < maxTransfers) {
|
|
18302
18380
|
iterations++;
|
|
18303
|
-
|
|
18381
|
+
logger23.info(
|
|
18304
18382
|
{ iterations, currentAgentId, agentId, conversationId, fromSubAgentId },
|
|
18305
18383
|
`Execution loop iteration ${iterations} with agent ${currentAgentId}, transfer from: ${fromSubAgentId || "none"}`
|
|
18306
18384
|
);
|
|
@@ -18308,10 +18386,10 @@ var ExecutionHandler = class {
|
|
|
18308
18386
|
scopes: { tenantId, projectId },
|
|
18309
18387
|
conversationId
|
|
18310
18388
|
});
|
|
18311
|
-
|
|
18389
|
+
logger23.info({ activeAgent }, "activeAgent");
|
|
18312
18390
|
if (activeAgent && activeAgent.activeSubAgentId !== currentAgentId) {
|
|
18313
18391
|
currentAgentId = activeAgent.activeSubAgentId;
|
|
18314
|
-
|
|
18392
|
+
logger23.info({ currentAgentId }, `Updated current agent to: ${currentAgentId}`);
|
|
18315
18393
|
}
|
|
18316
18394
|
const agentBaseUrl = `${baseUrl}/agents`;
|
|
18317
18395
|
const a2aClient = new A2AClient(agentBaseUrl, {
|
|
@@ -18352,13 +18430,13 @@ var ExecutionHandler = class {
|
|
|
18352
18430
|
});
|
|
18353
18431
|
if (!messageResponse?.result) {
|
|
18354
18432
|
errorCount++;
|
|
18355
|
-
|
|
18433
|
+
logger23.error(
|
|
18356
18434
|
{ currentAgentId, iterations, errorCount },
|
|
18357
18435
|
`No response from agent ${currentAgentId} on iteration ${iterations} (error ${errorCount}/${this.MAX_ERRORS})`
|
|
18358
18436
|
);
|
|
18359
18437
|
if (errorCount >= this.MAX_ERRORS) {
|
|
18360
18438
|
const errorMessage2 = `Maximum error limit (${this.MAX_ERRORS}) reached`;
|
|
18361
|
-
|
|
18439
|
+
logger23.error({ maxErrors: this.MAX_ERRORS, errorCount }, errorMessage2);
|
|
18362
18440
|
await sseHelper.writeOperation(errorOp(errorMessage2, currentAgentId || "system"));
|
|
18363
18441
|
if (task) {
|
|
18364
18442
|
await agentsCore.updateTask(dbClient_default)({
|
|
@@ -18373,7 +18451,7 @@ var ExecutionHandler = class {
|
|
|
18373
18451
|
}
|
|
18374
18452
|
});
|
|
18375
18453
|
}
|
|
18376
|
-
agentSessionManager.endSession(requestId2);
|
|
18454
|
+
await agentSessionManager.endSession(requestId2);
|
|
18377
18455
|
unregisterStreamHelper(requestId2);
|
|
18378
18456
|
return { success: false, error: errorMessage2, iterations };
|
|
18379
18457
|
}
|
|
@@ -18382,7 +18460,7 @@ var ExecutionHandler = class {
|
|
|
18382
18460
|
if (isTransferTask(messageResponse.result)) {
|
|
18383
18461
|
const transferData = extractTransferData(messageResponse.result);
|
|
18384
18462
|
if (!transferData) {
|
|
18385
|
-
|
|
18463
|
+
logger23.error(
|
|
18386
18464
|
{ result: messageResponse.result },
|
|
18387
18465
|
"Transfer detected but no transfer data found"
|
|
18388
18466
|
);
|
|
@@ -18391,7 +18469,7 @@ var ExecutionHandler = class {
|
|
|
18391
18469
|
const { targetSubAgentId, fromSubAgentId: transferFromAgent } = transferData;
|
|
18392
18470
|
const firstArtifact = messageResponse.result.artifacts[0];
|
|
18393
18471
|
const transferReason = firstArtifact?.parts[1]?.kind === "text" ? firstArtifact.parts[1].text : "Transfer initiated";
|
|
18394
|
-
|
|
18472
|
+
logger23.info({ targetSubAgentId, transferReason, transferFromAgent }, "Transfer response");
|
|
18395
18473
|
await agentsCore.createMessage(dbClient_default)({
|
|
18396
18474
|
id: agentsCore.generateId(),
|
|
18397
18475
|
tenantId,
|
|
@@ -18422,7 +18500,7 @@ var ExecutionHandler = class {
|
|
|
18422
18500
|
if (success) {
|
|
18423
18501
|
fromSubAgentId = currentAgentId;
|
|
18424
18502
|
currentAgentId = newAgentId;
|
|
18425
|
-
|
|
18503
|
+
logger23.info(
|
|
18426
18504
|
{
|
|
18427
18505
|
transferFrom: fromSubAgentId,
|
|
18428
18506
|
transferTo: currentAgentId,
|
|
@@ -18436,7 +18514,7 @@ var ExecutionHandler = class {
|
|
|
18436
18514
|
let responseParts = [];
|
|
18437
18515
|
if (messageResponse.result.streamedContent?.parts) {
|
|
18438
18516
|
responseParts = messageResponse.result.streamedContent.parts;
|
|
18439
|
-
|
|
18517
|
+
logger23.info(
|
|
18440
18518
|
{ partsCount: responseParts.length },
|
|
18441
18519
|
"Using streamed content for conversation history"
|
|
18442
18520
|
);
|
|
@@ -18444,7 +18522,7 @@ var ExecutionHandler = class {
|
|
|
18444
18522
|
responseParts = messageResponse.result.artifacts?.flatMap(
|
|
18445
18523
|
(artifact) => artifact.parts || []
|
|
18446
18524
|
) || [];
|
|
18447
|
-
|
|
18525
|
+
logger23.info(
|
|
18448
18526
|
{ partsCount: responseParts.length },
|
|
18449
18527
|
"Using artifacts for conversation history (fallback)"
|
|
18450
18528
|
);
|
|
@@ -18453,7 +18531,7 @@ var ExecutionHandler = class {
|
|
|
18453
18531
|
const agentSessionData = agentSessionManager.getSession(requestId2);
|
|
18454
18532
|
if (agentSessionData) {
|
|
18455
18533
|
const sessionSummary = agentSessionData.getSummary();
|
|
18456
|
-
|
|
18534
|
+
logger23.info(sessionSummary, "AgentSession data after completion");
|
|
18457
18535
|
}
|
|
18458
18536
|
let textContent = "";
|
|
18459
18537
|
for (const part of responseParts) {
|
|
@@ -18507,22 +18585,22 @@ var ExecutionHandler = class {
|
|
|
18507
18585
|
}
|
|
18508
18586
|
});
|
|
18509
18587
|
const updateTaskEnd = Date.now();
|
|
18510
|
-
|
|
18588
|
+
logger23.info(
|
|
18511
18589
|
{ duration: updateTaskEnd - updateTaskStart },
|
|
18512
18590
|
"Completed updateTask operation"
|
|
18513
18591
|
);
|
|
18514
18592
|
await sseHelper.writeOperation(completionOp(currentAgentId, iterations));
|
|
18515
18593
|
await sseHelper.complete();
|
|
18516
|
-
|
|
18517
|
-
agentSessionManager.endSession(requestId2);
|
|
18518
|
-
|
|
18594
|
+
logger23.info({}, "Ending AgentSession and cleaning up");
|
|
18595
|
+
await agentSessionManager.endSession(requestId2);
|
|
18596
|
+
logger23.info({}, "Cleaning up streamHelper");
|
|
18519
18597
|
unregisterStreamHelper(requestId2);
|
|
18520
18598
|
let response;
|
|
18521
18599
|
if (sseHelper instanceof BufferingStreamHelper) {
|
|
18522
18600
|
const captured = sseHelper.getCapturedResponse();
|
|
18523
18601
|
response = captured.text || "No response content";
|
|
18524
18602
|
}
|
|
18525
|
-
|
|
18603
|
+
logger23.info({}, "ExecutionHandler returning success");
|
|
18526
18604
|
return { success: true, iterations, response };
|
|
18527
18605
|
} catch (error) {
|
|
18528
18606
|
agentsCore.setSpanWithError(span, error instanceof Error ? error : new Error(String(error)));
|
|
@@ -18533,13 +18611,13 @@ var ExecutionHandler = class {
|
|
|
18533
18611
|
});
|
|
18534
18612
|
}
|
|
18535
18613
|
errorCount++;
|
|
18536
|
-
|
|
18614
|
+
logger23.warn(
|
|
18537
18615
|
{ iterations, errorCount },
|
|
18538
18616
|
`No valid response or transfer on iteration ${iterations} (error ${errorCount}/${this.MAX_ERRORS})`
|
|
18539
18617
|
);
|
|
18540
18618
|
if (errorCount >= this.MAX_ERRORS) {
|
|
18541
18619
|
const errorMessage2 = `Maximum error limit (${this.MAX_ERRORS}) reached`;
|
|
18542
|
-
|
|
18620
|
+
logger23.error({ maxErrors: this.MAX_ERRORS, errorCount }, errorMessage2);
|
|
18543
18621
|
await sseHelper.writeOperation(errorOp(errorMessage2, currentAgentId || "system"));
|
|
18544
18622
|
if (task) {
|
|
18545
18623
|
await agentsCore.updateTask(dbClient_default)({
|
|
@@ -18554,13 +18632,13 @@ var ExecutionHandler = class {
|
|
|
18554
18632
|
}
|
|
18555
18633
|
});
|
|
18556
18634
|
}
|
|
18557
|
-
agentSessionManager.endSession(requestId2);
|
|
18635
|
+
await agentSessionManager.endSession(requestId2);
|
|
18558
18636
|
unregisterStreamHelper(requestId2);
|
|
18559
18637
|
return { success: false, error: errorMessage2, iterations };
|
|
18560
18638
|
}
|
|
18561
18639
|
}
|
|
18562
18640
|
const errorMessage = `Maximum transfer limit (${maxTransfers}) reached without completion`;
|
|
18563
|
-
|
|
18641
|
+
logger23.error({ maxTransfers, iterations }, errorMessage);
|
|
18564
18642
|
await sseHelper.writeOperation(errorOp(errorMessage, currentAgentId || "system"));
|
|
18565
18643
|
if (task) {
|
|
18566
18644
|
await agentsCore.updateTask(dbClient_default)({
|
|
@@ -18575,11 +18653,11 @@ var ExecutionHandler = class {
|
|
|
18575
18653
|
}
|
|
18576
18654
|
});
|
|
18577
18655
|
}
|
|
18578
|
-
agentSessionManager.endSession(requestId2);
|
|
18656
|
+
await agentSessionManager.endSession(requestId2);
|
|
18579
18657
|
unregisterStreamHelper(requestId2);
|
|
18580
18658
|
return { success: false, error: errorMessage, iterations };
|
|
18581
18659
|
} catch (error) {
|
|
18582
|
-
|
|
18660
|
+
logger23.error({ error }, "Error in execution handler");
|
|
18583
18661
|
const errorMessage = error instanceof Error ? error.message : "Unknown execution error";
|
|
18584
18662
|
await sseHelper.writeOperation(
|
|
18585
18663
|
errorOp(`Execution error: ${errorMessage}`, currentAgentId || "system")
|
|
@@ -18597,7 +18675,7 @@ var ExecutionHandler = class {
|
|
|
18597
18675
|
}
|
|
18598
18676
|
});
|
|
18599
18677
|
}
|
|
18600
|
-
agentSessionManager.endSession(requestId2);
|
|
18678
|
+
await agentSessionManager.endSession(requestId2);
|
|
18601
18679
|
unregisterStreamHelper(requestId2);
|
|
18602
18680
|
return { success: false, error: errorMessage, iterations };
|
|
18603
18681
|
}
|
|
@@ -18607,7 +18685,7 @@ var ExecutionHandler = class {
|
|
|
18607
18685
|
// src/routes/chat.ts
|
|
18608
18686
|
init_logger();
|
|
18609
18687
|
var app2 = new zodOpenapi.OpenAPIHono();
|
|
18610
|
-
var
|
|
18688
|
+
var logger24 = agentsCore.getLogger("completionsHandler");
|
|
18611
18689
|
var chatCompletionsRoute = zodOpenapi.createRoute({
|
|
18612
18690
|
method: "post",
|
|
18613
18691
|
path: "/completions",
|
|
@@ -18725,7 +18803,7 @@ app2.openapi(chatCompletionsRoute, async (c2) => {
|
|
|
18725
18803
|
tracestate: c2.req.header("tracestate"),
|
|
18726
18804
|
baggage: c2.req.header("baggage")
|
|
18727
18805
|
};
|
|
18728
|
-
|
|
18806
|
+
logger24.info(
|
|
18729
18807
|
{
|
|
18730
18808
|
otelHeaders,
|
|
18731
18809
|
path: c2.req.path,
|
|
@@ -18834,7 +18912,7 @@ app2.openapi(chatCompletionsRoute, async (c2) => {
|
|
|
18834
18912
|
dbClient: dbClient_default,
|
|
18835
18913
|
credentialStores
|
|
18836
18914
|
});
|
|
18837
|
-
|
|
18915
|
+
logger24.info(
|
|
18838
18916
|
{
|
|
18839
18917
|
tenantId,
|
|
18840
18918
|
projectId,
|
|
@@ -18882,7 +18960,7 @@ app2.openapi(chatCompletionsRoute, async (c2) => {
|
|
|
18882
18960
|
try {
|
|
18883
18961
|
const sseHelper = createSSEStreamHelper(stream2, requestId2, timestamp);
|
|
18884
18962
|
await sseHelper.writeRole();
|
|
18885
|
-
|
|
18963
|
+
logger24.info({ subAgentId }, "Starting execution");
|
|
18886
18964
|
const emitOperationsHeader = c2.req.header("x-emit-operations");
|
|
18887
18965
|
const emitOperations = emitOperationsHeader === "true";
|
|
18888
18966
|
const executionHandler = new ExecutionHandler();
|
|
@@ -18895,7 +18973,7 @@ app2.openapi(chatCompletionsRoute, async (c2) => {
|
|
|
18895
18973
|
sseHelper,
|
|
18896
18974
|
emitOperations
|
|
18897
18975
|
});
|
|
18898
|
-
|
|
18976
|
+
logger24.info(
|
|
18899
18977
|
{ result },
|
|
18900
18978
|
`Execution completed: ${result.success ? "success" : "failed"} after ${result.iterations} iterations`
|
|
18901
18979
|
);
|
|
@@ -18909,7 +18987,7 @@ app2.openapi(chatCompletionsRoute, async (c2) => {
|
|
|
18909
18987
|
}
|
|
18910
18988
|
await sseHelper.complete();
|
|
18911
18989
|
} catch (error) {
|
|
18912
|
-
|
|
18990
|
+
logger24.error(
|
|
18913
18991
|
{
|
|
18914
18992
|
error: error instanceof Error ? error.message : error,
|
|
18915
18993
|
stack: error instanceof Error ? error.stack : void 0
|
|
@@ -18926,13 +19004,13 @@ app2.openapi(chatCompletionsRoute, async (c2) => {
|
|
|
18926
19004
|
);
|
|
18927
19005
|
await sseHelper.complete();
|
|
18928
19006
|
} catch (streamError) {
|
|
18929
|
-
|
|
19007
|
+
logger24.error({ streamError }, "Failed to write error to stream");
|
|
18930
19008
|
}
|
|
18931
19009
|
}
|
|
18932
19010
|
});
|
|
18933
19011
|
});
|
|
18934
19012
|
} catch (error) {
|
|
18935
|
-
|
|
19013
|
+
logger24.error(
|
|
18936
19014
|
{
|
|
18937
19015
|
error: error instanceof Error ? error.message : error,
|
|
18938
19016
|
stack: error instanceof Error ? error.stack : void 0
|
|
@@ -18960,7 +19038,7 @@ var chat_default = app2;
|
|
|
18960
19038
|
init_dbClient();
|
|
18961
19039
|
init_logger();
|
|
18962
19040
|
var app3 = new zodOpenapi.OpenAPIHono();
|
|
18963
|
-
var
|
|
19041
|
+
var logger25 = agentsCore.getLogger("chatDataStream");
|
|
18964
19042
|
var chatDataStreamRoute = zodOpenapi.createRoute({
|
|
18965
19043
|
method: "post",
|
|
18966
19044
|
path: "/chat",
|
|
@@ -19087,7 +19165,7 @@ app3.openapi(chatDataStreamRoute, async (c2) => {
|
|
|
19087
19165
|
});
|
|
19088
19166
|
const lastUserMessage = body2.messages.filter((m4) => m4.role === "user").slice(-1)[0];
|
|
19089
19167
|
const userText = typeof lastUserMessage?.content === "string" ? lastUserMessage.content : lastUserMessage?.parts?.map((p4) => p4.text).join("") || "";
|
|
19090
|
-
|
|
19168
|
+
logger25.info({ userText, lastUserMessage }, "userText");
|
|
19091
19169
|
const messageSpan = api.trace.getActiveSpan();
|
|
19092
19170
|
if (messageSpan) {
|
|
19093
19171
|
messageSpan.setAttributes({
|
|
@@ -19170,7 +19248,7 @@ app3.openapi(chatDataStreamRoute, async (c2) => {
|
|
|
19170
19248
|
await streamHelper.writeOperation(errorOp("Unable to process request", "system"));
|
|
19171
19249
|
}
|
|
19172
19250
|
} catch (err2) {
|
|
19173
|
-
|
|
19251
|
+
logger25.error({ err: err2 }, "Streaming error");
|
|
19174
19252
|
await streamHelper.writeOperation(errorOp("Internal server error", "system"));
|
|
19175
19253
|
} finally {
|
|
19176
19254
|
if ("cleanup" in streamHelper && typeof streamHelper.cleanup === "function") {
|
|
@@ -19192,7 +19270,7 @@ app3.openapi(chatDataStreamRoute, async (c2) => {
|
|
|
19192
19270
|
);
|
|
19193
19271
|
});
|
|
19194
19272
|
} catch (error) {
|
|
19195
|
-
|
|
19273
|
+
logger25.error(
|
|
19196
19274
|
{
|
|
19197
19275
|
error,
|
|
19198
19276
|
errorMessage: error instanceof Error ? error.message : String(error),
|
|
@@ -19281,7 +19359,7 @@ app3.openapi(toolApprovalRoute, async (c2) => {
|
|
|
19281
19359
|
const { tenantId, projectId } = executionContext;
|
|
19282
19360
|
const requestBody = await c2.req.json();
|
|
19283
19361
|
const { conversationId, toolCallId, approved, reason } = requestBody;
|
|
19284
|
-
|
|
19362
|
+
logger25.info(
|
|
19285
19363
|
{
|
|
19286
19364
|
conversationId,
|
|
19287
19365
|
toolCallId,
|
|
@@ -19310,7 +19388,7 @@ app3.openapi(toolApprovalRoute, async (c2) => {
|
|
|
19310
19388
|
span.setStatus({ code: 1, message: "Tool call not found" });
|
|
19311
19389
|
return c2.json({ error: "Tool call not found or already processed" }, 404);
|
|
19312
19390
|
}
|
|
19313
|
-
|
|
19391
|
+
logger25.info({ conversationId, toolCallId, approved }, "Tool approval processed successfully");
|
|
19314
19392
|
span.setStatus({ code: 1, message: "Success" });
|
|
19315
19393
|
return c2.json({
|
|
19316
19394
|
success: true,
|
|
@@ -19318,7 +19396,7 @@ app3.openapi(toolApprovalRoute, async (c2) => {
|
|
|
19318
19396
|
});
|
|
19319
19397
|
} catch (error) {
|
|
19320
19398
|
const errorMessage = error instanceof Error ? error.message : "Unknown error";
|
|
19321
|
-
|
|
19399
|
+
logger25.error(
|
|
19322
19400
|
{
|
|
19323
19401
|
error: errorMessage,
|
|
19324
19402
|
stack: error instanceof Error ? error.stack : void 0
|
|
@@ -19343,7 +19421,7 @@ var chatDataStream_default = app3;
|
|
|
19343
19421
|
// src/routes/mcp.ts
|
|
19344
19422
|
init_dbClient();
|
|
19345
19423
|
init_logger();
|
|
19346
|
-
var
|
|
19424
|
+
var logger26 = agentsCore.getLogger("mcp");
|
|
19347
19425
|
var MockResponseSingleton = class _MockResponseSingleton {
|
|
19348
19426
|
static instance;
|
|
19349
19427
|
mockRes;
|
|
@@ -19397,21 +19475,21 @@ var createSpoofInitMessage = (mcpProtocolVersion) => ({
|
|
|
19397
19475
|
id: 0
|
|
19398
19476
|
});
|
|
19399
19477
|
var spoofTransportInitialization = async (transport, req, sessionId, mcpProtocolVersion) => {
|
|
19400
|
-
|
|
19478
|
+
logger26.info({ sessionId }, "Spoofing initialization message to set transport state");
|
|
19401
19479
|
const spoofInitMessage = createSpoofInitMessage(mcpProtocolVersion);
|
|
19402
19480
|
const mockRes = MockResponseSingleton.getInstance().getMockResponse();
|
|
19403
19481
|
try {
|
|
19404
19482
|
await transport.handleRequest(req, mockRes, spoofInitMessage);
|
|
19405
|
-
|
|
19483
|
+
logger26.info({ sessionId }, "Successfully spoofed initialization");
|
|
19406
19484
|
} catch (spoofError) {
|
|
19407
|
-
|
|
19485
|
+
logger26.warn({ sessionId, error: spoofError }, "Spoof initialization failed, continuing anyway");
|
|
19408
19486
|
}
|
|
19409
19487
|
};
|
|
19410
19488
|
var validateSession = async (req, res, body2, tenantId, projectId, agentId) => {
|
|
19411
19489
|
const sessionId = req.headers["mcp-session-id"];
|
|
19412
|
-
|
|
19490
|
+
logger26.info({ sessionId }, "Received MCP session ID");
|
|
19413
19491
|
if (!sessionId) {
|
|
19414
|
-
|
|
19492
|
+
logger26.info({ body: body2 }, "Missing session ID");
|
|
19415
19493
|
res.writeHead(400).end(
|
|
19416
19494
|
JSON.stringify({
|
|
19417
19495
|
jsonrpc: "2.0",
|
|
@@ -19438,7 +19516,7 @@ var validateSession = async (req, res, body2, tenantId, projectId, agentId) => {
|
|
|
19438
19516
|
scopes: { tenantId, projectId },
|
|
19439
19517
|
conversationId: sessionId
|
|
19440
19518
|
});
|
|
19441
|
-
|
|
19519
|
+
logger26.info(
|
|
19442
19520
|
{
|
|
19443
19521
|
sessionId,
|
|
19444
19522
|
conversationFound: !!conversation,
|
|
@@ -19449,7 +19527,7 @@ var validateSession = async (req, res, body2, tenantId, projectId, agentId) => {
|
|
|
19449
19527
|
"Conversation lookup result"
|
|
19450
19528
|
);
|
|
19451
19529
|
if (!conversation || conversation.metadata?.sessionData?.sessionType !== "mcp" || conversation.metadata?.sessionData?.agentId !== agentId) {
|
|
19452
|
-
|
|
19530
|
+
logger26.info(
|
|
19453
19531
|
{ sessionId, conversationId: conversation?.id },
|
|
19454
19532
|
"MCP session not found or invalid"
|
|
19455
19533
|
);
|
|
@@ -19510,7 +19588,7 @@ var executeAgentQuery = async (executionContext, conversationId, query, defaultS
|
|
|
19510
19588
|
requestId: requestId2,
|
|
19511
19589
|
sseHelper: mcpStreamHelper
|
|
19512
19590
|
});
|
|
19513
|
-
|
|
19591
|
+
logger26.info(
|
|
19514
19592
|
{ result },
|
|
19515
19593
|
`Execution completed: ${result.success ? "success" : "failed"} after ${result.iterations} iterations`
|
|
19516
19594
|
);
|
|
@@ -19594,7 +19672,7 @@ var getServer = async (headers2, executionContext, conversationId, credentialSto
|
|
|
19594
19672
|
dbClient: dbClient_default,
|
|
19595
19673
|
credentialStores
|
|
19596
19674
|
});
|
|
19597
|
-
|
|
19675
|
+
logger26.info(
|
|
19598
19676
|
{
|
|
19599
19677
|
tenantId,
|
|
19600
19678
|
projectId,
|
|
@@ -19656,7 +19734,7 @@ var validateRequestParameters = (c2) => {
|
|
|
19656
19734
|
};
|
|
19657
19735
|
var handleInitializationRequest = async (body2, executionContext, validatedContext, req, res, c2, credentialStores) => {
|
|
19658
19736
|
const { tenantId, projectId, agentId } = executionContext;
|
|
19659
|
-
|
|
19737
|
+
logger26.info({ body: body2 }, "Received initialization request");
|
|
19660
19738
|
const sessionId = agentsCore.getConversationId();
|
|
19661
19739
|
const activeSpan = api.trace.getActiveSpan();
|
|
19662
19740
|
if (activeSpan) {
|
|
@@ -19712,7 +19790,7 @@ var handleInitializationRequest = async (body2, executionContext, validatedConte
|
|
|
19712
19790
|
}
|
|
19713
19791
|
}
|
|
19714
19792
|
});
|
|
19715
|
-
|
|
19793
|
+
logger26.info(
|
|
19716
19794
|
{ sessionId, conversationId: conversation.id },
|
|
19717
19795
|
"Created MCP session as conversation"
|
|
19718
19796
|
);
|
|
@@ -19721,9 +19799,9 @@ var handleInitializationRequest = async (body2, executionContext, validatedConte
|
|
|
19721
19799
|
});
|
|
19722
19800
|
const server = await getServer(validatedContext, executionContext, sessionId, credentialStores);
|
|
19723
19801
|
await server.connect(transport);
|
|
19724
|
-
|
|
19802
|
+
logger26.info({ sessionId }, "Server connected for initialization");
|
|
19725
19803
|
res.setHeader("Mcp-Session-Id", sessionId);
|
|
19726
|
-
|
|
19804
|
+
logger26.info(
|
|
19727
19805
|
{
|
|
19728
19806
|
sessionId,
|
|
19729
19807
|
bodyMethod: body2?.method,
|
|
@@ -19732,7 +19810,7 @@ var handleInitializationRequest = async (body2, executionContext, validatedConte
|
|
|
19732
19810
|
"About to handle initialization request"
|
|
19733
19811
|
);
|
|
19734
19812
|
await transport.handleRequest(req, res, body2);
|
|
19735
|
-
|
|
19813
|
+
logger26.info({ sessionId }, "Successfully handled initialization request");
|
|
19736
19814
|
return fetchToNode.toFetchResponse(res);
|
|
19737
19815
|
});
|
|
19738
19816
|
};
|
|
@@ -19759,8 +19837,8 @@ var handleExistingSessionRequest = async (body2, executionContext, validatedCont
|
|
|
19759
19837
|
sessionId,
|
|
19760
19838
|
conversation.metadata?.session_data?.mcpProtocolVersion
|
|
19761
19839
|
);
|
|
19762
|
-
|
|
19763
|
-
|
|
19840
|
+
logger26.info({ sessionId }, "Server connected and transport initialized");
|
|
19841
|
+
logger26.info(
|
|
19764
19842
|
{
|
|
19765
19843
|
sessionId,
|
|
19766
19844
|
bodyKeys: Object.keys(body2 || {}),
|
|
@@ -19774,9 +19852,9 @@ var handleExistingSessionRequest = async (body2, executionContext, validatedCont
|
|
|
19774
19852
|
);
|
|
19775
19853
|
try {
|
|
19776
19854
|
await transport.handleRequest(req, res, body2);
|
|
19777
|
-
|
|
19855
|
+
logger26.info({ sessionId }, "Successfully handled MCP request");
|
|
19778
19856
|
} catch (transportError) {
|
|
19779
|
-
|
|
19857
|
+
logger26.error(
|
|
19780
19858
|
{
|
|
19781
19859
|
sessionId,
|
|
19782
19860
|
error: transportError,
|
|
@@ -19827,13 +19905,13 @@ app4.openapi(
|
|
|
19827
19905
|
}
|
|
19828
19906
|
const { executionContext } = paramValidation;
|
|
19829
19907
|
const body2 = c2.get("requestBody") || {};
|
|
19830
|
-
|
|
19908
|
+
logger26.info({ body: body2, bodyKeys: Object.keys(body2 || {}) }, "Parsed request body");
|
|
19831
19909
|
const isInitRequest = body2.method === "initialize";
|
|
19832
19910
|
const { req, res } = fetchToNode.toReqRes(c2.req.raw);
|
|
19833
19911
|
const validatedContext = c2.get("validatedContext") || {};
|
|
19834
19912
|
const credentialStores = c2.get("credentialStores");
|
|
19835
|
-
|
|
19836
|
-
|
|
19913
|
+
logger26.info({ validatedContext }, "Validated context");
|
|
19914
|
+
logger26.info({ req }, "request");
|
|
19837
19915
|
if (isInitRequest) {
|
|
19838
19916
|
return await handleInitializationRequest(
|
|
19839
19917
|
body2,
|
|
@@ -19854,7 +19932,7 @@ app4.openapi(
|
|
|
19854
19932
|
credentialStores
|
|
19855
19933
|
);
|
|
19856
19934
|
} catch (e) {
|
|
19857
|
-
|
|
19935
|
+
logger26.error(
|
|
19858
19936
|
{
|
|
19859
19937
|
error: e instanceof Error ? e.message : e,
|
|
19860
19938
|
stack: e instanceof Error ? e.stack : void 0
|
|
@@ -19866,7 +19944,7 @@ app4.openapi(
|
|
|
19866
19944
|
}
|
|
19867
19945
|
);
|
|
19868
19946
|
app4.get("/", async (c2) => {
|
|
19869
|
-
|
|
19947
|
+
logger26.info({}, "Received GET MCP request");
|
|
19870
19948
|
return c2.json(
|
|
19871
19949
|
{
|
|
19872
19950
|
jsonrpc: "2.0",
|
|
@@ -19880,7 +19958,7 @@ app4.get("/", async (c2) => {
|
|
|
19880
19958
|
);
|
|
19881
19959
|
});
|
|
19882
19960
|
app4.delete("/", async (c2) => {
|
|
19883
|
-
|
|
19961
|
+
logger26.info({}, "Received DELETE MCP request");
|
|
19884
19962
|
return c2.json(
|
|
19885
19963
|
{
|
|
19886
19964
|
jsonrpc: "2.0",
|
|
@@ -19893,7 +19971,7 @@ app4.delete("/", async (c2) => {
|
|
|
19893
19971
|
var mcp_default = app4;
|
|
19894
19972
|
|
|
19895
19973
|
// src/app.ts
|
|
19896
|
-
var
|
|
19974
|
+
var logger27 = agentsCore.getLogger("agents-run-api");
|
|
19897
19975
|
function createExecutionHono(serverConfig, credentialStores, sandboxConfig) {
|
|
19898
19976
|
const app6 = new zodOpenapi.OpenAPIHono();
|
|
19899
19977
|
app6.use("*", otel.otel());
|
|
@@ -19912,7 +19990,7 @@ function createExecutionHono(serverConfig, credentialStores, sandboxConfig) {
|
|
|
19912
19990
|
const body2 = await c2.req.json();
|
|
19913
19991
|
c2.set("requestBody", body2);
|
|
19914
19992
|
} catch (error) {
|
|
19915
|
-
|
|
19993
|
+
logger27.debug({ error }, "Failed to parse JSON body, continuing without parsed body");
|
|
19916
19994
|
}
|
|
19917
19995
|
}
|
|
19918
19996
|
return next();
|
|
@@ -19963,8 +20041,8 @@ function createExecutionHono(serverConfig, credentialStores, sandboxConfig) {
|
|
|
19963
20041
|
if (!isExpectedError) {
|
|
19964
20042
|
const errorMessage = err2 instanceof Error ? err2.message : String(err2);
|
|
19965
20043
|
const errorStack = err2 instanceof Error ? err2.stack : void 0;
|
|
19966
|
-
if (
|
|
19967
|
-
|
|
20044
|
+
if (logger27) {
|
|
20045
|
+
logger27.error(
|
|
19968
20046
|
{
|
|
19969
20047
|
error: err2,
|
|
19970
20048
|
message: errorMessage,
|
|
@@ -19976,8 +20054,8 @@ function createExecutionHono(serverConfig, credentialStores, sandboxConfig) {
|
|
|
19976
20054
|
);
|
|
19977
20055
|
}
|
|
19978
20056
|
} else {
|
|
19979
|
-
if (
|
|
19980
|
-
|
|
20057
|
+
if (logger27) {
|
|
20058
|
+
logger27.error(
|
|
19981
20059
|
{
|
|
19982
20060
|
error: err2,
|
|
19983
20061
|
path: c2.req.path,
|
|
@@ -19994,8 +20072,8 @@ function createExecutionHono(serverConfig, credentialStores, sandboxConfig) {
|
|
|
19994
20072
|
const response = err2.getResponse();
|
|
19995
20073
|
return response;
|
|
19996
20074
|
} catch (responseError) {
|
|
19997
|
-
if (
|
|
19998
|
-
|
|
20075
|
+
if (logger27) {
|
|
20076
|
+
logger27.error({ error: responseError }, "Error while handling HTTPException response");
|
|
19999
20077
|
}
|
|
20000
20078
|
}
|
|
20001
20079
|
}
|
|
@@ -20029,7 +20107,7 @@ function createExecutionHono(serverConfig, credentialStores, sandboxConfig) {
|
|
|
20029
20107
|
app6.use("*", async (c2, next) => {
|
|
20030
20108
|
const executionContext = c2.get("executionContext");
|
|
20031
20109
|
if (!executionContext) {
|
|
20032
|
-
|
|
20110
|
+
logger27.debug({}, "Empty execution context");
|
|
20033
20111
|
return next();
|
|
20034
20112
|
}
|
|
20035
20113
|
const { tenantId, projectId, agentId } = executionContext;
|
|
@@ -20038,7 +20116,7 @@ function createExecutionHono(serverConfig, credentialStores, sandboxConfig) {
|
|
|
20038
20116
|
if (requestBody) {
|
|
20039
20117
|
conversationId = requestBody.conversationId;
|
|
20040
20118
|
if (!conversationId) {
|
|
20041
|
-
|
|
20119
|
+
logger27.debug({ requestBody }, "No conversation ID found in request body");
|
|
20042
20120
|
}
|
|
20043
20121
|
}
|
|
20044
20122
|
const entries = Object.fromEntries(
|
|
@@ -20053,7 +20131,7 @@ function createExecutionHono(serverConfig, credentialStores, sandboxConfig) {
|
|
|
20053
20131
|
})
|
|
20054
20132
|
);
|
|
20055
20133
|
if (!Object.keys(entries).length) {
|
|
20056
|
-
|
|
20134
|
+
logger27.debug({}, "Empty entries for baggage");
|
|
20057
20135
|
return next();
|
|
20058
20136
|
}
|
|
20059
20137
|
const bag = Object.entries(entries).reduce(
|
|
@@ -20107,6 +20185,7 @@ function createExecutionHono(serverConfig, credentialStores, sandboxConfig) {
|
|
|
20107
20185
|
}
|
|
20108
20186
|
|
|
20109
20187
|
// src/index.ts
|
|
20188
|
+
defaultSDK.start();
|
|
20110
20189
|
var defaultConfig = {
|
|
20111
20190
|
port: 3003,
|
|
20112
20191
|
serverOptions: {
|