Allow binary I/O of type "void".
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/pseudotypes.c | modified | +28 −0 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.h | modified | +4 −0 |
| src/include/catalog/pg_type.h | modified | +1 −1 |
| src/include/utils/builtins.h | modified | +2 −0 |