Re: UPSERT wiki page, and SQL MERGE syntax

Поиск
Список
Период
Сортировка
Искать
От
Matthew Woodcraft
Тема
Re: UPSERT wiki page, and SQL MERGE syntax
Дата
Msg-id
m1dt94$r0j$1@ger.gmane.org
Ответ на
Список
Дерево обсуждения
UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Kevin Grittner <kgrittn@ymail.com>
Re: UPSERT wiki page, and SQL MERGE syntax Robert Haas <robertmhaas@gmail.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Kevin Grittner <kgrittn@ymail.com>
Re: UPSERT wiki page, and SQL MERGE syntax Robert Haas <robertmhaas@gmail.com>
Re: UPSERT wiki page, and SQL MERGE syntax Kevin Grittner <kgrittn@ymail.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Kevin Grittner <kgrittn@ymail.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Kevin Grittner <kgrittn@ymail.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Kevin Grittner <kgrittn@ymail.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Kevin Grittner <kgrittn@ymail.com>
Re: UPSERT wiki page, and SQL MERGE syntax Matthew Woodcraft <matthew@woodcraft.me.uk>
Re: UPSERT wiki page, and SQL MERGE syntax Marko Tiikkaja <marko@joh.to>
Re: UPSERT wiki page, and SQL MERGE syntax Matthew Woodcraft <matthew@woodcraft.me.uk>
Re: UPSERT wiki page, and SQL MERGE syntax Robert Haas <robertmhaas@gmail.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Kevin Grittner <kgrittn@ymail.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Robert Haas <robertmhaas@gmail.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Robert Haas <robertmhaas@gmail.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Robert Haas <robertmhaas@gmail.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Greg Stark <stark@mit.edu>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: UPSERT wiki page, and SQL MERGE syntax Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: UPSERT wiki page, and SQL MERGE syntax Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Marti Raudsepp <marti@juffo.org>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Marti Raudsepp <marti@juffo.org>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Marti Raudsepp <marti@juffo.org>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Marti Raudsepp <marti@juffo.org>
Re: UPSERT wiki page, and SQL MERGE syntax Marti Raudsepp <marti@juffo.org>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Kevin Grittner <kgrittn@ymail.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Craig Ringer <craig@2ndquadrant.com>
Re: UPSERT wiki page, and SQL MERGE syntax Heikki Linnakangas <hlinnakangas@vmware.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
Re: UPSERT wiki page, and SQL MERGE syntax Peter Geoghegan <pg@heroku.com>
On 2014-10-12 13:40, Marko Tiikkaja wrote:
> On 10/12/14, 2:36 PM, Matthew Woodcraft wrote:
>> On 2014-10-10 19:44, Kevin Grittner wrote:
>>> To restate: to do so is conflating the logical definition of the
>>> database with a particular implementation detail.  As just one
>>> reason that is a bad idea: we can look up unique indexes on the
>>> specified columns, but if we implement a other storage techniques
>>> where there is no such thing as a unique index on the columns, yet
>>> manage to duplicate the semantics (yes, stranger things have
>>> happened), people can't migrate to the new structure without
>>> rewriting their queries
>>
>> Wouldn't it be good enough to define the 'WITHIN' as expecting a
>> unique-constraint name rather than an index name (even though those
>> happen to be the same strings)?
>>
>> I think constraints are part of the logical definition of the database,
>> and a new storage technique which doesn't use indexes should still have
>> names for its unique constraints.
> 
> What about partial indexes?  Indexes on expressions or functions calls?

On this theory, you'd be allowed to use them with 'WITHIN' (or whatever
it would be called) if and when PostgreSQL gains the ability to create
and manage them using a form of the CONSTRAINT clause.

-M-




В списке pgsql-hackers по дате отправления
От: Marko Tiikkaja
Дата:
От: Sawada Masahiko
Дата:
Сообщение: Proposal : REINDEX SCHEMA
FAQ