Changing array subscripting to zero-offset - Mailing list pgsql-general

From Erin Sheldon
Subject Changing array subscripting to zero-offset
Date
Msg-id 331116dc0606180733u60d0ef98mb7d6c53b8a7c3157@mail.gmail.com
Whole thread Raw
Responses Re: Changing array subscripting to zero-offset  (Jorge Godoy <jgodoy@gmail.com>)
List 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

pgsql-general by date:

Previous
From: Sim Zacks
Date:
Subject: Re: join on next row
Next
From: canfieldsteve@hotmail.com
Date:
Subject: getting comment about constraint