aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/varchar.c
Commit message (Collapse)AuthorAge
...
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-01
|
* I really hope that I haven't missed anything in this one...Marc G. Fournier1998-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.
* Add auto-size to screen to \d? commands. Use UNION to show allBruce Momjian1998-07-18
| | | | | \d? results in one query. Add \d? field search feature. Rename MB to MULTIBYTE.
* Change atttypmod from int16 to int32, for Thomas.Bruce Momjian1998-07-12
|
* Hello!Bruce Momjian1998-06-16
| | | | | | | | | | | | | | | | | | | | | | | | Attached to the mail is locale-patch.tar.gz. In the archive there are: file README.locale short description directory src/test/locale test suite; currently only koi8-r tests, but the suite can be easily extended file locale.patch the very patch; to apply: patch < locale.patch; should be applied to postgres-6.3.2 (at least I created it with 6.3.2 without any additional patches) Files touched by the patch: src/include/utils/builtins.h src/backend/utils/adt/char.c src/backend/utils/adt/varchar.c src/backend/utils/adt/varlena.c Oleg
* Remove un-needed braces around single statements.Bruce Momjian1998-06-15
|
* Add conversion functions to and from the "name" data type.Thomas G. Lockhart1998-05-29
|
* Add routines to convert between varchar and bpchar.Thomas G. Lockhart1998-05-09
| | | | Add routines to allow sizing of varchar and bpchar into target columns.
* From: t-ishii@sra.co.jpMarc G. Fournier1998-04-27
| | | | | | | | | | | | | | | | | | | | | | | Hi, here are patches I promised (against 6.3.2): * character_length(), position(), substring() are now aware of multi-byte characters * add octet_length() * add --with-mb option to configure * new regression tests for EUC_KR (contributed by "Soonmyung. Hong" <hong@lunaris.hanmesoft.co.kr>) * add some test cases to the EUC_JP regression test * fix problem in regress/regress.sh in case of System V * fix toupper(), tolower() to handle 8bit chars note that: o patches for both configure.in and configure are included. maybe the one for configure is not necessary. o pg_proc.h was modified to add octet_length(). I used OIDs (1374-1379) for that. Please let me know if these numbers are not appropriate.
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-26
|
* From: "Denis V. Dmitrienko" <denis@null.net>Marc G. Fournier1998-02-24
| | | | | | | | | | | What it does: It solves stupid problem with cyrillic charsets IP-based on-fly recoding. take a look at /data/charset.conf for details. You can use any tables for any charset. Tables are from Russian Apache project. Tables in this patch contains also Ukrainian characters. Then run ./configure --enable-recode
* Pass around typmod as int16.Bruce Momjian1998-02-10
|
* atttypmod now -1.Bruce Momjian1998-02-07
|
* Fix for varchar functions, and indextyple j-1 fix.Bruce Momjian1998-02-05
|
* New pg_attribute.atttypmod for type-specific information likeBruce Momjian1998-01-16
| | | | | | | | | | | varchar length. Cleans up code so attlen is always length. Removed varchar() hack added earlier. Will fix bug in selecting varchar() fields, and varchar() can be variable length.
* Cleanup of varchar.Bruce Momjian1998-01-08
|
* Re-install working varchar() with compress size.Bruce Momjian1998-01-08
|
* Completion of varchar rollback.Bruce Momjian1998-01-08
|
* Cleanup of varchar.Bruce Momjian1998-01-08
|
* Rollback varchar size change.Bruce Momjian1998-01-08
|
* Fix for varchar I missed.Bruce Momjian1998-01-07
|
* Allow varchar() to only store needed bytes. Remove PALLOC,PALLOCTYPE,PFREE. ↵Bruce Momjian1998-01-07
| | | | Clean up use of VARDATA.
* Change some ABORTS to ERROR. Add line number when COPY Failure.Bruce Momjian1998-01-05
|
* Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian1998-01-05
|
* Change logic slightly to avoid one unnecessary calculation. No big deal.Thomas G. Lockhart1997-12-23
|
* Define text, varchar, and bpchar string length functions.Thomas G. Lockhart1997-12-16
|
* Add VARHDRSZ where needed. Many places just used 4.Bruce Momjian1997-12-06
|
* Rename strNcpy to StrNCpy, and change third parameter.Bruce Momjian1997-10-25
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-08
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-07
|
* Fix pgproc names over 15 chars in output. Add strNcpy() function. remove ↵Bruce Momjian1997-08-12
| | | | some (void) casts that are unnecessary.
* Date/Time updates from Thomas...Marc G. Fournier1997-03-14
|
* All external function definitions now have prototypes that are checked.Bruce Momjian1996-11-10
|
* Some compile failure fixes from Keith Parks <emkxp01@mtcc.demon.co.uk>Marc G. Fournier1996-11-06
|
* Remove OPENLINK defineBruce Momjian1996-11-04
|
* The patch that is applied at the end of the email makes sure that theseMarc G. Fournier1996-08-26
| | | | | | | | | | conditions are always met. The patch can be applied to any version of Postgres95 from 1.02 to 1.05. After applying the patch, queries using indices on bpchar and varchar fields should (hopefully ;-) ) always return the same tuple set regardless to the fact whether indices are used or not. Submitted by: Gerhard Reithofer <tbr_laa@AON.AT>
* Submitted by Openlink, requires -DOPENLINK_PATCHES in Makefile.globalMarc G. Fournier1996-07-15
| | | | | | | | | | | | | varchar.diff ------------ This patch was necessary for the OpenLink Postgres Database Agent. I think this fixes a bug anyway. The following query demonstrates this bug: create table foo (bar varchar); insert into foo values (''); -- no problem select * from foo where bar = ''; -- fails
* Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01Marc G. Fournier1996-07-09