비가 하루종일 엄청나게 오네
'개소리 왈왈 > 정치관련 신세한탄' 카테고리의 다른 글
오늘의 늬우스 (4) | 2019.12.12 |
---|---|
가끔씩 보이는.. 강박적인 행동들 (0) | 2019.12.09 |
이제 무임승차를 없애면 되겠네? (2) | 2019.04.23 |
3.1절 100주년 (2) | 2019.03.01 |
좀 많이 늦은(?) HTTPS SNI 차단에 대한 견해 (2) | 2019.02.15 |
비가 하루종일 엄청나게 오네
오늘의 늬우스 (4) | 2019.12.12 |
---|---|
가끔씩 보이는.. 강박적인 행동들 (0) | 2019.12.09 |
이제 무임승차를 없애면 되겠네? (2) | 2019.04.23 |
3.1절 100주년 (2) | 2019.03.01 |
좀 많이 늦은(?) HTTPS SNI 차단에 대한 견해 (2) | 2019.02.15 |
자.. 어떻게 설계할까...
[링크 : https://akaisun.tistory.com/52]
+
2019.08.15
당연하지만(?) schema 식별자가 public이 아니면 넣어주어야 한다.
[링크 : https://www.postgresdba.com/bbs/board.php?bo_table=B10&wr_id=28]
sql 테이블에 검색한 값을 넣을때 고정값도 넣기 (0) | 2019.08.16 |
---|---|
pgadmin 초기 시작시 브라우저 선택 (0) | 2019.08.15 |
postgresql 변수 타입 (0) | 2019.08.12 |
postgres 문자열 타입 (0) | 2019.08.09 |
postgresql - 테이블 형상 보기 (0) | 2019.08.08 |
별다른 모듈 끌어오지 않아도 기본으로
new RegExp()를 통해 생성이 가능하다.
아래는 파일명에서 YYYY-MM 으로 된 녀석을 검색하는 예제
음.. 근데 딱 그 부분만 빼내는 법은 없나?
> var regex = new RegExp('[0-9]{4}-[0-9]{2}') undefined > regex /[0-9]{4}-[0-9]{2}/ > var fn = "ClinVarFullRelease_2019-07.xml" undefined > fn.match(regex); [ '2019-07', index: 19, input: 'ClinVarFullRelease_2019-07.xml' ] |
[링크 : https://stackoverflow.com/questions/5675315/node-js-regular-expression-to-get-from-and-to]
+
regex.exec(fn)
[링크 : https://opentutorials.org/course/50/43]
+
()로 묶으면 완전히 매칭되는 부분만 결과를 돌려준다.
> var regex = new RegExp('([0-9]{4}-[0-9]{2})') undefined > fn.match(regex); [ '2019-07', '2019-07', index: 19, input: 'ClinVarFullRelease_2019-07.xml' ] |
node.js xpath 지원함수 목록 (0) | 2019.09.10 |
---|---|
node.js csv2json (0) | 2019.08.21 |
node.js xpath 모듈 (0) | 2019.08.08 |
xpath text() (0) | 2019.08.07 |
node.js readline과 r/w stream (0) | 2019.07.31 |
xml namespace나 schema 관련된 녀석을 조회하려는데
어떻게 해야 할지 감이 안와서(evaluation fail막 뜨고..) 찾다가 발견
name이 아니라 name()이 포인트
//*[name()='xsi:noNamespaceSchemaLocation'] |
[링크 : https://stackoverflow.com/questions/4817112/xpath-query-for-xml-node-with-colon-in-node-name]
xsi는 Xml Schema Instance의 약자인 것으로 보인다.
인스턴스 문서가 참조할 때는 두 가지 특별한 애트리뷰트를 사용하는데, xsi:schemaLocation과 xsi:noNamespaceSchemaLocation이 그것이다. 관습적으로 "xsi"는 "http://www.w3.org/2001/XMLSchema-instance"를 가리키는 접두어로 쓰인다.) |
xsd minOccurs, maxOccurs (0) | 2019.09.11 |
---|---|
xpath count() (0) | 2019.09.09 |
xpath concat (0) | 2019.08.08 |
xpath syntax - attribute 검색 및 특정값 얻기 (0) | 2019.08.08 |
xpath.. (0) | 2019.08.01 |
bigint(int8) 64bit
interger(int, int4) 32bit
double precision(float8 = 64bit)
real(float4 = 32bit)
[링크 : https://www.postgresql.org/docs/9.2/datatype.html]
JSON 변수 타입 접근 연산자
-> (JSON object or array)
->> (stringigy?)
tablename->'json_key'->'json_key'
pgadmin 초기 시작시 브라우저 선택 (0) | 2019.08.15 |
---|---|
postgres sequence - auto increment (0) | 2019.08.13 |
postgres 문자열 타입 (0) | 2019.08.09 |
postgresql - 테이블 형상 보기 (0) | 2019.08.08 |
psql 테이블 목록보기 (0) | 2019.08.08 |
NR(number of Record?)
NF(number of Field?)
[링크 : https://ko.wikibooks.org/wiki/예제로_배우는_AWK/필드와_레코드]
The variable NF is set to the total number of fields in the input record.
linux 수동 trim (0) | 2019.08.16 |
---|---|
jq - json in linux command line (0) | 2019.08.16 |
smart trip temperature? (0) | 2019.08.05 |
uniq (0) | 2019.07.30 |
xz.. 느려!!! (0) | 2019.07.26 |
자연촌, 여주참숯마을 왔음
수영장도 꽤나 여려개 다양하게 있고
실내 1개
실외 5개?
일단은 실외는 전부 간이형 수영장이지만 나름 괜찮은 듯
유틸리티 쓰니 text로 생성하고
기존에 다른 사람이 생성한걸 보니 character varying으로 많이 해놔서 타입을 보니.
text = varchar (무제한)
char = char (고정 길이)
varchar = character varying (길이 제한)
타입자체가 성능에 영향을 미치지는 않는다는데.. 어느게 나으려나 고민할 필요도 없는건가..
Different from other database systems, in PostgreSQL, there is no performance difference among three character types. In most situation, you should use text or varchar, and varchar(n) if you want PostgreSQL to check for the length limit. |
[링크 : http://www.postgresqltutorial.com/postgresql-char-varchar-text/]
[링크 : https://codeday.me/ko/qa/20190305/2011.html]
postgres sequence - auto increment (0) | 2019.08.13 |
---|---|
postgresql 변수 타입 (0) | 2019.08.12 |
postgresql - 테이블 형상 보기 (0) | 2019.08.08 |
psql 테이블 목록보기 (0) | 2019.08.08 |
pgfutter (0) | 2019.08.06 |