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

pgsql-server: Infrastructure for I/O of composite types: arrange for the

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: Infrastructure for I/O of composite types: arrange for the
Date: 2004-06-06 00:41:29
Message-ID: 20040606004129.42AF1D1B220@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Infrastructure for I/O of composite types: arrange for the I/O routines
of a composite type to get that type's OID as their second parameter,
in place of typelem which is useless.  The actual changes are mostly
centralized in getTypeInputInfo and siblings, but I had to fix a few
places that were fetching pg_type.typelem for themselves instead of
using the lsyscache.c routines.  Also, I renamed all the related variables
from 'typelem' to 'typioparam' to discourage people from assuming that
they necessarily contain array element types.

Modified Files:
--------------
    pgsql-server/doc/src/sgml/ref:
        create_type.sgml (r1.50 -> r1.51)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/doc/src/sgml/ref/create_type.sgml.diff?r1=1.50&r2=1.51)
    pgsql-server/src/backend/access/common:
        printtup.c (r1.82 -> r1.83)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/access/common/printtup.c.diff?r1=1.82&r2=1.83)
    pgsql-server/src/backend/bootstrap:
        bootstrap.c (r1.183 -> r1.184)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/bootstrap/bootstrap.c.diff?r1=1.183&r2=1.184)
    pgsql-server/src/backend/commands:
        copy.c (r1.225 -> r1.226)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/commands/copy.c.diff?r1=1.225&r2=1.226)
    pgsql-server/src/backend/executor:
        execTuples.c (r1.79 -> r1.80)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/executor/execTuples.c.diff?r1=1.79&r2=1.80)
        nodeAgg.c (r1.121 -> r1.122)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/executor/nodeAgg.c.diff?r1=1.121&r2=1.122)
        spi.c (r1.116 -> r1.117)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/executor/spi.c.diff?r1=1.116&r2=1.117)
    pgsql-server/src/backend/nodes:
        print.c (r1.68 -> r1.69)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/nodes/print.c.diff?r1=1.68&r2=1.69)
    pgsql-server/src/backend/parser:
        parse_coerce.c (r2.117 -> r2.118)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/parser/parse_coerce.c.diff?r1=2.117&r2=2.118)
        parse_type.c (r1.68 -> r1.69)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/parser/parse_type.c.diff?r1=1.68&r2=1.69)
    pgsql-server/src/backend/tcop:
        fastpath.c (r1.72 -> r1.73)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/tcop/fastpath.c.diff?r1=1.72&r2=1.73)
        postgres.c (r1.418 -> r1.419)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/tcop/postgres.c.diff?r1=1.418&r2=1.419)
    pgsql-server/src/backend/utils/adt:
        arrayfuncs.c (r1.102 -> r1.103)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/adt/arrayfuncs.c.diff?r1=1.102&r2=1.103)
        ruleutils.c (r1.169 -> r1.170)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/adt/ruleutils.c.diff?r1=1.169&r2=1.170)
        varlena.c (r1.114 -> r1.115)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/adt/varlena.c.diff?r1=1.114&r2=1.115)
    pgsql-server/src/backend/utils/cache:
        lsyscache.c (r1.112 -> r1.113)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/cache/lsyscache.c.diff?r1=1.112&r2=1.113)
    pgsql-server/src/include:
        funcapi.h (r1.11 -> r1.12)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/funcapi.h.diff?r1=1.11&r2=1.12)
    pgsql-server/src/include/utils:
        array.h (r1.46 -> r1.47)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/utils/array.h.diff?r1=1.46&r2=1.47)
        lsyscache.h (r1.86 -> r1.87)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/utils/lsyscache.h.diff?r1=1.86&r2=1.87)
    pgsql-server/src/pl/plperl:
        plperl.c (r1.43 -> r1.44)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/pl/plperl/plperl.c.diff?r1=1.43&r2=1.44)
    pgsql-server/src/pl/plpgsql/src:
        pl_comp.c (r1.76 -> r1.77)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/pl/plpgsql/src/pl_comp.c.diff?r1=1.76&r2=1.77)
        pl_exec.c (r1.105 -> r1.106)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/pl/plpgsql/src/pl_exec.c.diff?r1=1.105&r2=1.106)
        plpgsql.h (r1.46 -> r1.47)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/pl/plpgsql/src/plpgsql.h.diff?r1=1.46&r2=1.47)
    pgsql-server/src/pl/plpython:
        plpython.c (r1.48 -> r1.49)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/pl/plpython/plpython.c.diff?r1=1.48&r2=1.49)
    pgsql-server/src/pl/tcl:
        pltcl.c (r1.85 -> r1.86)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/pl/tcl/pltcl.c.diff?r1=1.85&r2=1.86)

pgsql-committers by date

Next:From: Tom LaneDate: 2004-06-06 04:50:29
Subject: pgsql-server: Preliminary support for composite type I/O; just text for
Previous:From: Tom LaneDate: 2004-06-05 19:48:09
Subject: pgsql-server: Tweak palloc/repalloc to allow zero bytes to be requested,

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