[rpostgresql] r223 committed - remove dbBeginTransaction, change the version no

21 views
Skip to first unread message

rpost...@googlecode.com

unread,
Dec 29, 2011, 6:32:34 AM12/29/11
to rpostgr...@googlegroups.com
Revision: 223
Author: tomo...@kenroku.kanazawa-u.ac.jp
Date: Thu Dec 29 03:31:45 2011
Log: remove dbBeginTransaction, change the version no
http://code.google.com/p/rpostgresql/source/detail?r=223

Modified:
/trunk/RPostgreSQL/ChangeLog
/trunk/RPostgreSQL/DESCRIPTION
/trunk/RPostgreSQL/NAMESPACE
/trunk/RPostgreSQL/R/PostgreSQL.R
/trunk/RPostgreSQL/inst/NEWS
/trunk/RPostgreSQL/man/dbCommit-methods.Rd

=======================================
--- /trunk/RPostgreSQL/ChangeLog Tue Nov 22 02:15:30 2011
+++ /trunk/RPostgreSQL/ChangeLog Thu Dec 29 03:31:45 2011
@@ -1,3 +1,57 @@
+2011-12-29 Tomoaki NISHIYAMA <tomo...@kenroku.asrc.kanazawa-u.ac.jp>
+
+ Prepare for release. As the last update makes many incompatibilities,
+ the version number is large update.
+ Remove dbBeginTransaction which is not defined in DBI.
+
+ * ChangeLog
+ * DESCRIPTION
+ * NAMESPACE
+ * R/PostgreSQL.R
+ * inst/NEWS
+ * man/dbCommit-methods.Rd
+
+2011-12-03 Tomoaki NISHIYAMA <tomo...@kenroku.asrc.kanazawa-u.ac.jp>
+
+ Remove exported names that are not defined in DBI and may conflict other
packages.
+ Remove safe.write, which is not used anymore.
+ Don't use make.db.names, which prevents using natural names.
+ Move dbBuildTableDefinition to postgresqlBuildTableDefinition.
+ Move isIdCurrent to isPostgresqlIdCurrent
+ row.names be integer rather than charactor for sqldf compatibility.
+
+ * NAMESPACE
+ * R/PostgreSQL.R
+ * R/PostgreSQLSupport.R
+ * R/dbObjectId.R
+ * man/safe.write.Rd
+ * man/dbBuildTableDefinition.Rd
+ * man/postgresqlBuildTableDefinition.Rd
+ * man/make.db.names-methods.Rd
+ * man/dbObjectId-class.Rd
+ * man/isIdCurrent.Rd
+ * man/isPostgresqlIdCurrent.Rd
+ * man/postgresqlSupport.Rd
+
+2011-12-02 Tomoaki NISHIYAMA <tomo...@kenroku.asrc.kanazawa-u.ac.jp>
+
+ Add clean: target to clean the libpq subdir on darwin
+
+ * src/Makevars.in
+
+2011-11-24 Tomoaki NISHIYAMA <tomo...@kenroku.asrc.kanazawa-u.ac.jp>
+
+ Use internal libpq for Mac OS X without PostgreSQL installation
+
+ * config.guess
+ * config.sub
+ * configure
+ * configure.in
+ * install-sh
+ * Makevars.in
+ * src/libpq/netdb.h
+ * src/libpq/pwd.h
+
2011-11-22 Tomoaki NISHIYAMA <tomo...@kenroku.asrc.kanazawa-u.ac.jp>

Restructuring libpq directory so that the dynamic library for
@@ -10,6 +64,8 @@
* ChangeLog
* src/Makevars.win
* src/libpq
+ * src/libpq/getaddrinfo.c: MinGW-w64 compatibility
+ * src/libpq/pg_config_os.h.win: MinGW-w64 compatibility

2011-11-16 Tomoaki NISHIYAMA <tomo...@kenroku.asrc.kanazawa-u.ac.jp>

