OSDN Git Service

Use one, not zero, as the default lower bound for arrays of AclItems.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 6 Aug 2004 18:05:49 +0000 (18:05 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 6 Aug 2004 18:05:49 +0000 (18:05 +0000)
commit7f018ac1c21bf1c41e692f7097a1f29f3ad7fe1c
tree3ad7f6779fd5b471e6df2a92e112c69c5fa3b90e
parent57050f9bdf13fd93f534d6c97a33499be0242a40
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.
src/backend/utils/adt/acl.c
src/include/utils/acl.h