Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eh02Z-0005zJ-Gf for pgsql-general@arkaria.postgresql.org; Wed, 31 Jan 2018 21:35:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eh02X-0004Os-U0 for pgsql-general@arkaria.postgresql.org; Wed, 31 Jan 2018 21:35:33 +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_2) (envelope-from ) id 1eh02X-0004Oj-MD for pgsql-general@lists.postgresql.org; Wed, 31 Jan 2018 21:35:33 +0000 Received: from 23-25-19-49-static.hfc.comcastbusiness.net ([23.25.19.49] helo=jeeves.wrkhors.com) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eh02U-0000yG-4H for pgsql-general@lists.postgresql.org; Wed, 31 Jan 2018 21:35:32 +0000 Received: from wrkhors.com (localhost [127.0.0.1]) by jeeves.wrkhors.com (Postfix) with ESMTP id CD61F10EDFF; Wed, 31 Jan 2018 15:35:53 -0600 (CST) Date: Wed, 31 Jan 2018 15:34:50 -0600 From: Steven Lembark To: pgsql-general@lists.postgresql.org Cc: lembark@wrkhors.com Subject: Re: Recreating functions after starting the database server. Message-ID: <20180131153450.3459285d@wrkhors.com> In-Reply-To: References: <62735ca9-2245-8a56-acd5-20f7871244d8@FreeBSD.org> Organization: Workhorse Computing MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > In my case the upgrade routines run migration scripts which modify a > database schema. Besides that I have a bunch of SQL files with the > schema that can be used to initialize a new database. Why not just update the proc's, etc, that depend on the changes? -- Steven Lembark 1505 National Ave Workhorse Computing Rockford, IL 61103 lembark@wrkhors.com +1 888 359 3508