Thank you all for suggestions and links. Currently, I am working on  PostgreSQL 8.0.4., so I cannot use justify_*() functions.
Regards, Milorad Poluga [EMAIL PROTECTED] ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq