Raghavendra <raghavendra.rao@xxxxxxxxxxxxxxxx> writes: >> I tried your code in Postgres 8.2: > 8.2 ?, Seems you have tested it in very Old version. Indeed. The example works OK for me too, in 8.2.23 which is the last of that release branch. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general