Commit graph

39 commits

Author SHA1 Message Date
gdt
23e2413166 Update to 0.37. Headlines from NEWS:
- 0.37 | 2008-05-24

  - Configuration change: search $prefix for PostgreSQL headers/libs

  - Change to pg-get-connection

	This proc now returns #f if its arg's connection is no longer live.
	You should probably avoid it altogether; see following NEWS item.

  - Planned modesty

	Currently, Guile-PG exposes some accounting (implementation) details
	that it shouldn't.  These are the "serial number" of connection and
	result objects, and the link between a result object the connection
	object where it originated.  These details WILL BE REMOVED after
	2008-10-01; do NOT rely on them.  Practically speaking, this means
	`pg-get-connection' will be deleted and the external representation
	for the objects will drop the "N" field:

	until 2008-10-01:   #<PG-CONN:N:...>   and   #<PG-RESULT:N:...>
	after 2008-10-01:   #<PG-CONN:...>     and   #<PG-RESULT:...>

  - Tests issue SQL commands directly to CREATE and DROP the test database

	Previously "make check" required the commands createdb(1) and
        dropdb(1) (or destroydb(1) for older PostgreSQL versions) to be
        installed on the system.  Now, the test infrastructure uses Guile-PG
        module (database postgres) to connect to "template1" and issues SQL
	commands "CREATE DATABASE" and "DROP DATABASE" directly.

  - New (database postgres-meta) proc: information-schema-names
  - New (database postgres-meta) proc: information-schema-coldefs

	These procs describe Guile-PG's "standard introspection" support,
	as specified in the PostgreSQL 7.4.19 documentation (chapter 32,
	"The Information Schema").

	Additionally, loading the module defines type converters for
	`cardinal_number', `character_data' and `sql_identifier'.  The
	`time_stamp' type converter does not seem to be used and is not
	provided.

  - New pgtable-manager (and -worker) command: #:finish

	This closes the (internal) connection and arranges for all future
	invocations of the closure to signal a "dead connection" error.

  - Proc `gxrepl' closes connection when done

  - New support for #:FOO-all combiners in `parse+make-SELECT-tree'

	This (database postgres-qcons) proc now supports #:union-all,
	#:intersect-all and #:except-all, as combiners.

  - Maintenance uses autoconf 2.62, automake 1.10.1, libtool 2.2.2
2008-10-20 13:53:17 +00:00
joerg
2a7055907f Make PostgreSQL 8.2 the default version. Bump all packages using it.
Remove PostgreSQL 8.0 as choice.
2008-03-13 17:38:48 +00:00
gdt
68013bbef2 Update to 0.36. Changes: be more careful in test code not to use
features that are not always available.
2008-03-03 19:43:22 +00:00
gdt
3b667085ba Update to 0.35.
- 0.35 | 2008-02-13

  - Bugfix: composition INTERSECT in `parse+make-SELECT-tree'

	This proc, in module (database postgres-qcons), used to
	erroneously accept #:intersection and emit "INTERSECTION".
	Now, it accepts #:intersect and emits "INTERSECT".

  - New (database postgres) procs
    - pg-escape-string-conn
    - pg-escape-bytea-conn
    - pg-unescape-bytea

  - Tested against PostgreSQL 7.4.19
2008-02-16 00:58:24 +00:00
wiz
1f0e30f882 Add commented out LICENSE line. 2008-01-05 21:37:45 +00:00
gdt
dd4e4e3dec Update to 0.34.
Highlights from NEWS:

- 0.34 | 2007-12-13

  - License now GPLv3+ (see COPYING)


  - New (database postgres) procs
    - pg-finish
    - pg-flush

  - Tested against PostgreSQL 7.4.18


- 0.33 | 2007-05-20

  - New type converters in module (database postgres-types)

	int  decimal  numeric  varchar  character  bytea

  - New support for special constructs in (database postgres-qcons)

	(in/set A B...) => A IN ( B, ... )
	(between A B C) => ( A BETWEEN B AND C )
	(any--OP A B)   => ( A OP ANY B )
	(all--OP A B)   => ( A OP ALL B )

	For the latter two, OP is a comparison operator, e.g `='.
	Parentheses and commas are added automatically.

