Gilberto Castillo Martínez<gilberto(dot)castillo(at)etecsa(dot)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