Re: [PATCHES] Patch to allow contrib/pgbench files to have blank lines

2005-12-09 Thread David Fetter
On Wed, Nov 23, 2005 at 10:24:00PM +0900, Tatsuo Ishii wrote: Having blank lines in -f scripts was causing silent failures. This fixes it, for some value of fixes. If it's OK, please apply to 8.1 CURRENT and CVS TIP :) Thanks. I have committed your patches to current and 8.1 stable.

Re: [PATCHES] Patch to allow contrib/pgbench files to have blank lines

2005-12-07 Thread Nicolas Barbier
On 11/23/05, David Fetter [EMAIL PROTECTED] wrote: Having blank lines in -f scripts was causing silent failures. This fixes it, for some value of fixes. If it's OK, please apply to 8.1 CURRENT and CVS TIP :) if (strncmp(buf, \n, 1) != 0) { commands = process_commands(buf); if