BUG #2437: Rules for COPY - Mailing list pgsql-bugs

From Anton Fedorov
Subject BUG #2437: Rules for COPY
Date
Msg-id 200605131152.k4DBqp6b023058@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #2437: Rules for COPY
List pgsql-bugs
The following bug has been logged online:

Bug reference:      2437
Logged by:          Anton Fedorov
Email address:      datacompboy@mail.ru
PostgreSQL version: 8.1.3-3
Operating system:   debian linux
Description:        Rules for COPY
Details:

Looks like COPY bypass rules 'ON INSERT INSTEAD'.
I think, COPY .. FROM ... should be equal to
  INSERT INTO ... SELECT * FROM ...
and be catched by INSERT rule.

Otherwise, need to create new temporary table, load data into, INSERT ..
SELECT ..., DROP TABLE, while it seems strange.

pgsql-bugs by date:

Previous
From: "Paul Forgey"
Date:
Subject: BUG #2436: cannot --enable-thread-safety on -lpthread host
Next
From: "MATTASOGLIO DENIS"
Date:
Subject: BUG #2438: error connect with odbc