Re: Re: [BUG?] tgconstrrelid doesn't survive a dump/restore

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: PostgreSQL HACKERS <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Re: [BUG?] tgconstrrelid doesn't survive a dump/restore
Date: 2001-04-20 16:29:10
Message-ID: 200104201629.LAA01566@jupiter.jw.home
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Philip Warner wrote:
> At 08:42 19/04/01 -0500, Jan Wieck wrote:
> [...]
> > and the required
> > feature to correctly restore the tgconstrrelid is already in
> > the backend, so pg_dump should make use of it
>
> No problem there - just tell me how...

Add a "FROM <opposite-relname>" after the "ON <relname>" to
the CREATE CONSTRAINT TRIGGER statements. That's it.

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-04-20 16:35:46 Re: System catalog representation of access privileges
Previous Message Tom Lane 2001-04-20 15:46:23 Re: RFC: planner statistics in 7.2