Skip to content

sklrsn/postgres-protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

postgres-protocol

Frontend/Backend Protocol

Frontend                                    Postgres Proxy                                    Backend
|             SSL Request ('S' or 'N')           |                                               |
|----------------------------------------------->|                                               |
|                                                |                                               |
|             SSL Response ('S')                 |                                               |
|<-----------------------------------------------|                                               |
|                                                |                                               |
|             Startup Message                    |                                               |
|----------------------------------------------->|                                               |
|                                                |                                               |
|             Password Request                   |                                               |
|<-----------------------------------------------|                                               |
|                                                |                                               |
|             Password Response                  |                                               |
|----------------------------------------------->|                                               |
|                                                |                                               |
|             AuthenticationOK                   |                                               |
|<-----------------------------------------------|                                               |
|                                                |                                               |
|             Parameter Status                   |                                               |
|<-----------------------------------------------|                                               |
|                                                |                                               |
|             Parameter Status                   |                                               |
|<-----------------------------------------------|                                               |
|                                                |                                               |
|             Parameter Status                   |                                               |
|<-----------------------------------------------|                                               |
|                                                |                                               |
|             BackendKeyData                     |                                               |
|<-----------------------------------------------|                                               |
|                                                |                                               |
|             ReadyForQuery                      |                                               |
|<-----------------------------------------------|                                               |
|                                                |                                               |
|                                                |             SSL Request ('S' or 'N')          |
|                                                |---------------------------------------------->|
|                                                |                                               |
|												 |             SSL Response ('S')                |
|												 |<----------------------------------------------|
|												 |                                               |
|												 |             Startup Message                   |
|												 |---------------------------------------------->|
|												 |                                               |
|												 |             Password Request                  |
|												 |<----------------------------------------------|
|												 |                                               |
|												 |             Password Response                 |
|												 |---------------------------------------------->|
|												 |                                               |
|												 |             AuthenticationOK Response         |
|												 |<----------------------------------------------|
|												 |                                               |
|												 |             Parameter Status                  |
|												 |<----------------------------------------------|
|												 |                                               |
|												 |             Parameter Status                  |
|												 |<----------------------------------------------|
|												 |                                               |
|												 |             Parameter Status                  |
|												 |<----------------------------------------------|
|												 |                                               |
|												 |             BackendKeyData                    |
|												 |<----------------------------------------------|
|												 |                                               |
|												 |             ReadyForQuery                     |
|												 |<----------------------------------------------|
|												 |                                               |
|												 |                                               |
|			Query Message					     |             Query Message                     |
|----------------------------------------------------------------------------------------------->|
|												                                                 |
|			RowDescription						               RowDescription                    |
|<-----------------------------------------------------------------------------------------------|
|												                                                 |
|			Terminate					                       Terminate                         |
|----------------------------------------------------------------------------------------------->|

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages