Re: Relation "pg_relcheck" - Mailing list pgsql-sql

From Victor Yegorov
Subject Re: Relation "pg_relcheck"
Date
Msg-id 20030225160837.GB4347@pirmabanka.lv
Whole thread Raw
In response to Relation "pg_relcheck"  ("Victor Yegorov" <viy@pirmabanka.lv>)
List pgsql-sql
* Victor Yegorov <viy@pirmabanka.lv> [25.02.2003 18:06]:
> 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)
> );
> 

Sorry for troubles, got the problem myself.
psql client was of version 7.2.2.
After update everything works fine.

-- 

Victor Yegorov


pgsql-sql by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Sub Select inside Check ?
Next
From: Stephan Szabo
Date:
Subject: Re: Relation "pg_relcheck"