Re: MySQL-ism help patch for psql

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: David Christensen <david@endpoint.com>
Cc: pgsql-hackers@postgresql.org, Magnus Hagander <magnus@hagander.net>
Date: 2010-01-19T21:12:43Z
Lists: pgsql-hackers

David Christensen wrote:
>
> +                       if (MYSQL_HELP_CHECK("use"))
> +                       {
> +                               MYSQL_HELP_OUTPUT("\\c database");
> +                       }
>
[snip]
> +                       else if (MYSQL_HELP_CHECK("load data infile"))
> +                       {
> +                               MYSQL_HELP_OUTPUT("\\copy");
> +                       }
>

Quite apart from any considerations covered by other people, these two 
at least could be positively misleading ... the psql commands are not 
exact equivalents of the MySQL commands, AIUI.

cheers

andrew