Project

General

Profile

« Previous | Next » 

Revision 14085

bugfix: schemas/util.sql: comment(element oid): need `objsubid = 0` filter so this doesn't use comments for any other objsubids

View differences:

trunk/schemas/util.sql
1116 1116
CREATE FUNCTION comment(element oid) RETURNS text
1117 1117
    LANGUAGE sql STABLE
1118 1118
    AS $_$
1119
SELECT description FROM pg_description WHERE objoid = $1
1119
SELECT description FROM pg_description WHERE objoid = $1 AND objsubid = 0
1120 1120
$_$;
1121 1121

  
1122 1122

  

Also available in: Unified diff