/rtmp/pg_dump.diff

text/x-diff

Filename: /rtmp/pg_dump.diff
Type: text/x-diff
Part: 0
Message: Re: pg_dump -X

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: unified
File+
src/bin/pg_dump/pg_dump.c 0 0
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
new file mode 100644
index 0884517..feeeae8
*** a/src/bin/pg_dump/pg_dump.c
--- b/src/bin/pg_dump/pg_dump.c
*************** main(int argc, char **argv)
*** 469,475 ****
  				break;
  
  			case 'X':
! 				/* -X is a deprecated alternative to long options */
  				if (strcmp(optarg, "disable-dollar-quoting") == 0)
  					disable_dollar_quoting = 1;
  				else if (strcmp(optarg, "disable-triggers") == 0)
--- 469,478 ----
  				break;
  
  			case 'X':
! 				/*
! 				 *	-X is a deprecated alternative to long options;
! 				 *	no new -X options are to be added.
! 				 */
  				if (strcmp(optarg, "disable-dollar-quoting") == 0)
  					disable_dollar_quoting = 1;
  				else if (strcmp(optarg, "disable-triggers") == 0)