From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Daniel Cristian Cruz <danielcristian@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6050: Dump and restore of view after a schema change: can't restore the view
Date: Fri, 03 Jun 2011 13:29:56 -0400
Message-ID: <1556.1307122196@sss.pgh.pa.us> (raw)
In-Reply-To: <4DE8D104020000250003E0EB@gw.wicourts.gov>
References: <201106031238.p53CcA8P075374@wwwmaster.postgresql.org>
<27042.1307113140@sss.pgh.pa.us>
<BANLkTikhmPtzZQNPPJ7vfsaHsEq8e5Sc-Q@mail.gmail.com>
<4DE8D104020000250003E0EB@gw.wicourts.gov>
"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
>> Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> Personally my advice is to avoid USING: it wasn't one of the SQL
>>> committee's better ideas.
> There's no query you can write with USING that you can't write in a
> longer form with ON; but a query of moderate complexity can become
> significantly shorter with USING, and thus easier to understand and
> less prone to bugs than the ON form.
If USING (x) actually were exactly equivalent to ON (a.x = b.x),
I'd be less annoyed with it. But it isn't; the committee just
couldn't resist the urge to decorate it with some dubious additional
behaviors.
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, Kevin.Grittner@wicourts.gov, robertmhaas@gmail.com, danielcristian@gmail.com
Subject: Re: BUG #6050: Dump and restore of view after a schema change: can't restore the view
In-Reply-To: <1556.1307122196@sss.pgh.pa.us>
References: <201106031238.p53CcA8P075374@wwwmaster.postgresql.org> <27042.1307113140@sss.pgh.pa.us> <BANLkTikhmPtzZQNPPJ7vfsaHsEq8e5Sc-Q@mail.gmail.com> <4DE8D104020000250003E0EB@gw.wicourts.gov> <1556.1307122196@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