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

pgsql: Make pg_stat_file() use OUT parameters so that the user doesn't

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make pg_stat_file() use OUT parameters so that the user doesn't
Date: 2005-08-13 19:02:35
Message-ID: 20050813190235.C697C5300D@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Make pg_stat_file() use OUT parameters so that the user doesn't have to
remember the output parameter set for himself.  It's a bit of a kluge
but fixing array_in to work in bootstrap mode looks worse.
I removed the separate pg_file_length() function, as it no longer has any
real notational advantage --- you can write (pg_stat_file(...)).length.

Modified Files:
--------------
    pgsql/doc/src/sgml:
        func.sgml (r1.279 -> r1.280)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/func.sgml.diff?r1=1.279&r2=1.280)
    pgsql/src/backend/catalog:
        system_views.sql (r1.18 -> r1.19)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/system_views.sql.diff?r1=1.18&r2=1.19)
    pgsql/src/backend/utils/adt:
        genfile.c (r1.3 -> r1.4)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/genfile.c.diff?r1=1.3&r2=1.4)
    pgsql/src/include/catalog:
        catversion.h (r1.297 -> r1.298)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/catversion.h.diff?r1=1.297&r2=1.298)
        pg_proc.h (r1.382 -> r1.383)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/pg_proc.h.diff?r1=1.382&r2=1.383)

pgsql-committers by date

Next:From: Tom LaneDate: 2005-08-13 22:18:08
Subject: pgsql: Tweak catalog cache management algorithms to reduce cost of
Previous:From: Bruce MomjianDate: 2005-08-13 15:27:41
Subject: pgsql: Remove API file.

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