Commit Graph

3527 Commits

Author SHA1 Message Date
Bruce Momjian 50e726a2c3 Add documentation for array_upper/lower(). 2002-11-10 00:32:16 +00:00
Bruce Momjian 4ca28eb7c7 I just discovered, that there is missing a const when passing a buffer
to  PQescapeBytea and PQunescapeBytea. I fixed it and tried to create a
usable  diff (I'm not so familar to diff).

Tommi M?kitalo
2002-11-10 00:14:22 +00:00
Bruce Momjian 3eabc4490e Tweak CREATE SEQUENCE grammar to be more SQL1999 standards compliant.
Neil Conway
2002-11-10 00:10:20 +00:00
Bruce Momjian ebb531836a Add code to handle [ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP }]
for temp tables.

Gavin Sherry
2002-11-09 23:56:39 +00:00
Tom Lane f2ef470196 Update discussion of floating-point problems in regression tests. 2002-11-08 20:26:12 +00:00
Bruce Momjian b26dfbb0e3 Here is a patch that does just that, while maintaining the
"traditional" behavior, so the change should be transparent. Use the
command "\pset pager always" to turn it on. Anything else does the
normal toggle between "on" and "off"

Greg Sabino Mullane
2002-11-08 19:12:21 +00:00
Bruce Momjian cea5388840 Add name:
> * -Add GUC variables to control floating number output digits (Pedro Ferreira)
2002-11-08 17:42:18 +00:00
Bruce Momjian 3e6bef680c Mark as done:
> * -Add GUC variables to control floating number output digits
2002-11-08 17:41:05 +00:00
Tom Lane d2c744aa56 Add extra_float_digits GUC parameter to allow adjustment of displayed
precision for float4, float8, and geometric types.  Set it in pg_dump
so that float data can be dumped/reloaded exactly (at least on platforms
where the float I/O support is properly implemented).  Initial patch by
Pedro Ferreira, some additional work by Tom Lane.
2002-11-08 17:37:52 +00:00
Bruce Momjian 7eb2b4b270 Update FAQ_SCO from Larry Rosenman, correction from Tom Lane. 2002-11-08 16:49:15 +00:00
Bruce Momjian 88f528c3e9 Update libpq PQcmdTuples() and PQcmdStatus() docs, remove const param
doc mention to match code and include files.
2002-11-08 05:03:11 +00:00
Bruce Momjian 02608cbce6 I'm using libpgtcl with PostgreSQL-7.2.3. There is a discrepancy between
the documentation and behavior of "pg_result $res -oid" when $res is not
from an INSERT.  The documentation says it should return an empty
string, but in fact it returns 0. I think it used to return an empty
string around PostgreSQL-7.1.3 when PQoidStatus() was used, but now it
uses PQoidValue() which returns InvalidOid, 0 in this case.

Assuming the current behavior is desired, here is a patch to the
documentation doc/src/sgml/libpgtcl.sgml to match what really happens:


