Re: [BUGS] 9.2 beta2 - pg_ctl crashes on Win32 when neither PGDATA nor -D specified

2012-06-12 Thread Amit Kapila
>> I note that "postgres -C data_directory" will refuse to run on the >> command line because I've got admin privileges in Windows, and that >> pg_ctl normally starts postgres.exe using CreateRestrictedProcess. >> But it does not do so for the popen call in adjust_data_dir. > if that actually is a

Re: [BUGS] Tab completion of function arguments not working in all cases

2012-06-12 Thread Josh Kupershmidt
On Sat, Jun 9, 2012 at 2:40 AM, Dean Rasheed wrote: > I noticed this while testing 9.2, but it seems to go back to at least > 8.3. Tab completion of function arguments doesn't work if the function > is schema-qualified or double-quoted. So for example, Good idea, would you like to submit for the

Re: [BUGS] 9.2 beta2 - pg_ctl crashes on Win32 when neither PGDATA nor -D specified

2012-06-12 Thread Edmund Horner
On 13 June 2012 00:54, Amit Kapila wrote: >>> I note that "postgres -C data_directory" will refuse to run on the >>> command line because I've got admin privileges in Windows, and that >>> pg_ctl normally starts postgres.exe using CreateRestrictedProcess. >>> But it does not do so for the popen ca

Re: [BUGS] 9.2 beta2 - pg_ctl crashes on Win32 when neither PGDATA nor -D specified

2012-06-12 Thread Amit Kapila
> Unfortunately in src/backend/main/main.c it only does a cursory check > for --help and --version. So it would need to become a little more > complicated to scan for -C options at that stage. It's not too much > if you can assume -C always appears first like the other special > options detected