Re: Is it databases in general, SQL or Postgresql? - Mailing list pgsql-general

From Jaime Casanova
Subject Re: Is it databases in general, SQL or Postgresql?
Date
Msg-id c2d9e70e0511151136r764f7ffawb957f59ba3f73817@mail.gmail.com
Whole thread Raw
In response to Re: Is it databases in general, SQL or Postgresql?  (Bob Pawley <rjpawley@shaw.ca>)
List pgsql-general
On 11/15/05, Bob Pawley <rjpawley@shaw.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 ;)

pgsql-general by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: Customizing the Windows installer
Next
From: "Jim C. Nasby"
Date:
Subject: Re: 3 x PostgreSQL in cluster/redunant