mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
Version PG14 fix.
Поддерживаемая версия поднята до 14-ой. Мелкие правки.
This commit is contained in:
parent
90fc629fa0
commit
3a817534b4
3 changed files with 5 additions and 5 deletions
|
|
@ -3464,7 +3464,7 @@ void frmQuery::OnQueryComplete(pgQueryResultEvent &ev)
|
|||
|
||||
// Set an indicator on the error word (break on any kind of bracket, a space or full stop)
|
||||
int sPos = errPos + selStart - 1, wEnd = 1;
|
||||
sqlQueryExec->StartStyling(sPos, wxSTC_INDICS_MASK);
|
||||
//sqlQueryExec->StartStyling(sPos, wxSTC_INDICS_MASK);
|
||||
int c = sqlQueryExec->GetCharAt(sPos + wEnd);
|
||||
size_t len = sqlQueryExec->GetText().Length();
|
||||
while(c != ' ' && c != '(' && c != '{' && c != '[' && c != '.' &&
|
||||
|
|
@ -3473,7 +3473,7 @@ void frmQuery::OnQueryComplete(pgQueryResultEvent &ev)
|
|||
wEnd++;
|
||||
c = sqlQueryExec->GetCharAt(sPos + wEnd);
|
||||
}
|
||||
sqlQueryExec->SetStyling(wEnd, wxSTC_INDIC0_MASK);
|
||||
//sqlQueryExec->SetStyling(wEnd, wxSTC_INDIC0_MASK);
|
||||
|
||||
int line = 0, maxLine = sqlQueryExec->GetLineCount();
|
||||
while (line < maxLine && sqlQueryExec->GetLineEndPosition(line) < errPos + selStart + 1)
|
||||
|
|
|
|||
|
|
@ -60,8 +60,8 @@
|
|||
// Supported server minimum and maximum values.
|
||||
const short SERVER_MIN_VERSION_N = 0x0804;
|
||||
const wxString SERVER_MIN_VERSION_T = wxT("8.4");
|
||||
const short SERVER_MAX_VERSION_N = 0x0E00;
|
||||
const wxString SERVER_MAX_VERSION_T = wxT("14");
|
||||
const short SERVER_MAX_VERSION_N = 0x0F00;
|
||||
const wxString SERVER_MAX_VERSION_T = wxT("15");
|
||||
// Supported Greenplum Database and Greenplum HAWQ minimum and maximum values.
|
||||
const short GP_MIN_VERSION_N = 0x0802;
|
||||
const wxString GP_MIN_VERSION_T = wxT("8.2");
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
#define VERSION_H
|
||||
|
||||
// Application Versions
|
||||
#define VERSION_STR wxT("1.26 Dev ASUTP support PG13")
|
||||
#define VERSION_STR wxT("1.26 Dev ASUTP support PG14")
|
||||
#define VERSION_NUM 1,26,0,0
|
||||
#define VERSION_PACKAGE 1.26.0-dev
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue