ISQLQuote vs. str subclass - Mailing list psycopg

From Jonathan Rogers
Subject ISQLQuote vs. str subclass
Date
Msg-id 55BB8CE1.8000301@socialserve.com
Whole thread Raw
Responses Re: ISQLQuote vs. str subclass
List psycopg
I have a custom subclass of str called LiteralValue, the purpose of
which is to represent a string which should be passed to Postgres
unmodified. Its getquoted() method simply returns itself. This type
worked as intended with psycopg2 up to version 2.2.x. However, versions
of psycopg2 2.3 and newer no longer call getquoted() on objects of type
LiteralValue. Is this an expected change in behavior?
--
Jonathan Ross Rogers


psycopg by date:

Previous
From: "Vamsi Krishna Reddy -T (vamsredd - TATA CONSULTANCY SERVICES LIMITED at Cisco)"
Date:
Subject: Re: How to lock a table for update and make other connections to wait on it
Next
From: Daniele Varrazzo
Date:
Subject: Re: ISQLQuote vs. str subclass