If I comment the line: ELSEIF NEW.code IS NULL THEN, the data is inserted into the users.code column.
in the table definition, whats the default value of 'code' ?
-- john r pierce, recycling bits in santa cruz
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных