From: Richard Huxton <dev@archonet.com>
To: dsankaran@ivesia.com
To: pgsql-sql@postgresql.org
Subject: Re: Writing the SQL queries inside Functions and operators
Date: Tue, 21 Oct 2003 19:59:18 +0100
Message-ID: <200310211959.18560.dev@archonet.com> (raw)
In-Reply-To: <d493c499.0310202334.288f6b18@posting.google.com>
References: <d493c499.0310202334.288f6b18@posting.google.com>
On Tuesday 21 October 2003 08:34, Dharan wrote:
> Hi Friends,
>
>
> What is the use of user defined operators, as functions also perform
> the same job as an operator
Easier to write. Compare:
'hello ' || ' there ' || 'everyone'
with
text_concat('hello', text_concat('there', text_concat('everyone') ) )
--
Richard Huxton
Archonet Ltd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: dev@archonet.com, dsankaran@ivesia.com
Subject: Re: Writing the SQL queries inside Functions and operators
In-Reply-To: <200310211959.18560.dev@archonet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox