Re: quote_literal(integer) does not exist - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: quote_literal(integer) does not exist
Date
Msg-id 162867790711250602m401d07c1y4dd753692b6e9abc@mail.gmail.com
Whole thread Raw
In response to Re: quote_literal(integer) does not exist  ("Brendan Jurd" <direvus@gmail.com>)
List pgsql-hackers
Hello

>
> Having quote_literal take its argument as text was fine whilst we were
> automatically casting arguments, but in 8.3 it seems that
> quote_literal(anyelement) makes a lot more sense than
> quote_literal(text).
>
> So, I wonder why we don't just adapt the internal function to take
> anyelement?  It would save a lot of apps from being broken by the move
> to 8.3, and make the function more convenient.
>

It's good idea. I'll look on it.

It needs change of pgproc :(

Pavel


pgsql-hackers by date:

Previous
From: "Guillaume Smet"
Date:
Subject: Re: 8.3devel slower than 8.2 under read-only load
Next
From: "Pavel Stehule"
Date:
Subject: polymorphic functions and unknown type problem