diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-02-22 13:08:22 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-02-22 13:08:22 -0500 |
commit | 1ab9b012bdf1f106792fc523e21b9ca8299bb8ed (patch) | |
tree | 088398d9ed9d5e03cbdeb1c9170b7ae6774498aa /src/include/utils/builtins.h | |
parent | edb382179d49105a236b54678a5a4020276df071 (diff) | |
download | postgresql-1ab9b012bdf1f106792fc523e21b9ca8299bb8ed.tar.gz postgresql-1ab9b012bdf1f106792fc523e21b9ca8299bb8ed.zip |
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
Diffstat (limited to 'src/include/utils/builtins.h')
-rw-r--r-- | src/include/utils/builtins.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index 8392be6208a..8652ba03a05 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -504,6 +504,8 @@ extern Datum anyenum_in(PG_FUNCTION_ARGS); extern Datum anyenum_out(PG_FUNCTION_ARGS); extern Datum void_in(PG_FUNCTION_ARGS); extern Datum void_out(PG_FUNCTION_ARGS); +extern Datum void_recv(PG_FUNCTION_ARGS); +extern Datum void_send(PG_FUNCTION_ARGS); extern Datum trigger_in(PG_FUNCTION_ARGS); extern Datum trigger_out(PG_FUNCTION_ARGS); extern Datum language_handler_in(PG_FUNCTION_ARGS); |