Re: select cash_out('2'); crashes backend on 7.0.2 - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: select cash_out('2'); crashes backend on 7.0.2
Date
Msg-id 200101230349.WAA02731@candle.pha.pa.us
Whole thread Raw
In response to select cash_out('2'); crashes backend on 7.0.2  (Mark Stosberg <mark@summersault.com>)
List pgsql-bugs
Seems this still fails.  Hackers, does the crash cause other backends to
abort?

>
> Hello,
>
>  I was just experimenting, trying to see if I could find a function that
> would format a numeric value like 'money' with Postgres 7.0.2. Here's
> what happened:
>
> ######
> cascade=> select cash_out(2);
> pqReadData() -- backend closed the channel unexpectedly.
>         This probably means the backend terminated abnormally
>         before or while processing the request.
> We have lost the connection to the backend, so further processing is
> impossible.  Terminating.
> ######
>
> The same thing happened with Postgres 6.5.3. Here's my full version:
> PostgreSQL 7.0.2 on i686-pc-linux-gnu, compiled by gcc 2.96
>
> I'm sure if what I tried is even valid input, but I'm guessing this is
> not a desired result in any case. :)
>
> Thanks for the great software and good luck with this!
>
> A frequent Postgres user,
>
>   -mark
>
> personal website             }      Summersault Website Development
> http://mark.stosberg.com/    {      http://www.summersault.com/
>


--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: installation fails
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: inability to restore infinity values via psql or pg_restore