Re: Access FE - This operation is not supported within

From: Richard Huxton <dev(at)archonet(dot)com>
To: Sim Zacks <sim(at)compulab(dot)co(dot)il>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Access FE - This operation is not supported within
Date: 2005-07-26 13:55:35
Message-ID: 42E640D7.9000506@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sim Zacks wrote:
> I am using an Access front end to a PG 8.0 backend using linked tables.
> When I use referential integrity it gives me the error:
> This operation is not supported within transactions
> This error occurs when referential integrity is used for both Cascade and restrict Delete. It actually does the cascade delete and it happens when there are no child records when it is restrict.
> When I remove the constraint, then the delete works with no errors.

I'm guessing Access (or perhaps the ODBC driver itself) is issuing a SET
command or similar that isn't valid in that context.

Make sure error logging is on in your postgresql.conf and see what the
server-logs show is causing it.

Oddly, in the source I have to hand (8.0), I don't see the "operation is
not supported within transactions" error message in the source. This
means it could be the ODBC driver or Access itself giving the error.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Philippe Lang 2005-07-26 14:07:21 Re: Trigger disactivation and SELECT WAITING
Previous Message Richard Huxton 2005-07-26 13:51:45 Re: