pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alex Pilosov <alex@pilosoft.com>
To: DI Hasenöhrl <i.hasenoehrl@aon.at>
Cc: pgsql-sql@postgresql.org
Subject: Re: How to create a *pass-through-query* in postgresql
Date: Wed, 6 Jun 2001 14:50:14 -0400 (EDT)
Message-ID: <Pine.BSO.4.10.10106061447571.8625-100000@spider.pilosoft.com> (raw)
In-Reply-To: <00c701c0eeb1$a9e2a980$01011eac@irina>

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
> 




view thread (5+ messages)  latest in thread

Message-ID: <Pine.BSO.4.10.10106061447571.8625-100000@spider.pilosoft.com>
Permalink:  ../Pine.BSO.4.10.10106061447571.8625-100000@spider.pilosoft.com/
Also on:    postgresql.org/message-id/Pine.BSO.4.10.10106061447571.8625-100000@spider.pilosoft.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: alex@pilosoft.com, i.hasenoehrl@aon.at
  Subject: Re: How to create a *pass-through-query* in postgresql
  In-Reply-To: <Pine.BSO.4.10.10106061447571.8625-100000@spider.pilosoft.com>
  References: <00c701c0eeb1$a9e2a980$01011eac@irina> <Pine.BSO.4.10.10106061447571.8625-100000@spider.pilosoft.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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