[COMMITTERS] pgsql: Attempt to standardize formatting of psql queries.

2011-07-06 Thread Robert Haas
Attempt to standardize formatting of psql queries. Most queries end with a backslash, but not a newline, so try to standardize on that, for the convenience of people using psql -E to extract queries. Josh Kupershmidt, reviewed by Merlin Moncure. Branch -- master Details --- http://git.p

[COMMITTERS] pgsql: Add \ir command to psql.

2011-07-06 Thread Robert Haas
Add \ir command to psql. \ir is short for "include relative"; when used from a script, the supplied pathname will be interpreted relative to the input file, rather than to the current working directory. Gurjeet Singh, reviewed by Josh Kupershmidt, with substantial further cleanup by me. Branch -

[COMMITTERS] pgsql: Remove assumptions that not-equals operators cannot be in any op

2011-07-06 Thread Tom Lane
Remove assumptions that not-equals operators cannot be in any opclass. get_op_btree_interpretation assumed this in order to save some duplication of code, but it's not true in general anymore because we added <> support to btree_gist. (We still assume it for btree opclasses, though.) Also, essen

[COMMITTERS] pgsql: Remove assumptions that not-equals operators cannot be in any op

2011-07-06 Thread Tom Lane
Remove assumptions that not-equals operators cannot be in any opclass. get_op_btree_interpretation assumed this in order to save some duplication of code, but it's not true in general anymore because we added <> support to btree_gist. (We still assume it for btree opclasses, though.) Also, essen

[COMMITTERS] pgsql: Reimplement pgbison and pgflex as perl scripts instead of bat fi

2011-07-06 Thread Andrew Dunstan
Reimplement pgbison and pgflex as perl scripts instead of bat files. In the process, remove almost all knowledge of individual .y and .l files, and instead get invocation settings from the relevant make files. The exception is plpgsql's gram.y, which has a target with a different name. It is hoped