Re: [HACKERS] Re: unanswered: Schema Issue

From: "V(dot) M(dot)" <txian(at)hotmail(dot)com>
To: jburton(at)scw(dot)org
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Re: unanswered: Schema Issue
Date: 2001-04-26 19:41:04
Message-ID: F73BkNyYcKUHbY6OISo00003f35@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

yes, but my tables have long names, i've already done as suggested by you.

why not have a schema table created for us to extract these info.

>From: Joel Burton <jburton(at)scw(dot)org>
>To: "V. M." <txian(at)hotmail(dot)com>
>CC: pgsql-general(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
>Subject: Re: [HACKERS] Re: unanswered: Schema Issue
>Date: Thu, 26 Apr 2001 15:32:47 -0400 (EDT)
>
>On Thu, 26 Apr 2001, V. M. wrote:
>
>(moving this conversation back to pgsql-general, followups to there)
>
> > perhaps adding t.tgargs to your view enable me to extract parameters
> > that are the related fields
>
>At SCW, we use a naming convention for RI triggers, to allow
>us to easily extract that, and deal with error messages.
>
>We use:
>
>CREATE TABLE p (id INT);
>
>CREATE TABLE c (id INT CONSTRAINT c__ref_id REFERENCES p);
>
>This allows us at a glance to see in error messages what field of what
>table we were referencing. In an Access front end, we can trap this
>error message to a nice statement like "You're trying to change a value in
>the table "c", using information in table "p", "id", but...")
>
>If you don't have this, yes, you can look at in
>the tgargs, but, given that its a bytea field, it's hard to
>programmatically dig anything out of it.
>
>HTH,
>--
>Joel Burton <jburton(at)scw(dot)org>
>Director of Information Systems, Support Center of Washington
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Browse pgsql-general by date

  From Date Subject
Next Message Clayton Vernon 2001-04-26 19:51:23 Re: Re: Re: Need for newbie friendly docs (was Newbie struggling...)
Previous Message J.H.M. Dassen Ray 2001-04-26 19:37:10 Re: crypt(table.field) ?