- 05 Mar, 2008 3 commits
-
-
Bruce Momjian authored
> > o Allow COPY FROM to create index entries in bulk > > http://archives.postgresql.org/pgsql-hackers/2008-02/msg00811.php >
-
Bruce Momjian authored
maximum number of bytes allowed.
-
Tom Lane authored
-
- 04 Mar, 2008 7 commits
-
-
Tom Lane authored
temporary table; we can't support that because there's no way to clean up the source backend's internal state if the eventual COMMIT PREPARED is done by another backend. This was checked correctly in 8.1 but I broke it in 8.2 :-(. Patch by Heikki Linnakangas, original trouble report by John Smith.
-
Magnus Hagander authored
Dave Page
-
Bruce Momjian authored
< produce a single dump output file. > produce a single dump output file. It also would require > several sessions to share the same snapshot.
-
Bruce Momjian authored
-
Bruce Momjian authored
< < o To better utilize resources, restore data, primary keys, and < indexes for a single table before restoring the next table < < Hopefully this will allow the CPU-I/O load to be more uniform < for simultaneous restores. The idea is to start data restores < for several objects, and once the first object is done, to move < on to its primary keys and indexes. Over time, simultaneous < data loads and index builds will be running.
-
Bruce Momjian authored
o Allow pg_restore to utilize multiple CPUs and I/O channels by restoring multiple objects simultaneously > http://archives.postgresql.org/pgsql-hackers/2008-02/msg00963.php
-
Bruce Momjian authored
< * pg_dump > * pg_dump / pg_restore > o Allow pg_dump to utilize multiple CPUs and I/O channels by dumping > multiple objects simultaneously > > The difficulty with this is getting multiple dump processes to > produce a single dump output file. > http://archives.postgresql.org/pgsql-hackers/2008-02/msg00205.php > > o Allow pg_restore to utilize multiple CPUs and I/O channels by > restoring multiple objects simultaneously > > This might require a pg_restore flag to indicate how many > simultaneous operations should be performed. Only pg_dump's > -Fc format has the necessary dependency information. > > o To better utilize resources, restore data, primary keys, and > indexes for a single table before restoring the next table > > Hopefully this will allow the CPU-I/O load to be more uniform > for simultaneous restores. The idea is to start data restores > for several objects, and once the first object is done, to move > on to its primary keys and indexes. Over time, simultaneous > data loads and index builds will be running. > > o To better utilize resources, allow pg_restore to check foreign > keys simultaneously, where possible > o Allow pg_restore to create all indexes of a table > concurrently, via a single heap scan > > This requires a pg_dump -Fc file because that format contains > the required dependency information. > http://archives.postgresql.org/pgsql-general/2007-05/msg01274.php > > o Allow pg_restore to load different parts of the COPY data > simultaneously < single heap scan, and have a restore of a pg_dump somehow use it > single heap scan, and have pg_restore use it < http://archives.postgresql.org/pgsql-general/2007-05/msg01274.php
-
- 03 Mar, 2008 11 commits
-
-
Bruce Momjian authored
Jun Kuwamura
-
Bruce Momjian authored
> * Allow INSERT ... DELETE ... RETURNING, namely allow the DELETE ... > RETURNING to supply values to the INSERT > http://archives.postgresql.org/pgsql-hackers/2008-02/thrd2.php#00979
-
Bruce Momjian authored
o Consider using a ring buffer for COPY FROM < < http://archives.postgresql.org/pgsql-hackers/2008-02/msg01080.php > http://archives.postgresql.org/pgsql-hackers/2008-02/msg01080.php
-
Bruce Momjian authored
-
Bruce Momjian authored
> > * Allow the UUID type to accept non-standard formats > > http://archives.postgresql.org/pgsql-hackers/2008-02/msg01214.php
-
Bruce Momjian authored
> * 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 authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
<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 authored
> > 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 Mar, 2008 2 commits
-
-
Michael Meskes authored
In the process expanded one test case,
-
Tom Lane authored
of "VET" accordingly. Per bug #3997 from Aaron Mizrachi.
-
- 01 Mar, 2008 3 commits
-
-
Tom Lane authored
"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.
-
Tom Lane authored
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 authored
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.
-
- 29 Feb, 2008 7 commits
-
-
Andrew Dunstan authored
-
Alvaro Herrera authored
-
Tom Lane authored
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).
-
Magnus Hagander authored
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 authored
< * Add Oracle-style packages (Pavel) > * Add features of Oracle-style packages (Pavel)
-
Peter Eisentraut authored
and simpler, too.
-
Neil Conway authored
"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 Feb, 2008 1 commit
-
-
Magnus Hagander authored
Original patch from Hiroshi Saito, modified by me.
-
- 27 Feb, 2008 2 commits
-
-
Peter Eisentraut authored
the files passed as argument. This is desirable so that the dtrace rule in src/backend/Makefile works.
-
Tom Lane authored
a relevant error message instead of just dumping core. Odd that nobody reported this before Darren Reed.
-
- 26 Feb, 2008 4 commits
-
-
Peter Eisentraut authored
-
Peter Eisentraut authored
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.
-
Peter Eisentraut authored
These were previously only documented in the context of date/time formats.
-
Peter Eisentraut authored
found by Magne Mæhre
-