Re: Inconsistent compilation error - Mailing list pgsql-general

From David G. Johnston
Subject Re: Inconsistent compilation error
Date
Msg-id CAKFQuwbr+uqkZM56DO_2Le6tAPPU6qGC-9Qx10WntndEwFxPfg@mail.gmail.com
Whole thread Raw
In response to Re: Inconsistent compilation error  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: Inconsistent compilation error  (Melvin Davidson <melvin6925@gmail.com>)
List 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 by date:

Previous
From: Fabio Pardi
Date:
Subject: Re: pg_upgrade help
Next
From: Akshay Ballarpure
Date:
Subject: Re: pg_upgrade help