Re: Prepared statement already exists

Поиск
Список
Период
Сортировка
От Sam Mason
Тема Re: Prepared statement already exists
Дата
Msg-id 20081120134503.GM2459@frubble.xen.chris-lamb.co.uk
обсуждение исходный текст
Ответ на Prepared statement already exists  (WireSpot <wirespot@gmail.com>)
Ответы Re: Prepared statement already exists  (WireSpot <wirespot@gmail.com>)
Список pgsql-general
On Wed, Nov 19, 2008 at 09:42:33PM +0200, WireSpot wrote:
> I also imagined some workarounds in the code (PHP), such as defining a
> global/static hash table and registering statement names with it. But
> I'd like to know if there's a better way.

Have you thought about using stored procedures instead of prepared
statements?  No need to register them or keep track of that state.


  Sam

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

Предыдущее
От: WireSpot
Дата:
Сообщение: Re: Prepared statement already exists
Следующее
От: WireSpot
Дата:
Сообщение: Re: join with redundant results VS simpler join plus multiple selects