Re: Doubt on opaque returntype!!

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Thirumoorthy Bhuvneswari <tbhuvneswari(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Doubt on opaque returntype!!
Date: 2002-09-18 12:32:57
Message-ID: 1032352377.26472.98.camel@linda
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 2002-09-18 at 12:01, Thirumoorthy Bhuvneswari wrote:

> This trigger is also created. But, when I try to
> insert into the tableA it comes with the error:
>
> 'ERROR during compile of test_trigger near line 8
> ERROR:return type mismatch in function returning table
> row at or near "opaque"

I think your function should return NULL.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Give, and it shall be given unto you; good measure,
pressed down, and shaken together, and running over,
shall men pour into your lap. For by your standard of
measure it will be measured to in return."
Luke 6:38

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mihai Gheorghiu 2002-09-18 13:06:40 Re: Help!
Previous Message Thirumoorthy Bhuvneswari 2002-09-18 11:01:51 Doubt on opaque returntype!!