From: | Kevin Grittner <kgrittn(at)ymail(dot)com> |
---|---|
To: | Richard Dunks <richarddunks(at)gmail(dot)com>, Eric Lamer <eric(at)phoenixsecure(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Need help with upsert |
Date: | 2013-12-05 16:08:03 |
Message-ID: | 1386259683.99568.YahooMailNeo@web162901.mail.bf1.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Richard Dunks <richarddunks(at)gmail(dot)com> wrote:
> I will run this command 7 times with different daily table.
> [ ... ] a WHERE NOT EXISTS (SELECT * FROM upsert b WHERE a.firewall [ ... ]
>
> When I run the command I get an error
> ERROR: column reference "firewall" is ambiguous
> LINE 3: ... a WHERE NOT EXISTS (SELECT * FROM upsert b WHERE b.firewall...
>
> Any idea what I am doing wrong?
You are not showing us the actual query or the actual error
message. (Note the mismatch in aliases qualifying "firewall" near
the ends of the above lines.) Please cut and paste the entire
query and the entire error message, and make sure they are from the
same run.
--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Andy Colson | 2013-12-05 16:16:18 | vacuum_freeze_table_age for 9.3.2 |
Previous Message | Matt Daw | 2013-12-05 16:05:21 | Re: [GENERAL] Re: [GENERAL] Fwd: Help!Why CPU Usage and LoadAverage Jump up Suddenly |