MCPcopy Create free account
hub / github.com/porsager/postgres / StartupMessage

Function StartupMessage

cjs/src/connection.js:996–1006  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

994 }
995
996 function StartupMessage() {
997 return cancelMessage || b().inc(4).i16(3).z(2).str(
998 Object.entries(Object.assign({
999 user,
1000 database,
1001 client_encoding: 'UTF8'
1002 },
1003 options.connection
1004 )).filter(([, v]) => v).map(([k, v]) => k + b.N + v).join(b.N)
1005 ).z(2).end(0)
1006 }
1007
1008}
1009

Callers 1

connectedFunction · 0.70

Calls 1

endMethod · 0.65

Tested by

no test coverage detected