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 1hylCZ-0005jO-Pt for pgsql-general@arkaria.postgresql.org; Fri, 16 Aug 2019 23:00:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hylCX-0001TK-Qu for pgsql-general@arkaria.postgresql.org; Fri, 16 Aug 2019 23:00:05 +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 1hylCX-0001Sc-Dz for pgsql-general@lists.postgresql.org; Fri, 16 Aug 2019 23:00:05 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hylCU-0007KU-IA for pgsql-general@lists.postgresql.org; Fri, 16 Aug 2019 23:00:05 +0000 Received: by mail-pg1-x542.google.com with SMTP id l21so3642794pgm.3 for ; Fri, 16 Aug 2019 16:00:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=b2npdFveNKykuawpHAI86CcSLHRYtyQhYnWaM/MZ83I=; b=ZHsMfrqTy+c7GRdsurh0GFbRHgvsXichfIvewm35+7tTbaWsV7iBHPcGBHOHlNo7Tr wvLq+QSuiQAlcZKok8yAylBQBtyxmMLgmwoCDvnw1+Sn8Z3UAqSpnhSVMiC/QhOpZNBG vp6PwkzjucjdaFB7jh4i5YZ5Bw//m2p3MySynUl41H3N6qG4x7HfWYcHjvB0QUJ9hOo7 O0vacF1XpenBIaN5pJsiG8N0AWcCkwP9biR3Xpz/O/KM864xfj1cjiQDktvm/eHMQ2RF g00qLRqFG3aFsRahdAmqWvBfQrCgOWv/jxR10yhy7cwR+QdVup4ttmuPejmIdGACu3H5 crYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=b2npdFveNKykuawpHAI86CcSLHRYtyQhYnWaM/MZ83I=; b=KJE+sIJck5IILC3qRQm28X4uFz/UWX2TRi6q27nbf1YX0fqBTmbqr5JiltcBnyFvDL 5y0Qd0GsOfXPmqNTTsJc59rq2UHh3qkeKGNuLYpvmGiVs3/1Nhla5aGpVuWfAud5H6iL YPvgVtylpMbAv+dugaWI4q/2dDqdStvk0Sz3kYm7CKzd8NGwHEFDwE5YiO9RaiwxhCi8 HrxjLiNOBEDMOE5IMrhTtOPqj1pz4ec9CHeyONkfETMLk1WubitlRFzRcl0QvpYpc4LD fDqwDqE5lekGaWhUDI3cJJXjI4LtMyF8lx7RqSCaUtDIflLdINOrN3cmr9RflSsYwjdx 1i2w== X-Gm-Message-State: APjAAAVYAqD9ARLTbcApX50JhK/FT5jXPk7Kusu8uED8zB5R4arHb7D5 69A3En+rwAVKnCcnN4B9TZC2JtgC X-Google-Smtp-Source: APXvYqwloCjPRHuPD6y3PIECTTu3eNK04Au2rRXOQBlQWlHRfaPFoLUsq3dgW2CiWbKD7RwFkPocuA== X-Received: by 2002:a63:1f03:: with SMTP id f3mr9536250pgf.249.1565996399769; Fri, 16 Aug 2019 15:59:59 -0700 (PDT) Received: from [10.104.134.41] ([155.100.47.1]) by smtp.gmail.com with ESMTPSA id z12sm1756513pfg.21.2019.08.16.15.59.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Aug 2019 15:59:59 -0700 (PDT) Subject: Re: Missing Trigger after pgdump install To: pgsql-general@lists.postgresql.org References: <53f9ff4448f5210802b5a04c8fa83186@mail.brookhurstdata.net> <40cc8a45-5276-b64f-3ad8-a39865bb2a21@aklaver.com> <059bade8075a3c2e17ad75baf4e399b0@mail.brookhurstdata.net> <79a8cb5c-d5d9-7dcb-35d2-08947aa5fbcb@aklaver.com> <075cabbaff9591811d6ed04c4c099f2a@mail.brookhurstdata.net> From: Rob Sargent Message-ID: Date: Fri, 16 Aug 2019 16:59:58 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <075cabbaff9591811d6ed04c4c099f2a@mail.brookhurstdata.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 8/16/19 4:45 PM, Susan Hurst wrote: > We're using the 9.5.14 in the sandbox to extract data and objects from > the pgdump that was created in the 9.5.0 version.  Hope I answered > your question correctly.  If not, let me know and I'll try again. > > Our biggest concern is that there may be other silent issues that we > have not yet discovered.  Thanks for the info you just provided, > Adrian.  We'll read up on the path settings to see if we can find an > answer there. > > Sue > > --- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Susan E Hurst > Principal Consultant > Brookhurst Data LLC > Email: susan.hurst@brookhurstdata.com > Mobile: 314-486-3261 > > On 2019-08-16 17:29, Adrian Klaver wrote: >> On 8/16/19 3:18 PM, Susan Hurst wrote: >>> Production version: >>> PostgreSQL 9.5.0 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7 >>> 20120313 (Red Hat 4.4.7-16), 64-bit >>> >>> Sandbox version: >>> "PostgreSQL 9.5.14, compiled by Visual C++ build 1800, 64-bit" >>> >> >> I going to say it has something to do with this: >> >> https://www.postgresql.org/docs/9.5/release-9-5-12.html >> >> "Avoid use of insecure search_path settings in pg_dump and other >> client programs (Noah Misch, Tom Lane)" >> >> Are you using the 9.5.0 or 9.5.14 version of pg_dump to dump from the >> production server? > > In case Adrian has gone hojme I'll chime in:  I believe his question is asking which installation/version of pgdump is used in the command you provided earlier.  If it's run from the production machine it would likely be the 9.5.0 version, but could also be the 9.5.14 version.  All depending on the PATH and host and postgres installation.