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

From Josh Berkus
Subject Re: Another issue in default-values patch: defaults expanded too soon
Date
Msg-id 49485279.302@agliodbs.com
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
Greg,

> 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 primary use case is for people who are porting applications from 
other DBMSes.  Which don't support polymorphic arguments in the first place.

--Josh


pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Another issue in default-values patch: defaults expanded too soon
Next
From: "Brendan Jurd"
Date:
Subject: Re: Variadic parameters vs parameter defaults