Korea FreeBSD Users Group News, Internal, Projects, Home
Software, Support, Documentation

Re: PostgreSQLÀÇ ·ÎÄÉÀϼ³Á¤



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ]

[ÀÌÀü ±Û] [´ÙÀ½ ±Û] [ÀÌÀü ´ñ±Û] [´ÙÀ½ ´ñ±Û]


From: 김태우 <wizzet@xxxxxxxxxx>
Subject: PostgreSQL의 로케일설정
Date: Sat, 1 Mar 2003 02:15:54 +0900

> PostgreSQL-7.3.2의 포트(port)를 컴파일했습니다. 로케일에 관련해서 다음과
> 같은 설명이 나오던데요.
> 
> ---------------------------
> To initialize the database, you should run initdb as the "pgsql" user
> (if you want to use your locale for collation, edit ~pgsql/.profile
> and set the locale to your preference first).
> ---------------------------
> 
> 그래서 "~pgsql/.profile"을 열어보니 다음과 같은 줄이 나옵니다.
> 
> ---------------------------
> #You might want to set some locale stuff here
> #PGDATESTYLE=ISO
> #LC_ALL=sv_SE.ISO_8859-1
> #export PGDATESTYLE LC_ALL
> ---------------------------
> 
> 위의 줄이 로케일 설정과 관련되었다는 사실은 알겠습니다만
> "PGDATESTYLE"과 "LC_ALL"을 각각 어떤값으로 바꿔야 할지 모르겠습니다.

PGDATESTYLE은 다음과 같습니다.

출력형식 이름   출력예          비고
-----------------------------------------------------
ISO             1998-09-23      기본값 (7.0 이후)
SQL             09/23/1998
Postgres        09-23-1998
German          23.09.1998

LC_ALL은 ko_KR.eucKR 이면 됩니다.

--
CHOI Junho <http://www.kr.FreeBSD.org/~cjh>     KFUG <cjh at kr.FreeBSD.org>
FreeBSD Project <cjh at FreeBSD.org>        Web Data Bank <cjh at wdb.co.kr>
Key fingerprint = 1369 7374 A45F F41A F3C0  07E3 4A01 C020 E602 60F5
--
Please look and take part in KFUG FAQ: <http://www.kr.freebsd.org/FAQ-kr/>
To Unsubscribe: send mail to majordomo@xxxxxxxxxxxxxx
with "unsubscribe questions" in the BODY of the message



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ]

Copyright © 1998-2005 Korea FreeBSD Users Group.
All rights reserved. webmaster at kr.FreeBSD.org
$Date: 2003/03/31 23:00:55 $
Powered by FreeBSD