- Mar 05, 2002
-
-
Bruce Momjian authored
(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
-
Bruce Momjian authored
Greg Sabino Mullane
-
Bruce Momjian authored
Everyone using libpq and bytea is probably having to invent this wheel.. Patrick Welche
-
- Mar 04, 2002
-
-
Bruce Momjian authored
-
- Mar 03, 2002
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- Mar 02, 2002
-
-
Bruce Momjian authored
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
-
- Mar 01, 2002
-
-
Peter Eisentraut authored
variables. New commands ALTER DATABASE ... SET and ALTER USER ... SET.
-
Bruce Momjian authored
-
Bruce Momjian authored
manual page; pointed out by IRC user.
-
- Feb 27, 2002
-
-
Peter Eisentraut authored
-
Bruce Momjian authored
-
- Feb 26, 2002
-
-
Tom Lane authored
-
- Feb 25, 2002
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
equals hack for the future.
-
Tom Lane authored
-
Tom Lane authored
for CREATE DATABASE.
-
- Feb 24, 2002
-
-
Tom Lane authored
on behalf of unprivileged users. Also, make '=' optional in CREATE DATABASE syntax. From Gavin Sherry, with kibitzing and docs by Tom Lane.
-
- Feb 23, 2002
-
-
Bruce Momjian authored
-
Peter Eisentraut authored
-
- Feb 22, 2002
-
-
Bruce Momjian authored
-
- Feb 21, 2002
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- Feb 19, 2002
-
-
Peter Eisentraut authored
-
- Feb 18, 2002
-
-
Peter Eisentraut authored
-
Tom Lane authored
-
Bruce Momjian authored
Properly handles default values.
-
Bruce Momjian authored
-
- Feb 17, 2002
-
-
Bruce Momjian authored
-
Bruce Momjian authored
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
-
Bruce Momjian authored
e.g. table contraint definition -> table_constraint_definition.
-
- Feb 14, 2002
-
-
Bruce Momjian authored
-
- Feb 13, 2002
-
-
Tom Lane authored
was mentioned on the man page for the underlying CREATE USER command, but it should be explained here too.
-
- Feb 12, 2002
-
-
Bruce Momjian authored
-