Re: [BUGS] function currval(character varying) does not exist, PostgreSQL 8.1 beta3

2005-10-20 Thread Tom Lane
"Jean-Pierre Pelletier" <[EMAIL PROTECTED]> writes: >pstmt = connection.prepareStatement("select currval(?)"); throws = > "function currval(character varying) does not exist" >Is currval(text) gone for good or is this an oversight? currval(text) is gone for good; the oversight is that we

[BUGS] function currval(character varying) does not exist, PostgreSQL 8.1 beta3

2005-10-20 Thread Jean-Pierre Pelletier
Hi,      pstmt = connection.prepareStatement("select currval(?)"); throws "function currval(character varying) does not exist"      Using pgAdmin, I could see that currval() now takes a regclass parameter, so    I got it to work using      pstmt = connection.prepareStatement("select currval