View Issue Details

IDProjectCategoryView StatusLast Update
0009668Talerexchangepublic2026-02-07 21:37
Reporteroec Assigned ToResolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynoneSeverityfeatureReproducibilityalways
Status implementingResolutionopen 
Product Versiongit (master) 
Target Versionpost-2.0 
Summary0009668: Potentially change the SQL versioning framework to use schema scopes for versions
DescriptionRight now, SQL functions like `create_table_foo` are in a global scope.
This has created friction when dropping and re-creation of a table becomes necessary.
Similarly, all functions like `alter_table_foo` and `constraint_table_foo` can only
exist once in the global namespace.

Right now we do have workarounds by using digit-suffixes, like `alter_table_foo5`, to
overcome this, and that works for `alter` and `constraint` actions, but fail for `create`.

Instead, we should try and place the functions for each version into their own schema,
f.e. in `0023-exchange.sql.in` starting with a `SEARCH exchange-0023;` statement.
Additional InformationIt is not clear if this approach will work easily and if the function themselves would
need to be aware of the schemata and their logic get more complicated.

We need to try and figures this out.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

There are no notes attached to this issue.

Issue History

Date ModifiedUsernameFieldChange
2025-03-27 14:59oecNew Issue
2025-03-27 14:59oecStatusnew => assigned
2025-03-27 14:59oecAssigned To => Christian Grothoff
2025-03-27 15:35Christian GrothoffAssigned ToChristian Grothoff =>
2025-03-27 15:35Christian GrothoffStatusassigned => implementing
2026-01-25 16:33Christian GrothoffTarget Versionpost-1.0 => post-2.0
2026-02-07 21:37Christian GrothoffPrioritynormal => none