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

Raw constraint & pg_relcheck.rcsrc

From: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
To: "pgsql-hackers" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Raw constraint & pg_relcheck.rcsrc
Date: 2000-08-03 04:40:23
Message-ID: 000f01bffd04$ef9fff80$2801007e@tpf.co.jp (view raw or flat)
Thread:
Lists: pgsql-hackers
Hi all,

I have a question.
As far as I see,constraints are stored into PG database ordinarily
as follows.

  1) RelationAddRawConstraints() converts each raw constaint
      to bin form.
  2) StoreRelCheck() converts the bin form to src form and store
      them into pg_relcheck tuples.

Is pg_relcheck.rcsrc equivalent to the original raw constraint ?

Regards.

Hiroshi Inoue
Inoue(at)tpf(dot)co(dot)jp

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2000-08-03 05:07:26
Subject: Re: Raw constraint & pg_relcheck.rcsrc
Previous:From: Thomas SwanDate: 2000-08-03 03:23:07
Subject: Re: [HACKERS] random() function produces wrong range

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