postgresql - Overloading and, or, not operators -


i overload and, not , or operators temporal booleans, i.e., boolean varies on time.

when declaring

create operator , (     procedure = andmov,     leftarg = booleantp,     rightarg = boolean ); 

i receive error message

error:  syntax error near or @ « , » line 1: create operator , (                         ^ 

obviously can rename operator andmov or else, less intuitive. using version 9.4.1 of postgresql.

in postgres (and in sql in general) there "reserved" words can not "redefined". and 1 of them.

full list of reserved words: http://www.postgresql.org/docs/current/static/sql-keywords-appendix.html


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -