User-Defined Types

Поиск
Список
Период
Сортировка
Искать
От
David F. Johnson
Тема
User-Defined Types
Дата
Msg-id
C2B2D290.23F53%dfjohnson@cabaret.com
Список
Дерево обсуждения
User-Defined Types "David F. Johnson" <dfjohnson@cabaret.com>
Re: User-Defined Types Michael Glaesemann <grzm@seespotcode.net>
Greetings.

During the development of a database often there is a need to change a
field's declaration from, say, VARCHAR(32) to, say, VARCHAR(64).

Having to go through and find all pertinent uses of VARCHAR(32) in the table
definitions (where it may be a foreign key) and in functions (where it may
be a parameter) to VARCHAR(64) is tedious and error prone.

Is there a simple way to make a user-defined type that is a specific
declaration of a built-in type (like VARCHAR(##)) without having to
implement the type's support functions?

Thanks,
David


В списке pgsql-general по дате отправления
От: Artur Rataj
Дата:
От: Andrus
Дата:
Сообщение: Check if language is installed
FAQ