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

From Erin Sheldon
Subject Changing array subscripting to zero-offset
Date
Msg-id 331116dc0606181252y2d153330jf404bec60ac29657@mail.gmail.com
Whole thread Raw
Responses Re: Changing array subscripting to zero-offset
List pgsql-general
Hello everyone -

Array columns are, by default, 1-offset in their
subscripting.  Since I usually call 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.

Does anyone know how to do this?

Thanks,
Erin Sheldon

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Question about openSSL
Next
From: "Florian G. Pflug"
Date:
Subject: Re: Changing array subscripting to zero-offset