From: Tom Lane <tgl@sss.pgh.pa.us>
To: jon.plotky@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6601: Inconsistent behavior of ALTER TABLE ADD COLUMN
Date: Wed, 18 Apr 2012 19:44:55 -0400
Message-ID: <20746.1334792695@sss.pgh.pa.us> (raw)
In-Reply-To: <E1SKa6o-00080w-9l@wrigleys.postgresql.org>
References: <E1SKa6o-00080w-9l@wrigleys.postgresql.org>
jon.plotky@gmail.com writes:
> Issue: After adding one new column to each of two different tables, querying
> pg_attribute shows the new column in one table but not the other.
This is a bit hard to believe, and your log extract certainly doesn't
provide any evidence to support the statement. Could we see a complete
self-contained test case?
> - Postgresql log shows difference after the two ALTER TABLE statements (see
> below), with a "forked new backend" message always following the ALTER TABLE
> that does not update pg_attribute. Don't know if this has anything to do
> with anything, but the log messages are always the same
That only suggests a new incoming connection, which seems probably
unrelated. However, if that new connection is what's going to examine
pg_attribute, maybe the issue is that it's looking before the ALTER has
committed?
regards, tom lane
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, jon.plotky@gmail.com
Subject: Re: BUG #6601: Inconsistent behavior of ALTER TABLE ADD COLUMN
In-Reply-To: <20746.1334792695@sss.pgh.pa.us>
References: <E1SKa6o-00080w-9l@wrigleys.postgresql.org> <20746.1334792695@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