Re: Import csv to temp table

Поиск
Список
Период
Сортировка
От Ron Johnson
Тема Re: Import csv to temp table
Дата
Msg-id CANzqJaDck5zK3E6DXzvjVJvoKvHnY9b__QwPy4oLoCVGer31ow@mail.gmail.com
обсуждение исходный текст
Ответ на Import csv to temp table  (arun chirappurath <arunsnmimt@gmail.com>)
Список pgsql-general
On Tue, Jan 2, 2024 at 7:02 AM arun chirappurath <arunsnmimt@gmail.com> wrote:
Dear All,

Do we have any scripts that create a temp table with column names from the first row of csv files?

How would you determine the data type?
 
If you assume TEXT for all of them, then it's relatively simple to write bash which does it.

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

Предыдущее
От: Arbol One
Дата:
Сообщение: Testing - Please ignore/delete this message
Следующее
От: Hilary Cotter
Дата:
Сообщение: Re: Testing - Please ignore/delete this message