Re: on line numbers, drop table errors, and log files

Поиск
Список
Период
Сортировка
От Michael Richards
Тема Re: on line numbers, drop table errors, and log files
Дата
Msg-id 398895B5.000093.16285@frodo.searchcanada.ca
обсуждение исходный текст
Ответ на on line numbers, drop table errors, and log files  (Jon Lapham <jlapham@gandalf.bioqmed.ufrj.br>)
Ответы Re: on line numbers, drop table errors, and log files
Список pgsql-sql
> As I mentioned earlier, your solution worked great.  I am a bit
> puzzled about the syntax that is created by my old method, using
> "pg_dump -D -u -a".  I wonder why it creates "create sequence ..."
> commands instead of "update sequence ..."?

That is a good question. I do not know the answer. Since it is 
understood that you are dumping the data and not the schema, that 
would imply to me that the schema (sequences included) should already 
exist and need to be updated. Of course I feel that implicitly it 
should be cleaning out the contents of the tables when this is done 
as well.

Perhaps someone on the team could comment on this.

-Michael
_________________________________________________________________    http://fastmail.ca/ - Fast Free Web Email for
Canadians

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

Предыдущее
От: "JavierG"
Дата:
Сообщение: postgresql and java2
Следующее
От: Tom Lane
Дата:
Сообщение: Re: on line numbers, drop table errors, and log files