> or so timeframe ... but feel free to improve it if you can.
I'm not very familiar with yacc/bison, so pls, review attached patch. I may miss
something... It's based on ideas in previous discussions:
http://www.pgsql.ru/db/mw/msg.html?mid=1995063http://www.pgsql.ru/db/mw/msg.html?mid=2091842
Patch adds support of typmod to any type, support of typmod to format_type().
I partially make typename and function name as different set except forms like
"select TYPE 'asd'" or "select TYPE(N) 'asd'".
Type modifier can be only one integer >=0, however grammar rules allow it to be
list of expressions. It was done for simplify far future :)
--
Teodor Sigaev E-mail: teodor@sigaev.ru
WWW: http://www.sigaev.ru/