Re: COPY syntax improvement
От | Bruce Momjian |
---|---|
Тема | Re: COPY syntax improvement |
Дата | |
Msg-id | 200206191632.g5JGW1u09582@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: COPY syntax improvement (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
Tom Lane wrote: > 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. Yes, it was too late last night to think. I have made \copy backward-compatible, and it internally uses the old syntax. > 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. Yep. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления: