summaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref
AgeCommit message (Collapse)Author
2002-03-11Fix markupPeter Eisentraut
2002-03-10Disable brackets in multi-statement rules, as discussed.Bruce Momjian
2002-03-07Back out domain patch until it works properly.Bruce Momjian
2002-03-06alter table doc cleanups.Bruce Momjian
Neil Conway
2002-03-06Ok. Updated patch attached.Bruce Momjian
- domain.patch -> source patch against pgsql in cvs - drop_domain.sgml and create_domain.sgml -> New doc/src/sgml/ref docs - dominfo.txt -> basic domain related queries I used for testing [ ADDED TO /doc] Enables domains of array elements -> CREATE DOMAIN dom int4[3][2]; Uses a typbasetype column to describe the origin of the domain. Copies data to attnotnull rather than processing in execMain(). Some documentation differences from earlier. If this is approved, I'll start working on pg_dump, and a \dD <domain> option in psql, and regression tests. I don't really feel like doing those until the system table structure settles for pg_type. CHECKS when added, will also be copied to to the table attributes. FK Constraints (if I ever figure out how) will be done similarly. Both will lbe handled by MergeDomainAttributes() which is called shortly before MergeAttributes(). Rod Taylor
2002-03-06Update reference pages for new INFO, NOTICE, WARNING elog() levels.Bruce Momjian
2002-03-05I attach a version of my toast-slicing patch, against current CVSBruce Momjian
(current as of a few hours ago.) This patch: 1. Adds PG_GETARG_xxx_P_SLICE() macros and associated support routines. 2. Adds routines in src/backend/access/tuptoaster.c for fetching only necessary chunks of a toasted value. (Modelled on latest changes to assume chunks are returned in order). 3. Amends text_substr and bytea_substr to use new methods. It now handles multibyte cases -and should still lead to a performance improvement in the multibyte case where the substring is near the beginning of the string. 4. Added new command: ALTER TABLE tabname ALTER COLUMN colname SET STORAGE {PLAIN | EXTERNAL | EXTENDED | MAIN} to parser and documented in alter-table.sgml. (NB I used ColId as the item type for the storage mode string, rather than a new production - I hope this makes sense!). All this does is sets attstorage for the specified column. 4. AlterTableAlterColumnStatistics is now AlterTableAlterColumnFlags and handles both statistics and storage (it uses the subtype code to distinguish). The previous version of my patch also re-arranged other code in backend/commands/command.c but I have dropped that from this patch.(I plan to return to it separately). 5. Documented new macros (and also the PG_GETARG_xxx_P_COPY macros) in xfunc.sgml. ref/alter_table.sgml also contains documentation for ALTER COLUMN SET STORAGE. John Gray
2002-03-05Add \timing patch to psql. Times all queries.Bruce Momjian
Greg Sabino Mullane
2002-03-02Commit to match discussed elog() changes. Only update is that LOG isBruce Momjian
now just below FATAL in server_min_messages. Added more text to highlight ordering difference between it and client_min_messages. --------------------------------------------------------------------------- REALLYFATAL => PANIC STOP => PANIC New INFO level the prints to client by default New LOG level the prints to server log by default Cause VACUUM information to print only to the client NOTICE => INFO where purely information messages are sent DEBUG => LOG for purely server status messages DEBUG removed, kept as backward compatible DEBUG5, DEBUG4, DEBUG3, DEBUG2, DEBUG1 added DebugLvl removed in favor of new DEBUG[1-5] symbols New server_min_messages GUC parameter with values: DEBUG[5-1], INFO, NOTICE, ERROR, LOG, FATAL, PANIC New client_min_messages GUC parameter with values: DEBUG[5-1], LOG, INFO, NOTICE, ERROR, FATAL, PANIC Server startup now logged with LOG instead of DEBUG Remove debug_level GUC parameter elog() numbers now start at 10 Add test to print error message if older elog() values are passed to elog() Bootstrap mode now has a -d that requires an argument, like postmaster
2002-03-01User and database-specific session defaults for run-time configurationPeter Eisentraut
variables. New commands ALTER DATABASE ... SET and ALTER USER ... SET.
2002-03-01Revert quotes, 7.2 doesn't need them for CREATE FUNCTION.Bruce Momjian
2002-03-01Oops, we didn't have single quotes around 'langname' in CREATE FUNCTIONBruce Momjian
manual page; pointed out by IRC user.
2002-02-27Some cleanups in CREATE/ALTER/DROP USER ref pages.Peter Eisentraut
2002-02-26Correct typo noticed by Christopher Kings-Lynne.Tom Lane
2002-02-25Re-add equals documentation with CREATE DATABASE.Bruce Momjian
2002-02-25Remove documentation of equals in CREATE DATABASE. Mention removal ofBruce Momjian
equals hack for the future.
2002-02-24Fix copy-and-paste typo.Tom Lane
2002-02-24Add -O/--owner switch to createdb script, in support of new OWNER optionTom Lane
for CREATE DATABASE.
2002-02-24Add OWNER option to CREATE DATABASE, so superusers can create databasesTom Lane
on behalf of unprivileged users. Also, make '=' optional in CREATE DATABASE syntax. From Gavin Sherry, with kibitzing and docs by Tom Lane.
2002-02-21Small spacing cleanup.Bruce Momjian
2002-02-21Wrap some SQL syntax examples so \h shows them better.Bruce Momjian
2002-02-18Privileges on functions and procedural languagesPeter Eisentraut
2002-02-18Fix param handling of create* admin scripts as described months ago.Bruce Momjian
Properly handles default values.
2002-02-17Fix SGML typo in previous patch.Bruce Momjian
2002-02-17I think it's important that it's actually documented that they can addBruce Momjian
primary keys after the fact! Also, we need to add regression tests for alter table / add primary key and alter table / drop constraint. These shouldn't be added until 7.3 tho methinks... Chris
2002-02-16Clarify params to ALTER TABLE to clearly show single parameters.Bruce Momjian
e.g. table contraint definition -> table_constraint_definition.
2002-02-13Point out that --adduser actually makes the new user a superuser. ThisTom Lane
was mentioned on the man page for the underlying CREATE USER command, but it should be explained here too.
2002-02-12Modify COPY TO to emit carriage returns and newlines as backslash escapesTom Lane
(backslash-r, backslash-n) for protection against newline-conversion munging. In future we will also tweak COPY FROM, but this part of the change should be backwards-compatible. Per pghackers discussion. Also, update COPY reference page to describe the backslash conversions more completely and accurately.
2002-02-11pg_dump and pg_restore man pages need to mention that one should restoreTom Lane
into a virgin database, ie, one created from template0, if there are any site-local additions in template1.
2002-01-24Fix documentation misstatement: OLD is not valid in ON SELECT.Tom Lane
2002-01-20Spell-check and markup policePeter Eisentraut
2002-01-18Improve description of autocommit behavior in ecpg manual pages.Bruce Momjian
2002-01-18Explain privileges required for LOCK. Minor wordsmithing too.Tom Lane
2002-01-18Point out that superusers bypass privilege checking. Minor wordsmithing.Tom Lane
2002-01-15pg_upgrade doesn't live here anymore. Remove dangling references.Tom Lane
2002-01-14Move pg_upgrade to /contrib. Still need to make Peter's portabilityBruce Momjian
changes.
2002-01-13Wow, it actually worked for the regression database. More testing needed.Bruce Momjian
2002-01-11More man pages improvements; also needed to test sgml build.Bruce Momjian
2002-01-11Sync up.Bruce Momjian
2002-01-11More cleanups.Bruce Momjian
2002-01-11Handle int4-int8 sequence migration without full data dump.Bruce Momjian
2002-01-10More pg_upgrade improvements. Almost done, except for max transactionBruce Momjian
setting.
2002-01-09Update with new features. Still disabled.Bruce Momjian
2002-01-07Editorial reviewPeter Eisentraut
2002-01-06Fix ecpg wording to be consistent.Bruce Momjian
2002-01-06Fix copy-and-paste brain damage. (These commands do not create aTom Lane
database.)
2002-01-04ecpg.sgml manual page updated to ON.Bruce Momjian
--------------------------------------------------------------------------- When you run 'ecpg --help' you get the following: -t turn on autocommit of transactions amongst the other options... Shouldn't this be OFF as per the documentation? Best regards, Lee. -- Lee Kindness, Senior Software Engineer, lkindness@csl.co.uk
2002-01-03Add mention of index on foreign key for frequently updated primary keyBruce Momjian
tables.
2002-01-03droplang had same problem as createlang; default are backwards and didBruce Momjian
not work. Fixed to match createlang.
2002-01-03In createlang, make dbname optional, not langname, or rather, makeBruce Momjian
existing code of dbname optional actually work.