View Single Post

   
  #1 (permalink)  
Old 04-09-2008, 10:15 AM
Erin Sheldon
 
Posts: n/a
Default Changing array subscripting to zero-offset

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

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Reply With Quote