- 22 11月, 2004 1 次提交
-
-
由 Tom Lane 提交于
operations are now run as subtransactions, so that errors in them can be reported as ordinary Perl or Tcl errors and caught by the normal error handling convention of those languages. Also do some minor code cleanup in pltcl.c: extract a large chunk of duplicated code in pltcl_SPI_execute and pltcl_SPI_execute_plan into a shared subroutine.
-
- 21 11月, 2004 6 次提交
-
-
由 Tom Lane 提交于
the year from a BC date, but failed to make the same fix in date_part(timestamptz).
-
由 Tom Lane 提交于
-
由 Tom Lane 提交于
is nothing to do, which is most of the time. This is another simple improvement to cut subtransaction entry/exit overhead.
-
由 Tom Lane 提交于
no need for it to be nearly as big as the global hash table, and since it's not in shared memory it can grow if it does need to be bigger. By reducing the size, we speed up hash_seq_search(), which saves a significant fraction of subtransaction entry/exit overhead.
-
由 Tom Lane 提交于
rather than longjmp'ing clear out of Perl and thereby leaving Perl in a broken state. Also some minor prettification of error messages. Still need to do something with spi_exec_query() error handling.
-
由 Tom Lane 提交于
to the original List; per report from Sebastian BÎck. I think this is the last such bug --- I examined every lcons() call in the backend and the rest seem OK --- but it's nervous-making that we're still finding 'em so many months after the List rewrite went in.
-
- 20 11月, 2004 7 次提交
-
-
由 Tom Lane 提交于
the regression test shared libraries.
-
由 Tom Lane 提交于
-
由 Tom Lane 提交于
collector until the transaction commits. Per recent discussion, this should avoid confusing autovacuum when an updating transaction runs for a long time.
-
由 Tom Lane 提交于
postgresql.crt file simply isn't there, too.
-
由 Tom Lane 提交于
free operations in client_cert_cb --- openssl will also attempt to free these structures, resulting in core dumps.
-
由 Tom Lane 提交于
switch syntax when calling ld directly.
-
由 Tom Lane 提交于
for the languages even when not installed in a standard directory. pltcl may need this treatment as well, but we don't have the right path conveniently available, so I'll leave it alone as long as there aren't actual reports of trouble.
-
- 19 11月, 2004 3 次提交
-
-
由 Tom Lane 提交于
in terms of macro 'rpathdir', as I proposed a few weeks ago. In itself this commit shouldn't change the behavior at all, but it opens the door to using special rpaths for the PL shared libraries, as seems to be needed for plperl in particular.
-
由 Tom Lane 提交于
may expand the Perl stack, therefore we must SPAGAIN to reload the local stack pointer after calling it. Also a couple other marginal readability improvements.
-
由 Tom Lane 提交于
-
- 18 11月, 2004 15 次提交
-
-
由 Peter Eisentraut 提交于
-
由 Tom Lane 提交于
this is to avoid scenarios where incoming backends find no live copies of a database's row because the only live copy is in an as-yet-unwritten shared buffer, which they can't see. Also, use FlushRelationBuffers() for forcing out pg_database, instead of the much more expensive BufferSync(). There's no need to write out pages belonging to other relations.
-
由 Tom Lane 提交于
-
由 Tom Lane 提交于
some of the bugs exposed thereby. The remaining 'might be used uninitialized' warnings look like live bugs, but I am not familiar enough with Perl/C hacking to tell how to fix them.
-
由 Tom Lane 提交于
avoid repalloc'ing twice when once is sufficient.
-
由 Tom Lane 提交于
-
由 Tom Lane 提交于
-
由 Tom Lane 提交于
-
由 Tom Lane 提交于
-
由 Tom Lane 提交于
-
由 Tom Lane 提交于
of minus zero. Per Andrew Dunstan.
-
由 Tom Lane 提交于
Fabien COELHO
-
由 Tom Lane 提交于
Reini Urban
-
由 Tom Lane 提交于
Just paranoia ...
-
由 Tom Lane 提交于
-
- 17 11月, 2004 8 次提交
-
-
由 Neil Conway 提交于
-
由 Neil Conway 提交于
-
由 Neil Conway 提交于
Rather than using ReadBuffer() to increment the reference count on an already-pinned buffer, we should use IncrBufferRefCount() as it is faster and does not require acquiring the BufMgrLock.
-
由 Neil Conway 提交于
been defined. Patch from Gavin Sherry, editorializing by Neil Conway.
-
由 Tom Lane 提交于
even uglier than it was already :-(. Also, on Windows only, use temporary shared memory segments instead of ordinary files to pass over critical variable values from postmaster to child processes. Magnus Hagander
-
由 Neil Conway 提交于
more than 65K columns, or when the created table has more than 65K columns due to adding inherited columns from parent relations. Fix a similar crash when processing SELECT queries with more than 65K target list entries. In all three cases we would eventually detect the error and elog, but the check was being made too late.
-
由 Peter Eisentraut 提交于
-
由 Tom Lane 提交于
patch, but allow srand and disallow sprintf as per subsequent discussion.
-