Skip to content

Commit

Permalink
feat all: drop pg-omit-describe-in-execute experiment, enable by default
Browse files Browse the repository at this point in the history
e983c03bb9db805e80219176098480a3e2611fde
  • Loading branch information
itrofimow committed Feb 17, 2024
1 parent fcefc8a commit e8ddf5c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions postgresql/src/storages/postgres/detail/connection_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1004,8 +1004,7 @@ void ConnectionImpl::ReportStatement(const std::string& name) {
}

bool ConnectionImpl::IsOmitDescribeInExecuteEnabled() const {
return settings_.omit_describe_mode == OmitDescribeInExecuteMode::kEnabled &&
kOmitDescribeInExecuteExperiment.IsEnabled();
return settings_.omit_describe_mode == OmitDescribeInExecuteMode::kEnabled;
}

} // namespace storages::postgres::detail
Expand Down
3 changes: 1 addition & 2 deletions postgresql/src/storages/postgres/experiments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ USERVER_NAMESPACE_BEGIN

namespace storages::postgres {

USERVER_NAMESPACE::utils::impl::UserverExperiment
kOmitDescribeInExecuteExperiment{"pg-omit-describe-in-execute", true};
// Placeholder for future experiments

}

Expand Down
2 changes: 0 additions & 2 deletions postgresql/src/storages/postgres/experiments.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ USERVER_NAMESPACE_BEGIN

namespace storages::postgres {

extern USERVER_NAMESPACE::utils::impl::UserverExperiment
kOmitDescribeInExecuteExperiment;
inline constexpr auto kOmitDescribeExperimentVersion = 1;

inline constexpr auto kDeadlinePropagationExperimentVersion = 1;
Expand Down

0 comments on commit e8ddf5c

Please sign in to comment.