gen_fmgrtab_workaround.patch

text/x-patch

Filename: gen_fmgrtab_workaround.patch
Type: text/x-patch
Part: 0
Message: Re: Re: [COMMITTERS] pgsql: Get rid of the need for manual maintenance of the initial

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: unified
File+
src/backend/utils/Gen_fmgrtab.pl 1 1
Index: src/backend/utils/Gen_fmgrtab.pl
===================================================================
RCS file: /projects/cvsroot/pgsql/src/backend/utils/Gen_fmgrtab.pl,v
retrieving revision 1.4
diff -u -r1.4 Gen_fmgrtab.pl
--- src/backend/utils/Gen_fmgrtab.pl	5 Jan 2010 01:06:56 -0000	1.4
+++ src/backend/utils/Gen_fmgrtab.pl	5 Jan 2010 19:14:10 -0000
@@ -56,7 +56,7 @@
 }
 
 my $data = $catalogs->{pg_proc}->{data};
-foreach my $row (@$data)
+while( my $row = shift @$data )
 {
 
     # To construct fmgroids.h and fmgrtab.c, we need to inspect some