python - typ: Fix handling of empty arrays.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - typ: Fix handling of empty arrays.
Date: 2006-03-23 06:37:50
Message-ID: 20060323063750.B2291103380C@pgfoundry.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message James William Pye 2006-03-23 06:47:28 python - fe: Add more tests to testArray.
Previous Message Tom Lane 2006-03-23 04:22:45 pgsql: Fix plpgsql to pass only one copy of any given plpgsql variable