- Архив списков рассылки pgsql-general

Поиск
Список
Период
Сортировка
От andrew.wan@nu-net.com
Тема
Дата
Msg-id OF50FCCC7D.1231833E-ON852569DE.0078554F@nyc.nu-net.com
обсуждение исходный текст
Список pgsql-general
hi,
I  am trying to make a function that takes four varchar arguments as in
CREATE FUNCTION address(varchar,varchar,varchar,varchar) ...

when i try to pass the function a NULL value, it turns all the values into
NULL:
select address('foo','foo',NULL,'foo').

i also tried putting in type record(i'm not sure that this is a valid
argument type but documentation
listed it for declarations), and i tried putting in the name of a table.
none of it works.

Is there anyway to define argument type(s) that accept NULL values?
                a             n            d              r            e
w


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

Предыдущее
От: "Felix König"
Дата:
Сообщение: Trouble porting postgreSQL to WinNT
Следующее
От: Emmanuel Charpentier
Дата:
Сообщение: Re: Calculated values