Thread: Defining macro LSNOID for pg_lsn in pg_type.h

Defining macro LSNOID for pg_lsn in pg_type.h

From
Michael Paquier
Date:
Hi all,

When working on the datatype pg_lsn, we actually did not create a
define macro for its oid in pg_type.h and this could be useful for
extension developers. The simple patch attached corrects that by
naming this macro LSNOID.
Regards,
--
Michael

Attachment

Re: Defining macro LSNOID for pg_lsn in pg_type.h

From
Robert Haas
Date:
On Thu, Feb 27, 2014 at 8:12 AM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> When working on the datatype pg_lsn, we actually did not create a
> define macro for its oid in pg_type.h and this could be useful for
> extension developers. The simple patch attached corrects that by
> naming this macro LSNOID.

Thanks, committed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



Re: Defining macro LSNOID for pg_lsn in pg_type.h

From
Michael Paquier
Date:
On Mon, Mar 3, 2014 at 9:06 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Thu, Feb 27, 2014 at 8:12 AM, Michael Paquier
> <michael.paquier@gmail.com> wrote:
>> When working on the datatype pg_lsn, we actually did not create a
>> define macro for its oid in pg_type.h and this could be useful for
>> extension developers. The simple patch attached corrects that by
>> naming this macro LSNOID.
>
> Thanks, committed.
Thanks.
-- 
Michael