From: Dylan Lorimer <edylan@google.com>
To: pgsql-sql@postgresql.org
Subject: Duplicate Fields + Views Questions
Date: Fri, 3 Nov 2006 16:07:04 -0800
Message-ID: <3ddac38d0611031607w5564c44dk8e0c0a6cd5fdf0c@mail.gmail.com> (raw)
Hi,
I've got 2 views - each with identical column names. I want to create an
aggregate view of both tables as a new view. But when I try to do this I
understandably get errors on duplicate fields.
As an example:
CREATE VIEW gnis_view AS SELECT * FROM gnis_international_view,
gnis_usa_view;
ERROR: column "the_geom" duplicated
ERROR: column "the_geom" duplicated
Any ideas on how I can achieve what I am seeking?
Cheers,
dylan
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: edylan@google.com
Subject: Re: Duplicate Fields + Views Questions
In-Reply-To: <3ddac38d0611031607w5564c44dk8e0c0a6cd5fdf0c@mail.gmail.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