Re: [HACKERS] pg_resetxlog defect with relative database path

2012-11-22 Thread Tom Lane
Hari Babu writes: > When I was testing pg_resetxlog with relative database path, > The pg_resetxlog is doing the transaction log reset even when the server is > running. Ooops. Fixed, thanks for the report! regards, tom lane -- Sent via pgsql-hackers mailing list (pgs

Re: [HACKERS] pg_resetxlog defect with relative database path

2012-11-22 Thread Fujii Masao
On Thu, Nov 22, 2012 at 10:22 PM, Hari Babu wrote: > > When I was testing pg_resetxlog with relative database path, > The pg_resetxlog is doing the transaction log reset even when the server is > running. > > Steps to reproduce: > 1. ./pg_ctl -D ../../data start > 2. ./pg_resetxlog

[HACKERS] pg_resetxlog defect with relative database path

2012-11-22 Thread Hari Babu
When I was testing pg_resetxlog with relative database path, The pg_resetxlog is doing the transaction log reset even when the server is running. Steps to reproduce: 1. ./pg_ctl -D ../../data start 2. ./pg_resetxlog -f ../../data -- is not able to detect as server is already runn