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

Re: [BUGS] BUG #1947: Enhancement Request - CONCAT() function

2005-10-20 Thread Chris Travers
Tony Marston wrote: No, but Oracle does, which is why I am trying to produce SQL statements that will run on MySQL, PostgreSQL and Oracle without the need for conversion. Hi Tony, Let me make a constructive suggestion. I see what you are trying to do and I can understand why this is usefu

Re: [BUGS] BUG #1947: Enhancement Request - CONCAT() function

2005-10-20 Thread Chris Travers
Tom Lane wrote: "Jim C. Nasby" <[EMAIL PROTECTED]> writes: And you might want to make it a project at http://pgfoundry.org so others can make use of it. You might also want to define it as accepting an array; I think that would allow you to accept any number of parameters. I think Ton

Re: [BUGS] SIGSEGV in Postgres 8.0.3 (libpq4)

2005-10-20 Thread Tom Lane
Anand Kumria <[EMAIL PROTECTED]> writes: > I have a set of perl scripts which invoke each other (via system()); > eventually I found that they were crashing and ultimately causing Perl > to SIGSEGV. Are you doing anything multi-threaded in those scripts? libpq is not thread-aware --- it's up to y

Re: [BUGS] BUG #1962: ECPG and VARCHAR

2005-10-20 Thread Michael Meskes
Am Freitag, 14. Oktober 2005 21:15 schrieb C Wegrzyn: > The customer I am writing this for will only accept it based on released > code. That means I run either 8.0.3 or 8.0.4. Would it help you if I do a special ecpg release just for you? Or does it have to be part of the postgres release? Mich

Re: [BUGS] BUG #1978: connection sinks

2005-10-20 Thread Richard Huxton
mouse wrote: The following bug has been logged online: Bug reference: 1978 Logged by: mouse Email address: [EMAIL PROTECTED] PostgreSQL version: 8.0.3 Operating system: Gentoo Linux 2.6.11-r9 Description:connection sinks Details: Make sure you have logging turned

[BUGS] BUG #1978: connection sinks

2005-10-20 Thread mouse
The following bug has been logged online: Bug reference: 1978 Logged by: mouse Email address: [EMAIL PROTECTED] PostgreSQL version: 8.0.3 Operating system: Gentoo Linux 2.6.11-r9 Description:connection sinks Details: I have: (2) user X which can create databases and

Re: [BUGS] union bug

2005-10-20 Thread Ivan
Hello, >> CREATE DOMAIN test_domain >> AS varchar(64) >> NOT NULL; >> CREATE TYPE test_type AS >>("Id" int4, >> "Data" test_domain); >> CREATE OR REPLACE FUNCTION union_test() >> RETURNS SETOF test_type AS >> $BODY$ >> select 1 as "Id", 'string1'::test_domain as "Data" >> u