Re: Referencing created tables fails with message that

Поиск
Список
Период
Сортировка
Искать
От
Sven Willenberger
Тема
Re: Referencing created tables fails with message that
Дата
Msg-id
42229D3D.8070700@dmv.com
Ответ на
Список
Дерево обсуждения
Referencing created tables fails with message that they do not exist! Tommy Svensson <tommy@tommysvensson.net>
Re: Referencing created tables fails with message that Robby Russell <robby@planetargon.com>
Re: Referencing created tables fails with message that Ragnar Hafstað <gnari@simnet.is>
Re: Referencing created tables fails with message that Tino Wildenhain <tino@wildenhain.de>
Re: Referencing created tables fails with message that Tommy Svensson <tommy@tommysvensson.net>
Re: Referencing created tables fails with message that Michael Fuhr <mike@fuhr.org>
Re: Referencing created tables fails with message that Tommy Svensson <tommy@tommysvensson.net>
Re: Referencing created tables fails with message that Stephan Szabo <sszabo@megazone.bigpanda.com>
Re: Referencing created tables fails with message that they do not exist! Michael Fuhr <mike@fuhr.org>
Re: Referencing created tables fails with message that Chris Smith <chris@interspire.com>
Re: Referencing created tables fails with message that Sven Willenberger <sven@dmv.com>
Re: Referencing created tables fails with message that Doug McNaught <doug@mcnaught.org>


Tommy Svensson presumably uttered the following on 02/27/05 18:50:
> 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 ;
> SELECT * FROM public.
; > SELECT * FROM .public.
; > > All result in the message "The relation
does not exist!" or "The > relation public.
does not exist!". > > Creating a new table with a foreign key referencing the first table is > also impossible due to exactly the same error message! > > This behaviour is the same using DBVisualizer/jdbc or psql. > > So the question is how do you actually reference the tables you have > created so that postgres will find them ? > The tables do actually get created. I can se them in DBVisualizer. > What database did you create the tables in? and what database are you connecting to when trying to issue your SELECT statements? Are you trying to SELECT from the same application you are using to CREATE TABLE? It sounds like you created the tables in and perhaps are trying to SELECT * FROM while connected to template1. Sven
В списке pgsql-general по дате отправления
От: Stephan Szabo
Дата:
От: Robert Treat
Дата:
FAQ