Skip site navigation (1) Skip section navigation (2)

pgsql: Properly detoast access to bytea field pg_trigger.tgargs.

From: momjian(at)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Properly detoast access to bytea field pg_trigger.tgargs.
Date: 2007-01-25 04:17:46
Message-ID: 20070125041746.7674C9FB5F9@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Properly detoast access to bytea field pg_trigger.tgargs.  Old code
might cause server crash.

Backpatch to 8.2.X.

Modified Files:
--------------
    pgsql/src/backend/commands:
        tablecmds.c (r1.210 -> r1.211)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/tablecmds.c.diff?r1=1.210&r2=1.211)
        trigger.c (r1.211 -> r1.212)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/trigger.c.diff?r1=1.211&r2=1.212)
    pgsql/src/backend/utils/adt:
        ruleutils.c (r1.245 -> r1.246)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/ruleutils.c.diff?r1=1.245&r2=1.246)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2007-01-25 04:17:57
Subject: pgsql: Properly detoast access to bytea field pg_trigger.tgargs.
Previous:From: Bruce MomjianDate: 2007-01-25 04:08:51
Subject: pgsql: Fix for plpython functions; return true/false for boolean,

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group