Re: [sqlalchemy] Firebird SQL 'rdb$get_context eq' equivalent in PostGreSQL

2015-01-23 Thread Werner
Hi, Just for the archive. Got an answer on stackoverflow: http://stackoverflow.com/questions/28047911/how-to-set-some-context-variable-for-a-user-connection/28061244#28061244 On 1/19/2015 16:59, Werner wrote: Hi, I like to move to eventually support PGSQL 9.3+ as an alternative engine. With

[sqlalchemy] Firebird SQL 'rdb$get_context eq' equivalent in PostGreSQL

2015-01-19 Thread Werner
Hi, I like to move to eventually support PGSQL 9.3+ as an alternative engine. With Firebird SQL I am using the following to set/get the language used by a connection/user. rdb$get_context('USER_SESSION', 'LANGUAGE_ID') - http://www.firebirdsql.org/refdocs/langrefupd20-get-context.html