Re: could not open relation:no such file or directory - Mailing list pgsql-general

From Adrian Klaver
Subject Re: could not open relation:no such file or directory
Date
Msg-id 200612290821.48356.aklaver@comcast.net
Whole thread Raw
In response to could not open relation:no such file or directory  ("karthik" <karthik.nandagiri@gmail.com>)
List pgsql-general
On Tuesday 26 December 2006 2:43 am, karthik wrote:
> hello,
>
>     my name is karthik .
>
>      i facing a problem when trying to select values from a table in
> postgresql.
>
>    when i execute a query like "select title from itemsbytitle;"   i
> get error as
>
>    Error:Could not open relation "itemsbytitle". no such file or
> directory.
>
>    can anybody help me to find an answer for this problem.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
I guess the first question is are you sure there is a table named
itemsbytitle? If so you may need to quote the table name-
SELECT title FROM "itemsbytitle";
See below for full explanation
http://www.postgresql.org/docs/8.2/interactive/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS
--
Adrian Klaver
aklaver@comcast.net

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: out of memory woes
Next
From: Tom Lane
Date:
Subject: Re: ERROR: could not access status of transaction