Re: MySQL-ism help patch for psql
От | David Christensen |
---|---|
Тема | Re: MySQL-ism help patch for psql |
Дата | |
Msg-id | 7EAEB0FB-615A-476A-8EDA-787EC1D817A7@endpoint.com обсуждение исходный текст |
Ответ на | Re: MySQL-ism help patch for psql (Andrew Dunstan <andrew@dunslane.net>) |
Ответы |
Re: MySQL-ism help patch for psql
Re: MySQL-ism help patch for psql |
Список | 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@endpoint.com
В списке pgsql-hackers по дате отправления: