Re: real/float example for testlibpq3 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: real/float example for testlibpq3
Date
Msg-id 2746817.1646088530@sss.pgh.pa.us
Whole thread Raw
In response to Re: real/float example for testlibpq3  (Chapman Flack <chap@anastigmatix.net>)
Responses Re: real/float example for testlibpq3
List pgsql-hackers
Chapman Flack <chap@anastigmatix.net> writes:
> This stimulates a question for me.

> Not just libpq, but all drivers implemented in whatever language, if they
> wish to support binary protocol, depend on knowing what the committed
> send/recv wire formats are for whichever types they mean to support.

> In the current state of affairs, what's considered the ur-source of that
> information?

The source code for the type's send/receive functions :-(.  One could
wish for something better, but no one has stepped up to produce such
documentation.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Separate the result of \watch for each query execution (psql)
Next
From: Jaime Casanova
Date:
Subject: stale statistics on postgres 14