From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Mike Mascari <mascarm(at)mascari(dot)com> |
Cc: | Richard Huxton <dev(at)archonet(dot)com>, Lista dyskusyjna pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: PG + PHP, was Re: Zend survey result about dbms... |
Date: | 2003-09-20 22:42:17 |
Message-ID: | 264.1064097737@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-php |
Mike Mascari <mascarm(at)mascari(dot)com> writes:
> Actually, I meant that setenv() and getenv() would only be used to
> store the memory address of a privately manipulated variable map. I
> did not mean that it should actually be used to store and retrieve the
> variables themselves. If there is already a way to palloc() memory
> using a key that lives for the lifetime of a backend, then that's
> obviously the way to go.
Plain old static pointer variable would do fine ... look for instance at
the remote-connections table in contrib/dblink/dblink.c.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Browne | 2003-09-20 22:47:52 | Re: OT: HEADS-UP: viral storm out there |
Previous Message | Mike Mascari | 2003-09-20 22:42:12 | Re: PG + PHP, was Re: Zend survey result about dbms... |
From | Date | Subject | |
---|---|---|---|
Next Message | sector119 | 2003-09-22 05:04:06 | how am I able to log all sql queries? |
Previous Message | Mike Mascari | 2003-09-20 22:42:12 | Re: PG + PHP, was Re: Zend survey result about dbms... |