Commit Graph

23808 Commits

Author SHA1 Message Date
Tom Lane 64353640e8 Mark to_char(timestamp without timezone) as stable, not immutable, since its
result now depends on the lc_messages setting, as noted by Bruce.
Also, mark to_number() and the numeric-type variants of to_char() as stable,
because their results depend on lc_numeric; this is a longstanding oversight.
Also, mark to_date() and to_char(interval) as stable; although these appear
not to depend on any GUC variables as of CVS HEAD, that seems a property
unlikely to survive future improvements.  It seems best to mark all the
formatting functions stable and be done with it.
catversion not bumped, because this does not seem critical enough to force
a post-RC1 initdb, and anyway we cannot do so in the back branches.
2006-11-28 19:18:44 +00:00
Peter Eisentraut a75ccd1def Fix some translator comments so that xgettext finds them and pgindent does
not destroy them.  Maybe we can adjust pgindent sometime.
2006-11-28 12:54:42 +00:00
Peter Eisentraut b64d2d2133 Add workaround for localizing May and abbreviated May differently. Idea
of Dennis Björklund.
2006-11-28 12:53:44 +00:00
Michael Meskes 09309df9a2 Also install ecpg_config.h 2006-11-28 12:44:06 +00:00
Tom Lane fa8e42dff1 Add $(CFLAGS) to the simplified build rule for .so libraries on Darwin.
Arguably we should do this on *all* platforms, but for the moment Ill
2006-11-28 05:45:43 +00:00
Andrew Dunstan 796a3f373a protect vfprintf from hijacking by Windows gettext just like other members of the *printf family. 2006-11-28 01:12:34 +00:00
Tom Lane c15de02f61 Fix inheritance description to note that not-null constraints are
inherited, per Taiki Yamaguchi.
2006-11-28 01:09:01 +00:00
Peter Eisentraut 3cd318a8d1 Fix gratuitous message spelling differences 2006-11-27 15:50:55 +00:00
Tom Lane 81b0b06462 Make pg_restore usage examples more useful: illustrate restoring into
both the same database name and a different one.
2006-11-26 18:11:11 +00:00
Peter Eisentraut 50271fc9b3 Fix misspellings of GB. 2006-11-25 22:55:59 +00:00
Peter Eisentraut 818ac8479b Correct misspellings of kB. 2006-11-25 22:44:48 +00:00
Neil Conway b12add99c2 Cosmetic release note fix. 2006-11-25 07:03:57 +00:00
PostgreSQL Daemon c11b5228cf update for rc1 2006-11-25 03:34:13 +00:00
Bruce Momjian 0d9e0d9dde Copy fsync() defines into test_fsync.c, someday place them in an
include.

Propery align for O_DIRECT.

Check for write()/fsync() failures.
2006-11-25 01:22:28 +00:00
Bruce Momjian f14d43d2d3 Document that to_char() "TM" is controlled by lc_messages. 2006-11-25 00:38:53 +00:00
Tom Lane a7a3d0f0d9 Update release notes for RC1. 2006-11-24 23:31:55 +00:00
Tom Lane df3a6fe477 Fix psql's \copy command to ensure that it cycles libpq back to the idle state
(in particular, causing the ReadyForQuery message to be eaten) before
returning from do_copy.  The only known consequence of failing to do so is
that get_prompt might show a wrong result for the %x transaction status
escape, as reported by Bernd Helmle; but it's possible there are other issues.

Back-patch as far as 7.4, the oldest version supporting %x.
2006-11-24 23:06:50 +00:00
Bruce Momjian 9b15b14014 Revert (too late in beta):
Fix to_char() locale handling to honor LC_TIME, not LC_MESSAGES.

Euler Taveira de Oliveira
2006-11-24 22:25:56 +00:00
Tom Lane 988a87a03a Change pg_stat_all_tables and sister views to put the recently-added
vacuum/analyze timestamp columns at the end, rather than at a random
spot in the middle as in the original patch.  This was deemed more usable
as well as less likely to break existing application code.  initdb forced
accordingly.  In passing, remove former kluge for initializing
pg_stat_file()'s pg_proc entry --- bootstrap mode was fixed recently
so that this can be done without any hacks, but I overlooked this usage.
2006-11-24 21:18:42 +00:00
Tom Lane 2822c7c0fc Make contrib/isn pass the opr_sanity sanity checks: add missing
commutator operators, and mark hash-opclass members as oprcanhash.
This is a pretty ugly, brute-force solution, but it seems that getting
rid of all these redundant-looking operators would require some tweaks
in the core operator-resolution code to behave nicely, and I'm not
willing to risk that just before RC1.
2006-11-24 18:44:37 +00:00
Peter Eisentraut 2c82df2a06 Translation updates 2006-11-24 17:11:57 +00:00
Peter Eisentraut 8c1ce4559d Separate release preparation jobs for all releases and for major releases 2006-11-24 17:03:50 +00:00
Bruce Momjian d2b694d825 Fix to_char() locale handling to honor LC_TIME, not LC_MESSAGES.
Euler Taveira de Oliveira
2006-11-24 15:26:18 +00:00
Peter Eisentraut 409600942b KB -> kB 2006-11-24 09:20:12 +00:00
Teodor Sigaev 3de2682a1e Fix lowercasing while parse OO dictionary 2006-11-23 17:35:14 +00:00
Bruce Momjian 1120c61b29 Revert out:
Update fsync test to match new O_DIRECT behavior.

