Re: generic reloptions improvement - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: generic reloptions improvement
Date
Msg-id 20090105135755.GA7345@alvh.no-ip.org
Whole thread Raw
In response to Re: generic reloptions improvement  (KaiGai Kohei <kaigai@ak.jp.nec.com>)
List pgsql-hackers
KaiGai Kohei wrote:

> If the caller allocates a surplus area to store string on tail of the
> StdRdOptions (or others), the string option can be represented as an
> offset value and should be accessed via macros, like:

Excellent.  I thought about storing an offset but I didn't know how to
make it work for accessors -- I was missing the macro idea :-)  Thanks,
I'll see about this.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Zdenek Kotala
Date:
Subject: Re: version() output vs. 32/64 bits
Next
From: "Stephen R. van den Berg"
Date:
Subject: Re: QuickLZ compression algorithm (Re: Inclusion in the PostgreSQL backend for toasting rows)