postgresql7.1 select key ,trim(trailing from lang) as lang ,message from lang_messages