Re: generic reloptions improvement

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)com>
Cc: KaiGai Kohei <kaigai(at)kaigai(dot)gr(dot)jp>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Subject: Re: generic reloptions improvement
Date: 2009-01-05 13:57:55
Message-ID: 20090105135755.GA7345@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Aidan Van Dyk 2009-01-05 13:59:46 Re: Several tags around PostgreSQL 7.1 broken
Previous Message Tom Lane 2009-01-05 13:57:45 Re: Many "loaded library" logs by preload libraries