Presented by:

469ce496c50d86fda06bed83645e3614

Will Leinweber (will@citusdata.com)

Principal Cloud Engineer at CitusData

Will has been building Postgres infrastructure for the last half dozen years.

No video of the event yet, sorry!

It's unlikely that you will need to implement the Postgres wire protocol yourself, but understanding it will give you insight into how Postgres operates you'll not get otherwise. And as far as binary protocols go, this one is surprisingly not awful! In this talk we'll cover - motivations for using the raw protocol vs linking libpq - (and some protocol features not available in libpq!) - authentication and ssl negotiation - the flow for the two different query protocol and the tradeoffs between them - how asynchronous events fit in - and finally, miscellaneous features such as backend termination All of the examples will be with real, but (hopefully) simple code. A clear, working implementation makes good complement to the reference documentation, and should help you should you ever need to work with the raw protocol.

Date:
2017 March 31 10:00
Duration:
50 min
Room:
Liberty I
Conference:
PGConf US 2017
Language:
English
Track:
Internals
Difficulty:
Medium