David Rowley escribió: > I was about to test it tonight, but I'm having trouble getting the patch to > compile... I'm really wondering which compiler you are using as it seems > you're declaring your variables in some strange places.. See nodeSort.c > line 101. These variables are declared after there has been an if statement > in the same scope. That's not valid in C. (The patch did however apply > without any complaints).
AFAIR C99 allows mixed declarations and code. Visual Studio only implements C89 though, which is why it fails to compile there. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers