Just 'sql'?

Поиск
Список
Период
Сортировка
Искать

Just 'sql'?

От:
Itai Zukerman <zukerman@math-hat.com>
Дата:
Hi, I have this:

CREATE FUNCTION queue_add() RETURNS OPAQUE AS 'BEGIN INSERT INTO queue ( count, price ) VALUES ( NEW.count, NEW.price ); RETURN NEW;
END;' LANGUAGE 'plpgsql' ;

I can't figure out how to do this with LANGUAGE 'sql'.  Any ideas?

Thanks,
-itai

FAQ