Creating a new type

Поиск
Список
Период
Сортировка
От Ferdinand Smit
Тема Creating a new type
Дата
Msg-id 200209161237.49806.ferdinand@telegraafnet.nl
обсуждение исходный текст
Список pgsql-admin
Hi,

How can a create a new type or alias?

I want to create a alias for the text type. The alias name must be blob.
(MySQL type).
The documentation tells me how to create en new type, but don't tell me how to
create the input and output functions.

Type definition:
CREATE TYPE blob (INPUT = blob_in, OUTPUT = blob_out, ELEMENT = text);

Regards,
Ferdinand



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

Предыдущее
От: dima
Дата:
Сообщение: Re: Problem starting postmaster
Следующее
От: "Gaetano Mendola"
Дата:
Сообщение: Re: fsync or fdatasync