gitextract_s6gb5la9/ ├── .devcontainer/ │ ├── Dockerfile │ ├── devcontainer.json │ └── docker-compose.yml ├── .eslintignore ├── .eslintrc ├── .gitattributes ├── .github/ │ ├── CODEOWNERS │ ├── FUNDING.yml │ ├── dependabot.yaml │ └── workflows/ │ └── ci.yml ├── .gitignore ├── .yarnrc ├── CHANGELOG.md ├── LICENSE ├── LOCAL_DEV.md ├── README.md ├── SPONSORS.md ├── docs/ │ ├── .gitignore │ ├── README.md │ ├── components/ │ │ ├── alert.tsx │ │ ├── info.tsx │ │ └── logo.tsx │ ├── next.config.js │ ├── package.json │ ├── pages/ │ │ ├── _app.js │ │ ├── _meta.js │ │ ├── announcements.mdx │ │ ├── apis/ │ │ │ ├── _meta.js │ │ │ ├── client.mdx │ │ │ ├── cursor.mdx │ │ │ ├── pool.mdx │ │ │ ├── result.mdx │ │ │ ├── types.mdx │ │ │ └── utilities.mdx │ │ ├── features/ │ │ │ ├── _meta.js │ │ │ ├── callbacks.mdx │ │ │ ├── connecting.mdx │ │ │ ├── esm.mdx │ │ │ ├── native.mdx │ │ │ ├── pooling.mdx │ │ │ ├── queries.mdx │ │ │ ├── ssl.mdx │ │ │ ├── transactions.mdx │ │ │ └── types.mdx │ │ ├── guides/ │ │ │ ├── _meta.js │ │ │ ├── async-express.md │ │ │ ├── pool-sizing.md │ │ │ ├── project-structure.md │ │ │ └── upgrading.md │ │ └── index.mdx │ └── theme.config.js ├── lerna.json ├── package.json ├── packages/ │ ├── pg/ │ │ ├── Makefile │ │ ├── README.md │ │ ├── bench.js │ │ ├── esm/ │ │ │ └── index.mjs │ │ ├── lib/ │ │ │ ├── client.js │ │ │ ├── connection-parameters.js │ │ │ ├── connection.js │ │ │ ├── crypto/ │ │ │ │ ├── cert-signatures.js │ │ │ │ ├── sasl.js │ │ │ │ ├── utils-legacy.js │ │ │ │ ├── utils-webcrypto.js │ │ │ │ └── utils.js │ │ │ ├── defaults.js │ │ │ ├── index.js │ │ │ ├── native/ │ │ │ │ ├── client.js │ │ │ │ ├── index.js │ │ │ │ └── query.js │ │ │ ├── query.js │ │ │ ├── result.js │ │ │ ├── stream.js │ │ │ ├── type-overrides.js │ │ │ └── utils.js │ │ ├── package.json │ │ ├── script/ │ │ │ └── dump-db-types.js │ │ └── test/ │ │ ├── buffer-list.js │ │ ├── cloudflare/ │ │ │ └── vitest-cf.test.ts │ │ ├── integration/ │ │ │ ├── client/ │ │ │ │ ├── api-tests.js │ │ │ │ ├── appname-tests.js │ │ │ │ ├── array-tests.js │ │ │ │ ├── async-stack-trace-tests.js │ │ │ │ ├── big-simple-query-tests.js │ │ │ │ ├── configuration-tests.js │ │ │ │ ├── connection-parameter-tests.js │ │ │ │ ├── connection-timeout-tests.js │ │ │ │ ├── custom-types-tests.js │ │ │ │ ├── empty-query-tests.js │ │ │ │ ├── error-handling-tests.js │ │ │ │ ├── field-name-escape-tests.js │ │ │ │ ├── huge-numeric-tests.js │ │ │ │ ├── idle_in_transaction_session_timeout-tests.js │ │ │ │ ├── json-type-parsing-tests.js │ │ │ │ ├── multiple-results-tests.js │ │ │ │ ├── network-partition-tests.js │ │ │ │ ├── no-data-tests.js │ │ │ │ ├── no-row-result-tests.js │ │ │ │ ├── notice-tests.js │ │ │ │ ├── parse-int-8-tests.js │ │ │ │ ├── prepared-statement-tests.js │ │ │ │ ├── promise-api-tests.js │ │ │ │ ├── query-as-promise-tests.js │ │ │ │ ├── query-column-names-tests.js │ │ │ │ ├── query-error-handling-prepared-statement-tests.js │ │ │ │ ├── query-error-handling-tests.js │ │ │ │ ├── quick-disconnect-tests.js │ │ │ │ ├── result-metadata-tests.js │ │ │ │ ├── results-as-array-tests.js │ │ │ │ ├── row-description-on-results-tests.js │ │ │ │ ├── sasl-scram-tests.js │ │ │ │ ├── simple-query-tests.js │ │ │ │ ├── ssl-tests.js │ │ │ │ ├── statement_timeout-tests.js │ │ │ │ ├── test-helper.js │ │ │ │ ├── timezone-tests.js │ │ │ │ ├── transaction-tests.js │ │ │ │ ├── type-coercion-tests.js │ │ │ │ └── type-parser-override-tests.js │ │ │ ├── connection-pool/ │ │ │ │ ├── connection-pool-size-tests.js │ │ │ │ ├── error-tests.js │ │ │ │ ├── idle-timeout-tests.js │ │ │ │ ├── native-instance-tests.js │ │ │ │ ├── test-helper.js │ │ │ │ ├── tls-tests.js │ │ │ │ └── yield-support-tests.js │ │ │ ├── domain-tests.js │ │ │ ├── gh-issues/ │ │ │ │ ├── 1105-tests.js │ │ │ │ ├── 130-tests.js │ │ │ │ ├── 131-tests.js │ │ │ │ ├── 1382-tests.js │ │ │ │ ├── 1542-tests.js │ │ │ │ ├── 1854-tests.js │ │ │ │ ├── 199-tests.js │ │ │ │ ├── 1992-tests.js │ │ │ │ ├── 2056-tests.js │ │ │ │ ├── 2064-tests.js │ │ │ │ ├── 2079-tests.js │ │ │ │ ├── 2085-tests.js │ │ │ │ ├── 2108-tests.js │ │ │ │ ├── 2303-tests.js │ │ │ │ ├── 2307-tests.js │ │ │ │ ├── 2416-tests.js │ │ │ │ ├── 2556-tests.js │ │ │ │ ├── 2627-tests.js │ │ │ │ ├── 2716-tests.js │ │ │ │ ├── 2862-tests.js │ │ │ │ ├── 3062-tests.js │ │ │ │ ├── 3174-tests.js │ │ │ │ ├── 3487-tests.js │ │ │ │ ├── 507-tests.js │ │ │ │ ├── 600-tests.js │ │ │ │ ├── 675-tests.js │ │ │ │ ├── 699-tests.js │ │ │ │ ├── 787-tests.js │ │ │ │ ├── 882-tests.js │ │ │ │ └── 981-tests.js │ │ │ └── test-helper.js │ │ ├── native/ │ │ │ ├── callback-api-tests.js │ │ │ ├── evented-api-tests.js │ │ │ ├── native-connection-string-tests.js │ │ │ ├── native-vs-js-error-tests.js │ │ │ └── stress-tests.js │ │ ├── suite.js │ │ ├── test-buffers.js │ │ ├── test-helper.js │ │ ├── tls/ │ │ │ ├── GNUmakefile │ │ │ ├── test-client-ca.crt │ │ │ ├── test-client-ca.key │ │ │ ├── test-client.crt │ │ │ ├── test-client.key │ │ │ ├── test-server-ca.crt │ │ │ ├── test-server-ca.key │ │ │ ├── test-server.crt │ │ │ └── test-server.key │ │ ├── unit/ │ │ │ ├── client/ │ │ │ │ ├── cleartext-password-tests.js │ │ │ │ ├── configuration-tests.js │ │ │ │ ├── early-disconnect-tests.js │ │ │ │ ├── escape-tests.js │ │ │ │ ├── md5-password-tests.js │ │ │ │ ├── notification-tests.js │ │ │ │ ├── password-callback-tests.js │ │ │ │ ├── pgpass.file │ │ │ │ ├── prepared-statement-tests.js │ │ │ │ ├── query-queue-tests.js │ │ │ │ ├── query-timeout-tests.js │ │ │ │ ├── result-metadata-tests.js │ │ │ │ ├── sasl-scram-tests.js │ │ │ │ ├── set-keepalives-tests.js │ │ │ │ ├── simple-query-tests.js │ │ │ │ ├── stream-and-query-error-interaction-tests.js │ │ │ │ ├── test-helper.js │ │ │ │ └── throw-in-type-parser-tests.js │ │ │ ├── connection/ │ │ │ │ ├── error-tests.js │ │ │ │ ├── startup-tests.js │ │ │ │ └── test-helper.js │ │ │ ├── connection-parameters/ │ │ │ │ ├── creation-tests.js │ │ │ │ └── environment-variable-tests.js │ │ │ ├── connection-pool/ │ │ │ │ └── configuration-tests.js │ │ │ ├── test-helper.js │ │ │ └── utils-tests.js │ │ ├── vitest.config.mts │ │ └── wrangler.jsonc │ ├── pg-bundler-test/ │ │ ├── esbuild-cloudflare.config.mjs │ │ ├── esbuild-empty.config.mjs │ │ ├── package.json │ │ ├── rollup-cloudflare.config.mjs │ │ ├── rollup-empty.config.mjs │ │ ├── src/ │ │ │ └── index.mjs │ │ ├── vite-cloudflare.config.mjs │ │ ├── vite-empty.config.mjs │ │ ├── webpack-cloudflare.config.mjs │ │ └── webpack-empty.config.mjs │ ├── pg-cloudflare/ │ │ ├── README.md │ │ ├── esm/ │ │ │ └── index.mjs │ │ ├── package.json │ │ ├── src/ │ │ │ ├── empty.ts │ │ │ ├── index.ts │ │ │ └── types.d.ts │ │ └── tsconfig.json │ ├── pg-connection-string/ │ │ ├── .coveralls.yml │ │ ├── .gitignore │ │ ├── .mocharc.json │ │ ├── LICENSE │ │ ├── README.md │ │ ├── esm/ │ │ │ └── index.mjs │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── package.json │ │ ├── test/ │ │ │ ├── clientConfig.ts │ │ │ ├── example.ca │ │ │ ├── example.cert │ │ │ ├── example.key │ │ │ └── parse.ts │ │ └── tsconfig.json │ ├── pg-cursor/ │ │ ├── README.md │ │ ├── esm/ │ │ │ └── index.mjs │ │ ├── index.js │ │ ├── package.json │ │ └── test/ │ │ ├── close.js │ │ ├── error-handling.js │ │ ├── index.js │ │ ├── mocha.opts │ │ ├── no-data-handling.js │ │ ├── pool.js │ │ ├── promises.js │ │ ├── query-config.js │ │ └── transactions.js │ ├── pg-esm-test/ │ │ ├── README.md │ │ ├── common-js-imports.test.cjs │ │ ├── package.json │ │ ├── pg-cloudflare.test.js │ │ ├── pg-connection-string.test.js │ │ ├── pg-cursor.test.js │ │ ├── pg-native.test.js │ │ ├── pg-pool.test.js │ │ ├── pg-protocol.test.js │ │ ├── pg-query-stream.test.js │ │ └── pg.test.js │ ├── pg-native/ │ │ ├── README.md │ │ ├── bench/ │ │ │ ├── index.js │ │ │ └── leaks.js │ │ ├── esm/ │ │ │ └── index.mjs │ │ ├── index.js │ │ ├── lib/ │ │ │ ├── build-result.js │ │ │ └── copy-stream.js │ │ ├── package.json │ │ └── test/ │ │ ├── array-mode.js │ │ ├── async-workflow.js │ │ ├── cancel.js │ │ ├── connection-errors.js │ │ ├── connection.js │ │ ├── copy-from.js │ │ ├── copy-to.js │ │ ├── custom-types.js │ │ ├── domains.js │ │ ├── empty-query.js │ │ ├── huge-query.js │ │ ├── index.js │ │ ├── load.js │ │ ├── many-connections.js │ │ ├── many-errors.js │ │ ├── mocha.opts │ │ ├── multiple-queries.js │ │ ├── multiple-statement-results.js │ │ ├── notify.js │ │ ├── prepare.js │ │ ├── query-async.js │ │ ├── query-sync.js │ │ └── version.js │ ├── pg-pool/ │ │ ├── LICENSE │ │ ├── README.md │ │ ├── esm/ │ │ │ └── index.mjs │ │ ├── index.js │ │ ├── package.json │ │ └── test/ │ │ ├── connection-strings.js │ │ ├── connection-timeout.js │ │ ├── ending.js │ │ ├── error-handling.js │ │ ├── events.js │ │ ├── idle-timeout-exit.js │ │ ├── idle-timeout.js │ │ ├── index.js │ │ ├── lifecycle-hooks.js │ │ ├── lifetime-timeout.js │ │ ├── logging.js │ │ ├── max-uses.js │ │ ├── releasing-clients.js │ │ ├── setup.js │ │ ├── sizing.js │ │ ├── submittable.js │ │ └── verify.js │ ├── pg-protocol/ │ │ ├── README.md │ │ ├── esm/ │ │ │ └── index.js │ │ ├── package.json │ │ ├── src/ │ │ │ ├── b.ts │ │ │ ├── buffer-reader.ts │ │ │ ├── buffer-writer.ts │ │ │ ├── inbound-parser.test.ts │ │ │ ├── index.ts │ │ │ ├── messages.ts │ │ │ ├── outbound-serializer.test.ts │ │ │ ├── parser.ts │ │ │ ├── serializer.ts │ │ │ ├── testing/ │ │ │ │ ├── buffer-list.ts │ │ │ │ └── test-buffers.ts │ │ │ └── types/ │ │ │ └── chunky.d.ts │ │ └── tsconfig.json │ └── pg-query-stream/ │ ├── LICENSE │ ├── README.md │ ├── esm/ │ │ └── index.mjs │ ├── package.json │ ├── src/ │ │ └── index.ts │ ├── test/ │ │ ├── async-iterator.ts │ │ ├── client-options.ts │ │ ├── close.ts │ │ ├── concat.ts │ │ ├── config.ts │ │ ├── empty-query.ts │ │ ├── error.ts │ │ ├── fast-reader.ts │ │ ├── helper.ts │ │ ├── instant.ts │ │ ├── issue-3.ts │ │ ├── passing-options.ts │ │ ├── pauses.ts │ │ ├── pool.ts │ │ ├── slow-reader.ts │ │ ├── stream-tester-timestamp.ts │ │ └── stream-tester.ts │ └── tsconfig.json ├── tea.yaml └── tsconfig.json