pgbelt 0.6.0__py3-none-any.whl → 0.6.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pgbelt/util/pglogical.py CHANGED
@@ -215,14 +215,9 @@ async def revoke_pgl(pool: Pool, tables: list[str], logger: Logger) -> None:
215
215
  async with pool.acquire() as conn:
216
216
  async with conn.transaction():
217
217
  try:
218
- if tables:
219
- await conn.execute(
220
- f"REVOKE ALL ON TABLE {','.join(tables)} FROM pglogical;"
221
- )
222
- else:
223
- await conn.execute(
224
- "REVOKE ALL ON ALL TABLES IN SCHEMA public FROM pglogical;"
225
- )
218
+ await conn.execute(
219
+ "REVOKE ALL ON ALL TABLES IN SCHEMA public FROM pglogical;"
220
+ )
226
221
  await conn.execute(
227
222
  "REVOKE ALL ON ALL SEQUENCES IN SCHEMA public FROM pglogical;"
228
223
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pgbelt
3
- Version: 0.6.0
3
+ Version: 0.6.1
4
4
  Summary: A CLI tool used to manage Postgres data migrations from beginning to end, for a single database or a fleet, leveraging pglogical replication.
5
5
  Author: Varjitt Jeeva
6
6
  Author-email: varjitt.jeeva@autodesk.com
@@ -18,10 +18,10 @@ pgbelt/util/__init__.py,sha256=-6KkvVMz-yGNQfeoo4CZZrgWKXYmFd4CMyoiao8OnFE,40
18
18
  pgbelt/util/asyncfuncs.py,sha256=7i_GpBmUNNZ8RUGvU-q5nclsoaCm6Lx8jLP8usYvmZc,583
19
19
  pgbelt/util/dump.py,sha256=p6M26s3FXnSCTmee4v7X0-azYvmcVz6DkZf8J8YxU0s,14357
20
20
  pgbelt/util/logs.py,sha256=l2jT-WKZ-33eNDw4S4W1_eE4ISo4rtDRXYLVf4QTV4Y,1699
21
- pgbelt/util/pglogical.py,sha256=Ar89MVYFeqtHYuw3w0M24vpR15pJQXVGFaj_QTYL1EA,12825
21
+ pgbelt/util/pglogical.py,sha256=JwIKI9pP8WDLa_32-2jnQuzyGC4oSeFYo0iP7ljAJvI,12620
22
22
  pgbelt/util/postgres.py,sha256=9AgnmHdYpWVypyBNTEQEpd4COoa1JEQXoELOR8-HrzQ,13668
23
- pgbelt-0.6.0.dist-info/LICENSE,sha256=FQ5cFkW02dKK3LmKH8z-rwn93tWSCh7lsxfNUiWcFsg,10758
24
- pgbelt-0.6.0.dist-info/METADATA,sha256=67Zme70h9BXAeEu-3ib5uoJJIIC9z-RF6ANwhRVMFWw,2826
25
- pgbelt-0.6.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
26
- pgbelt-0.6.0.dist-info/entry_points.txt,sha256=SCz_poPjkaVnWpJ-CeytAnDzbVc6l0WalOwitIqW_3g,40
27
- pgbelt-0.6.0.dist-info/RECORD,,
23
+ pgbelt-0.6.1.dist-info/LICENSE,sha256=FQ5cFkW02dKK3LmKH8z-rwn93tWSCh7lsxfNUiWcFsg,10758
24
+ pgbelt-0.6.1.dist-info/METADATA,sha256=sRQAbecXNJwIUJJDjNu762VtktWR90HIQNmMBMokPag,2826
25
+ pgbelt-0.6.1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
26
+ pgbelt-0.6.1.dist-info/entry_points.txt,sha256=SCz_poPjkaVnWpJ-CeytAnDzbVc6l0WalOwitIqW_3g,40
27
+ pgbelt-0.6.1.dist-info/RECORD,,
File without changes