ljb
2002-11-08 04:56:40 +00:00
Bruce Momjian 476eb59f50 Add:
> * Add GUC variables extra_float_digits and extra_double_digits to
>   control output digits
419a422
> * Research interaction of setitimer() and sleep() used by statement_timeout
2002-11-08 04:31:14 +00:00
Bruce Momjian 433d4eb986 Update release docs for 7.3. 2002-11-08 03:44:15 +00:00
Bruce Momjian f4233d1478 Remove:
< * Move dbmirror and rserv from /contrib to gborg.postgresql.org
2002-11-06 17:51:03 +00:00
Bruce Momjian 2fe9f20d3d Not done:
> * Add hash for evaluating GROUP BY aggregates (Tom)
2002-11-06 06:21:00 +00:00
Bruce Momjian f9ed7fb68c Completed:
> * -Add hash for evaluating GROUP BY aggregates (Tom)
2002-11-06 05:56:36 +00:00
Bruce Momjian 0579096998 Remove completed items:
< A dash (-) marks changes that will appear in the upcoming 7.3 release.
> A dash (-) marks changes that will appear in the upcoming 7.4 release.
38d37
< * -Change DEBUG startup tag to LOG (Bruce)
40,51d38
< * -Add pg_backend_pid() function to backend
< * -Allow logging of query durations
<
<
< Permissions
< ===========
<
< * -Improve control over user privileges, including table creation
< * -Allow user/group names to be specified directly in pg_hba.conf (Bruce)
< * -Add ~/.pgpass to store passwords with user/host/password combinations
< * -Allow permissions for functions (Peter E)
< * -Allow object creation to be disabled for specific users
58,60d44
< * -Make it easier to create a database owned by someone who can't createdb,
<   perhaps CREATE DATABASE dbname WITH OWNER = "user" (Gavin)
< * -Make equals sign optional in CREATE DATABASE WITH param = 'val'
65,66d48
< * -Prevent SIGHUP and 'pg_ctl reload' from changing command line
<   specified parameters to postgresql.conf defaults (Peter E)
69,70d50
< * -Reserve last few process slots for super-user if max_connections reached
< * -Add GUC parameter to print queries that generate errors
79d58
< * -Add domain capability (Rod Taylor)
82,84d60
< * -SELECT cash_out(2) crashes because of opaque
< * -Declare typein/out functions in pg_proc with a special "C string" data type
< * -Functions returning sets do not totally work
89d64
< * -Add GUC parameter for DATESTYLE
91,93d65
< * -Allow bytea to handle LIKE with non-TEXT patterns
< * -to_char(0,'FM999.99') returns a period, to_char(1,'FM999.99') doesn't (Karel)
< * -Add floor(float8) and other missing functions
97d68
< 	o -Store binary-compatible type information in the system
104d74
< 	o -Ensure we have array-eq operators for every built-in array type
139,140d108
< * -Remove brackets as multi-statement rule grouping, must use parens (Bruce)
< * -Prevent aggregates from being used in rule WHERE clauses
154d121
< * -Allow UPDATE/DELETE on inherited table
166d132
< * -Add deleted bit to index tuples to reduce heap access
176d141
< * -Test hash index performance and discourage usage
182d146
< * -Add SIMILAR TO to allow character classes, 'pg_[a-c]%'
184d147
< * -Remove LIMIT #,# and force use LIMIT and OFFSET clauses in 7.3 (Bruce)
186,187d148
< * -Disallow TRUNCATE on tables that are involved in referential constraints
< * -Add OR REPLACE clauses to non-FUNCTION object creation
190d150
< * -Prevent create/drop scripts from allowing extra args (Bruce)
201,205d160
< 	o -Add ALTER TABLE DROP COLUMN feature
< 	o -Add ALTER TABLE DROP non-CHECK CONSTRAINT
< 	o -ALTER TABLE ADD PRIMARY KEY (Tom)
< 	o -ALTER TABLE ADD UNIQUE (Tom)
< 	o -ALTER TABLE ALTER COLUMN SET/DROP NOT NULL (Christopher)
210d164
< 	o -Have ALTER TABLE OWNER change all dependant objects like indexes
214,216d167
< 	o -Cluster all tables at once using pg_index.indisclustered set during
<           previous CLUSTER
< 	o -Prevent loss of indexes, permissions, inheritance
221d171
< 	o -Allow specification of column names
224d173
< 	o -Change syntax to WITH DELIMITER, (keep old syntax around?)
228d176
< 	o -Generate failure on short COPY lines rather than pad NULLs
242,243d189
< 	o -Allow INSERT INTO my_table VALUES (a, b, c, DEFAULT, x, y, z, ...)
< 	o -Disallow missing columns in INSERT ... (col) VALUES, per ANSI
248,249d193
< 	o -Add command to display locks
< 	o -Add SET or BEGIN timeout parameter to cancel query
251d194
< 	o -Remove SET KSQO option now that OR processing is improved (Bruce)
254,256d196
< 	o -Add SHOW command to see locale
< 	o -Allow SHOW to output as a query result, like EXPLAIN
< 	o -Abort all SET changes made in an aborted transaction
264d203
< 	o -Fix PL/PgSQL to handle quoted mixed-case identifiers
287,291d225
< * -Have pg_dump use LEFT OUTER JOIN in multi-table SELECTs
<   or multiple SELECTS to avoid bad system catalog entries
< * -Have pg_dump -C dump database location and encoding information
< * -Allow psql \d to show foreign keys
< * -Allow psql \d to show temporary table structure (Tom)
294d227
< * -Have pg_dump use ADD PRIMARY KEY after COPY, for performance (Neil)
302d234
< 	o -Updateable resultSet
307d238
< 	o -Implement cancel() method on Statement
309d239
<         o -Add support for CallableStatements
311d240
< 	o -Compile under jdk 1.4
334d262
< * -Allow oid to act as a foreign key
337,338d264
< * -Allow user to control trigger firing order (Tom)
< * -Add ALTER TRIGGER ... RENAME
341d266
< * -Fix foreign key constraints to not error on intermediate db states (Stephan)
350,359d274
< * -Add pg_depend table for dependency recording; use sysrelid, oid,
<   depend_sysrelid, depend_oid, name
< * -Auto-destroy sequence on DROP of table with SERIAL; perhaps a separate
<   SERIAL type
< * -Prevent column dropping if column is used by foreign key
< * -Propagate column or table renaming to foreign key constraints
< * -Automatically drop constraints/functions when object is dropped
< * -Make foreign key constraints clearer in dump file
< * -Make other constraints clearer in dump file
< * -Make foreign keys easier to identify
367d281
< * -Allow autocommit so always in a transaction block
377d290
< * -Add SQL92 schemas (Tom)
400d312
< * -Cache most recent query plan(s) (Neil) [prepare]
439d350
< * -Cache system catalog information in per-database files (Tom)
450,451d360
< * -Reorder postgresql.conf WAL items in order of importance (Bruce)
< * -Remove wal_files postgresql.conf option because WAL files are now recycled
465,466d373
< * -Improve dynamic memory allocation by introducing tuple-context memory
<   allocation (Tom)
468d374
< * -Nested FULL OUTER JOINs don't work (Tom)
470,472d375
< * -Add new pg_proc cachable settings to specify whether function can be
<   evaluated only once or once per query
< * -Change FIXED_CHAR_SEL to 0.20 from 0.04 to give better selectivity (Bruce)
494,496d396
< * -Add Intimate Shared Memory(ISM) for Solaris
< * -Use faster flex flags for performance improvement (Peter E)
< * -Add BSD-licensed qsort() for Solaris
503,507d402
< * -Fix problems with libpq non-blocking/async code
< * -Make sure all block numbers are unsigned to increase maximum table size
< * -Merge LockMethodCtl and LockMethodTable into one shared structure (Bruce)
< * -HOLDER/HOLDERTAB rename to PROCLOCK/PROCLOCKTAG (Bruce)
< * -Remove LockMethodTable.prio field, not used (Bruce)
512,513d406
< * -Make one version of simple_prompt() in code (Bruce, Tom)
< * -Compile in syslog functionaility by default (Tatsuo)
517d409
< * -Report failure to find readline or zlib at end of configure run
519,520d410
< * -Increase identifier length (NAMEDATALEN) if small performance hit,
< * -Increase maximum number of function parameters if little wasted space
529,530d418
< * -Fix glibc's mktime() to handle pre-1970's dates
< * -Move /contrib/retep to gborg.postgresql.org
2002-11-06 05:55:14 +00:00
Bruce Momjian 308910d00f None. 2002-11-06 05:13:02 +00:00
Bruce Momjian a8c18b980e Add OS/X kernel tuning section. 2002-11-05 23:16:56 +00:00
Bruce Momjian ab4ee6c4bd Add:
> * Move dbmirror and rserv from /contrib to gborg.postgresql.org
2002-11-05 22:16:57 +00:00
Bruce Momjian 6ac7538337 Update FAQ_DEV. 2002-11-05 21:53:24 +00:00
Bruce Momjian d3d54d4b41 Update FAQ_DEV. 2002-11-05 21:49:52 +00:00
Bruce Momjian c4ee9153c4 Update ports list. 2002-11-05 19:01:07 +00:00
Bruce Momjian 44c9a28b7c Update ports list. 2002-11-05 17:31:36 +00:00
Bruce Momjian 1f07f7d88b Update ports list. 2002-11-05 17:11:46 +00:00
Bruce Momjian 44a35e3598 Update ports list. 2002-11-05 17:09:50 +00:00
Tom Lane 5ca2fe3e96 Fix broken markup. 2002-11-05 04:34:51 +00:00
Bruce Momjian 704895a0bd Update ports list. 2002-11-05 03:18:09 +00:00
Bruce Momjian 1a9f24462c Update ports list. 2002-11-04 22:40:43 +00:00
Bruce Momjian 659df79e45 Update FAQ_DEV. 2002-11-03 04:02:32 +00:00
Bruce Momjian d3f9d0ce57 This patch adds a couple of extra index entries and removes some
out-of-date text about multibyte encoding (which is now always
included).

