What's your PostgreSQL's version? You may get it from psql
using 'select version()'.
In 7.3 I find there are no data type called DATETIME, use
TIMESTAMP instead.
Another thing is that you should use := to do assignment of
variables. 'SELECT col INTO var' should be used to assign
select...
As far as I know, any rules named as '_RETURN' is defined
by system when you create a view. So you don't need worry
about rules named '_RETURN'. As a fast check, you can
try to defined a rule named '_RETURN', postgresql will
issue an error message.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.