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

pgsql: Improve plpgsql's ability to cope with rowtypes containing

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve plpgsql's ability to cope with rowtypes containing
Date: 2009-08-06 20:44:32
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
Log Message:
Improve plpgsql's ability to cope with rowtypes containing dropped columns,
by supporting conversions in places that used to demand exact rowtype match.

Since this issue is certain to come up elsewhere (in fact, already has,
in ExecEvalConvertRowtype), factor out the support code into new core
functions for tuple conversion.  I chose to put these in a new source
file since heaptuple.c is already overly long.

Heavily revised version of a patch by Pavel Stehule.

Modified Files:
        Makefile (r1.25 -> r1.26)
        execQual.c (r1.250 -> r1.251)
        execnodes.h (r1.205 -> r1.206)
    pgsql/src/pl/plpgsql/src: (r1.9 -> r1.10)
        pl_exec.c (r1.247 -> r1.248)
        plpgsql.out (r1.72 -> r1.73)
        plpgsql.sql (r1.60 -> r1.61)

Added Files:
        tupconvert.c (r1.1)
        tupconvert.h (r1.1)

pgsql-committers by date

Next:From: User BmomjianDate: 2009-08-07 00:39:11
Subject: pg-migrator - pg_migrator: Update pg_migrator invalidation tests to
Previous:From: Magnus HaganderDate: 2009-08-06 12:04:50
Subject: Re: Re: [COMMITTERS] pgsql: Reserve the shared memory region during backend startup on

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