MCPcopy Create free account
hub / github.com/denodrivers/postgres / parseBackendKeyMessage

Function parseBackendKeyMessage

connection/message.ts:57–65  ·  view source on GitHub ↗
(message: Message)

Source from the content-addressed store, hash-verified

55}
56
57export function parseBackendKeyMessage(message: Message): {
58 pid: number;
59 secret_key: number;
60} {
61 return {
62 pid: message.reader.readInt32(),
63 secret_key: message.reader.readInt32(),
64 };
65}
66
67/**
68 * This function returns the command result tag from the command message

Callers 1

#startupMethod · 0.90

Calls 1

readInt32Method · 0.80

Tested by

no test coverage detected