On 2006-0802 20:00:18, Christoph Zwerschke wrote:
> So we can now get the value of DateStyle as db.parameter('DateStyle'). 
> Note that the name is case sensitive, i.e. 'datestyle' will not work.
> 
> Of couse, you can get the same value from the query 'show DateStyle', 
> but db.parameter('DateStyle') is faster and simpler.

sounds good to me.

have you had a look at the assumptions and questions I'm asking on
the mentioned wiki page?  as far as I can see, writing this function
as a method of a connection rather than of a cursor excludes some
of scenario's I've sketched, namely those where the datestyle is a
(modifiable) property of the cursor.  I'm writing this because I don't
see how to access the connection given the cursor.

> You will need to download pgmodule.c from CVS and recompile for this.

how do I do that (I mean, download from cvs)?

greetings,
Mario

-- 
Confuse the world -- smile all day Monday!

_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql

Reply via email to