View Issue Details

IDProjectCategoryView StatusLast Update
0004583Talerexchangepublic2024-01-12 13:05
ReporterChristian Grothoff 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
PrioritynoneSeveritytweakReproducibilityN/A
Status closedResolutionnot fixable 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Version0.0 
Target Version0.4Fixed in Version0.4 
Summary0004583: should use CREATE TYPE to define amount type in postgres backends
Descriptionhttps://www.postgresql.org/docs/current/static/sql-createtype.html
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2017-04-01 23:05

manager   ~0012015

Should probably also do this for common types:

http://www.sqlines.com/postgresql/how-to/create_user_defined_type

Christian Grothoff

2017-07-14 17:31

manager   ~0012335

Close investigation shows that custom types cannot declare constraints (like not-null, length limits) so they are useless for keys/hashes.

Also, for the amount, we then cannot use libpq to easily extract the values without some atrocious "(amount).val AS amount_val" SQL which defeats the point of using the custom types in the first place for amounts.

TLTR: custom types cannot be used in a useful way for us.

Issue History

Date ModifiedUsernameFieldChange
2016-06-19 21:54Christian GrothoffNew Issue
2016-06-19 21:54Christian GrothoffStatusnew => assigned
2016-06-19 21:54Christian GrothoffAssigned To => Sree Harsha Totakura
2016-06-19 21:54Christian GrothoffAssigned ToSree Harsha Totakura =>
2016-06-19 21:54Christian GrothoffStatusassigned => implementing
2017-03-18 22:35Christian GrothoffTarget Version => 0.7.1
2017-04-01 23:05Christian GrothoffNote Added: 0012015
2017-04-08 22:08Christian GrothoffSeverityfeature => tweak
2017-04-08 22:08Christian GrothoffAssigned To => Christian Grothoff
2017-04-08 22:08Christian GrothoffStatusimplementing => assigned
2017-04-08 22:17Christian GrothoffTarget Version0.7.1 => 0.6
2017-07-14 17:31Christian GrothoffStatusassigned => informing
2017-07-14 17:31Christian GrothoffResolutionopen => not fixable
2017-07-14 17:31Christian GrothoffFixed in Version => 0.4
2017-07-14 17:31Christian GrothoffNote Added: 0012335
2017-07-14 17:31Christian GrothoffTarget Version0.6 => 0.4
2017-10-18 13:42Christian GrothoffStatusinforming => closed
2024-01-12 13:05Christian GrothoffCategoryexchange Postgres DB backend => exchange