Copy from and serial columns

Поиск
Список
Период
Сортировка
От Sean Davis
Тема Copy from and serial columns
Дата
Msg-id 46DE0627.5030306@mail.nih.gov
обсуждение исходный текст
Ответы Re: Copy from and serial columns  (Sean Davis <sdavis2@mail.nih.gov>)
Список pgsql-novice
I have a client (psycopg2) that only allows copies of the entire table
(not specific rows).  I would like to use a SERIAL column on tables, but
I cannot seem to figure out how to apply the default.  Trying to insert
a NULL does not do it.  Is there another way, or should I do what is
probably better and ask the client author to provide functionality for
allowing subsets of columns to be passed to the copy command?

Thanks,
Sean

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

Предыдущее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: Could not remove file messages
Следующее
От: Sean Davis
Дата:
Сообщение: Re: Copy from and serial columns