aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Adjust costsize calculations to avoid introducing unnecessary roundoffTom Lane2002-12-13
| | | | | error. This seems to explain the differing choice of plan that's been causing geometry regress test to fail for the last few days.
* Remove strerror output for openssl SYSCALL error check.Bruce Momjian2002-12-13
|
* This patch fixes minor bugs in dictionary generator in contrib/tsearchBruce Momjian2002-12-13
| | | | | | | | (contrib/tsearch/makedict/makedict.pl) [ Backpatched to 7.3.] Teodor Sigaev
* This patch fixes a few typos in the documentation for the '~/.pgpass'Bruce Momjian2002-12-13
| | | | | | libpq feature. Neil Conway
* Here's the patch I mentioned on HACKERS to fix up ALTER command tabBruce Momjian2002-12-13
| | | | | | | | | | completion. Note that it's based on 7.3 tarball, not CVS HEAD, or 7.3rel branch. Damn, looking at CVS, this will patch into 7.3rel (just tested, it does) probably collide with Rod Taylor's patch adding ALTER TRIGGER stuff. O.K, second patch attached against HEAD - not tested, hand merged. Ross Reedstrom
* > There is an ugly little problem with the DB wrapper class.Bruce Momjian2002-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > > In pg.py the attributes of DB are defined as being the same as > the attributes of the corresponding pgobject "db", using the following ... > The problem is that the attributes of db (which are read only) > are not static (they are actually function calls to PostgreSQL), > especially "status" and "error", but those attributes are copied > and this is done only once when initializing the DB object. > > So, in effect, only the attribute "db.error" of a DB instance > will be updated, but not the attribute "error". Same with "status". > Don't copy the (read only) attributes of the pgobject to the > DB object, but only the methods, and all of them, like this: > > --------------- change in pg.py ------------------ > # Create convience methods, in a way that is still overridable. > for e in self.db.__methods__: > setattr(self, e, getattr(self.db, e)) > ---------------------------------------------------- > > Furthermore, make an addition to the documentation of the > DB wrapper class (i.e. in pygresql-pg-db.html): > After the sentence "All pgobject methods are included in this class also." > add the following sentence "The pgobject read-only attributes can be > accessed py adding the prefix 'db.' to them." Christoph Zwerschke
* Check SSL_get_error() value SSL_ERROR_SYSCALL to see if SSL_read()Bruce Momjian2002-12-12
| | | | | | returned -1, per SSL_get_error() documentation. Nathan Mueller
* While porting my TPC-C implementation from Oracle, I discovered theBruce Momjian2002-12-12
| | | | | | attached problem with the EXEC SQL COMMIT RELEASE statement. Roland Karch
* Don't produce bogus COPY command when there are no undropped columnsTom Lane2002-12-12
| | | | in a table.
* TODO marked as done:Bruce Momjian2002-12-12
| | | | | | | | | | | | | | | | | | | | | * Add schema, cast, and conversion backslash commands to psql I had to create a new publically available function, pg_conversion_is_visible, as it seemed to be missing from the catalogs. This required me to do no small amount of hacking around in namespace.c I have updated the \? help and sgml docs. \dc - list conversions [PATTERN] \dC - list casts \dn list schemas I didn't support patterns with casts as there's nothing obvious to match against. Catalog version incremented --- initdb required. Christopher Kings-Lynne
* Done:Bruce Momjian2002-12-12
| | | | > * -Add schema, cast, and conversion backslash commands to psql (Christopher)
* Don't force rebuild of all of backend/parser when we only needTom Lane2002-12-12
| | | | keywords.o.
* Preliminary code review for domain CHECK constraints patch: add documentation,Tom Lane2002-12-12
| | | | | | | | make VALUE a non-reserved word again, use less invasive method of passing ConstraintTestValue into transformExpr, fix problems with nested constraint testing, do correct thing with NULL result from a constraint expression, remove memory leak. Domain checks still need much more work if we are going to allow ALTER DOMAIN, however.
* Guard against overrunning CTZName buffer when TZ is bogus.Tom Lane2002-12-12
|
* Phase 2 of read-only-plans project: restructure expression-tree nodesTom Lane2002-12-12
| | | | | | | | | so that all executable expression nodes inherit from a common supertype Expr. This is somewhat of an exercise in code purity rather than any real functional advance, but getting rid of the extra Oper or Func node formerly used in each operator or function call should provide at least a little space and speed improvement. initdb forced by changes in stored-rules representation.
* Add for protocol changes:Bruce Momjian2002-12-12
| | | | > o Compression?
* Move psql \? Formatting above Large Object/Copy.Bruce Momjian2002-12-11
|
* psql \? rearrangement, suggested by Tom.Bruce Momjian2002-12-11
|
* Reorder psql \? help into groupings, idea from Harald Armin Massa.Bruce Momjian2002-12-11
|
* Mark SCO Openserver 5.0.4. supported by 7.3.1 as per chat report from user.Bruce Momjian2002-12-11
| | | | template/sco updated.
* Fix line count error reporting in config files, like pg_hba.conf, perBruce Momjian2002-12-11
| | | | | | report from Oliver Elphick. Backpatch to 7.3.
* patch for getTables to fix problems with backends before 7.3 by Kris JurkaDave Cramer2002-12-11
|
* Mike Beachy's build patch to allow ant builds without makeDave Cramer2002-12-11
|
* Aaron's patch for Pooled ConnectionsDave Cramer2002-12-11
|
* Back out psql help change. Not done yet.Bruce Momjian2002-12-11
|
* Bump version for 7.3 and 7.4.Bruce Momjian2002-12-11
|
* Add:Bruce Momjian2002-12-10
| | | | | | | | | | | | | | | | | > > * Wire Protocol Changes > o Show transaction status in psql > o Allow binding of query parameters, support for prepared queries > o Add optional textual message to NOTIFY > o Remove hard-coded limits on user/db/password names > o Remove unused elements of startup packet (unused, tty, passlength) > o Fix COPY/fastpath protocol? > o Replication support? > o Error codes > o Dynamic character set handling > o Special passing of binary values in platform-neutral format (bytea?) > o ecpg improvements? > o Add decoded type, length, precision
* Reverse out unintended resultmap change.Tom Lane2002-12-10
|
* If typecmds is going to have its own header file, said header fileTom Lane2002-12-10
| | | | should include what it needs.
* Add an unnecessary assignment to remove a bogus warning. I checked theD'Arcy J.M. Cain2002-12-10
| | | | | logic carefully and I am sure that the test against n happens after it is assigned to.
* More minor improvements to the SGML docs, namelyBruce Momjian2002-12-10
| | | | | | doc/src/sgml/runtime.sgml Neil Conway
* Following patch avoids removing oids in the temporary table from theBruce Momjian2002-12-10
| | | | | | temporary table. Kenji Sugita
* I've simplified the Darwin/Mac OS X startup script I submitted earlierBruce Momjian2002-12-09
| | | | | | | | | | | | | | in the year. This version has only the two files required by the Darwin startup bundle design. Plus the sh script now uses Darwin-standard functions to start up PostgreSQL, and it checks for the presence of a variable in /etc/hostconfig, as do other Darwin startup scripts. I suggest that a new directory be created, contrib/start-scripts/darwin, and that these two files be put into it. Folks who want to use the script can read the comments inside it to figure out how to use it. David Wheeler
* This patch updates doc/src/sgml/runtime.sgml to refer to "MacOS X", notBruce Momjian2002-12-09
| | | | | | "OS/X". Neil Conway
* Some quick fixes for ALTER DOMAIN patch. It still needs a lot of work,Tom Lane2002-12-09
| | | | but at least it doesn't generate gcc warnings.
* Fix Latin9/Unicode conversion by selecting the right table.Peter Eisentraut2002-12-09
|
* Update obsolete comment.Tom Lane2002-12-09
|
* Add:Bruce Momjian2002-12-09
| | | | > * Add ROLLUP, CUBE, GROUPING SETS options to GROUP BY
* Explain's code for showing quals of SubqueryScan nodes has been brokenTom Lane2002-12-06
| | | | all along; not noticed till now. It's a scan not an upper qual ...
* In the examples, I missed changing a few 'column' and 'table' mentionsBruce Momjian2002-12-06
| | | | | | to domain when copying alter table docs. -- Rod Taylor <rbt@rbt.ca>
* Attached are two small patches to expose md5 as a user function -- includingBruce Momjian2002-12-06
| | | | | | | | 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
* Mention of DEFAULT_STATISTICS_TARGET default.Bruce Momjian2002-12-06
| | | | Jeff Davis
* This patch improves the documentation for SERIAL columns a little bit.Bruce Momjian2002-12-06
| | | | Neil Conway
* RANDOM_PAGE_COST clarification of docs.Bruce Momjian2002-12-06
| | | | Joseph Shraibman
* Thank you very much, you catch it :). This bug had a long life, because itBruce Momjian2002-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | exists if and only if locale of postmaster was a different from C (or ru_RU.KOI8-R). Please, apply patch for current CVS & 7.3.1 Magnus Naeslund(f) wrote: > Ok, I nailed the bug, but i'm not sure what the correct fix is. > Attached tsearch_morph.diff that remedies this problem by avoiding it. > Also there's a debug aid patch if someone would like to know how i > finally found it out :) > > There problem in the lemmatize() function is that GETDICT(...) returned > a value not handled (BYLOCALE). > The value (-1) and later used as an index into the dicts[] array. > After that everything went berserk stack went crazy somehow so trapping > the fault sent me to the wrong place, and every time i read the value it > was positive ;) > > So now i just return the initial word passed to the lemmatize function, > because i don't know what to do with it. Magnus Naeslund
* Mark ALTER DOMAIN as supported, fix typo in header.Bruce Momjian2002-12-06
|
* Re-addd Rod's ALTER DOMAIN patch.Bruce Momjian2002-12-06
|
* Add file.Bruce Momjian2002-12-06
|
* Add SGML file.Bruce Momjian2002-12-06
|
* Back out V6 code, caused postmaster startup failure.Bruce Momjian2002-12-06
|