Search Postgresql Archives

Re: Is it databases in general, SQL or Postgresql?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That works. Thanks very much.

Bob
----- Original Message ----- From: "Jaime Casanova" <systemguards@xxxxxxxxx>
To: "Bob Pawley" <rjpawley@xxxxxxx>
Cc: "Alban Hertroys" <alban@xxxxxxxxxxxxxxxxx>; "Postgres General" <pgsql-general@xxxxxxxxxxxxxx>
Sent: Tuesday, November 15, 2005 11:36 AM
Subject: Re:  Is it databases in general, SQL or Postgresql?


On 11/15/05, Bob Pawley <rjpawley@xxxxxxx> 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 ;)

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
      message can get through to the mailing list cleanly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux