ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] PostgreSQL, UNICODE DataBase
@ 2006-01-25 16:05 Jury Levykin
  2006-01-25 21:04 ` Jury Levykin
  0 siblings, 1 reply; 2+ messages in thread
From: Jury Levykin @ 2006-01-25 16:05 UTC (permalink / raw)
  To: sysadmins

ALM 2.4 без backports
Нужно создать БАЗУ ДАННЫХ с кодировкой unicode.

ввожу команду:
eldimm=# CREATE DATABASE dbname WITH OWNER = dbowner ENCODING = UNICODE;
ERROR:  syntax error at or near "UNICODE" at character 55
eldimm=#

В документации нахожу, что для поддержки расширенных кодировок на 
стадии ./configure (перед компиляцией PostgreSQL) необходимо задать 
ключ --enable-multibyte.
В спеке из postgresql-7.4.3-alt2.src.rpm это ключ стоит.

В чем может быть проблема?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Sysadmins] PostgreSQL, UNICODE DataBase
  2006-01-25 16:05 [Sysadmins] PostgreSQL, UNICODE DataBase Jury Levykin
@ 2006-01-25 21:04 ` Jury Levykin
  0 siblings, 0 replies; 2+ messages in thread
From: Jury Levykin @ 2006-01-25 21:04 UTC (permalink / raw)
  To: Jury Levykin, ALT Linux sysadmin discuss

Jury Levykin пишет:

>ввожу команду:
>eldimm=# CREATE DATABASE dbname WITH OWNER = dbowner ENCODING = UNICODE;
>ERROR:  syntax error at or near "UNICODE" at character 55
>eldimm=#
>  
>
Вот так получилось:
CREATE DATABASE dbname WITH OWNER = dbname ENCODING = 'UNICODE';


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-25 21:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-25 16:05 [Sysadmins] PostgreSQL, UNICODE DataBase Jury Levykin
2006-01-25 21:04 ` Jury Levykin

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git