Re: [HACKERS] Documentation fix for CREATE FUNCTION

2016-07-15 Thread Tom Lane
Albe Laurenz writes: > Tom Lane wrote: >> I believe the reason for forcing pg_temp to the back of the path is to >> prevent unqualified table names from being captured by pg_temp entries. >> This risk exists despite the rule against searching pg_temp for functions >> or operators. A maliciously n

Re: [HACKERS] Documentation fix for CREATE FUNCTION

2016-07-15 Thread Albe Laurenz
Tom Lane wrote: > Albe Laurenz writes: >> I just noticed that the documentation for CREATE FUNCTION still mentions >> that the temporary namespace is searched for functions even though that >> has been removed with commit aa27977. > > The example you propose to correct was introduced by that same

Re: [HACKERS] Documentation fix for CREATE FUNCTION

2016-07-13 Thread Tom Lane
Albe Laurenz writes: > I just noticed that the documentation for CREATE FUNCTION still mentions > that the temporary namespace is searched for functions even though that > has been removed with commit aa27977. The example you propose to correct was introduced by that same commit, which should mak

[HACKERS] Documentation fix for CREATE FUNCTION

2016-07-13 Thread Albe Laurenz
I just noticed that the documentation for CREATE FUNCTION still mentions that the temporary namespace is searched for functions even though that has been removed with commit aa27977. Attached is a patch to fix that. Yours, Laurenz Albe 0001-Fix-mention-of-pg_temp-in-CREATE-FUNCTION-documentat.p