Hi Andreas.
It complains when 7.4 is used.
P.S)
I appreciate a great engineer.:-)
Regards,
Hiroshi Saito
--- src/schema/pgUser.cpp.orig Thu Jul 15 20:24:12 2004
+++ src/schema/pgUser.cpp Thu Jul 15 20:27:59 2004
@@ -98,13 +98,19 @@
wxArrayString dblist;
- pgSet *set=GetConnection()->ExecuteSet(
+ pgSet *set;
+ if (GetConnection()->BackendMinimumVersion(7, 5))
+ set=GetConnection()->ExecuteSet(
wxT("SELECT 'd' as type, datname, datallowconn, datdba\n")
wxT(" FROM pg_database db\n")
wxT("UNION\n")
wxT("SELECT 'M', spcname, null, null\n")
wxT(" FROM pg_tablespace where spcowner=") + uid + wxT("\n")
wxT(" ORDER BY 1, 2"));
+ else
+ set=GetConnection()->ExecuteSet(
+ wxT("SELECT 'd' as type, datname, datallowconn, datdba\n")
+ wxT(" FROM pg_database db"));
if (set)
{
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])