blob: 2194cfaf89f618b46985698218bf8624029b0979 [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-- start_matchignore
m/\s+(\W)?(\W)?\(\w+\.[cph]+:\d+\)/
s/\s+(\W)?(\W)?\(\w+\.[cph]+:\d+\)/(SOMEFILE:SOMEFUNC)/
m/pg_aoseg\.pg_aoseg_\d+/
s/pg_aoseg\.pg_aoseg_\d+/pg_aoseg\.pg_aoseg_oid/
m/pg_aoseg\.pg_aocsseg_\d+/
s/pg_aoseg\.pg_aocsseg_\d+/pg_aoseg\.pg_aocsseg_oid/
m/^ Optimizer status:.*/
s/^ Optimizer status:.*//
-- end_matchignore
-- start_matchsubs
#entry db matches
m/\s+\(entry db(.*)+\spid=\d+\)/
s/\s+\(entry db(.*)+\spid=\d+\)//
#remove unecessary diffs due to SOMEFILE:SOMEFUNC
m/\(SOMEFILE:SOMEFUNC\)/
s/\(SOMEFILE:SOMEFUNC\)//
m/\(COptTasks\.cpp:\d+\)/
s/\(COptTasks\.cpp:\d+\)//
m/\(cdbdisp\.c:\d+\)/
s/\(cdbdisp\.c:\d+\)//
m/\(plpython\.c:\d+\)/
s/\(plpython\.c:\d+\)//
m/\(functions\.c:\d+\)/
s/\(functions\.c:\d+\)//
#In alter_table_distribution_policy tests, some test cases emit NOTICE message
#like the following
#drop cascades to function pg_atsdb_211851_2_4_out.
#The name contains OID embedded in it and it can change with test runs. We want
#to remove these and diff the rest.
m/^NOTICE:.*drop cascades to.*/
s/^NOTICE:.*drop cascades to.*/^NOTICE: drop cascades to /
# Mask out some numbers (parts of partition names) that vary from run to run.
m/overlaps existing partition "r\d+"/
s/overlaps existing partition "r\d+"/partition "r##########"/
# Mask out some numbers (part of temp table schema) that vary from run to run.
m/Table "pg_temp_\d+.temp/
s/Table "pg_temp_\d+.temp/Table "pg_temp_#####/
# Mask out Log & timestamp for orca message that has feature not supported.
m/^LOG.*\"Feature/
s/^LOG.*\"Feature/\"Feature/
-- end_matchsubs