Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1atblT-0000ZM-Jk for pgsql-bugs@arkaria.postgresql.org; Fri, 22 Apr 2016 14:08:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1atblS-0006CZ-Th for pgsql-bugs@arkaria.postgresql.org; Fri, 22 Apr 2016 14:08:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1atblS-0006Bm-Gu for pgsql-bugs@postgresql.org; Fri, 22 Apr 2016 14:08:58 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1atblQ-0004z7-5z for pgsql-bugs@postgresql.org; Fri, 22 Apr 2016 14:08:58 +0000 Received: by mail-wm0-x244.google.com with SMTP id n3so5160245wmn.1 for ; Fri, 22 Apr 2016 07:08:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=AEXflroyf7zoQfmZNZ3fcshVjuRDeS+HyqEyN2cn0VY=; b=F8QentcDE1Zec9YprS56iCHQyGrv+WnN2CXrU45l3d4z/Nq42x/ih/36v0Ev+iDVjM RqzCe9Tc/vmENHujR5NlPs3tq7iyqdoShA+NiiPH1BctMcMCiw143ZCOsLXKfbkveSCr MrDPkYEzhT0/f0d1aMpqmxnQxMqMW0nLTXqPRSJPEfCzqqQnW+QGw4H/qps8J8mvshZd 2wOSWDCHTK5DWbISufZflBLBrol9oOLuK+4oJfyOUmMfrriWhVl9VbhaiRXuE70IfO7N GsURNNBxg75uwoPxc+PmfWFk6y/cB88ZvLdBom+DJ/6YAp66zvZd/dl8CGwbWLC6yxD5 HJAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=AEXflroyf7zoQfmZNZ3fcshVjuRDeS+HyqEyN2cn0VY=; b=gH+GG7ckGF+xpSR4nbG7E870t79JVRie+xwXZtlFh+/U46yecC/H4IKUIgJ3x6l217 AjPYRR3o/TTdvfHfi9SRxuEha+p0ZSE5G0+xkI+gPT3AqNhNP3WJv1pWxgl8EruMfHDn 7FIV2a4Y91lM2JDxNK1vhWjQBwoNV8OF3+2asz+L0O99WCAjkUpPJyyBDOhWoNN+BxSr DejcOvAjgiy35RRhFp8dzY/m/S+sNFLu5lMjpb46fyTOktFPXts6EPMSogo0t7nQSPrY a4/7QOzn49BbmQuadLzzVO/fweDCUo/iUmq1fHxA063JzGdUxUgcjfVv3MsZgYBusvio hzSw== X-Gm-Message-State: AOPr4FVQw3tGFmuhEGappB1uapQTwvVanQAkrVNm3857F7FPfQd0tqrwcHFcOpZ2vzHxTg== X-Received: by 10.28.186.133 with SMTP id k127mr4401353wmf.27.1461334135573; Fri, 22 Apr 2016 07:08:55 -0700 (PDT) Received: from [192.168.1.144] (dsl-25-149.utaonline.at. [81.189.25.149]) by smtp.googlemail.com with ESMTPSA id i11sm8294211wjn.36.2016.04.22.07.08.54 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 22 Apr 2016 07:08:55 -0700 (PDT) Subject: Re: BUG #14107: Major query planner bug regarding subqueries and indices To: David Rowley References: <20160421115638.22895.78902@wrigleys.postgresql.org> Cc: pgsql-bugs@postgresql.org From: Mathias Kunter Message-ID: Date: Fri, 22 Apr 2016 16:08:54 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Sorry, typo: > CREATE TABLE book (id SERIAL NOT NULL, name VARCHAR, authorId SERIAL, CONSTRAINT book_pkey PRIMARY KEY (id)); It should of course be "authorId INTEGER" instead of "authorId SERIAL". -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs