Re: [PATCH] Negative Transition Aggregate Functions (WIP) - Mailing list pgsql-hackers

From David Rowley
Subject Re: [PATCH] Negative Transition Aggregate Functions (WIP)
Date
Msg-id CAApHDvr+Wz1+12rh1nWZsJh=8Axq4ZKNE0YD15d+onvmx=PKaA@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Negative Transition Aggregate Functions (WIP)  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: [PATCH] Negative Transition Aggregate Functions (WIP)
List pgsql-hackers
On Sun, Dec 22, 2013 at 12:12 AM, David Rowley <dgrowleyml@gmail.com> wrote:
On Sat, Dec 21, 2013 at 11:47 PM, Erik Rijkers <er@xs4all.nl> wrote:
On Sat, December 21, 2013 10:53, David Rowley wrote:

>  [inverse_transition_functions_v1.1.patch.gz ]

Hi,

I know, $subject says "WIP", but I assumed it's supposed to compile, so I tried to get this to run on linux (Centos 5.0).
gcc 4.8.2,
with

<snip>
 
cd ../../../src/include/catalog && '/home/aardvark/perl-5.19/bin/perl' ./duplicate_oids
1220
1221
1800
1801
1970
1971
 
Thanks for the report. It seems the windows build does not check for duplicate OIDs and the linux one does.
I'll just need to change the Oids of the new functions I've added, only it seems the unused_oids perl script does not like windows.

I'll try to get you a working patch shortly.


Please find attached an updated patch which should remove the duplicate OID problem you saw.

Regards

David Rowley
 
Regards

David Rowley


Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: [PATCH] Negative Transition Aggregate Functions (WIP)
Next
From: "Erik Rijkers"
Date:
Subject: Re: [PATCH] Negative Transition Aggregate Functions (WIP)