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.92) (envelope-from ) id 1jFOwa-0001Ji-Pg for pgsql-committers@arkaria.postgresql.org; Fri, 20 Mar 2020 21:12:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jFOwX-0001BV-LX for pgsql-committers@arkaria.postgresql.org; Fri, 20 Mar 2020 21:12:37 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1jFOwX-0001BO-Dt for pgsql-committers@lists.postgresql.org; Fri, 20 Mar 2020 21:12:37 +0000 Received: from mail-qk1-x742.google.com ([2607:f8b0:4864:20::742]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jFOwO-0006uM-4X for pgsql-committers@lists.postgresql.org; Fri, 20 Mar 2020 21:12:34 +0000 Received: by mail-qk1-x742.google.com with SMTP id h14so8591044qke.5 for ; Fri, 20 Mar 2020 14:12:27 -0700 (PDT) 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=1DZd45lQle+PWX0bywSpuOVxowNSKJ1kT0z2HRxUv84=; b=0MbuAyTCCRW1ckqIqqg3+WxTXQe2E7Cru0xemY64Pr2xJ2x4aOpTyc+ln4AYDz7ANj hu6mmfQCIqW48Yx4tN4CcuKhHddEkPz+Sb3/7KLCaO8qd1MI+Wnq9VsGR4/V2eebar3o 4/0ZQYIKQ7qdjMnzjGBfr7OIgEhSb9gyHKMFjPNBorxsL3hrt6AaSEzu/TsopemVHPo0 MMvTIplFSniQNGanQBUiwqFjxGZBLET5FUPUH33LKxRJ9K5duo7PO+h+hC4J8czgUEpe WFozUtnPNPJG6SDEmMAxXkBs/uU0/PH7+V5S7SQ8Q//cqm/Kg6RcZsu6obe2uNVJPiNN u42w== 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=1DZd45lQle+PWX0bywSpuOVxowNSKJ1kT0z2HRxUv84=; b=mYTB3kKnsp3h8mvWKxsSYEeRnI3MECANG/ScVCbT94AhoBQN9SP/d8i5f4Zdz4gjrK 5n6AKJndFiDfSbRGNVsQyM1ccP2aXxku8y39GcGX0D6TAObdI8vW1s3+LgwgU41vjjpX fbHe4azFnZDXjjghcRnKlmgBOfIM21PvJSjrIW81l+6rdYKLzMiCSzplD97e6Ew6ghFr dfYMAZfCndc9F8nyECjhNtnEpkdFHP3d0kF/NeYS/2efjhjugR1IN5Ky8ZyP1K3gxLxq Wdrm/VZKUgyIDRDD4hkbukKyfR1DuWzHRZmyB3qra/BSJej7MVcGKPD+kSy7mWv6/COL GyAw== X-Gm-Message-State: ANhLgQ3Ml8GEwsp7n5jmTJ9CwxQQEz2fRMT8dN9DTlGd+xpRrQY0QJrM EgFOVC8nn8PUvcwZuiu12rCU82u/uWoSNm5+s+3kk9pzrnt6pg4Tcy/VeAm3VbiUH03VD8mR2o/ tg+RmZJvOPXCivLIpj8LupcvLRbOY4UtGMxcgXGaPA/9WamlwiYNjuqjRTNSr0qIs17N/uVamZW U1KiCPuwWJG6i3z8hNSA== X-Google-Smtp-Source: ADFU+vt/9aKnmlJ+EoXFwH1a8x2ZcO0NbbzeDGlq7JxXigcbFDm9ajAuYlXW4n+kMW4tO2vXNkRI+Q== X-Received: by 2002:a37:b101:: with SMTP id a1mr10247977qkf.197.1584738745261; Fri, 20 Mar 2020 14:12:25 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([179.56.51.165]) by smtp.gmail.com with ESMTPSA id h27sm5846468qte.37.2020.03.20.14.12.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Mar 2020 14:12:24 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 453263007F6; Fri, 20 Mar 2020 18:12:22 -0300 (-03) Date: Fri, 20 Mar 2020 18:12:22 -0300 From: Alvaro Herrera To: Erik Rijkers Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: pg_dump: Add FOREIGN to ALTER statements, if appropriate Message-ID: <20200320211222.GA18361@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Mar-20, Erik Rijkers wrote: > pg_dump.c: In function ‘dumpTrigger’: > pg_dump.c:17469:51: error: ‘foreign’ undeclared (first use in this > function); did you mean ‘fopen’? > appendPQExpBuffer(query, "\nALTER %sTABLE %s ", foreign, > ^~~~~~~ > fopen > pg_dump.c:17469:51: note: each undeclared identifier is reported only once > for each function it appears in Yeah, last-minute edit lacking "git add". Pushing now. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services