긴 줄의 PL / pgSQL 코드를 여러 줄로 나누는 방법이 있습니까? 내 컨텍스트는 다음과 같이 테이블에 삽입을 로그하는 트리거 함수입니다.
INSERT INTO insert_log (log_time, description)
VALUES (
now()
, 'A description. Made up of 3 semi long sentences. That I want to split, in the code, not in the log table, over 3 lines for readability.'
);
2
PL / pgSQL이 아닌 일반 SQL입니다.
—
a_horse_with_no_name
도움이 필요한 청크 만 포함했으며 PL / pgSQL 함수의 일부입니다.
—
dw8547