> I don't think to_char() knows about i18n/l10n yet. So you'd need to > patch it, or convince somebody to do it for you. Ah, ok, I see. I can't do it. I think I'll write it in PL/pgSQL. Thank you very much. Kamal ____________________________________________________________ 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match