> I haven't been able to find documentation on the actual messages used in the logical replication protocol ('k' & 'w', lower case). I've figured things out mostly by reading pg_recvlogical.c, but "Read The Fine Source" doesn't seem in line with the way PG usually does it ;-) > > Did I miss a doc somewhere in my searches??? The logical replication protocol builds on the primitives of the physical streaming replication protocol as stated in the document. The explanation of 'k' and 'w' messages can be found in the "Streaming Replication Protocol" section. Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp