Re: Cannot declare record members NOT NULL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Cannot declare record members NOT NULL
Дата
Msg-id 25892.1189654446@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Cannot declare record members NOT NULL  (Cultural Sublimation <cultural_sublimation@yahoo.com>)
Ответы Re: Cannot declare record members NOT NULL  (Cultural Sublimation <cultural_sublimation@yahoo.com>)
Список pgsql-general
Cultural Sublimation <cultural_sublimation@yahoo.com> writes:
>> Interesting.  What language are you using?

> OCaml.  The type-safety comes from the PG'OCaml bindings, which basically
> check if the types in the database are consistent with the types in the
> program.

Unfortunately for you, they are not different types.  If the OCaml
binding thinks they are, it's the binding's problem; especially since
the binding seems to be using a completely lame method of trying to tell
the difference.

            regards, tom lane

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

Предыдущее
От: Bruno Lavoie
Дата:
Сообщение: Re: importing pgsql schema into visio (for diagramming)
Следующее
От: Josh Trutwin
Дата:
Сообщение: Re: importing pgsql schema into visio (for diagramming)