pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bill MacArthur <webmaster@dhs-club.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: table row type and query-specified row type do not match
Date: Sun, 11 Mar 2012 18:15:57 -0400
Message-ID: <21604.1331504157@sss.pgh.pa.us> (raw)
In-Reply-To: <7576.1331241951@sss.pgh.pa.us>
References: <4F590B2A.1030709@dhs-club.com>
	<7576.1331241951@sss.pgh.pa.us>

I wrote:
> What I would have expected to happen is for the ALTER TABLE to throw an
> error telling you it couldn't cope with updating the rule, and that
> you'd need to fix that manually.  There is such a test involving views;
> not sure why it's not catching this rule.

FYI, I've committed a patch that will cause 9.2 and later releases to
report an error for this case.

			regards, tom lane



view thread (4+ messages)

Message-ID: <21604.1331504157@sss.pgh.pa.us>
Permalink:  ../21604.1331504157@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/21604.1331504157@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, webmaster@dhs-club.com
  Subject: Re: table row type and query-specified row type do not match
  In-Reply-To: <21604.1331504157@sss.pgh.pa.us>
  References: <4F590B2A.1030709@dhs-club.com> <7576.1331241951@sss.pgh.pa.us> <21604.1331504157@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox