pg_restore COPY error handling

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема pg_restore COPY error handling
Дата
Msg-id 20060121195920.GO6026@ns.snowman.net
обсуждение исходный текст
Ответы Re: pg_restore COPY error handling
Список pgsql-patches
* Stephen Frost (sfrost@snowman.net) wrote:
> Needs to be changed to handle whitespace in front of the actual 'COPY',
> unless someone else has a better idea.  This should be reasonably
> trivial to do though...  If you'd like me to make that change and send
> in a new patch, just let me know.

Fixed, using isspace().  Also added an output message to make it a bit
clearer when a failed COPY has been detected, etc.

Updated patch attached.

    Thanks,

        Stephen

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Inconsistent syntax in GRANT
Следующее
От: Peter Eisentraut
Дата:
Сообщение: postmaster/postgres merge for testing