Re: language handlers in public schema? - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: language handlers in public schema?
Date
Msg-id 42BB60C7.5050109@dunslane.net
Whole thread Raw
In response to Re: language handlers in public schema?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: language handlers in public schema?
Re: language handlers in public schema?
List pgsql-hackers

Tom Lane wrote:

>Andrew Dunstan <andrew@dunslane.net> writes:
>  
>
>>Is there any reason for us to keep putting the language handler 
>>functions in the public schema?
>>    
>>
>
>I believe one of the issues there is that pg_dump doesn't dump functions
>that are in pg_catalog.  You could possibly fix it to make an exception
>for functions that are referenced by pg_language entries, but I think
>this would be a nontrivial change.
>  
>

Hmm. Could we not just add something this condition:
or pg_catalog.format_type(prorettype, NULL) != 'language_handler'

in pg_dump.c around line 2191?

I'd like to get this done, but I don't think I'll have time before July 
1. How about putting it on the TODO list?


cheers

andrew




pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] O_DIRECT for WAL writes
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] O_DIRECT for WAL writes