Re: [INTERFACES] arrays of varchar and "

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tim Kane <timk(at)hotgames(dot)com>
Cc: PSQL Interfaces <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Re: [INTERFACES] arrays of varchar and "
Date: 2000-02-25 01:03:37
Message-ID: 23718.951440617@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-sql

Tim Kane <timk(at)hotgames(dot)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

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 2000-02-25 04:48:29 Re: [INTERFACES] arrays of varchar and "
Previous Message Tim Kane 2000-02-24 23:54:18 arrays of varchar and "

Browse pgsql-sql by date

  From Date Subject
Next Message Mark Kirkwood 2000-02-25 03:03:31 New Optimizer Behaviour In 7.0b1
Previous Message Tom Lane 2000-02-25 00:46:20 Re: [SQL] date_part, too many results?