Re: what is the data type for files(.txt,.doc,.jpeg) in pgsql

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: what is the data type for files(.txt,.doc,.jpeg) in pgsql
Дата
Msg-id 200602071058.28294.peter_e@gmx.net
обсуждение исходный текст
Ответ на what is the data type for files(.txt,.doc,.jpeg) in pgsql  (rama krishna <arkr505@gmail.com>)
Ответы Re: what is the data type for files(.txt,.doc,.jpeg) in pgsql  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
rama krishna wrote:
> 1)I need to insert the files in database .So what i have to give the
> data type for that field while creating the table.

bytea -- Look into the documentation for encoding and other handling
issues.

>  2)I need to perform some action in database before it shutting down
> or before booting of my server.What to do for this situation

Such a thing doesn't exist in PostgreSQL.  You may be able to do this
with an external tool, but offhand I can't imagine how.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: "superboy143 (sent by Nabble.com)"
Дата:
Сообщение: query
Следующее
От: Olivier Sirven
Дата:
Сообщение: strange query runtime