From: | David Christensen <david(at)endpoint(dot)com> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
Cc: | pgsql-hackers(at)postgresql(dot)org, Magnus Hagander <magnus(at)hagander(dot)net> |
Subject: | Re: MySQL-ism help patch for psql |
Date: | 2010-01-19 21:16:41 |
Message-ID: | 7EAEB0FB-615A-476A-8EDA-787EC1D817A7@endpoint.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Jan 19, 2010, at 3:12 PM, Andrew Dunstan wrote:
>
>
> 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.
The \copy could definitely be considered a stretch; I know \c supports
more options than the equivalent USE, but isn't it a proper superset
of functionality?
Regards,
David
--
David Christensen
End Point Corporation
david(at)endpoint(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | David E. Wheeler | 2010-01-19 21:18:34 | Re: MySQL-ism help patch for psql |
Previous Message | David Christensen | 2010-01-19 21:15:37 | Re: MySQL-ism help patch for psql |