Subject | rdb$set_context question |
---|---|
Author | Werner F. Bruhin |
Post date | 2011-08-25T13:43Z |
Are these context per connection?
I.e. if I connect with user "abc" and do this:
"select rdb$set_context('USER_SESSION', 'LANGUAGE_ID', 3)from rdb$database"
and then another process/thread from the same machine connects again
using user "abc" and I do
"select rdb$set_context('USER_SESSION', 'LANGUAGE_ID', 1)from rdb$database"
I.e. set another language_id will I still get LANGUAGE_ID 3 for my first
connection when I do a "get_context" in the first process/thread?
Werner
I.e. if I connect with user "abc" and do this:
"select rdb$set_context('USER_SESSION', 'LANGUAGE_ID', 3)from rdb$database"
and then another process/thread from the same machine connects again
using user "abc" and I do
"select rdb$set_context('USER_SESSION', 'LANGUAGE_ID', 1)from rdb$database"
I.e. set another language_id will I still get LANGUAGE_ID 3 for my first
connection when I do a "get_context" in the first process/thread?
Werner