shapito: update README.md

This commit is contained in:
Dmitry Simonenko 2017-06-08 16:55:16 +03:00
parent ebdeed5b0e
commit 3bcc0a82f9
1 changed files with 11 additions and 1 deletions

View File

@ -12,7 +12,7 @@ No network part is supported. Only buffer management and packet validation.
**PostgreSQL packet readers**
```C
/* Read StartupMessage, CancelRequest or SSLRequest */
/* Read initial message (StartupMessage, CancelRequest, SSLRequest) */
so_read_startup()
/* Read any other PostgreSQL packet */
@ -61,9 +61,16 @@ so_fewrite_sync();
**Read messages from Backend**
```C
/* ReadyForQuery */
so_feread_ready();
/* BackendKeyData */
so_feread_key();
/* Authentication messages */
so_feread_auth();
/* ParameterStatus */
so_feread_parameter();
```
@ -120,6 +127,9 @@ so_bewrite_no_data()
**Read messages from Frontend**
```C
/* Read StartupMessage, CancelRequest or SSLRequest */
so_beread_startup();
/* PasswordMessage */
so_beread_password();
```