mirror of
https://github.com/postgres/postgres.git
synced 2025-12-07 12:02:30 +03:00
Divide functions into three volatility classes (immutable, stable, and
volatile), rather than the old cachable/noncachable distinction. This allows indexscan optimizations in many places where we formerly didn't. Also, add a pronamespace column to pg_proc (it doesn't do anything yet, however).
This commit is contained in:
@@ -62,7 +62,7 @@ WHERE p1.oid != p2.oid AND
|
||||
(p1.prolang != p2.prolang OR
|
||||
p1.proisinh != p2.proisinh OR
|
||||
p1.proistrusted != p2.proistrusted OR
|
||||
p1.proiscachable != p2.proiscachable OR
|
||||
p1.provolatile != p2.provolatile OR
|
||||
p1.pronargs != p2.pronargs OR
|
||||
p1.proretset != p2.proretset);
|
||||
oid | proname | oid | proname
|
||||
|
||||
@@ -61,7 +61,7 @@ WHERE p1.oid != p2.oid AND
|
||||
(p1.prolang != p2.prolang OR
|
||||
p1.proisinh != p2.proisinh OR
|
||||
p1.proistrusted != p2.proistrusted OR
|
||||
p1.proiscachable != p2.proiscachable OR
|
||||
p1.provolatile != p2.provolatile OR
|
||||
p1.pronargs != p2.pronargs OR
|
||||
p1.proretset != p2.proretset);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user