Skip to content

Instantly share code, notes, and snippets.

View maximebf's full-sized avatar

Maxime Bouroumeau-Fuseau maximebf

View GitHub Profile
@matteobertozzi
matteobertozzi / psql-srv.py
Created November 27, 2013 05:17
postgres "server" wire protocol example
# th30z@u1310:[Desktop]$ psql -h localhost -p 55432
# Password:
# psql (9.1.10, server 0.0.0)
# WARNING: psql version 9.1, server version 0.0.
# Some psql features might not work.
# Type "help" for help.
#
# th30z=> select foo;
# a | b
# ---+---