Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XDBFa-0004si-TW for pgsql-docs@arkaria.postgresql.org; Fri, 01 Aug 2014 11:43:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XDBFa-0006St-DK for pgsql-docs@arkaria.postgresql.org; Fri, 01 Aug 2014 11:43:54 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XDBFZ-0006Sm-FZ for pgsql-docs@postgresql.org; Fri, 01 Aug 2014 11:43:53 +0000 Received: from mail-wg0-f44.google.com ([74.125.82.44]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XDBFV-0005TY-Qx for pgsql-docs@postgresql.org; Fri, 01 Aug 2014 11:43:51 +0000 Received: by mail-wg0-f44.google.com with SMTP id m15so4097672wgh.3 for ; Fri, 01 Aug 2014 04:43:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=wtJFbPsHHBUjnhOXkH8TvSt/yrHevbD9+OhK9nh2qzk=; b=IoKnmck9cnDacS4F0kkFZfVTSoSsFrQ4TQkRoe8puXmTVIk4jTNPhp74Hv4eL2gn/9 yCwhnldNHI8BB4lq/huaicwIYJo50KqIeaelDZomBbC4KFRwwI2AQTMD2Nwg5jQLkpwE 5JBgThwQ2z1/P9jCMugwO1AUs44fvBetyZvN9dRr8zMrMCidcxVLwprm2HS3InOXh8Ob deRzAKaNoT/+q2hy2Rbc/donnzUOeP8da+Sr7ZkBt2hRLptj9Vn3Wxfl6d95T8WyLPsJ WYKSszRs1qjo8vH34/1iyTAhco7/susGWvwmmXMiHKe8ICZ110FkTRIbRKY7kbeQWlKF eIRw== X-Gm-Message-State: ALoCoQko5y5qdr/CENHUVP9c0nRixJGUXObe+iL7xqh1li3oGd8VqTgr66fsu7gOmgw+Lkf/okrd X-Received: by 10.180.39.172 with SMTP id q12mr5842977wik.55.1406893425157; Fri, 01 Aug 2014 04:43:45 -0700 (PDT) Received: from Markos-MacBook-Pro.local ([46.246.117.202]) by mx.google.com with ESMTPSA id ft17sm20400420wjc.14.2014.08.01.04.43.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Aug 2014 04:43:44 -0700 (PDT) Message-ID: <53DB7D70.4040701@joh.to> Date: Fri, 01 Aug 2014 13:43:44 +0200 From: Marko Tiikkaja User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Marti Raudsepp CC: PG Docs Subject: Re: PL/PgSQL INTO (used to be BUG #8870) References: <53DAB66B.6080405@joh.to> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org On 8/1/14 1:33 PM, Marti Raudsepp wrote: > On Fri, Aug 1, 2014 at 12:34 AM, Marko Tiikkaja wrote: >> Here's a patch removing the incorrect part. > > I can see how this doc statement can be misunderstood, but I think the > claims are actually about data types, not the number of columns in the > INTO list. I don't really speak English, but I can't see what else the "as to number" part could mean. But the claim about "exactly matching" data types is completely bogus, too: local:marko=#* do $$ declare _f1 timestamp; local:marko$#* begin select current_date into _f1; local:marko$#* end $$ ; DO local:marko=# do $$ declare _f1 timestamp; local:marko$# begin select text '2004-01-01' into _f1; local:marko$# end $$ ; DO .marko -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs