postgres array question

Поиск
Список
Период
Сортировка
От George Kola
Тема postgres array question
Дата
Msg-id 200407141506.i6EF6iT25074@sabe.cs.wisc.edu
обсуждение исходный текст
Список pgsql-novice
I am parsing log files and storing them in postgres. I find that I cannot
append an element into a null array with array_append. The only way that
appeared to me is to first query the array to find if it is null and use a
different syntax if it is null and use array_append otherwise.  This was
initially OK, but I guess this would decrease the performance by a factor of
2 (because of the initial query).  I am trying to load in several thousands
of log files and the process has been running overnight and did not
complete. Any suggestions on optimizing this process would be greatly
appreciated.

Thanks,
George



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

Предыдущее
От: Frank Voellmann
Дата:
Сообщение: Trouble with pg_dump in 7.3.4
Следующее
От: "Mark Dexter"
Дата:
Сообщение: Calling Functions and Stored Procedures