postgresai 0.18.0-dev.13 → 0.18.0-dev.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,12 +6,10 @@
6
6
  -- if not exists (select 1 from pg_catalog.pg_roles where rolname = '...') then
7
7
  -- begin
8
8
  -- create user "..." with password '...';
9
- -- exception when duplicate_object then
9
+ -- exception when duplicate_object or unique_violation then
10
10
  -- null;
11
11
  -- end;
12
12
  -- end if;
13
13
  -- alter user "..." with password '...';
14
14
  -- end $$;
15
15
  {{ROLE_STMT}}
16
-
17
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postgresai",
3
- "version": "0.18.0-dev.13",
3
+ "version": "0.18.0-dev.15",
4
4
  "description": "postgres_ai CLI",
5
5
  "license": "Apache-2.0",
6
6
  "private": false,
package/sql/01.role.sql CHANGED
@@ -6,12 +6,10 @@
6
6
  -- if not exists (select 1 from pg_catalog.pg_roles where rolname = '...') then
7
7
  -- begin
8
8
  -- create user "..." with password '...';
9
- -- exception when duplicate_object then
9
+ -- exception when duplicate_object or unique_violation then
10
10
  -- null;
11
11
  -- end;
12
12
  -- end if;
13
13
  -- alter user "..." with password '...';
14
14
  -- end $$;
15
15
  {{ROLE_STMT}}
16
-
17
-