Re: can't create type lo (BLOB)

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: can't create type lo (BLOB)
Дата
Msg-id
11020.1041624868@sss.pgh.pa.us
Ответ на
can't create type lo (BLOB) (Daniel Schuchardt)
Список
Дерево обсуждения
can't create type lo (BLOB) "Daniel Schuchardt" <daniel_schuchardt@web.de>
Re: can't create type lo (BLOB) Tom Lane <tgl@sss.pgh.pa.us>
"Daniel Schuchardt"  writes:
> Why this? With PostrgreSql 7.2 this works well.

7.3 tries to enforce type safety (with 7.2 it's trivial to create type
definitions that crash the server when used).  Your type declaration
doesn't pass because the I/O functions are declared to be for int4,
not lo.

My advice as of 7.3 would be to create type lo as a domain alias for
type OID:

regression=# create domain lo as oid;
CREATE DOMAIN

			regards, tom lane
В списке pgsql-general по дате отправления
От: Jean-Luc Lachance
Дата:
Сообщение: cache lookup failed on COPY
От: Tom Lane
Дата:
Сообщение: Re: postmaster.pid
FAQ