summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
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
2003-02-13The "random" regression test uses a function called oidrand(), whichBruce Momjian
takes two parameters, an OID x and an integer y, and returns "true" with probability 1/y (the OID argument is ignored). This can be useful -- for example, it can be used to select a random sampling of the rows in a table (which is what the "random" regression test uses it for). This patch removes that function, because it was old and messy. The old function had the following problems: - it was undocumented - it was poorly named - it was designed to workaround an optimizer bug that no longer exists (the OID argument is to ensure that the optimizer won't optimize away calls to the function; AFAIK marking the function as 'volatile' suffices nowadays) - it used a different random-number generation technique than the other PSRNG-related functions in the backend do (it called random() like they do, but it had its own logic for setting a set and deciding when to reseed the RNG). Ok, this patch removes oidrand(), oidsrand(), and userfntest(), and improves the SGML docs a little bit (un-commenting the setseed() documentation). Neil Conway
2003-02-13Code for WITHOUT OIDS.Bruce Momjian
On Wed, 2003-01-08 at 21:59, Christopher Kings-Lynne wrote: > I agree. I want to remove OIDs from heaps of our tables when we go to 7.3. > I'd rather not have to do it in the dump due to down time. Rod Taylor <rbt@rbt.ca>
2003-02-13[ dumping schemas ]Bruce Momjian
> I don't care what you use for short options if all useful ones are taken. > But the long option should be --schema. Ok, fair enough: a revised patch is attached that uses the '-n' short option and the '--schema' long option. Neil Conway
2003-02-09Create a distinction between Lists of integers and Lists of OIDs, to getTom Lane
rid of the assumption that sizeof(Oid)==sizeof(int). This is one small step towards someday supporting 8-byte OIDs. For the moment, it doesn't do much except get rid of a lot of unsightly casts.
2003-02-08Replace planner's representation of relation sets, per pghackers discussion.Tom Lane
Instead of Lists of integers, we now store variable-length bitmap sets. This should be faster as well as less error-prone.
2003-02-06Create a GUC variable REGEX_FLAVOR to control the type of regularTom Lane
expression accepted by the regex operators, per discussion yesterday. Along the way, reduce deadlock_timeout from PGC_POSTMASTER to PGC_SIGHUP category. It is probably best to insist that all backends share the same setting, but that doesn't mean it has to be frozen at startup.
2003-02-05Replace regular expression package with Henry Spencer's latest versionTom Lane
(extracted from Tcl 8.4.1 release, as Henry still hasn't got round to making it a separate library). This solves a performance problem for multibyte, as well as upgrading our regexp support to match recent Tcl and nearly match recent Perl.
2003-02-04Update Hungarian FAQ, from Laszlo HornyakBruce Momjian
2003-02-04Revert doc change so we mention moving past the last row of a cursor.Bruce Momjian
2003-02-03Add mention of CURRENT_SCHEMA for object creation.Bruce Momjian
2003-02-03Change MOVE LAST to MOVE ALL.Bruce Momjian
Standard says FETCH LAST is after last row, and we don't do that.
2003-02-02Implement EXPLAIN EXECUTE. By Neil Conway, with some kibitzing fromTom Lane
Tom Lane.
2003-02-02Update release history for 7.3.2.Tom Lane
2003-02-01Remove restriction that cast functions cannot be volatile. ThisTom Lane
restriction was debatable to begin with, but it has now become obvious that it breaks forward-porting of user-defined types; contrib/lo being the most salient example.
2003-01-31Allow a time zone to be specified (and silently ignored) in the inputTom Lane
for type 'time without time zone', as we already did for type 'timestamp without time zone'. This patch was proposed by Tom Lockhart on 7-Nov-02, but he never got around to applying it. Adjust regression tests and documentation to match.
2003-01-31Fix typo, per Neil Conway.Tom Lane
2003-01-30Fix regression in .pgpass support. From Neil Conway.Tom Lane
2003-01-29Update release history for 7.2.4.Tom Lane
2003-01-29Repair array subscript overrun identified by Yichen Xie. Reduce theTom Lane
value of MAX_TIME_PRECISION in floating-point-timestamp-storage case from 13 to 10, which is as much as time_out is actually willing to print. (The alternative of increasing the number of digits we are willing to print looks risky; we might find ourselves printing roundoff garbage.)
2003-01-28Extend join-selectivity API (oprjoin interface) so that join type isTom Lane
passed to join selectivity estimators. Make use of this in eqjoinsel to derive non-bogus selectivity for IN clauses. Further tweaking of cost estimation for IN. initdb forced because of pg_proc.h changes.
2003-01-28Revert optimizer page count change.Bruce Momjian
2003-01-27Fix typo 233 pages -> 333 pages.Bruce Momjian
2003-01-25Allow the planner to collapse explicit inner JOINs together, rather thanTom Lane
necessarily following the JOIN syntax to develop the query plan. The old behavior is still available by setting GUC variable JOIN_COLLAPSE_LIMIT to 1. Also create a GUC variable FROM_COLLAPSE_LIMIT to control the similar decision about when to collapse sub-SELECT lists into their parent lists. (This behavior existed already, but the limit was always GEQO_THRESHOLD/2; now it's separately adjustable.)
2003-01-23Grant options, and cascading revoke. Grant options are allowed only forPeter Eisentraut
users right now, not groups. Extension of has_foo_privileges functions to query the grant options. Extension of aclitem type to store grantor.
2003-01-23Update 'Mathematical Functions' table to reflect 7.3 addition of float8Tom Lane
forms of ceil(), floor(), sign(). Back-patch this and other recent doc fixes in this file to the 7.3 branch.
2003-01-21Fix coredump problem in plpgsql's RETURN NEXT. When a SELECT INTOTom Lane
that's selecting into a RECORD variable returns zero rows, make it assign an all-nulls row to the RECORD; this is consistent with what happens when the SELECT INTO target is not a RECORD. In support of this, tweak the SPI code so that a valid tuple descriptor is returned even when a SPI select returns no rows.