pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Victor Yegorov <viy@pirmabanka.lv>
Cc: pgsql-sql@postgresql.org
Subject: Re: Relation "pg_relcheck"
Date: Tue, 25 Feb 2003 08:11:27 -0800 (PST)
Message-ID: <20030225081003.B57635-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <20030225155021.GA4347@pirmabanka.lv>


On Tue, 25 Feb 2003, 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
>
> Whats the problem, I wonder. I've already created a new DB location with
> initdb and pointed server to it - same stuff.

Are you sure you're using the same version of psql as the server is
running?  The info in pg_relcheck moved to pg_constraint IIRC.




view thread (9+ messages)  latest in thread

Message-ID: <20030225081003.B57635-100000@megazone23.bigpanda.com>
Permalink:  ../20030225081003.B57635-100000@megazone23.bigpanda.com/
Also on:    postgresql.org/message-id/20030225081003.B57635-100000@megazone23.bigpanda.com

 · 

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: sszabo@megazone23.bigpanda.com, viy@pirmabanka.lv
  Subject: Re: Relation "pg_relcheck"
  In-Reply-To: <20030225081003.B57635-100000@megazone23.bigpanda.com>

* 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