Greg Smith
2006-11-23 17:20:47 +00:00
Bruce Momjian 3455b0a5d5 Update fsync test to match new O_DIRECT behavior.
Greg Smith
2006-11-23 16:41:11 +00:00
Bruce Momjian eb1fbbe5c4 Update wording:
> * Add a field 'isoyear' to extract(), based on the ISO week
2006-11-23 16:18:12 +00:00
Neil Conway 28568e585f Spelling and related minor fixes for the GIN docs. 2006-11-23 05:58:01 +00:00
Tom Lane ce3d1a4fbc Un-break ecpg regression test. 2006-11-23 05:47:48 +00:00
Neil Conway 34036c8658 More minor SGML improvements for xfunc.sgml, including making some
titles more concise. (We usually don't need to repeat the name of a
section in the title of one of its subsections.)
2006-11-23 05:43:32 +00:00
Bruce Momjian ebf071643a Document that Kerberos is for authentication, and does not encrypt data
or queries over the network.
2006-11-23 05:39:17 +00:00
Neil Conway 4ed6f6d479 Fix a typo in recent xfunc addition, do some routine SGML police work. 2006-11-23 05:28:18 +00:00
Neil Conway 546d6848ca Add a comment noting that heap_copytuple_with_tuple() results in a
HeapTuple that is no longer allocated as a single palloc() block; if
used carelessly, this might result in a subsequent memory leak after
heap_freetuple().
2006-11-23 05:27:18 +00:00
Bruce Momjian 0c6f167c4a Update lock comments for concurrent index creation, analyze.
Walter Cruz
2006-11-23 05:14:04 +00:00
Bruce Momjian 3bd2e3e92b Add:
> * Add ISO day of week format 'ID' to to_char() where Monday = 1
> * Add an ISO year field to extract() called 'isoyear'
2006-11-23 05:09:26 +00:00
Bruce Momjian cb21b9fc13 Add:
> * Allow SQL-language functions to return results from RETURNING queries
2006-11-23 05:01:47 +00:00
Bruce Momjian 956c2d6683 Make ecpg test variable 'times' static so as not to conflict with libc
symbol.
2006-11-23 04:38:01 +00:00
Bruce Momjian ab79444e7b Add "(assuming <varname>standard_conforming_strings</> is
<literal>off</>)" clauses for bytea.
2006-11-23 04:27:33 +00:00
Bruce Momjian 5f78aa5acf Shared Memory Hooks Documentation
This patch, against xfunc.sgml, adds a new subsection 33.9.12, Shared
Memory and LWLocks in C-Language Functions, describing how shared memory
and lwlocks may be requested by C add-in functions.

Marc Munro
2006-11-23 03:52:05 +00:00
Bruce Momjian 3e0c96b2ec Add release entry for 8.1.5 that was missing:
<listitem><para>Fix rare bug in continuous archiving (Tom)</para></listitem>
2006-11-23 03:30:49 +00:00
Tom Lane 395249ecbe Several changes to reduce the probability of running out of memory during
AbortTransaction, which would lead to recursion and eventual PANIC exit
as illustrated in recent report from Jeff Davis.  First, in xact.c create
a special dedicated memory context for AbortTransaction to run in.  This
solves the problem as long as AbortTransaction doesn't need more than 32K
(or whatever other size we create the context with).  But in corner cases
it might.  Second, in trigger.c arrange to keep pending after-trigger event
records in separate contexts that can be freed near the beginning of
AbortTransaction, rather than having them persist until CleanupTransaction
as before.  Third, in portalmem.c arrange to free executor state data
earlier as well.  These two changes should result in backing off the
out-of-memory condition before AbortTransaction needs any significant
amount of memory, at least in typical cases such as memory overrun due
to too many trigger events or too big an executor hash table.  And all
the same for subtransaction abort too, of course.
2006-11-23 01:14:59 +00:00
Bruce Momjian 2a55984162 More HA wording improvements. 2006-11-22 18:15:34 +00:00
Bruce Momjian b035722f29 Update HA docs with more wording improvements. 2006-11-22 18:14:26 +00:00
Bruce Momjian 6346355a9b Wording and term clarification for HA docs, per Markus Schiltknecht. 2006-11-22 17:36:52 +00:00
Teodor Sigaev 84151d0644 Avoid infinity calculations in rank_cd 2006-11-22 15:55:05 +00:00
Bruce Momjian ba2edcac4f Mention OIDs are now not created by default. 2006-11-22 04:17:03 +00:00
Bruce Momjian 8c556ce1c2 New async/sync multi-master headings for docs. 2006-11-22 04:01:40 +00:00
Bruce Momjian 3b0313580e New async/sync multi-master headings for docs. 2006-11-22 04:00:19 +00:00
Bruce Momjian ffa0e8f0cd Add mention of shared-memory/disk for multi-master clustering. 2006-11-22 03:44:52 +00:00