From 2224cbd7e37fac32fafd8fa91c46c8ea5c471ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20BERSAC?= Date: Tue, 25 Apr 2017 16:44:38 +0200 Subject: Update DEVELOP.rst with external pgspecial project --- DEVELOP.rst | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'DEVELOP.rst') 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 `_ +project. Building RPM and DEB packages ----------------------------- -- cgit v1.2.3