Re: could not open relation:no such file or directory

From: Adrian Klaver <aklaver(at)comcast(dot)net>
To: pgsql-general(at)postgresql(dot)org
Cc: "karthik" <karthik(dot)nandagiri(at)gmail(dot)com>
Subject: Re: could not open relation:no such file or directory
Date: 2006-12-29 16:21:48
Message-ID: 200612290821.48356.aklaver@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)comcast(dot)net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Wenjian Yang 2006-12-29 17:14:32 Re: LDAP configuration problem
Previous Message Wes 2006-12-29 16:02:31 Index vacuum improvements in 8.2