Bruce Momjian
04a4821ade
Attached is a patch implementing factorial(), returning numeric. Points
...
to note:
1) arttype is numeric. I thought this was the best way of allowing
arbitarily large factorials, even though factorial(2^63) is a large
number. Happy to change to integers if this is overkill.
2) since we're accepting numeric arguments, the patch tests for floats.
If a numeric is passed with non-zero decimal portion, an error is raised
since (from memory) they are undefined.
Gavin Sherry
2003-12-01 21:52:38 +00:00
Tom Lane
af03663878
Minor wordsmithing in datetime docs to try to address gripes raised by
...
cnliou.
2003-12-01 20:34:53 +00:00
Tom Lane
c5336a892f
netmask() and hostmask() functions should return maximum-length masklen,
...
per gripe from Joe Sunday.
2003-12-01 18:50:19 +00:00
Tom Lane
3e5da0a8da
Fix typos noted by Halley Pacheco de Oliveira.
2003-12-01 17:58:27 +00:00
Tom Lane
0902ece5b9
Force zero_damaged_pages to be effectively ON during recovery from WAL,
...
since there is no need to worry about damaged pages when we are going to
overwrite them anyway from the WAL. Per recent discussion.
2003-12-01 16:53:19 +00:00
Bruce Momjian
64e5a85625
Seems there are three GUC variables that are defined as "Shows ..."
...
while you can actually set them with SET.
This applied patch changes the wording from "Show" to "Set".
2003-12-01 03:55:21 +00:00
Joe Conway
b8f40ced2f
Make PQescapeBytea and byteaout consistent with each other, and
...
octal escape all octets outside the range 0x20 to 0x7e. This fixes
the problem pointed out by Sergey Yatskevich here:
http://archives.postgresql.org/pgsql-bugs/2003-11/msg00140.php
2003-11-30 20:55:09 +00:00
Bruce Momjian
32abf0e781
Bump all version numbers and version stamps mentioned in RELEASE_CHANGES.
2003-11-30 06:09:54 +00:00
Bruce Momjian
38887379a2
Reorder win32/bcc makefile mentions of thread.c for sanity.
2003-11-30 06:01:15 +00:00
Bruce Momjian
edfccd3d32
Add thread.c to Borland CC build.
2003-11-30 05:54:33 +00:00
Bruce Momjian
09ab9b5915
Remove INTO recommendation for plpgsql language.
2003-11-30 05:45:22 +00:00
Bruce Momjian
744ea255b0
Add:
...
> * Have pg_ctl look at PGHOST in case it is a socket directory
2003-11-30 05:29:26 +00:00
Bruce Momjian
24a1a6a5d9
Fix URL.
2003-11-30 04:56:47 +00:00
Bruce Momjian
db032b2719
*** empty log message ***
2003-11-30 04:54:07 +00:00
Bruce Momjian
1a7c373d18
There is an unused variable in an example function in the PL/PgSQL
...
documentation; this patch removes it.
Neil Conway
2003-11-30 04:47:37 +00:00
Bruce Momjian
035fbb6491
Add:
...
> * Make LENGTH() of CHAR() not count trailing spaces
>
2003-11-30 04:44:38 +00:00
Bruce Momjian
9fd239bcb4
Remove win32-only mention for pgadmin.
2003-11-30 04:35:53 +00:00
Bruce Momjian
a6fd22a57a
*** empty log message ***
2003-11-30 04:34:14 +00:00
Bruce Momjian
9d4e426626
Update wording:
...
< * Allow clients to query WITH HOLD cursors and prepared statements
> * Allow clients to query a list of WITH HOLD cursors and prepared statements
2003-11-30 04:07:04 +00:00
Bruce Momjian
73a51c3993
Updates:
...
< manuals (Rory)
> manuals
496c496
< * Jan is Jan Wieck <JanWieck@Yahoo.com> of PeerDirect Corp.
> * Jan is Jan Wieck <JanWieck@Yahoo.com> of Afilias, Inc.
2003-11-30 03:41:10 +00:00
PostgreSQL Daemon
55b113257c
make sure the $Id tags are converted to $PostgreSQL as well ...
2003-11-29 22:41:33 +00:00
Tom Lane
4c274b4f8a
Put out a more useful version indication in the welcome banner for a
...
standalone backend --- the CVS revision number of postgres.c is not real
useful to anyone.
2003-11-29 21:40:43 +00:00
PostgreSQL Daemon
969685ad44
$Header: -> $PostgreSQL Changes ...
2003-11-29 19:52:15 +00:00
PostgreSQL Daemon
738dc233f4
testing $PostgreSQL$ tag
2003-11-28 20:32:09 +00:00
Bruce Momjian
5495e607d0
Attached is a patch to correct white space issues in FAQ_MSWIN.
...
Daniel Convissor
2003-11-28 20:22:18 +00:00
Bruce Momjian
d5f6cfc72e
Update Russian FAQ, both branches.
...
Viktor Vislobokov
2003-11-28 20:20:33 +00:00
Bruce Momjian
3c0ddc5845
Update most recent version to 7.4.
2003-11-28 20:09:30 +00:00
Teodor Sigaev
cabdf460d3
Fix free instead of pfree
2003-11-28 12:09:02 +00:00
Joe Conway
d1824a5ccb
Fix regression in dblink_disconnect() reported by Eduardo Stern:
...
persistent_conn was left dangling after a disconnect in the
unnamed connection case, causing a subsequent disconnect to
crash the backend.
2003-11-28 05:03:02 +00:00
Peter Eisentraut
dd01cfe1c4
Remove possibility to specify an installation root after --with-krbx and
...
--with-openssl options. This creates too much risk to pick up the wrong
directory accidentally (for example when there are lib64 directories), and
does not really help much with contemporary installation layouts.
2003-11-27 19:44:56 +00:00
Peter Eisentraut
859accdab3
Make sure vpath_build is set correctly even if config.status --no-create
...
was specified.
2003-11-27 18:14:02 +00:00
Peter Eisentraut
c9190ef074
Conditionalize variable that is only used conditionally, to avoid warning.
2003-11-27 18:12:50 +00:00
Teodor Sigaev
baeab89de6
Fixes about word with several infiniteve
2003-11-27 16:04:40 +00:00
Tom Lane
9ea738827c
Second try at fixing no-room-to-move-down PANIC in compact_fsm_storage.
...
Ward's report that it can still happen in RC2 forces me to realize that
this is not a can't-happen condition after all, and that the compaction
code had better cope rather than panicking.
2003-11-26 20:50:11 +00:00
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