You must be connected to the database in psql first
\c db_chris
Then create schema ....
Le ven. 28 août 2020 à 13:28, <psql-contact(at)citecs(dot)de> a écrit :
> 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.
>
>
>
>
>