Project

General

Profile

« Previous | Next » 

Revision 2623

schemas/py_functions.sql.make: Fixed bug where owners needed to be included because schema is imported as superuser so that untrusted PL/Python functions can be created

View differences:

schemas/py_functions.sql.make
3 3

  
4 4
selfDir="$(dirname -- "$0")"
5 5

  
6
"$selfDir/../bin/pg_dump_vegbien" py_functions
6
env owners=1 "$selfDir/../bin/pg_dump_vegbien" py_functions
schemas/py_functions.sql
10 10
SET escape_string_warning = off;
11 11

  
12 12
--
13
-- Name: py_functions; Type: SCHEMA; Schema: -; Owner: -
13
-- Name: py_functions; Type: SCHEMA; Schema: -; Owner: bien
14 14
--
15 15

  
16 16
CREATE SCHEMA py_functions;
17 17

  
18 18

  
19
ALTER SCHEMA py_functions OWNER TO bien;
20

  
19 21
--
20 22
-- PostgreSQL database dump complete
21 23
--

Also available in: Unified diff