pgpack-dumper 0.3.2.0__cp311-cp311-macosx_11_0_arm64.whl → 0.3.2.2__cp311-cp311-macosx_11_0_arm64.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.

Potentially problematic release.


This version of pgpack-dumper might be problematic. Click here for more details.

@@ -1,4 +1,6 @@
1
1
  select json_agg(json_build_array(attnum, json_build_array(attname, atttypid::int4,
2
- case when atttypid = 1042 then atttypmod - 4 when atttypid = 1700 then (atttypmod - 4) >> 16 else attlen end,
3
- case when atttypid = 1700 then (atttypmod - 4) & 65535 else 0 end, attndims)))::text::bytea as metadata
2
+ case when atttypid = 1042 then atttypmod - 4 when atttypid = 1700 then
3
+ case when (atttypmod - 4) >> 16 = -1 then 10 else (atttypmod - 4) >> 16 end else attlen end,
4
+ case when atttypid = 1700 then case when (atttypmod - 4) >> 16 = -1 then 0 else
5
+ (atttypmod - 4) & 65535 end else 0 end, attndims)))::text::bytea as metadata
4
6
  from pg_attribute where attrelid = '{table_name}'::regclass and attnum > 0 and not attisdropped;
pgpack_dumper/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.3.2.0"
1
+ __version__ = "0.3.2.2"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pgpack_dumper
3
- Version: 0.3.2.0
3
+ Version: 0.3.2.2
4
4
  Summary: Library for read and write PGPack format between PostgreSQL and file.
5
5
  Author-email: 0xMihalich <bayanmobile87@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/0xMihalich/pgpack_dumper
@@ -17,9 +17,9 @@ Classifier: Programming Language :: Python :: 3.14
17
17
  Requires-Python: >=3.10
18
18
  Description-Content-Type: text/markdown
19
19
  License-File: LICENSE
20
- Requires-Dist: pgpack==0.3.1.0
21
- Requires-Dist: psycopg_binary>=3.2.11
22
- Requires-Dist: psycopg>=3.2.11
20
+ Requires-Dist: pgpack==0.3.1.1
21
+ Requires-Dist: psycopg_binary>=3.2.12
22
+ Requires-Dist: psycopg>=3.2.12
23
23
  Requires-Dist: sqlparse>=0.5.3
24
24
  Dynamic: license-file
25
25
 
@@ -1,12 +1,12 @@
1
- pgpack_dumper-0.3.2.0.dist-info/RECORD,,
2
- pgpack_dumper-0.3.2.0.dist-info/WHEEL,sha256=sunMa2yiYbrNLGeMVDqEA0ayyJbHlex7SCn1TZrEq60,136
3
- pgpack_dumper-0.3.2.0.dist-info/top_level.txt,sha256=AhxLKWTyGtJWNLWUSyBu54xY4wjVS8vSXgW4wwq4bYk,14
4
- pgpack_dumper-0.3.2.0.dist-info/METADATA,sha256=WiGDA-H0HqyQ52lzOSHkFIyo5DIg54TO8WrdrO8HoMk,5069
5
- pgpack_dumper-0.3.2.0.dist-info/licenses/LICENSE,sha256=9IYMxtPlcVkrfjeRPA9GRUmaQkLG_FL-Gx7HxLvcLDQ,1067
6
- pgpack_dumper/version.py,sha256=0T5NXqTyHYySOVkM8YQC5-ov0e73UW1DNPUrdl-WKeU,24
1
+ pgpack_dumper-0.3.2.2.dist-info/RECORD,,
2
+ pgpack_dumper-0.3.2.2.dist-info/WHEEL,sha256=sunMa2yiYbrNLGeMVDqEA0ayyJbHlex7SCn1TZrEq60,136
3
+ pgpack_dumper-0.3.2.2.dist-info/top_level.txt,sha256=AhxLKWTyGtJWNLWUSyBu54xY4wjVS8vSXgW4wwq4bYk,14
4
+ pgpack_dumper-0.3.2.2.dist-info/METADATA,sha256=luJBfdwbAZewBT_fp8HAgRDYfrltSHHX4bYLXcvHkr8,5069
5
+ pgpack_dumper-0.3.2.2.dist-info/licenses/LICENSE,sha256=9IYMxtPlcVkrfjeRPA9GRUmaQkLG_FL-Gx7HxLvcLDQ,1067
6
+ pgpack_dumper/version.py,sha256=uVFvcAMfUr4ym7apbXcab1bSyJcP0rFeLgleor9GOEc,24
7
7
  pgpack_dumper/__init__.py,sha256=2x9LRaKPMjMuOoP9pBAeSRZoAeCo9B8fxFbnW_N7kh8,966
8
8
  pgpack_dumper/dumper.py,sha256=5WnXg69hszHjzPXRoAMAvFY5ZrVsKVtx48XMsLDG0og,14261
9
- pgpack_dumper/common/reader.cpython-311-darwin.so,sha256=KFStWPIfc87VNVbAY4--ZLn4swb8KMmU75zmIbe_eGU,117632
9
+ pgpack_dumper/common/reader.cpython-311-darwin.so,sha256=FlHfDSZjq5s3QmUIA9rYg0nHSmt9YRUsss6-DzJcEew,117632
10
10
  pgpack_dumper/common/metadata.py,sha256=Z_vbgi1V85jgPR0h1xbUtt3Ru7vMcmG06bd13Gn_ocY,864
11
11
  pgpack_dumper/common/diagram.py,sha256=2w5-s5qwYjCd0cqqlBRbHQ8E90jU7Ay7TNLeROHjCa0,2505
12
12
  pgpack_dumper/common/query.py,sha256=NHLtv_JmaSKq9jugef808vLqn2OoIThCzzPNdSJoQHE,1511
@@ -25,6 +25,6 @@ pgpack_dumper/common/queryes/copy_from.sql,sha256=hEHfzW7P9-q74jtgMMA94kGpiMeyUR
25
25
  pgpack_dumper/common/queryes/gpversion.sql,sha256=iUwW40pFCVAZhDZ6ah8CIW75_KMBLyvUxMyqOI7vxtA,80
26
26
  pgpack_dumper/common/queryes/relkind.sql,sha256=wpyWaIiuCqQ0YaFPsNAEwwxSxuErNnRmP__-bfZ1vho,66
27
27
  pgpack_dumper/common/queryes/copy_to.sql,sha256=AUSsFl_WFB88UcC45SLd8lD_1La1MIkV2CKX-gCOxEE,49
28
- pgpack_dumper/common/queryes/attributes.sql,sha256=TriT025-yo7k9Bba3mKmpEYZiutE6ml4-5pAnGMemSg,394
28
+ pgpack_dumper/common/queryes/attributes.sql,sha256=p-rGZxyQhKpdDhqEe7Ch1LrzcHYxUkX9n1PTQLHALSg,501
29
29
  pgpack_dumper/common/queryes/dbname.sql,sha256=Z3b6a_566PxA52ywRJw1JDSCUMC_c-FyulvW8mC1C7c,141
30
30
  pgpack_dumper/common/queryes/prepare.sql,sha256=oqRk3GU0gjFzM0nLNsKWeD8GfeThZVKsFiMY1-tdb8g,182