Skip to content

Commit

Permalink
Merge #76125
Browse files Browse the repository at this point in the history
76125: sql: sort rows in pg_depends logictest r=ajwerner a=stevendanna

This sorts on more columns in a logictest to ensure that the results
are a bit more stable.  While we could use the logictest `rowsort`
option, this test already had an ORDER BY clause.

Fixes #76124

Release note: None

Co-authored-by: Steven Danna <[email protected]>
  • Loading branch information
craig[bot] and stevendanna committed Feb 7, 2022
2 parents c95e816 + 212825a commit e3f43ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/sql/logictest/testdata/logic_test/pg_catalog
Original file line number Diff line number Diff line change
Expand Up @@ -1407,16 +1407,16 @@ fk {2} NULL NULL NULL NULL NULL NULL
query OOIOOIT colnames
SELECT classid, objid, objsubid, refclassid, refobjid, refobjsubid, deptype
FROM pg_catalog.pg_depend
ORDER BY objid
ORDER BY objid, refobjid, refobjsubid
----
classid objid objsubid refclassid refobjid refobjsubid deptype
4294967126 111 0 4294967129 110 14 a
4294967126 112 0 4294967129 110 15 a
4294967126 192087236 0 4294967129 0 0 n
4294967083 842401391 0 4294967129 110 1 n
4294967083 842401391 0 4294967129 110 2 n
4294967083 842401391 0 4294967129 110 4 n
4294967083 842401391 0 4294967129 110 3 n
4294967083 842401391 0 4294967129 110 4 n
4294967126 2061447344 0 4294967129 3687884464 0 n
4294967126 3764151187 0 4294967129 0 0 n
4294967126 3836426375 0 4294967129 3687884465 0 n
Expand Down

0 comments on commit e3f43ee

Please sign in to comment.