Re: [GENERAL] Startup Process Initiated by init proc (Unix)

2010-12-28 Thread aaliya zarrin
Hi, I am unable to run the postgres using gdb. I am getting error as " no debugging symbols found". How to proceed? On Tue, Dec 28, 2010 at 11:32 AM, Fujii Masao wrote: > On Tue, Dec 28, 2010 at 2:24 PM, aaliya zarrin > wrote: > > I am new to postgres. I am using 9.0.1 of postgres. > > I am usi

Re: [GENERAL] Startup Process Initiated by init proc (Unix)

2010-12-28 Thread aaliya zarrin
I can tell the changes I have done in the code if you want. On Tue, Dec 28, 2010 at 12:30 PM, aaliya zarrin wrote: > Sorry, My application is using the postgres DB but the another application > is giving the command to run in standby or active mode. > I can't use gdb I beleive. > Can you suggest

Re: [GENERAL] Startup Process Initiated by init proc (Unix)

2010-12-27 Thread John R Pierce
On 12/27/10 11:00 PM, aaliya zarrin wrote: Sorry, My application is using the postgres DB but the another application is giving the command to run in standby or active mode. I can't use gdb I beleive. gdb just needs the PID of the process to attach to, you can get that from ps or via other me

Re: [GENERAL] Startup Process Initiated by init proc (Unix)

2010-12-27 Thread aaliya zarrin
Sorry, My application is using the postgres DB but the another application is giving the command to run in standby or active mode. I can't use gdb I beleive. Can you suggest any other way. On Tue, Dec 28, 2010 at 12:18 PM, Fujii Masao wrote: > On Tue, Dec 28, 2010 at 3:07 PM, aaliya zarrin > wr

Re: [GENERAL] Startup Process Initiated by init proc (Unix)

2010-12-27 Thread Fujii Masao
On Tue, Dec 28, 2010 at 3:07 PM, aaliya zarrin wrote: > I didn't get? Do you want the syslog files or some more information? Yeah, I want more information. You can get the backtrace by using gdb. In detail, please see the following: http://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_runni

Re: [GENERAL] Startup Process Initiated by init proc (Unix)

2010-12-27 Thread aaliya zarrin
I didn't get? Do you want the syslog files or some more information? On Tue, Dec 28, 2010 at 11:32 AM, Fujii Masao wrote: > On Tue, Dec 28, 2010 at 2:24 PM, aaliya zarrin > wrote: > > I am new to postgres. I am using 9.0.1 of postgres. > > I am using Switch over functionality of Postgres and wa

Re: [GENERAL] Startup Process Initiated by init proc (Unix)

2010-12-27 Thread Fujii Masao
On Tue, Dec 28, 2010 at 2:24 PM, aaliya zarrin wrote: > I am new to postgres. I am using 9.0.1 of postgres. > I am using Switch over functionality of Postgres and want to reduce the > switch over time. > I have implemented this using Signaling. After signaling the postmaster > (startup process) on

[GENERAL] Startup Process Initiated by init proc (Unix)

2010-12-27 Thread aaliya zarrin
Hi All, I am new to postgres. I am using 9.0.1 of postgres. I am using Switch over functionality of Postgres and want to reduce the switch over time. I have implemented this using Signaling. After signaling the postmaster (startup process) once the trigger file is created and making PG to check fo