aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* testing for insertRowDave Cramer2002-09-01
|
* Update MEMSET_LOOP_LIMIT to 1024 because it is the best value for mostBruce Momjian2002-09-01
| | | | platforms.
* patch to allow insertRow on an empty resultSetDave Cramer2002-09-01
|
* Changed to reflect the current reality, ie we do support updateable resultsetsDave Cramer2002-09-01
|
* Improve footer length computation for psql.Bruce Momjian2002-09-01
| | | | Greg Sabino Mullan
* Add log_duration to GUC/postgresql.conf.Bruce Momjian2002-09-01
| | | | | Rename debug_print_query to log_statement and rename show_query_stats to show_statement_stats.
* plpgsql functions can return RECORD, per Neil Conway.Tom Lane2002-09-01
|
* Code cleanups: make non-implicit WITHOUT FUNCTION casts work, avoidTom Lane2002-09-01
| | | | redundant pg_cast searches, fix obsolete comments.
* Remove code that suggested increasing wal_files.Bruce Momjian2002-09-01
|
* Mark the float8 -> int8 cast as implicit. This resolves the problemTom Lane2002-09-01
| | | | | | | | | | pointed out by Barry Lind: UPDATE bigintcol = 10000000000 fails because the constant is initially taken as float8. We really need a better way, but it's not gonna happen for 7.3. Also, remove int4reltime() function, which is redundant with the existing binary-compatibility coercion path from int4 to reltime, and probably has been unreachable code for a long while.
* Code review for domain-constraints patch. Use a new ConstraintTest nodeTom Lane2002-08-31
| | | | | | | | | type for runtime constraint checks, instead of misusing the parse-time Constraint node for the purpose. Fix some damage introduced into type coercion logic; in particular ensure that a coerced expression tree will read out the correct result type when inspected (patch had broken some RelabelType cases). Enforce domain NOT NULL constraints against columns that are omitted from an INSERT.
* Wups, didn't mean to commit that just yet.Tom Lane2002-08-31
|
* The UNDEFOID later causes an assertion failure in heap_formtuple whenTom Lane2002-08-31
| | | | | | you try to use the tupdesc to build a tuple. Joe Conway
* Code review for pg_locks feature. Make shmemoffset of PROCLOCK structsTom Lane2002-08-31
| | | | | | | | available (else there's no way to interpret the list links). Change pg_locks view to show transaction ID locks separately from ordinary relation locks. Avoid showing N duplicate rows when the same lock is held multiple times (seems unlikely that users care about exact hold count). Improve documentation.
* Add expected tuple descriptor to ReturnSetInfo information for tableTom Lane2002-08-30
| | | | | | functions, per suggestion from John Gray and Joe Conway. Also, fix plpgsql RETURN NEXT to verify that returned values match the expected tupdesc.
* AUTOCOMMIT mode is now an available backend GUC variable; setting itTom Lane2002-08-30
| | | | | | | | | to false provides more SQL-spec-compliant behavior than we had before. I am not sure that setting it false is actually a good idea yet; there is a lot of client-side code that will probably be broken by turning autocommit off. But it's a start. Loosely based on a patch by David Van Wie.
* Fix for breakage of C-coded SRFs, from Joe Conway.Tom Lane2002-08-30
|
* Add attisinherited column to pg_attribute; use it to guard againstTom Lane2002-08-30
| | | | | | column additions, deletions, and renames that would let a child table get out of sync with its parent. Patch by Alvaro Herrera, with some kibitzing by Tom Lane.
* Back out unintented tab change.Bruce Momjian2002-08-30
|
* Remove pgaccess from Makefile.Bruce Momjian2002-08-30
|
* Complete TODO item:Bruce Momjian2002-08-30
| | | | | * Remove wal_files postgresql.conf option because WAL files are now recycled
* Remove pgaccess from CVS. It has its own home now.Bruce Momjian2002-08-30
|
* Back out password packet length check.Bruce Momjian2002-08-30
| | | | Improve wording of pre-7.3 syntax mention.
* perl5 interface moved to gborgMarc G. Fournier2002-08-30
|
* libpgeasy moved to gborg ...Marc G. Fournier2002-08-30
|
* Fix off-by-one allocation error in PasswordFromFile(), per Gordon Runkle.Tom Lane2002-08-30
|
* Revert _LARGEFILE64_SOURCE addition; good try but doesn't work,Tom Lane2002-08-30
| | | | | at least not on HPUX 10.20, and there's no reason to think it is needed on later versions.
* Group-manipulating code neglected to fill in array element type,Tom Lane2002-08-30
| | | | which is now required.
* PL/pgSQL functions can return sets. Neil Conway's patch, modified soTom Lane2002-08-30
| | | | | that the functionality is available to anyone via ReturnSetInfo, rather than hard-wiring it to PL/pgSQL.
* Fix a bug introduced in 7.2.Hiroshi Inoue2002-08-29
|
* > > > > If you want to put in security restrictions that are actually useful,Bruce Momjian2002-08-29
| | | | | | | | | > > > > where is the code to verify that PGPASSWORDFILE points at a > > > > non-world-readable file? That needs to be there now, not later, or > > > > we'll have people moaning about backward compatibility when we finally > > > > do plug that hole. Alvaro Herrera
* Sir Mordred The Traitor <mordred@s-mail.com> writes:Bruce Momjian2002-08-29
| | | | | | | | | | | | | | | | | > Upon invoking a polygon(integer, circle) function a > src/backend/utils/adt/geo_ops.c:circle_poly() function will gets > called, which suffers from a buffer overflow. > > 2) A src/backend/adt/utils/geo_ops.c:path_encode() fails to detect a > buffer overrun condition. It is called in multiple places, the most > interesting are path_out() and poly_out() functions. > 5) A src/backend/utils/adt/geo_ops.c:path_add() also fails to detect > a simple buffer overrun. I've attached a patch which should fix these problems. Neil Conway
* Make pg_resetxlog options parsing more standard and prepare messages forPeter Eisentraut2002-08-29
| | | | translation.
* Create "po" subdirectory before writing there.Peter Eisentraut2002-08-29
|
* Workaround for broken large file support on HP-UXPeter Eisentraut2002-08-29
|
* Prevent problem with extra-long password packets from allocating lots ofBruce Momjian2002-08-29
| | | | | | memory. Neil Conway
* This patch reserves the last superuser_reserved_connections slots forBruce Momjian2002-08-29
| | | | | | | | | | | | | | | | | | | 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
* Back out patch, that was alpha, which I think still needs just -O.Bruce Momjian2002-08-29
|
* Change FreeBSD to use -O2, important for MemSet.Bruce Momjian2002-08-29
|
* Adjust nodeFunctionscan.c to reset transient memory context between callsTom Lane2002-08-29
| | | | | | | 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.
* Push down outer qualification clauses into UNION and INTERSECT subqueries.Tom Lane2002-08-29
| | | | Per pghackers discussion from back around 1-August.
* Cause REINDEX to regard TOAST tables as regular relations, not systemTom Lane2002-08-29
| | | | | tables that need special defenses. I believe this is okay even for TOAST tables that belong to system tables.
* Remove MULTIBYTETatsuo Ishii2002-08-29
|
* Remove #ifdef MULTIBYTE per hackers list discussion.Tatsuo Ishii2002-08-29
|
* Rephrase 'Cannot insert into a view' and related messages, perTom Lane2002-08-29
| | | | pghackers discussion around 31-Jul-02.
* update mbregress expected filesTatsuo Ishii2002-08-29
|
* Produce a somewhat-useful error message, namelyTom Lane2002-08-29
| | | | | | 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.
* FOUND patch was a bit over-enthusiastic: SQL commands that are notTom Lane2002-08-29
| | | | | INSERT, UPDATE, or DELETE shouldn't change FOUND. IMHO anyway. Also, try to make documentation a little clearer.
* Remove support for version-0 FE/BE protocol, per pghackers discussion.Tom Lane2002-08-29
| | | | This breaks support for 6.2 or older client libraries.
* Fix ruleutils to dump column definition lists for anonymous record typesTom Lane2002-08-29
| | | | defined in the FROM clause. From Joe Conway, with some tweaks.