Re: copy command - date

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: copy command - date
Дата
Msg-id 12012.1186966075@sss.pgh.pa.us
обсуждение исходный текст
Ответ на copy command - date  (novice <user.postgresql@gmail.com>)
Ответы Re: copy command - date
Список pgsql-general
novice <user.postgresql@gmail.com> writes:
> I'm having trouble loading the date field.  Should I convert it first
> or should I be using a text processor before loading the data in?

> 3665   OK           SM 07/07/13 06:09
> 5162   OK           SM 07/02/12 06:10
> 3665   OK           SM 07/06/19 06:10

What sort of trouble, exactly?

I'm guessing that you might need to set DateStyle to tell Postgres what
the date field ordering is, but without seeing any error messages that's
strictly a guess.

            regards, tom lane

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

Предыдущее
От: novice
Дата:
Сообщение: copy command - date
Следующее
От: novice
Дата:
Сообщение: Re: copy command - date