Re: Re: 7.2 items

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: 7.2 items
Дата
Msg-id 8471.993656412@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re: 7.2 items  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Re: 7.2 items  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Bruce Momjian writes:
> Please, consider a BLOB column type without having to do lo_import,
> lo_export.
>> 
>> Yep, big needed item.

> Maybe we could make the BLOB type a wrapper around the lo_* functions?
> The BLOB value would only store the oid.

What for/why bother?  A toastable bytea column would do just as well.
What we need is an easy-to-use set of access functions, which we haven't
got in either case (without additional work).

I'd prefer to see that work invested in access functions for toasted
columns, because LOs have all sorts of administrative problems ---
security and garbage collection, to name two.  We don't really want to
encourage their use in the long term.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: Encrypting pg_shadow passwords
Следующее
От: Tom Lane
Дата:
Сообщение: Re: functions returning records