| Port details |
- ocaml-pgocaml PostgreSQL client library for OCaml with a type-safe query syntax extension
- 4.4.0+git20250314 databases
=0 1.5_1Version of this port present on the latest quarterly branch. - Maintainer: freebsd@dev.thsi.be
 - Port Added: 2008-05-12 22:19:48
- Last Update: 2026-06-28 22:08:53
- Commit Hash: a08d587
- License: LGPL20
- WWW:
- https://github.com/darioteixeira/pgocaml
- Description:
- This library implements the PostgreSQL wire protocol (version 2, for
PostgreSQL 7 and above) in pure OCaml. In addition to a low-level
interface, this library provides a PPX syntax extension to type-check
and validate SQL expressions at build time.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- ocaml-pgocaml>0:databases/ocaml-pgocaml
- To install the port:
- cd /usr/ports/databases/ocaml-pgocaml/ && make install clean
- To add the package, run one of these commands:
- pkg install databases/ocaml-pgocaml
- pkg install ocaml-pgocaml
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: ocaml-pgocaml
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1752327869
SHA256 (darioteixeira-pgocaml-4.4.0+git20250314-572dd886b975872b28f89944246d14e983f7d181_GH0.tar.gz) = bb107a3f53565591a3ad435f73d340c4098340558712af4a0c8af9e61c9639c4
SIZE (darioteixeira-pgocaml-4.4.0+git20250314-572dd886b975872b28f89944246d14e983f7d181_GH0.tar.gz) = 55836
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- META : converters/ocaml-base64
- META : devel/ocaml-calendar
- META : devel/ocaml-camlp-streams
- META : textproc/ocaml-csv
- META : security/ocaml-digestif
- META : converters/ocaml-hex
- META : devel/ocaml-re
- META : devel/ocaml-parsexp
- META : devel/ocaml-ppx_deriving
- META : devel/ocaml-ppx_optcomp
- META : devel/ocaml-ppx_sexp_conv
- META : devel/ocaml-rresult
- META : devel/ocaml-sexplib
- ocaml-dune>=3.7.1_2 : devel/ocaml-dune
- ocamlc : lang/ocaml
- Runtime dependencies:
-
- META : converters/ocaml-base64
- META : devel/ocaml-calendar
- META : devel/ocaml-camlp-streams
- META : textproc/ocaml-csv
- META : security/ocaml-digestif
- META : converters/ocaml-hex
- META : devel/ocaml-re
- META : devel/ocaml-parsexp
- META : devel/ocaml-ppx_deriving
- META : devel/ocaml-ppx_sexp_conv
- META : devel/ocaml-rresult
- META : devel/ocaml-sexplib
- ocamlc : lang/ocaml
- Patch dependencies:
-
- ocamlc : lang/ocaml
-
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for ocaml-pgocaml-4.4.0+git20250314:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
- Options name:
- databases_ocaml-pgocaml
- USES:
- ocaml:dune
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
4.4.0+git20250314 28 Jun 2026 22:08:53
    |
Muhammad Moinur Rahman (bofh)  Author: Benjamin Jacobs |
databases/ocaml-pgocaml: New port
This library implements the PostgreSQL wire protocol (version 2, for
PostgreSQL 7 and above) in pure OCaml. In addition to a low-level
interface, this library provides a PPX syntax extension to type-check
and validate SQL expressions at build time.
WWW: https://github.com/darioteixeira/pgocaml |
1.5_1 01 Sep 2014 12:53:55
  |
bapt  |
Remove non staged ports without pending PR from databases |
1.5_1 29 Jul 2014 19:11:53
  |
adamw  |
Convert a bunch of EXTRACT_SUFX=... into USES=tar:...
Approved by: portmgr (not really, but touches unstaged ports) |
1.5_1 04 Jul 2014 23:48:56
  |
bapt  |
Resetting maintainership on ports that have not been staged and without any
pending PR (related to stage)
With hat: portmgr |
1.5_1 24 Jun 2014 22:29:56
  |
bapt  |
Properly use the framework
With hat: portmgr |
1.5_1 10 Jun 2014 07:39:02
  |
olgeni  |
Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories D-F.
CR: D196
Approved by: portmgr (bapt) |
1.5_1 26 May 2014 11:57:56
  |
miwi  |
- Convert gmake, bzip to USES
Approved by: portmgr |
1.5_1 20 Apr 2014 19:06:04
  |
antoine  |
Mark broken, fails to build
ocamlfind ocamlc -g -package unix,extlib,pcre,calendar,csv \
-pp "camlp4o pa_extend.cmo q_MLast.cmo -parser Camlp4MacroParser -impl" \
-I +camlp4 -c -impl pa_pgsql.ml4
File "pa_pgsql.ml4", line 127, characters 16-16:
Error: Unbound value _loc
Reported by: pkg-fallout
With hat: portmgr |
1.5_1 20 Sep 2013 16:13:49
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
databases) |
10 Dec 2012 19:11:12

|
mm  |
Update PCRE to 8.32
Introduces the UTF-32 library pcre32
Bump PORTREVISION in dependent ports |
1.5 21 Apr 2012 21:30:48
 |
jgh  |
- Update to 1.5
PR: ports/167053
Submitted by: jyyou@cs.nctu.edu.tw
Approved by: maintainer, tcrimi@gmail.com |
1.4 09 Apr 2012 23:51:44
 |
bapt  |
Mark as deprecated and set expiration to 2012-05-10 for ports that are mark as
broken for more than 6 month |
1.4 25 Mar 2011 20:46:26
 |
pav  |
- Mark BROKEN: does not build
Reported by: pointyhat |
1.4 17 Nov 2010 12:23:11
 |
arved  |
Update to 1.4
PR: 151156
Submitted by: maintainer |
1.1 02 Mar 2009 00:22:36
 |
pav  |
- Update to 1.1
Submitted by: Thomas Crimi <tcrimi@gmail.com> (maintainer) |
1.0_1 12 May 2008 23:37:19
 |
stas  |
- Fix package building
- Bump portrevision. |
1.0 12 May 2008 22:18:23
 |
stas  |
- Add databases/ocaml-pgocaml.
PG'OCaml is a type-safe, simple interface to PostgreSQL from OCaml. It lets you
embed SQL statements directly into OCaml code.
PR: ports/118800
Submitted by: Jaap Boender <jaapb at kerguelen.org> |