File: 04-session-authorization.patch

package info (click to toggle)
bucardo 5.6.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,176 kB
  • sloc: perl: 20,690; sh: 92; makefile: 7
file content (12 lines) | stat: -rw-r--r-- 324 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/bucardo.schema
+++ b/bucardo.schema
@@ -17,7 +17,8 @@ SET client_min_messages = 'ERROR';
 CREATE USER bucardo SUPERUSER;
 CREATE DATABASE bucardo OWNER bucardo;
 
-\c bucardo bucardo
+\c bucardo
+SET SESSION AUTHORIZATION bucardo;
 
 -- Create the base bucardo schema and languages
 SET client_min_messages = 'ERROR';