summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2005-07-10Change typreceive function API so that receive functions get the sameTom Lane
optional arguments as text input functions, ie, typioparam OID and atttypmod. Make all the datatypes that use typmod enforce it the same way in typreceive as they do in typinput. This fixes a problem with failure to enforce length restrictions during COPY FROM BINARY.
2005-07-10Add --encoding to pg_dump.Bruce Momjian
The Problem: Occassionally a DBA needs to dump a database to a new encoding. In instances where the current encoding, (or lack of an encoding, like SQL_ASCII) is poorly supported on the target database server, it can be useful to dump into a particular encoding. But, currently the only way to set the encoding of a pg_dump file is to change client_encoding in postgresql.conf and restart postmaster. This is more than a little awkward for production systems. Magnus Hagander
2005-07-10Update.Bruce Momjian
< computations should adjust based on the time zone rules, e.g. < adding 24 hours to a timestamp would yield a different result from < adding one day. < > computations should adjust based on the time zone rules.
2005-07-10I made the patch that implements regexp_replace again.Bruce Momjian
The specification of this function is as follows. regexp_replace(source text, pattern text, replacement text, [flags text]) returns text Replace string that matches to regular expression in source text to replacement text. - pattern is regular expression pattern. - replacement is replace string that can use '\1'-'\9', and '\&'. '\1'-'\9': back reference to the n'th subexpression. '\&' : entire matched string. - flags can use the following values: g: global (replace all) i: ignore case When the flags is not specified, case sensitive, replace the first instance only. Atsushi Ogawa
2005-07-10Add psql \pset numericsep to allow output numbers like 100,000.0 orBruce Momjian
100.000,0. Eugen Nedelcu
2005-07-08Done:Bruce Momjian
> * -Prevent dropping user that still owns objects, or auto-drop the objects
2005-07-07Track dependencies on shared objects (which is to say, roles; we alreadyTom Lane
have adequate mechanisms for tracking the contents of databases and tablespaces). This solves the longstanding problem that you can drop a user who still owns objects and/or has access permissions. Alvaro Herrera, with some kibitzing from Tom Lane.
2005-07-07Update:Bruce Momjian
< writer. > writer. It might cause problems for applying WAL on recovery > into a partially-written page, but later the full page will be > replaced from WAL.
2005-07-07Update:Bruce Momjian
> > o -Add ability to turn off full page writes > o When off, write CRC to WAL and check file system blocks > on recovery > o Write full pages during file system write and not when > the page is modified in the buffer cache > > This allows most full page writes to happen in the background > writer.
2005-07-06Reverse out because the lack of using pgport in timezone/ is causingBruce Momjian
problems: --------------------------------------------------------------------------- Support cross compilation by compiling "zic" with a native compiler. This relies on the output of zic being platform independent, but that is currently the case.
2005-07-06Add pg_column_size() to return storage size of a column, includingBruce Momjian
possible compression. Mark Kirkwood
2005-07-06Update description of GUC full_page_writes.Bruce Momjian
Michael Paesold
2005-07-06Done:Bruce Momjian
> * -Add function to return compressed length of TOAST data values
2005-07-05Add GUC full_page_writes to control writing full pages to WAL.Bruce Momjian
2005-07-05Remove, now have GUC:Bruce Momjian
< * Turn off full page writes if fsync is disabled < < If fsync is off, there is no purpose in writing full pages to WAL <
2005-07-05Add:Bruce Momjian
< 881a881,882 > o Improve xid wraparound detection by recording per-table rather > than per-database
2005-07-04More TODO list section restructuring.Bruce Momjian
2005-07-04Restructure TODO sections.Bruce Momjian
2005-07-04UpdateBruce Momjian
> * Allow GIST indexes to create certain complex index types, like digital > trees (see Aoki) > 783a787 >
2005-07-04Update wording:Bruce Momjian
< Currently, to protect against partial disk page writes, we write the > Currently, to protect against partial disk page writes, we write 877c877 < * Turn off after-change writes if fsync is disabled > * Turn off full page writes if fsync is disabled
2005-07-03Support cross compilation by compiling "zic" with a native compiler. ThisPeter Eisentraut
relies on the output of zic being platform independent, but that is currently the case.
2005-07-02Remove GIST concurrency limitations section.Bruce Momjian
Christopher Kings-Lynne
2005-07-02Add SGML markup for on/off values in run-time section.Bruce Momjian
2005-07-02Use on/off consistently for GUC variables in postgresql.conf and theBruce Momjian
documentation, to match SHOW.
2005-07-02Update:Bruce Momjian
< * Add rtree index support for line, lseg, path, point > * Add more gist index support for geometric data types
2005-07-02In PL/PgSQL, allow a block's label to be optionally specified at theNeil Conway
end of the block: <<label>> begin ... end label; Similarly for loops. This is per PL/SQL. Update the documentation and add regression tests. Patch from Pavel Stehule, code review by Neil Conway.
2005-07-01Clarify:Bruce Momjian
< o Replace crude DELETE FROM method of pg_dumpall for cleaning of < roles with separate DROP commands > o Replace crude DELETE FROM method of pg_dumpall --clean for > cleaning of roles with separate DROP commands
2005-07-01Update for roles:Bruce Momjian
< * Allow limits on per-db/user connections > * Allow limits on per-db/role connections < * Prevent default re-use of sysids for dropped users and roles < < Currently, if a user is removed while he still owns objects, a new < user given might be given their user id and inherit the < previous users objects. < 450c444 < * Add COMMENT ON for all cluster global objects (users, roles, databases > * Add COMMENT ON for all cluster global objects (roles, databases 609c603 < users and roles with separate DROP commands > roles with separate DROP commands
2005-07-01Update for roles:Bruce Momjian
< * Prevent default re-use of sysids for dropped users and groups > * Prevent default re-use of sysids for dropped users and roles 450c450 < * Add COMMENT ON for all cluster global objects (users, groups, databases > * Add COMMENT ON for all cluster global objects (users, roles, databases 609c609 < users and groups with separate DROP commands > users and roles with separate DROP commands
2005-07-01Item superceeded now that groups exist:Bruce Momjian
< * Add group object ownership, so groups can rename/drop/grant on objects, < so we can implement roles
2005-07-01Done:Bruce Momjian
> o -Add dumping and restoring of LOB comments
2005-07-01Clarify documentation about log_min_duration_statement.Bruce Momjian
2005-06-29Improve gettimeofday() documentation.Bruce Momjian
Karl O. Pinc
2005-06-29Improved words spacing.Bruce Momjian
Victor Y. Yegorov
2005-06-28Replace pg_shadow and pg_group by new role-capable catalogs pg_authidTom Lane
and pg_auth_members. There are still many loose ends to finish in this patch (no documentation, no regression tests, no pg_dump support for instance). But I'm going to commit it now anyway so that Alvaro can make some progress on shared dependencies. The catalog changes should be pretty much done.
2005-06-27Done:Bruce Momjian
> * -Add concurrency to GIST
2005-06-27Done:Bruce Momjian
> * -Remove kerberos4 from source tree
2005-06-27Remove support for Kerberos V4. It seems no one is using this, it hasNeil Conway
some security issues, and upstream has declared it "dead". Patch from Magnus Hagander, minor editorialization from Neil Conway.
2005-06-27Done:Bruce Momjian
> o -Allow PL/pgSQL EXECUTE query_var INTO record_var;
2005-06-26Add Oracle-compatible GREATEST and LEAST functions. Pavel StehuleTom Lane
2005-06-26Code review for escape-strings patch. Sync psql and plpgsql lexersTom Lane
with main, avoid using a SQL-defined SQLSTATE for what is most definitely not a SQL-compatible error condition, fix documentation omissions, adhere to message style guidelines, don't use two GUC_REPORT variables when one is sufficient. Nothing done about pg_dump issues.
2005-06-26Add E'' syntax so eventually normal strings can treat backslashesBruce Momjian
literally. Add GUC variables: "escape_string_warning" - warn about backslashes in non-E strings "escape_string_syntax" - supports E'' syntax? "standard_compliant_strings" - treats backslashes literally in '' Update code to use E'' when escapes are used.
2005-06-25Force a checkpoint before committing a CREATE DATABASE command. ThisTom Lane
should fix the recent reports of "index is not a btree" failures, as well as preventing a more obscure race condition involving changes to a template database just after copying it with CREATE DATABASE.
2005-06-25Add:Bruce Momjian
> o Pass arrays natively instead of as text between plperl and postgres > o Add support for polymorphic arguments and return types to plperl
2005-06-25Update:Bruce Momjian
< * Allow per-user, per-group quotas per-tablespace > * Allow per-tablespace quotas
2005-06-25Update:Bruce Momjian
< * Allow per-user and per-tablespaces quotas > * Allow per-user, per-group quotas per-tablespace
2005-06-25Add:Bruce Momjian
> * Allow per-user and per-tablespaces quotas
2005-06-25Add item:Bruce Momjian
> * Add NUMERIC division operator that doesn't round? > > Currently NUMERIC _rounds_ the result to the specified precision. > This means division can return a result that multiplied by the > divisor is greater than the dividend, e.g. this returns a value > 10: > > SELECT (10::numeric(2,0) / 6::numeric(2,0))::numeric(2,0) * 6; > > The positive modulus result returned by NUMERICs might be considered > inaccurate, in one sense. >
2005-06-24Add desciption for terminate:Bruce Momjian
> > Currently SIGTERM of a backend can lead to lock table corruption. >
2005-06-24Extend r-tree operator classes to handle Y-direction tests equivalentTom Lane
to the existing X-direction tests. An rtree class now includes 4 actual 2-D tests, 4 1-D X-direction tests, and 4 1-D Y-direction tests. This involved adding four new Y-direction test operators for each of box and polygon; I followed the PostGIS project's lead as to the names of these operators. NON BACKWARDS COMPATIBLE CHANGE: the poly_overleft (&<) and poly_overright (&>) operators now have semantics comparable to box_overleft and box_overright. This is necessary to make r-tree indexes work correctly on polygons. Also, I changed circle_left and circle_right to agree with box_left and box_right --- formerly they allowed the boundaries to touch. This isn't actually essential given the lack of any r-tree opclass for circles, but it seems best to sync all the definitions while we are at it.