Re: Nulls get converted to 0 problem

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Nulls get converted to 0 problem
Дата
Msg-id 20030609131731.GB32692@svana.org
обсуждение исходный текст
Ответ на Re: Nulls get converted to 0 problem  (Mike Mascari <mascarm@mascari.com>)
Список pgsql-general
On Fri, Jun 06, 2003 at 01:34:16PM -0400, Mike Mascari wrote:
> There also isn't any notion of typed NULLs. At least the C++ example
> has a zero-initialized pointer to a type.

Dunno about the rest but this is false. NULLs can be typed:

# select null::int4 as f into temp a;
SELECT
# \d a
     Table "pg_temp_1.a"
 Column |  Type   | Modifiers
--------+---------+-----------
 f      | integer |

Not that it usually matters.
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> "the West won the world not by the superiority of its ideas or values or
> religion but rather by its superiority in applying organized violence.
> Westerners often forget this fact, non-Westerners never do."
>   - Samuel P. Huntington

Вложения

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

Предыдущее
От: Ruben
Дата:
Сообщение: Re: Postmaster only takes 4-5% CPU
Следующее
От: "Robert Fitzpatrick"
Дата:
Сообщение: Pg_dumpall from different versions