- 06 11月, 2005 2 次提交
- 05 11月, 2005 2 次提交
-
-
由 Tom Lane 提交于
to assume that the string pointer passed to set_ps_display is good forever. There's no need to anyway since ps_status.c itself saves the string, and we already had an API (get_ps_display) to return it. I believe this explains Jim Nasby's report of intermittent crashes in elog.c when %i format code is in use in log_line_prefix. While at it, repair a previously unnoticed problem: on some platforms such as Darwin, the string returned by get_ps_display was blank-padded to the maximum length, meaning that lock.c's attempt to append " waiting" to it never worked.
-
由 Tom Lane 提交于
create circularity of role memberships. This is a minimum-impact fix for the problem reported by Florian Pflug. I thought about removing the superuser_arg test from is_member_of_role() altogether, as it seems redundant for many of the callers --- but not all, and it's way too late in the 8.1 cycle to be making large changes. Perhaps reconsider this later.
-
- 04 11月, 2005 1 次提交
-
-
由 Alvaro Herrera 提交于
those names. (Debug and None were pretty bad names anyway.) I hope I catched all uses of the names in comments too.
-
- 27 10月, 2005 1 次提交
-
-
由 Tom Lane 提交于
inFromCl true, meaning that they will list out as explicit RTEs if they are in a view or rule. Update comments about inFromCl to reflect the way it's now actually used. Per recent discussion.
-
- 25 10月, 2005 1 次提交
-
-
由 Tom Lane 提交于
to the main thread. This allows removal of WaitForSingleObjectEx() calls from the main thread, thereby allowing us to re-enable Qingqing Zhou's CHECK_FOR_INTERRUPTS performance improvement. Qingqing, Magnus, et al.
-
- 23 10月, 2005 1 次提交
-
-
由 Tom Lane 提交于
WaitForSingleObjectEx is always called by CHECK_FOR_INTERRUPTS. This should be reinstated but the setitimer() emulation will have to be redesigned first.
-
- 22 10月, 2005 1 次提交
-
-
由 Tom Lane 提交于
a kernel call unless there's some evidence of a pending signal. This should bring its performance on Windows into line with the Unix version. Problem diagnosis and patch by Qingqing Zhou. Minor stylistic tweaks by moi ... if it's broken, it's my fault.
-
- 21 10月, 2005 1 次提交
-
-
由 Tom Lane 提交于
of the form nextval('foo'::varchar) doesn't break. Per gripe from Jean-Pierre Pelletier. Initdb forced :-(
-
- 19 10月, 2005 2 次提交
- 18 10月, 2005 1 次提交
-
-
由 Tom Lane 提交于
exported routines of ip.c, md5.c, and fe-auth.c to begin with 'pg_'. Also get rid of the vestigial fe_setauthsvc/fe_getauthsvc routines altogether.
-
- 15 10月, 2005 2 次提交
-
-
由 Bruce Momjian 提交于
-
由 Tom Lane 提交于
the facility has been set, the facility gets set to LOCAL0 and cannot be changed later. This seems reasonably plausible to happen, particularly at higher debug log levels, though I am not certain it explains Han Holl's recent report. Easiest fix is to teach the code how to change the value on-the-fly, which is nicer anyway. I made the settings PGC_SIGHUP to conform with log_destination.
-
- 13 10月, 2005 2 次提交
-
-
由 Neil Conway 提交于
that is protected by a spinlock must be volatile, per recent discussion.
-
由 Tom Lane 提交于
pointers, to ensure that compilers won't rearrange accesses to occur while we're not holding the buffer header spinlock. It's probably not necessary to mark volatile in every single place in bufmgr.c, but better safe than sorry. Per trouble report from Kevin Grittner.
-
- 12 10月, 2005 2 次提交
- 11 10月, 2005 1 次提交
-
-
由 Tom Lane 提交于
traceable to grant options. As per my earlier proposal, a GRANT made by a role member has to be recorded as being granted by the role that actually holds the grant option, and not the member.
-
- 10 10月, 2005 1 次提交
-
-
由 Tom Lane 提交于
like '23:59:60' because of fractional-second roundoff problems. Trying to control this upstream of the actual display code was hopeless; the right way is to explicitly round fractional seconds in the display code and then refigure the results if the fraction rounds up to 1. Per bug #1927.
-
- 08 10月, 2005 2 次提交
-
-
由 Bruce Momjian 提交于
-
由 Tom Lane 提交于
Per request from Marc Munro.
-
- 07 10月, 2005 3 次提交
-
-
由 Alvaro Herrera 提交于
-
由 Neil Conway 提交于
current backend in pg_listener, so there is little point in making the PID to register part of async.c's public API. Other minor tweaks.
-
由 Tom Lane 提交于
the parameter's name (if any) as the default column name for SELECT FROM the function, rather than the function name as previously. I still think this is a bad idea, but I lost the argument. Force decompilation of function RTEs to specify full aliases always, to reduce the odds of this decision breaking dumped views.
-
- 06 10月, 2005 1 次提交
-
-
由 Tom Lane 提交于
generated by bitmap index scans. Along the way, simplify and speed up the code for counting sequential and index scans; it was both confusing and inefficient to be taking care of that in the per-tuple loops, IMHO. initdb forced because of internal changes in pg_stat view definitions.
-
- 04 10月, 2005 2 次提交
- 03 10月, 2005 2 次提交
-
-
由 Tom Lane 提交于
was created on a machine with alignment rules and floating-point format similar to the current machine. Per recent discussion, this seems like a good idea with the increasing prevalence of 32/64 bit environments.
-
由 Tom Lane 提交于
argument as a 'regclass' value instead of a text string. The frontend conversion of text string to pg_class OID is now encapsulated as an implicitly-invocable coercion from text to regclass. This provides backwards compatibility to the old behavior when the sequence argument is explicitly typed as 'text'. When the argument is just an unadorned literal string, it will be taken as 'regclass', which means that the stored representation will be an OID. This solves longstanding problems with renaming sequences that are referenced in default expressions, as well as new-in-8.1 problems with renaming such sequences' schemas or moving them to another schema. All per recent discussion. Along the way, fix some rather serious problems in dbmirror's support for mirroring sequence operations (int4 vs int8 confusion for instance).
-
- 02 10月, 2005 1 次提交
-
-
由 Tom Lane 提交于
the ProcessUtility case, resulting in an intratransaction memory leak if a utility command actually did return any tuples, as reported by Dmitry Karasik. Fix this and also make the behavior more consistent for cases involving nested SPI operations and multiple query trees, by ensuring that we store the state locally until it is ready to be returned to the caller.
-
- 29 9月, 2005 1 次提交
-
-
由 Tom Lane 提交于
only the inner-side relation would be considered as potential equijoin clauses, which is wrong because the condition doesn't necessarily hold above the point of the outer join. Per test case from Kevin Grittner (bug#1916).
-
- 28 9月, 2005 1 次提交
-
-
由 Tom Lane 提交于
relocated after installation. We can't trust the installation paths inserted into Makefile.global by configure, so instead we must get the paths from pg_config. This requires extending pg_config to support all the separately-configurable path names, but that was on TODO anyway.
-
- 26 9月, 2005 1 次提交
-
-
由 Tom Lane 提交于
outer relation is empty did not work, per test case from Patrick Welche. It tried to use nodeHashjoin.c's high-level mechanisms for fetching an outer-relation tuple, but that code expected the hash table to be filled already. As patched, the code failed in corner cases such as having no outer-relation tuples for the first hash batch. Revert and rewrite.
-
- 25 9月, 2005 1 次提交
-
-
由 Tom Lane 提交于
-
- 23 9月, 2005 1 次提交
-
-
由 Bruce Momjian 提交于
It uses existing macros instead of touching directly. ITAGAKI Takahiro
-
- 20 9月, 2005 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 16 9月, 2005 1 次提交
-
-
由 Neil Conway 提交于
sake of brevity and clarity. Make pg_reload_conf(), pg_rotate_logfile(), and pg_cancel_backend() return a boolean rather than an integer to indicate success or failure. Along the way, make some minor cleanups to dbsize.c -- in particular, use elog() rather than ereport() for "shouldn't happen" error conditions, and remove some of the more flagrant violations of the Postgres indentation conventions. Catalog version bumped.
-
- 12 9月, 2005 1 次提交
-
-
由 Tom Lane 提交于
to drop connections unceremoniously. Also some other marginal cleanups: don't query getsockopt() repeatedly if it fails, and avoid having the apparent definition of struct Port depend on which system headers you might have included or not. Oliver Jowett and Tom Lane.
-