Hello,

On Feb 24, 2010, at 11:59 AM, Gregg Lind wrote:

> Is there a nice way to get server_version_info from an existing
> connection or engine?
> 
> Right now it looks quite buried in (for pg):
> sqlalchemy.database.postgres.PGDialiect().server_version_info(myconnection).
> 

The dialect contains the server_version_info, so if you have a connection you 
can get to the dialect through:

connection.dialect.server_version_info

Also the Engine has the dialect.

Michael

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

Reply via email to