I have installed postgresql 8.4.21 in my CentOS 5. But when I fire Select Query is it not showing me any completion if I press TAB key..
database=# select count
is it any configuration in postgreql.conf ?
I have installed postgresql 8.4.21 in my CentOS 5. But when I fire Select Query is it not showing me any completion if I press TAB key..
database=# select count
is it any configuration in postgreql.conf ?
Autocomplete on column names doesn't work in the SELECT
clause, because PostgreSQL doesn't yet know what table you might be talking about.
It could offer all functions, aggregates, and all columns across all tables in all schemas, but that'd be pretty slow and not very helpful.
Part of the problem is that SQL's syntax is basically backwards. It should really be:
FROM table1 INNER JOIN table2 ON (...) SELECT ...
and that way, we could also autocomplete it usefully.