mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 06:05:49 -06:00
Support PG13
Добавлена поддержка новых табличных параметров, set statistics, параметра для публикаций, исправлено отображение statistics для секций.
This commit is contained in:
parent
b792f9e203
commit
060b8e553c
6 changed files with 63 additions and 17 deletions
|
|
@ -486,11 +486,13 @@ bool pgConn::BackendMinimumVersion(int major, int minor)
|
|||
if (!majorVersion)
|
||||
{
|
||||
wxString version = GetVersionString();
|
||||
minorVersion = 0;
|
||||
patchVersion = 0;
|
||||
sscanf(version.ToAscii(), "%*s %d.%d.%d", &majorVersion, &minorVersion, &patchVersion);
|
||||
isEdb = version.Upper().Matches(wxT("ENTERPRISEDB*"));
|
||||
if (version.Upper().Matches(wxT("*11BETA*"))) {
|
||||
majorVersion=11;
|
||||
minorVersion=0;
|
||||
if (!majorVersion) {
|
||||
wxString vers=ExecuteScalar(wxT("SELECT current_setting('server_version_num');"));
|
||||
sscanf(vers.ToAscii(), "%2d%04d", &majorVersion, &minorVersion);
|
||||
}
|
||||
// EnterpriseDB 8.3 beta 1 & 2 and possibly later actually have PostgreSQL 8.2 style
|
||||
// catalogs. This is expected to change either before GA, but in the meantime we
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue