Answer the question
In order to leave comments, you need to log in
What is the internal representation of data in PostgreSQL?
To work with libpq, you need to know the internal representation of data in PostgreSQL, but I cannot find this information in the official documentation, and indeed on the Internet. Yes, of course, you can use a text representation, not a binary one, but this is an overhead for converting to / from strings, and you really don’t want to parse human-readable strings. References to sources like "src/backend/utils/adt/numeric.c::numeric_recv()" did not bring any benefit.
What is this notorious "server storage format"?
Answer the question
In order to leave comments, you need to log in
Numeric values of type integer come in network byte order , numeric depends on the implementation you refer to in the question.
Text and so can be obtained by text.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question