pgsql: Allow binary I/O of type "void". - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Allow binary I/O of type "void".
Date
Msg-id E1PrwfQ-000486-IF@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Allow binary I/O of type "void".

void_send is useful for the same reason that void_out doesn't throw error,
namely that someone might do "select void_returning_func(...)"  from a
client that prefers to operate in binary mode.  The void_recv function may
or may not have any practical use, but we provide it for symmetry.

Radosław Smogura

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1ab9b012bdf1f106792fc523e21b9ca8299bb8ed

Modified Files
--------------
src/backend/utils/adt/pseudotypes.c |   28 ++++++++++++++++++++++++++++
src/include/catalog/catversion.h    |    2 +-
src/include/catalog/pg_proc.h       |    4 ++++
src/include/catalog/pg_type.h       |    2 +-
src/include/utils/builtins.h        |    2 ++
5 files changed, 36 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: Reword information_schema duplicate constraint warning text.
Next
From: Robert Haas
Date:
Subject: pgsql: Fix a couple of unlogged tables goofs.