=======================================
--- /trunk/RPostgreSQL/DESCRIPTION Mon Nov 14 17:05:36 2011
+++ /trunk/RPostgreSQL/DESCRIPTION Thu Dec 29 03:31:45 2011
@@ -1,5 +1,5 @@
Package: RPostgreSQL
-Version: 0.2-1
+Version: 0.3-0
Date: $Date$
Title: R interface to the PostgreSQL database system
Author: Joe Conway, Dirk Eddelbuettel, Tomoaki Nishiyama, Sameer Kumar
Prayaga (during 2008), Neil Tiffin
=======================================
--- /trunk/RPostgreSQL/NAMESPACE Sat Dec 3 04:50:46 2011
+++ /trunk/RPostgreSQL/NAMESPACE Thu Dec 29 03:31:45 2011
@@ -17,7 +17,6 @@
exportMethods(
coerce,
dbApply,
- dbBeginTransaction,
dbCallProc,
dbClearResult,
dbColumnInfo,
=======================================
--- /trunk/RPostgreSQL/R/PostgreSQL.R Sat Dec 3 04:50:46 2011
+++ /trunk/RPostgreSQL/R/PostgreSQL.R Thu Dec 29 03:31:45 2011
@@ -12,26 +12,11 @@

##.PostgreSQLRCS <- "$Id: PostgreSQL.R,v 0.1 2008/06/10 14:00:00$"
.PostgreSQLPkgName <- "RPostgreSQL"
-.PostgreSQLVersion <- "0.2-0"
##package.description(.PostgreSQLPkgName, fields = "Version")
+.PostgreSQLVersion <- "0.3-0"
##package.description(.PostgreSQLPkgName, fields = "Version")
.PostgreSQL.NA.string <- "\\N" ## on input, PostgreSQL interprets \N
as NULL (NA)

setOldClass("data.frame") ## to appease setMethod's signature
warnings...

-## ------------------------------------------------------------------
-## Begin DBI extensions:
-##
-## dbBeginTransaction
-##
-setGeneric("dbBeginTransaction",
- def = function(conn, ...)
- standardGeneric("dbBeginTransaction"),
- valueClass = "logical"
- )
-##
-## End DBI extensions
-## ------------------------------------------------------------------
-
-
##
## Class: DBIObject
##
@@ -264,9 +249,6 @@
}
)

-setMethod("dbBeginTransaction", "PostgreSQLConnection",
- def = function(conn, ...)
postgresqlTransactionStatement(conn, "BEGIN")
- )

##
## Class: DBIResult
=======================================
--- /trunk/RPostgreSQL/inst/NEWS Wed Nov 16 05:26:32 2011
+++ /trunk/RPostgreSQL/inst/NEWS Thu Dec 29 03:31:45 2011
@@ -1,10 +1,20 @@
-Version 0.2-1 -- 2010-11-16
+Version 0.3-0 -- 2011-12-29
+
+ o The bundled libpq source codes are used under darwin as well.
+
+ o More compatibility to other database drivers under DBI and sqldf.
+ dbBeginTransaction, safe.write, make.db.names are removed.
+ dbBuildTableDefinition is renamed to
postgresqlBuildTableDefinition.
+ isIdCurrent is renamed to isPostgresqlIdCurrent.
+ row.names is now integer.
+
+Version 0.2-1 -- 2011-11-16

o libpq source codes are bundled for Windows.
In other envirionment, this code is not used and existence of libpq as
specified by PG_HOME is still required.

-Version 0.2-0 -- 2010-10-04
+Version 0.2-0 -- 2011-10-04

o Error check for dbWriteTable

=======================================
--- /trunk/RPostgreSQL/man/dbCommit-methods.Rd Sun Sep 14 15:18:56 2008
+++ /trunk/RPostgreSQL/man/dbCommit-methods.Rd Thu Dec 29 03:31:45 2011
@@ -1,11 +1,9 @@
% $Id: dbCommit-methods.Rd,v 0.1 2008/08/10 18:04:01 psk Exp $
\name{dbCommit-methods}
\docType{methods}
-\alias{dbBeginTransaction}
-\alias{dbBeginTransaction-methods}
\alias{dbCommit-methods}
\alias{dbRollback-methods}
-\alias{dbBeginTransaction,PostgreSQLConnection-method}
+\alias{PostgreSQLConnection-method}
\alias{dbCommit,PostgreSQLConnection-method}
\alias{dbRollback,PostgreSQLConnection-method}
\title{
@@ -14,7 +12,6 @@
\description{
Commits or roll backs the current transaction
in an PostgreSQL connection.
- \code{dbBeginTransaction} starts a PostgreSQL transaction.
\code{dbCommit} and \code{dbRollback} commit and rollback the
transaction, respectively.

Reply all
Reply to author
Forward
0 new messages