Add ORDER BY to a query on information_schema.views, to avoid possible

platform-specific result ordering.  Per buildfarm results.
This commit is contained in:
Tom Lane
2007-02-15 05:05:03 +00:00
parent bfe553fb49
commit eecbb33267
3 changed files with 6 additions and 3 deletions

View File

@ -142,4 +142,5 @@ CREATE VIEW xmlview7 AS SELECT xmlroot(xml '<foo/>', version no value, standalon
CREATE VIEW xmlview8 AS SELECT xmlserialize(content 'good' as char(10));
CREATE VIEW xmlview9 AS SELECT xmlserialize(content 'good' as text);
SELECT table_name, view_definition FROM information_schema.views WHERE table_name LIKE 'xmlview%';
SELECT table_name, view_definition FROM information_schema.views
WHERE table_name LIKE 'xmlview%' ORDER BY 1;