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

Function StartupMessage

cf/src/connection.js:998–1008  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

connectedFunction · 0.70

Calls 1

endMethod · 0.65

Tested by

no test coverage detected