Re: Referencing created tables fails with message that

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: tommy(at)tommysvensson(dot)net
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Referencing created tables fails with message that
Date: 2005-02-28 02:23:06
Message-ID: 871xb14e45.fsf@asmodeus.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tommy Svensson <tommy(at)tommysvensson(dot)net> writes:

> I have just installed Postgresql and tried it for the first time.
>
> One very serious problem I ran into was when actually trying to use
> created tables.
> Creating a simple table without any foreign keys works OK, but after
> creating the
> table it is not possible to do a select on it! I tried the following
> variants:
>
> SELECT * FROM <table>;
> SELECT * FROM public.<table>;
> SELECT * FROM <schema>.public.<table>;
>
> All result in the message "The relation <table> does not exist!" or
> "The relation public.<table> does not exist!".

I bet it's a case problem. Please give the actual table name and the
exact SQL you are using to create and access it.

-Doug

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Smith 2005-02-28 03:42:57 Re: Referencing created tables fails with message that
Previous Message Robby Russell 2005-02-28 02:16:02 Re: Referencing created tables fails with message that