Re: Updateing pg_trigger and pg_constraint - Mailing list pgsql-admin

From Tom Lane
Subject Re: Updateing pg_trigger and pg_constraint
Date
Msg-id 7767.1124311218@sss.pgh.pa.us
Whole thread Raw
In response to Updateing pg_trigger and pg_constraint  (Craig Servin <cservin@cromagnon.com>)
Responses Re: Updateing pg_trigger and pg_constraint  (Craig Servin <cservin@cromagnon.com>)
List pgsql-admin
Craig Servin <cservin@cromagnon.com> writes:
> I am trying to make some foreign keys deferrable and initially deferred.
> These foreign key constraints already exist so I was going to change them by
> updating pg_trigger and pg_constraint.
> However the changes do not seem to take affect.  Is there something I need to
> do to get PostgreSQL to recognize that I have tweaked it's tables?

Try starting a fresh backend session.  Manual hacking of those tables
isn't going to cause a relcache reload ...

            regards, tom lane

pgsql-admin by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: vacuumdb -a -f
Next
From: Craig Servin
Date:
Subject: Re: Updateing pg_trigger and pg_constraint