Re: Need help with upsert

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Need help with upsert
Дата
Msg-id 1386259683.99568.YahooMailNeo@web162901.mail.bf1.yahoo.com
обсуждение исходный текст
Ответ на Re: Need help with upsert  (Richard Dunks <richarddunks@gmail.com>)
Список pgsql-general
Richard Dunks <richarddunks@gmail.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


В списке pgsql-general по дате отправления:

Предыдущее
От: Matt Daw
Дата:
Сообщение: Re: [GENERAL] Re: [GENERAL] Fwd: Help!Why CPU Usage and LoadAverage Jump up Suddenly
Следующее
От: Andy Colson
Дата:
Сообщение: vacuum_freeze_table_age for 9.3.2