Re: [INTERFACES] libpq++ - copy - default values

Поиск
Список
Период
Сортировка
От Thomas G. Lockhart
Тема Re: [INTERFACES] libpq++ - copy - default values
Дата
Msg-id 36DE93F7.ACFC09F1@alumni.caltech.edu
обсуждение исходный текст
Ответ на libpq++ - copy - default values  ("V. A." <a2891891@smail.Uni-Koeln.DE>)
Список pgsql-interfaces
> My problem is, that I don't know how I can tell the copy-command to
> leave the first field untouched, so that it gets the default value
> from a sequence....
> Can anyone tell me, how I can do this?

afaik "copy" always fills all columns. You might get better results
using a series of inserts, which do allow default values to be used.

                       - Tom

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

Предыдущее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [INTERFACES] Foreign Keys
Следующее
От: "Randall W. Barrett"
Дата:
Сообщение: Re: [INTERFACES] Postgre Perl on WIN NT