Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mffmz-0007at-9z for pgsql-www@arkaria.postgresql.org; Wed, 27 Oct 2021 10:04:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mffmy-0007Im-63 for pgsql-www@arkaria.postgresql.org; Wed, 27 Oct 2021 10:04:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mffmx-0007Id-VH for pgsql-www@lists.postgresql.org; Wed, 27 Oct 2021 10:04:07 +0000 Received: from ploudseeker.com ([78.199.165.48]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mffmv-0004dW-HB for pgsql-www@lists.postgresql.org; Wed, 27 Oct 2021 10:04:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cmatte.me; s=myselector; t=1635329043; bh=PuuCjNYLtW2TtbaYxouX19G7hi9zQcVhqiRQ0ALk25w=; h=Date:Subject:To:References:From:In-Reply-To; b=wnztHhNV4vkKFmOEufUvcuy5mE+Ekq7tQGssnzxNal3b6qYctvpzzsSSNe2/H8inO Igm6ziCKlNHz++0oi5VAe4qdMELafECdwTWanafjcoYXtigtmyLY6QhcssqPsErpAz /g1R5nFq/oiyXLvTBm5OwIpEErLQL9i3VReZbqEUbOXYvxiGr8F7ybEnSXkKRkaUes 2Cv6yhonJnRLi8LbuoNEH/NWjmKvB7xyJ4pkBNieUvDW+6z8v4BwL0sM2CXR/gcOKm 0Ig8nksEwRsVPvZ10cIKvPKUFbIFQyuYSsLkdiPiyj+zl/VgdCzaY9dJfRhsaUzVKk xlcaDBcxdgLbA== Message-ID: Date: Wed, 27 Oct 2021 12:04:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH] pgarchives: Bugfix: allow message's parentid to be null Content-Language: en-US To: pgsql-www@lists.postgresql.org References: <4280598e-cbe7-c5d3-fbce-fefce11da5f3@cmatte.me> <723b45bd-0c14-83eb-1911-b4f481e1b74c@cmatte.me> From: =?UTF-8?Q?C=c3=a9lestin_Matte?= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > > That said, I think the correct solutoin is still, as I mentioned in one of the other threads, to completely move everything into the initial migration, instead of doing a piecemeal hack that's going to result in a lot of small migrations for no real reason. We should  just accept that the existing one is broken and replace it. Can everything be moved to django's model though? The schema.sql file defines several other components (indexes, text search configurations, text search dictionaries, functions, triggers) and I'm not sure django is able to handle all of that by itself. Is it? Or do you only want to move tables? Cheers, -- Célestin Matte