Re: CreateTable --> schema not found
От | Richard Huxton |
---|---|
Тема | Re: CreateTable --> schema not found |
Дата | |
Msg-id | 42D4D141.9070000@archonet.com обсуждение исходный текст |
Ответ на | CreateTable --> schema not found (Josef Springer <Josef.Springer@JOOPS.COM>) |
Список | pgsql-general |
Josef Springer wrote: > Hi, > > sorry, i am a PostgesSQL beginner: > > * I started the pgadmin tool as superuser. > * Created the database /OfficeTalk/ > * Created the schema /OfficeTalk/ with same permissions as the template > /pg_template_1/ Are you sure pg_template_1 isn't a database? > * If i create the table /OfficeTalk.absent/ .... >>> * schema not found* > * Creating the same table in schema /pg_template_1/ works fine. If not, I'd suspect quoting issues. Fire up psql and do a \dn to see what schemas are actually in your database - if they were quoted when they were created they'll maintain their case, otherwise they'll be lower-case. Once you create something with mixed-case you'll always need to reference it quoted, e.g. CREATE TABLE "OfficeTalk".absent ( a int4, ... ); -- Richard Huxton Archonet Ltd
В списке pgsql-general по дате отправления: