aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-05-30 16:34:49 +0000
committerBruce Momjian <bruce@momjian.us>2001-05-30 16:34:49 +0000
commit4d84b7a10f9f78dcedaf9fc495d23a54da38458d (patch)
tree7c3def09880c1c5fa5eaeb6b791a894ea2fca3f0 /src/backend/access/gist/gist.c
parent5b42666fd93ac4a1bdde7a84d90e3f9879799709 (diff)
downloadpostgresql-4d84b7a10f9f78dcedaf9fc495d23a54da38458d.tar.gz
postgresql-4d84b7a10f9f78dcedaf9fc495d23a54da38458d.zip
I just got bitten by this too. I use type timestamp in the
database, and often need the latest timestamp, but want to format it as a date. With 7.0.x, I just select ts from foo order by ts desc limit 1 and in java: d = res.getDate(1); but this fails everywhere in my code now :( http://java.sun.com/j2se/1.3/docs/guide/jdbc/spec/jdbc-spec.frame7.html says The ResultSet.getXXX methods will attempt to convert whatever SQL type was returned by the database to whatever Java type is returned by the getXXX method. Palle Girgensohn
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions