Skip to content

Commit 53332e9

Browse files
committed
fix bug on delete trigger
1 parent dc844ee commit 53332e9

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

pgsync/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
__author__ = "Tolu Aina"
44
__email__ = "tolu@pgsync.com"
5-
__version__ = "6.2.0"
5+
__version__ = "7.0.0"

pgsync/trigger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
2828
IF TG_OP = 'DELETE' THEN
2929
30-
SELECT primary_keys INTO _primary_keys
30+
SELECT primary_keys, indices INTO _primary_keys, _indices
3131
FROM {MATERIALIZED_VIEW}
3232
WHERE table_name = TG_TABLE_NAME;
3333

requirements/base.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ async-timeout==5.0.1
88
# via redis
99
backports-datetime-fromisoformat==2.0.3
1010
# via marshmallow
11-
boto3==1.42.1
11+
boto3==1.42.2
1212
# via -r requirements/base.in
13-
botocore==1.42.1
13+
botocore==1.42.2
1414
# via
1515
# boto3
1616
# s3transfer

requirements/dev.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ backports-datetime-fromisoformat==2.0.3
1010
# via marshmallow
1111
black==25.11.0
1212
# via -r requirements/dev.in
13-
boto3==1.42.1
13+
boto3==1.42.2
1414
# via -r requirements/base.in
15-
botocore==1.42.1
15+
botocore==1.42.2
1616
# via
1717
# boto3
1818
# s3transfer

0 commit comments

Comments
 (0)