Re: BUG #1767: Trigger handling

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: BUG #1767: Trigger handling
Дата
Msg-id c2d9e70e0507151456464c39ed@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #1767: Trigger handling  ("THILANKA" <tilankaedu@yahoo.com>)
Список pgsql-bugs
On 7/13/05, THILANKA <tilankaedu@yahoo.com> wrote:
>=20
> The following bug has been logged online:
>=20
> Bug reference:      1767
> Logged by:          THILANKA
> Email address:      tilankaedu@yahoo.com
> PostgreSQL version: suse 9.0 builti
> Operating system:   SUSE LINUX
> Description:        Trigger handling
> Details:
>=20
> Here is the my question.
>=20
> I tried to pass parameters to the trigger using "new" key word, but it's =
not
> accepted. The purpose of doing that i want to pass some data to a "c" file
> and to send the same data into a another database. So in that problem i
> faild. If u know how to do that pls send me the way.
>=20

Triggers doesn't accept parameters at runtime.=20

taken from: http://www.postgresql.org/docs/8.0/static/sql-createtrigger.html

CREATE TRIGGER name { BEFORE | AFTER } { event [ OR ... ] }
    ON table [ FOR [ EACH ] { ROW | STATEMENT } ]
    EXECUTE PROCEDURE funcname ( arguments )

arguments
An optional comma-separated list of arguments to be provided to the
function when the trigger is executed. The arguments are literal
string constants. Simple names and numeric constants may be written
here, too, but they will all be converted to strings. Please check the
description of the implementation language of the trigger function
about how the trigger arguments are accessible within the function; it
may be different from normal function arguments.

--=20
Atentamente,
Jaime Casanova
(DBA: DataBase Aniquilator ;)

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

Предыдущее
От: Martin Edlman
Дата:
Сообщение: UTF-8 ilike case insensitive search
Следующее
От: "Dr. Volker Goebbels"
Дата:
Сообщение: Re: [postgres] An den Admin