Re: [HACKERS] PATCH: Improve DROP FUNCTION hint

2012-06-26 Thread Robert Haas
On Mon, Jun 11, 2012 at 11:12 AM, Robert Haas wrote: > On Sat, Jun 9, 2012 at 11:42 AM, Dean Rasheed > wrote: >> Hi, >> >> Attached is a small patch to improve the HINT message produced by >> CREATE OR REPLACE FUNCTION when the new function definition conflicts >> with the old definition. With t

Re: [HACKERS] PATCH: Improve DROP FUNCTION hint

2012-06-11 Thread Robert Haas
On Sat, Jun 9, 2012 at 11:42 AM, Dean Rasheed wrote: > Hi, > > Attached is a small patch to improve the HINT message produced by > CREATE OR REPLACE FUNCTION when the new function definition conflicts > with the old definition. With this patch the hint now includes the > function's name and signat

[HACKERS] PATCH: Improve DROP FUNCTION hint

2012-06-09 Thread Dean Rasheed
Hi, Attached is a small patch to improve the HINT message produced by CREATE OR REPLACE FUNCTION when the new function definition conflicts with the old definition. With this patch the hint now includes the function's name and signature as a directly pasteable SQL command. So, for example, instead