Bytea question

Поиск
Список
Период
Сортировка
От Chris Hoover
Тема Bytea question
Дата
Msg-id 1d219a6f0704110602n5b9fe58dy34e05008b9bff0be@mail.gmail.com
обсуждение исходный текст
Ответы Re: Bytea question  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-admin
Hopefully a quick question.

If I store a file into a bytea field, is there anyway for postgres to read the contents of the file?

Here is my scenario:

Receive text file
insert file into bytea field
insert trigger fires
  - read file contents
  - post contents into production tables

Is this at all possible, or am I going to need to store the original file and store/pass the file contents?


Thanks,

Chris

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

Предыдущее
От: Peter Elmers
Дата:
Сообщение: Re: Problems with precompiled pgsql on mac
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Bytea question