Re: ON CONFLICT DO UPDATE using EXCLUDED.column gives an error about mismatched types

Поиск
Список
Период
Сортировка
Искать
От
Peter Geoghegan
Тема
Re: ON CONFLICT DO UPDATE using EXCLUDED.column gives an error about mismatched types
Дата
Msg-id
CAM3SWZTw2z9RFxi3peNkBUs6_58G0uQGSjZ3UcBMWZ8HL+Hu-A@mail.gmail.com
Ответ на
Список
Дерево обсуждения
ON CONFLICT DO UPDATE using EXCLUDED.column gives an error about mismatched types Geoff Winkless <pgsqladmin@geoff.dj>
Re: ON CONFLICT DO UPDATE using EXCLUDED.column gives an error about mismatched types Andres Freund <andres@anarazel.de>
Re: ON CONFLICT DO UPDATE using EXCLUDED.column gives an error about mismatched types Geoff Winkless <pgsqladmin@geoff.dj>
Re: ON CONFLICT DO UPDATE using EXCLUDED.column gives an error about mismatched types Peter Geoghegan <pg@heroku.com>
Re: ON CONFLICT DO UPDATE using EXCLUDED.column gives an error about mismatched types Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: ON CONFLICT DO UPDATE using EXCLUDED.column gives an error about mismatched types Geoff Winkless <pgsqladmin@geoff.dj>
Re: ON CONFLICT DO UPDATE using EXCLUDED.column gives an error about mismatched types Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: ON CONFLICT DO UPDATE using EXCLUDED.column gives an error about mismatched types Peter Geoghegan <pg@heroku.com>
Re: ON CONFLICT DO UPDATE using EXCLUDED.column gives an error about mismatched types Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: ON CONFLICT DO UPDATE using EXCLUDED.column gives an error about mismatched types Peter Geoghegan <pg@heroku.com>
Re: ON CONFLICT DO UPDATE using EXCLUDED.column gives an error about mismatched types Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: ON CONFLICT DO UPDATE using EXCLUDED.column gives an error about mismatched types Peter Geoghegan <pg@heroku.com>
Re: ON CONFLICT DO UPDATE using EXCLUDED.column gives an error about mismatched types Peter Geoghegan <pg@heroku.com>
On Mon, Aug 3, 2015 at 8:53 AM, Geoff Winkless  wrote:
> the new table does not exhibit the same problem (so I'm assuming it's not
> easily reproducible and giving you a creation script isn't going to help).
>
> VACUUM FULL on the table makes no difference.
>
> Is there anything you guys can suggest that I can do to help narrow down the
> problem?

Yes. You should enable all of the following settings:

debug_print_parse (boolean)
debug_print_rewritten (boolean)
debug_print_plan (boolean)
debug_pretty_print (boolean)

which you can do dynamically from psql.

Then post the output for both the failing version (on that table where
you can reproduce the issue), and the other table where it seems that
you ought to be able to reproduce the problem, but you can't. Maybe
that'll show where the problem is.

Thanks
-- 
Peter Geoghegan


В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
От: Peter Geoghegan
Дата:
FAQ