Re: Problem with pg_dumpall

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problem with pg_dumpall
Дата
Msg-id 14456.962172940@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Problem with pg_dumpall  (Ryan Bradetich <ryan_bradetich@hp.com>)
Список pgsql-sql
Ryan Bradetich <ryan_bradetich@hp.com> writes:
> That was the problem.  Good job at spotting that Tom.  I just successfully
> completed a backup without using the -o
> option to pg_dumpall.

OK, if you need it with -o try the following patch against 7.0.2.
        regards, tom lane


*** src/backend/commands/copy.c.orig    Wed Jun 28 02:07:58 2000
--- src/backend/commands/copy.c    Wed Jun 28 02:13:01 2000
***************
*** 484,491 ****          if (oids && !binary)         {
!             CopySendString(oidout(tuple->t_data->t_oid), fp);             CopySendChar(delim[0], fp);         }
  for (i = 0; i < attr_count; i++)
 
--- 484,493 ----          if (oids && !binary)         {
!             string = oidout(tuple->t_data->t_oid);
!             CopySendString(string, fp);             CopySendChar(delim[0], fp);
+             pfree(string);         }          for (i = 0; i < attr_count; i++)


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

Предыдущее
От: Ang Chin Han
Дата:
Сообщение: Hash Join not using hashed index?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Hash Join not using hashed index?