Re: quoting of array elements + sexp_out? - Mailing list pgsql-general

From Tom Lane
Subject Re: quoting of array elements + sexp_out?
Date
Msg-id 23403.1059059381@sss.pgh.pa.us
Whole thread Raw
In response to quoting of array elements + sexp_out?  (Thien-Thi Nguyen <ttn@glug.org>)
Responses Re: quoting of array elements + sexp_out?  (Thien-Thi Nguyen <ttn@glug.org>)
List pgsql-general
Thien-Thi Nguyen <ttn@glug.org> writes:
> my question is: why this make-work change?

(a) So that numerics don't get quoted.  (b) The original coding was
wrong, since its rule for deciding when to quote had nothing to do with
the contents of the string being quoted, and it could thus fail to quote
when quoting was essential.

            regards, tom lane

pgsql-general by date:

Previous
From: Dmitry Tkach
Date:
Subject: Re: Limited varchar, unlimited varchar, or text?
Next
From: Dmitry Tkach
Date:
Subject: Re: Limited varchar, unlimited varchar, or text?