pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/guile-pg Update to 0.34.
details: https://anonhg.NetBSD.org/pkgsrc/rev/958882a6c63a
branches: trunk
changeset: 537256:958882a6c63a
user: gdt <gdt%pkgsrc.org@localhost>
date: Sat Jan 05 17:22:17 2008 +0000
description:
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.
diffstat:
databases/guile-pg/Makefile | 5 ++---
databases/guile-pg/distinfo | 8 ++++----
2 files changed, 6 insertions(+), 7 deletions(-)
diffs (27 lines):
diff -r 6f74e51c563a -r 958882a6c63a databases/guile-pg/Makefile
--- a/databases/guile-pg/Makefile Sat Jan 05 17:21:46 2008 +0000
+++ b/databases/guile-pg/Makefile Sat Jan 05 17:22:17 2008 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.30 2008/01/05 16:57:57 gdt Exp $
+# $NetBSD: Makefile,v 1.31 2008/01/05 17:22:17 gdt Exp $
#
-DISTNAME= guile-pg-0.29
-PKGREVISION= 4
+DISTNAME= guile-pg-0.34
CATEGORIES= databases
MASTER_SITES= http://www.gnuvola.org/software/guile-pg/
diff -r 6f74e51c563a -r 958882a6c63a databases/guile-pg/distinfo
--- a/databases/guile-pg/distinfo Sat Jan 05 17:21:46 2008 +0000
+++ b/databases/guile-pg/distinfo Sat Jan 05 17:22:17 2008 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2005/12/09 16:01:10 gdt Exp $
+$NetBSD: distinfo,v 1.6 2008/01/05 17:22:17 gdt Exp $
-SHA1 (guile-pg-0.29.tar.gz) = 114b9c248d9d023602725fe768297dfc87e503eb
-RMD160 (guile-pg-0.29.tar.gz) = 557fe24a69500b4a517fd5472c56c36911ec7db7
-Size (guile-pg-0.29.tar.gz) = 495270 bytes
+SHA1 (guile-pg-0.34.tar.gz) = a7a2e113143e0e4b115a8f5e7e635e5be2f36881
+RMD160 (guile-pg-0.34.tar.gz) = ec42463b9d19814abc97800ec767c60a587f6343
+Size (guile-pg-0.34.tar.gz) = 599164 bytes
Home |
Main Index |
Thread Index |
Old Index