Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f0F0Isp90305 for ; Sun, 14 Jan 2001 19:18:54 -0500 (EST) (envelope-from pgsql-interfaces-owner@postgresql.org) Received: from yara.imsd.uni-mainz.de (yara.IMSD.Uni-Mainz.DE [134.93.144.68]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0C9GVp22628; Fri, 12 Jan 2001 04:16:31 -0500 (EST) (envelope-from wagner@imsd.uni-mainz.de) Received: (from smap@localhost) by yara.imsd.uni-mainz.de (8.9.3/8.9.3/lxs_5.2) id KAA11370; Fri, 12 Jan 2001 10:11:14 +0100 Received: from hermes.imsd.uni-mainz.de(134.93.64.80) by yara.imsd.uni-mainz.de via smap (V2.1/2.1+anti-relay+anti-spam) id xma011363; Fri, 12 Jan 01 10:11:04 +0100 Received: from imsd.uni-mainz.de (unverified [134.93.64.34]) by hermes.imsd.uni-mainz.de (EMWAC SMTPRS 0.83) with SMTP id ; Fri, 12 Jan 2001 11:16:17 +0100 Message-ID: <3A5ECCC8.29533538@imsd.uni-mainz.de> Date: Fri, 12 Jan 2001 10:22:16 +0100 From: Markus Wagner Organization: IMSD X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i686) X-Accept-Language: en MIME-Version: 1.0 To: Joel Burton CC: Markus Wagner , pgsql-sql@postgresql.org, pgsql-interfaces@postgresql.org Subject: Re: [SQL] connecting to postgres server from Access References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200101/135 X-Sequence-Number: 747 Hi Joel! > http://www.postgresql.org/users-lounge/index.html Ok, my fault... > > "cannot create index for the selected field" > > > > Then the linked table appears in the tables tab in Access. When trying > > to open it, I get ("Organisation" is the table to be linked): > > > > "ODBC error: > > error while executing the query > > ERROR: Organisation: Permission denied (#1)" > > Haven't seen this exact error before. > Are you sure that you found and turned off BOTH read-only options in the > ODBC driver configuration? (I'm just wondering if this "can't > create" error is a strange read-only twist.) This might be an important hint. In the system ODBC configuration I found that the connection was configured read-only, two times. I changed both to not to be read-only. But nothing changed. Then I found under "Protocol" three alternatives: "6.5/6.4", "6.3", "6.2". So if this is the pg version then I have a problem, because I am using pg 7.0. > Also, you might try to take the error at face value: try to create an > index on the Org field using psql, and see if you run across any errors. I also tried that. No changes. > Slimmer but less featureful is Zeos Database Explorer, available at > > http://www.zeos.dn.ua/eng/index.html > > This is basically a GUI version of psql. I tried it. The command "show tables" lists my tables. But when making a "SELECT * FROM " I get "relation does not exist". Very strange... > Either of these tools will let you try your query out from the Windows > box, and will help us figure out whether this is a PG problem, an > ODBC problem, an Access problem, etc. Seems to be a pg problem? Markus