pgsql-blob-fix-initdb.patch

text/x-patch

Filename: pgsql-blob-fix-initdb.patch
Type: text/x-patch
Part: 0
Message: Re: Largeobject Access Controls (r2460)

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/initdb/initdb.c 1 0
*** base/src/bin/initdb/initdb.c	2009-11-21 05:52:12.000000000 +0900
--- blob/src/bin/initdb/initdb.c	2009-12-13 06:33:55.000000000 +0900
*************** setup_privileges(void)
*** 1783,1788 ****
--- 1783,1789 ----
  		"  WHERE relkind IN ('r', 'v', 'S') AND relacl IS NULL;\n",
  		"GRANT USAGE ON SCHEMA pg_catalog TO PUBLIC;\n",
  		"GRANT CREATE, USAGE ON SCHEMA public TO PUBLIC;\n",
+ 		"REVOKE ALL ON pg_largeobject FROM PUBLIC;\n",
  		NULL
  	};