summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2003-03-20This patch creates a function named pg_get_triggerdef that takes the oid ofBruce Momjian
a trigger as its parameter. It is basically copied from the pg_dump code. Christopher Kings-Lynne
2003-03-20Now that the CLUSTER ALL machinery is in place, the clusterdb script canBruce Momjian
be simplified (I'd thought that it can even be removed). This patch does that. Alvaro Herrera
2003-03-20Add ALTER TABLE <tablename> CLUSTER ON <indexname>Bruce Momjian
Alvaro Herrera
2003-03-20It would also be handy if users could see their own pg_stat_activityBruce Momjian
queries while the rest remain blank. Kevin Brown
2003-03-20Fix typo in SGML tags.Bruce Momjian
2003-03-20Re-add type conversion examples.Bruce Momjian
2003-03-20Todo items:Bruce Momjian
Add ALTER SEQUENCE to modify min/max/increment/cache/cycle values Also updated create sequence docs to mention NO MINVALUE, & NO MAXVALUE. New Files: doc/src/sgml/ref/alter_sequence.sgml src/test/regress/expected/sequence.out src/test/regress/sql/sequence.sql ALTER SEQUENCE is NOT transactional. It behaves similarly to setval(). It matches the proposed SQL200N spec, as well as Oracle in most ways -- Oracle lacks RESTART WITH for some strange reason. -- Rod Taylor <rbt@rbt.ca>
2003-03-20PGRES_POLLING_ACTIVE is unused, keep for backward compatibility.Bruce Momjian
Lennert Buytenhek
2003-03-20(Now featuring documentation: fixed some typos, expanded theBruce Momjian
Envrironment and Files section, explained exactly what -w does) This is a patch which allows pg_ctl to make an intelligent guess as to the proper port when running 'psql -l' to determine if the database has started up (the -w flag). The environment variable PGPORT is used. If that is not found, it checks if a specific port has been set inside the postgresql.conf file. If it is has not, it uses the port that Postgres was compiled with. Greg Sabino Mullane greg@turnstep.com
2003-03-20> I can see a couple possible downsides: (a) the library might have someBruce Momjian
> weird behavior across fork boundaries; (b) the additional memory space > that has to be duplicated into child processes will cost something per > child launch, even if the child never uses it. But these are only > arguments that it might not *always* be a prudent thing to do, not that > we shouldn't give the DBA the tool to do it if he wants. So fire away. Here is a patch for the above, including a documentation update. It creates a new GUC variable "preload_libraries", that accepts a list in the form: preload_libraries = '$libdir/mylib1:initfunc,$libdir/mylib2' If ":initfunc" is omitted or not found, no initialization function is executed, but the library is still preloaded. If "$libdir/mylib" isn't found, the postmaster refuses to start. In my testing with PL/R, it reduces the first call to a PL/R function (after connecting) from almost 2 seconds, down to about 8 ms. Joe Conway
2003-03-20Minor doc patch: create functionBruce Momjian
Gavin Sherry
2003-03-20Add start time to pg_stat_activityBruce Momjian
Neil Conway
2003-03-19Remove typecasting section that isn't needed anymore.Bruce Momjian
2003-03-18Reimplement create and drop scripts in C, to reduce repetitivePeter Eisentraut
connections, increase robustness, add NLS, and prepare for Windows port. (vacuumdb and clusterdb will follow later.)
2003-03-18Remove duplicate ANALYZE recommendation in pg_dump.Bruce Momjian
2003-03-18Add mention of ANALYZE after object restore.Bruce Momjian
2003-03-17Increase max known database size.Bruce Momjian
2003-03-13Big editing for consistent content and presentation.Peter Eisentraut
2003-03-11Implement SQL92-compatible FIRST, LAST, ABSOLUTE n, RELATIVE n optionsTom Lane
for FETCH and MOVE.
2003-03-10Update German FAQBruce Momjian
Ian Barwick
2003-03-10Restructure parsetree representation of DECLARE CURSOR: now it's aTom Lane
utility statement (DeclareCursorStmt) with a SELECT query dangling from it, rather than a SELECT query with a few unusual fields in it. Add code to determine whether a planned query can safely be run backwards. If DECLARE CURSOR specifies SCROLL, ensure that the plan can be run backwards by adding a Materialize plan node if it can't. Without SCROLL, you get an error if you try to fetch backwards from a cursor that can't handle it. (There is still some discussion about what the exact behavior should be, but this is necessary infrastructure in any case.) Along the way, make EXPLAIN DECLARE CURSOR work.
2003-03-07Update FAQ.Bruce Momjian
2003-03-07Update Russian FAQ, from Viktor Vislobokov.Bruce Momjian
2003-03-04Reimplement free-space-map management as per recent discussions.Tom Lane
Adjustable threshold is gone in favor of keeping track of total requested page storage and doling out proportional fractions to each relation (with a minimum amount per relation, and some quantization of the results to avoid thrashing with small changes in page counts). Provide special- case code for indexes so as not to waste space storing useless page free space counts. Restructure internal data storage to be a flat array instead of list-of-chunks; this may cost a little more work in data copying when reorganizing, but allows binary search to be used during lookup_fsm_page_entry().
2003-03-03Improve description of geometric operators.Tom Lane
2003-02-22More infrastructure for btree compaction project. Tree-traversal codeTom Lane
now knows what to do upon hitting a dead page (in theory anyway, it's untested...). Add a post-VACUUM-cleanup entry point for index AMs, to provide a place for dead-page scavenging to happen. Also, fix oversight that broke btpo_prev links in temporary indexes. initdb forced due to additions in pg_am.
2003-02-19This patch makes the following changes to the documentation:Bruce Momjian
- more work from the SGML police - some grammar improvements: rewriting a paragraph or two, replacing contractions where (IMHO) appropriate - fix missing utility commands in lock mode docs - improve CLUSTER, REINDEX, SET SESSION AUTHORIZATION ref pages Neil Conway
2003-02-19Allow PQcmdTuples to return row counts for MOVE and FETCH.Bruce Momjian
Neil Conway
2003-02-19The following patches eliminate the overflows in the j2date() and date2j()Bruce Momjian
functions which limited the maximum date for a timestamp to AD 1465001. The new limit is AD 5874897. The files affected are: doc/src/sgml/datatype.sgml: Documentation change due to patch. Included is a notice about the reduced range when using an eight-byte integer for timestamps. src/backend/utils/adt/datetime.c: Replacement functions for j2date() and date2j() functions. src/include/utils/datetime.h: Corrected a bug with the limit on the earliest possible date, Nov 23,-4713 has a Julian day count of -1. The earliest possible date should be Nov 24, -4713 with a day count of 0. src/test/regress/expected/horology-no-DST-before-1970.out: src/test/regress/expected/horology-solaris-1947.out: src/test/regress/expected/horology.out: Copies of expected output for regression testing. Note: Only horology.out has been physically tested. I do not have access to a Solaris box and I don't know how to provoke the "pre-1970" test. src/test/regress/sql/horology.sql: Added some test cases to check extended range. John Cochran
2003-02-19This patch includes more SGML markup fixes as well as a few minorBruce Momjian
additions to the docs. Neil Conway
2003-02-19This patch adds a note to the documentation describing why theBruce Momjian
performance of min() and max() is slow when applied to the entire table, and suggesting the simple workaround most experienced Pg users eventually learn about (SELECT xyz ... ORDER BY xyz LIMIT 1). Neil Conway
2003-02-19Add SQL 200X standards URL.Bruce Momjian
2003-02-18Update URL.Bruce Momjian
2003-02-18Hungarian FAQ is text, not HTML, so remove it.Bruce Momjian
2003-02-18New URL.Bruce Momjian
2003-02-18New URL for FAQ.Bruce Momjian
2003-02-18Update German FAQ, from Ian Barwick.Bruce Momjian
2003-02-18*** empty log message ***Bruce Momjian
2003-02-18Update changes from Ian Barwick.Bruce Momjian
2003-02-16COALESCE() and NULLIF() are now first-class expressions, not macrosTom Lane
that turn into CASE expressions. They evaluate their arguments at most once. Patch by Kris Jurka, review and (very light) editorializing by me.
2003-02-14Update FAQ's in head and 7.3.X.Bruce Momjian
2003-02-14Update to 7.3.2 as newest release.Bruce Momjian
2003-02-14*** empty log message ***Bruce Momjian
2003-02-14Update URL's.Bruce Momjian
2003-02-14Update FAQ.Bruce Momjian
2003-02-14Fix broken markup I just introduced.Bruce Momjian
2003-02-14Properly document location of pg_service.conf.sample.Bruce Momjian
2003-02-13Add local ident OpenBSD mention that was missing in one place.Bruce Momjian
2003-02-13This patch fixes an error in the usage message for 'clusterdb', andBruce Momjian
makes a few editorial changes to the documentation. Neil Conway
2003-02-13> > They work the same as table constraints with in-line declaration (noBruce Momjian
> > comma). > > OK. But the documentation implies there is a comma, so it should probably > get chenged then. Yes, it should. (attached) [ Backpatched to 7.3.X too.] Rod Taylor