[postgis-devel] Should we start using default args now?

Paul Ramsey pramsey at opengeo.org
Tue May 17 11:03:14 PDT 2011


RT_ST?
P

On Tue, May 17, 2011 at 10:41 AM, Paragon Corporation <lr at pcorp.us> wrote:
> I like that.  Though we should start with Bborie's first (which doesn't
> require drop anything since they are so new)
>
> Many of the raster functions have 4 or 5 protos per function.
>
> So Bborie added about 10 (hmm maybe more but that's as high as I can count)
> new functions each of which has anywhere from 2-10 permutations. -- to add
> up to a lot.
>
> For example:
> http://www.postgis.org/documentation/manual-svn/RT_ST_AsPNG.html
>
> Great functions by the way :)
>
> So I've been hesitant to document the ST_AsTiff, ST_AsJPEG and all the
> analytics if we are going to go default args.
>
> Thanks,
> Regina
>
> -----Original Message-----
> From: postgis-devel-bounces at postgis.refractions.net
> [mailto:postgis-devel-bounces at postgis.refractions.net] On Behalf Of Paul
> Ramsey
> Sent: Tuesday, May 17, 2011 1:20 PM
> To: PostGIS Development Discussion
> Subject: Re: [postgis-devel] Should we start using default args now?
>
> We can include DROP IF EXISTS at the front of the upgrade scripts (already
> do that do some extent) to clean out non-defaulted pre-existing functions.
> P.
>
> On Mon, May 16, 2011 at 11:04 PM, Paragon Corporation <lr at pcorp.us> wrote:
>> No CREATE OR REPLACE would not  replace them.  We would have to drop them.
>>
>> I was thinking about just new functions like the 100 some odd Bborie
>> just loaded on us :)
>>
>> -----Original Message-----
>> From: postgis-devel-bounces at postgis.refractions.net
>> [mailto:postgis-devel-bounces at postgis.refractions.net] On Behalf Of
>> Sandro Santilli
>> Sent: Tuesday, May 17, 2011 2:01 AM
>> To: PostGIS Development Discussion
>> Subject: Re: [postgis-devel] Should we start using default args now?
>>
>> On Tue, May 17, 2011 at 01:01:13AM -0400, Paragon Corporation wrote:
>>> Now that Bborie has unleashed his load of functions; I'm not
>>> complaining, I did ask for it :)
>>>
>>> I was wondering if maybe we should start using default arguments at
>>> least for raster.  Now that our minimum is 8.4 for PostGIS 2.0, this
>>> is now an option.  Does it make sense?
>>
>> If 8.4 supports them, I'm for it. Surely for new functions.
>> Old functions might need more verifications (does CREATE OR REPLACE
>> replace them ?).
>>
>> --strk;
>>
>>  ()   Free GIS & Flash consultant/developer
>>  /\   http://strk.keybit.net/services.html
>> _______________________________________________
>> postgis-devel mailing list
>> postgis-devel at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>>
>>
>> _______________________________________________
>> postgis-devel mailing list
>> postgis-devel at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>



More information about the postgis-devel mailing list