Re: ERROR: relation . . . does not exist

Поиск
Список
Период
Сортировка
От Christophe
Тема Re: ERROR: relation . . . does not exist
Дата
Msg-id 072373D9-35C5-454E-A18E-8E512D3136B5@thebuild.com
обсуждение исходный текст
Ответ на Re: ERROR: relation . . . does not exist  ("Albretch Mueller" <lbrtchx@gmail.com>)
Ответы Re: ERROR: relation . . . does not exist  ("Albretch Mueller" <lbrtchx@gmail.com>)
Список pgsql-general
On Aug 30, 2008, at 10:33 AM, Albretch Mueller wrote:
>  well, yeah! I would totally agree with you, but since I doubt very
> much "COPY FROM CSV" is part of the SQL standard to beging with, why
> not spice it up a little more?

I'd guess that coming up with a general algorithm to guess the type
from a column of CSV text would satisfy no one, since we'd always
miss a particular case that is important to someone (are times local
or UTC? Should we assume integer or float? Varchar or text?), and the
option is a forest of switches that would be extremely complex and
error prone.

This sounds very much like an application-domain problem, best solved
in the application domain.

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: DUPS in tables columns ERROR: column ". . . " does not exist
Следующее
От: "Albretch Mueller"
Дата:
Сообщение: Re: ERROR: relation . . . does not exist