/pgpatches/tablespace

text/x-diff

Filename: /pgpatches/tablespace
Type: text/x-diff
Part: 0
Message: Re: 9.0beta2 - server crash when using HS + SR

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/backend/commands/tablespace.c 3 2
Index: src/backend/commands/tablespace.c
===================================================================
RCS file: /cvsroot/pgsql/src/backend/commands/tablespace.c,v
retrieving revision 1.74
diff -c -c -r1.74 tablespace.c
*** src/backend/commands/tablespace.c	26 Feb 2010 02:00:39 -0000	1.74
--- src/backend/commands/tablespace.c	30 Jun 2010 22:45:21 -0000
***************
*** 552,559 ****
  		if (errno == ENOENT)
  			ereport(ERROR,
  					(errcode(ERRCODE_UNDEFINED_FILE),
! 					 errmsg("directory \"%s\" does not exist",
! 							location)));
  		else
  			ereport(ERROR,
  					(errcode_for_file_access(),
--- 552,560 ----
  		if (errno == ENOENT)
  			ereport(ERROR,
  					(errcode(ERRCODE_UNDEFINED_FILE),
! 					 errmsg("directory \"%s\" does not exist", location),
! 					 InRecovery ? errhint("Create directory \"%s\" for this tablespace before "
! 							 "restarting the server.", location) : 0));
  		else
  			ereport(ERROR,
  					(errcode_for_file_access(),