Re: Bulkloading using COPY - ignore duplicates?

Поиск
Список
Период
Сортировка
От Horak Daniel
Тема Re: Bulkloading using COPY - ignore duplicates?
Дата
Msg-id D5637E9568BDF3499B8BB02C12B4461DD450@EXCHANGE.mmp.plzen-city.cz
обсуждение исходный текст
Ответ на Bulkloading using COPY - ignore duplicates?  (Lee Kindness <lkindness@csl.co.uk>)
Список pgsql-hackers
> I've made some inroads towards adding 'ignore duplicates'
> functionality to PostgreSQL's COPY command. I've updated the parser
> grammar for COPY FROM to now accept:
> 
>  COPY [ BINARY ] table [ WITH OIDS ]
>     FROM { 'filename' | stdin }
>     [ [USING] DELIMITERS 'delimiter' ]
>     [ WITH [NULL AS 'null string']
>            [IGNORE DUPLICATES] ]

Is there any possibility that COPY could insert a row so the old row
will be discarded and a new one inserted instead the old? It could be
useful for doing replications on table with modified rows.

        Dan


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

Предыдущее
От: Lee Kindness
Дата:
Сообщение: Bulkloading using COPY - ignore duplicates?
Следующее
От: Jean-Michel POURE
Дата:
Сообщение: Re: What about CREATE OR REPLACE FUNCTION?