Use one, not zero, as the default lower bound for arrays of AclItems.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 7f018ac1c21bf1c41e692f7097a1f29f3ad7fe1c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-08-06T18:05:49Z
Releases: 8.0.0
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.

Files

PathChange+/−
src/backend/utils/adt/acl.c modified +2 −2
src/include/utils/acl.h modified +2 −2