postgresql7.1 select nls_language from ad_locales where language = :language limit 1