crockford value contains space padding?
kgilpin opened this issue · 4 comments
kgilpin commented
I'm running:
DB["SELECT crockford(pri_nextval('key_pairs_id_seq'::regclass))"].first.values[0]
and getting a value:
"1hbz3 "
which ends with a white space. Since I am using this as the PK of a Sequel record, I am worried about having white space in my identifiers. What do you suggest?
dividedmind commented
I'm not sure why it happens; I can't reproduce it, can you tell me what key value you got?
In any case, try using pri_nextval_str(regclass)
instead.
dividedmind commented
Is this resolved?
kgilpin commented
I haven't seen it again
dividedmind commented
Closing then :)