From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tim Kane <timk@hotgames.com>
Cc: PSQL Interfaces <pgsql-interfaces@postgreSQL.org>
Subject: Re: [INTERFACES] arrays of varchar and "
Date: Thu, 24 Feb 2000 20:03:37 -0500
Message-ID: <23718.951440617@sss.pgh.pa.us> (raw)
In-Reply-To: <38B5C4AA.A84809F2@hotgames.com>
References: <38B5C4AA.A84809F2@hotgames.com>
Tim Kane <timk@hotgames.com> writes:
> I want to insert a number of array elements here...
> insert into my_table values ('{"value 1", "value 2", "value 3"}');
> Fine.
> What do I do however, when I want to insert an array element that
> contains a " character?
Hmm. It looks like array_in tries to deal with backslashed quotes in
array elements; not sure why it's not working exactly. Will put this
on the "bugs to look at" list. Expect a fix in 7.0.
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, timk@hotgames.com, pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] arrays of varchar and "
In-Reply-To: <23718.951440617@sss.pgh.pa.us>
References: <38B5C4AA.A84809F2@hotgames.com> <23718.951440617@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox