Re: [PATCHES] Win32 fix for pg_dumpall

2004-08-15 Thread Bruce Momjian
OK, I have cleaned up this code and clarified the comment. Attached and applied. --- Andrew Dunstan wrote: Bruce Momjian wrote: /* + * Sometime the child returns

Re: [PATCHES] Win32 fix for pg_dumpall

2004-08-08 Thread Andrew Dunstan
Bruce Momjian wrote: /* + * Sometime the child returns \r\n, which doesn't match + * our version string. The backend uses + * setvbuf(stdout, NULL, _IONBF, 0), but pg_dump doesn't + * so we have to fix it here. + */ + if (strlen(line) = 2 + line[strlen(line)-2]

Re: [PATCHES] Win32 fix for pg_dumpall

2004-08-08 Thread Bruce Momjian
Andrew Dunstan wrote: Bruce Momjian wrote: /* + * Sometime the child returns \r\n, which doesn't match + * our version string. The backend uses + * setvbuf(stdout, NULL, _IONBF, 0), but