Ranier Vilela <ranier.vf@gmail.com> writes:
> Again, I see problems with the types declared in Postgres.
> 1. pq_sendint32 (StringInfo buf, uint32 i)
> 2. extern void pq_sendbytes (StringInfo buf, const char * data, int
> datalen);
We could spend the next ten years cleaning up minor discrepancies
like that, and have nothing much to show for the work.
> To avoid converting from (int) to (uint32), even if afterwards there is a
> conversion from (uint32) to (int)?
You do realize that that conversion costs nothing?
regards, tom lane