diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-10-08 12:27:47 +0100 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-10-08 12:27:47 +0100 |
| commit | 6e71b3db057eb4a18d5ee5c112a2ab50e0a7c5ab (patch) | |
| tree | 644b791a4b5b6ab58db70025cea2b85aeb6d8429 /psycopg/connection_int.c | |
| parent | baf65a0ddae18fc89af36bc1bdf44c41686dee1b (diff) | |
| download | psycopg2-6e71b3db057eb4a18d5ee5c112a2ab50e0a7c5ab.tar.gz | |
Dropped PSYCOPG_OWN_QUOTING.
It was deprecated for version 2.1. There are bugs to be fixed made more
complex by its presence and it doesn't keep into account PostgreSQL 9.0
new binary format.
Time to go!
Diffstat (limited to 'psycopg/connection_int.c')
| -rw-r--r-- | psycopg/connection_int.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/psycopg/connection_int.c b/psycopg/connection_int.c index 85d47d5..a69776f 100644 --- a/psycopg/connection_int.c +++ b/psycopg/connection_int.c @@ -174,18 +174,12 @@ conn_get_standard_conforming_strings(PGconn *pgconn) * not escaped strings (e.g. '\001' -> "\001"), relying on the * fact that the '\' will pass untouched the string parser. * In this case the E'' quotes are NOT to be used. - * - * The PSYCOPG_OWN_QUOTING implementation always returns escaped strings. */ scs = PQparameterStatus(pgconn, "standard_conforming_strings"); Dprintf("conn_connect: server standard_conforming_strings parameter: %s", scs ? scs : "unavailable"); -#ifndef PSYCOPG_OWN_QUOTING equote = (scs && (0 == strcmp("off", scs))); -#else - equote = (scs != NULL); -#endif Dprintf("conn_connect: server requires E'' quotes: %s", equote ? "YES" : "NO"); |
