mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
translate undef to NULL for result arrayref, now that we allow NULLs in arrays. Update plperl regression test accordingly.
This commit is contained in:
@ -297,7 +297,7 @@ SELECT * FROM recurse(3);
|
||||
---
|
||||
CREATE OR REPLACE FUNCTION array_of_text() RETURNS TEXT[][]
|
||||
LANGUAGE plperl as $$
|
||||
return [['a"b','c,d'],['e\\f','g']];
|
||||
return [['a"b',undef,'c,d'],['e\\f',undef,'g']];
|
||||
$$;
|
||||
|
||||
SELECT array_of_text();
|
||||
|
Reference in New Issue
Block a user