Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vaz1Q-0003fi-Iv for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Oct 2013 02:27:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Vaz1P-0005oD-Ts for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Oct 2013 02:27:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vaz1O-0005nn-9I for pgsql-hackers@postgresql.org; Tue, 29 Oct 2013 02:27:06 +0000 Received: from mail-qe0-f47.google.com ([209.85.128.47]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vaz1L-0006r3-4O for pgsql-hackers@postgresql.org; Tue, 29 Oct 2013 02:27:05 +0000 Received: by mail-qe0-f47.google.com with SMTP id b4so4550649qen.34 for ; Mon, 28 Oct 2013 19:27:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=RTRiJ1bu6WXN2q5QQDmOVPFvLjJDwS+rb83Gl7cp4yQ=; b=RQ0RlkZXHXIUPpmpfmCkbWRgxqTuM8BUkvu1d0+f4j3CTtT/GwE7BrHz/aG6RqhbXN XY++kVz2UylOp2ckNdpTyJ/8Hlf1RnmuvMaCS9kg9NOnYV9/JWYWALmgVphCgRKfym8R EjUS2zo9WlhkJL3G0m3jdFp0GKjONAWU0AVAOrR3Qo2DjFIH7De2m+J21g2g85OZzz9v Q13rfb5XutPRt3x62K8KhQ/a9S5v1v6xyPlwoqH/0OOLfs2FAl+BFdvv/r18d59pVy7w xky7fvvFdOvW8UbwYmzm5NorERPkS4yj0wbfi4ONZbQS168HMoTV3y52rskdYPhcEwms 7zhQ== X-Gm-Message-State: ALoCoQl9Mc12dZ7u9oqdKnb2TE88NyLMKePgvjlTYB3x35gXenG59lHolfU9IPW6FAlKWGRSiznx X-Received: by 10.224.74.145 with SMTP id u17mr6315140qaj.118.1383013622044; Mon, 28 Oct 2013 19:27:02 -0700 (PDT) Received: from tornado.leadboat.com (c-107-4-219-91.hsd1.va.comcast.net. [107.4.219.91]) by mx.google.com with ESMTPSA id x10sm60176896qas.5.2013.10.28.19.27.01 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 28 Oct 2013 19:27:01 -0700 (PDT) Date: Mon, 28 Oct 2013 22:26:59 -0400 From: Noah Misch To: Tom Lane Cc: Andres Freund , Andrew Dunstan , Robert Haas , "pgsql-hackers@postgresql.org" , Matthias Schmitt Subject: Re: OSX doesn't accept identical source/target for strcpy() anymore Message-ID: <20131029022659.GA588246@tornado.leadboat.com> References: <55D64809-F305-41A9-946B-8EAFF88FBE3B@mmp.lu> <20131028153750.GH5577@awork2.anarazel.de> <934199A3-FF2F-4E5E-A8FF-E6F621B6F64D@mmp.lu> <20131028161132.GA14980@awork2.anarazel.de> <7718.1382983872@sss.pgh.pa.us> <20131028182653.GD20248@awork2.anarazel.de> <526EB8F4.2070806@dunslane.net> <20131028194609.GA16709@awork2.anarazel.de> <10044.1382990556@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <10044.1382990556@sss.pgh.pa.us> User-Agent: Mutt/1.5.18 (2008-05-17) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Mon, Oct 28, 2013 at 04:02:36PM -0400, Tom Lane wrote: > It seems to me the most reasonable fix for this is to make > TupleDescInitEntry notice that the passed "attributeName" points > at the tupdesc's name field and not call namestrcpy if so. +1 -- Noah Misch EnterpriseDB http://www.enterprisedb.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers