Re: Space for pg_dump

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Space for pg_dump
Дата
Msg-id 23527.1240090449@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Space for pg_dump  (Rainer Bauer <usenet@munnin.com>)
Ответы Re: Space for pg_dump  (Jan Otto <asche@me.com>)
Список pgsql-general
Rainer Bauer <usenet@munnin.com> writes:
> Greg Smith wrote:
>> Since running an entire pgdump can take forever on a big database, what I
>> usually do here is start by running the disk usage query at
>> http://wiki.postgresql.org/wiki/Disk_Usage

> Interesting. However, the query gives an error if the table name contains
> upper case characters, like in my case "tblConnections":

> ERROR:  relation "public.tblconnections" does not exist.

> Replacing all occurences of <relname> by  <'"' || relname || '"'> fixes the
> error.

That still fails if the table name contains double quotes.  A proper
solution is to use the table OID --- I've corrected the example.

            regards, tom lane

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Community account
Следующее
От: Kenneth Tilton
Дата:
Сообщение: Nooby Q: Should this take five hours? And counting?