summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2002-08-29Prevent problem with extra-long password packets from allocating lots ofBruce Momjian
memory. Neil Conway
2002-08-29This patch reserves the last superuser_reserved_connections slots forBruce Momjian
connections by the superuser only. This patch replaces the last patch I sent a couple of days ago. It closes a connection that has not been authorised by a superuser if it would leave less than the GUC variable ReservedBackends (superuser_reserved_connections in postgres.conf) backend process slots free in the SISeg. This differs to the first patch which only reserved the last ReservedBackends slots in the procState array. This has made the free slot test more expensive due to the use of a lock. After thinking about a comment on the first patch I've also made it a fatal error if the number of reserved slots is not less than the maximum number of connections. Nigel J. Andrews
2002-08-29Back out patch, that was alpha, which I think still needs just -O.Bruce Momjian
2002-08-29Change FreeBSD to use -O2, important for MemSet.Bruce Momjian
2002-08-29Adjust nodeFunctionscan.c to reset transient memory context between callsTom Lane
to the table function, thus preventing memory leakage accumulation across calls. This means that SRFs need to be careful to distinguish permanent and local storage; adjust code and documentation accordingly. Patch by Joe Conway, very minor tweaks by Tom Lane.
2002-08-29Push down outer qualification clauses into UNION and INTERSECT subqueries.Tom Lane
Per pghackers discussion from back around 1-August.
2002-08-29Cause REINDEX to regard TOAST tables as regular relations, not systemTom Lane
tables that need special defenses. I believe this is okay even for TOAST tables that belong to system tables.
2002-08-29Remove MULTIBYTETatsuo Ishii
2002-08-29Remove #ifdef MULTIBYTE per hackers list discussion.Tatsuo Ishii
2002-08-29Rephrase 'Cannot insert into a view' and related messages, perTom Lane
pghackers discussion around 31-Jul-02.
2002-08-29update mbregress expected filesTatsuo Ishii
2002-08-29Produce a somewhat-useful error message, namelyTom Lane
ERROR: Cannot display a value of type RECORD rather than a random integer when someone tries to SELECT a tuple value. Per pghackers discussion around 26-May-02.
2002-08-29FOUND patch was a bit over-enthusiastic: SQL commands that are notTom Lane
INSERT, UPDATE, or DELETE shouldn't change FOUND. IMHO anyway. Also, try to make documentation a little clearer.
2002-08-29Remove support for version-0 FE/BE protocol, per pghackers discussion.Tom Lane
This breaks support for 6.2 or older client libraries.
2002-08-29Fix ruleutils to dump column definition lists for anonymous record typesTom Lane
defined in the FROM clause. From Joe Conway, with some tweaks.
2002-08-29Code review for standalone composite types, query-specified compositeTom Lane
types, SRFs. Not happy with memory management yet, but I'll commit these other changes.
2002-08-28Initial Spanish translation from Karim Mribti <karim@inlosa.com>Peter Eisentraut
2002-08-28Updates from Dennis BjorklundPeter Eisentraut
2002-08-28Break up the long usage messages in pg_dump and pg_restore andPeter Eisentraut
unify the wording, to make life easier for translators. from Dennis Bjorklund
2002-08-28Remove TIOGA files from CVS current; they remain in repositiry.Bruce Momjian
2002-08-28This trivial patches fixes the error message returned by CREATE INDEXBruce Momjian
when it finds an existing relation with the same name as the to-be-created index. Old error message: nconway=# create table foo (a int); CREATE TABLE nconway=# create index foo on foo (a); ERROR: index named "foo" already exists I replaced 'index' with 'relation' in the error message. Neil Conway
2002-08-28backend where a statically sized buffer is written to. Most of theseBruce Momjian
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
2002-08-28This is a quick patch to fix a crash in pgquery_dictresult() introducedBruce Momjian
recently. I just ran into it while running a set of python test scripts, and I'm not sure who the normal maintainer is for interfaces/python. John Nield
2002-08-28The following small patch provides a couple of minor updates (againstBruce Momjian
CVS HEAD): Amended "strings" regression test. TOAST tests now insert two values with storage set to "external", to exercise properly the TOAST slice routines which fetch only a subset of the chunks. Changed now-misleading comment on AlterTableCreateToastTable in tablecmds.c, because both columns of the index on a toast table are now used. John Gray
2002-08-28Dump ALTER DATABASE/USER ... SET ...Peter Eisentraut
2002-08-28Allow FOR UPDATE to appear after LIMIT/OFFSET to match MySQL syntax and asBruce Momjian
a more logical ordering.
2002-08-27Fix compile warning.Tom Lane
2002-08-27Flush output streams before calling pg_dump subprocess.Peter Eisentraut
2002-08-27Disable use of -c and -a together in pg_dump; they don't make sense together.Bruce Momjian
2002-08-27Bring comments back in sync with code.Tom Lane
2002-08-27Throw error on pg_atoi(''), regression adjustments.Bruce Momjian
2002-08-27Enable locale, so case conversion (identifier processing) and numberPeter Eisentraut
formatting (\timing) works correctly. Change "Total time" to "Time" since there is nothing that "total" refers to. Remove non-multibyte code.
2002-08-27Reimplement pg_dumpall in C. Currently no change in functionality,Peter Eisentraut
except that it's more robust, reconnects less often, and is NLS'ed.
2002-08-27Add '+' mention in \? help. More clean of \? to do.Bruce Momjian
2002-08-27Make change for pg_locks table.Bruce Momjian
2002-08-27The attached patch implements the password packet length sanity checkBruce Momjian
(using an elog(LOG) ), as well as includes a few more comment fixes. Neil Conway
2002-08-27Add most of Neil Conway's cleanups.Bruce Momjian
2002-08-27More connection timeout cleanups.Bruce Momjian
2002-08-27Cleanup of libpq connection timeout code.Bruce Momjian
2002-08-27Add fsm sizes.Bruce Momjian
2002-08-27PREPARE/EXECUTE statements. Patch by Neil Conway, some kibitzingTom Lane
from Tom Lane.
2002-08-27This patch updates the lock listing code to use Joe Conway's newBruce Momjian
anonymous return type SRF code. It gets rid of the superflous 'pg_locks_result' that Bruce/Tom had commented on. Otherwise, no changes in functionality. Neil Conway
2002-08-27This is a 2 line patch to src/interfaces/perl5/GNUMakefile that fixesBruce Momjian
the 'override CPPFLAGS' to include the source directory during compile, and makes the install target look in the proper place for the man page. Changes are only required when building outside the source directory. J. R. Nield
2002-08-27This patches replaces a few more usages of strcpy() and sprintf() whenBruce Momjian
copying into a fixed-size buffer (in this case, a buffer of NAMEDATALEN bytes). AFAICT nothing to worry about here, but worth fixing anyway... Neil Conway
2002-08-27I attach a little patch to make CLUSTER set and reset the indisclusteredBruce Momjian
bit on the indexes. I also attach clusterdb and clusterdb.sgml; both of them are blatant rips of vacuumdb and vacuumdb.sgml, but get the job done. Please review them, as I'm probably making a lot of mistakes with SGML and I can't compile it here. vacuumdb itself is not very comfortable to use when the databases have passwords, because it has to connect once for each table (I can probably make it connect only once for each database; should I?). Because of this I added a mention of PGPASSWORDFILE in the documentation, but I don't know if that is the correct place for that. Alvaro Herrera
2002-08-27Add to skip list in check_gucBruce Momjian
2002-08-27Comment cleanup.Bruce Momjian
2002-08-27Script cleanups.Bruce Momjian
2002-08-27Clean up script.Bruce Momjian
2002-08-27Add check_guc utility to compare guc.c and postgresql.conf.sample.Bruce Momjian