Re: 'prepare' is not quite schema-safe

Поиск
Список
Период
Сортировка
От Julian Mehnle
Тема Re: 'prepare' is not quite schema-safe
Дата
Msg-id CNECIDIEBHFENDOHPAEKCEBAEPAA.bulk@mehnle.net
обсуждение исходный текст
Ответ на Re: 'prepare' is not quite schema-safe  (Vlad <marchenko@gmail.com>)
Список pgsql-general
Vlad [marchenko@gmail.com] wrote:
> ok, since there is no gurantee that server-side prepared query is
> still active, pergaps postgresql interface library provide way to
> check if a prepared before query still alive prior runing exec, so
> that dbd::pg driver can make sure it's still there, right before
> executing?
>
> If there is no such function (and I can't find it), then it will be
> hard for a driver to make things working right with server-side
> prepared queries!

You can always use fully qualified class (table) names in your prepared
queries, i.e. explicitly specify the schema name.


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