- 04 3月, 2008 5 次提交
-
-
由 Bruce Momjian 提交于
> > * Allow the UUID type to accept non-standard formats > > http://archives.postgresql.org/pgsql-hackers/2008-02/msg01214.php
-
由 Bruce Momjian 提交于
> * Speed WAL recovery by allowing more than one page to be prefetched > > This involves having a separate process that can be told which pages > the recovery process will need in the near future. > http://archives.postgresql.org/pgsql-hackers/2008-02/msg01279.php >
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
- 03 3月, 2008 2 次提交
-
-
由 Bruce Momjian 提交于
<H3 id="item1.15">1.15) How do I unsubscribe from the PostgreSQL email lists? How do I avoid receiving duplicate emails?</H3>
-
由 Bruce Momjian 提交于
> > http://archives.postgresql.org/pgsql-hackers/2008-03/msg00008.php > < o %Have ALTER TABLE RENAME rename SERIAL sequence names > o Have ALTER TABLE RENAME rename SERIAL sequence names > > http://archives.postgresql.org/pgsql-hackers/2008-03/msg00008.php > > http://archives.postgresql.org/pgsql-hackers/2008-03/msg00008.php
-
- 02 3月, 2008 3 次提交
-
-
由 Michael Meskes 提交于
In the process expanded one test case,
-
由 Tom Lane 提交于
of "VET" accordingly. Per bug #3997 from Aaron Mizrachi.
-
由 Tom Lane 提交于
"struct varlena" would be at least word-aligned. Per buildfarm results from gypsy_moth. I did a little bit of trawling for other instances of this coding pattern, and didn't find any; but if we turn up any more of them I think we'd better revert the "char [4]" patch and find another way of making tuptoaster.c alignment-safe.
-
- 01 3月, 2008 5 次提交
-
-
由 Tom Lane 提交于
to explicitly cast the output back to char before comparing it to a char value, else we get the wrong result for high-bit-set characters. Found by Rolf Jentsch. Also, fix several places where <ctype.h> functions were being called without casting the argument to unsigned char; this is likewise unportable, but we keep making that mistake :-(. These found by buildfarm member salamander, which I will desperately miss if it ever goes belly-up.
-
由 Tom Lane 提交于
left in the code though it was not meant to be provided. It represents a security hole because unprivileged users could use it to look at (at least the first line of) any file readable by the backend. Fortunately, this is only possible if the backend was built with XML support, so the damage is at least mitigated; and 8.3 probably hasn't propagated into any security-critical uses yet anyway. Per report from Sergey Burladyan.
-
由 Andrew Dunstan 提交于
-
由 Alvaro Herrera 提交于
-
由 Tom Lane 提交于
is also licensed to put a local variable declared that way at an unaligned address. Which will not work if the variable is then manipulated with SET_VARSIZE or other macros that assume alignment. So the previous patch is not an unalloyed good, but on balance I think it's still a win, since we have very few places that do that sort of thing. Fix the one place in tuptoaster.c that does it. Per buildfarm results from gypsy_moth (I'm a bit surprised that only one machine showed a failure).
-
- 29 2月, 2008 4 次提交
-
-
由 Magnus Hagander 提交于
by explicitly adding back the user to the DACL of the new process. This fixes the failure case when executing as the Administrator user, which had no permissions left at all after we dropped the Administrators group. Dave Page with some modifications from me
-
由 Bruce Momjian 提交于
< * Add Oracle-style packages (Pavel) > * Add features of Oracle-style packages (Pavel)
-
由 Peter Eisentraut 提交于
and simpler, too.
-
由 Neil Conway 提交于
"multi_call_ctx" to be a distinct sub-context of the EState's per-query context, and delete the multi_call_ctx as soon as the SRF finishes execution. This avoids leaking SRF memory until the end of the current query, which is particularly egregious when the SRF is scanned multiple times. This change also fixes a leak of the fields of the AttInMetadata struct in shutdown_MultiFuncCall(). Also fix a leak of the SRF result TupleDesc when rescanning a FunctionScan node. The TupleDesc is allocated in the per-query context for every call to ExecMakeTableFunctionResult(), so we should free it after calling that function. Since the SRF might choose to return a non-expendable TupleDesc, we only free the TupleDesc if it is not being reference-counted. Backpatch to 8.3 and 8.2 stable branches.
-
- 28 2月, 2008 3 次提交
-
-
由 Magnus Hagander 提交于
Original patch from Hiroshi Saito, modified by me.
-
由 Peter Eisentraut 提交于
the files passed as argument. This is desirable so that the dtrace rule in src/backend/Makefile works.
-
由 Tom Lane 提交于
a relevant error message instead of just dumping core. Odd that nobody reported this before Darren Reed.
-
- 27 2月, 2008 2 次提交
-
-
由 Peter Eisentraut 提交于
-
由 Peter Eisentraut 提交于
ssh -L 3333:foo.com:5432 joe@foo.com I think this should be changed to ssh -L 3333:localhost:5432 joe@foo.com The reason is that this assumes the postgres server on foo.com allows connections from foo.com, which is not allowed by the default listen_addresses setting. Add more detail explaining this. pointed out by Faheem Mitha Also change the example port number 3333 to 63333 so no one can complain that we are stealing a reserved port number.
-
- 26 2月, 2008 14 次提交
-
-
由 Peter Eisentraut 提交于
These were previously only documented in the context of date/time formats.
-
由 Peter Eisentraut 提交于
found by Magne Mæhre
-
由 Peter Eisentraut 提交于
when they are actually needed as prerequisites.
-
由 Peter Eisentraut 提交于
-
由 Peter Eisentraut 提交于
that is shipped in the distribution, named libpq-dist.rc. This way the build system doesn't get upset when a distributed file is forcibly overwritten by during a normal build.
-
由 Peter Eisentraut 提交于
has been reinvented about four different times throughout history (aix, cygwin, win32, darwin/linux) and a lot of the concepts are actually shared, which the code now shows better.
-
由 Peter Eisentraut 提交于
-
由 Peter Eisentraut 提交于
doesn't exist yet.
-
由 Peter Eisentraut 提交于
So only rebuild when a makefile changes (which presumably defines the file list somewhere), and only touch the file if an object changed. The touch is necessary so the parent make knows something changed and ultimately rebuilds postgres.
-
由 Peter Eisentraut 提交于
only once in Makefile.shlib and not in four copies.
-
由 Tom Lane 提交于
values into \nnn octal escape sequences. When the database encoding is multibyte this is *necessary* to avoid generating invalidly encoded text. Even in a single-byte encoding, the old behavior seems very hazardous --- consider for example what happens if the text is transferred to another database with a different encoding. Decoding would then yield some other bytea value than what was encoded, which is surely undesirable. Per gripe from Hernan Gonzalez. Backpatch to 8.3, but not further. This is a bit of a judgment call, but I make it on these grounds: pre-8.3 we don't really have much encoding safety anyway because of the convert() function family, and we would also have much higher risk of breaking existing apps that may not be expecting this behavior. 8.3 is still new enough that we can probably get away with making this change in the function's behavior.
-
由 Tom Lane 提交于
(then it means 2000 AD). Formerly we silently interpreted this as 1 BC, which at best is unwarranted familiarity with the implementation. It's barely possible that some app somewhere expects the old behavior, though, so we won't back-patch this into existing release branches.
-
由 Tom Lane 提交于
Formerly, DecodeDate attempted to verify the day-of-the-month exactly, but it was under the misapprehension that it would know whether we were looking at a BC year or not. In reality this check can't be made until the calling function (eg DecodeDateTime) has processed all the fields. So, split the BC adjustment and validity checks out into a new function ValidateDate that is called only after processing all the fields. In passing, this patch makes DecodeTimeOnly work for BC inputs, which it never did before. (The historical veracity of all this is nonexistent, of course, but if we're going to say we support proleptic Gregorian calendar then we should do it correctly. In any case the unpatched code is broken because it could emit dates that it would then reject on re-inputting.) Per report from Bernd Helmle. Back-patch as far as 8.0; in 7.x we were not using our own calendar support and so this seems a bit too risky to put into 7.4.
-
由 Peter Eisentraut 提交于
SUBSYS.o step and allow for better optimization by the linker. Instead of partial linking into SUBSYS.o, the list of object files is assembled in objfiles.txt files that are expanded when the final linking is done. Because we are not yet sure how long command lines different platforms can handle, the old way of linking is still available, by defining the make variable PARTIAL_LINKING (e.g., make all PARTIAL_LINKING=1). If we determine that this is necessary for some platforms, then we will document this in a more prominent place.
-
- 24 2月, 2008 2 次提交