Re: PostGres Doubt

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: PostGres Doubt
Дата
Msg-id Pine.LNX.4.33.0206111009120.18316-100000@css120.ihs.com
обсуждение исходный текст
Ответ на Re: PostGres Doubt  ("Dann Corbit" <DCorbit@connx.com>)
Список pgsql-hackers
On Mon, 10 Jun 2002, Dann Corbit wrote:

> If you are going to completely replace the data in a table, drop the
> table, create the table, and use the bulk copy interface.

Actually, that's a bad habit to get into.  Views disappear, as do triggers 
or constraints.  Better to 'truncate table' or 'delete from table'.  I 
know, I had a bear of a time with a nightly drop table;create table;copy 
data in script that I forgot about and built a nice new app on views.  
worked fine, came in the next morning, app was down...  



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Majordomo aliases
Следующее
От: Vince Vielhaber
Дата:
Сообщение: Re: Majordomo aliases