[PATCHES] pg_standby remove unsupported switch u

2007-05-22 Thread Pavel Stehule

Hello

this patch removes unsupported switch u from description for command.

Regards
Pavel Stehule
*** ./contrib/pg_standby/pg_standby.c.orig	2007-05-22 15:47:42.0 +0200
--- ./contrib/pg_standby/pg_standby.c	2007-05-22 15:48:10.0 +0200
***
*** 379,385 
  	fprintf(stderr, 		  note space between [ARCHIVELOCATION] and [NEXTWALFILE]\n);
  	fprintf(stderr, with main intended use via restore_command in the recovery.conf\n);
  	fprintf(stderr, 	 restore_command = 'pg_standby [OPTION]... [ARCHIVELOCATION] %%f %%p'\n);
! 	fprintf(stderr, e.g. restore_command = 'pg_standby -l -u /mnt/server/archiverdir %%f %%p'\n);
  	fprintf(stderr, \nOptions:\n);
  	fprintf(stderr,   -c			copies file from archive (default)\n);
  	fprintf(stderr,   -d			generate lots of debugging output (testing only)\n);
--- 379,385 
  	fprintf(stderr, 		  note space between [ARCHIVELOCATION] and [NEXTWALFILE]\n);
  	fprintf(stderr, with main intended use via restore_command in the recovery.conf\n);
  	fprintf(stderr, 	 restore_command = 'pg_standby [OPTION]... [ARCHIVELOCATION] %%f %%p'\n);
! 	fprintf(stderr, e.g. restore_command = 'pg_standby -l /mnt/server/archiverdir %%f %%p'\n);
  	fprintf(stderr, \nOptions:\n);
  	fprintf(stderr,   -c			copies file from archive (default)\n);
  	fprintf(stderr,   -d			generate lots of debugging output (testing only)\n);

---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
   subscribe-nomail command to [EMAIL PROTECTED] so that your
   message can get through to the mailing list cleanly


Re: [PATCHES] pg_standby remove unsupported switch u

2007-05-22 Thread Alvaro Herrera
Pavel Stehule escribió:
 Hello
 
 this patch removes unsupported switch u from description for command.

Applied, thanks.

I noticed that the usage section is not very uniform and could well use
a cleanup, but I'm not doing it at this time.

-- 
Alvaro Herrerahttp://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

---(end of broadcast)---
TIP 6: explain analyze is your friend