Re: Error calling PG_RETURN_NULL()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Error calling PG_RETURN_NULL()
Дата
Msg-id 24534.1311650718@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Error calling PG_RETURN_NULL()  (Alexandre Savaris <alexandre.savaris@gmail.com>)
Список pgsql-hackers
Alexandre Savaris <alexandre.savaris@gmail.com> writes:
> Hi! I'm working on an implementation for a new data type (PostgreSQL 
> version 9.1 beta 3 on Windows 7 32 bits), according to the following rules:
> - 1. NULL values are stored as is;
> - 2. character strings (up to 16 bytes) are stored without leading or 
> trailing spaces;
> - 3. empty character strings are stored as NULL values.

*buzzz* wrong answer, thanks for playing.

Data types do not get to editorialize on null versus not null.  Forget
your cute idea #3, and you'll be much happier.
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Check constraints on partition parents only?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Check constraints on partition parents only?