Re: serial columns & loads misfeature?

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: serial columns & loads misfeature?
Дата
Msg-id 20020628162654.Q32484@mail.libertyrms.com
обсуждение исходный текст
Ответ на Re: serial columns & loads misfeature?  (Gregory Seidman <gss+pg@cs.brown.edu>)
Список pgsql-general
On Fri, Jun 28, 2002 at 02:50:46PM -0400, Gregory Seidman wrote:
>
> SELECT setval('seq_name', max(serial_column)) FROM appropriate_table;
>
> Unfortunately, I don't think even pg_dump produces this line, though I
> could be wrong.

You are indeed wrong.  It is produced by pg_dump (well, actually, it
doesn't use the max() function, but the result is the same).

A


--
----
Andrew Sullivan                               87 Mowat Avenue
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M6K 3E3
                                         +1 416 646 3304 x110




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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: [HACKERS] Can't read archives anymore :-(
Следующее
От: Tom Lane
Дата:
Сообщение: Re: One source of constant annoyance identified