Re: Not existing relations ... - Mailing list pgsql-general

From Antonio Fiol Bonnín
Subject Re: Not existing relations ...
Date
Msg-id 3C04E93C.42D660B7@w3ping.com
Whole thread Raw
In response to Not existing relations ...  ("linux" <rysiekll@vicom.ig.pl>)
List pgsql-general
> DataBase=# \dt
>           List of relations
>        Name        | Type  |  Owner
> -------------------+-------+----------
>  FirstTable        | table | postgres
>  SecondTable       | table | postgres
>  ThirdTable        | table | postgres
> (3 rows)
>
> DataBase=# select * from FirstTable;
> ERROR:  Relation 'firsttable' does not exist

select * from "FirstTable";

will probably work.

You may also (if you do not need to access them from MSAccess any more)

ALTER TABLE "FirstTable" RENAME TO firsttable;

If you do not enclose the table names in double quotes ("), they are
converted to lower case, AFAIK.

Good luck!

Antonio



pgsql-general by date:

Previous
From: Mayan
Date:
Subject: Starting PosgreSQL at bootup time
Next
From: wsheldah@lexmark.com
Date:
Subject: Re: Starting PosgreSQL at bootup time