Received: from mail-relay.trade-india.com (mail-relay.trade-india.com [203.196.129.235]) by postgresql.org (Postfix) with SMTP id B6D9F47585D for ; Thu, 18 Jul 2002 01:39:22 -0400 (EDT) Received: (qmail 2214 invoked from network); 18 Jul 2002 05:30:14 -0000 Received: from system67.trade-india-local.com (192.168.0.67) by infocom-236-129-del.trade-india.com with SMTP; 18 Jul 2002 05:30:14 -0000 Content-Type: text/plain; charset="iso-8859-1" From: "Rajesh Kumar Mallah." (by way of Rajesh Kumar Mallah. ) Organization: Infocom Network Limited. Subject: Re: Cascading deletions does not seem to work inside PL/PGSQL functions. Date: Thu, 18 Jul 2002 11:12:34 +0530 User-Agent: KMail/1.4.1 To: Stephan Szabo Cc: pgsql-sql@postgresql.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200207181112.34288.mallah@trade-india.com> X-Archive-Number: 200207/272 X-Sequence-Number: 8650 > what if i do not want to fire sperate delete SQLs for the slave > > > tables ? Hi , what is mean is that I a have many tables(x,y,z...) which reference the master table (M). I want that the records from the tables (x,y,z ect) automatically get delet= ed in the function when i delete the recored in the master (M). so that i do n= ot have to explicitly delete from each of the tables x,y,z, etc. actually i want to reinsert the records in the table x,y,z as well as M with some modification. sorry for my english. regds mallah. > I'm not sure what you mean by this. -- Rajesh Kumar Mallah, Project Manager (Development) Infocom Network Limited, New Delhi phone: +91(11)6152172 (221) (L) ,9811255597 (M) Visit http://www.trade-india.com , India's Leading B2B eMarketplace.