| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Fixed problem with pg_dump tar backups. Only happens on platforms that
use our port/fseeko.c, which is currently BSD/OS and NetBSD.
|
|
|
|
| |
*result = getpwuid_r(uid, resultbuf, buffer, buflen);
|
|
|
|
|
|
|
|
| |
listen_addresses parameter, as per recent discussion. The default behavior
is now to listen on localhost, which eliminates the need for the -i
postmaster switch in many scenarios.
Andrew Dunstan
|
|
|
|
|
|
|
| |
ensure that it actually passes data. This catches cases such as a kernel
packet filter rule that makes the socket useless.
Andrew Dunstan
|
| |
|
|
|
|
| |
followup to complaint from Korean User's Group.
|
| |
|
| |
|
|
|
|
|
|
|
| |
sequences and views). This patch allows it to handle views and
sequences.
Euler Taveira de Oliveira
|
|
|
|
| |
Claudio Natoli
|
| |
|
|
|
|
|
| |
flesh out the index operator classes to include these. In passing,
fix erroneous volatility marking of ACL functions.
|
|
|
|
|
| |
errors in internally-generated queries, such as those submitted by
plpgsql functions. Per recent discussions with Fabien Coelho.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
in one query, rather than making a separate query for each object that
could have a comment. This costs relatively little space (a few tens of
K typically) and saves substantial time in databases with many objects.
I find it reduces the runtime of 'pg_dump -s regression' by about a
third.
|
| |
|
|
|
|
| |
Backpatch to 7.4.X. Required for Solaris 7 & 8.
|
|
|
|
|
|
|
|
| |
is done at creation time for plpgsql functions. Improve createlang and
droplang to support adding/dropping validators for PLs. Initial steps
towards producing a syntax error position from plpgsql syntax errors
(this part is a work in progress, and will change depending on outcome
of current discussions).
|
|
|
|
|
|
| |
of fighting it, avoid hard-wired (and wrong) assumption about max length
of prefix, cause %l to actually work as documented, don't compute data
we may not need.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Make open/close loop testings the same. Add descriptions for certain tests.
|
| |
|
|
|
|
|
|
|
| |
Compare fsync before and after write's close:
Compare one o_sync write to two:
Compare file sync methods with one 8k write:
Compare file sync methods with 2 8k writes:
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
same when done on the write() ile descriptor and a new descriptor.
it also times various fsync methods.
|
|
|
|
|
|
|
|
| |
TID (heap position). This doesn't do anything to the validity of the
finished index, but by pretending to qsort() that there are no really
equal keys in the sort, we can avoid performance problems with qsort
implementations that have trouble with large numbers of equal keys.
Patch from Manfred Koizar.
|
|
|
|
|
|
|
|
| |
so that the 'val' is computed only once, per recent discussion. The
speedup is not much when 'val' is just a simple variable, but could be
significant for larger expressions. More importantly this avoids issues
with multiple evaluations of a volatile 'val', and it allows the CASE
expression to be reverse-listed in its original form by ruleutils.c.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
directly to the appropriate per-node execution function, using a function
pointer stored by ExecInitExpr. This speeds things up by eliminating one
level of function call. The function-pointer technique also enables further
small improvements such as only making one-time tests once (and then
changing the function pointer). Overall this seems to gain about 10%
on evaluation of simple expressions, which isn't earthshaking but seems
a worthwhile gain for a relatively small hack. Per recent discussion
on pghackers.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
i've attached this again.
Additionally I include a small patch to remove mutex locking when a
DEFAULT/NULL connection is being retrieved. This is consistent with
libpq.
Lee Kindness
|
|
|
|
|
|
| |
implementation.
Claudio Natoli
|
|
|
|
|
|
| |
similar changes.
Claudio Natoli
|
|
|
|
|
|
|
|
|
| |
in CreateOptsFile
* s_lock.c: minor comment fix
* findbe.c: variables not used under win32 moved within #ifndef WIN32
case
Claudio Natoli
|
|
|
|
|
|
|
|
| |
that by querying the environment explicitly first for LC_COLLATE and
LC_CTYPE. We have to do this because initdb passes those values in the
environment. If there is nothing there we fall back on the codepage.
Andrew Dunstan
|
|
|
|
|
|
| |
Functionality superceeded by log_line_prefix.
Andrew Dunstan
|
| |
|
|
|
|
|
| |
Still some works needed:
- UTF-8, MULE_INTERNAL always returns 1
|
|
|
|
| |
Per recent proposal to pghackers.
|
|
|
|
|
|
|
| |
implemented casts to varchar and bpchar using a cast-to-text function.
This is a holdover from before we had pg_cast; it now makes more sense
to just list these casts in pg_cast. While at it, add pg_cast entries
for the other direction (casts from varchar/bpchar) where feasible.
|
| |
|
|
|
|
|
| |
queries without regard to whether coercions are stated explicitly or
implicitly. Per suggestion from Stephan Szabo.
|
|
|
|
| |
Report and fix per ljb, 8-Mar-04.
|