Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TNnN2-0003Zb-Jq for pgsql-bugs@postgresql.org; Mon, 15 Oct 2012 16:18:24 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TNnMx-0004yO-63 for pgsql-bugs@postgresql.org; Mon, 15 Oct 2012 16:18:24 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q9FGIGLR013774; Mon, 15 Oct 2012 12:18:17 -0400 (EDT) From: Tom Lane To: webmaster@dhs-club.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7604: adding criteria to a query against a view in 9.2 expands the results instead of constraining them In-reply-to: References: Comments: In-reply-to webmaster@dhs-club.com message dated "Mon, 15 Oct 2012 16:01:21 -0000" Date: Mon, 15 Oct 2012 12:18:16 -0400 Message-ID: <13773.1350317896@sss.pgh.pa.us> X-Pg-Spam-Score: -2.3 (--) X-Archive-Number: 201210/149 X-Sequence-Number: 34449 webmaster@dhs-club.com writes: > vip_declines_mailers_base is another VIEW that merely adds some criteria to > limit the result set of the 'base' VIEW. In versions 9.0 and back it did > just that. After upgrading to 9.2, the criteria actually expand the result > set. This doesn't seem to match any of the known bugs in 9.2, so I'm afraid there's no help for it: you need to create a self-contained test case. regards, tom lane