PostgreSQL + setlocale + zle triedenie slovenskych znakov

Marian Sabo linux-cz na cps.sk
Čtvrtek Září 27 12:45:03 CEST 2001



> Marian Sabo napsal:
> > >  4. vytvorite CREATE DATABASE xxx WITH ENCODING neco;
> > ok (nieco mam SQL_ASCII, alebo co tam ma byt ?)
>
> LATIN2 by nepomohlo?
> Petr Cech

pomohlo by samozrejme, ale hned mi povedal, ze multicode not supported
mal som dojem, ze mi staci --enable-locale
kompilujem s --enable-locale --enable-multicode a neprejde mi to:
-------------------
mb/SUBSYS.o: In function `PG_char_to_encoding':
mb/SUBSYS.o(.text+0x44): multiple definition of `PG_char_to_encoding'
init/SUBSYS.o(.text+0x67c): first defined here
/usr/bin/ld: Warning: size of symbol `PG_char_to_encoding' changed from 7 to
21 in mb/SUBSYS.o
mb/SUBSYS.o: In function `getdatabaseencoding':
mb/SUBSYS.o(.text+0x14ec): multiple definition of `getdatabaseencoding'
init/SUBSYS.o(.text+0x64c): first defined here
/usr/bin/ld: Warning: size of symbol `getdatabaseencoding' changed from 23
to 32 in mb/SUBSYS.o
mb/SUBSYS.o: In function `PG_encoding_to_char':
mb/SUBSYS.o(.text+0xb8): multiple definition of `PG_encoding_to_char'
init/SUBSYS.o(.text+0x664): first defined here
/usr/bin/ld: Warning: size of symbol `PG_encoding_to_char' changed from 23
to 32 in mb/SUBSYS.o
make[3]: *** [SUBSYS.o] Error 1
make[3]: Leaving directory `/root/soft/postgres/postgresql-7.1.2
/src/backend/utils'
make[2]: *** [utils-recursive] Error 2
make[2]: Leaving directory `/root/soft/postgres/postgresql-7.1.2
/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/soft/postgres/postgresql-7.1.2/src'
make: *** [all] Error 2
-------------------

a teraz uz som zase neni mudry, co daaal ?

Maros




Další informace o konferenci Linux