Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gcdlt-0007x8-DM for pgsql-hackers@arkaria.postgresql.org; Thu, 27 Dec 2018 22:04:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gcdlq-0005cQ-QQ for pgsql-hackers@arkaria.postgresql.org; Thu, 27 Dec 2018 22:04:50 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gcdlq-0005cJ-Bl for pgsql-hackers@lists.postgresql.org; Thu, 27 Dec 2018 22:04:50 +0000 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gcdll-0008Nc-Ad for pgsql-hackers@postgresql.org; Thu, 27 Dec 2018 22:04:48 +0000 Received: by mail-qt1-x841.google.com with SMTP id d19so21596767qtq.9 for ; Thu, 27 Dec 2018 14:04:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=IrqCxDwu0X+W+a0o8RMX9ltUDpkWAwbj6kEkQKDDOgg=; b=Bbab83bgqVLfUI7p9/wdIUGJEOXi38aHrHuB07MHfQmTl1QroNfR/0kwf71Jy+ZR2R kAcaNzNmk25pUVs3rbCQXY8hRPQuHheFK1yIPsbyp/+iNj4K4BN6piOAvnc0T/ce8Ps7 oW70/um7tum+QW+SQP1l7t2Fjny/j/ae0VARD6cj2yIM7iocZbBA6zkwUdtyeav8qMAq pBY6hHwj7lq0PGHGP2GWfG1rkE1hiwQEWgDhTZ4OIPHhlvCVtYbGpKP8QgMchA9o25Fu 0XZzdDpSfJXvagaJtZM49frNt+C9x/fJXXXIYIaHyhf00D6UCMQMJeJ2LyX+J96Xvp7O ce5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=IrqCxDwu0X+W+a0o8RMX9ltUDpkWAwbj6kEkQKDDOgg=; b=nd0aQXhTbRH0PvHEre46/bkFB84pvISBKXbd9Zc55B65qPxza9ndcwcrbf62jUTE/I 7yyKDZYPvxJ5JYwFBOWvbk576XqivF13frNCmBd76kHZulG3STzmCYSr+nN3ESujYfEQ 71ymKUyDn8F2SqO9P307BKWIuODHAoGv0kpyw+GVuMUUqMiN1i1WorYA9HF6Q0ke+nqI 6Y7TfIxMgv4db6q0KRbMRlr0U/Z7nNTmYb/7g9dVU5wsY1yAaIhuv5yQOIx3Ti8+mGVk fYukyKgZ4wvNKhFNDKcqz+PVBjXLCYYqOHE2rnyusXcZUABRsBuoIEWvukaoP9VvA6ou pz2Q== X-Gm-Message-State: AA+aEWYBwlSp5reeGOCVghUNWUvxEg0vsoh61Rdb60jtNtelDOcc2/xy HZQdbBYJDqwhxIMgaDJnJtIIUg== X-Google-Smtp-Source: AFSGD/XlfJSnbLUk5YP9/XOScWk8rvPbEYpGYHJ0WzUE4HjTTnFUzm4S387zGmGPm6zs7DuXXK0Pdg== X-Received: by 2002:aed:3622:: with SMTP id e31mr23624607qtb.5.1545948284232; Thu, 27 Dec 2018 14:04:44 -0800 (PST) Received: from alvin.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id m49sm15776513qtb.40.2018.12.27.14.04.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Dec 2018 14:04:43 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id B09589A8; Thu, 27 Dec 2018 19:04:41 -0300 (-03) Date: Thu, 27 Dec 2018 19:04:41 -0300 From: Alvaro Herrera To: Tom Lane Cc: Andrew Dunstan , John Naylor , Robert Haas , Andres Freund , Andrew Gierth , "pgsql-hackers@postgresql.org" Subject: Re: reducing the footprint of ScanKeyword (was Re: Large writable variables) Message-ID: <201812272204.fcmhdb3lrsgv@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <13700.1545946013@sss.pgh.pa.us> User-Agent: NeoMutt/20180716-1013-2c1e88 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-Dec-27, Tom Lane wrote: > I poked around a little on my own machines, and I can confirm that > Getopt::Long is present in a default Perl install-from-source at > least as far back as perl 5.6.1. It's barely conceivable that some > packager might omit it from their minimal package, but Red Hat, > Apple, NetBSD, and OpenBSD all include it. So it sure looks to > me like relying on it should be non-problematic. In Debian it's included in package perl-modules-5.24, which packages perl and libperl5.24 depend on. I suppose it's possible to install perl-base and not install perl-modules, but it'd be a really bare-bones machine. I'm not sure it's possible to build Postgres in such a machine. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services