X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 61D39D1C912 for ; Mon, 28 Jul 2003 17:07:24 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 01464-09 for ; Mon, 28 Jul 2003 14:06:27 -0300 (ADT) Received: from exchange.hq.openratings.com (unknown [141.149.165.226]) by svr1.postgresql.org (Postfix) with ESMTP id 69EB6D1C7F6 for ; Mon, 28 Jul 2003 14:07:22 -0300 (ADT) Received: from openratings.com (cancun.hq.openratings.com [10.0.0.225]) by exchange.hq.openratings.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id PNZ51LZV; Mon, 28 Jul 2003 13:07:09 -0400 Message-ID: <3F255813.1000401@openratings.com> Date: Mon, 28 Jul 2003 13:06:27 -0400 From: Dmitry Tkach User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Lane Cc: Denis Zaitsev , pgsql-sql@postgresql.org Subject: Re: Very strange 'now' behaviour in nested triggers. References: <20030726193947.B1636@natasha.ward.six> <9412.1059229904@sss.pgh.pa.us> <20030727020104.A19865@natasha.ward.six> <4629.1059320950@sss.pgh.pa.us> <3F2552BF.5060100@openratings.com> <15184.1059411161@sss.pgh.pa.us> In-Reply-To: <15184.1059411161@sss.pgh.pa.us> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/419 X-Sequence-Number: 14533 > > >Data entry. You don't necessarily have the option to invoke a function, >as opposed to just sending a string for the datetime input parser. >(It would be rather difficult for an application to allow this one case >without permitting SQL-injection attacks, I'd think.) > > > Does it mean that the *application* (not the database) user would then have to know the exact specific way to represent the current time in his data entry form? Such an application looks like (how do I say it politely?) not a very user-friendly one to me :-) Dima