summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-05-10Add:Bruce Momjian
> * Allow postgresql.conf values to be set so they can not be changed by > the user
2005-05-10Done:Bruce Momjian
< * Add session start time and last statement time to pg_stat_activity > * -Add session start time and last statement time to pg_stat_activity 134c134 < * Add the client IP address and port to pg_stat_activity > * -Add the client IP address and port to pg_stat_activity
2005-05-10Regression tests for the COPY CSV header feature. From Andrew Dunstan.Neil Conway
2005-05-09Rename encryption section.Bruce Momjian
2005-05-09Remove encryption FAQ item now that we have a doc section.Bruce Momjian
2005-05-09Improve wording of new documentation section on encryption, and move itBruce Momjian
a few sections up.
2005-05-09Update "expected" regression test output for the recent stats collectorNeil Conway
checkin. My apologies for breaking the tests.
2005-05-09Fix duplicate call to WRITE_NODE_FIELD(whereClause) in _outSelectStmtTatsuo Ishii
2005-05-09Add some defenses against functions declared to return set that don'tTom Lane
actually follow the protocol; per example from Kris Jurka.
2005-05-09Complete the following TODO items:Neil Conway
* Add session start time to pg_stat_activity * Add the client IP address and port to pg_stat_activity Original patch from Magnus Hagander, code review by Neil Conway. Catalog version bumped. This patch sends the client IP address and port number in every statistics message; that's not ideal, but will be fixed up shortly.
2005-05-09Update release notes for upcoming re-releases.Tom Lane
2005-05-08Update release checklist to reflect that HISTORY and INSTALL don'tTom Lane
need to be created by hand anymore.
2005-05-08Add encryption section to documentation.Bruce Momjian
Christopher Browne
2005-05-08Documentation adjustments.Bruce Momjian
Vladimir Chukharev
2005-05-07Repair very-low-probability race condition between relation extensionTom Lane
and VACUUM: in the interval between adding a new page to the relation and formatting it, it was possible for VACUUM to come along and decide it should format the page too. Though not harmful in itself, this would cause data loss if a third transaction were able to insert tuples into the vacuumed page before the original extender got control back.
2005-05-07Adjust time qual checking code so that we always check TransactionIdIsInProgressTom Lane
before we check commit/abort status. Formerly this was done in some paths but not all, with the result that a transaction might be considered committed for some purposes before it became committed for others. Per example found by Jan Wieck.
2005-05-07Fix case in which a debug printout would print already-pfreed data.Tom Lane
2005-05-07Add description:Bruce Momjian
< Currently locale can only be set during initdb. > Currently locale can only be set during initdb. No global tables have > locale-aware columns. However, the database template used during > database creation might have locale-aware indexes. The indexes would > need to be reindexed to match the new locale.
2005-05-07Add comment on C locale test for upper/lower/initcap().Bruce Momjian
2005-05-07Revert the ld --as-needed patch. This breaks Fedora Core 3, due to a strangeNeil Conway
interaction between ld, readline, termcap, and psql. The symptom is psql failing with this error on startup: symbol lookup error: /usr/lib64/libreadline.so.4: undefined symbol: BC I'm still trying to find the best way to solve this, but in the mean time I'm reverting the patch in order to unbreak FC3.
2005-05-07Done:Bruce Momjian
> o -Allow COPY to optionally include column headings in the first line
2005-05-07Add items:Bruce Momjian
> * Prevent to_char() on interval from returning meaningless values > > For example, to_char('1 month', 'mon') is meaningless. Basically, > most date-related parameters to to_char() are meaningless for > intervals because interval is not anchored to a date. > > * Allow to_char() on interval values to accumulate the highest unit > requested > > o to_char(INTERVAL '1 hour 5 minutes', 'MI') => 65 > o to_char(INTERVAL '43 hours 20 minutes', 'MI' ) => 2600 > o to_char(INTERVAL '43 hours 20 minutes', 'WK:DD:HR:MI') => 0:1:19:20 > o to_char(INTERVAL '3 years 5 months','MM') => 41 > > Some special format flag would be required to request such > accumulation. Such functionality could also be added to EXTRACT. > Prevent accumulation that crosses the month/day boundary because of > the uneven number of days in a month. >
2005-05-07Add COPY WITH CVS HEADER to allow a heading line as the first line inBruce Momjian
COPY. Andrew Dunstan
2005-05-06Update backend flowchart HTML.Bruce Momjian
2005-05-06Update flowchart sections to match current CVS.Bruce Momjian
2005-05-06Markup improvements.Bruce Momjian
2005-05-06Update backend flowchard wordingBruce Momjian
2005-05-06Adjust question spacing.Bruce Momjian
2005-05-06For some reason access/tupmacs.h has been #including utils/memutils.h,Tom Lane
which is neither needed by nor related to that header. Remove the bogus inclusion and instead include the header in those C files that actually need it. Also fix unnecessary inclusions and bad inclusion order in tsearch2 files.
2005-05-06Update misleading comment about the use of lanpltrusted ... it isTom Lane
significant regardless of the value of lanispl.
2005-05-06Update comment to mention "Name classification hierarchy" as place toBruce Momjian
check for reserved words.
2005-05-06Remove documentation that CSV didn't handle carriage returns and lineBruce Momjian
feeds properly.
2005-05-06Convert some mulit-line comments in copy.c to single line, as appropriate.Bruce Momjian
2005-05-06Marginal performance improvements in dynahash: make sure that everythingTom Lane
associated with a hashtable is allocated in that hashtable's private context, so that hash_destroy only has to destroy the context and not do any retail pfree's; and tighten the inner loop of hash_seq_search.
2005-05-05Fix bogus hashtable setup. (This code has quite a few other problemsTom Lane
too, but that one is in my way at the moment.)
2005-05-05Make standalone backends ignore pg_database.datallowconn, so that thereTom Lane
is a way to recover from disabling connections to all databases at once.
2005-05-05On Win32, libintl replaces snprintf() with its own version thatBruce Momjian
understands arg control, so we don't need our own. In fact, it also uses macros that conflict with ours, so we _can't_ use our own.
2005-05-05Per core discussion, we should push out a 7.2.* release too whileTom Lane
we are at it. Add release notes.
2005-05-05Add comments on WSAStartup usage.Bruce Momjian
2005-05-05Add WSACleanup() for Win32 socket cleanup.Bruce Momjian
Jason Erickson
2005-05-05The issue has been raised in the past that our build system links eachNeil Conway
executable against the maximal set of libraries it might need. So for example, if one executable requires `libreadline', all executables are linked against it. The easiest fix is to make use of GNU ld's --as-needed flag, which ignores linker arguments that are not actually needed by the specified object files. The attached patch modifies configure to check for this flag (when using GNU ld), and if ld supports it, adds the flag to LDFLAGS (we need to do the check since only relatively recent versions of GNU ld support this capability). Currently only GNU ld is supported; I'm not aware of any other linkers that support this functionality.
2005-05-05Adjust nodeBitmapIndexscan to keep the target index opened from planTom Lane
startup to end, rather than re-opening it in each MultiExecBitmapIndexScan call. I had foolishly thought that opening/closing wouldn't be much more expensive than a rescan call, but that was sheer brain fade. This seems to fix about half of the performance lossage reported by Sergey Koposov. I'm still not sure where the other half went.
2005-05-05Update "control" item.Bruce Momjian
Rosser Schwarz
2005-05-05Typo fix, Dave HeldBruce Momjian
2005-05-05Allow implicit cast from any named composite type to RECORD. At theTom Lane
moment this has no particular use except to allow table rows to be passed to record_out(), but that case seems to be useful in itself per recent example from Elein. Further down the road we could look at letting PL functions be declared to accept RECORD parameters.
2005-05-04Use postmaster_is_alive() check in pg_ctl restart as well as pg_ctl status,Tom Lane
so that restart doesn't fail when old postmaster died unbetimes.
2005-05-04Preliminary release notes for 8.0.3, 7.4.8, 7.3.10.Tom Lane
2005-05-04Spell DELIMITER correctly, per Seamus Dean.Tom Lane
2005-05-03Clean up MultiXactIdExpand's API by separating out the case where weTom Lane
are creating a new MultiXactId from two regular XIDs. The original coding was unnecessarily complicated and didn't save any code anyway.
2005-05-03Alter the signature for encoding conversion functions to declare theTom Lane
output area as INTERNAL not CSTRING. This is to prevent people from calling the functions by hand. This is a permanent solution for the back branches but I hope it is just a stopgap for HEAD.