- 0.32 | 2007-04-11

  - New command for `pgtable-manager': #:tuples-result->rows

	This uses `(database postgres-resx) result->object-rows'.
	For example:

	(define T (pgtable-worker ...))
	(define R (T #:select ...))
	(equal? (T #:tuples-result->rows R)
	        (map (lambda (x)
	               (map cdr x))
	             (T #:tuples-result->alists R)))
	=> #t


- 0.31 | 2007-04-03

  - Opaque string support removed

	Opaque string support in modules (database postgres-table) and
	(database postgres-qcons) has been removed.  This was announced
	in NEWS below for Guile-PG 0.30 (2006-04-04).

  - Support for `pgtable-manager' "data commands" removed

	Announced in NEWS below for Guile-PG 0.30 (2006-04-04).

- 0.30 | 2006-04-04

  - New stuff for `pgtable-manager' (and by extension `pgtable-worker')

    - Support for NULL

	You can now use the keyword #:NULL to specify NULL as the value
	to insert into a table, or to update a column.

    - New command: #:update-col-alist

	This is like #:update-col, except that the COLS and DATA are
	specified as a single alist arg, not separately.

  - New (database postgres) procs

	The following procs are associated with the `PQPROTOCOLVERSION'
	feature in the `pg-guile-pg-loaded' return value.  Note that
	this is in contrast to the one-to-one correspondance between
	feature and libpq function for previous Guile-PG releases.

    - pg-protocol-version
    - pg-transaction-status
    - pg-parameter-status
    - pg-set-error-verbosity
    - pg-result-error-field
    - pg-ftable
    - pg-ftablecol
    - pg-fformat

	These adhere closely to the C functions in the libpq interface.
	Here is a table listing the functions and their behavior for
	installations prior to PostgreSQL 7.4.

	libpq func            behavior: do nothing and return
	 PQprotocolVersion     2
	 PQtransactionStatus   #:unknown
	 PQparameterStatus     #f
	 PQsetErrorVerbosity   #:default
	 PQresultErrorField    #f
	 PQftable              #f
	 PQftablecol           #f
	 PQfformat             #f

    - pg-put-copy-data
    - pg-put-copy-end
    - pg-get-copy-data

	These have a simplified, "more Schemey", interface.  They cannot
	be used when connected to a "Protocol 2.0" (PostgreSQL 7.3.x and
	prior) server.

    - pg-exec-params
    - pg-exec-prepared
    - pg-send-query-params
    - pg-send-query-prepared

	These have a simplified, "more Schemey", interface, and some
	serious (though provisionary) restrictions.  They cannot be used
	when connected to a "Protocol 2.0" (PostgreSQL 7.3.x and prior)
	server.  See new section "Parameters" in the manual for details.
2008-01-05 17:22:17 +00:00
gdt
0dab20bc91 Fix link to database code to be from guile16. PKGREVISION++. 2008-01-05 16:57:57 +00:00
dmcmahill
247e3b55fe Point at lang/guile16 instead of lang/guile in preparation for updating
lang/guile to 1.8.1 from 1.6.8.  These pkgs seemed to fail to build with
guile 1.8.1, but maybe can be easily fixed.
2007-06-12 02:55:15 +00:00
gdt
061b8008f1 Upstream MASTER_SITES, HOMEPAGE have changed.
s;www.glug.org/people/ttn;www.gnuvola.org/g
2007-04-02 22:45:22 +00:00
joerg
0ed922f038 I see no reason to force PostgreSQL 7.4 here, so remove the forced
version and bump revision.
2006-12-28 18:19:00 +00:00
jlam
792529759b * Honor PKGINFODIR.
* List the info files directly in the PLIST.
2006-03-30 03:44:41 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
gdt
ce59777d41 Update to 0.29. Changes since last update:
- 0.29 | 2005-08-25

  - Dropped proc: where-clausifier
  - Dropped proc: tuples-result->table
  - For `gxrepl', results are now printed with " | " field separator
  - All (database postgres) procs now tested
  - Support files guile.m4 and modsup.h synched with Guile 1.4.1.106


- 0.28 | 2005-05-09

  - Bugfix: array reference handling in (database postgres-qcons)
  - FSF street address updated in copyright notices


- 0.27 | 2005-03-02

  - Result objects print without redundant "PGRES_" prefix
  - New command for (database postgres-table) proc `pgtable-manager'
  - New (database postgres-resx) proc: result->object-rows
  - Changes to module (database postgres-qcons)

- 0.26 | 2005-02-24

  - Expiration date set for opaque string support
  - Expiration date set for two (database postegres-table) procs
  - Dropped (database postgres-types) proc: dbcoltype:name
  - New type converters in module (database postgres-types)
  - New module: (database postgres-qcons)
  - New module: (database postgres-resdisp)
  - New module: (database postgres-gxrepl)


- 0.25 | 2005-01-02

  - New (database postgres) proc: pg-result-error-message

- 0.24 | 2004-11-24

  - New (database postgres) proc: pg-set-nonblocking!
  - New (database postgres) proc: pg-is-nonblocking?
2005-12-09 16:01:10 +00:00
gdt
3b77e49f9d Change my email address to @NetBSD.org. 2005-08-10 19:01:23 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
671d62d2e2 Add RMD160 digests in addition to SHA1 ones. 2005-02-23 16:33:05 +00:00
wiz
c058b026fb Remove hack, now that pg_config comes with postgresql-libs package. 2004-12-22 23:59:06 +00:00
wiz
877460554b Update to 0.23. Provided by Greg Troxel in pkgsrc-wip.
Uses guile-1.6 and postgresql-7.4.

Four years of development since the previous version: many changes.

XXX: This package includes a hack since pgsql.bl3.mk does
     not provide a way to get the matching -clients package.
2004-12-03 13:41:30 +00:00
tv
dc99bb80f2 Update linkage to libltdl (via guile{,14}), which is now its own package.
Unfortunately, guile{,14}/buildlink3.mk directly includes it, and I don't
know which dependencies actually need libltdl, so it was a recursive bump.
Hopefully this recursive inclusion can be ripped out of
guile{,14}/buildlink3.mk at some point and bubble down to dependencies that
actually use libltdl, avoiding this headache in the future....
2004-10-15 14:50:05 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
recht
e60d7f44d4 Set PGSQL_VERSION_REQD to 73 (for now) to fix the build. 2004-08-13 08:59:46 +00:00
recht
8dc45652d4 Use the new mk/pgsql.buildlink3.mk to select the correct PostgreSQL
version.
2004-07-24 22:45:14 +00:00
wiz
f66acac209 Convert to buildlink3. 2004-05-03 15:58:55 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
grant
c044c82d67 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 08:02:15 +00:00
seb
3a5c609829 Remove info files entries from PLIST files. 2004-01-20 18:45:24 +00:00
seb
8d15907ec2 USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:38:23 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
seb
ae445ff60d Convert to USE_NEW_TEXINFO.
Fix the Info directory file entry and provide patches for both the
.texi and the .info file so USE_MAKEINFO is not needed.
2003-06-29 13:11:19 +00:00
uebayasi
8997a30889 Bump revisions following the guile14's threaded fix. 2003-06-05 05:01:54 +00:00
uebayasi
74c44aee6e Use the right interface of Buildlinked directory.
Pointed out by wiz.
2003-01-07 12:52:44 +00:00
uebayasi
a102473294 Buildlinkify. 2003-01-07 11:42:31 +00:00
uebayasi
917d29d213 Rename older (<1.6) Guile as guile14.
Packages using Guile now all depend on guile14.  These packages are
expected to be made depend on newer Guile (1.6.x) when updated in the
future.
2003-01-07 03:56:17 +00:00
jlam
475cbe5281 Bump PKGREVISION due to increase in the major number of libpq.so between
version 7.2.3 and 7.3.1 of databases/postgresql-lib.
2003-01-05 20:14:20 +00:00
cjones
d93d1a240e Imported guile-pg:
Guile-pg is a Guile module providing access and allowing updates to
PostgreSQL databases from Guile scripts. Guile is the GNU interpreter
for the Scheme language and PostgreSQL is a free relational database
management system.
2002-10-27 01:14:09 +00:00