pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Problem with pgaccess 0.96
2+ messages / 2 participants
[nested] [flat]

* Problem with pgaccess 0.96
@ 1999-07-09 21:59  Lorint Hendschel <LorintHendschel@skynet.be>
  0 siblings, 1 reply; 2+ messages in thread

From: Lorint Hendschel @ 1999-07-09 21:59 UTC (permalink / raw)
  To: pgsql-interfaces

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [INTERFACES] Problem with pgaccess 0.96
@ 1999-07-10 06:22  Constantin Teodorescu <teo@flex.ro>
  parent: Lorint Hendschel <LorintHendschel@skynet.be>
  0 siblings, 0 replies; 2+ messages in thread

From: Constantin Teodorescu @ 1999-07-10 06:22 UTC (permalink / raw)
  To: Lorint Hendschel <LorintHendschel@skynet.be>; +Cc: pgsql-interfaces

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~1999-07-10 06:22 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-07-09 21:59 Problem with pgaccess 0.96 Lorint Hendschel <LorintHendschel@skynet.be>
1999-07-10 06:22 ` Constantin Teodorescu <teo@flex.ro>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox