- 21 Feb, 2004 1 commit
-
-
Tom Lane authored
problem, per previous discussion. Make some additional changes to centralize the knowledge of just how identifier downcasing is done, in hopes of simplifying any future tweaking in this area.
-
- 31 Jan, 2004 2 commits
-
-
Neil Conway authored
appendStringInfo(buf, "%s", str); with appendStringInfoString(buf, str); as the latter form is slightly faster.
-
Tom Lane authored
case, per report from Korea PostgreSQL Users' Group. Also do some cosmetic cleanup in nearby code.
-
- 19 Dec, 2003 1 commit
-
-
Tom Lane authored
unsigned integers). Per report from Jim Crate.
-
- 30 Nov, 2003 1 commit
-
-
Joe Conway authored
octal escape all octets outside the range 0x20 to 0x7e. This fixes the problem pointed out by Sergey Yatskevich here: http://archives.postgresql.org/pgsql-bugs/2003-11/msg00140.php
-
- 29 Nov, 2003 1 commit
-
-
PostgreSQL Daemon authored
$Header: -> $PostgreSQL Changes ...
-
- 25 Sep, 2003 1 commit
-
-
Peter Eisentraut authored
terms, add some clarifications, fix some untranslatable attempts at dynamic message building.
-
- 04 Aug, 2003 3 commits
-
-
Tom Lane authored
and seems to have too few users to justify maintaining.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 27 Jul, 2003 1 commit
-
-
Tom Lane authored
the bulk of the heavy lifting ...
-
- 27 Jun, 2003 1 commit
-
-
Tom Lane authored
comparison functions), replacing the highly bogus bitwise array_eq. Create a btree index opclass for ANYARRAY --- it is now possible to create indexes on array columns. Arrange to cache the results of catalog lookups across multiple array operations, instead of repeating the lookups on every call. Add string_to_array and array_to_string functions. Remove singleton_array, array_accum, array_assign, and array_subscript functions, since these were for proof-of-concept and not intended to become supported functions. Minor adjustments to behavior in some corner cases with empty or zero-dimensional arrays. Joe Conway (with some editorializing by Tom Lane).
-
- 25 Jun, 2003 1 commit
-
-
Bruce Momjian authored
Joe Conway
-
- 24 Jun, 2003 1 commit
-
-
Bruce Momjian authored
Joe Conway
-
- 15 May, 2003 1 commit
-
-
Peter Eisentraut authored
class when lc_collate is not C.
-
- 09 May, 2003 1 commit
-
-
Tom Lane authored
testing purposes.
-
- 24 Apr, 2003 1 commit
-
-
Tom Lane authored
rewritten and the protocol is changed, but most elog calls are still elog calls. Also, we need to contemplate mechanisms for controlling all this functionality --- eg, how much stuff should appear in the postmaster log? And what API should libpq expose for it?
-
- 10 Mar, 2003 1 commit
-
-
Tom Lane authored
PostgreSQL source code. Neil Conway
-
- 06 Dec, 2002 1 commit
-
-
Bruce Momjian authored
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
-
- 17 Nov, 2002 1 commit
-
-
Tom Lane authored
buffers on stack for short strings.
-
- 04 Sep, 2002 1 commit
-
-
Bruce Momjian authored
-
- 03 Sep, 2002 1 commit
-
-
Peter Eisentraut authored
referring to "multibyte" where it really means character encoding.
-
- 29 Aug, 2002 1 commit
-
-
Tatsuo Ishii authored
-
- 28 Aug, 2002 1 commit
-
-
Bruce Momjian authored
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 Aug, 2002 1 commit
-
-
Bruce Momjian authored
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 Aug, 2002 1 commit
-
-
Thomas G. Lockhart authored
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.
-
- 20 Jun, 2002 1 commit
-
-
Bruce Momjian authored
-
- 25 Apr, 2002 1 commit
-
-
Tom Lane authored
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 Apr, 2002 1 commit
-
-
Bruce Momjian authored
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 Apr, 2002 1 commit
-
-
Tatsuo Ishii authored
using Joe Conway's patches (submitted at pgsql-patches on 2002/04/08) + small fix.
-
- 03 Apr, 2002 1 commit
-
-
Peter Eisentraut authored
and/or with GUC variables.
-
- 01 Apr, 2002 1 commit
-
-
Tom Lane authored
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 Mar, 2002 1 commit
-
-
Tom Lane authored
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 Mar, 2002 1 commit
-
-
Bruce Momjian authored
(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
-
- 19 Nov, 2001 3 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
with other data types, per disucssion. Encoding issue still open.
-
Tom Lane authored
-
- 18 Nov, 2001 1 commit
-
-
Tatsuo Ishii authored
encodings.
-
- 25 Oct, 2001 1 commit
-
-
Bruce Momjian authored
tests pass.
-
- 14 Sep, 2001 1 commit
-
-
Bruce Momjian authored
> > 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
-