Skip site navigation (1) Skip section navigation (2)

Re: Open 7.1 items

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Open 7.1 items
Date: 2001-01-26 20:57:17
Message-ID: 200101262057.PAA05769@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-jdbc
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Here are my open 7.1 items.  Thanks for shrinking the list so far.
> 
> > SELECT cash_out(1) crashes all backends
> 

OK, removed from 'open' list and added to TODO.  Actually, I can't get
the crash to happen except with cash_out.  Is there another *out
function you can get to fail.


> This isn't a "must fix for 7.1", any more than it was for 7.0, 6.5,
> or any other release back to the beginning of time.  It's always been
> possible to crash the backend by passing an incompatible argument to
> a type input or output function.  The type-checking system cannot
> detect the error because these functions are (mostly) declared to
> take "any" input type (zero entry in proargtypes[]).
> 
> The only clean way to fix this is to declare I/O functions honestly.
> That will require (a) a type-system representation for "C string"
> and (b) a solution to the circularity issue for user-defined types.
> If the I/O functions have to be declared first, how can they refer
> to the type?
> 
> Quite aside from the time involved, this will require an initdb.
> It's a bit late in the cycle for that.
> 
> 			regards, tom lane
> 


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

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2001-01-26 21:03:35
Subject: Re: postmaster -S will not print an error if pid file exists
Previous:From: Jan WieckDate: 2001-01-26 20:50:39
Subject: Re: Sure enough, the lock file is gone

pgsql-jdbc by date

Next:From: Tom LaneDate: 2001-01-26 21:08:15
Subject: Re: Open 7.1 items
Previous:From: Bruce MomjianDate: 2001-01-26 20:15:47
Subject: Re: Re: [JDBC] Open 7.1 items

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group