Re: Accessing a database via AJAX scripts

Поиск
Список
Период
Сортировка
От Vick Khera
Тема Re: Accessing a database via AJAX scripts
Дата
Msg-id AANLkTimzx=Bue15FoCc_z67FqZ60DPvQHYfXt9NxKNf+@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Accessing a database via AJAX scripts  (Glen Eustace <geustace@godzone.net.nz>)
Список pgsql-general
On Sun, Aug 8, 2010 at 5:08 PM, Glen Eustace <geustace@godzone.net.nz> wrote:
> Thanks Tom, that is pretty much the conclusion I came to.  I think I need to
> close the db connection prior to the fork and then re-open in the new child.
>

Yes, you pretty much have to do this.  I usually do the close
immediately after fork in the child, but set the DBI attribute
InactiveDestroy on the handle so it doesn't destroy the parent's
handle.

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

Предыдущее
От: Clemens Eisserer
Дата:
Сообщение: Re: [PERFORM] Are Indices automatically generated for primary keys?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Win32 Backend Cash - pre-existing shared memory block is still in use