On Sun, Feb 8, 2009 at 3:23 PM, Stephen C. Gilardi <squee...@mac.com> wrote:
>
> On Feb 8, 2009, at 4:04 PM, Mark Volkmann wrote:
>
> The error I get is "org.postgresql.util.PSQLException: FATAL: no
> PostgreSQL user name specified in startup packet". I think the problem
> is that the username and password values in db aren't used by
> with-connection unless a DataSource object is specified.
>
> That is not correct. When using the DriverManager parameter set, any other
> keys and values present in db will be passed along to the driver as
> properties.
> Based on this:
> http://jdbc.postgresql.org/documentation/81/connect.html
> it looks like PostgreSQL expects the key for the property identifying the
> user to be "user", not "username".

That worked! Thanks Steve and Jeffrey!

-- 
R. Mark Volkmann
Object Computing, Inc.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to