Обсуждение: Problem with pgaccess 0.96
Hello, I was a happy user of pgaccess 0.64 (I think). I decided to upgrade to 0.94. Compilation succeeded. I downloaded libpgtcl and copied it in /usr/lib. But when I want to launch pgaccess (wish -f /usr/src/pgaccess/pgaccess.tcl name_of_the_db), I have the following error message: Tcl error executing pg_exec select relname from pg_class where relname='pga_queries' Invalid optionpg_result result ?option? where ?option is -status -conn -assign array VarName -assignbyidx array VarName -numTuples -attributes -lAttributes -numAttrs -getTuple tupleNumber -tupleArray tupleNumber arrayVarName -clear -oid The command line from which I have launched pgaccess says this: Error in startup script: First argument is not a valid query result while executing "pg_result $pgres -numTuples" (procedure "open_database" line 36) invoked from within "open_database" (procedure "main" line 15) invoked from within "main $argc $argv" (file "/usr/src/pgaccess/pgaccess.tcl" line 5044) I use postgresql 6.4.2. Does anyone now what I'm doing wrong? Thanks a lot in advance. -- Ki ça vos våye bén, Lorint HENDSCHEL
Lorint Hendschel wrote: > > But when I want to launch pgaccess (wish -f > /usr/src/pgaccess/pgaccess.tcl name_of_the_db), I have the following > error message: > > Tcl error executing pg_exec > select relname from pg_class > where relname='pga_queries' > > Invalid optionpg_result result If your PostgreSQL backend version is 6.4.2 than you should download and use the appropriate libpgtcl.so and libpq.so versions. As I know, on my site there's only libraries for 6.3.2 asnd RH 5.1 In a couple of minutes I will build up and put on ftp://ftp.flex.ro/pub/pgaccess an archive with files for RH 5.2 and PostgreSQL 6.4.2 You should use that one! Best regards, -- Constantin Teodorescu FLEX Consulting Braila, ROMANIA