mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
fix error convert type text
update pgadmin3.exe
This commit is contained in:
parent
cff9271f49
commit
6e64bf852d
3 changed files with 2 additions and 2 deletions
|
|
@ -447,7 +447,7 @@ void pgRole::ShowDependents(frmMain *form, ctlListView *referencedBy, const wxSt
|
|||
wxString depOids = wxT("(SELECT objid FROM pg_shdepend WHERE refobjid=") + GetOidStr() + wxT(")");
|
||||
|
||||
FillOwned(form->GetBrowser(), referencedBy, dblist,
|
||||
wxT("SELECT cl.relkind, COALESCE(cin.nspname, cln.nspname) as nspname, COALESCE(ci.relname, cl.relname) as relname, cl.relname as indname\n")
|
||||
wxT("SELECT cl.relkind::text, COALESCE(cin.nspname, cln.nspname) as nspname, COALESCE(ci.relname, cl.relname) as relname, cl.relname as indname\n")
|
||||
wxT(" FROM pg_class cl\n")
|
||||
wxT(" JOIN pg_namespace cln ON cl.relnamespace=cln.oid\n")
|
||||
wxT(" LEFT OUTER JOIN pg_index ind ON ind.indexrelid=cl.oid\n")
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@ void pgUser::ShowDependents(frmMain *form, ctlListView *referencedBy, const wxSt
|
|||
}
|
||||
|
||||
FillOwned(form->GetBrowser(), referencedBy, dblist,
|
||||
wxT("SELECT cl.relkind, COALESCE(cin.nspname, cln.nspname) as nspname, COALESCE(ci.relname, cl.relname) as relname, cl.relname as indname\n")
|
||||
wxT("SELECT cl.relkind::text, COALESCE(cin.nspname, cln.nspname) as nspname, COALESCE(ci.relname, cl.relname) as relname, cl.relname as indname\n")
|
||||
wxT(" FROM pg_class cl\n")
|
||||
wxT(" JOIN pg_namespace cln ON cl.relnamespace=cln.oid\n")
|
||||
wxT(" LEFT OUTER JOIN pg_index ind ON ind.indexrelid=cl.oid\n")
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue