Обсуждение: pgsql/ oc/src/sgml/array.sgml rc/backend/utils ...

Поиск
Список
Период
Сортировка

pgsql/ oc/src/sgml/array.sgml rc/backend/utils ...

От
tgl@postgresql.org
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    01/11/29 16:02:41

Modified files:
    doc/src/sgml   : array.sgml
    src/backend/utils/adt: arrayfuncs.c
    src/test/regress/expected: arrays.out

Log message:
    Fix array_out's failure to backslash backslashes, per bug# 524.  Also,
    remove brain-dead rule that double quotes are needed if and only if the
    datatype is pass-by-reference; neither direction of the implication holds
    water.  Instead, examine the actual data string to see if it contains
    any characters that force us to quote it.
    Add some documentation about quoting of array values, which was previously
    explained nowhere AFAICT.