pgsql: Allow binary I/O of type "void".

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow binary I/O of type "void".
Date: 2011-02-22 18:08:56
Message-ID: E1PrwfQ-000486-IF@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-02-22 19:29:26 Re: Re: [COMMITTERS] pgsql: Make a hard state change from catchup to streaming mode.
Previous Message Bruce Momjian 2011-02-22 14:06:59 pgsql: Reword information_schema duplicate constraint warning text.