Re: WRITE_*_ARRAY macros for outfuncs.c - Mailing list pgsql-hackers

From Tom Lane
Subject Re: WRITE_*_ARRAY macros for outfuncs.c
Date
Msg-id 11307.1545239468@sss.pgh.pa.us
Whole thread Raw
In response to WRITE_*_ARRAY macros for outfuncs.c  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> In readfuncs.c, we have READ_ATTRNUMBER_ARRAY, READ_OID_ARRAY,
> READ_INT_ARRAY, READ_BOOL_ARRAY, but the writing side in outfuncs.c is
> coded by hand in each case.  Any reason for this?

> Here is a patch that adds WRITE_ATTRNUMBER_ARRAY, WRITE_OID_ARRAY,
> WRITE_INT_ARRAY, WRITE_BOOL_ARRAY.  That seems much nicer.

LGTM.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: single user mode -P option is ignored
Next
From: Pavel Stehule
Date:
Subject: Re: single user mode -P option is ignored