pg_ctl-exit-status.patch

text/plain

Filename: pg_ctl-exit-status.patch
Type: text/plain
Part: 0
Message: Change 'pg_ctl: no server running' Exit Status to 3

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: context
File+
src/bin/pg_ctl/pg_ctl.c 1 1
diff -cr a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c
*** a/src/bin/pg_ctl/pg_ctl.c	2011-04-14 23:15:53.000000000 -0400
--- b/src/bin/pg_ctl/pg_ctl.c	2011-05-22 10:25:34.186930946 -0400
***************
*** 1036,1042 ****
  		}
  	}
  	printf(_("%s: no server running\n"), progname);
! 	exit(1);
  }
  
  
--- 1036,1042 ----
  		}
  	}
  	printf(_("%s: no server running\n"), progname);
! 	exit(3);
  }