Skip to content
Commits on Source (5)
repo: 02a7076512f3f9a3175427da3d38d621c65dedd7
node: aaeea3baa74dfe0b3bfc768c6773d5f651139cdb
branch: default
tag: release-2.0.5
^.*\.swp$
^setup\.(log|data)$
^_build/.*$
^.*\.native$
^API\.docdir$
7ce4bbbe42719f1aff6c7a8b11470b302aa2bc80 release 1.9.2
5e52d3f41280ea4f3c0e839698d7b574784a3da2 release 1.9.3
0000000000000000000000000000000000000000 release 1.9.3
0000000000000000000000000000000000000000 release 1.9.2
7ce4bbbe42719f1aff6c7a8b11470b302aa2bc80 release-1.9.2
5e52d3f41280ea4f3c0e839698d7b574784a3da2 release-1.9.3
88bcc2930f251edfc435c31acb659b18caa3fc49 release-1.10.0
6cc28ebaab20369c9391aa76856954b60644bf10 release-1.10.1
8d89290e09c07751bcf96350ce156759c61e4ef7 release-1.10.2
fc872a9c860b313a3c911607305ac9c521a656a5 release-1.10.3
bb311ac00a7fd5e23f97c78f5071b402b4511fe6 release-1.11.0
8f6786b238c43a1b0eb4439a146e6025f9838941 release-1.11.1
7d93d28af4bb16a8a82f46b8ad105f54fbd409a8 release-1.12.0
4ab0ed0dcf379dab2f1c79cd56d48c321ebb5947 release-1.12.1
8d44e5636f8cfd39abf0c9d0e8578ba13c7ed0ea release-1.12.2
c177a5d97def9d2c05a83c0db50ae75974ade996 release-1.12.3
ae3b4761861cdf2e93a95e4914ae3e37fafdc05b release-1.12.4
d4b6c7d1461f1732ae711686e5bc33de6f2a6f69 release-1.12.5
16620401dbe4dc03ba7a5e3fd9b0d70624f99046 release-1.13.0
018519059b8f5531298debf6c83d8f88b0244973 release-1.13.1
ccf08f53bedb19828e94c0b8cf4b55c5c7cdadc0 release-1.14.0
cbb5c3fd8373a1f8f5275654d6a8d39d72c558bd release-1.15.0
d75899a01555d0ae014f32b745baf3f5f2c186e0 release-1.16
d75899a01555d0ae014f32b745baf3f5f2c186e0 release-1.16
0000000000000000000000000000000000000000 release-1.16
4e8bdb18944cef21f50d2942a252f714442751f5 release-1.16.0
37cec625b120c386e809a4d73208d5bb504641dd release-1.17.0
c59e7fc1fb5bf616dc3b15f8dca893f722e3894e release-1.18.0
7a7b66845563c9c479b04b45158459c2b015d659 release-2.0.0
4bd47ba4b2aa86695c79ca7f0a9fc70b7aff1d9a release-2.0.1
d2f762df51ec03db259fd2c33f31cf16d8f8af13 release-2.0.2
ad17e4d306f94eab4c6cbf75d67ff671bbd7e47c release-2.0.3
2937b40bfc9227081d0df77468e8f875b0d1b5d9 release-2.0.4
# OASIS_START
# DO NOT EDIT (digest: ec57d30815a26b62f3343a7621736ab0)
lib/Postgresql
# OASIS_STOP
(* OASIS_START *)
(* DO NOT EDIT (digest: 39a7158c5796d2c7f25e8d398114975e) *)
Authors of postgresql-ocaml
Alain Frisch <alain.frisch@lexifi.com>
Markus Mottl <markus.mottl@gmail.com>
Current maintainers of postgresql-ocaml
Markus Mottl <markus.mottl@gmail.com>
Alain Frisch <alain.frisch@lexifi.com>
(* OASIS_STOP *)
### 4.5.0 (2019-06-06)
* Added support for `put_copy_data`, `put_copy_end`, and `get_copy_data`
Thanks to Petter A. Urkedal for the patch!
### 4.4.2 (2019-03-28)
* Fixed documentation formatting warnings
* Fixed OpenSUSE depexts
### 4.4.1 (2018-10-25)
* Switched to dune, dune-release, and OPAM 2.0
### 4.4.0 (2018-07-08)
* Added support for executing queries with binary results.
Thanks to Paul Biggar for the patch!
### 4.3.0 (2017-12-30)
* Added error handling functions for extracting more error details.
Thanks to Sean Grove for the patches!
### 4.2.1 (2017-11-22)
* Improved finalization of result values for better performance.
### 4.2.0 (2017-10-10)
* Fixed bigarray library dependencies. No need for the user to explicitly
link with `bigarray` when using certain functions anymore.
* Used untagged integer representations in external calls for improved
efficiency.
### 4.1.0 (2017-08-02)
* Switched to jbuilder and topkg
(* OASIS_START *)
(* DO NOT EDIT (digest: 5cd2d4ec584f25e55d5c8bc833957508) *)
This is the INSTALL file for the postgresql-ocaml distribution.
This package uses OASIS to generate its build system. See section OASIS for
full information.
Dependencies
============
In order to compile this package, you will need:
* ocaml (>= 3.12) for all, doc API
* findlib (>= 1.3.1)
* lablgtk2 for executable prompt_gtk
Installing
==========
1. Uncompress the source archive and go to the root of the package
2. Run 'ocaml setup.ml -configure'
3. Run 'ocaml setup.ml -build'
4. Run 'ocaml setup.ml -install'
Uninstalling
============
1. Go to the root of the package
2. Run 'ocaml setup.ml -uninstall'
OASIS
=====
OASIS is a program that generates a setup.ml file using a simple '_oasis'
configuration file. The generated setup only depends on the standard OCaml
installation: no additional library is required.
(* OASIS_STOP *)
This diff is collapsed.
# OASIS_START
# DO NOT EDIT (digest: 7b2408909643717852b95f994b273fee)
SETUP = ocaml setup.ml
build: setup.data
$(SETUP) -build $(BUILDFLAGS)
doc: setup.data build
$(SETUP) -doc $(DOCFLAGS)
test: setup.data build
$(SETUP) -test $(TESTFLAGS)
.PHONY: all clean doc
all:
$(SETUP) -all $(ALLFLAGS)
install: setup.data
$(SETUP) -install $(INSTALLFLAGS)
uninstall: setup.data
$(SETUP) -uninstall $(UNINSTALLFLAGS)
reinstall: setup.data
$(SETUP) -reinstall $(REINSTALLFLAGS)
dune build @install
clean:
$(SETUP) -clean $(CLEANFLAGS)
distclean:
$(SETUP) -distclean $(DISTCLEANFLAGS)
setup.data:
$(SETUP) -configure $(CONFIGUREFLAGS)
.PHONY: build doc test all install uninstall reinstall clean distclean configure
dune clean
# OASIS_STOP
doc:
dune build @doc
PostgreSQL-OCaml - PostgreSQL Bindings for OCaml
================================================
## PostgreSQL-OCaml - PostgreSQL Bindings for OCaml
---------------------------------------------------------------------------
What is PostgreSQL-OCaml?
-------------------------
### What is PostgreSQL-OCaml?
This [OCaml](http://www.ocaml.org)-library provides an interface to
[PostgreSQL](http://www.postgresql.org), an efficient and reliable, open
source, relational database. Almost all functionality available through
the C-API (`libpq`) is replicated in a type-safe way. This library uses
objects for representing database connections and results of queries.
Usage
-----
The OCaml-API in file `lib/postgresql.mli` is well-documented and can be
built as HTML with `make doc`. The API-documentation can also be found
[online](http://mmottl.bitbucket.org/projects/postgresql-ocaml/api/).
More detailed information on how to interact with PostgreSQL is available
in the [PostgreSQL-documentation](http://www.postgresql.org/docs).
The OCaml-examples in the `examples`-directory are mostly very short and
comprehensible and therefore a good way to get started.
---------------------------------------------------------------------------
[PostgreSQL](http://www.postgresql.org), an efficient and reliable, open source,
relational database. Almost all functionality available through the C-API
(`libpq`) is replicated in a type-safe way. This library uses objects for
representing database connections and results of queries.
Contact Information and Contributing
------------------------------------
### Usage
In the case of bugs, feature requests, contributions and similar, please
contact the maintainers:
The OCaml-API in file `lib/postgresql.mli` is well-documented and can be built
as HTML with `make doc`. The API-documentation can also be found
[online](http://mmottl.github.io/postgresql-ocaml/api/postgresql).
* Markus Mottl <markus.mottl@gmail.com>
* Alain Frisch <alain.frisch@lexifi.com>
More detailed information on how to interact with PostgreSQL is available in the
[PostgreSQL-documentation](http://www.postgresql.org/docs). The OCaml-examples
in the `examples`-directory are mostly very short and comprehensible and
therefore a good way to get started.
Up-to-date information should be available at:
<https://bitbucket.org/mmottl/postgresql-ocaml>
### Contact Information and Contributing
Enjoy!
Please submit bugs reports, feature requests, contributions and similar to
the [GitHub issue tracker](https://github.com/mmottl/postgresql-ocaml/issues).
Markus Mottl in Rutherford, NJ on July 10, 2012
Up-to-date information is available at:
<https://mmottl.github.io/postgresql-ocaml>
OASISFormat: 0.4
Name: postgresql-ocaml
Version: 2.0.5
Synopsis: postgresql-ocaml - bindings to the PostgreSQL library
Description: postgresql-ocaml offers library functions for accessing PostgreSQL databases
Authors: Alain Frisch <alain.frisch@lexifi.com>,
Markus Mottl <markus.mottl@gmail.com>
Copyrights: (C) 2001-2012 Alain Frisch <alain.frisch@lexifi.com>,
(C) 2004-2012 Markus Mottl <markus.mottl@gmail.com>
Maintainers: Markus Mottl <markus.mottl@gmail.com>,
Alain Frisch <alain.frisch@lexifi.com>
LicenseFile: COPYING.txt
License: LGPL-2.1+ with OCaml linking exception
OCamlVersion: >= 3.12
FindlibVersion: >= 1.3.1
Homepage: https://bitbucket.org/mmottl/postgresql-ocaml
#Categories:
#FilesAB:
Plugins: META (0.4), StdFiles (0.4), DevFiles (0.4)
XStdFilesREADME: false
BuildTools: ocamldoc, ocamlbuild
Flag strict
Description: Strict compile-time checks
Default: true
Library postgresql
Path: lib
FindlibName: postgresql
Modules: Postgresql
CSources: postgresql_stubs.c
CCOpt: -g -O2 -fPIC -DPIC
if flag(strict) && ccomp_type(cc)
CCOpt+: -Wall -pedantic -Wextra -Wunused -Wno-long-long
CCLib: -lpq
BuildDepends: threads, bigarray
# Examples
Flag examples
Description: Build examples
Default: true
Executable cursor
Path: examples
MainIs: cursor.ml
Build$: flag(examples)
BuildDepends: postgresql
Install: false
CompiledObject: best
Executable dump
Path: examples
MainIs: dump.ml
Build$: flag(examples)
BuildDepends: postgresql
Install: false
CompiledObject: best
Executable populate
Path: examples
MainIs: populate.ml
Build$: flag(examples)
BuildDepends: postgresql
Install: false
CompiledObject: best
Executable prompt
Path: examples
MainIs: prompt.ml
Build$: flag(examples)
BuildDepends: postgresql
Install: false
CompiledObject: best
Flag lablgtk2
Description: Build applications depending on lablgtk2
Default: false
Executable prompt_gtk
Path: examples
MainIs: prompt_gtk.ml
Build$: flag(examples) && flag(lablgtk2)
BuildDepends: postgresql, lablgtk2
Install: false
CompiledObject: best
Executable test_lo
Path: examples
MainIs: test_lo.ml
Build$: flag(examples)
BuildDepends: postgresql
Install: false
CompiledObject: best
#
Document API
Title: API reference for PCRE-OCaml
Type: OCamlbuild (0.4)
InstallDir: $docdir/api
XOCamlbuildPath: .
XOCamlbuildLibraries: postgresql
SourceRepository trunk
Type: hg
Location: ssh://hg@bitbucket.org/mmottl/postgresql-ocaml
Browser: https://bitbucket.org/mmottl/postgresql-ocaml
Tag: release-$(pkg_version)
# OASIS_START
# DO NOT EDIT (digest: 6130d565a6b8b66ced080f5471d86dbf)
# Ignore VCS directories, you can use the same kind of rule outside
# OASIS_START/STOP if you want to exclude directories that contains
# useless stuff for the build process
<**/.svn>: -traverse
<**/.svn>: not_hygienic
".bzr": -traverse
".bzr": not_hygienic
".hg": -traverse
".hg": not_hygienic
".git": -traverse
".git": not_hygienic
"_darcs": -traverse
"_darcs": not_hygienic
# Library postgresql
"lib/postgresql.cmxs": use_postgresql
<lib/*.ml{,i}>: oasis_library_postgresql_ccopt
"lib/postgresql_stubs.c": oasis_library_postgresql_ccopt
<lib/postgresql.{cma,cmxa}>: oasis_library_postgresql_cclib
"lib/libpostgresql_stubs.lib": oasis_library_postgresql_cclib
"lib/dllpostgresql_stubs.dll": oasis_library_postgresql_cclib
"lib/libpostgresql_stubs.a": oasis_library_postgresql_cclib
"lib/dllpostgresql_stubs.so": oasis_library_postgresql_cclib
<lib/postgresql.{cma,cmxa}>: use_libpostgresql_stubs
<lib/*.ml{,i}>: pkg_threads
<lib/*.ml{,i}>: pkg_bigarray
"lib/postgresql_stubs.c": pkg_threads
"lib/postgresql_stubs.c": pkg_bigarray
# Executable cursor
<examples/cursor.{native,byte}>: use_postgresql
<examples/cursor.{native,byte}>: pkg_threads
<examples/cursor.{native,byte}>: pkg_bigarray
# Executable dump
<examples/dump.{native,byte}>: use_postgresql
<examples/dump.{native,byte}>: pkg_threads
<examples/dump.{native,byte}>: pkg_bigarray
# Executable populate
<examples/populate.{native,byte}>: use_postgresql
<examples/populate.{native,byte}>: pkg_threads
<examples/populate.{native,byte}>: pkg_bigarray
# Executable prompt
<examples/prompt.{native,byte}>: use_postgresql
<examples/prompt.{native,byte}>: pkg_threads
<examples/prompt.{native,byte}>: pkg_bigarray
# Executable prompt_gtk
<examples/prompt_gtk.{native,byte}>: use_postgresql
<examples/prompt_gtk.{native,byte}>: pkg_lablgtk2
<examples/prompt_gtk.{native,byte}>: pkg_threads
<examples/prompt_gtk.{native,byte}>: pkg_bigarray
<examples/*.ml{,i}>: pkg_lablgtk2
# Executable test_lo
<examples/test_lo.{native,byte}>: use_postgresql
<examples/test_lo.{native,byte}>: pkg_threads
<examples/test_lo.{native,byte}>: pkg_bigarray
<examples/*.ml{,i}>: use_postgresql
<examples/*.ml{,i}>: pkg_threads
<examples/*.ml{,i}>: pkg_bigarray
# OASIS_STOP
true: -traverse
<{lib,examples}/**>: traverse
<**/*.ml{,i}>: warn(Aer-44), strict_sequence, annot
"lib/postgresql.cmxs": use_libpostgresql_stubs
#!/bin/sh
# OASIS_START
# DO NOT EDIT (digest: dc86c2ad450f91ca10c931b6045d0499)
set -e
FST=true
for i in "$@"; do
if $FST; then
set --
FST=false
fi
case $i in
--*=*)
ARG=${i%%=*}
VAL=${i##*=}
set -- "$@" "$ARG" "$VAL"
;;
*)
set -- "$@" "$i"
;;
esac
done
ocaml setup.ml -configure "$@"
# OASIS_STOP
postgresql-ocaml (2.0.5-4) UNRELEASED; urgency=medium
postgresql-ocaml (4.5.0-1) UNRELEASED; urgency=medium
* New upstream release
* Update Vcs-*
* Bump Standards-Version to 4.4.0
* Bump debhelper compat level to 12
* Update debian/watch
-- Stéphane Glondu <glondu@debian.org> Wed, 07 Aug 2019 15:40:03 +0200
-- Stéphane Glondu <glondu@debian.org> Wed, 07 Aug 2019 15:42:54 +0200
postgresql-ocaml (2.0.5-3) unstable; urgency=medium
......
......@@ -11,6 +11,8 @@ Build-Depends:
ocaml-findlib (>= 1.4),
libpq-dev,
ocamlbuild,
libbase-ocaml-dev,
libstdio-ocaml-dev,
dh-ocaml (>= 0.9.6~)
Standards-Version: 4.4.0
Vcs-Git: https://salsa.debian.org/ocaml-team/postgresql-ocaml.git
......
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Contact: Markus Mottl <markus.mottl@gmail.com>
Files: *
......
Document: libpostgresql-ocaml-dev
Title: API for PostgreSQL bindings
Author: Markus Mottl
Abstract: Ocamldoc-generated documentation for OCaml PostgreSQL bindings
Section: Programming/OCaml
Format: HTML
Index: /usr/share/doc/libpostgresql-ocaml-dev/api/index.html
Files: /usr/share/doc/libpostgresql-ocaml-dev/api/*.html
@OCamlStdlibDir@/postgresql/*dune*
@OCamlStdlibDir@/postgresql/*opam*
@OCamlStdlibDir@/postgresql/*.cmi
@OCamlStdlibDir@/postgresql/*.cmt
@OCamlStdlibDir@/postgresql/*.cmti
@OCamlStdlibDir@/postgresql/*.ml
@OCamlStdlibDir@/postgresql/*.mli
@OCamlStdlibDir@/postgresql/lib*.a
OPT: @OCamlStdlibDir@/postgresql/*.a
OPT: @OCamlStdlibDir@/postgresql/*.cmxa
OPT: @OCamlStdlibDir@/postgresql/*.cmx
usr/share/doc/postgresql-ocaml/api usr/share/doc/libpostgresql-ocaml-dev/