Re: [GENERAL] Why is table not found?

Поиск
Список
Период
Сортировка
От Egon Frerich
Тема Re: [GENERAL] Why is table not found?
Дата
Msg-id cedc3721-e792-0b1e-a328-51108fc05aed@frerich.eu
обсуждение исходный текст
Ответ на [GENERAL] Why is table not found?  (Egon Frerich <egon@frerich.eu>)
Список pgsql-general
Thank you all for your answers.

You see: it is a newbie question.

Egon

Am 31.01.2017 um 14:45 schrieb Egon Frerich:
>
> I created a db 'Hausrat' with a table "Raum". If I look in pgadmin I
> find the the table. In sql field is shown:
>
> > -- Table: "Raum"
>
> > -- DROP TABLE "Raum";
>
> > CREATE TABLE "Raum"
> > (
> >   "RaumID" serial NOT NULL, -- Automatisch vergebenes
> Identifizierungsmerkmal für den Raum
> >   "Raum" character varying(15), -- Bezeichnung des Raums
> >   CONSTRAINT "Raum_pkey" PRIMARY KEY ("RaumID")
> > )
> > WITH (
> >   OIDS=FALSE
> > );
> > ALTER TABLE "Raum"
> >   OWNER TO egon;
> > COMMENT ON COLUMN "Raum"."RaumID" IS 'Automatisch vergebenes
> Identifizierungsmerkmal für den Raum';
> > COMMENT ON COLUMN "Raum"."Raum" IS 'Bezeichnung des Raums';
>
>
> > -- Index: "Raum_RaumID_idx"
>
> > -- DROP INDEX "Raum_RaumID_idx";
>
> > CREATE INDEX "Raum_RaumID_idx"
> >   ON "Raum"
> >   USING btree
> >   ("RaumID");
>
> But psql tells me "Raum" is not existent:
>
> > egon@xfEinzel ~ $ psql Hausrat
> > psql (9.3.15)
> > Type "help" for help.
>
> > Hausrat=# SELECT * FROM Raum;
> > ERROR:  relation "raum" does not exist
> > LINE 1: SELECT * FROM Raum;
> >                       ^
> > Hausrat=#
>
> Why?
>
> Egon
>
> > > >




В списке pgsql-general по дате отправления:

Предыдущее
От: Alban Hertroys
Дата:
Сообщение: Re: [GENERAL] Why is table not found?
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [GENERAL] Causeless CPU load waves in backend, on windows, 9.5.5(EDB binary).