summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2001-08-06Update now-obsolete example of platform-specific regression comparisonTom Lane
files.
2001-08-06Modify partial-index-predicate applicability tester to test whetherTom Lane
clauses are equal(), before trying to match them up using btree opclass inference rules. This allows it to recognize many simple cases involving non-btree operations, for example 'x IS NULL'. Clean up code a little.
2001-08-04Back out LOCK A,B,C patch at Tom's suggestion.Bruce Momjian
2001-08-04Add LOCK A,B,C functionality as LOCK A;LOCK B;LOCK C; as agreed.Bruce Momjian
Neil Padgett
2001-08-03For some reason, CREATE TYPE has only accepted alignment specificationsTom Lane
of 'int4' and 'double'. Add 'char' and 'int2' to allow user-defined types to access the full set of supported alignments.
2001-08-02Add a SPI_copytupledesc function that parallels SPI_copytuple --- ie,Tom Lane
it copies the tupdesc into upper-executor memory. This is necessary for returning tuple descriptors without leaking all of lower exec memory.
2001-08-02I noticed that pltcl didn't have any way to get to SPI_lastoid like plpgsql ↵Bruce Momjian
does.. I started using pltcl a lot because I like to decide when and how my queries get planned.. so I put one together really quick Sorry I don't have the original around to make a quick diff, but its a very small change... I think this should be in the next release, there's no reason not to have it. its a function with no expected arguments, so you can use it like: spi_exec "INSERT INTO mytable(columns...) VALUES(values..)" set oid [spi_lastoid] spi_exec "SELECT mytable_id from mytable WHERE oid=$oid" It just didn't make sense for me to use plpgsql and pltcl, or just screw them both and use SPI from C. bob@redivi.com
2001-08-01Support ident authentication on local (Unix) socket connections, if theTom Lane
system supports SO_PEERCRED requests for Unix sockets. This is an amalgamation of patches submitted by Helge Bahmann and Oliver Elphick, with some editorializing by yours truly.
2001-08-01Add documentation changes for new pg_hba.conf behavior.Bruce Momjian
2001-07-31Remove WIN32_NON_BLOCKING_CONNECTIONS tests, since we don't need 'emTom Lane
anymore.
2001-07-16Partial indexes work again, courtesy of Martijn van Oosterhout.Tom Lane
Note: I didn't force an initdb, figuring that one today was enough. However, there is a new function in pg_proc.h, and pg_dump won't be able to dump partial indexes until you add that function.
2001-07-15Restructure index AM interface for index building and index tuple deletion,Tom Lane
per previous discussion on pghackers. Most of the duplicate code in different AMs' ambuild routines has been moved out to a common routine in index.c; this means that all index types now do the right things about inserting recently-dead tuples, etc. (I also removed support for EXTEND INDEX in the ambuild routines, since that's about to go away anyway, and it cluttered the code a lot.) The retail indextuple deletion routines have been replaced by a "bulk delete" routine in which the indexscan is inside the access method. I haven't pushed this change as far as it should go yet, but it should allow considerable simplification of the internal bookkeeping for deletions. Also, add flag columns to pg_am to eliminate various hardcoded tests on AM OIDs, and remove unused pg_am columns. Fix rtree and gist index types to not attempt to store NULLs; before this, gist usually crashed, while rtree managed not to crash but computed wacko bounding boxes for NULL entries (which might have had something to do with the performance problems we've heard about occasionally). Add AtEOXact routines to hash, rtree, and gist, all of which have static state that needs to be reset after an error. We discovered this need long ago for btree, but missed the other guys. Oh, one more thing: concurrent VACUUM is now the default.
2001-07-15NLS for libpq. Clean up the message formats and change the documentationPeter Eisentraut
accordingly.
2001-07-12Remove grammar restrictions on order of optional clauses in CREATE GROUP.Tom Lane
From Vince Vielhaber.
2001-07-11> > Put encode() into base system. Used part of Alex' patchBruce Momjian
> > for docs, hope he does not mind ;) Marko Kreen
2001-07-11More comment out of block quote.Bruce Momjian
2001-07-11Better document use of ident on localhost, per Tom Lane's idea.Bruce Momjian
2001-07-11Remove mention that PREPARE is not implemented.Bruce Momjian
2001-07-11Update FAQ_DEV.Bruce Momjian
2001-07-11Update FAQ.Bruce Momjian
2001-07-10Changes from Vince Vielhaber to allow the optional clauses of CREATETom Lane
USER and ALTER USER to appear in any order, not only the fixed order they used to be required to appear in. Also, some changes from Tom Lane to create a FULL option for VACUUM; it doesn't do anything yet, but I needed to change many of the same files to make that happen, so now seemed like a good time.
2001-07-09Fix rule rewriter so that new ordering of ON INSERT actions appliesTom Lane
in cases of qualified rules as well as unqualified ones. Tweak rules test to avoid cluttering output with dummy SELECT results. Update documentation to match code.
2001-07-09Add SHARE UPDATE EXCLUSIVE lock mode, coming soon to a VACUUM near you.Tom Lane
Name chosen per pghackers discussion around 6/22/01.
2001-07-06Fix typo. createdb -t --> createdb -TTatsuo Ishii
2001-07-03Correct substring() example, found by Thomas T. Thai.Bruce Momjian
2001-06-30Allow default transaction isolation level (a.k.a. set sessionPeter Eisentraut
characteristics) to be set through GUC.
2001-06-30fix markupPeter Eisentraut
2001-06-30The System V resources discussed here apply to NetBSD as well. In factD'Arcy J.M. Cain
I just finished changing the GENERIC files and the options(4) man page on NetBSD to make this clearer.
2001-06-27Install infrastructure for shared-memory free space map. Doesn't actuallyTom Lane
do anything yet, but it has the necessary connections to initialization and so forth. Make some gestures towards allowing number of blocks in a relation to be BlockNumber, ie, unsigned int, rather than signed int. (I doubt I got all the places that are sloppy about it, yet.) On the way, replace the hardwired NLOCKS_PER_XACT fudge factor with a GUC variable.
2001-06-23Add TEMPORARY sequences and have SERIAL on a temp table have a temporaryBruce Momjian
sequence.
2001-06-23fix markupPeter Eisentraut
2001-06-22updates for new startup sequence, some reformattingPeter Eisentraut
2001-06-22Attached is documentation describing plperlu differences from plperl.Bruce Momjian
Alex Pilosov
2001-06-22Mention that EXPLAIN results on small tables shouldn't be extrapolatedTom Lane
to large tables. Recommend ANALYZE or VACUUM ANALYZE after populating a table.
2001-06-19Add IS UNKNOWN, IS NOT UNKNOWN boolean tests, fix the existing booleanTom Lane
tests to return the correct results per SQL9x when given NULL inputs. Reimplement these tests as well as IS [NOT] NULL to have their own expression node types, instead of depending on special functions. From Joe Conway, with a little help from Tom Lane.
2001-06-18Fix some references to USE_AUSTRALIAN_RULES that Bruce missed;Tom Lane
plus a few trivial improvements in wording.
2001-06-18Update FAQ.Bruce Momjian
2001-06-18Add GUC setting for Australian timezones. Uses new GUC boolean callbackBruce Momjian
functions to clear date cache. Allow regression tests to pass when timezone set.
2001-06-18Improve wording of authentication files.Bruce Momjian
2001-06-15Oops, forgot to commit doco updates for has_table_privilege.Tom Lane
2001-06-13Docs for:Bruce Momjian
> >> inet(text), cidr(text): convert a text value into inet/cidr > >> set_masklen(inet): set masklen on the inet value Alex Pilosov
2001-06-12Clean up various to-do items associated with system indexes:Tom Lane
pg_database now has unique indexes on oid and on datname. pg_shadow now has unique indexes on usename and on usesysid. pg_am now has unique index on oid. pg_opclass now has unique index on oid. pg_amproc now has unique index on amid+amopclaid+amprocnum. Remove pg_rewrite's unnecessary index on oid, delete unused RULEOID syscache. Remove index on pg_listener and associated syscache for performance reasons (caching rows that are certain to change before you need 'em again is rather pointless). Change pg_attrdef's nonunique index on adrelid into a unique index on adrelid+adnum. Fix various incorrect settings of pg_class.relisshared, make that the primary reference point for whether a relation is shared or not. IsSharedSystemRelationName() is now only consulted to initialize relisshared during initial creation of tables and indexes. In theory we might now support shared user relations, though it's not clear how one would get entries for them into pg_class &etc of multiple databases. Fix recently reported bug that pg_attribute rows created for an index all have the same OID. (Proof that non-unique OID doesn't matter unless it's actually used to do lookups ;-)) There's no need to treat pg_trigger, pg_attrdef, pg_relcheck as bootstrap relations. Convert them into plain system catalogs without hardwired entries in pg_class and friends. Unify global.bki and template1.bki into a single init script postgres.bki, since the alleged distinction between them was misleading and pointless. Not to mention that it didn't work for setting up indexes on shared system relations. Rationalize locking of pg_shadow, pg_group, pg_attrdef (no need to use AccessExclusiveLock where ExclusiveLock or even RowExclusiveLock will do). Also, hold locks until transaction commit where necessary.
2001-06-11Update FAQ.Bruce Momjian
2001-06-11Update EXPLAIN discussion and examples to match current sources.Tom Lane
2001-06-10Update or remove mentions of versions where appropriate.Bruce Momjian
2001-06-09Allow GRANT/REVOKE to/from more than one user per invocation. Command tagPeter Eisentraut
for GRANT/REVOKE is now just that, not "CHANGE". On the way, migrate some of the aclitem internal representation away from the parser and build a real parse tree instead. Also add some 'const' qualifiers.
2001-06-09Update FAQ.Bruce Momjian
2001-06-09Fix a few missed NOIND usages.Tom Lane
2001-06-07reset all: command line and .conf options change defaultsBruce Momjian
on RESET ALL those are restored. show all: GUC + non-GUC. SHOW ALL, RESET ALL Marko Kreen
2001-06-04This patch adds support for %TYPE in CREATE FUNCTION argument and returnBruce Momjian
types. This version has an elog() to remind the user the type resolution is not dynamic. Ian Lance Taylor