List Info

Thread: Re: "ocaml_beginners"::[] De-unifying variant types




Re: "ocaml_beginners"::[] De-unifying variant types
country flaguser name
United States
2007-07-26 12:02:38

> 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.

However, the concept itself is of course interesting. I guess that
once it is finished and polished it will definitely be the best way
to connect to Postgresql from OCaml. Keep up the good work!

Cheers,
C.S.

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] De-unifying variant types
country flaguser name
United Kingdom
2007-07-27 04:21:18

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

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )