Commit Graph

16565 Commits

Author SHA1 Message Date
Joe Conway
5392e73b6c Added missing SPI_finish() calls to get_tuple_of_interest(). Fixes bug
reported by Andrea Grassi.
2003-11-26 20:43:25 +00:00
Peter Eisentraut
185430aef9 Add NetBSD Sparc as supported. 2003-11-26 15:56:48 +00:00
Peter Eisentraut
9a8b7c0f69 Cast field-length variables used in printf to int, because sometimes
they might be of a wider type.
2003-11-26 15:55:01 +00:00
Teodor Sigaev
f5e8bfb4b1 Utility for convert myspell dictionaries to ispell, full README will be later 2003-11-26 14:06:16 +00:00
Tatsuo Ishii
43f77c06bb Patches from Yutaka Tanida. Create primary key indexes after data
insertion to reduce initialization time.
2003-11-26 06:53:18 +00:00
Tom Lane
e7a45c787e Repair subselect.c's occasional assignment of the wrong vartypmod to
Vars created to fill subplan args lists.  This is an ancient error, going
back at least to 7.0, but is more easily triggered in 7.4 than before
because we no longer compare varlevelsup when deciding whether a Param
slot can be re-used.  Fixes bug reported by Klint Gore.
2003-11-25 23:59:12 +00:00
Tom Lane
a64846f3ad Get rid of hashkeys field of Hash plan node, since it's redundant with
the hashclauses field of the parent HashJoin.  This avoids problems with
duplicated links to SubPlans in hash clauses, as per report from
Andrew Holm-Hansen.
2003-11-25 21:00:54 +00:00
Peter Eisentraut
38ba28e5c1 Fix language. 2003-11-25 19:27:18 +00:00
Peter Eisentraut
dc69cc1097 New translation 2003-11-25 19:19:21 +00:00
Peter Eisentraut
c95f54c5e0 More adjustment of error messages 2003-11-25 19:18:26 +00:00
Peter Eisentraut
083e10e167 Install all the headers files that the ones that are already installed
depend on.
2003-11-25 19:09:02 +00:00
Teodor Sigaev
4ca765f9aa Ignore too long lexeme 2003-11-25 13:33:15 +00:00
Peter Eisentraut
cf87eb4726 Upgrade to DocBook V4.2 SGML. 2003-11-24 19:08:02 +00:00
Tom Lane
e91e640b80 Avoid using string literal with embedded newline. 2003-11-24 17:25:14 +00:00
Peter Eisentraut
e7cc995a98 Fix markup. 2003-11-24 16:56:00 +00:00
Tom Lane
1c5f223e25 Overdue code review for ALTER SEQUENCE patch. Don't generate illegal Node
tree for CYCLE option; don't assume zeros are invalid values for sequence
fields other than increment_by; don't reset cache_value when not told to;
simplify code for testing whether to apply defaults.
2003-11-24 16:54:07 +00:00
Peter Eisentraut
b3d72d3ec5 Use --with-docdir to choose installation location of documentation; put
back --infodir, which several automatic build environments expect to exist.
Add --without-docdir to prevent installation of documentation, which is
helpful for things like RPM that have their own method of installing
documentation.
2003-11-24 14:52:58 +00:00
Tom Lane
c52204b224 Repair missed renamings of show_statement_stats and show_executor_stats. 2003-11-24 14:49:51 +00:00
Peter Eisentraut
8878cc4cd7 Rename USE_THREADS to ENABLE_THREAD_SAFETY to avoid name clash with Perl.
Fixes compilation failure with --enable-thread-safety --with-perl and Perl
5.6.1.
2003-11-24 13:16:22 +00:00
Peter Eisentraut
040e1cef91 Make the messages and the options parsing a bit more standard. 2003-11-23 22:17:59 +00:00
Peter Eisentraut
4f581e0072 Add maintainer-clean target. 2003-11-23 21:42:13 +00:00
Peter Eisentraut
e2d9066527 Add NLS support. 2003-11-23 21:41:30 +00:00
Tom Lane
42ce74bf17 COMMENT ON casts, conversions, languages, operator classes, and
large objects.  Dump all these in pg_dump; also add code to pg_dump
user-defined conversions.  Make psql's large object code rely on
the backend for inserting/deleting LOB comments, instead of trying to
hack pg_description directly.  Documentation and regression tests added.

