File: extension.sql

package info (click to toggle)
pg-dirtyread 2.7-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 244 kB
  • sloc: sql: 471; ansic: 383; makefile: 17; sh: 1
file content (10 lines) | stat: -rw-r--r-- 205 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
CREATE EXTENSION pg_dirtyread;

-- create a non-superuser role, ignoring any output/errors, it might already exist
DO $$
	BEGIN
		CREATE ROLE luser;
	EXCEPTION WHEN duplicate_object THEN
		NULL;
	END;
$$;