Re: MySQL-ism help patch for psql - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: MySQL-ism help patch for psql
Date
Msg-id 4B56204B.1080006@dunslane.net
Whole thread Raw
In response to MySQL-ism help patch for psql  (David Christensen <david@endpoint.com>)
Responses Re: MySQL-ism help patch for psql
List 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


pgsql-hackers by date:

Previous
From: Stefan Kaltenbrunner
Date:
Subject: Re: MySQL-ism help patch for psql
Next
From: David Christensen
Date:
Subject: Re: MySQL-ism help patch for psql