1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
|
README: library --PostgreSQL-OCaml--
************************************
Copyright (C) 2006 Markus Mottl (1)
==========================================
Vienna, 16th January, 2006
=================================
1 Directory contents
*=*=*=*=*=*=*=*=*=*=*
-----------------------------------------------------------------------
| Changes | History of code changes |
-----------------------------------------------------------------------
| INSTALL | Short notes on compiling and |
| | installing the library |
-----------------------------------------------------------------------
| LICENSE | --GNU LESSER GENERAL PUBLIC LICENSE-- |
-----------------------------------------------------------------------
| Makefile | Top Makefile |
-----------------------------------------------------------------------
| OCamlMakefile | Makefile for easy handling of |
| | compilation of not so easy |
| | OCaml-projects. It generates dependencies|
| | of OCaml-files automatically, |
| | is able to handle --ocamllex---, |
| | --ocamlyacc---, IDL- and C-files and |
| | generates native- or byte-code |
| | as executable or as library - |
| | with thread-support if you want! |
-----------------------------------------------------------------------
| README | This file |
-----------------------------------------------------------------------
| VERSION | Current version |
-----------------------------------------------------------------------
| examples/dump/ | Dumps a table to stdout |
-----------------------------------------------------------------------
| examples/populate/ | Inverse operation of --dump-- |
-----------------------------------------------------------------------
| examples/prompt/ | A simple replacement for psql |
-----------------------------------------------------------------------
| examples/prompt_gtk/ | Graphical version of --prompt--. |
| | Requires lablgtk!!! |
-----------------------------------------------------------------------
| examples/test_lo/ | Demonstrates Large Objects manipulation |
-----------------------------------------------------------------------
| lib/ | OCaml-library for interfacing |
| | the PostgreSQL-database |
-----------------------------------------------------------------------
2 What is the --PostgreSQL-OCaml---library?
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
This OCaml-library provides an interface to PostgreSQL (tested with version
7.0.2, 7.1.3 and 7.4.1), 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.
3 How can you use it?
*=*=*=*=*=*=*=*=*=*=*=
The interface is well-documented, and more detailed information on how to
interact with PostgreSQL is available from the PostgreSQL-website (2). The
examples in the examples-directory are mostly very short and comprehensible
and therefore a good way to get started.
4 Contact information
*=*=*=*=*=*=*=*=*=*=*=
In the case of bugs, feature requests and similar, you can contact me here:
markus.mottl@gmail.com
Up-to-date information concerning this library should be available here:
http://www.ocaml.info/ocaml_sources
Enjoy!!
--------------------------------------
(1) http://www.ocaml.info/
(2) http://www.postgresql.org
-----------------------------------------------------------------------------
This document was translated from LaTeX by HeVeA (3).
|