SYMBOL INDEX (356 symbols across 49 files) FILE: docs/components/logo.tsx type Props (line 1) | type Props = { function Logo (line 6) | function Logo(props: Props) { FILE: docs/pages/_app.js function Nextra (line 3) | function Nextra({ Component, pageProps }) { FILE: packages/pg-cloudflare/src/index.ts class CloudflareSocket (line 7) | class CloudflareSocket extends EventEmitter { method constructor (line 17) | constructor(readonly ssl: boolean) { method setNoDelay (line 21) | setNoDelay() { method setKeepAlive (line 24) | setKeepAlive() { method ref (line 27) | ref() { method unref (line 30) | unref() { method connect (line 34) | async connect(port: number, host: string, connectListener?: (...args: ... method _listen (line 64) | async _listen() { method _listenOnce (line 78) | async _listenOnce() { method write (line 85) | write( method end (line 107) | end(data = Buffer.alloc(0), encoding: BufferEncoding = 'utf8', callbac... method destroy (line 116) | destroy(reason: string) { method startTls (line 122) | startTls(options: TlsOptions) { method _addClosedHandler (line 138) | _addClosedHandler() { function dump (line 154) | function dump(data: unknown) { function log (line 164) | function log(...args: unknown[]) { FILE: packages/pg-cloudflare/src/types.d.ts class Socket (line 2) | class Socket { type TlsOptions (line 10) | type TlsOptions = { type SocketAddress (line 14) | type SocketAddress = { type SocketOptions (line 19) | type SocketOptions = { FILE: packages/pg-connection-string/index.d.ts type Options (line 5) | interface Options { type SSLConfig (line 10) | interface SSLConfig { type ConnectionOptions (line 17) | interface ConnectionOptions { FILE: packages/pg-connection-string/index.js function parse (line 8) | function parse(str, options = {}) { function toConnectionOptions (line 158) | function toConnectionOptions(sslConfig) { function toClientConfig (line 173) | function toClientConfig(config) { function parseIntoClientConfig (line 209) | function parseIntoClientConfig(str) { function deprecatedSslModeWarning (line 213) | function deprecatedSslModeWarning(sslmode) { FILE: packages/pg-cursor/index.js class Cursor (line 10) | class Cursor extends EventEmitter { method constructor (line 11) | constructor(text, values, config) { method _ifNoData (line 29) | _ifNoData() { method _rowDescription (line 37) | _rowDescription() { method submit (line 43) | submit(connection) { method _shiftQueue (line 83) | _shiftQueue() { method _closePortal (line 89) | _closePortal() { method handleRowDescription (line 107) | handleRowDescription(msg) { method handleDataRow (line 113) | handleDataRow(msg) { method _sendRows (line 119) | _sendRows() { method handleCommandComplete (line 135) | handleCommandComplete(msg) { method handlePortalSuspended (line 140) | handlePortalSuspended() { method handleReadyForQuery (line 144) | handleReadyForQuery() { method handleEmptyQuery (line 150) | handleEmptyQuery() { method handleError (line 154) | handleError(msg) { method _getRows (line 189) | _getRows(rows, cb) { method end (line 203) | end(cb) { method close (line 211) | close(cb) { method read (line 234) | read(rows, cb) { FILE: packages/pg-cursor/test/pool.js function poolQueryPromise (line 8) | function poolQueryPromise(pool, readRowCount) { FILE: packages/pg-native/lib/build-result.js class Result (line 3) | class Result { method constructor (line 4) | constructor(types, arrayMode) { method consumeCommand (line 16) | consumeCommand(pq) { method consumeFields (line 21) | consumeFields(pq) { method consumeRows (line 39) | consumeRows(pq) { method consumeRowAsObject (line 47) | consumeRowAsObject(pq, rowIndex) { method consumeRowAsArray (line 55) | consumeRowAsArray(pq, rowIndex) { method readValue (line 63) | readValue(pq, rowIndex, colIndex) { function buildResult (line 72) | function buildResult(pq, types, arrayMode) { FILE: packages/pg-pool/index.js class IdleItem (line 12) | class IdleItem { method constructor (line 13) | constructor(client, idleListener, timeoutId) { class PendingItem (line 20) | class PendingItem { method constructor (line 21) | constructor(callback) { function throwOnDoubleRelease (line 26) | function throwOnDoubleRelease() { function promisify (line 30) | function promisify(Promise, callback) { function makeIdleListener (line 51) | function makeIdleListener(pool, client) { class Pool (line 66) | class Pool extends EventEmitter { method constructor (line 67) | constructor(options, Client) { method _promiseTry (line 111) | _promiseTry(f) { method _isFull (line 119) | _isFull() { method _isAboveMin (line 123) | _isAboveMin() { method _pulseQueue (line 127) | _pulseQueue() { method _remove (line 172) | _remove(client, callback) { method connect (line 190) | connect(cb) { method newClient (line 240) | newClient(pendingItem) { method _afterConnect (line 311) | _afterConnect(client, pendingItem, idleListener) { method _acquireClient (line 335) | _acquireClient(client, pendingItem, idleListener, isNew) { method _releaseOnce (line 369) | _releaseOnce(client, idleListener) { method _release (line 384) | _release(client, idleListener, err) { method query (line 431) | query(text, values, cb) { method end (line 488) | end(cb) { method waitingCount (line 501) | get waitingCount() { method idleCount (line 505) | get idleCount() { method expiredCount (line 509) | get expiredCount() { method totalCount (line 513) | get totalCount() { FILE: packages/pg-pool/test/error-handling.js function runErrorQuery (line 16) | function runErrorQuery() { FILE: packages/pg-pool/test/events.js function mockClient (line 118) | function mockClient(methods) { FILE: packages/pg-protocol/esm/index.js constant SASL (line 6) | const SASL = protocol.SASL FILE: packages/pg-protocol/src/b.ts constant LOOPS (line 5) | const LOOPS = 1000 FILE: packages/pg-protocol/src/buffer-reader.ts class BufferReader (line 1) | class BufferReader { method constructor (line 7) | constructor(private offset: number = 0) {} method setBuffer (line 9) | public setBuffer(offset: number, buffer: Buffer): void { method int16 (line 14) | public int16(): number { method byte (line 20) | public byte(): number { method int32 (line 26) | public int32(): number { method uint32 (line 32) | public uint32(): number { method string (line 38) | public string(length: number): string { method cstring (line 44) | public cstring(): string { method bytes (line 53) | public bytes(length: number): Buffer { FILE: packages/pg-protocol/src/buffer-writer.ts class Writer (line 3) | class Writer { method constructor (line 7) | constructor(private size = 256) { method ensure (line 11) | private ensure(size: number): void { method addInt32 (line 23) | public addInt32(num: number): Writer { method addInt16 (line 32) | public addInt16(num: number): Writer { method addCString (line 39) | public addCString(string: string): Writer { method addString (line 53) | public addString(string: string = ''): Writer { method add (line 61) | public add(otherBuffer: Buffer): Writer { method join (line 68) | private join(code?: number): Buffer { method flush (line 78) | public flush(code?: number): Buffer { FILE: packages/pg-protocol/src/index.ts function parse (line 5) | function parse(stream: NodeJS.ReadableStream, callback: MessageCallback)... FILE: packages/pg-protocol/src/messages.ts type Mode (line 1) | type Mode = 'text' | 'binary' type MessageName (line 3) | type MessageName = type BackendMessage (line 32) | interface BackendMessage { type NoticeOrError (line 77) | interface NoticeOrError { class DatabaseError (line 97) | class DatabaseError extends Error implements NoticeOrError { method constructor (line 114) | constructor( class CopyDataMessage (line 123) | class CopyDataMessage { method constructor (line 125) | constructor( class CopyResponse (line 131) | class CopyResponse { method constructor (line 133) | constructor( class Field (line 143) | class Field { method constructor (line 144) | constructor( class RowDescriptionMessage (line 155) | class RowDescriptionMessage { method constructor (line 158) | constructor( class ParameterDescriptionMessage (line 166) | class ParameterDescriptionMessage { method constructor (line 169) | constructor( class ParameterStatusMessage (line 177) | class ParameterStatusMessage { method constructor (line 179) | constructor( class AuthenticationMD5Password (line 186) | class AuthenticationMD5Password implements BackendMessage { method constructor (line 188) | constructor( class BackendKeyDataMessage (line 194) | class BackendKeyDataMessage { method constructor (line 196) | constructor( class NotificationResponseMessage (line 203) | class NotificationResponseMessage { method constructor (line 205) | constructor( class ReadyForQueryMessage (line 213) | class ReadyForQueryMessage { method constructor (line 215) | constructor( class CommandCompleteMessage (line 221) | class CommandCompleteMessage { method constructor (line 223) | constructor( class DataRowMessage (line 229) | class DataRowMessage { method constructor (line 232) | constructor( class NoticeMessage (line 240) | class NoticeMessage implements BackendMessage, NoticeOrError { method constructor (line 241) | constructor( FILE: packages/pg-protocol/src/parser.ts constant CODE_LENGTH (line 32) | const CODE_LENGTH = 1 constant LEN_LENGTH (line 35) | const LEN_LENGTH = 4 constant HEADER_LENGTH (line 37) | const HEADER_LENGTH = CODE_LENGTH + LEN_LENGTH constant LATEINIT_LENGTH (line 40) | const LATEINIT_LENGTH = -1 type Packet (line 42) | type Packet = { type StreamOptions (line 49) | type StreamOptions = TransformOptions & { type MessageCodes (line 53) | const enum MessageCodes { type MessageCallback (line 78) | type MessageCallback = (msg: BackendMessage) => void class Parser (line 80) | class Parser { method constructor (line 87) | constructor(opts?: StreamOptions) { method parse (line 94) | public parse(buffer: Buffer, callback: MessageCallback) { method mergeBuffer (line 124) | private mergeBuffer(buffer: Buffer): void { method handlePacket (line 157) | private handlePacket(offset: number, code: number, length: number, byt... FILE: packages/pg-protocol/src/serializer.ts type code (line 3) | const enum code { type ParseOpts (line 64) | type ParseOpts = { type ValueMapper (line 102) | type ValueMapper = (param: any, index: number) => any type BindOpts (line 104) | type BindOpts = { type ParamType (line 116) | const enum ParamType { type ExecOpts (line 167) | type ExecOpts = { type PortalOpts (line 205) | type PortalOpts = { FILE: packages/pg-protocol/src/testing/buffer-list.ts class BufferList (line 1) | class BufferList { method constructor (line 2) | constructor(public buffers: Buffer[] = []) {} method add (line 4) | public add(buffer: Buffer, front?: boolean) { method addInt16 (line 9) | public addInt16(val: number, front?: boolean) { method getByteLength (line 13) | public getByteLength() { method addInt32 (line 19) | public addInt32(val: number, first?: boolean) { method addCString (line 26) | public addCString(val: string, front?: boolean) { method addString (line 34) | public addString(val: string, front?: boolean) { method addChar (line 41) | public addChar(char: string, first?: boolean) { method addByte (line 45) | public addByte(byte: number) { method join (line 49) | public join(appendLength?: boolean, char?: string): Buffer { FILE: packages/pg-query-stream/src/index.ts type QueryStreamConfig (line 5) | interface QueryStreamConfig { class QueryStream (line 12) | class QueryStream extends Readable implements Submittable { method constructor (line 25) | public constructor(text: string, values?: any[], config: QueryStreamCo... method submit (line 51) | public submit(connection: Connection): void { method _destroy (line 55) | public _destroy(_err: Error, cb: Function) { method _read (line 62) | public _read(size: number) { FILE: packages/pg-query-stream/test/concat.ts method transform (line 14) | transform(chunk, _, callback) { FILE: packages/pg-query-stream/test/pauses.ts class PauseStream (line 7) | class PauseStream extends Transform { method constructor (line 8) | constructor() { method _transform (line 12) | _transform(chunk, encoding, callback): void { FILE: packages/pg/lib/client.js class Client (line 39) | class Client extends EventEmitter { method constructor (line 40) | constructor(config) { method activeQuery (line 102) | get activeQuery() { method activeQuery (line 107) | set activeQuery(val) { method _getActiveQuery (line 112) | _getActiveQuery() { method _errorAllQueries (line 116) | _errorAllQueries(err) { method _connect (line 133) | _connect(callback) { method connect (line 208) | connect(callback) { method _attachListeners (line 225) | _attachListeners(con) { method _getPassword (line 250) | _getPassword(cb) { method _handleAuthCleartextPassword (line 289) | _handleAuthCleartextPassword(msg) { method _handleAuthMD5Password (line 295) | _handleAuthMD5Password(msg) { method _handleAuthSASL (line 306) | _handleAuthSASL(msg) { method _handleAuthSASLContinue (line 317) | async _handleAuthSASLContinue(msg) { method _handleAuthSASLFinal (line 331) | _handleAuthSASLFinal(msg) { method _handleBackendKeyData (line 340) | _handleBackendKeyData(msg) { method _handleReadyForQuery (line 345) | _handleReadyForQuery(msg) { method _handleErrorWhileConnecting (line 371) | _handleErrorWhileConnecting(err) { method _handleErrorEvent (line 387) | _handleErrorEvent(err) { method _handleErrorMessage (line 397) | _handleErrorMessage(msg) { method _handleRowDescription (line 412) | _handleRowDescription(msg) { method _handleDataRow (line 423) | _handleDataRow(msg) { method _handlePortalSuspended (line 434) | _handlePortalSuspended(msg) { method _handleEmptyQuery (line 445) | _handleEmptyQuery(msg) { method _handleCommandComplete (line 456) | _handleCommandComplete(msg) { method _handleParseComplete (line 467) | _handleParseComplete() { method _handleCopyInResponse (line 482) | _handleCopyInResponse(msg) { method _handleCopyData (line 492) | _handleCopyData(msg) { method _handleNotification (line 502) | _handleNotification(msg) { method _handleNotice (line 506) | _handleNotice(msg) { method getStartupConf (line 510) | getStartupConf() { method cancel (line 541) | cancel(client, query) { method setTypeParser (line 560) | setTypeParser(oid, format, parseFn) { method getTypeParser (line 564) | getTypeParser(oid, format) { method escapeIdentifier (line 571) | escapeIdentifier(str) { method escapeLiteral (line 575) | escapeLiteral(str) { method _pulseQueryQueue (line 579) | _pulseQueryQueue() { method query (line 602) | query(config, values, callback) { method ref (line 698) | ref() { method unref (line 702) | unref() { method end (line 706) | end(cb) { method queryQueue (line 734) | get queryQueue() { FILE: packages/pg/lib/connection-parameters.js class ConnectionParameters (line 52) | class ConnectionParameters { method constructor (line 53) | constructor(config) { method getLibpqConnectionString (line 131) | getLibpqConnectionString(cb) { FILE: packages/pg/lib/connection.js class Connection (line 13) | class Connection extends EventEmitter { method constructor (line 14) | constructor(config) { method connect (line 37) | connect(port, host) { method attachListeners (line 109) | attachListeners(stream) { method requestSsl (line 119) | requestSsl() { method startup (line 123) | startup(config) { method cancel (line 127) | cancel(processID, secretKey) { method password (line 131) | password(password) { method sendSASLInitialResponseMessage (line 135) | sendSASLInitialResponseMessage(mechanism, initialResponse) { method sendSCRAMClientFinalMessage (line 139) | sendSCRAMClientFinalMessage(additionalData) { method _send (line 143) | _send(buffer) { method query (line 150) | query(text) { method parse (line 155) | parse(query) { method bind (line 160) | bind(config) { method execute (line 165) | execute(config) { method flush (line 169) | flush() { method sync (line 175) | sync() { method ref (line 180) | ref() { method unref (line 184) | unref() { method end (line 188) | end() { method close (line 200) | close(msg) { method describe (line 204) | describe(msg) { method sendCopyFromChunk (line 208) | sendCopyFromChunk(chunk) { method endCopyFrom (line 212) | endCopyFrom() { method sendCopyFail (line 216) | sendCopyFail(msg) { FILE: packages/pg/lib/crypto/cert-signatures.js function x509Error (line 1) | function x509Error(msg, cert) { function readASN1Length (line 5) | function readASN1Length(data, index) { function readASN1OID (line 20) | function readASN1OID(data, index) { function expectASN1Seq (line 45) | function expectASN1Seq(data, index) { function signatureAlgorithmHashFromCertificate (line 50) | function signatureAlgorithmHashFromCertificate(data, index) { FILE: packages/pg/lib/crypto/sasl.js function startSession (line 5) | function startSession(mechanisms, stream) { function continueSession (line 31) | async function continueSession(session, password, serverData, stream) { function finalizeSession (line 86) | function finalizeSession(session, serverData) { function isPrintableChars (line 107) | function isPrintableChars(text) { function isBase64 (line 128) | function isBase64(text) { function parseAttributePairs (line 132) | function parseAttributePairs(text) { function parseServerFirstMessage (line 149) | function parseServerFirstMessage(data) { function parseServerFinalMessage (line 179) | function parseServerFinalMessage(serverData) { function xorBuffers (line 192) | function xorBuffers(a, b) { FILE: packages/pg/lib/crypto/utils-legacy.js function md5 (line 7) | function md5(string) { function postgresMd5PasswordHash (line 12) | function postgresMd5PasswordHash(user, password, salt) { function sha256 (line 18) | function sha256(text) { function hashByName (line 22) | function hashByName(hashName, text) { function hmacSha256 (line 27) | function hmacSha256(key, msg) { function deriveKey (line 31) | async function deriveKey(password, salt, iterations) { FILE: packages/pg/lib/crypto/utils-webcrypto.js function randomBytes (line 31) | function randomBytes(length) { function md5 (line 35) | async function md5(string) { function postgresMd5PasswordHash (line 51) | async function postgresMd5PasswordHash(user, password, salt) { function sha256 (line 61) | async function sha256(text) { function hashByName (line 65) | async function hashByName(hashName, text) { function hmacSha256 (line 74) | async function hmacSha256(keyBuffer, msg) { function deriveKey (line 85) | async function deriveKey(password, salt, iterations) { FILE: packages/pg/lib/index.js method constructor (line 15) | constructor(options) { method get (line 56) | get() { FILE: packages/pg/lib/query.js class Query (line 8) | class Query extends EventEmitter { method constructor (line 9) | constructor(config, values, callback) { method requiresPreparation (line 35) | requiresPreparation() { method _checkForMultirow (line 60) | _checkForMultirow() { method handleRowDescription (line 76) | handleRowDescription(msg) { method handleDataRow (line 82) | handleDataRow(msg) { method handleCommandComplete (line 102) | handleCommandComplete(msg, connection) { method handleEmptyQuery (line 116) | handleEmptyQuery(connection) { method handleError (line 122) | handleError(err, connection) { method handleReadyForQuery (line 136) | handleReadyForQuery(con) { method submit (line 152) | submit(connection) { method hasBeenParsed (line 185) | hasBeenParsed(connection) { method handlePortalSuspended (line 189) | handlePortalSuspended(connection) { method _getRows (line 193) | _getRows(connection, rows) { method prepare (line 209) | prepare(connection) { method handleCopyInResponse (line 243) | handleCopyInResponse(connection) { method handleCopyData (line 247) | handleCopyData(msg, connection) { FILE: packages/pg/lib/result.js class Result (line 10) | class Result { method constructor (line 11) | constructor(rowMode, types) { method addCommandComplete (line 28) | addCommandComplete(msg) { method _parseRowAsArray (line 50) | _parseRowAsArray(rowData) { method parseRow (line 63) | parseRow(rowData) { method addRow (line 78) | addRow(row) { method addFields (line 82) | addFields(fieldDescriptions) { FILE: packages/pg/lib/stream.js function getNodejsStreamFuncs (line 20) | function getNodejsStreamFuncs() { function getCloudflareStreamFuncs (line 39) | function getCloudflareStreamFuncs() { function isCloudflareRuntime (line 60) | function isCloudflareRuntime() { function getStreamFuncs (line 78) | function getStreamFuncs() { FILE: packages/pg/lib/type-overrides.js function TypeOverrides (line 5) | function TypeOverrides(userTypes) { FILE: packages/pg/lib/utils.js function escapeElement (line 8) | function escapeElement(elementRepresentation) { function arrayString (line 17) | function arrayString(val) { function prepareObject (line 82) | function prepareObject(val, seen) { function dateToString (line 95) | function dateToString(date) { function dateToStringUTC (line 129) | function dateToStringUTC(date) { function normalizeQueryConfig (line 154) | function normalizeQueryConfig(config, values, callback) { FILE: packages/pg/test/integration/client/appname-tests.js function getConInfo (line 10) | function getConInfo(override) { function getAppName (line 14) | function getAppName(conf, cb) { FILE: packages/pg/test/integration/client/async-stack-trace-tests.js constant NODE_MAJOR_VERSION (line 13) | const NODE_MAJOR_VERSION = +process.versions.node.split('.')[0] function innerFunction (line 16) | async function innerFunction() { function innerFunction (line 32) | async function innerFunction() { FILE: packages/pg/test/integration/client/idle_in_transaction_session_timeout-tests.js function getConInfo (line 10) | function getConInfo(override) { function testClientVersion (line 14) | function testClientVersion(cb) { function getIdleTransactionSessionTimeout (line 39) | function getIdleTransactionSessionTimeout(conf, cb) { FILE: packages/pg/test/integration/client/query-error-handling-prepared-statement-tests.js function killIdleQuery (line 48) | function killIdleQuery(targetQuery, cb) { FILE: packages/pg/test/integration/client/statement_timeout-tests.js function getConInfo (line 10) | function getConInfo(override) { function getStatementTimeout (line 14) | function getStatementTimeout(conf, cb) { FILE: packages/pg/test/integration/client/type-parser-override-tests.js function testTypeParser (line 5) | function testTypeParser(client, expectedResult, done) { FILE: packages/pg/test/integration/gh-issues/1542-tests.js class SubPool (line 9) | class SubPool extends Pool {} FILE: packages/pg/test/integration/gh-issues/2556-tests.js function reuseClient (line 28) | function reuseClient() { FILE: packages/pg/test/integration/gh-issues/600-tests.js function createTableFoo (line 9) | function createTableFoo(callback) { function createTableBar (line 13) | function createTableBar(callback) { function insertDataFoo (line 17) | function insertDataFoo(callback) { function insertDataBar (line 28) | function insertDataBar(callback) { function startTransaction (line 39) | function startTransaction(callback) { function endTransaction (line 42) | function endTransaction(callback) { function doTransaction (line 46) | function doTransaction(callback) { FILE: packages/pg/test/suite.js class Test (line 10) | class Test { method constructor (line 11) | constructor(name, cb) { method run (line 17) | run(cb) { method _run (line 25) | _run(cb) { class Suite (line 42) | class Suite { method constructor (line 43) | constructor(name) { method run (line 49) | run(test, cb) { method test (line 74) | test(name, cb) { method testAsync (line 79) | testAsync(name, cb) { FILE: packages/pg/test/unit/client/password-callback-tests.js class Wait (line 6) | class Wait { method constructor (line 7) | constructor() { method until (line 13) | until() { method done (line 17) | done(time) { FILE: packages/pg/test/unit/client/sasl-scram-tests.js method getPeerCertificate (line 33) | getPeerCertificate() {} method getPeerCertificate (line 43) | getPeerCertificate() {} method getPeerCertificate (line 199) | getPeerCertificate() {} method getPeerCertificate (line 215) | getPeerCertificate() {