pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Makauskas Vidas <dbf@lindra.lt>
To: pgsql-odbc@postgresql.org
Subject: Cannot insert into view without an appropriate rule (#7)
Date: Thu, 6 Feb 2003 14:19:23 +0200
Message-ID: <MKEPLGGGIHJHKDJLKIPAGENKCAAA.dbf@lindra.lt> (raw)

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 link view with access97:
CREATE VIEW view_table AS SELECT Fdate::timestamp, Fint8::int4 FROM table;

Then make an attemp INSERT and get error:
'Cannot insert into view without an appropriate rule (#7)'.

Is it mistaken way to solve mentioned above problem with data
incompatibility postgres and access.
Or Is it posible to solve problem via rules...

Excuse me for newbie question.

Best regards,
Vidas

Su pagarba,
Vidas Makauskas
8w683,66455




view thread (3+ messages)  latest in thread

Message-ID: <MKEPLGGGIHJHKDJLKIPAGENKCAAA.dbf@lindra.lt>
Permalink:  ../MKEPLGGGIHJHKDJLKIPAGENKCAAA.dbf@lindra.lt/
Also on:    postgresql.org/message-id/MKEPLGGGIHJHKDJLKIPAGENKCAAA.dbf@lindra.lt

 · 

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-odbc@postgresql.org
  Cc: dbf@lindra.lt
  Subject: Re: Cannot insert into view without an appropriate rule (#7)
  In-Reply-To: <MKEPLGGGIHJHKDJLKIPAGENKCAAA.dbf@lindra.lt>
  References: <MKEPLGGGIHJHKDJLKIPAGENKCAAA.dbf@lindra.lt>

* 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