Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
2026-10-06 6bac54b555d27f1a85c1e4f011a6e7bd9111b0d0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include "dbms_logrep_imp.hpp"
 
extern "C"
{
PG_FUNCTION_INFO_V1(dbms_logrep_imp_bump_scn);
PG_FUNCTION_INFO_V1(dbms_logrep_imp_instantiate_schema);
 
Datum
dbms_logrep_imp_bump_scn(PG_FUNCTION_ARGS)
{
    /*
     * Oracle uses this internal Data Pump/Streams hook to advance SCN during
     * logical replication metadata import.  RUDB has no Oracle SCN to advance,
     * so keeping the call as a no-op lets imported metadata scripts proceed.
     */
    PG_RETURN_VOID();
}
 
Datum
dbms_logrep_imp_instantiate_schema(PG_FUNCTION_ARGS)
{
    /*
     * Oracle accepts even NULL or non-existing schema names for this import hook
     * in non-privileged sessions.  Treat it as metadata-only compatibility.
     */
    PG_RETURN_VOID();
}
} // extern "C"