Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-16 | Add tests for fuzzy ranking adjustments. | Daniel Rocco | |
2015-05-23 | Gross test that \dt, \df etc. run without error | Darik Gamble | |
2015-05-23 | Support \dT to list datatypes | Darik Gamble | |
2015-05-23 | Suggest custom types in addition to built-ins | Darik Gamble | |
2015-05-23 | Give pgexecute a datatypes() method to get custom type names | Darik Gamble | |
Not used yet | |||
2015-05-23 | Suggest datatypes from a hardcoded whitelist | Darik Gamble | |
2015-05-23 | Add test to find_prev_keyword for parentheses | Darik Gamble | |
2015-05-20 | `drop schema` and `create schema` should suggest schemas | Darik Gamble | |
2015-05-14 | Fix a typo in the test fixture setup. | Amjith Ramanujam | |
2015-05-11 | Fix failing tests in Python 2. | Amjith Ramanujam | |
2015-05-02 | improve suggestions in non-trivial WHERE clauses | Darik Gamble | |
sqlparse groups tokens belonging to the where clause into a single Where token (a subclass of TokenList). In order to handle cases beyond the simplest `SELECT * FROM foo WHERE`, we need to look "inside" of this token list. | |||
2015-05-02 | improve find_prev_keywords | Darik Gamble | |
1) Add clarifying comments 2) Fix bug where a keyword inside of a TokenList would result in a ValueError 3) Ignore as keywords a fixed list of logical operators | |||
2015-04-20 | Implemented external editor call. | Iryna Cherniavska | |
2015-04-18 | Add suggest tests for INSERT INTO, COPY, UPDATE, DESCRIBE, JOIN, and TRUNCATE | Daniel Rocco | |
2015-04-17 | Add an extra test for the JOIN USING for good measure. | Amjith Ramanujam | |
2015-04-16 | Merge pull request #190 from darikg/joins | Amjith Ramanujam | |
some join-related improvements | |||
2015-04-15 | Merge pull request #202 from drocco007/feature/match-anywhere | Amjith Ramanujam | |
Completion search text matches user-defined entities anywhere in the name | |||
2015-04-14 | Merge pull request #195 from darikg/pg_catalog | Amjith Ramanujam | |
Improve handling of pg_catalog in metadata | |||
2015-04-12 | Completion search text matches user-defined entities anywhere in the name | Daniel Rocco | |
When searching for completions in smart completion mode, a potential suggestion of a user-specified name (e.g. tables, functions, etc.) is considered a match if the search text appears anywhere in the suggestion. Keywords, special commands, and built-in functions still use startswith matching. Closes #193 | |||
2015-04-11 | Handle a ',' entered before any completions gracefully | Daniel Rocco | |
Fixes #197 | |||
2015-04-09 | bugfix: don't exclude any schemata from metadata queries | Darik Gamble | |
2015-04-07 | support 'JOIN ... USING (' by suggesting columns present in more than one table | Darik Gamble | |
2015-04-06 | find_prev_keyword strips everything after the last keyword | Darik Gamble | |
2015-04-06 | bugfix: extract_tables stopped prematurely on INNER JOIN et al | Darik Gamble | |
check for value.endswith('join') instead of just value == 'join' | |||
2015-04-06 | bugfix: suggestions were broken after specifying a join type | Darik Gamble | |
because sqlparse parses things like 'inner join' as a single token, simply checking if token value matches 'join' fails on further specified join types | |||
2015-04-05 | suggest view names | Darik Gamble | |
2015-04-05 | pgexecute supports returning view metadata | Darik Gamble | |
generalize tables() to _relations(relkind_filter), and add convenience methods tables() and views() which simply call _relations() with the appropriate relkind_filter value similarly, generatize columns() to _columns(relkind_filter), and add convenience methods table_columns() and view_columns() | |||
2015-03-25 | Add a title field and report the notices. Closes #177 | Amjith Ramanujam | |
2015-03-11 | Format Decimal values directly as strings | Daniel Rocco | |
Closes #169 | |||
2015-03-08 | Merge pull request #170 from darikg/better_dots | Amjith Ramanujam | |
Better handle schema qualifications in current word | |||
2015-03-06 | Better handle schema-qualified word_before_cursor | Darik Gamble | |
Previously, if the current word contained a period, `suggest_type` would parse text to the right of the period as `word_before_cursor`, so that characters to the left of the period were parsed as the final token. Then `suggest_based_on_last_token` would generate suggestions under the generic catch-all `elif token_v.endswith('.')`. This means that, for example, `DROP TABLE schema_name.<TAB>` and `DROP FUNCTION schema_name.<TAB>` would each suggest both tables and functions from schema_name. This commit changes this behavior to include schema qualifications as part of word_before_cursor, so that `suggest_based_on_last_token` operates on the actual preceding token, not just the schema name. This allows each token value to handle schema qualifications differently, and now `DROP TABLE schema_name.<TAB>` suggests only tables from schema_name, and the corresponding `DROP FUNCTION` command only functions. | |||
2015-03-01 | Interpret incoming JSON as a string instead of via json.loads | Daniel Rocco | |
Closes #163 | |||
2015-02-28 | Watch out for leading whitespace | Darik Gamble | |
2015-02-27 | \dn suggests schemas only | Darik Gamble | |
2015-02-27 | \df suggests only schemas and functions | Darik Gamble | |
2015-02-27 | Move pgspecial suggestions to separate method | Darik Gamble | |
2015-02-26 | Add a test for the special multi-command case. | Amjith Ramanujam | |
2015-02-25 | Only include special command completions at the start of a statement | Daniel Rocco | |
Closes #159 | |||
2015-02-24 | Add completion for CREATE WITH TEMPLATE | Daniel Rocco | |
Closes #156 | |||
2015-02-17 | Autocomplete function names | Darik Gamble | |
2015-02-17 | Store function metadata (not used yet) | Darik Gamble | |
2015-02-08 | Revert psycopg2cffi to psycopg2. | Amjith Ramanujam | |
2015-02-06 | Convert to use cffi. But unicode isn't working. | Amjith Ramanujam | |
2015-01-31 | Add a test for the boolean printing. | Amjith Ramanujam | |
2015-01-30 | Replace splat import in tests. | Amjith Ramanujam | |
2015-01-30 | Add a test for the unicode handling in unknown types. | Amjith Ramanujam | |
2015-01-28 | Fix #106 - autocompletion in multiple statements | darikg | |
2015-01-27 | Fix broken tests. | Amjith Ramanujam | |
2015-01-26 | Fix \d special command and add some tests | Darik Gamble | |
2015-01-25 | Split up smart completion tests into two files | Darik Gamble | |
One file for simple public schema only tests, and another more focused on schema-aware autocompletion |