List stored functions that reference a table in PostgreSQL

后端 未结 9 1067
深忆病人
深忆病人 2020-12-07 14:10

Just a quick and simple question: in PostgreSQL, how do you list the names of all stored functions/stored procedures using a table using just a SELECT statement, if possible

9条回答
  •  时光取名叫无心
    2020-12-07 14:59

    You can use the standard information_schema schema to get metadata about your database (it's in the SQL standard, so it should work the same way in different database systems). In this case you want information_schema.routines.

提交回复
热议问题