File tree 2 files changed +4
-0
lines changed
ydb/library/yql/tools/pgrun
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 9
9
#include < ydb/library/yql/providers/common/provider/yql_provider_names.h>
10
10
#include < ydb/library/yql/providers/common/proto/gateways_config.pb.h>
11
11
#include < ydb/library/yql/providers/yt/provider/yql_yt_provider.h>
12
+ #include < ydb/library/yql/providers/pg/provider/yql_pg_provider.h>
12
13
#include < ydb/library/yql/public/issue/yql_issue.h>
13
14
14
15
#include < library/cpp/getopt/last_getopt.h>
@@ -971,6 +972,7 @@ int Main(int argc, char* argv[])
971
972
972
973
static const TString DefaultCluster{" plato" };
973
974
clusterMapping[DefaultCluster] = YtProviderName;
975
+ clusterMapping[" pg_catalog" ] = PgProviderName;
974
976
975
977
opts.AddHelpOption ();
976
978
opts.AddLongOption (" datadir" , " directory for tables" ).StoreResult <TString>(&rawDataDir);
@@ -1001,6 +1003,7 @@ int Main(int argc, char* argv[])
1001
1003
1002
1004
TVector<TDataProviderInitializer> dataProvidersInit;
1003
1005
dataProvidersInit.push_back (GetYtNativeDataProviderInitializer (ytNativeGateway));
1006
+ dataProvidersInit.push_back (GetPgDataProviderInitializer ());
1004
1007
1005
1008
TExprContext ctx;
1006
1009
TExprContext::TFreezeGuard freezeGuard (ctx);
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ PEERDIR(
32
32
ydb/library/yql/providers/yt/gateway/file
33
33
ydb/library/yql/providers/yt/comp_nodes/llvm
34
34
ydb/library/yql/providers/yt/codec/codegen
35
+ ydb/library/yql/providers/pg/provider
35
36
ydb/library/yql/core/url_preprocessing
36
37
ydb/library/yql/parser/pg_wrapper
37
38
)
You can’t perform that action at this time.
0 commit comments