date format and copy command

Поиск
Список
Период
Сортировка
От Bill Barnes
Тема date format and copy command
Дата
Msg-id 200004260523.BAA05037@smtp10.atl.mindspring.net
обсуждение исходный текст
Список pgsql-general
Using 6.5.3 on SuSE 6.4 and program kpgsql.
Dumped data to a ';' delimited file wherein the date looks like
'1997-12-27'.  The date field may be null.

Created the appropriate table using variously date/datetime/timestamp for
data type, set datestyle to ISO/SQL/others.
The copy command is
    copy tablename from '/usr/.../namefile.txt' using delimiters ';';

The pgsql response is 'bad date format'.
Recommendations, please.

Thanks,
Bill Barnes


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

Предыдущее
От: "Michael S. Kelly"
Дата:
Сообщение: Having trouble getting readline functional in psql
Следующее
От: "Bill Barnes"
Дата:
Сообщение: kpgsql query executes but does not complete