Peter Eisentraut
cb95ec2f7a
7.4.1 release note improvements
2003-12-19 20:06:20 +00:00
Peter Eisentraut
f39748a70f
Forbid REVOKE on untrusted languages, and don't dump privileges of
...
untrusted languages (in case they sneak in).
2003-12-19 14:21:56 +00:00
Peter Eisentraut
9a1cab4391
Add missing $(X).
2003-12-19 11:54:25 +00:00
Tom Lane
7fc2d50877
Make to_hex() behave portably on negative input values (treat them as
...
unsigned integers). Per report from Jim Crate.
2003-12-19 04:56:41 +00:00
Joe Conway
edc7f146e3
Use a shutdown callback to ensure proper clean up when rescanning
...
partially-evaluated SRFs. Per report found here:
http://archives.postgresql.org/pgsql-general/2003-12/msg00851.php
2003-12-19 00:02:11 +00:00
Tom Lane
e0cd175212
Fix memory leak with SSL connections due to missing X509_free() calls.
...
Per Neil Conway.
2003-12-18 22:49:26 +00:00
Tom Lane
54840eca2e
Use a shutdown callback to clear setArgsValid in a FuncExprState that is
...
evaluating a set-valued function. This fixes some additional problems
with rescanning partially-evaluated SRFs.
2003-12-18 22:23:42 +00:00
Peter Eisentraut
ed8e5143c2
Forgot to change one compatlib.h.
2003-12-18 20:25:58 +00:00
Tom Lane
38423232a5
Ensure set-returning functions in the targetlist of a plan node will be
...
shut down cleanly if the plan node is ReScanned before the SRFs are run
to completion. This fixes the problem for SQL-language functions, but
still need work on functions using the SRF_XXX() macros.
2003-12-18 20:21:37 +00:00
Teodor Sigaev
125d69cd9b
Fix signed char in comparison and check memory allocation
2003-12-18 19:27:53 +00:00
Peter Eisentraut
ad8c09c29c
Move Informix compatibility include files out of the way. compatlib.h
...
was integrated into ecpg_informix.h, the other ones go into their own
subdirectory that is automatically considered by the embedded preprocessor
when in Informix mode.
2003-12-18 18:55:09 +00:00
Dave Cramer
b4ed1edb57
patch for new OID74Test
2003-12-18 04:17:17 +00:00
Dave Cramer
b9deede241
fixed up OID74 test to conform with other tests, by Kris Jurka
2003-12-18 04:08:30 +00:00
Bruce Momjian
e9aec81792
Please find enclosed a patch exemplifying typical use of the ARE
...
Class-Shorthand Escapes<C2><AE>. I believe it will help intrepid regex
users. :)
David Fetter
2003-12-18 03:59:07 +00:00
Bruce Momjian
ed96bfde18
Here is the definition of relation_byte_size() in optimizer/path/costsize.c:
...
----------------------------------------------------------------------
/*
* relation_byte_size
* Estimate the storage space in bytes for a given number of tuples
* of a given width (size in bytes).
*/
static double
relation_byte_size(double tuples, int width)
{
return tuples * (MAXALIGN(width) + MAXALIGN(sizeof(HeapTupleData)));
}
----------------------------------------------------------------------
Shouldn't this be HeapTupleHeaderData and not HeapTupleData ?
(Of course, from a costing perspective these shouldn't be very different but ...)
Sailesh Krishnamurthy
2003-12-18 03:46:45 +00:00
Dave Cramer
bb58eed004
patch by Kris Jurka to use the correct protocol based upon server information
2003-12-18 03:27:15 +00:00
Tom Lane
38b0dff0d3
Adjust rules output for unknown-vs-any change (affects expected contents
...
of pg_stats view definition).
2003-12-18 01:48:53 +00:00
Tom Lane
109a4a603f
Be a little smarter in group_clauses_by_indexkey_for_join: detect cases
...
where a joinclause is redundant with a restriction clause. Original coding
believed this was impossible and didn't need to be checked for, but that
was a thinko ...
2003-12-18 00:22:12 +00:00
Tom Lane
422249120d
information_schema.constraint_column_usage and key_column_usage should
...
not discriminate against system columns, since we support constraints on
system columns, and in fact constraints on OID are moderately useful.
2003-12-17 22:11:30 +00:00
Tom Lane
78f637c6da
Fix DecodeInterval to handle '-0.1' sanely, per gripe from Tilo Schwarz.
2003-12-17 21:45:44 +00:00
Tom Lane
a7e383d241
Repair badly broken estimation of output buffer size in lquery_out().
2003-12-17 20:15:41 +00:00
Tom Lane
f758097c6d
Reorder tests in parse_coerce so that ANY/ANYELEMENT/ANYARRAY coercion
...
does not affect UNKNOWN-type literals or Params. This fixes the recent
complaint about count('x') being broken, and improves consistency in
a few other respects too.
2003-12-17 19:49:39 +00:00
Peter Eisentraut
b40b3306fa
Remove pg_id.
2003-12-17 18:44:09 +00:00
Tom Lane
99e922a01d
Repair planner failure when there are multiple IN clauses, each with
...
a join in its subselect. In this situation we *must* build a bushy
plan because there are no valid left-sided or right-sided join trees.
Accordingly, hoary sanity check needs an update. Per report from
Alessandro Depase.
2003-12-17 17:07:48 +00:00
Dave Cramer
9dddd242dd
revoked patch from Kris Jurka to fix multiarguments, and changed test to create
...
a temp table
2003-12-17 15:45:05 +00:00
Dave Cramer
e4955c2ec3
patch from Kris Jurka to fix large object 7.1 compatible protocol issues
...
modified test case from Alexey Yudichev to be part of the testsuite
2003-12-17 15:38:42 +00:00
Michael Meskes
95eea2d89c
- Added just another patch by Dave that fixes a reversed order in
...
variable listing for output variables in cursor definitions
- Fixed incorrect if call in long=>numeric conversion.
2003-12-17 15:23:45 +00:00
Dave Cramer
845109e606
added polish translation submitted by Piotr Maj
2003-12-17 13:25:14 +00:00
Bruce Momjian
0d5fce355b
Restore information schema upgrade instructions of Peter.
2003-12-17 07:07:00 +00:00
Peter Eisentraut
4b1a35b3c2
Add example for converting epoch back to timestamp.
2003-12-16 15:27:58 +00:00
Peter Eisentraut
0fb3ec1a58
Fix constraint_column_usage for foreign keys.
2003-12-16 14:57:20 +00:00
Peter Eisentraut
f57832f646
Repair name.
2003-12-16 09:47:55 +00:00
Bruce Momjian
3bc199cd6c
Add mention of non-standard extension:
...
< o Make SET CONNECTION thread-aware
> o Make SET CONNECTION thread-aware, non-standard?
2003-12-16 01:35:40 +00:00
Bruce Momjian
028c41e29b
Add for ecpg:
...
> o Make SET CONNECTION thread-aware
2003-12-16 01:08:40 +00:00
Bruce Momjian
39d66b5494
Mention ecpg SET CONNECTION is not thread-aware.
2003-12-16 01:06:39 +00:00
Peter Eisentraut
a6dbd64947
Override some of the changes in DocBook DSSSL stylesheets 1.78 to restore
...
previous behavior of <literal>, <envar>, <acronym>, and others.
2003-12-15 23:58:12 +00:00
Bruce Momjian
19055b78ef
Add mention with might need to use cp -R someday for portability.
2003-12-15 22:56:44 +00:00
Bruce Momjian
34cb0f7b46
Update HISTORY and release notes for 7.4.1.
2003-12-15 22:24:59 +00:00
Neil Conway
6efdd4186c
Fix two typos in the documentation for PREPARE.
2003-12-14 00:55:46 +00:00
Neil Conway
fef0c8345a
I posted some bufmgr cleanup a few weeks ago, but it conflicted with
...
some concurrent changes Jan was making to the bufmgr. Here's an
updated version of the patch -- it should apply cleanly to CVS
HEAD and passes the regression tests.
This patch makes the following changes:
- remove the UnlockAndReleaseBuffer() and UnlockAndWriteBuffer()
macros, and replace uses of them with calls to the appropriate
functions.
- remove a bunch of #ifdef BMTRACE code: it is ugly & broken
(i.e. it doesn't compile)
- make BufferReplace() return a bool, not an int
- cleanup some logic in bufmgr.c; should be functionality
equivalent to the previous code, just cleaner now
- remove the BM_PRIVATE flag as it is unused
- improve a few comments, etc.
2003-12-14 00:34:47 +00:00
Neil Conway
81e9455150
This patch fixes a few more uppercase GUC vars. I also removed an
...
example from the RESET reference page because it seemed completely
redundant.
2003-12-14 00:15:03 +00:00
Neil Conway
0b52062265
This patch makes some improvements and adds some additional detail
...
to the documentation on routine database maintainence activities.
I also corrected a bunch of SGML markup.
2003-12-14 00:10:32 +00:00
Neil Conway
e24018728c
This patch makes some SGML markup more consistent and makes a small
...
improvement to the SSL auth docs.
2003-12-14 00:05:29 +00:00
Neil Conway
7fb5a9992c
This patch makes some SGML markup more consistent and makes a small
...
improvement to the SSL auth docs.
2003-12-13 23:59:07 +00:00
Bruce Momjian
36b0595d5e
Add /usr/local/sgml/docbook-dsssl to the default search patch for
...
docbook style sheets, as discussed with Peter.
2003-12-13 20:25:18 +00:00
Bruce Momjian
62f92ff32d
SGML doc build instructions --- no more DTDDECL, fix double dash in path name.
2003-12-13 20:09:15 +00:00
Bruce Momjian
306a779671
Add fadvise TODO.detail.
2003-12-13 20:02:16 +00:00
Bruce Momjian
664be84a63
Update TODO.detail syntax:
...
< * Add free-behind capability for large sequential scans (fadvise)
> * Add free-behind capability for large sequential scans [fadvise]
2003-12-13 20:02:01 +00:00
Bruce Momjian
9878fe2ae5
Add Czech language FAQ's
...
Pavel Stehule
2003-12-13 16:56:00 +00:00
Peter Eisentraut
2afacfc403
This patch properly sets the prototype for the on_shmem_exit and
...
on_proc_exit functions, and adjust all other related code to use
the proper types too.
by Kurt Roeckx
2003-12-12 18:45:10 +00:00