Re: WIP: default values for function parameters - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: WIP: default values for function parameters
Date
Msg-id 0B0D8ADC-3570-42A0-8532-2877645148E9@kineticode.com
Whole thread Raw
In response to Re: WIP: default values for function parameters  ("Pavel Stehule" <pavel.stehule@gmail.com>)
List pgsql-hackers
On Dec 12, 2008, at 2:47 PM, Pavel Stehule wrote:

> it's look well, but I still prefer some combination with =
>
> name: = ''
> name: => '''
> :name = ''
> $name => ..
> $name = ..
>
> Maybe I am too conservative

Given that the colon already indicates "This label corresponds to that  
value", the other operator characters are redundant. In English, I  
write things like this:
 first: go to store second: get eggs

See what I mean? I quite like the colon solution.

Best,

David


pgsql-hackers by date:

Previous
From: "Merlin Moncure"
Date:
Subject: table types/check constraints
Next
From: Sam Mason
Date:
Subject: Re: WIP: default values for function parameters