Fix  	[ bug #1399 ] [pgsql]