Oliver Elphick
2002-11-03 01:31:32 +00:00
Bruce Momjian ba95f2d6aa This patch adds information to the documentation on .pgpass and creates
additional index entries for it.

Oliver Elphick
2002-11-03 01:30:46 +00:00
Tom Lane 77fcc1cbae Fix some misstatements in WAL parameter discussion. 2002-11-02 22:23:01 +00:00
Tom Lane 5123139210 Remove encoding lookups from grammar stage, push them back to places
where it's safe to do database access.  Along the way, fix core dump
for 'DEFAULT' parameters to CREATE DATABASE.  initdb forced due to
change in pg_proc entry.
2002-11-02 18:41:22 +00:00
Bruce Momjian 82ddb66464 Add:
> * Acquire lock on a relation before building a relcache entry for it
2002-11-02 05:42:01 +00:00
Bruce Momjian 91a6bb0497 Update:
> 	o MOVE 0 should not move to end of cursor (Bruce)
2002-11-02 02:44:16 +00:00
Bruce Momjian 76aada9e9d Add:
> * Support statement-level triggers and triggers on columns (Neil)
2002-11-02 02:43:03 +00:00
Tom Lane 6a7273e14c Fix permissions-checking bugs and namespace-search-path bugs in
CONVERSION code.  Still need to figure out what to do about inappropriate
coding in parsing.
2002-11-02 02:33:03 +00:00
Bruce Momjian 08dd92cdeb Add gcj discussion. 2002-11-02 02:27:49 +00:00
Bruce Momjian caed998b69 Update port list. 2002-11-02 01:29:37 +00:00
Tom Lane 63a1400740 Updates from Giles Lean. 2002-11-02 00:46:23 +00:00
Bruce Momjian 66a03b064e Add:
> * Allow psql to do table completion for SELECT * FROM schema_part and
>   table completion for SELECT * FROM schema_name.
2002-11-02 00:15:38 +00:00
Bruce Momjian fb4639f911 Add:
> * Have standalone backend read postgresql.conf
2002-11-01 22:53:05 +00:00
Tom Lane 676a7c02d6 Update description of timestamp types for 7.3 implementation. 2002-10-31 22:18:42 +00:00
Bruce Momjian 2c58fcc0aa Add mention of T on .pot files, from pkuczynski@hypode.pl 2002-10-30 05:14:32 +00:00
Bruce Momjian faf285362e Clean up Unixware entry for Larry Rosenman 2002-10-30 03:00:53 +00:00
Bruce Momjian 5bd06b236f Update ports list. 2002-10-29 19:09:41 +00:00
Bruce Momjian db72810361 Update ports list. 2002-10-29 18:59:38 +00:00
Bruce Momjian ee244d6327 Update ports list. 2002-10-29 18:13:28 +00:00