diff options
author | Étienne BERSAC <etienne.bersac@dalibo.com> | 2017-04-25 16:44:38 +0200 |
---|---|---|
committer | Étienne BERSAC <etienne.bersac@dalibo.com> | 2017-04-27 15:44:28 +0200 |
commit | 2224cbd7e37fac32fafd8fa91c46c8ea5c471ac3 (patch) | |
tree | b8f045a0f9db1b30580b0fe3567f0a346ed9aaaa /DEVELOP.rst | |
parent | 1e1d980ae2967a9fee14dfeb13a63cbe34769fd5 (diff) |
Update DEVELOP.rst with external pgspecial project
Diffstat (limited to 'DEVELOP.rst')
-rw-r--r-- | DEVELOP.rst | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/DEVELOP.rst b/DEVELOP.rst index dc9157f6..0af5143f 100644 --- a/DEVELOP.rst +++ b/DEVELOP.rst @@ -66,24 +66,8 @@ Adding PostgreSQL Special (Meta) Commands ----------------------------------------- If you want to work on adding new meta-commands (such as `\dp`, `\ds`, `dy`), -you'll be changing the code of `packages/pgspecial.py`. Search for the -dictionary called `CASE_SENSITIVE_COMMANDS`. The special command us used as -the dictionary key, and the value is a tuple. - -The first item in the tuple is either a string (sql statement) or a function. -The second item in the tuple is a list of strings which is the documentation -for that special command. The list will have two items, the first item is the -command itself with possible options and the second item is the plain english -description of that command. - -For example, `\l` is a meta-command that lists all the databases. The way you -can see the SQL statement issued by PostgreSQL when this command is executed -is to launch `psql -E` and entering `\l`. - -That will print the results and also print the sql statement that was executed -to produce that result. In most cases it's a single sql statement, but sometimes -it's a series of sql statements that feed the results to each other to get to -the final result. +you need to contribute to `pgspecial <https://github.com/pgcli/pgspecial/>`_ +project. Building RPM and DEB packages ----------------------------- |