Skip to content

Commit 5c75dce

Browse files
committed
Add new option skipsequencevals
1 parent ccbb0bd commit 5c75dce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

check_postgres.pl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1533,6 +1533,7 @@ package check_postgres;
15331533
'filter=s@', ## used by same_schema only
15341534
'suffix=s', ## used by same_schema only
15351535
'replace', ## used by same_schema only
1536+
'skipsequencevals', ## used by same_schema only
15361537
'lsfunc=s', ## used by wal_files and archive_ready
15371538
'skipcycled', ## used by sequence only
15381539
);
@@ -7687,6 +7688,9 @@ sub schema_item_differences {
76877688
## Skip certain known numeric fields that have text versions:
76887689
next if $col =~ /.(?:namespace|owner|filenode|oid|relid)$/;
76897690

7691+
## We may want to skip the "data" of the sequences
7692+
next if $opt{skipsequencevals} and $item_class eq 'sequence';
7693+
76907694
## If not a list, just report on the exact match here and move on:
76917695
if (! exists $lists->{$col} and $col !~ /.acl$/) {
76927696
$nomatch{$name}{coldiff}{$col}{$db1} = $one->{$col};

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy