summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2001-05-09More cleanups to generate tcl unknown from Makefile.Bruce Momjian
2001-05-09Make tcl unknown configure from Makefile, not configure.Bruce Momjian
2001-05-09More --enable-pltcl-unknown renames.Bruce Momjian
2001-05-09Change to enable_pltcl_unknown mention.Bruce Momjian
2001-05-09Add TODO file.Bruce Momjian
2001-05-09Add plpython code.Bruce Momjian
2001-05-09Noticed a small bug in the code. Probably been there for some time. NoteBruce Momjian
that the original code would consider things like UNIX domain sockets are regular files. Gavin Sherry
2001-05-09This patch adds a new configure option --with-pltcl-unknown whichBruce Momjian
enables pltcl unknown support. Also it adds substituting of tclsh with tclsh that was by configure in pltcl_*mod scripts. For example, On freebsd, tclsh can be called tclsh8.2 or tclsh8.3 depending on installed version of Tcl. After patching files src/pl/tcl/modules/pltcl_listmod src/pl/tcl/modules/pltcl_loadmod src/pl/tcl/modules/pltcl_delmod must be renamed(copied,repocopied) to src/pl/tcl/modules/pltcl_listmod.in src/pl/tcl/modules/pltcl_loadmod.in src/pl/tcl/modules/pltcl_delmod.in seva@sevasoft.kiev.ua
2001-05-09Right-align \du user-id.Bruce Momjian
2001-05-09Fix memory leak in new psql \du code.Bruce Momjian
2001-05-09Fix libpq++'s FieldSize to return int, not short.Bruce Momjian
2001-05-09Add mention of getLength returning short.Bruce Momjian
2001-05-09Here's a version of my suggested diffs transplanted to 7.1 beta 5. I'mBruce Momjian
still looking at the best way to integrate Tom Vijlbrief's fixes (insofar as they're still needed); would 7.2 be a suitable time for incompatible API changes? Jeroen Changes: (*) Introduced bool, true, false (replacing some int, 1, 0) (*) Made some member functions const (*) Documented GetIsNull() (*) Marked DisplayTuples() and PrintTuples() as obsolescent; fixed possible portability problem (assumed that NULL pointer equals all-zero bit pattern) (*) PrintTuples(): renamed width parameter to fillAlign to conform with other usage; fixed memory leak and compile issue w.r.t. field separator (should also slightly improve performance) (*) Fixed some minor compilation issues (*) Moved "using namespace std;" out of headers, where they didn't belong; used new (temporary) preprocessor macro PGSTD to do this (*) Made ToString() static, removed unneeded memset(), made buffer size adapt to sizeof(int) (*) Made some constructors explicit (*) Changed some const std::string & parameters to plain std::string (*) Marked PgCursor::Cursor(std::string) as obsolescent (setter with same name as getter--bad style) (*) Renamed some paramaters previously named "string" (*) Introduced size_type typedef for number of tuples in result set (*) PgTransaction now supports re-opening after closing, and aborts if not explicitly committed prior to destruction J. T. Vermeulen
2001-05-09Use ColId instead of Ident for SET SESSION AUTHORIZATION.Peter Eisentraut
2001-05-09Mention new jdbc mailing list instead of interfaces list.Bruce Momjian
2001-05-09Cause planner to make use of average-column-width statistic that is nowTom Lane
collected by ANALYZE. Also, add some modest amount of intelligence to guesses that are used for varlena columns in the absence of any ANALYZE statistics. The 'width' reported by EXPLAIN is finally something less than totally bogus for varlena columns ... and, in consequence, hashjoin estimating should be a little better ...
2001-05-08Add SET SESSION AUTHORIZATION command.Peter Eisentraut
2001-05-08Mention SHELL usage in initdb.Bruce Momjian
2001-05-08Append and SubqueryScan nodes were not passing changed-parameter signals downTom Lane
to their children, leading to misbehavior if they had any children that paid attention to chgParam (most plan node types don't). Append's bug has been there a long time, but nobody had noticed because it used to be difficult to create a query where an Append would be used below the top level of a plan; so there were never any parameters getting passed down. SubqueryScan is new in 7.1 ... and I'd modeled its behavior on Append :-(
2001-05-08Need to factor out strdup.o for separate treatment since it's in aPeter Eisentraut
different directory. This makes dependency tracking work and copes with compilers that don't suport -c and -o together.
2001-05-08Small cleanup.Bruce Momjian
2001-05-08Add newlines around debug output in optimizer showing total costs.Bruce Momjian
2001-05-08Run pgindent on ODBC code only, to reformat new comments.Bruce Momjian
2001-05-08ODBC source code cleanup patch. Should match rest of PostgreSQL code better.Bruce Momjian
2001-05-08Allow SHELL in Makefile.* to control initdb.Bruce Momjian
2001-05-08Fix paren typo in java.Bruce Momjian
2001-05-08Un-break exec_move_row() for case that a NULL tuple and tupdesc areTom Lane
passed, which occurs when no rows are retrieved by a SELECT. Mea maxima culpa ... I should have caught this.
2001-05-07Fix comment in file about 2*max_connections.Bruce Momjian
2001-05-07Shared library and GCC support for SCO OpenServer.Peter Eisentraut
2001-05-07Fix remaining RI permission problems (cascaded update/delete, restrict,Peter Eisentraut
set null/default).
2001-05-07Add \cd command to psql.Peter Eisentraut
2001-05-07> Occasionally and without warning I get this from my daily vacuumBruce Momjian
> cronjob: > NOTICE: RegisterSharedInvalid: SI buffer overflow > NOTICE: InvalidateSharedInvalid: cache state reset > I don't understand what these mean. Should I be concerned about them > and what do they signify? No real need to worry. Those should've been downgraded to DEBUG-level messages a release or two back, but nobody bothered... Tom Lane
2001-05-07Rewrite of planner statistics-gathering code. ANALYZE is now available asTom Lane
a separate statement (though it can still be invoked as part of VACUUM, too). pg_statistic redesigned to be more flexible about what statistics are stored. ANALYZE now collects a list of several of the most common values, not just one, plus a histogram (not just the min and max values). Random sampling is used to make the process reasonably fast even on very large tables. The number of values and histogram bins collected is now user-settable via an ALTER TABLE command. There is more still to do; the new stats are not being used everywhere they could be in the planner. But the remaining changes for this project should be localized, and the behavior is already better than before. A not-very-related change is that sorting now makes use of btree comparison routines if it can find one, rather than invoking '<' twice.
2001-05-06Fix collateral damage from previous (rev 1.49) patch.Peter Eisentraut
2001-05-06Allow 'psql -f -' to read from standard input.Peter Eisentraut
2001-05-06Make prompt customization work with changeable Unix socket location.Peter Eisentraut
2001-05-04Makefile should have automatic dependency for parser.o too, if it'sTom Lane
going to have any at all.
2001-05-04Seems like we should not hold off cancel/die interrupts while we areTom Lane
running deferred triggers. They are really part of the regular transaction, and they could take awhile.
2001-05-03Consolidate several near-identical uses of mktime() into a singleTom Lane
routine DetermineLocalTimeZone(). In that routine, be more wary of broken mktime() implementations than the original code was: don't allow mktime to change the already-set y/m/d/h/m/s information, and don't use tm_gmtoff if mktime failed. Possibly this will resolve some of the complaints we've been hearing from users of Middle Eastern timezones on RedHat.
2001-05-03BTW it does not add encodign it just patches existing one (KOI8) toBruce Momjian
support two - KOI8-R and KOI8-U (latter is superset of the former if not to take to the account pseudographics) Andy Rysin
2001-05-03Permission checking wasn't quite right for insert/update/delete rules,Tom Lane
either :-(.
2001-05-03apply a little patch:Bruce Momjian
Oleg Bartunov
2001-05-03Ensure that btree sort ordering functions and boolean comparison operatorsTom 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.
2001-05-03Permissions were not checked correctly when one view invokes another.Tom Lane
Per bug report from Lieven Van Acker, 5/2/01.
2001-05-03Improve list.Bruce Momjian
2001-05-03Updates for 7.1.1. Not done yet.Bruce Momjian
2001-05-03Correct pg_description entry for type macaddr.Tom Lane
2001-05-03Fixes to make ecpg work on Cygwin, from Jason Tishler ↵Tom Lane
<Jason.Tishler@dothill.com>.
2001-05-02Previous commit mistakenly converted all newlines to DOS style (CR/LF).Tom Lane
Convert back to Unix style --- it seems some versions of nmake insist on this.
2001-05-02Add note explaining why inserts take longer as tables grow. Also suggestD'Arcy J.M. Cain
the way to handle this.