Re: [HACKERS] MERGE SQL Statement for PG11
От
Pavan Deolasee
Тема
Re: [HACKERS] MERGE SQL Statement for PG11
Дата
Msg-id
CABOikdM9hvMCt_nsunLpk1KhQQVwW+-cGH7BfMoh4HqMdbbn-g@mail.gmail.com
Ответ на
Re: [HACKERS] MERGE SQL Statement for PG11 (Simon Riggs)
Список
Дерево обсуждения
[HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] MERGE SQL Statement for PG11 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Chapman Flack <chap@anastigmatix.net>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Andreas Seltenreich <seltenreich@gmx.de>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Andreas Seltenreich <seltenreich@gmx.de>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Andreas Seltenreich <seltenreich@gmx.de>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Andreas Seltenreich <seltenreich@gmx.de>
Re: MERGE SQL Statement for PG11 André Brière <brierand@outlook.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] MERGE SQL Statement for PG11 Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Pavan Deolasee <pavan.deolasee@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
[HACKERS] Mapping MERGE onto CTEs (Re: MERGE SQL Statement for PG11) Nico Williams <nico@cryptonector.com>
Re: [HACKERS] Mapping MERGE onto CTEs (Re: MERGE SQL Statement forPG11) Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] Mapping MERGE onto CTEs (Re: MERGE SQL Statement for PG11) Craig Ringer <craig@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 srielau <serge@rielau.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Nico Williams <nico@cryptonector.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Serge Rielau <serge@rielau.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Thomas Kellerer <spam_eater@gmx.net>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Geoff Winkless <pgsqladmin@geoff.dj>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Nico Williams <nico@cryptonector.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Geoff Winkless <pgsqladmin@geoff.dj>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Craig Ringer <craig@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Nico Williams <nico@cryptonector.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Nico Williams <nico@cryptonector.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Nico Williams <nico@cryptonector.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Nico Williams <nico@cryptonector.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Nico Williams <nico@cryptonector.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Nico Williams <nico@cryptonector.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Nico Williams <nico@cryptonector.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Nico Williams <nico@cryptonector.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] MERGE SQL Statement for PG11 Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] MERGE SQL Statement for PG11 Szymon Lipiński <mabewlun@gmail.com>
On Fri, Mar 23, 2018 at 4:37 PM, Pavan Deolasee <pavan.deolasee@gmail.com> wrote:
-- On Fri, Mar 23, 2018 at 12:57 PM, Amit Langote <Langote_Amit_f8@lab.ntt.co.jp> wrote:
Also, it seems that the delta patch I sent in the last email didn't
contain all the changes I had to make. It didn't contain, for example,
replacing adjust_and_expand_inherited_tlist() with
adjust_partition_tlist(). I guess you'll know when you rebase anyway.Yes, I am planning to fix that once the ON CONFLICT patch is ready/committed.
Now that ON CONFLICT patch is in, here are rebased patches. The second patch is to add support for CTE (thanks Peter).
Apart from rebase, the following things are fixed/improved:
- Added test cases for column level privileges as suggested by Peter. One problem got discovered during the process. Since we expand and track source relation targetlist, the exiting code was demanding SELECT privileges on all attributes, even though MERGE is only referencing a few attributes on which the user has privilege. Fixed that by disassociating expansion from the actual referencing.
- Added a test case for RLS where SELECT policy actually hides some rows, as suggested by Stephen in the past
- Added check to compare result relation's and merge target relation's OIDs, as suggested by Robert. Simon thinks it's not necessary given that we now scan catalog using MVCC snapshot. So will leave it to his discretion when he takes it up for commit
- Improved explanation regarding why we need a second RTE for merge target relation and general cleanup/improvements in that area
I think it will be a good idea to send any further patches as add-on patches for reviewer/committer's sake. I will do that unless someone disagrees.
Thanks,
Pavan
Pavan Deolasee http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления
От: Claudio Freire
Дата: