| From: | "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> |
|---|---|
| To: | "Brendan Jurd" <direvus(at)gmail(dot)com> |
| Cc: | "Andreas 'ads' Scherbaum" <adsmail(at)wars-nicht(dot)de>, pgsql-hackers(at)postgresql(dot)org, "Bruce Momjian" <bruce(at)momjian(dot)us>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Subject: | Re: quote_literal(integer) does not exist |
| Date: | 2007-11-25 14:02:31 |
| Message-ID: | 162867790711250602m401d07c1y4dd753692b6e9abc@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Pavel Stehule | 2007-11-25 16:14:41 | polymorphic functions and unknown type problem |
| Previous Message | Guillaume Smet | 2007-11-25 13:30:29 | Re: 8.3devel slower than 8.2 under read-only load |