When does Postgres use binary I/O?

From: Paul A Jungwirth <pj(at)illuminatedcomputing(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: When does Postgres use binary I/O?
Date: 2019-09-18 05:10:54
Message-ID: CA+renyXcVryG-x+BKoDnkFpf2PctPbB4Rv6LDHqhvQnkHWL3tw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I've read the docs at [1] and also this interesting recent post about
adding binary I/O to the hashtypes extension. I wrote send & recv
functions for my new multirange types, but I'm not sure how to test
them. After running installcheck or installcheck-world, the code
coverage report says they aren't tested, nor are the send/recv
functions for ranges or arrays. When does Postgres actually use these
functions? Is there a good way to test them?

Thanks,
Paul

[1] https://www.postgresql.org/docs/11/xtypes.html
[2] http://www.myrkraverk.com/blog/2019/08/postgresql-retroactively-adding-binary-i-o-to-a-type/

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Luca Ferrari 2019-09-18 08:36:31 Re: install pgcrypto module to existing postgreSQL
Previous Message Stephen Frost 2019-09-18 02:03:45 Re: pgbackrest restore to new location?