From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: hartzell@alerce.com
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #11176: Doc bug: New York City is *not* the capital of New York State.
Date: Fri, 15 Aug 2014 10:02:08 +0300
Message-ID: <53EDB070.8030202@vmware.com> (raw)
In-Reply-To: <20140815033221.2544.74255@wrigleys.postgresql.org>
References: <20140815033221.2544.74255@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 08/15/2014 06:32 AM, hartzell@alerce.com wrote:
> This example, in section 5.8, Inheritance, suggests that someone thinks that
> New York the city is the capital of New York the state.
>
>> INSERT INTO cities (name, population, altitude, state)
> VALUES ('New York', NULL, NULL, 'NY');
>> We might hope that the data would somehow be routed to the capitals table,
> but this does not happen: INSERT always inserts into exactly the table
> specified. In some cases it is possible to redirect the insertion using a
> rule (see Chapter 38). However that does not help for the above case because
> the cities table does not contain the column state, and so the command will
> be rejected before the rule can be applied.
>
> The example would make more sense if the city were Albany.
Fixed, thanks.
- Heikki
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: hlinnakangas@vmware.com, hartzell@alerce.com
Subject: Re: BUG #11176: Doc bug: New York City is *not* the capital of New York State.
In-Reply-To: <53EDB070.8030202@vmware.com>
References: <20140815033221.2544.74255@wrigleys.postgresql.org> <53EDB070.8030202@vmware.com>
* 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