X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 10990556EA for ; Tue, 8 Mar 2005 22:44:56 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 23888-04 for ; Tue, 8 Mar 2005 22:44:47 +0000 (GMT) Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.250.190.2]) by svr1.postgresql.org (Postfix) with ESMTP id CCBBD52A5B for ; Tue, 8 Mar 2005 22:44:46 +0000 (GMT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 060433203A; Tue, 8 Mar 2005 23:44:49 +0100 (MET) From: "Igor Kryltsov" X-Newsgroups: pgsql.sql Subject: Re: Update PostgreSQL from MS SQL trigger Date: Wed, 9 Mar 2005 09:44:08 +1100 Organization: Hub.Org Networking Services Lines: 57 Message-ID: References: X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 To: pgsql-sql@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=3.411 tagged_above=0 required=5 tests=AWL, FORGED_YAHOO_RCVD, PRIORITY_NO_NAME X-Spam-Level: *** X-Archive-Number: 200503/176 X-Sequence-Number: 20654 I managed to link PostgreSQL to MSSQL as a linked server but: select * from [TEST].[test].[public].[users] << wrote in message news:d0jar6$14rh$1@news.hub.org... > Hi, > > I have table 'test_m'(id integer) in MSSQL and I want to write > on_test_m_insert trigger in MS SQL which will insert value into PostgreSQL > table 'test_p' from database 'test_db' running on host '10.3.2.5'. > > Can this be achieved with PostgreSQL ODBC driver? If yes, please post > template of such trigger. > > > Thank you, > > > Igor > >