mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Revert 9246af6799
because
I miss too much. Patch is returned to commitfest process.
This commit is contained in:
@ -255,26 +255,6 @@ SELECT schedule[1:2][1:1] FROM sal_emp WHERE name = 'Bill';
|
||||
------------------------
|
||||
{{meeting},{training}}
|
||||
(1 row)
|
||||
</programlisting>
|
||||
|
||||
Possible to skip the <literal><replaceable>lower-bound</replaceable></literal> or
|
||||
<literal><replaceable>upper-bound</replaceable></literal>
|
||||
for get first or last element in slice.
|
||||
|
||||
<programlisting>
|
||||
SELECT schedule[:][:] FROM sal_emp WHERE name = 'Bill';
|
||||
|
||||
schedule
|
||||
------------------------
|
||||
{{meeting,lunch},{training,presentation}}
|
||||
(1 row)
|
||||
|
||||
SELECT schedule[:2][2:] FROM sal_emp WHERE name = 'Bill';
|
||||
|
||||
schedule
|
||||
------------------------
|
||||
{{lunch},{presentation}}
|
||||
(1 row)
|
||||
</programlisting>
|
||||
|
||||
If any dimension is written as a slice, i.e., contains a colon, then all
|
||||
|
Reference in New Issue
Block a user