Unix Technical Forum

Re: [COMMITTERS] pgsql: Repair incorrect check for coercion

This is a discussion on Re: [COMMITTERS] pgsql: Repair incorrect check for coercion within the pgsql Hackers forums, part of the PostgreSQL category; --> Tom Lane wrote: > Log Message: > ----------- > Repair incorrect check for coercion of unknown literal to ANYARRAY, ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-12-2008, 06:15 AM
Bruce Momjian
 
Posts: n/a
Default Re: [COMMITTERS] pgsql: Repair incorrect check for coercion

Tom Lane wrote:
> Log Message:
> -----------
> Repair incorrect check for coercion of unknown literal to ANYARRAY, a bug
> I introduced in 7.4.1 :-(. It's correct to allow unknown to be coerced to
> ANY or ANYELEMENT, since it's a real-enough data type, but it most certainly
> isn't an array datatype. This can cause a backend crash but AFAICT is not
> exploitable as a security hole. Per report from Michael Fuhr.
>
> Note: as fixed in HEAD, this changes a constant in the pg_stats view,
> resulting in a change in the expected regression outputs. The back-branch
> patches have been hacked to avoid that, so that pre-existing installations
> won't start failing their regression tests.


Does this mean if someone initdb's in a back branch, the regression
tests will start failing for them?

--
Bruce Momjian bruce@momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-12-2008, 06:16 AM
Tom Lane
 
Posts: n/a
Default Re: [COMMITTERS] pgsql: Repair incorrect check for coercion of unknown literal to

Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> Note: as fixed in HEAD, this changes a constant in the pg_stats view,
>> resulting in a change in the expected regression outputs. The back-branch
>> patches have been hacked to avoid that, so that pre-existing installations
>> won't start failing their regression tests.


> Does this mean if someone initdb's in a back branch, the regression
> tests will start failing for them?


No.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:05 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com