agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: Bernd Froehlich <bfroehli@AWI-Bremerhaven.DE>
To: postgres@postgres.Berkeley.EDU
Subject: double quotes in postgres string
Date: Thu, 1 Sep 94 14:03:30 +0200
Message-ID: <9409011203.AA03467@edvs1.awi-bremerhaven.de> (raw)
How do I put double quotes in a postgres string?
I tried to precede them with a backslash but that did not work:
* create test(a=char16)\g
Query sent to backend is "create test(a=char16)"
CREATE
Go
* append test(a="\"")\g
unknown escape given
Go
*
Query sent to backend is "append test(a="")"
APPEND 48924
Go
==============================================================================
To add/remove yourself to/from the POSTGRES mailing list: send mail with
the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"
If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
a human will deal with it. DO NOT post to the "postgres" mailing list.
==============================================================================
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: postgres@postgres.berkeley.edu
Cc: bfroehli@AWI-Bremerhaven.DE
Subject: Re: double quotes in postgres string
In-Reply-To: <9409011203.AA03467@edvs1.awi-bremerhaven.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox