Changing array subscripting to zero-offset

From: "Erin Sheldon" <erin(dot)sheldon(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Changing array subscripting to zero-offset
Date: 2006-06-18 14:33:43
Message-ID: 331116dc0606180733u60d0ef98mb7d6c53b8a7c3157@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello everyone -

Array columns are, by default, 1-offset in their
subscripting. Since I usually am calling postgres
from a language with zero-offset, I would prefer
that postgres conform to that. The online
documentation hints that this may be configurable
but I haven't been able to find how this is done.

Any help is greatly appreciated,
Erin Sheldon

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kevin Jenkins 2006-06-18 15:33:15 Tips for storing files in the database
Previous Message Marco Bizzarri 2006-06-18 12:39:50 Re: MySQL insert() and instr() equiv