From: | Bob Pawley <rjpawley(at)shaw(dot)ca> |
---|---|
To: | Jaime Casanova <systemguards(at)gmail(dot)com> |
Cc: | Alban Hertroys <alban(at)magproductions(dot)nl>, Postgres General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Is it databases in general, SQL or Postgresql? |
Date: | 2005-11-15 19:49:34 |
Message-ID: | 010801c5ea1d$b470f520$ac1d4318@OWNER |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
That works. Thanks very much.
Bob
----- Original Message -----
From: "Jaime Casanova" <systemguards(at)gmail(dot)com>
To: "Bob Pawley" <rjpawley(at)shaw(dot)ca>
Cc: "Alban Hertroys" <alban(at)magproductions(dot)nl>; "Postgres General"
<pgsql-general(at)postgresql(dot)org>
Sent: Tuesday, November 15, 2005 11:36 AM
Subject: Re: [GENERAL] Is it databases in general, SQL or Postgresql?
On 11/15/05, Bob Pawley <rjpawley(at)shaw(dot)ca> wrote:
> No - I mean when each row of pr (contain) has 'ip' inserted as a value or
> data.
>
> Bob
>
create or replace function base() returns trigger as $$
begin
if new.contain = 'ip' then
insert into pi (fluid_id) values (new.fluid_id);
end if;
return null;
end;
$$ language plpgsql;
--
Atentamente,
Jaime Casanova
(DBA: DataBase Aniquilator ;)
From | Date | Subject | |
---|---|---|---|
Next Message | Bob Pawley | 2005-11-15 19:49:54 | Re: Is it databases in general, SQL or Postgresql? |
Previous Message | Jim C. Nasby | 2005-11-15 19:45:24 | Re: 3 x PostgreSQL in cluster/redunant |