X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id DF70130F452 for ; Mon, 23 Jun 2003 08:38:49 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 06907-07 for ; Mon, 23 Jun 2003 05:38:38 -0300 (ADT) Received: from serwer.skawsoft.com.pl (serwer.skawsoft.com.pl [213.25.37.66]) by svr1.postgresql.org (Postfix) with ESMTP id 941AC30F487 for ; Mon, 23 Jun 2003 05:38:38 -0300 (ADT) Received: from klaster.net (tv126.internetdsl.tpnet.pl [80.55.125.126]) by serwer.skawsoft.com.pl (Postfix) with ESMTP id E81FA2B3DD; Mon, 23 Jun 2003 10:38:34 +0200 (CEST) Message-ID: <3EF6BCB4.2040209@klaster.net> Date: Mon, 23 Jun 2003 10:39:16 +0200 From: Tomasz Myrta User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.4b) Gecko/20030507 X-Accept-Language: pl, en-us, en MIME-Version: 1.0 To: Richard Huxton Cc: PGSQL-SQL Subject: Re: virtual table References: <3EF61E44.2020601@klaster.net> <200306230929.24372.dev@archonet.com> In-Reply-To: <200306230929.24372.dev@archonet.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Archive-Number: 200306/256 X-Sequence-Number: 14014 Dnia 2003-06-23 10:29, Użytkownik Richard Huxton napisał: > Look into views - you'll need to provide triggers to handle the > update/inserts. I think view won't change too much - there is not too much difference for this case between creating view and empty table with trigger returning null. I was thinking about something more comfortably - table without pre-declared columns so I don't have to change table definition when pl/pgsql function changes. Can anyone tell me how triggers work? Do they need to look into table column definition to retrieve data? Regards, Tomasz Myrta