Re: PG + PHP, was Re: Zend survey result about dbms...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PG + PHP, was Re: Zend survey result about dbms...
Дата
Msg-id 264.1064097737@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PG + PHP, was Re: Zend survey result about dbms...  (Mike Mascari <mascarm@mascari.com>)
Список pgsql-general
Mike Mascari <mascarm@mascari.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

В списке pgsql-general по дате отправления:

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: About GPL and proprietary software
Следующее
От: Mike Mascari
Дата:
Сообщение: Re: PG + PHP, was Re: Zend survey result about dbms...