Received: from spider.pilosoft.com (p55-222.acedsl.com [160.79.55.222]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f56If3E73708 for ; Wed, 6 Jun 2001 14:41:03 -0400 (EDT) (envelope-from alex@pilosoft.com) Received: from localhost (alexmail@localhost) by spider.pilosoft.com (8.9.3/8.9.3) with ESMTP id OAA25958; Wed, 6 Jun 2001 14:50:14 -0400 (EDT) Date: Wed, 6 Jun 2001 14:50:14 -0400 (EDT) From: Alex Pilosov To: =?iso-8859-1?Q?DI_Hasen=F6hrl?= cc: pgsql-sql@postgresql.org Subject: Re: How to create a *pass-through-query* in postgresql In-Reply-To: <00c701c0eeb1$a9e2a980$01011eac@irina> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by postgresql.org id f56If5E73716 X-Archive-Number: 200106/78 X-Sequence-Number: 3297 No, you could not do that _easily_. You'd have to write some sort of a Postgres (C) wrapper against unix-to-odbc libraries, to be able to do something like that. Very nontrivial task. Also you may consider trying to use plperl and perl's DBD interface to a DBD-to-ODBC proxy running on windows. At either case, with current state of plperl it'll be a challenging thing... -alex On Wed, 6 Jun 2001, [iso-8859-1] DI Hasenöhrl wrote: > Hello all, > > I use postgresql as backend and MsAccess97 as frontend via ODBC. > I know, how to use VBA and pass through queries to update or insert rows in postgresql-tables. > But I don't know, how to do this the other way round, from postgresql to MsAccess. > I want to develop a trigger, which updates or inserts rows in some local tables in MsAccess on the client side. > > How can I realize a *pass through query* in postgresql ( with plpgsql ?) to be executed in MsAccess? > > Is there a possibility, to send updates or inserts from postgresql-tables to local MsAccess-tables (without linked tables) > > I have the following situation: > 1 postgresql database and some clients on different locations, connected via internet > I want to hold some information realy local (no linked table) to the clients and to the host, because the connection is not very fast > when client_1 changes a special table in the postgresql DB, this should be transmitted to a local MsAccess-table to client_2 > Can I solve this problem with plpgsql???????????? > > Please, can anyone help me to solve this problem. > > Thanks in advance > Irina > > E-Mail: i.hasenoehrl@aon.at >