Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Remove pg_encoding. Not needed anymore since we have an initdb in C. | Bruce Momjian | 2004-04-20 |
| | |||
* | $Header: -> $PostgreSQL Changes ... | PostgreSQL Daemon | 2003-11-29 |
| | |||
* | Fix some copyright notices that weren't updated. Improve copyright tool | Tom Lane | 2003-08-04 |
| | | | | so it won't miss 'em again. | ||
* | pgindent run. | Bruce Momjian | 2003-08-04 |
| | |||
* | Returns exit status 1 if invalid encoding name or | Tatsuo Ishii | 2002-10-20 |
| | | | | encoding number is given. | ||
* | pgindent run on all C files. Java run to follow. initdb/regression | Bruce Momjian | 2001-10-25 |
| | | | | tests pass. | ||
* | Commit Karel's patch. | Tatsuo Ishii | 2001-09-06 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------- Subject: Re: [PATCHES] encoding names From: Karel Zak <zakkr@zf.jcu.cz> To: Peter Eisentraut <peter_e@gmx.net> Cc: pgsql-patches <pgsql-patches@postgresql.org> Date: Fri, 31 Aug 2001 17:24:38 +0200 On Thu, Aug 30, 2001 at 01:30:40AM +0200, Peter Eisentraut wrote: > > - convert encoding 'name' to 'id' > > I thought we decided not to add functions returning "new" names until we > know exactly what the new names should be, and pending schema Ok, the patch not to add functions. > better > > ...(): encoding name too long Fixed. I found new bug in command/variable.c in parse_client_encoding(), nobody probably never see this error: if (pg_set_client_encoding(encoding)) { elog(ERROR, "Conversion between %s and %s is not supported", value, GetDatabaseEncodingName()); } because pg_set_client_encoding() returns -1 for error and 0 as true. It's fixed too. IMHO it can be apply. Karel PS: * following files are renamed: src/utils/mb/Unicode/KOI8_to_utf8.map --> src/utils/mb/Unicode/koi8r_to_utf8.map src/utils/mb/Unicode/WIN_to_utf8.map --> src/utils/mb/Unicode/win1251_to_utf8.map src/utils/mb/Unicode/utf8_to_KOI8.map --> src/utils/mb/Unicode/utf8_to_koi8r.map src/utils/mb/Unicode/utf8_to_WIN.map --> src/utils/mb/Unicode/utf8_to_win1251.map * new file: src/utils/mb/encname.c * removed file: src/utils/mb/common.c -- Karel Zak <zakkr@zf.jcu.cz> http://home.zf.jcu.cz/~zakkr/ C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz | ||
* | Fix compiler warning | Tatsuo Ishii | 2000-02-19 |
| | |||
* | include cleanup | Bruce Momjian | 2000-02-16 |
| | |||
* | - Allow array on int8 | Peter Eisentraut | 2000-01-15 |
| | | | | | | - Prevent permissions on indexes - Instituted --enable-multibyte option and tweaked the MB build process where necessary - initdb prompts for superuser password | ||
* | Hi, | Bruce Momjian | 1999-12-16 |
| | | | | | | | | | | | | | | | | | I sending promised patch with: * getopt_long() - for pg_dump (portable) * and "Usage: " changes in scripts in src/bin/ - this changes are cosmetic only, not change any feature ...etc. All PostgreSQL routines (scripts) support now long options and help's output is alike for all scripts and all support -? or --help. Karel Karel Zak <zakkr@zf.jcu.cz> http://home.zf.jcu.cz/~zakkr/ | ||
* | Move some system includes into c.h, and remove duplicates. | Bruce Momjian | 1999-07-17 |
| | |||
* | Change my-function-name-- to my_function_name, and optimizer renames. | Bruce Momjian | 1999-02-13 |
| | |||
* | OK, folks, here is the pgindent output. | Bruce Momjian | 1998-09-01 |
| | |||
* | I really hope that I haven't missed anything in this one... | Marc G. Fournier | 1998-07-24 |
From: t-ishii@sra.co.jp Attached are patches to enhance the multi-byte support. (patches are against 7/18 snapshot) * determine encoding at initdb/createdb rather than compile time Now initdb/createdb has an option to specify the encoding. Also, I modified the syntax of CREATE DATABASE to accept encoding option. See README.mb for more details. For this purpose I have added new column "encoding" to pg_database. Also pg_attribute and pg_class are changed to catch up the modification to pg_database. Actually I haved added pg_database_mb.h, pg_attribute_mb.h and pg_class_mb.h. These are used only when MB is enabled. The reason having separate files is I couldn't find a way to use ifdef or whatever in those files. I have to admit it looks ugly. No way. * support for PGCLIENTENCODING when issuing COPY command commands/copy.c modified. * support for SQL92 syntax "SET NAMES" See gram.y. * support for LATIN2-5 * add UNICODE regression test case * new test suite for MB New directory test/mb added. * clean up source files Basic idea is to have MB's own subdirectory for easier maintenance. These are include/mb and backend/utils/mb. |