pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sergey <sergey-1987@yandex.ru>
To: pgsql-bugs@postgresql.org
Subject: BUG #6242: ERROR: unexpected CASE WHEN clause: 333
Date: Fri, 7 Oct 2011 07:29:39 GMT
Message-ID: <201110070729.p977Tdcx075504@wwwmaster.postgresql.org> (raw)


The following bug has been logged online:

Bug reference:      6242
Logged by:          Sergey
Email address:      sergey-1987@yandex.ru
PostgreSQL version: 8.4.4
Operating system:   FreeBSD 8.1-RELEASE
Description:        ERROR: unexpected CASE WHEN clause: 333
Details: 

create view test_view as
select
	case n when null then 1 when 1 then 2 when 2 then 3 end
from (
	values (null), (1), (2)
) as t(n)

pg_dump then fail with error: "ERROR: unexpected CASE WHEN clause: 333" but
select * from test_view does not.

This error occurs with the configuration "transform_null_equals".



view thread (3+ messages)  latest in thread

Message-ID: <201110070729.p977Tdcx075504@wwwmaster.postgresql.org>
Permalink:  ../201110070729.p977Tdcx075504@wwwmaster.postgresql.org/
Also on:    postgresql.org/message-id/201110070729.p977Tdcx075504@wwwmaster.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: sergey-1987@yandex.ru
  Subject: Re: BUG #6242: ERROR: unexpected CASE WHEN clause: 333
  In-Reply-To: <201110070729.p977Tdcx075504@wwwmaster.postgresql.org>
  References: <201110070729.p977Tdcx075504@wwwmaster.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox