mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
This is one of those patches that obviously fixes something, just not
sure exactly what it is it fixes...
This commit is contained in:
parent
e141fc661c
commit
f8a41a0b91
@ -3919,9 +3919,9 @@ QUERY: COPY BINARY stud_emp FROM '_CWD_/stud_emp.data';
|
|||||||
QUERY: SELECT * FROM stud_emp;
|
QUERY: SELECT * FROM stud_emp;
|
||||||
name |age|location |salary|manager|gpa|percent
|
name |age|location |salary|manager|gpa|percent
|
||||||
-----+---+----------+------+-------+---+-------
|
-----+---+----------+------+-------+---+-------
|
||||||
jeff | 23|(8,7.7) | 600|sharon |3.5|
|
jeff | 23|(8,7.7) | 600|sharon |3.5| 0
|
||||||
cim | 30|(10.5,4.7)| 400| |3.4|
|
cim | 30|(10.5,4.7)| 400| |3.4| 0
|
||||||
linda| 19|(0.9,6.1) | 100| |2.9|
|
linda| 19|(0.9,6.1) | 100| |2.9| 0
|
||||||
(3 rows)
|
(3 rows)
|
||||||
|
|
||||||
QUERY: SELECT count(*) FROM onek;
|
QUERY: SELECT count(*) FROM onek;
|
||||||
@ -6764,11 +6764,11 @@ xacttest
|
|||||||
(63 rows)
|
(63 rows)
|
||||||
|
|
||||||
QUERY: SELECT * FROM arrtest;
|
QUERY: SELECT * FROM arrtest;
|
||||||
a |b |c |d |e
|
a |b |c |d |e
|
||||||
-----------+---------------------+-------------+-----------------+-------------
|
-----------+---------------+-------------+-----------------+-------------
|
||||||
{1,2,3,4,5}|{{{0,0}},{{1,2}}} |{} |{} |
|
{1,2,3,4,5}|{{{0,0},{1,2}}}|{} |{} |
|
||||||
{11,12,23} |{{{3},{4}},{{4},{5}}}|{"foobar"} |{{"elt1","elt2"}}|{"3.4","6.7"}
|
{11,12,23} |{{3,4},{4,5}} |{"foobar"} |{{"elt1","elt2"}}|{"3.4","6.7"}
|
||||||
{} |{{{3,4},{0,0}}} |{"foo","bar"}|{{"bar"},{"foo"}}|
|
{} |{3,4} |{"foo","bar"}|{"bar","foo"} |
|
||||||
(3 rows)
|
(3 rows)
|
||||||
|
|
||||||
QUERY: SELECT arrtest.a[1],
|
QUERY: SELECT arrtest.a[1],
|
||||||
@ -6780,8 +6780,8 @@ QUERY: SELECT arrtest.a[1],
|
|||||||
a|b|c |d |e
|
a|b|c |d |e
|
||||||
--+-+------+----+-
|
--+-+------+----+-
|
||||||
1|0| | |
|
1|0| | |
|
||||||
11|3|foobar|elt1|
|
11| |foobar|elt1|
|
||||||
|3|foo |bar |
|
| |foo | |
|
||||||
(3 rows)
|
(3 rows)
|
||||||
|
|
||||||
QUERY: SELECT arrtest.a[1:3],
|
QUERY: SELECT arrtest.a[1:3],
|
||||||
@ -6791,17 +6791,17 @@ QUERY: SELECT arrtest.a[1:3],
|
|||||||
FROM arrtest;
|
FROM arrtest;
|
||||||
a |b |c |d
|
a |b |c |d
|
||||||
----------+---------------+-------------+-----------------
|
----------+---------------+-------------+-----------------
|
||||||
{1,2,3} | | |
|
{1,2,3} |{{{0,0},{1,2}}}| |
|
||||||
{11,12,23}| | |{{"elt1","elt2"}}
|
{11,12,23}| | |{{"elt1","elt2"}}
|
||||||
|{{{3,4},{0,0}}}|{"foo","bar"}|
|
| |{"foo","bar"}|
|
||||||
(3 rows)
|
(3 rows)
|
||||||
|
|
||||||
QUERY: SELECT array_dims(arrtest.b) AS x;
|
QUERY: SELECT array_dims(arrtest.b) AS x;
|
||||||
x
|
x
|
||||||
---------------
|
---------------
|
||||||
[1:2][1:1][1:2]
|
|
||||||
[1:2][1:2][1:1]
|
|
||||||
[1:1][1:2][1:2]
|
[1:1][1:2][1:2]
|
||||||
|
[1:2][1:2]
|
||||||
|
[1:2]
|
||||||
(3 rows)
|
(3 rows)
|
||||||
|
|
||||||
QUERY: SELECT *
|
QUERY: SELECT *
|
||||||
@ -6819,9 +6819,9 @@ QUERY: SELECT arrtest.a[1:3],
|
|||||||
FROM arrtest;
|
FROM arrtest;
|
||||||
a |b |c |d
|
a |b |c |d
|
||||||
----------+---------------+-------------+-----------------
|
----------+---------------+-------------+-----------------
|
||||||
{1,2,3} | | |
|
{1,2,3} |{{{0,0},{1,2}}}| |
|
||||||
{11,12,23}| | |{{"elt1","elt2"}}
|
{11,12,23}| | |{{"elt1","elt2"}}
|
||||||
|{{{3,4},{0,0}}}|{"foo","bar"}|
|
| |{"foo","bar"}|
|
||||||
(3 rows)
|
(3 rows)
|
||||||
|
|
||||||
=============== running error queries ... =================
|
=============== running error queries ... =================
|
||||||
|
Loading…
Reference in New Issue
Block a user