Gilberto Castillo Martínez<gilberto.casti...@etecsa.cu> wrote:
 
>> CREATE OR REPLACE FUNCTION increment_dataset_granule_count()
 
>>         RETURN NULL;
 
> Replace RETURN NULL for RETURN NEW
 
That won't matter for an AFTER trigger:
 
http://www.postgresql.org/docs/9.0/interactive/trigger-definition.html
 
says:
 
| The return value is ignored for row-level triggers fired after an
| operation, and so they can return NULL.
 
-Kevin

-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

Reply via email to