summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2008-01-05 17:22:17 +0000
committergdt <gdt@pkgsrc.org>2008-01-05 17:22:17 +0000
commitdd4e4e3dec5e3a148dd5570d3dbec7ef7ff03823 (patch)
tree052977114a98a45b871f2000c81b6b35d54af06f /databases
parent864edbaeb5e44e8f60c3fa61b9136f0c934ab93f (diff)
downloadpkgsrc-dd4e4e3dec5e3a148dd5570d3dbec7ef7ff03823.tar.gz
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 (limited to 'databases')
-rw-r--r--databases/guile-pg/Makefile5
-rw-r--r--databases/guile-pg/distinfo8
2 files changed, 6 insertions, 7 deletions
diff --git a/databases/guile-pg/Makefile b/databases/guile-pg/Makefile
index d6183174262..04388d7686b 100644
--- a/databases/guile-pg/Makefile
+++ b/databases/guile-pg/Makefile
@@ -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 --git a/databases/guile-pg/distinfo b/databases/guile-pg/distinfo
index e2d5bc89afa..4190c952428 100644
--- a/databases/guile-pg/distinfo
+++ b/databases/guile-pg/distinfo
@@ -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