当我运行以下查询时
CREATE OR REPLACE FUNCTION some_function() RETURNS timestamptz AS $$
DECLARE
curtime timestamp;
BEGIN
curtime := 'now';
INSERT INTO logtable VALUES (logtxt, curtime);
RETURN curtime;
END;
显示的错误是
错误:“$$”处或附近未终止的美元引号字符串