Christopher Kings-Lynne, code reviewed by Tom
2003-11-21 22:32:49 +00:00
Tom Lane
0a97cb37fc Remove unused variable. 2003-11-21 17:41:31 +00:00
Bruce Momjian
5b2cbc88bc Mark item as done, update description for 7.5:
< A dash (-) marks changes that will appear in the upcoming 7.4 release.
> A dash (-) marks changes that will appear in the upcoming 7.5 release.
437c437
< * Use background process to write dirty shared buffers to disk
> * -Use background process to write dirty shared buffers to disk
2003-11-19 17:35:40 +00:00
Bruce Momjian
0b0f9c62e8 Remove items completed in 7.4:
< * -Allow elog() to return error codes, module name, file name, line
<   number, not just messages (Tom)
< * -Add error codes (Tom)
< * -Make error messages more consistent
40d35
< * -Add GUC log_statement_and_duration to print statement and >= min duration
51d45
< * -Allow easy display of usernames in a group
53d46
< * -Add start time to pg_stat_activity
55d47
< * -Have standalone backend read postgresql.conf (Tom)
59d50
< * -Allow CIDR format to be used in pg_hba.conf
74d64
< * -Add IPv6 capability to INET/CIDR types
77d66
< * -Change NUMERIC data type to use base 10,000 internally
82d70
< * -Add GUC variables to control floating number output digits (Pedro Ferreira)
90,92d77
< * -Allow current datestyle to restrict dates;  prevent month/day swapping
<   from making invalid dates valid
< * -Prevent month/day swapping of ISO dates to make invalid dates valid
102d86
< 	o -Allow arrays to be ORDER'ed
104d87
< 	o -Support construction of array result values in expressions (Joe)
128d110
< * -Remove Cyrillic recode support
146,147d127
< * -Allow CREATE INDEX zman_index ON test (date_trunc( 'day', zman ) datetime_ops)
<   fails index can't store constant parameters
155d134
< * -Add btree index support for reltime, tinterval, regproc (Tom)
157d135
< * -Certain indexes will not shrink, e.g. indexes on ever-increasing
161d138
< * -Allow LIKE indexing optimization for non-ASCII locales using special index
173d149
< * -Improve concurrency of hash indexes (Tom)
181d156
< * -Allow LIMIT/OFFSET to use expressions (Tom)
187d161
< * -Return proper effected tuple count from complex commands [return]
191d164
< * -Make a transaction-safe TRUNCATE (Rod)
196,197d168
< * -Allow UPDATE to use SET col = DEFAULT
< * -Add config variable to prevent auto-adding missing FROM-clause tables
199d169
< * -Have SELECT '13 minutes'::interval display zero seconds in ISO datestyle
224,225d193
< 	o -Add ALTER TABLE tab SET WITHOUT OIDS (Rod)
< 	o -Add ALTER SEQUENCE to modify min/max/increment/cache/cycle values
237d204
< 	o -Allow CLUSTER to cluster all tables (Alvaro Herrera)
248d214
< 	o -MOVE 0 should not move to end of cursor (Bruce)
252d217
< 	o -Allow cursors outside transactions
264,265d228
< 	o -Allow EXPLAIN EXECUTE to see prepared plans
<  	o -Allow SHOW of some non-modifiable variables, like pg_controldata
280d242
< 	o -Allow array declarations and other data types in PL/PgSQL DECLARE
282,283d243
< 	o -Make PL/PgSQL %TYPE schema-aware
< 	o -Allow PL/PgSQL to support array element assignment (Joe)
294,298d253
< * -Allow psql to show transaction status if backend protocol changes made
< * -Add schema, cast, and conversion backslash commands to psql (Christopher)
< * -Allow pg_dump to dump a specific schema (Neil Conway)
< * -Allow psql to do table completion for SELECT * FROM schema_part and
<   table completion for SELECT * FROM schema_name.
300,302d254
< * -Allow SSL-enabled clients to turn off SSL transfers
< * -Modify pg_get_triggerdef() to take a boolean to pretty-print,
<   and use that as part of pg_dump along with psql
327d278
< 	o -Add SQLSTATE
330d280
< 	o -Make casts work in variable initializations
334,336d283
< 	o -Allow multi-threaded use of SQLCA
< 	o -Understand structure definitions outside a declare section
< 	o -Allow :var[:index] or :var[<integer>] as cvariable for an array var
356d302
< * -Support statement-level triggers (Neil)
460,461d405
< * -Add checkpoint_min_warning postgresql.conf option to warn about checkpoints
<   that are too frequent (Bruce)
472,476d415
< * -Improve Subplan list handling
< * -Allow Subplans to use efficient joins(hash, merge) with upper variable
< * -Add hash for evaluating GROUP BY aggregates (Tom)
< * -Allow merge and hash joins on expressions not just simple variables (Tom)
< * -Make IN/NOT IN have similar performance to EXISTS/NOT EXISTS (Tom)
480d418
< * -Inline simple SQL functions to avoid overhead (Tom)
495d432
< * -Get faster regex() code from Henry Spencer <henry@zoo.utoronto.ca>
511,512d447
< * -Modify regression tests to prevent failures do to minor numeric rounding
< * -Add OpenBSD's getpeereid() call for local socket authentication
537,542d471
< 	o -Show transaction status in psql
< 	o -Allow binding of query parameters, support for prepared queries
< 	o -Remove hard-coded limits on user/db/password names
< 	o -Remove unused elements of startup packet (unused, tty, passlength)
< 	o -Fix COPY/fastpath protocol
< 	o -Error codes
544d472
< 	o -Special passing of binary values in platform-neutral format (bytea?)
547d474
< 	o -Report server version number, database encoding, client encoding
2003-11-19 17:34:01 +00:00
Bruce Momjian
022da0ed7a SERIAL no longer creates an index by default, as of 7.3. 2003-11-19 16:50:48 +00:00
Jan Wieck
cfeca62148 Background writer process
This first part of the background writer does no syncing at all.
It's only purpose is to keep the LRU heads clean so that regular
backends seldom to never have to call write().

