Re: Some questions about the array. - Mailing list pgsql-hackers

From YUriy Zhuravlev
Subject Re: Some questions about the array.
Date
Msg-id 1885247.qWD6L4eZuE@dinodell
Whole thread Raw
In response to Some questions about the array.  (YUriy Zhuravlev <u.zhuravlev@postgrespro.ru>)
Responses Re: Some questions about the array.  (YUriy Zhuravlev <u.zhuravlev@postgrespro.ru>)
Re: Some questions about the array.  (Teodor Sigaev <teodor@sigaev.ru>)
List pgsql-hackers
Hello again.
I attached simple patch for omitted boundaries in the slice.
This will simplify the writing of SQL. Instead:
select arr[2:array_upper(arr, 1)];
you can write:
select arr[2:];

simple and elegant.
Omitted boundaries is prohibited in UPDATE.

Thanks.
--
YUriy Zhuravlev
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company
Attachment

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: plpgsql - DECLARE - cannot to use %TYPE or %ROWTYPE for composite types
Next
From: Andres Freund
Date:
Subject: Checkpoint throttling issues