How can user update an extension to a different version when BDR is active on a node?
@sharmay is already working on this.
Since Oct 29, 2025.
Assessment
This issue has not been assessed yet.
Description
Describe the problem
How can user update an extension to a different version when BDR is active on a node?
panda=# CREATE EXTENSION pg_buffercache WITH version '1.2';
CREATE EXTENSION
panda=# ALTER EXTENSION pg_buffercache UPDATE TO '1.3';
ERROR: ALTER EXTENSION is not supported when bdr is active
- What are you trying to solve?
On a BDR enabled node, blocking extension updates isn't a good idea IMO. At least, BDR must support ALTER EXTENSION name UPDATE [ TO new_version ], if not others like ALTER EXTENSION .... DROP FUNCTION ...;
case T_AlterExtensionStmt:
/* XXX: we could support some of these */
error_unsupported_command(GetCommandTagName(CreateCommandTag(parsetree)));
break;
- Dominant language
- C
- Stars
- 1.1k
- Forks
- 38
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aws/pgactive
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
enhancement
-
bug
-
Question regarding pgactive.skip_ddl_replication usage in an Active-Passive Application scenario Openquestion
Similar issues
-
level/task module/gcp type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
hapostgres/pg_auto_failover#1190 ·
-
docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
P3 sonic-vpp
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sonic-net/sonic-buildimage#29662 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
spack/spack-packages#6586 ·