Jan
2003-11-19 15:55:08 +00:00
Michael Meskes
5032f83082 Fixed typo in create schema parsing. 2003-11-19 13:18:13 +00:00
Bruce Momjian
25487b12d0 Add FreeBSD mention for initdb.c. 2003-11-17 20:35:28 +00:00
Teodor Sigaev
c63c1946a2 Optimize. Improve ispell support for compound words. This work was sponsored by ABC Startsiden AS. 2003-11-17 17:34:35 +00:00
Bruce Momjian
6a04c571d4 Change "IN/NOT IN" to "IN / NOT IN" for clarity, both branches. 2003-11-17 04:50:56 +00:00
Bruce Momjian
1acc65787a Add:
> * Add GUC setting to make created tables default to WITHOUT OIDS
2003-11-17 02:05:26 +00:00
Bruce Momjian
572446b518 Fix double dash:
< 	o --Add ALTER TABLE tab SET WITHOUT OIDS (Rod)
> 	o -Add ALTER TABLE tab SET WITHOUT OIDS (Rod)
2003-11-17 02:01:56 +00:00
Tom Lane
1a908a00b0 Fix datetime input parsing to accept YYYY-MONTHNAME-DD and related syntaxes,
which had been unintentionally broken by recent changes to tighten up the
DateStyle rules for all-numeric date input.  Add documentation and
regression tests for this, too.
2003-11-16 20:29:16 +00:00
Tom Lane
9ad53b0463 Sync HEAD with update committed only in 7.4 branch. 2003-11-16 17:16:47 +00:00
Tom Lane
02cd2b96ac Another try at fixing the Linux overcommit docs, per Andrew Dunstan. 2003-11-16 17:01:50 +00:00
Jan Wieck
1f45555892 Changed parameter name for shared cache status report interval to
debug_shared_buffers = <seconds>

as per previous discussion.


Jan
2003-11-16 16:41:01 +00:00
Bruce Momjian
ef110c0a78 Update HISTORY 2003-11-16 04:49:35 +00:00
Bruce Momjian
658b58dc16 pgadmin III released. 2003-11-16 04:41:12 +00:00
Tom Lane
edc213515b Update info about SysV configuration procedures on OS X 10.3. 2003-11-16 03:58:10 +00:00
Tom Lane
ffce57de40 Some editorializing on the Linux memory overcommit docs, from Neil Conway. 2003-11-16 03:38:34 +00:00
Tom Lane
51eba617b2 More release-notes copy editing, from Neil Conway. 2003-11-16 03:23:48 +00:00
Tom Lane
3e9a86a38d A little bit more copy-editing... 2003-11-15 20:01:11 +00:00
Tom Lane
c76037aa50 Minor wording improvement suggested by a comment in the interactive docs. 2003-11-15 19:46:31 +00:00
Tom Lane
5b6b587a95 Make creation of statistics collection socket more robust, by allowing it
to try additional addresses returned from getaddrinfo() if the first one
fails at the bind() or connect() steps.  Per yesterday's discussion.
2003-11-15 17:24:07 +00:00
Peter Eisentraut
472d9726dd Correct names of people with funny characters. 2003-11-15 01:16:37 +00:00
Peter Eisentraut
7397819f78 Translation updates 2003-11-14 23:59:12 +00:00
Tom Lane
db15b9b6cf Repair error in syntax documentation for CREATE TABLE: one does not put
a comma between multiple column_constraint's for a single column.
Per report from Tomislaw Kitynski.
2003-11-14 22:56:11 +00:00
Tom Lane
5945283599 Try to improve error handling for failures of backend subprocess. 2003-11-14 18:32:34 +00:00