Skip to content

Commit 9e9101a

Browse files
committed
fix the bug of Catalog.pm
1 parent 7193384 commit 9e9101a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/backend/catalog/Catalog.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ sub ParseData
337337
next;
338338
}
339339

340-
if ($match_oracle_regex_begin == 1)
340+
if ($match_oracle_regex_begin == 1 && $match_oracle_regex_end < 1)
341341
{
342342
if ($compatible_type eq 'pg')
343343
{

src/include/catalog/pg_type.dat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@
696696
typsend => 'brin_minmax_multi_summary_send', typalign => 'i',
697697
typstorage => 'x', typcollation => 'default' },
698698

699-
# BEGIN Oracle Compatibility Metadatas
699+
/*BEGIN Oracle Compatibility Metadatas*/
700700
{ oid => '9500', array_type_oid => '9504',
701701
descr => 'Oracle CHAR datatype, blank-padded string, fixed storage length',
702702
typname => 'oracharchar', typnamespace => 'sys', typlen => '-1', typbyval => 'f',
@@ -833,6 +833,6 @@
833833
typanalyze => '-', typalign => 'i', typstorage => 'p', typnotnull => 'f', typbasetype => '0',
834834
typtypmod => '-1', typndims => '0', typcollation => '0'},
835835

836-
# END Oracle Compatibility Metadatas
836+
/*END Oracle Compatibility Metadatas*/
837837

838838
]

0 commit comments

Comments
 (0)