============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : Ivan Schreter
Your email address : ivan@shadow.sk
Category : runtime: back-end
Severity : non-critical
Summary: Array input conversion routine problem
System Configuration
- --------------------
Operating System : Linux 2.0.34 ELF
PostgreSQL version : 6.3.2
Compiler used : egcs-2.90.27 980315 (egcs-1.0.2 release)
Hardware:
- ---------
Pentium 200MMX, 192MB RAM
Linux shadow1.shadow.sk 2.0.34 #8 Wed Jul 29 23:33:15 CEST 1998 i586 unknown
Versions of other tools:
- ------------------------
GNU Make version 3.76.1
flex version 2.5.4
- --------------------------------------------------------------------------
Problem Description:
- --------------------
If you insert into text[] field something like
'{abc\\,def, ghi\\,jkl}' it actually creates 4 strings
instead of 2, {"abc,def", "ghi,jkl", "", ""}.
Seems like it counts number of elements by counting commas
in the list, including escaped ones.
- --------------------------------------------------------------------------
Test Case:
- ----------
see description
- --------------------------------------------------------------------------
Solution:
- ---------
- --------------------------------------------------------------------------