Re: Cannot declare record members NOT NULL

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Cultural Sublimation <cultural_sublimation(at)yahoo(dot)com>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: Cannot declare record members NOT NULL
Date: 2007-09-13 03:34:06
Message-ID: 25892.1189654446@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Cultural Sublimation <cultural_sublimation(at)yahoo(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Josh Trutwin 2007-09-13 03:40:08 Re: importing pgsql schema into visio (for diagramming)
Previous Message Bruno Lavoie 2007-09-13 03:32:24 Re: importing pgsql schema into visio (for diagramming)