Alvaro Herrera <alvherre@commandprompt.com> writes:
> Excerpts from Tom Lane's message of mié sep 22 13:36:18 -0400 2010:
>> Well, the more general point is what should "SHOW session_authorization"
>> show in an autovacuum process? The fact that Andrew wasn't
>> intentionally doing that doesn't mean that someone else might not try
>> it. I think we can either decide it should be an obviously-illegal
>> value, or try to make it return the name of the cluster-creating
>> superuser. The latter seems like more work than it's worth though.
> +1 for the illegal value.
OK. I just dug through all the other show-hook functions and confirmed
that show_session_authorization is the only one that will dump core if
its variable is NULL, so it looks like we have just one case to fix.
Will get on it once I get my repo back together ...
regards, tom lane