We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 395bfaa commit 15bb93eCopy full SHA for 15bb93e
src/backend/catalog/Catalog.pm
@@ -66,6 +66,9 @@ sub Catalogs
66
redo;
67
}
68
69
+ # Remember input line number for later.
70
+ my $input_line_number = $.;
71
+
72
# Strip useless whitespace and trailing semicolons.
73
chomp;
74
s/^\s+//;
@@ -80,7 +83,7 @@ sub Catalogs
80
83
elsif (/^DATA\(insert(\s+OID\s+=\s+(\d+))?\s+\(\s*(.*)\s*\)\s*\)$/)
81
84
{
82
85
check_natts($filename, $catalog{natts}, $3,
- $input_file, INPUT_FILE->input_line_number);
86
+ $input_file, $input_line_number);
87
88
push @{ $catalog{data} }, { oid => $2, bki_values => $3 };
89
@@ -242,4 +245,5 @@ sub check_natts
242
245
$file, $line, $natts, scalar @atts
243
246
unless $natts == @atts;
244
247
248
249
1;
0 commit comments