From: | Ian Barwick <barwick(at)gmx(dot)net> |
---|---|
To: | "Victor Yegorov" <viy(at)pirmabanka(dot)lv>, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Relation "pg_relcheck" |
Date: | 2003-02-25 16:22:09 |
Message-ID: | 200302251722.09561.barwick@gmx.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Tuesday 25 February 2003 16:50, Victor Yegorov wrote:
> Hello.
>
> I'm running PostgreSQL 7.3.2 on i686-pc-linux-gnu, compiled by GCC 2.95.3.
>
> I've created a table (a forest of nested sets):
> create table forest (
> tree_id int4 not null,
> leaf_id int4 not null,
> lid int2 not null check(lid > 0),
> rid int2 not null check (rid > 1),
> relation_id int2 not null default 0,
> constraint forest_order check(lid < rid),
> constraint forest_primary primary key(tree_id, leaf_id)
> );
>
> Now, in psql:
> mema2=> \d forest
> ERROR: Relation "pg_relcheck" does not exist
You are probably using a pre-7.3 version of psql with a 7.3.x
backend.
Ian Barwick
barwick(at)gmx(dot)net
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-02-25 16:24:07 | Re: Relation "pg_relcheck" |
Previous Message | Tom Lane | 2003-02-25 16:20:11 | Re: Polymorphic? |