Re: pg_dump of table including check rule fails to restore

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Lewis Foti" <lewis(dot)foti(at)mentation(dot)com>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: pg_dump of table including check rule fails to restore
Date: 2003-12-16 21:25:43
Message-ID: 200312162225.43099.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Lewis Foti wrote:
> Further to my original message I realise that the problem was due to
> the text of the rule still referring to columns, src_section_id and
> dst_section_id by their original names, parent_section_id and
> child_section_id respectively. So the nature of the bug changes to
> that pg_dump does not correctly export CHECK rules where the name of
> the column(s) referred to has changed. Now IMHO that is somewhat
> subtle.

This appears to be fixed in 7.4. Upgrading might be your best option
unless you want to backport the pg_dump fix to 7.3.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PostgreSQL Bugs List 2003-12-16 22:07:23 BUG #1011: Explain analyze "query" cause segv
Previous Message Peter Eisentraut 2003-12-16 21:22:33 Re: pg_dump of table including check rule fails to restore