Patch for PGACCESS - Mailing list pgsql-general

From Alexander Dederer
Subject Patch for PGACCESS
Date
Msg-id 9eo09n$2ba6$1@news.tht.net
Whole thread Raw
List pgsql-general
Sorry my English.
Anyone know a trubl PGACCESS (with PostgreSQL 7.1.1) in View Functions show
_all_ system functions.
For resolve it you must replase in ..../pgaccess/lib/mainlib.tcl function
to my function:
--- cut ---
proc {cmd_Functions} {} {
global CurrentDB PgAcVar
set maxim 16384
setCursor CLOCK
catch {
wpg_select $CurrentDB "select oid from pg_database where
datname='template1'" rec {
set maxim $rec(oid)
}
}
.pgaw:Main.lb delete 0 end
catch {
set alex_owner_id $PgAcVar(opendb,username)
if {! $PgAcVar(pref,systemtables)} {
set alex_owner " and proowner = (SELECT usesysid FROM pg_user WHERE usename
= '$alex_owner_id') "
} else {
set alex_owner ""
}
wpg_select $CurrentDB "select proname from pg_proc where oid>$maxim
$alex_owner order by proname" rec {
pgaw:Main.lb insert end $rec(proname)
}
}
setCursor DEFAULT
}
--- cut ---

In attach. full mainlib.tcl  for PGACCESS v.0.98.7

Attachment

pgsql-general by date:

Previous
From: nirajkp@yahoo.com (Niraj K. Patel)
Date:
Subject: PostgreSQL 7.03 Install fails on RedHat Linux 6.1
Next
From: Björn Lundin
Date:
Subject: RE: Autocommit off in psql??