Re: COPY syntax improvement

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: COPY syntax improvement
Дата
Msg-id 3996.1024494892@sss.pgh.pa.us
обсуждение исходный текст
Ответ на COPY syntax improvement  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: COPY syntax improvement  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I have not modified pg_dump so that 7.3 dumps can be loaded into <=7.2
> databases.  I have modified psql \copy to _only_ use the new syntax, and
> to only send the new syntax to the backends.

Why not leave psql alone?  Seems to me you are gratuitously breaking
backwards compatibility of psql, and gaining absolutely zero in return.

I know that a lot of 7.3 psql's other backslash commands will not work
against pre-7.3 servers, but there's no help for that (short of making
psql version-aware like pg_dump is).  I don't think that's a reason to
break \copy too, when there is no need for it.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Why is CacheMemoryContext declared DLLIMPORT in one place and not in another?
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: SQL99 feature list