View Issue Details

IDProjectCategoryView StatusLast Update
0011500Talermerchant backendpublic2026-06-10 15:09
ReporterFlorian Dold Assigned ToChristian Grothoff Resolution 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
PrioritynormalSeverityminorReproducibilityalways
Status informingResolutionfixed 
Target Version1.6Fixed in Version1.6 
Summary0011500: merchant GC fails with SQL error
Description$ sudo -u taler-merchant-httpd taler-merchant-dbinit --gc

2026-06-10T14:13:13.591097+0000 pq-66923 ERROR Query `run_gc' failed with result: column "merchant_serial" does not exist/(null)/ERROR: column "merchant_serial" does not exist
LINE 1: SELECT DISTINCT merchant_serial
                        ^
QUERY: SELECT DISTINCT merchant_serial
      FROM merchant_statistic_counter_event
CONTEXT: PL/pgSQL function merchant_statistic_amount_gc() line 20 at FOR over SELECT rows
SQL statement "CALL merchant_statistic_amount_gc ()"
PL/pgSQL function merchant_do_gc(bigint) line 14 at CALL
/PGRES_FATAL_ERROR/ERROR: column "merchant_serial" does not exist
LINE 1: SELECT DISTINCT merchant_serial
                        ^
QUERY: SELECT DISTINCT merchant_serial
      FROM merchant_statistic_counter_event
CONTEXT: PL/pgSQL function merchant_statistic_amount_gc() line 20 at FOR over SELECT rows
SQL statement "CALL merchant_statistic_amount_gc ()"
PL/pgSQL function merchant_do_gc(bigint) line 14 at CALL

2026-06-10T14:13:13.591425+0000 taler-merchant-dbinit-66923 ERROR Failed to garbage collect database
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2026-06-10 14:55

manager   ~0028840

Might be fixed 1042ca08..a35e20ca

Issue History

Date ModifiedUsernameFieldChange
2026-06-10 14:16Florian DoldNew Issue
2026-06-10 14:32Christian GrothoffAssigned To => Christian Grothoff
2026-06-10 14:32Christian GrothoffStatusnew => assigned
2026-06-10 14:55Christian GrothoffNote Added: 0028840
2026-06-10 15:09Christian GrothoffStatusassigned => informing
2026-06-10 15:09Christian GrothoffResolutionopen => fixed
2026-06-10 15:09Christian GrothoffFixed in Version => 1.6