Port Bug Report: Array input conversion routine problem - Mailing list pgsql-ports

From Unprivileged user
Subject Port Bug Report: Array input conversion routine problem
Date
Msg-id 52d412a3e7e0ca196ad82df2718ad272
Whole thread Raw
List pgsql-ports
============================================================================
                        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:
- ---------


- --------------------------------------------------------------------------

pgsql-ports by date:

Previous
From: Unprivileged user
Date:
Subject: Port Bug Report: linking bug in hpux 10.20
Next
From: Rich Shepard
Date:
Subject: PostgreSQL 6.4 compilation failure report