pgsql: Mark pageinspect's disk-accessing functions as parallel restrict

2022-11-21 Thread Tom Lane
Mark pageinspect's disk-accessing functions as parallel restricted. These functions have been marked parallel safe, but the buildfarm's response to commit e2933a6e1 exposed the flaw in that thinking: if you try to use them on a temporary table, and they run inside a parallel worker, they'll fail w

pgsql: Mark pageinspect's disk-accessing functions as parallel restrict

2022-11-21 Thread Tom Lane
Mark pageinspect's disk-accessing functions as parallel restricted. These functions have been marked parallel safe, but the buildfarm's response to commit e2933a6e1 exposed the flaw in that thinking: if you try to use them on a temporary table, and they run inside a parallel worker, they'll fail w