pg-logical-replication
Version:
PostgreSQL Location Replication client - logical WAL replication streaming
9 lines (8 loc) • 315 B
TypeScript
import { Client } from 'pg';
export declare abstract class AbstractPlugin<OPTION = any> {
readonly options: OPTION;
constructor(options: OPTION);
abstract get name(): string;
abstract start(client: Client, slotName: string, lastLsn: string): Promise<any>;
abstract parse(buffer: Buffer): any;
}