The pgbgl library provide a binding API between 
the Bigloo Scheme compiler and the PostgreSQL 
Database Management System, more precisely 
the front-end library libpq.

PostgreSQL is Copyright (C) 1996-9 by the 
PostgreSQL Global Development Group, and 
is distributed under the terms of the 
Berkeley license. PostgreSQL is available 
at http://www.postgresql.org.

Bigloo is Copyright (C) 1992-9 by Manuel 
Serrano (Manuel.Serrano@unice.fr), and 
is distributed under the terms of the 
GNU General Public License. Bigloo is
is a Scheme programming system
available at: http://kaolin.unice.fr/bigloo/

This library borrows code and ideas from Guile-pg,
a Guile module written to access PostgreSQL from
Guile by Ian Grant
<I.A.N.Grant@damtp.cam.ac.uk> and available at:
http://www.damtp.cam.ac.uk/user/ig206/guile-pg


This directory contains the sources files of
the pgbgl library for Bigloo. The purpose of
the library is a Bigloo binding for PostgreSQL,
more precisely the front-end library libpq.

General description
===================

The pgbgl library provides a Bigloo module named 
pgbgl.

Installation caveat
===================

a. Bigloo-patch directory
   ----------------------

The files in the directory Bigloo-patch are 
intended to correct a bug with Bigloo2.1b. The
patch was provided by Manuel Serrano and will be
included in further Bigloo versions.

The two files cenum.c and cenum.scm are to be placed in 
<Bigloo distribution root directory>/comptime/Foreign,
and Bigloo has to be rebuilt.

b. System-specific questions
   -------------------------

At the moment the library has been tested only with 
Linux and Tru64Unix. Some libraries seem different
between the two systems, so, in order to have the
example built correctly you'd better edit the
Makefile in the PgresExample directory and have
a look at the lines 26-27. The locations of all
libraries have to be checked in the Makefiles in
PgresExample and PgBgLib. For execution, a shell 
command like the following one may help :

export LD_LIBRARY_PATH=/local/pgsql/lib/:/local/lib/bigloo/

--

This library is written by Laurent Bloch (bloch@pasteur.fr).

Copyright (c) 1999-2000 Institut Pasteur and Laurent Bloch


