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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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