Skip to content

Commit 18a6adb

Browse files
committed
chore: update readme for jeltef's talk
1 parent d7443f6 commit 18a6adb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,17 @@ with its usage.
6868
## About Postgres Wire Protocol
6969

7070
Postgres Wire Protocol is a relatively general-purpose Layer-7 protocol. There
71-
are 3 parts of the protocol:
71+
are 6 parts of the protocol:
7272

7373
- Startup: client-server handshake and authentication.
7474
- Simple Query: The text-based query protocol of postgresql. Query are provided
7575
as string, and server is allowed to stream data in response.
7676
- Extended Query: A new sub-protocol for query which has ability to cache the
7777
query on server-side and reuse it with new parameters. The response part is
7878
identical to Simple Query.
79+
- Copy: the subprotocol to copy data from and to postgresql.
80+
- Replication
81+
- Logical Replication
7982

8083
Also note that Postgres Wire Protocol has no semantics about SQL, so literally
8184
you can use any query language, data formats or even natural language to
@@ -84,6 +87,9 @@ interact with the backend.
8487
The response are always encoded as data row format. And there is a field
8588
description as header of the data to describe its name, type and format.
8689

90+
[Jelte Fennema-Nio](https://github.com/JelteF)'s on talk on PgConf.dev 2024 has
91+
a great coverage of how the wire protocol works:
92+
https://www.youtube.com/watch?v=nh62VgNj6hY
8793

8894
## Usage
8995

0 commit comments

Comments
 (0)