Re: Another issue in default-values patch: defaults expanded too soon - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Another issue in default-values patch: defaults expanded too soon
Date
Msg-id 494A227C.203@gmx.net
Whole thread Raw
In response to Re: Another issue in default-values patch: defaults expanded too soon  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-hackers
Gregory Stark wrote:
> Well honestly I don't see a terribly compelling use case for default arguments
> altogether. Obviously they're just a programmer convenience and don't really
> let anyone do anything they couldn't do without them.

The real payoff comes with name-based paramter lists (the name => value 
busines) and allowing defaults anywhere in the parameter list (not just 
at the end).  This is required to port many PL/SQL-using applications, 
and you can't write it any other way.


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Function with defval returns error
Next
From: Peter Eisentraut
Date:
Subject: Re: uuids on freebsd