X-Original-To: pgsql-odbc@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id BAD86475E84 for ; Mon, 3 Feb 2003 11:25:28 -0500 (EST) Received: from server.lindra.lt (ip-195-14-169-113.bnk.lt [195.14.169.113]) by postgresql.org (Postfix) with ESMTP id 90183476137 for ; Mon, 3 Feb 2003 11:20:05 -0500 (EST) Received: from VIDAS ([192.168.2.11]) by server.lindra.lt (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) with SMTP id h13GMso14931 for ; Mon, 3 Feb 2003 18:22:54 +0200 From: "Makauskas Vidas" To: Subject: Cannot insert into view without an appropriate rule (#7) Date: Mon, 3 Feb 2003 18:20:08 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-4" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/35 X-Sequence-Number: 2653 Hi, It's convenient (search, filters, sorting...) to do local forms over ODBC with linked tables in access. But exits incompatibility with date types: int8, date, time in postgres with access. I've make an attemp link tables via views with data conversation and do INSERT into table through CREATE VIEW view_table AS SELECT Fdate::timestamp, Fint8::int4 FROM table; and get error 'Cannot insert into view without an appropriate rule (#7)'. May I ask such question without myself additional atemptions, because it's my first step into postgres, is it mistaken way to solve problem mentioned above. Or it's posible to solve problem via rules... Best regards, Vidas