cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

sql: change users from strings to url.Users

Open asubiotto opened this issue 10 years ago • 6 comments

Currently we represent users like security.RootUser and server.TestUser as their string username ("root" and "testuser"). It makes more sense for these to be url.Users since #9794 uses them to construct PGURLs with passwords and currently makes unnecessary conversions.

asubiotto avatar Oct 11 '16 15:10 asubiotto

@asubiotto maybe I can try to fix it.

yznming avatar Oct 14 '16 00:10 yznming

Thanks! I would recommend waiting for #9794 so that you don't have to repeat any changes.

asubiotto avatar Oct 14 '16 13:10 asubiotto

@asubiotto got it. I will wait until #9794 merged.

yznming avatar Oct 18 '16 09:10 yznming

#9794 merged

asubiotto avatar Nov 01 '16 16:11 asubiotto

got it. I will start fixing it now.

yznming avatar Nov 04 '16 08:11 yznming

Closed. Refer to #10591.

asubiotto avatar Nov 16 '16 18:11 asubiotto