Re: Inconsistent compilation error

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Inconsistent compilation error
Дата
Msg-id CAKFQuwbr+uqkZM56DO_2Le6tAPPU6qGC-9Qx10WntndEwFxPfg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Inconsistent compilation error  (Adrian Klaver <adrian.klaver@aklaver.com>)
Ответы Re: Inconsistent compilation error  (Melvin Davidson <melvin6925@gmail.com>)
Список pgsql-general
On Wednesday, April 18, 2018, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
Hmm, wonder if there is an oops in the below:

http://www.pygresql.org/contents/changelog.html

Version 5.0 (2016-03-20)
Changes in the DB-API 2 module (pgdb):
"SQL commands are always handled as if they include parameters, i.e. literal percent signs must always be doubled. This consistent behavior is necessary for using pgdb with wrappers like SQLAlchemy."

I'd hope not, as far as the driver is concerned the percent signs are text content.  It's plpgsql that is interpreting them directly in the server.

David J.

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

Предыдущее
От: Fabio Pardi
Дата:
Сообщение: Re: pg_upgrade help
Следующее
От: Akshay Ballarpure
Дата:
Сообщение: Re: pg_upgrade help