| CommitterBackported | Fix a couple of places that would loop forever if attempts to read a stdio file set ferror() but never set feof(). This is known to be the case for recent glibc when trying to read a directory as a file, and might be true for other platforms/cases too. Per report from Ed L. (There is more that we ought to do about his report, but this is one easily identifiable issue.) 61d75116 | master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+17 more | No linked thread | Mar 03, 2010 |
| CommitterBackported | Make contrib/xml2 use core xml.c's error handler, when available (that is, in versions >= 8.3). The core code is more robust and efficient than what was there before, and this also reduces risks involved in swapping different libxml error handler settings. 5e47403b | master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+16 more | No linked thread | Mar 03, 2010 |
| CommitterBackported | Export xml.c's libxml-error-handling support so that contrib/xml2 can use it too, instead of duplicating the functionality (badly). 8bf14182 | master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+13 more | No linked thread | Mar 03, 2010 |
| Committer | Instead of trying (and failing) to allow <<label>> at the end of a DECLARE section, throw an error message saying explicitly that the label must go before DECLARE. Per investigation of a recent pgsql-novice question, this code did not work as intended in any modern PG version, maybe not ever. Allowing such a thing would only create ambiguity anyway, so it seems better to remove it than fix it. 77e0d7b3 | master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more | No linked thread | Mar 03, 2010 |