Re: Segmentation fault: pg_upgrade 9.1 to 9.3: pg_dump: row number 0 is out of range 0..-1
От | Jeff Janes |
---|---|
Тема | Re: Segmentation fault: pg_upgrade 9.1 to 9.3: pg_dump: row number 0 is out of range 0..-1 |
Дата | |
Msg-id | CAMkU=1zLZmBtR=2OP4Qyqb_azL-kg0wc+vtb51A4cqJdaT1zfg@mail.gmail.com обсуждение исходный текст |
Ответ на | Segmentation fault: pg_upgrade 9.1 to 9.3: pg_dump: row number 0 is out of range 0..-1 (Robert Nix <robert@urban4m.com>) |
Ответы |
Re: Segmentation fault: pg_upgrade 9.1 to 9.3: pg_dump: row
number 0 is out of range 0..-1
|
Список | pgsql-general |
On Sat, Sep 14, 2013 at 6:40 PM, Robert Nix <robert@urban4m.com> wrote:
Running a pg_upgrade task is causing Segmentation fault:command: "/usr/lib/postgresql/9.3/bin/pg_dump" --host "/var/lib/postgresql" --port 50432 --username "postgres" --schema-only --quote-all-identifiers --binary-upgrade --format=custom --file="pg_upgrade_dump_6064585.custom" "u" >> "pg_upgrade_dump_6064585.log" 2>&1pg_dump: row number 0 is out of range 0..-1Segmentation fault (core dumped)
...
Any tips on how to diagnose and/or what might be the problem?
What happens if you manually run the pg_dump command quoted above against a running 9.1 server, outside of the context of pg_upgrade? (Your port will be probably be different from 50432)
If that still crashes, What if you drop the --binary-upgrade option? The --format=custom option?
gdb doesn't seem helpful:$ gdb /usr/lib/postgresql/9.3/bin/pg_dump coreGNU gdb (GDB) 7.5-ubuntuReading symbols from /usr/lib/postgresql/9.3/bin/pg_dump...(no debugging symbols found)...done.
You need to install the debugging symbols, which I have no experience doing under Ubuntu, but it should be easy to find instructions for. Or you could compile pg_dump from source, after configuring with --enable-debug.
Cheers,
Jeff
В списке pgsql-general по дате отправления: