pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Victor Yegorov <viy@pirmabanka.lv>
To: pgsql-sql@postgresql.org
Subject: Re: Relation "pg_relcheck"
Date: Tue, 25 Feb 2003 18:08:37 +0200
Message-ID: <20030225160837.GB4347@pirmabanka.lv> (raw)
In-Reply-To: <20030225155021.GA4347@pirmabanka.lv>
References: <20030225155021.GA4347@pirmabanka.lv>

* 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



view thread (9+ messages)  latest in thread

Message-ID: <20030225160837.GB4347@pirmabanka.lv>
Permalink:  ../20030225160837.GB4347@pirmabanka.lv/
Also on:    postgresql.org/message-id/20030225160837.GB4347@pirmabanka.lv

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: viy@pirmabanka.lv
  Subject: Re: Relation "pg_relcheck"
  In-Reply-To: <20030225160837.GB4347@pirmabanka.lv>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox