aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Implement TODO item:Bruce Momjian2001-09-23
| | | | | | * Change LIMIT val,val to offset,limit to match MySQL Documentation updates too.
* Provide some initial support for building the ODBC driver forPeter Eisentraut2001-09-22
| | | | | | | | an already installed iODBC or unixODBC driver manager. In particular, use the include files provided by the driver manager over our own, and use the odbcinst library of the driver manager rather than gpps.c. Migrate portability sections common to several files into psqlodbc.h.
* Fix expected files.Tatsuo Ishii2001-09-22
|
* Remove test driversTatsuo Ishii2001-09-22
| | | | Also fix comment in conv.c.
* sbasename $0 is now basename "$0"Bruce Momjian2001-09-22
|
* Make trim/ltrim/rtrim/btrim multibyte awareTatsuo Ishii2001-09-22
| | | | (previous commit was missing commit messages)
* *** empty log message ***Tatsuo Ishii2001-09-22
|
* For consistency with the rest of PostgreSQL, rename BLOBs to large objectsPeter Eisentraut2001-09-21
| | | | in messages and documentation.
* Add 'reload' option to pg_ctl to send SIGHUP to the postmaster.Tom Lane2001-09-21
|
* Code review for MD5 authorization patch. Clean up some breakageTom Lane2001-09-21
| | | | (salts were always zero!?), add much missing documentation.
* Readd test/regress/README file, this time with a well-defined and simplePeter Eisentraut2001-09-21
| | | | rule to remake it when necessary.
* Add an overall timeout on the client authentication cycle, so thatTom Lane2001-09-21
| | | | | | | 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?
* Fix type_maximum_size() to give the right answer in MULTIBYTE cases.Tom Lane2001-09-21
| | | | Avoid use of prototype-less function pointers in MB code.
* 1) Avoid an overflow of connection string for Access(Microsoft Jet).Hiroshi Inoue2001-09-21
| | | | | 2) Change to retry lower version in case of "Unsupported frontend procotol".
* Produce slightly saner-looking EXPLAIN output for a Result node.Tom Lane2001-09-21
|
* Give VACUUM its own GUC parameter for memory usage, rather thanTom Lane2001-09-21
| | | | | piggybacking on SortMem. Add documentation for some recently-added GUC parameters that had so far escaped it.
* Quick-and-dirty fix for recursive plpgsql functions, per bug report fromTom Lane2001-09-21
| | | | | | | | 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.
* Suppress gcc warning.Tom Lane2001-09-20
|
* Remove some dead code and obsolete, misleading comments.Tom Lane2001-09-20
|
* Provide tunable knob for x = NULL -> x IS NULL transformation, default to off.Peter Eisentraut2001-09-20
|
* Remove old file.Peter Eisentraut2001-09-19
|
* Change the version. We are moving towards the next release.D'Arcy J.M. Cain2001-09-19
| | | | Fixed a nasty bug that messed up negative money amounts.
* Avoid unnecessary strcasecmp -- replace by strcmp. Fixes reported bugPeter Eisentraut2001-09-19
| | | | | that made setting serializable isolation level impossible in Turkish locale.
* - Synced preproc.y with gram.y.Michael Meskes2001-09-19
| | | | | | - Synced pgc.l with scan.l. - Synced keyword.c. - Include the remaining patches by Christof Petig <christof.petig@wtal.de>.
* Replace useless strcasecmp's by strcmp's.Peter Eisentraut2001-09-19
|
* EXPLAIN ANALYZE feature to measure and show actual runtimes and tupleTom Lane2001-09-18
| | | | | counts alongside the planner's estimates. By Martijn van Oosterhout, with some further work by Tom Lane.
* Unify the zip rules and variables.Peter Eisentraut2001-09-17
|
* Fix bogus failure-return value from lo_create, per report from GavinTom Lane2001-09-17
| | | | | Sherry. Also clean up leakage of open files and LOs in failure exits from lo_import and lo_export.
* Attached is a patch that fixes ResultSetMetaData.isNullable() inBruce Momjian2001-09-17
| | | | | | | | | | | | | | | | | | | | | | | | 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
* I'm attaching a patch which fixes the corruption in strings causedBruce Momjian2001-09-17
| | | | | | | | | | | | | 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
* Change FixupBlobXrefs() to take 'lo' type into account.Hiroshi Inoue2001-09-17
|
* Simplify and clean up FigureColname; make it work without coredumpingTom Lane2001-09-17
| | | | for TypeCast case.
* Use portable putenv(), not unportable setenv().Tom Lane2001-09-17
|
* Suppress compiler warning.Tom Lane2001-09-17
|
* Russian translation from Serguei MokhovPeter Eisentraut2001-09-16
|
* Update from Serguei MokhovPeter Eisentraut2001-09-16
|
* Install dynamically loadable modules into a private subdirectoryPeter Eisentraut2001-09-16
| | | | | | | | | 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.
* > Here's a revised patch. Changes:Bruce Momjian2001-09-14
| | | | | | | | | | | | | | | | | | | | | | | | > > 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
* Allow '1' in jdbc2 boolean test.Bruce Momjian2001-09-14
|
* Remove --enable-unicode-conversionTatsuo Ishii2001-09-14
| | | | | | unicode-conversion is always on if --enable-multibyte is specified Tatsuo Ishii
* Change an *if condition*.Hiroshi Inoue2001-09-14
| | | | Hiroshi Inoue
* 1) Improve the implementation of *Disallow Premature* forHiroshi Inoue2001-09-14
| | | | | | | older versions of servers. 2) Implement SQLProcedures. Hiroshi Inoue
* Fix a coversation error with pre 6.4 versions.Hiroshi Inoue2001-09-14
| | | | Hiroshi Inoue
* Add missing paren to ODBC compiles.Bruce Momjian2001-09-13
|
* Didn't want that jdbc patch in there yet.Bruce Momjian2001-09-13
|
* > I found a problem with PQescapeString (I think). Since it escapesBruce Momjian2001-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | > 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
* 1) Not export ODBC 3.0 functions.Hiroshi Inoue2001-09-13
| | | | 2) (Maybe) fix a bug reported by Mika Muntila.
* max_locks_per_transaction seems to be a more consistent name thanPeter Eisentraut2001-09-12
| | | | max_locks_per_xact.
* It is not fixed and I doubt that it is working fine in current CVS. TheBruce Momjian2001-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* I noticed that plpython does not make the relid available insideBruce Momjian2001-09-12
| | | | | | | | a trigger the way that pltcl does. Here's a little patch that adds it in. -Brad McLean