8000 geoname.cc2 max length increased to 240 by mingalevme · Pull Request #13 · colemanm/gazetteer · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

geoname.cc2 max length increased to 240 #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mingalevme
Copy link

Current max length of cc2 is 170:

geonames=# SELECT cc2, LENGTH(cc2) FROM geoname WHERE geonameid = 6255146;
                                                                                    cc2                                                                                     | length
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------
 AO,BF,BI,BJ,BW,CD,CF,CG,CI,CM,CV,DJ,DZ,EG,ER,ET,GA,GH,GM,GN,GQ,GW,KE,KM,LR,LS,LY,MA,MG,ML,MR,MU,MW,MZ,NA,NE,NG,RE,RW,SC,SD,SH,SL,SN,SO,SS,ST,SZ,TD,TG,TN,TZ,UG,YT,ZA,ZM,ZW |    170

... so increasing limit to 240 is reasonable.

Current max length of cc2 is 170:

```sql
geonames=# SELECT cc2, LENGTH(cc2) FROM geoname WHERE geonameid = 6255146;
                                                                                    cc2                                                                                     | length
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------
 AO,BF,BI,BJ,BW,CD,CF,CG,CI,CM,CV,DJ,DZ,EG,ER,ET,GA,GH,GM,GN,GQ,GW,KE,KM,LR,LS,LY,MA,MG,ML,MR,MU,MW,MZ,NA,NE,NG,RE,RW,SC,SD,SH,SL,SN,SO,SS,ST,SZ,TD,TG,TN,TZ,UG,YT,ZA,ZM,ZW |    170
```

... so increasing limit to 240 is reasonable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0