Re: [HACKERS] Problem to current-status information in shared memory patch

2006-06-22 Thread Tom Lane
Qingqing Zhou [EMAIL PROTECTED] writes:
 Tom Lane [EMAIL PROTECTED] wrote
 postgres --single works for me.  Maybe you need a make
 distclean/rebuild?

 Sorry, because I forget to say that you need to turn stats_command_string
 on.

Ah.  OK, fixed.

regards, tom lane

---(end of broadcast)---
TIP 6: explain analyze is your friend


Re: [HACKERS] Problem to current-status information in shared memory patch

2006-06-21 Thread Tom Lane
Qingqing Zhou [EMAIL PROTECTED] writes:
 Ooops, guess we forget to handle the single user mode in current-status
 information in shared memory patch ...

postgres --single works for me.  Maybe you need a make
distclean/rebuild?

regards, tom lane

---(end of broadcast)---
TIP 4: Have you searched our list archives?

   http://archives.postgresql.org


Re: [HACKERS] Problem to current-status information in shared memory patch

2006-06-21 Thread Qingqing Zhou

Tom Lane [EMAIL PROTECTED] wrote

 postgres --single works for me.  Maybe you need a make
 distclean/rebuild?


Sorry, because I forget to say that you need to turn stats_command_string
on. When it is off, pgstat_report_activity() will return immediately so
nothing wrong could be observed.

Regards,
Qingqing



---(end of broadcast)---
TIP 3: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faq