summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2001-09-21For consistency with the rest of PostgreSQL, rename BLOBs to large objectsPeter Eisentraut
in messages and documentation.
2001-09-21Add 'reload' option to pg_ctl to send SIGHUP to the postmaster.Tom Lane
2001-09-21Code review for MD5 authorization patch. Clean up some breakageTom Lane
(salts were always zero!?), add much missing documentation.
2001-09-21Readd test/regress/README file, this time with a well-defined and simplePeter Eisentraut
rule to remake it when necessary.
2001-09-21Add an overall timeout on the client authentication cycle, so thatTom Lane
a hung client or lost connection can't indefinitely block a postmaster child (not to mention the possibility of deliberate DoS attacks). Timeout is controlled by new authentication_timeout GUC variable, which I set to 60 seconds by default ... does that seem reasonable?
2001-09-21Fix type_maximum_size() to give the right answer in MULTIBYTE cases.Tom Lane
Avoid use of prototype-less function pointers in MB code.
2001-09-211) Avoid an overflow of connection string for Access(Microsoft Jet).Hiroshi Inoue
2) Change to retry lower version in case of "Unsupported frontend procotol".
2001-09-21Produce slightly saner-looking EXPLAIN output for a Result node.Tom Lane
2001-09-21Give VACUUM its own GUC parameter for memory usage, rather thanTom Lane
piggybacking on SortMem. Add documentation for some recently-added GUC parameters that had so far escaped it.
2001-09-21Quick-and-dirty fix for recursive plpgsql functions, per bug report fromTom Lane
Frank Miles 7-Sep-01. This is really just sticking a finger in the dike. Frank's case works now, but we still couldn't support a recursive function returning a set. Really need to restructure querytrees and execution state so that the querytree is *read only*. We've run into this over and over and over again ... it has to happen sometime soon.
2001-09-20Suppress gcc warning.Tom Lane
2001-09-20Remove some dead code and obsolete, misleading comments.Tom Lane
2001-09-20Provide tunable knob for x = NULL -> x IS NULL transformation, default to off.Peter Eisentraut
2001-09-19Remove old file.Peter Eisentraut
2001-09-19Change the version. We are moving towards the next release.D'Arcy J.M. Cain
Fixed a nasty bug that messed up negative money amounts.
2001-09-19Avoid unnecessary strcasecmp -- replace by strcmp. Fixes reported bugPeter Eisentraut
that made setting serializable isolation level impossible in Turkish locale.
2001-09-19- Synced preproc.y with gram.y.Michael Meskes
- Synced pgc.l with scan.l. - Synced keyword.c. - Include the remaining patches by Christof Petig <christof.petig@wtal.de>.
2001-09-19Replace useless strcasecmp's by strcmp's.Peter Eisentraut
2001-09-18EXPLAIN ANALYZE feature to measure and show actual runtimes and tupleTom Lane
counts alongside the planner's estimates. By Martijn van Oosterhout, with some further work by Tom Lane.
2001-09-17Unify the zip rules and variables.Peter Eisentraut
2001-09-17Fix bogus failure-return value from lo_create, per report from GavinTom Lane
Sherry. Also clean up leakage of open files and LOs in failure exits from lo_import and lo_export.
2001-09-17Attached is a patch that fixes ResultSetMetaData.isNullable() inBruce Momjian
the JDBC driver. This method is currently unimplemented and always returns ResultSetMetaData.columnNullable. This is obviously incorrect when a column is defined with NOT NULL or PRIMARY KEY. And we have to think of check constraints, views, functions etc. The patch simply changes the return value to ResultSetMetaData.columnNullableUnknown. This is until someone comes up with a real implementation of course. On Fri, 14 Sep 2001 17:53:50 +0200, Tomisaw Kity?ski wrote: >Hello there, > >could someone tell me, please, do I have any chance to get >proper implementation of above method in JDBC (1.1+) soon? > >Current "return 1" works fine on most tables, however it seems >to be a little bit incorrect with some of them ;) Ren? Pijlman
2001-09-17I'm attaching a patch which fixes the corruption in strings causedBruce Momjian
by escape processing in the SQL statement. I've tested this for a while now and it appears to work well. Previously string data with {d was getting corrupt as the {d was being stripped regardless of whether it was an escape code or not. I also added checking for time and timestamp escape processing strings as per 11.3 in the specification. The patch is against the latest CVS. Thomas O'Dowd
2001-09-17Change FixupBlobXrefs() to take 'lo' type into account.Hiroshi Inoue
2001-09-17Simplify and clean up FigureColname; make it work without coredumpingTom Lane
for TypeCast case.
2001-09-17Use portable putenv(), not unportable setenv().Tom Lane
2001-09-17Suppress compiler warning.Tom Lane
2001-09-16Russian translation from Serguei MokhovPeter Eisentraut
2001-09-16Update from Serguei MokhovPeter Eisentraut
2001-09-16Install dynamically loadable modules into a private subdirectoryPeter Eisentraut
under libdir, for a cleaner separation in the installation layout and compatibility with binary packaging standards. Point backend's default search location there. The contrib modules are also installed in the said location, giving them the benefit of the default search path as well. No changes in user interface nevertheless.
2001-09-14> Here's a revised patch. Changes: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
2001-09-14Allow '1' in jdbc2 boolean test.Bruce Momjian
2001-09-14Remove --enable-unicode-conversionTatsuo Ishii
unicode-conversion is always on if --enable-multibyte is specified Tatsuo Ishii
2001-09-14Change an *if condition*.Hiroshi Inoue
Hiroshi Inoue
2001-09-141) Improve the implementation of *Disallow Premature* forHiroshi Inoue
older versions of servers. 2) Implement SQLProcedures. Hiroshi Inoue
2001-09-14Fix a coversation error with pre 6.4 versions.Hiroshi Inoue
Hiroshi Inoue
2001-09-13Add missing paren to ODBC compiles.Bruce Momjian
2001-09-13Didn't want that jdbc patch in there yet.Bruce Momjian
2001-09-13> I found a problem with PQescapeString (I think). Since it escapesBruce Momjian
> null bytes to be literally '\0', the following can happen: > 1. User inputs string value as "<null byte>##" where ## are digits in the > range of 0 to 7. > 2. PQescapeString converts this to "\0##" > 3. Escaped string is used in a context that causes "\0##" to be evaluated as > an octal escape sequence. I agree that this is a problem, though it is not possible to do anything harmful with it. In addition, it only occurs if there are any NUL characters in its input, which is very unlikely if you are using C strings. The patch below addresses the issue by removing escaping of \0 characters entirely. > If the goal is to "safely" encode null bytes, and preserve the rest of the > string as it was entered, I think the null bytes should be escaped as \\000 > (note that if you simply use \000 the same string truncation problem > occurs). We can't do that, this would require 4n + 1 bytes of storage for the result, breaking the interface. Florian Weimer
2001-09-131) Not export ODBC 3.0 functions.Hiroshi Inoue
2) (Maybe) fix a bug reported by Mika Muntila.
2001-09-12max_locks_per_transaction seems to be a more consistent name thanPeter Eisentraut
max_locks_per_xact.
2001-09-12It is not fixed and I doubt that it is working fine in current CVS. TheBruce Momjian
bugfix is in the attached patch. Please apply it. Thanks. Output must be: test=# SELECT to_char(485, 'RN'); to_char ----------------- CDLXXXV (1 row) test=# SELECT to_char(485, 'FMRN'); to_char --------- CDLXXXV (1 row) test=# SELECT to_char(1000, 'RN'); to_char ----------------- M (1 row) test=# SELECT to_char(7.2, '"Welcome to"9.9 "release! :-)"'); to_char ----------------------------- Welcome to 7.2 release! :-) (1 row) Karel Zak
2001-09-12I noticed that plpython does not make the relid available insideBruce Momjian
a trigger the way that pltcl does. Here's a little patch that adds it in. -Brad McLean
2001-09-11Link ODBC driver with -lnsl and -lsocket, for Solaris.Peter Eisentraut
reported by Bob Deblier (bob@virtualunlimited.com)
2001-09-11Use gcc -shared rather than gcc -G for shared library linking on Solaris.Peter Eisentraut
suggested by Bob Deblier (bob@virtualunlimited.com)
2001-09-11Invoke on_exit() with correct number and type of arguments.Peter Eisentraut
2001-09-11Fix some multibyte related bugs.Hiroshi Inoue
Psqlodbc is 7.01.0007 now. Hiroshi Inoue
2001-09-11Implement following item in TODO:Tatsuo Ishii
* Reject character sequences those are not valid in their charset
2001-09-11Implement following item in TODO:Tatsuo Ishii
* Reject character sequences those are not valid in their charset
2001-09-10Add explicit '-print' to 'find' commands.Peter Eisentraut
(partially) from Ian Lance Taylor