minor patch submission: CREATE CAST ... AS EXPLICIT - Mailing list pgsql-hackers

From Fabien COELHO
Subject minor patch submission: CREATE CAST ... AS EXPLICIT
Date
Msg-id alpine.DEB.2.02.1105211540430.12292@localhost6.localdomain6
Whole thread Raw
Responses Re: minor patch submission: CREATE CAST ... AS EXPLICIT  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: minor patch submission: CREATE CAST ... AS EXPLICIT  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Hello,

Please find attached a minor stylish patch. It compiles and the update 
test cases work for me.

Description:

Add "AS EXPLICIT" to "CREATE CAST"

This gives a name to the default case of "CREATE CAST", which creates a 
cast which must be explicitely invoked.

From a language definition perspective, it is helpful to have a name for 
every case instead of an implicit fallback, without any word to describe 
it. See for instance "CREATE USER CREATEDB/NOCREATEDB" or "CREATE RULE ... 
DO ALSO/INSTEAD" for similar occurences of naming default cases.

-- 
Fabien.

pgsql-hackers by date:

Previous
From: Mark
Date:
Subject: Re: ts_rank
Next
From: Tom Lane
Date:
Subject: Re: minor patch submission: CREATE CAST ... AS EXPLICIT