Re: COPY FROM and INSERT INTO rules

Поиск
Список
Период
Сортировка
От Vincent Veyron
Тема Re: COPY FROM and INSERT INTO rules
Дата
Msg-id 1291722528.2491.22.camel@asus-1001PX.home
обсуждение исходный текст
Ответ на COPY FROM and INSERT INTO rules  (Sairam Krishnamurthy <kmsram420@gmail.com>)
Список pgsql-general
Le lundi 06 décembre 2010 à 18:27 -0600, Sairam Krishnamurthy a écrit :

You should start a new thread for this


> Is there a way to call a rule when I use "COPY FROM" instead of
> "INSERT INTO"
>

from the doc :

COPY FROM will invoke any triggers and check constraints on the
destination table. However, it will not invoke rules.

http://www.postgresql.org/docs/9.0/static/sql-copy.html

--
Vincent Veyron
http://marica.fr/
Progiciel de gestion des dossiers de contentieux et d'assurance pour le service juridique


В списке pgsql-general по дате отправления:

Предыдущее
От: Allan Kamau
Дата:
Сообщение: Re: Copying entire tsv record (from file) into a single field
Следующее
От: "Daniel Verite"
Дата:
Сообщение: Re: Do we want SYNONYMS?