Em 05/11/2010 18:17, Euler Taveira de Oliveira escreveu: > André Ormenese (particular) escreveu: >> Restoring user relation files >> Segmentation fault (core dumped) >> > Podes realizar os seguintes passos ... > > $ gdb /path/to/pg_upgrade > . > . > . > (gdb) r > . > . > . > (gdb) bt > . > . > . > (gdb) quit > > e enviar a saída? > > Euler, executei o comando que vc sugeriu. Segue resultado :
********************************************************************************************************** %gdb /dados/bancos/pg_hemo/bin/pg_upgrade GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)... (gdb) r Starting program: /dados/bancos/pg_hemo/bin/pg_upgrade (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...warning: Unable to get location for thread creation breakpoint: generic error [New LWP 100196] (no debugging symbols found)...[New Thread 0x8065000 (LWP 100196)] You must identify the directory where the old cluster data resides Please use the -d command-line option or the OLDDATADIR environment variable Program exited with code 01. *************************************************************************************************************** Mediante este resultado, tentei executar de outra forma, passando os parâmetros do pg_upgrade e também executou corretamente o gdb : %gdb /dados/bancos/pg_hemo/bin/pg_upgrade -d /dados/bancos/pg_hemo.old/data -D /dados/bancos/pg_hemo/data -b /dados/bancos/pg_hemo.old/bin -B /dados/bancos/pg_hemo/bin gdb: unrecognized option `-D' Use `gdb --help' for a complete list of options. _______________________________________________ pgbr-geral mailing list [email protected] https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
