我最近傾向於使用PostgreSQL,並試圖製作ListAggregation函數,因爲here唯一的區別是我試圖用CONCAT代替TextCat 。 我的功能是爲下如何在使用PostgreSQL製作聚合函數時在sfunc參數中使用Concat函數
CREATE AGGREGATE ListAggregation(
basetype = Text,
sfunc = Concat,
stype = Text,
initcond = ''
);
它拋出錯誤
ERROR: function concat(text, text) does not exist
********** Error **********
ERROR: function concat(text, text) does not exist
SQL state: 42883
我在做什麼錯?請幫助
NB〜我甚至看了給出here
的例子謝謝
確實沒有'CONCAT(文本,文本)'函數。 'textcat(文本,文本)'有什麼問題? –