- 06 12月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
documentation and regression test mods. It seemed small and unobtrusive enough to not require a specific proposal on the hackers list -- but if not, let me know and I'll make a pitch. Otherwise, if there are no objections please apply. Joe Conway
-
- 18 11月, 2002 1 次提交
-
-
由 Tom Lane 提交于
buffers on stack for short strings.
-
- 05 9月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 04 9月, 2002 1 次提交
-
-
由 Peter Eisentraut 提交于
referring to "multibyte" where it really means character encoding.
-
- 29 8月, 2002 2 次提交
-
-
由 Tatsuo Ishii 提交于
-
由 Bruce Momjian 提交于
should be pretty safe in practice, but it's probably better to be safe than sorry. I was actually looking for cases where NAMEDATALEN is assumed to be 32, but only found one. That's fixed too, as well as a few bits of code cleanup. Neil Conway
-
- 22 8月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
replace(string, from, to) -- replaces all occurrences of "from" in "string" to "to" split(string, fldsep, column) -- splits "string" on "fldsep" and returns "column" number piece to_hex(int32_num) & to_hex(int64_num) -- takes integer number and returns as hex string Joe Conway
-
- 04 8月, 2002 1 次提交
-
-
由 Thomas G. Lockhart 提交于
strings. Should go back in and look at doing this a bit more elegantly and (hopefully) cheaper. Probably not too bad anyway, but it seems a shame to scan the strings twice: once for length for this buffer overrun protection, and once to parse the line. Remove use of pow() in date/time handling; was already gone from everything *but* the time data types. Define macros for handling typmod manipulation for date/time types. Should be more robust than all of that brute-force inline code. Rename macros for masking and typmod manipulation to put TIMESTAMP_ or INTERVAL_ in front of the macro name, to reduce the possibility of name space collisions.
-
- 21 6月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 25 4月, 2002 1 次提交
-
-
由 Tom Lane 提交于
per pghackers discussion. Add some more typsanity tests, and clean up some problems exposed thereby (broken or missing array types for some built-in types). Also, clean up loose ends from unknownin/out patch.
-
- 24 4月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
looking for places that assume UNKNOWN == TEXT. One of those was the "SET" type in pg_type.h, which was using textin/textout. This one I took care of in this patch. The other suspicious place was in string_to_dataum (which is defined in both selfuncs.c and indxpath.c). I wasn't too sure about those, so I left them be. Joe Conway
-
- 15 4月, 2002 1 次提交
-
-
由 Tatsuo Ishii 提交于
using Joe Conway's patches (submitted at pgsql-patches on 2002/04/08) + small fix.
-
- 03 4月, 2002 1 次提交
-
-
由 Peter Eisentraut 提交于
and/or with GUC variables.
-
- 01 4月, 2002 1 次提交
-
-
由 Tom Lane 提交于
path. The default behavior if no per-user schemas are created is that all users share a 'public' namespace, thus providing behavior backwards compatible with 7.2 and earlier releases. Probably the semantics and default setting will need to be fine-tuned, but this is a start.
-
- 30 3月, 2002 1 次提交
-
-
由 Tom Lane 提交于
sequence functions how to cope with qualified names. Same code is also used for int4notin, currtid_byrelname, pgstattuple. Also, move TOAST tables into special pg_toast namespace.
-
- 05 3月, 2002 1 次提交
-
-
由 Bruce Momjian 提交于
(current as of a few hours ago.) This patch: 1. Adds PG_GETARG_xxx_P_SLICE() macros and associated support routines. 2. Adds routines in src/backend/access/tuptoaster.c for fetching only necessary chunks of a toasted value. (Modelled on latest changes to assume chunks are returned in order). 3. Amends text_substr and bytea_substr to use new methods. It now handles multibyte cases -and should still lead to a performance improvement in the multibyte case where the substring is near the beginning of the string. 4. Added new command: ALTER TABLE tabname ALTER COLUMN colname SET STORAGE {PLAIN | EXTERNAL | EXTENDED | MAIN} to parser and documented in alter-table.sgml. (NB I used ColId as the item type for the storage mode string, rather than a new production - I hope this makes sense!). All this does is sets attstorage for the specified column. 4. AlterTableAlterColumnStatistics is now AlterTableAlterColumnFlags and handles both statistics and storage (it uses the subtype code to distinguish). The previous version of my patch also re-arranged other code in backend/commands/command.c but I have dropped that from this patch.(I plan to return to it separately). 5. Documented new macros (and also the PG_GETARG_xxx_P_COPY macros) in xfunc.sgml. ref/alter_table.sgml also contains documentation for ALTER COLUMN SET STORAGE. John Gray
-
- 20 11月, 2001 2 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
with other data types, per disucssion. Encoding issue still open.
-
- 19 11月, 2001 1 次提交
-
-
由 Tom Lane 提交于
-
- 18 11月, 2001 1 次提交
-
-
由 Tatsuo Ishii 提交于
encodings.
-
- 25 10月, 2001 1 次提交
-
-
由 Bruce Momjian 提交于
tests pass.
-
- 15 9月, 2001 1 次提交
-
-
由 Bruce Momjian 提交于
> > 1. Now outputs '\\' instead of '\134' when using encode(bytea, 'escape') > Note that I ended up leaving \0 as \000 so that there are no ambiguities > when decoding something like, for example, \0123. > > 2. Fixed bug in byteain which allowed input values which were not valid > octals (e.g. \789), to be parsed as if they were octals. > > Joe > Here's rev 2 of the bytea string support patch. Changes: 1. Added missing declaration for MatchBytea function 2. Added PQescapeBytea to fe-exec.c 3. Applies cleanly on cvs tip from this afternoon I'm hoping that someone can review/approve/apply this before beta starts, so I guess I'd vote (not that it counts for much) to delay beta a few days :-) Joe Conway
-
- 11 9月, 2001 1 次提交
-
-
由 Tatsuo Ishii 提交于
* Reject character sequences those are not valid in their charset
-
- 14 8月, 2001 1 次提交
-
-
由 Tom Lane 提交于
From Joe Conway.
-
- 04 5月, 2001 1 次提交
-
-
由 Tom Lane 提交于
give consistent results for all datatypes. Types float4, float8, and numeric were broken for NaN values; abstime, timestamp, and interval were broken for INVALID values; timetz was just plain broken (some possible pairs of values were neither < nor = nor >). Also clean up text, bpchar, varchar, and bit/varbit to eliminate duplicate code and thereby reduce the probability of similar inconsistencies arising in the future.
-
- 22 3月, 2001 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 10 2月, 2001 1 次提交
-
-
由 Tom Lane 提交于
are now separate files "postgres.h" and "postgres_fe.h", which are meant to be the primary include files for backend .c files and frontend .c files respectively. By default, only include files meant for frontend use are installed into the installation include directory. There is a new make target 'make install-all-headers' that adds the whole content of the src/include tree to the installed fileset, for use by people who want to develop server-side code without keeping the complete source tree on hand. Cleaned up a whole lot of crufty and inconsistent header inclusions.
-
- 25 1月, 2001 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 04 12月, 2000 1 次提交
-
-
由 Tom Lane 提交于
values, whether the local char type is signed or not. This is necessary for portability. Per discussion on pghackers around 9/16/00.
-
- 29 7月, 2000 1 次提交
-
-
由 Tom Lane 提交于
I did not force. I marked numeric as compressable-but-not-move-off-able, partly to test that storage mode and partly because I've got doubts that numerics are large enough to need external storage.
-
- 12 7月, 2000 1 次提交
-
-
由 Tom Lane 提交于
memory contexts. Currently, only leaks in expressions executed as quals or projections are handled. Clean up some old dead cruft in executor while at it --- unused fields in state nodes, that sort of thing.
-
- 06 7月, 2000 2 次提交
- 04 7月, 2000 1 次提交
-
-
由 Jan Wieck 提交于
WARNING: This is actually broken - we have self-deadlocks due to concurrent changes in buffer management. Vadim and me are working on it. Jan
-
- 15 6月, 2000 1 次提交
-
-
由 Peter Eisentraut 提交于
we'll get there one day. Use `cat' to create aclocal.m4, not `aclocal'. Some people don't have automake installed. Only run the autoconf rule in the top-level GNUmakefile if the invoker specified `make configure', don't run it automatically because of CVS timestamp skew.
-
- 13 6月, 2000 1 次提交
-
-
由 Tom Lane 提交于
functions that take pass-by-value datatypes. Should be ready for port testing ...
-
- 13 4月, 2000 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 24 3月, 2000 1 次提交
-
-
由 Tom Lane 提交于
Clean up grotty coding in them, too. AFAICS from the CVS logs, these have been broken since Postgres95, so I'm not going to insist on an initdb to fix them now...
-
- 26 1月, 2000 1 次提交
-
-
由 Bruce Momjian 提交于
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
-
- 15 1月, 2000 1 次提交
-
-
由 Peter Eisentraut 提交于
-