Re: CREATE CAST WITHOUT FUNCTION should require superuserness? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: CREATE CAST WITHOUT FUNCTION should require superuserness?
Date
Msg-id 18622.1029867539@sss.pgh.pa.us
Whole thread Raw
In response to Re: CREATE CAST WITHOUT FUNCTION should require superuserness?  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: CREATE CAST WITHOUT FUNCTION should require superuserness?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane writes:
>> Also, in the present state of the code a WITHOUT FUNCTION cast does
>> not work if AS ASSIGNMENT isn't given: parse_coerce.c won't ever find
>> it.  Is this intentional, or just an oversight?

> It's a transition state that might be inadequately documented.

Okay.  Are you intending to work on it?  I was thinking of doing some
cleanup work in parse_coerce, but will refrain from joggling your elbow
if you're going to deal with it.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Rod Taylor
Date:
Subject: Re: Proposal: make "opaque" obsolete
Next
From: Tom Lane
Date:
Subject: Re: Proposal: make "opaque" obsolete