Tom Lane <tgl@xxxxxxxxxxxxx> schrieb: > Andreas Kretschmer <akretschmer@xxxxxxxxxxxxx> writes: > >> cast it to varchar(8): > > > As i said in a private mail to Scott (sorry): the suggested way don't > > work, at least with 8.1. Maybe this works better in more recent > > versions. > > Yes, it works a lot better in 8.2: > http://archives.postgresql.org/pgsql-committers/2006-08/msg00222.php Thx you very much for the answer and the link. Andreas -- Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect. (Linus Torvalds) "If I was god, I would recompile penguin with --enable-fly." (unknow) Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889° ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq