Re: can't create table on new db/schema/user

Поиск
Список
Период
Сортировка
От psql-contact@citecs.de
Тема Re: can't create table on new db/schema/user
Дата
Msg-id 20200828112835.GA6710@app.citecs
обсуждение исходный текст
Ответ на Re: can't create table on new db/schema/user  (hubert depesz lubaczewski <depesz@depesz.com>)
Ответы Re: can't create table on new db/schema/user  (Didier Gasser-Morlay <didiergm@gmail.com>)
SOLVED: can't create table on new db/schema/user  (pgsql-novice@lists.postgresql.org)
Список pgsql-novice
On Fri, Aug 28, 2020 at 12:56:12PM +0200, hubert depesz lubaczewski wrote:
> Schema s_chris is in database "postgres", but you try to make the table
> in "db_chris".
> 
> So you have to make the schema in db_chris database.

How would I do that?

I ran 
    create schema     s_chris    authorization "chris";

How do I specify the database?

According to 
    https://www.postgresql.org/docs/11/sql-createschema.html

there seems to be no such parameter.





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

Предыдущее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: can't create table on new db/schema/user
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: insert vs. copy in pgAdmin