Re: Recursive Arrays 101 - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Recursive Arrays 101
Date
Msg-id 562EA7C4.8030908@aklaver.com
Whole thread Raw
In response to Re: Recursive Arrays 101  (David Blomstrom <david.blomstrom@gmail.com>)
List pgsql-general
On 10/26/2015 03:18 PM, David Blomstrom wrote:
> I pasted this into the shell...

What shell, psql?

>
> CREATE ROLE david
> LOGIN
> CREATEDB;
>
> CREATE DATABASE GeoZoo2
> OWNER david;

Did you see any errors?

>
> and I did it again, replacing LOGIN with my password, but when I refresh
> pgAdmin III, there are no new databases.

No LOGIN is an attribute of ROLE it is not the password
>
> And when I paste this in, it doesn't create a table...
>
> CREATE TABLE public.gz_life_mammals2
> (
>    id            int PRIMARY KEY,
>    taxon         text UNIQUE NOT NULL,
>    parent        text NOT NULL,
>    slug          text,
>    name_common   text,
>    plural        text,
>    extinct       smallint NOT NULL,
>    rank          smallint NOT NULL,
>    key           smallint NOT NULL
> );


--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: David Blomstrom
Date:
Subject: Re: Recursive Arrays 101
Next
From: Gavin Flower
Date:
Subject: Re: Recursive Arrays 101