I am not sure this is a bug but I request help
I am not sure this is a bug but I request help
От:
Bulent Potur <bpotur@ttnet.net.tr>
Дата:
Firstly the screen shot shortly: [bpotur@bpntbk bpotur]$ postgres -s FATAL: XX000: failed to initialize DateStyle to "ISO, MDY" LOCATION: InitializeGUCOptions, guc.c:1866 OR: [bpotur@bpntbk bpotur]$ postgres FATAL: XX000: failed to initialize DateStyle to "ISO, MDY" LOCATION: InitializeGUCOptions, guc.c:1866 [bpotur@bpntbk bpotur]$ The platform is [gelecek kurumsal linux] (a fedora v2 clone in Turkish) iso source: ftp://ftp.iqchoice.com/pub/geleceklinux/gkl-3.0/ GKL-cd1.iso and GKL-cd2.iso two cds totally installed (full install) Firstly the pgsql coming with the distribution gives the same bug error. Then all the pgsql programmes coming with the original gelecek installation are uninstalled. Then all the files at the site http://download.fedora.redhat.com/pub/fedora/linux/core/2/i386/os/Fedora/RPMS/ that is: postgresql-7.4.2-1.i386.rpm 06-May-2004 18:49 1.9M postgresql-contrib-7.4.2-1.i3..> 06-May-2004 18:49 433k postgresql-devel-7.4.2-1.i386..> 06-May-2004 18:49 1.9M postgresql-docs-7.4.2-1.i386.rpm 06-May-2004 18:49 1.2M postgresql-jdbc-7.4.2-1.i386.rpm 06-May-2004 18:49 695k postgresql-libs-7.4.2-1.i386.rpm 06-May-2004 18:49 140k postgresql-odbc-7.3-6.1.i386.rpm 06-May-2004 17:53 126k postgresql-pl-7.4.2-1.i386.rpm 06-May-2004 18:49 421k postgresql-python-7.4.2-1.i38..> 06-May-2004 18:49 38k postgresql-server-7.4.2-1.i38..> 06-May-2004 18:49 3.0M postgresql-tcl-7.4.2-1.i386.rpm 06-May-2004 18:49 22k postgresql-test-7.4.2-1.i386.rpm 06-May-2004 18:49 1.0M php-odbc-4.3.4-11.i386.rpm 06-May-2004 18:51 35k php-pgsql-4.3.4-11.i386.rpm 06-May-2004 18:51 43k all are downloaded and installed easily with rpm -i command with no errors. Then again: [bpotur@bpntbk bpotur]$ postgres FATAL: XX000: failed to initialize DateStyle to "ISO, MDY" LOCATION: InitializeGUCOptions, guc.c:1866 [bpotur@bpntbk bpotur]$ Who am I? I am trying to translate and adapt care2x into Turkish. http://www.cate2x.com/foundry/ And I have been told by a friend that I should start with pgsql just from the beginning. Though the program seems to be working excelently and efficiently with mysql as you will see at the above demo address. I hope somebody in this list could help me. Regards. Bulent Potur MD Obgyn http://medpages.obgyn.net/bpotur/
Re: I am not sure this is a bug but I request help
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Bulent Potur writes:
> [bpotur@bpntbk bpotur]$ postgres -s
> FATAL: XX000: failed to initialize DateStyle to "ISO, MDY"
> The platform is [gelecek kurumsal linux] (a fedora v2 clone in Turkish)
Turkish? Are you using a Turkish locale? If so this is probably the
infamous I/i problem. I believe we've got that fixed for 8.0, but there
isn't any simple solution in older versions ... other than not using
Turkish LC_CTYPE which you probably won't be happy with either. Search
the PG archives to see the workarounds people have used ("turkish"
should be a good search keyword).
regards, tom lane