Re: Adding type info etc for inheritance errmsg: "child table is missing column ..."

From: Ryan Murphy <ryanfmurphy(at)gmail(dot)com>
To: Vik Fearing <vik(at)2ndquadrant(dot)fr>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL DEV mailing list <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Adding type info etc for inheritance errmsg: "child table is missing column ..."
Date: 2017-01-08 04:51:56
Message-ID: CAHeEsBcZYHXHYDEhojq2B0jWqiQ80VAeBWD9NcpW8RM8WrBwmw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Perhaps the ERROR message should remain as is, and a DETAIL or HINT line
> could be emitted with the entire column definition (or close to it)?
>
>
I'm open to this option as well. The only parts I really care about are
the type and the NOT NULL, since those are the ones that will give you an
error if it doesn't line up with the parent. Putting it in a DETAIL or
HINT is fine with me.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Nasby 2017-01-08 04:57:45 Re: Add support for SRF and returning composites to pl/tcl
Previous Message Jim Nasby 2017-01-08 03:35:59 Re: [PATCH] Rename pg_switch_xlog to pg_switch_wal