Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aMYiZ-0007MD-Ci for pgadmin-hackers@arkaria.postgresql.org; Fri, 22 Jan 2016 10:13:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aMYiY-0003Hi-U7 for pgadmin-hackers@arkaria.postgresql.org; Fri, 22 Jan 2016 10:13:22 +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) (envelope-from ) id 1aMYiL-00032r-EX for pgadmin-hackers@postgresql.org; Fri, 22 Jan 2016 10:13:09 +0000 Received: from palladium.wars-nicht.de ([89.238.64.91] helo=polonium.wars-nicht.de) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aMYiC-0000kL-Q4 for pgadmin-hackers@postgresql.org; Fri, 22 Jan 2016 10:13:08 +0000 Received: from localhost (localhost [127.0.0.1]) by polonium.wars-nicht.de (Postfix) with ESMTP id DC3BA114037 for ; Fri, 22 Jan 2016 11:12:59 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at polonium X-Spam-Flag: NO X-Spam-Score: -2.9 X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from polonium.wars-nicht.de ([127.0.0.1]) by localhost (polonium.wars-nicht.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r708XZ3c1rnI for ; Fri, 22 Jan 2016 11:12:59 +0100 (CET) Received: from diamond.wars-nicht.de (dslb-188-103-026-129.188.103.pools.vodafone-ip.de [188.103.26.129]) by polonium.wars-nicht.de (Postfix) with ESMTPSA id 0C787114035 for ; Fri, 22 Jan 2016 11:12:59 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) by diamond.wars-nicht.de (Postfix) with ESMTP id A78901BE1CCB for ; Fri, 22 Jan 2016 11:12:58 +0100 (CET) Subject: Re: Remove "unsupported version" warning for Greenplum To: pgadmin-hackers@postgresql.org References: <569C4395.4080603@wars-nicht.de> <569EBEA2.5040903@wars-nicht.de> <56A15D3F.4030207@wars-nicht.de> From: Andreas 'ads' Scherbaum Message-ID: <56A200AA.7080708@wars-nicht.de> Date: Fri, 22 Jan 2016 11:12:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org On 22.01.2016 11:04, Dave Page wrote: > On Fri, Jan 22, 2016 at 9:57 AM, Magnus Hagander wrote: >> >> >> On Fri, Jan 22, 2016 at 10:43 AM, Dave Page wrote: >>> >>> On Thu, Jan 21, 2016 at 10:54 PM, Magnus Hagander >>> wrote: >>>> >>>> >>>> On Thu, Jan 21, 2016 at 11:35 PM, Andreas 'ads' Scherbaum >>>> wrote: >>>>> >>>>> On 21.01.2016 10:31, Dave Page wrote: >>>>>> >>>>>> On Tue, Jan 19, 2016 at 10:54 PM, Andreas 'ads' Scherbaum >>>>>> wrote: >>>>>>> >>>>>>> On 19.01.2016 16:03, Dave Page wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Your patch won't apply again. I have no idea why - I'm trying to do >>>>>>>> it >>>>>>>> on my Mac, which is a *nix under the hood (they don't use Mac line >>>>>>>> endings any more - that was the old Mac OS 9 and earlier from a >>>>>>>> decade >>>>>>>> or so ago iirc). How are you creating them? The normal way is to do >>>>>>>> something like: >>>>>>> >>>>>>> >>>>>>> >>>>>>> And how does the attached work? Fresh clone again, only difference is >>>>>>> a >>>>>>> warning (not an error) for whitespaces removed. >>>>>> >>>>>> >>>>>> Still doesn't apply. I tried on the following systems: >>>>>> >>>>>> Mac OS X 10.11.1 - git version 2.5.4 (Apple Git-61) >>>>>> Windows 7 Enterprise SP1 - git version 1.8.1.msysgit.1 >>>>>> CentOS release 6.7 (Final) - git version 1.7.1 >>>>>> >>>>>> I'm fairly convinced at this stage that there's something funky on >>>>>> your system. Perhaps we should take a look next week when we're both >>>>>> in Brussels? >>>>>> >>>>> >>>>> After debugging back and forth with Magnus, it looks like that Google >>>>> Mail >>>>> is fooling you. Your downloaded file has a different line ending, and >>>>> your >>>>> file is 3269 bytes, where the original file is 3210 bytes. That's 59 >>>>> additional line breaks. >>>>> >>>>> 4fa0990a1020e425fe95b99ea9f186de gp-warning2.diff >>>>> >>>>> The file you download from the archive: >>>>> >>>>> http://www.postgresql.org/message-id/569EBEA2.5040903@wars-nicht.de >>>>> >>>>> is also correct. >>> >>> Well that's weird. But why is it only happening with your patches? I >>> apply patches from others constantly without issues. >> >> >> What MIME types do you get those in typically? Could be that gmail is >> reacting to it being text/x-patch and not application/x-patch or something? > > text/x-patch or application/octet-stream seem to be fine from others. > The one thing I noticed is the majority of patches I've received from > others tend to be base64 encoded, whilst Ads' is not. > > I'd be interested to try a patch that's been zipped before attachment. Yes, I decided to gzip them next time, before sending them. Honestly I have no idea why only my patches. There is nothing unusual in my Thunderbird, pretty much a default installation. And downloading my patch from Thunderbird or the PG Archive results in the correct file. So it must be a Google thing. Ok, now that this problem is solved, I will move the versions into the header files and send you a new version soon. Thanks, -- Andreas 'ads' Scherbaum German PostgreSQL User Group European PostgreSQL User Group - Board of Directors Volunteer Regional Contact, Germany - PostgreSQL Project -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers