fix: input function does not allow tailing spaces (#148)

This commit is contained in:
yihong
2023-06-09 10:51:20 +08:00
committed by GitHub
parent 13cf29088d
commit 41c68bf692
3 changed files with 37 additions and 1 deletions

View File

@@ -10,6 +10,12 @@ SELECT '[-1,2,3]'::vector;
[-1,2,3]
(1 row)
SELECT ' [ 1, 2 , 3 ] '::vector(3);
vector
---------
[1,2,3]
(1 row)
SELECT '[1.23456]'::vector;
vector
-----------