Bruce Momjian writes:
> First, ecpg has actual thead creation function calls, so I believe we
> will still need a --with-threads configure option, at least to control
> ecpg, unless we make threading some kind of ecpg runtime flag.
This is not an issue because it only affects the libecpg library.
Problem:
- Boolean not on list of SQLKeywords (The JDBC CTS seems to think that
it should be)
- setObject(x,y,Types.INTEGER) will throw exceptions if y is a Boolean.
Fix:
- Added Boolean to Keywords list.
- Added check in setObject() under Types.INTEGER to check if a boolean
is passed. True=1.
Problem:
- Error if user attempts to call:
1. setObject(x,y,java.sql.types.Timestamp) if y is a Date
2. setObject(x,y,java.sql.types.Time) if y is a Timestamp
3. setObject(x,y,java.sql.types.Date) if y is a Timestamp
4. setObject(x,y,java.sql.types.Date/Timestamp/Time) if y is a string
with valid
Problem:
- If you try to setMaxRows(), setQueryTimeout() or setFetchSize()
to negative values, it should throw an exception, but doesn't. JDBC CTS
test failures.
Fix:
- Added new error messages to errors.properties file.
- PSQLExceptions thrown when user attempts to set negative values.
Cheer
Here's a small patch to pg_hba.conf.sample that
explains the use of CIDR addresses.
I'm still working on a patch to the regular
docs.
cheers
andrew
sample.patch
Description: Binary data
---(end of broadcast)---
TIP 8: explain analyze is
Howdy. Quick chump patch: if libpq finds a ~/.pgpass but can't stat
it, print something to stderr letting the user know. If someone went
out of their way to put a .pgpass file in place, if they can't read
it, it seems worth while to alert them to the fact that it's not being
used (ex: root create
Sean Chittenden <[EMAIL PROTECTED]> writes:
> Howdy. Quick chump patch: if libpq finds a ~/.pgpass but can't stat
> it, print something to stderr letting the user know.
Isn't this gonna complain when the file doesn't exist at all?
regards, tom lane
--
> > Howdy. Quick chump patch: if libpq finds a ~/.pgpass but can't stat
> > it, print something to stderr letting the user know.
>
> Isn't this gonna complain when the file doesn't exist at all?
*blush* Not with the attached patch. -sc
--
Sean Chittenden
Index: fe-connect.c
=