Peanut
08/27/2021, 1:37 AMCREATE POLICY "Everyone can read all users."
ON users
FOR SELECT USING (
true
);
Peanut
08/27/2021, 1:38 AMauthenticated
role to UPDATE the users table?Peanut
08/27/2021, 1:38 AMbim
08/27/2021, 3:30 AMwhere
clause to take advantage of the index?Peanut
08/27/2021, 6:57 AMPeanut
08/27/2021, 7:06 AMSELECT format('DROP POLICY IF EXISTS "%s" ON %s;', policyname, tablename)
FROM pg_policies WHERE schemaname = 'public';
Peanut
08/27/2021, 7:28 AMSELECT
format('DROP FUNCTION IF EXISTS %s;', p.proname)
FROM
pg_proc p
LEFT JOIN pg_namespace n ON p.pronamespace = n.oid
WHERE
n.nspname = 'public'
Peanut
08/27/2021, 7:41 AMkennethcassel
08/27/2021, 4:52 PMtomjohn | Designer
08/27/2021, 5:57 PMburggraf
08/27/2021, 6:17 PMburggraf
08/27/2021, 6:18 PMSteve
08/27/2021, 8:50 PMPeanut
08/28/2021, 1:18 AMRichCorbs
08/28/2021, 2:06 AMRichCorbs
08/28/2021, 2:20 AMassistattow
08/28/2021, 2:40 AMRichCorbs
08/28/2021, 2:40 AMmy_name:original_name
. When I removed the alias it started working.RichCorbs
08/28/2021, 2:41 AMassistattow
08/28/2021, 2:43 AMassistattow
08/28/2021, 2:44 AMassistattow
08/28/2021, 2:44 AMassistattow
08/28/2021, 2:44 AMRichCorbs
08/28/2021, 2:45 AMassistattow
08/28/2021, 2:46 AMassistattow
08/28/2021, 2:47 AMassistattow
08/28/2021, 2:47 AMRichCorbs
08/28/2021, 2:47 AMassistattow
08/28/2021, 2:47 AMassistattow
08/28/2021, 2:47 AM