Tilo Schwarz <mail@tilo-schwarz.de> writes:
> What about the Python approach: The literal text is enclosed either in a pair
> of three single quotes or three double quotes.
That might be okay if we were working in a vacuum, but we aren't. Among
other things, the SQL spec tells us what 'quote''' ... means, and it's
not Python-compatible.
regards, tom lane