You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.2 KiB
31 lines
1.2 KiB
4 years ago
|
/// <reference types="node" />
|
||
|
import BufferList from './buffer-list';
|
||
|
declare const buffers: {
|
||
|
readyForQuery: () => Buffer;
|
||
|
authenticationOk: () => Buffer;
|
||
|
authenticationCleartextPassword: () => Buffer;
|
||
|
authenticationMD5Password: () => Buffer;
|
||
|
authenticationSASL: () => Buffer;
|
||
|
authenticationSASLContinue: () => Buffer;
|
||
|
authenticationSASLFinal: () => Buffer;
|
||
|
parameterStatus: (name: string, value: string) => Buffer;
|
||
|
backendKeyData: (processID: number, secretKey: number) => Buffer;
|
||
|
commandComplete: (string: string) => Buffer;
|
||
|
rowDescription: (fields: any[]) => Buffer;
|
||
|
dataRow: (columns: any[]) => Buffer;
|
||
|
error: (fields: any) => Buffer;
|
||
|
notice: (fields: any) => Buffer;
|
||
|
errorOrNotice: (fields: any) => BufferList;
|
||
|
parseComplete: () => Buffer;
|
||
|
bindComplete: () => Buffer;
|
||
|
notification: (id: number, channel: string, payload: string) => Buffer;
|
||
|
emptyQuery: () => Buffer;
|
||
|
portalSuspended: () => Buffer;
|
||
|
closeComplete: () => Buffer;
|
||
|
copyIn: (cols: number) => Buffer;
|
||
|
copyOut: (cols: number) => Buffer;
|
||
|
copyData: (bytes: Buffer) => Buffer;
|
||
|
copyDone: () => Buffer;
|
||
|
};
|
||
|
export default buffers;
|