1
我有一個類型定義爲:如何檢查Postgresql中使用Type的位置?
CREATE TYPE A AS
(header text,
body text,
id numeric);
ALTER TYPE A
我想更多atrributes添加到它,但我不知道如何檢查正在使用這種類型的地方。
如何獲取哪個函數將其用作返回類型的列表?
例如,如果我有功用:
CREATE OR REPLACE FUNCTION X(a integer, b integer, c integer, d citext)
RETURNS A AS .....
查詢將在它的結果列表X。