On Thu, Jul 26, 2007 at 05:02:38PM -0000, cultural_sublimation wrote:
> > Yes & yes. Prepared statements are mandatory and invisible to the
> > programmer if you are using the high level (ie. normal) PG'OCaml
> > interface. You can use the low level PG'OCaml interface which is not
> > type safe and allows you to separately prepare & execute statements if
> > you wish. Any (well, almost any) Postgres statement can be used
> > directly with PG'OCaml. There are a few exceptions but they are
> > pretty esoteric, non-portable, PG-specific features.
>
> Hi,
>
> Well, I have downloaded PG'OCaml and managed to compile it after
> some trial and error. The first impression was not all that
> positive: it feels a lot like work-in-progress, and since there
> is no documentation whatsoever, progress is slow and one has to dig
> through the source to figure out how to use it.
The version on the site was a bit old. I wrote some documentation a
while back which is now in 0.8, here:
http://merjis.com/developers/pgocaml
Rich.
--
Richard Jones
Red Hat
.