Skip site navigation (1) Skip section navigation (2)

question on "create domain"

From: "Denis Grannell" <dgrannell(at)web(dot)de>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: question on "create domain"
Date: 2003-02-16 17:20:26
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice

Sorry if this is a known problem or a faq, but I couldn't
find anything about it:

I'm using postgres  7.2.3 on Solaris and I can't create
domains. The syntax I'm using is lifted directly from the
postgres documentation:

CREATE DOMAIN country_code char(2) NOT NULL;

This throws up the following error:

pubs=# CREATE DOMAIN country_code char(2) NOT NULL;
ERROR:  parser: parse error at or near "domain"

thanks for any tips,

Denis Grannell

| Denis Grannell, Kapuzinerstr. 45, 80469 Munich, Germany |
| Tel: +49 89 2013672                 Fax: +49 89 2022875 |

pgsql-novice by date

Next:From: Denis GrannellDate: 2003-02-16 17:24:08
Subject: question on 'create domain'
Previous:From: ninjaDate: 2003-02-16 12:39:39
Subject: base36 sequence

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group