index 1d7629f84ee04f1dd62a2d9bcc878832ba4b7dfe..fcf8bd75659ca1b0afdbb124d1242d349c54e590 100644 (file)
@@ -96,6 +96,16 @@ WHERE proiswindow AND (proisagg OR proretset);
-----+---------
(0 rows)
+-- currently, no built-in functions should be SECURITY DEFINER;
+-- this might change in future, but there will probably never be many.
+SELECT p1.oid, p1.proname
+FROM pg_proc AS p1
+WHERE prosecdef
+ORDER BY 1;
+ oid | proname
+-----+---------
+(0 rows)
+
-- pronargdefaults should be 0 iff proargdefaults is null
SELECT p1.oid, p1.proname
FROM pg_proc AS p1
index bf2edb5d993d7cdfe601aa158685b8ca8d62e6d5..2945966c0e43c6dbcbc370a0dbe93c6877e21372 100644 (file)
FROM pg_proc AS p1
WHERE proiswindow AND (proisagg OR proretset);
+-- currently, no built-in functions should be SECURITY DEFINER;
+-- this might change in future, but there will probably never be many.
+SELECT p1.oid, p1.proname
+FROM pg_proc AS p1
+WHERE prosecdef
+ORDER BY 1;
+
-- pronargdefaults should be 0 iff proargdefaults is null
SELECT p1.oid, p1.proname
FROM pg_proc AS p1