Would you have defined the table using quoted upper-case? PG folds names to lower-case unless you double quote them, so:
test=# create table test(); CREATE TABLE test=# create table "Test"(); CREATE TABLE test=# \dt List of relations Schema | Name | Type | Owner --------+------+-------+---------- public | Test | table | postgres public | test | table | postgres (2 rows)
Ray.
------------------------------------------------------------------ Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland rod@iol.ie Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals ------------------------------------------------------------------