python - typ: Fix handling of empty arrays. - Mailing list pgsql-committers

From jwp@pgfoundry.org (James William Pye)
Subject python - typ: Fix handling of empty arrays.
Date
Msg-id 20060323063750.B2291103380C@pgfoundry.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix handling of empty arrays.
Too many places assumed that there would be elements in a list.

Add a test for it in io.py.

Modified Files:
--------------
    typ/src:
        root.py (r1.2 -> r1.3)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/typ/src/root.py.diff?r1=1.2&r2=1.3)
    typ/test:
        io.py (r1.1.1.1 -> r1.2)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/typ/test/io.py.diff?r1=1.1.1.1&r2=1.2)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix plpgsql to pass only one copy of any given plpgsql variable
Next
From: jwp@pgfoundry.org (James William Pye)
Date:
Subject: python - fe: Add more tests to testArray.