national charset sorting

Hello!
I am using QNX 6.3 and postgresql 7.3.2. Does somebody know how to set national sorting in that database (i know that the problem is on qnx site). I dont know how to set locale.
How programs uses locale? How to add other locale to system (I mean to /usr/share/locale/pl/…).

Maybe somebody of You have the sma eproblem as me.
Greetings
SkiLo