pgsql-server: Use one, not zero, as the default lower bound for arrays

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: Use one, not zero, as the default lower bound for arrays
Date: 2004-08-06 18:05:50
Message-ID: 20040806180550.4EA895E4075@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Use one, not zero, as the default lower bound for arrays of AclItems.
This avoids changing the displayed appearance of ACL columns now that
array_out decorates its output with bounds information when the lower
bound isn't one. Per gripe from Gaetano Mendola. Note that I did not
force initdb for this, although any database initdb'd in the last
couple of days is going to have some problems.

Modified Files:
--------------
pgsql-server/src/backend/utils/adt:
acl.c (r1.108 -> r1.109)
(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/adt/acl.c.diff?r1=1.108&r2=1.109)
pgsql-server/src/include/utils:
acl.h (r1.72 -> r1.73)
(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/utils/acl.h.diff?r1=1.72&r2=1.73)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2004-08-06 18:09:18 pgsql-server: I have noticed that the latex format in psql has some
Previous Message Bruce Momjian 2004-08-06 17:52:45 pgsql-server: Modify: > * Un-comment all variables in postgresql.conf