Project

General

Profile

« Previous | Next » 

Revision 8171

schemas/functions.sql: col_type(): Include column name in error message

View differences:

functions.sql
589 589
    ;
590 590
    RETURN type;
591 591
EXCEPTION
592
    WHEN no_data_found THEN RAISE undefined_column;
592
    WHEN no_data_found THEN
593
        RAISE undefined_column USING MESSAGE = 'undefined column: '||col.name;
593 594
END;
594 595
$$;
595 596

  

Also available in: Unified diff