> Are you escaping the single quotes properly? Remember that your PL/pgSQL
> function definition is itself bound by single quotes, so inside the code
> definition for CREATE FUNCTION that line should look like:
>
> ivad := nextval(''vad_seq'');
> or even:
> ivad := nextval(\'vad_seq\');
Thanks, that worked.
Gunnar.
----
gunix.mine.nu - always under destruction