Fix MSVC build (I think) for recent pg_proc.h column addition.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 3 Sep 2007 02:51:47 +0000 (02:51 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 3 Sep 2007 02:51:47 +0000 (02:51 +0000)
This business with two independent build systems does kinda suck.

src/tools/msvc/Solution.pm

index 9e7f5f126caad812b628bb3db687bb1d0f347988..dac13ddc776ce6d9da7cad4f7447c1008616986f 100644 (file)
@@ -173,7 +173,7 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
               {
                 oid     => $p[0],
                 proname => $p[1],
-                prosrc  => $p[$#p-2],
+                prosrc  => $p[$#p-3],
                 nargs   => $p[12],
                 strict  => $p[9],
                 retset  => $p[10],