[BUGS] rm -rf in initlocation violates Rule of Least Surprise

2003-10-25 Thread Clifford T. Matthews
Using initlocation from postgresql 7.3.4 I managed to blow away some important data tonight due to "exit_nicely"'s "rm -rf". Specifically the system where I have postgresql installed on has a small /usr partition, so the default location for databases is insufficient to host one of the databases I

[BUGS] Numeric casts in locale en_GB on FreeBSD 4.7

2003-10-25 Thread Andrew Grillet
Hi, I am unable to cast a string to float, any way I try. This is FreeBSD Stable, with Postgresql 7.3.4. Most (probably) legit methods produce either a message to the effect that ' ##.##' is an illegal format or ' ' (ie a single space) is an illegal format. Workaround is to use en_US as the

Re: [BUGS] ISM shared memory on solaris

2003-10-25 Thread Bruce Momjian
OK, attached patch applied. I tested for 'sun' rather than 'solaris'. --- Josh Wilmes wrote: > > Bruce Momjian wrote: > > > Josh Wilmes wrote: > > > >>Nope, __solaris__ is not defined on our system either. > > > > > >

Re: [BUGS] ISM shared memory on solaris

2003-10-25 Thread Bruce Momjian
Please use new patch. This uses __sun__ rather than sun. --- Josh Wilmes wrote: > > Bruce Momjian wrote: > > > Josh Wilmes wrote: > > > >>Nope, __solaris__ is not defined on our system either. > > > > > > I thought our