[PATCH] pgarchives: Bugfix: missing ids in pglister_sync

From: Célestin Matte <celestin(dot)matte(at)cmatte(dot)me>
To: pgsql-www(at)lists(dot)postgresql(dot)org
Subject: [PATCH] pgarchives: Bugfix: missing ids in pglister_sync
Date: 2022-01-28 17:52:25
Message-ID: 23a04b00-ab59-6460-6ce2-d845f1be666c@cmatte.me
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

groupid and listid are not explicitly set in pglister_sync's queries, which
causes the script to fail as these fields are NOT NULL and postgresql default
configuration does not auto-fill id fields.

This patch sets them explicitly by reusing the ones obtained from pglister.
--
Célestin Matte

Attachment Content-Type Size
0001-Bugfix-missing-ids-in-pglister_sync.patch text/x-patch 2.0 KB

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Magnus Hagander 2022-01-30 12:20:30 Re: [PATCH] pgarchives: pglister_sync: import lists with subscriber_access set to True
Previous Message Célestin Matte 2022-01-28 17:43:01 Re: [PATCH] pgarchives: pglister_sync: import lists with subscriber_access set to True