Skip to content

Commit

Permalink
version 0.7-4
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomoaki Nishiyama authored and cran-robot committed Aug 9, 2022
1 parent 52600a0 commit 0fee296
Show file tree
Hide file tree
Showing 11 changed files with 266 additions and 256 deletions.
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: RPostgreSQL
Version: 0.7-3
Date: 2021-10-22
Version: 0.7-4
Date: 2022-08-02
Title: R Interface to the 'PostgreSQL' Database System
Author: Joe Conway, Dirk Eddelbuettel, Tomoaki Nishiyama, Sameer Kumar Prayaga (during 2008), Neil Tiffin
Maintainer: Tomoaki Nishiyama <tomoakin@staff.kanazawa-u.ac.jp>
Expand All @@ -22,6 +22,6 @@ URL: https://github.com/tomoakin/RPostgreSQL,
https://cran.r-project.org/package=DBI,
https://www.postgresql.org
NeedsCompilation: yes
Packaged: 2021-10-21 14:01:31 UTC; tomoaki
Packaged: 2022-08-09 01:05:23 UTC; tomoaki
Repository: CRAN
Date/Publication: 2021-10-22 04:40:05 UTC
Date/Publication: 2022-08-09 06:10:02 UTC
20 changes: 10 additions & 10 deletions MD5
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
7ae4d57e0fee8bde38ca99d84dd5d09c *ChangeLog
5d9740669b644768443fc57eec6f64bb *DESCRIPTION
9bd2b6bec9d46d0cddbeff91f9b6b06b *DESCRIPTION
532949fe6f8ba0bcd380ecdc746d28d4 *LICENSE
ef67e1a6b6119ab1e5c8ef1a91d67304 *NAMESPACE
eeb697c8142a3ae9d80089a524196a4e *R/PostgreSQL.R
71b52ea06eff008cc9908464e4ca8ca5 *R/PostgreSQLSupport.R
ef38255aea563c169f1c43cf2e5fcd9b *R/PostgreSQLSupport.R
7d7c6c93167e88df8801f1faef732672 *R/S4R.R
0972c665e3149619a32f3b4d30528e0f *R/dbObjectId.R
e186b6a39b159fc324e46e782b409e81 *R/zzz.R
4b5e59c53d38086590d8d8553853ab04 *cleanup
c2e653a33f2ba766a8e1076b36ab77b5 *configure
2a51074d649ac571c7a723abc9fb8974 *configure.ac
32ca7f3707f2a97f2e621742490e6fe5 *configure.ac
d41d8cd98f00b204e9800998ecf8427e *configure.win
b5dc804b1235adfa8c8a310b052420fe *inst/ANNOUNCEMENT
946c54d9e826b3a9420e1e572a228773 *inst/NEWS
Expand All @@ -33,7 +33,7 @@ dc448e52d270f4c99a942f0a2d4577e6 *man/PostgreSQLObject-class.Rd
03b366bccc90c81553c337f03b174e18 *man/dbApply.Rd
38fcd3c72644e8e13e353fc7672a9bb4 *man/dbCallProc-methods.Rd
d68ccaec06323011e2cdbe2fb6ba53be *man/dbCommit-methods.Rd
9c420ae739b8af33b75b3e05b8832817 *man/dbConnect-methods.Rd
42c8838c8e44bafed596b1fbe6836cdf *man/dbConnect-methods.Rd
8586578deb23efbd485908d82b192575 *man/dbDataType-methods.Rd
135cb1e5ee151160b932811182ba4d5e *man/dbDriver-methods.Rd
672686099929bc9cfd9e266564c4e3b1 *man/dbGetInfo-methods.Rd
Expand All @@ -51,15 +51,15 @@ efefe77c91468729e7f3f44d2baa9e96 *man/postgresqlDBApply.Rd
1fa83980e75922372ce35309a6d37ab7 *man/summary-methods.Rd
d6e06acf69eb5a72bba126285917aeab *src/Makevars.in
2c921023feef2ae3cc4188e50d5daf71 *src/Makevars.win
efc64a042118ccca229ee0e0d572f8bc *src/RS-DBI.c
236716a8af15777a481749919a8f6bfb *src/RS-DBI.h
28dcb135ca9d6e4b1a3f0c7a9161435a *src/RS-DBI.c
6ad9f44d57ff73cd8f4bc5bda70de3ec *src/RS-DBI.h
b8d8232a7427a51cb16c50d081d21232 *src/RS-PQescape.c
b640d57de1815ded4e399d53d5b237e9 *src/RS-PostgreSQL.c
de9f4ee6ad83c1a9bd69bb2c48ba4fb3 *src/RS-PostgreSQL.c
6c0be5883afe2ace76eed7703082a8ca *src/RS-PostgreSQL.h
474db1c723ed4445734081b5314c017f *src/RS-pgsql-copy.c
cfa2bbf92907b75535c315700f649fa3 *src/RS-pgsql-getResult.c
a547c0234e7b3b7579d165f0fae983ed *src/RS-pgsql-pqexec.c
922b7ac83d448307f3e72dafc0e8ae03 *src/RS-pgsql-pqexecparams.c
2f9ef8b94157b095a6125f25cfcdd553 *src/RS-pgsql-getResult.c
8cefd6e8550acdf81d3e197a10a2f530 *src/RS-pgsql-pqexec.c
67cadc07988646841ad88e968d64c8cf *src/RS-pgsql-pqexecparams.c
626036a39448bd5febffd616a32f34d0 *src/S4R.h
c64564b7c7563dae5ebe016f340c9cd9 *src/config.guess
d320a9a1a5eb63901563ae5adf268433 *src/config.sub
Expand Down
2 changes: 1 addition & 1 deletion R/PostgreSQLSupport.R
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ postgresqlBuildTableDefinition <- function(dbObj, name, obj, field.types = NULL,
postgresqlDataType <- function(obj, ...) {
rs.class <- data.class(obj)
if(rs.class=="numeric"){
sql.type <- if(class(obj)=="integer") "integer" else "float8"
sql.type <- if(is(obj,"integer")) "integer" else "float8"
}
else {
sql.type <- switch(rs.class,
Expand Down
9 changes: 9 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
#
# This file draws heavily on configure.in files from littler, RMySQL, and RdbiPgSQL

: ${R_HOME=`R RHOME`}
if test -z "${R_HOME}"; then
echo "could not determine R_HOME"
exit 1
fi
CC=`"${R_HOME}/bin/R" CMD config CC`
CFLAGS=`"${R_HOME}/bin/R" CMD config CFLAGS`
CPPFLAGS=`"${R_HOME}/bin/R" CMD config CPPFLAGS`

# Set the name and version -- the version set here will propagate to other files from here
AC_INIT([RPostgreSQL],[0.7])

Expand Down
6 changes: 5 additions & 1 deletion man/dbConnect-methods.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
\item{host}{Name or the numeric IPaddress of the host to connect to. If address is specified, it should be in the standard IPv4 address format, e.g., 172.28.40.9 or if your machine supports IPv6, you can also use those addresses. The default is to connect to localhost by a UNIX domain socket.
}
\item{dbname}{The database name. Defaults to "", which is interpreted as PostgreSQL default.
Most parameters are currently passed to PQsetdbLogin() as is.
If dbname contains an = sign or has a valid connection URI prefix,
it is taken as a conninfo for PQconnectdb() depending on the linked driver version.
Refer to \url{https://www.postgresql.org/docs/current/libpq-connect.html} for detail.
}
\item{user}{PostgreSQL user name to connect as. Defaults to be the same as the operating system name of the user running the application.
}
Expand All @@ -36,7 +40,7 @@
}
\item{options}{Command-line options to be sent to the server.
}
\item{forceISOdate}{logical if the communication of date (time stamp) from PostgreSQL is forced to ISO style at conection.
\item{forceISOdate}{logical if the communication of date (time stamp) from PostgreSQL is forced to ISO style at conection. This is an exception that is not really set by an option for PQsetdbLogin, but by issueing dbGetQuery(con, "set datestyle to ISO") after connection.
}
}
}
Expand Down

0 comments on commit 0fee296

Please sign in to comment.