summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2004-11-14Remove GUC USERLIMIT variable category, making the affected variablesTom Lane
plain SUSET instead. Also delay processing of options received in client connection request until after we know if the user is a superuser, so that SUSET values can be set that way by legitimate superusers. Per recent discussion.
2004-11-14There is no need for ReadBuffer() call sites to check that the returnedNeil Conway
buffer is valid, as ReadBuffer() will elog on error. Most of the call sites of ReadBuffer() got this right, but this patch fixes those call sites that did not.
2004-11-13Not entirely sure when this broke, but libpq's VC++ build is currentlyBruce Momjian
lacking pqsignal which is now required. This was found and fixed for VC++ by Shachar Shemesh, I simply duplicated the fix for the Borland makefile (untested, as I don't have that compiler). Dave Page
2004-11-12Fix obsolete comments.Tom Lane
2004-11-12> I think in addition the system global name "sharemem.1" should be made moreBruce Momjian
> pg specific, like "PostgreSQL.1". I have not done this since a new compile > would not detect a running old beta. But now would be the time (or never). Zeugswetter Andreas
2004-11-12Remember to close the file on failure (pretty much redundant, really,Tom Lane
since this path will lead to postmaster exit anyway...)
2004-11-11Un-break custom_variable_classes kluge ... mea culpa.Tom Lane
2004-11-11pg_restore --help improvements, from Tom Lane:Bruce Momjian
! printf(_(" -d, --dbname=NAME connect to database name\n")); ! printf(_(" -C, --create create the target database\n"));
2004-11-11Remove obsolete comment from btbuild() and hashbuild(): we no longer useNeil Conway
a global variable to control building indexes.
2004-11-10List VALUE as a keyword.Michael Meskes
2004-11-09Allow planner to fold "stable" functions to constants when formingTom Lane
selectivity estimates, per recent discussion.
2004-11-09Put in place some defenses against being fooled by accidental match ofTom Lane
shared memory segment ID. If we can't access the existing shmem segment, it must not be relevant to our data directory. If we can access it, then attach to it and check for an actual match to the data directory. This should avoid some cases of failure-to-restart-after-boot without introducing any significant risk of failing to detect a still-running old backend.
2004-11-09Get rid of perror(), substitute some better phrased error messages.Peter Eisentraut
malloc() doesn't set errno, so most uses were buggy anyway.
2004-11-09Translation updatesPeter Eisentraut
2004-11-09Clarify some stringsPeter Eisentraut
2004-11-09Translation updatePeter Eisentraut
2004-11-09Clarify some error messagesPeter Eisentraut
2004-11-09Translation updatePeter Eisentraut
2004-11-09Delete the `remove-old-headers' target, as it is no longer useful. PatchNeil Conway
from Alvaro Herrera.
2004-11-09Use a hopefully-more-reliable method of detecting default selectivityTom Lane
estimates when combining the estimates for a range query. As pointed out by Miquel van Smoorenburg, the existing check for an impossible combined result would quite possibly fail to detect one default and one non-default input. It seems better to use the default range query estimate in such cases. To do so, add a check for an estimate of exactly DEFAULT_INEQ_SEL. This is a bit ugly because it introduces additional coupling between clauselist_selectivity and scalarltsel/scalargtsel, but it's not like there wasn't plenty already...
2004-11-08Update workding on why we use is_absolute_path() as a macro.Bruce Momjian
2004-11-08Allow win32/cygwin link against the first matching library symbol ratherBruce Momjian
than erroring out. This is the Unix behavior.
2004-11-08Kris Jurka pointed out that the qualified_name production wasn'tTom Lane
working as intended --- for some reason, FROM a.b.c was getting parsed as if it were a function name and not a qualified name. I think there must be a bug in bison, because it should have complained that the grammar was ambiguous. Anyway, fix it along the same lines previously used for func_name vs columnref, and get rid of the right-recursion in attrs that seems to have confused bison.
2004-11-08Fix unportable code in SockAddr_cidr_mask: you can't assume thatTom Lane
shifting left by full word width gives zero. Per bug report from Tyson Thomson.
2004-11-07New translationPeter Eisentraut
2004-11-07Translation updatePeter Eisentraut
2004-11-07Translation updatesPeter Eisentraut
2004-11-07Removes duplicate slashes from the path in canonicalize_path(). ItBruce Momjian
preserve double leading slashes on Win32. e.g. ////a////b => /a/b
2004-11-06Add code to find_my_exec() to resolve a symbolic link down to theTom Lane
actual executable location. This allows people to continue to use setups where, eg, postmaster is symlinked from a convenient place. Per gripe from Josh Berkus.
2004-11-06Simplify relative-path logic, on the assumption that compiled-in pathsTom Lane
won't have trivial differences in their common prefix.
2004-11-06Update pg_dump to use SET DEFAULT_TABLESPACE instead of explicitTom Lane
tablespace clauses; this should improve compatibility of dump files. Philip Warner, some rework by Tom Lane.
2004-11-06Remove directory from cmd.exe default shell.Bruce Momjian
2004-11-06When implementing a coercion to a domain type with a combinedTom Lane
type-and-length coercion function, make sure that the coercion function is told the correct typmod. Fixes Kris Jurka's example of a domain over bit(N).
2004-11-06Now that we advertize only CIDR address in pg_hba.conf, removeBruce Momjian
duplicates sample entries from comments.
2004-11-06Variable initializer no longer necessary.Bruce Momjian
2004-11-06Tests for COMSPEC in the right place and supply a reasonable shellBruce Momjian
default on Win32.
2004-11-06Fix sizeof(EXE) arithmetic, per Andrew Dunstan.Tom Lane
2004-11-06Code cleanup in path.c and exec.c. Handle Windows drive and network specsTom Lane
everywhere not just some places, get rid of . and .. when joining path sections together. This should eliminate most of the ugly paths like /foo/bar/./baz that we've been generating.
2004-11-05pred_test() logic was being too narrow-minded about where it might findTom Lane
RestrictInfo nodes in the query expression. Per example from James Robinson.
2004-11-05Create 'default_tablespace' GUC variable that supplies a TABLESPACETom Lane
clause implicitly whenever one is not given explicitly. Remove concept of a schema having an associated tablespace, and simplify the rules for selecting a default tablespace for a table or index. It's now just (a) explicit TABLESPACE clause; (b) default_tablespace if that's not an empty string; (c) database's default. This will allow pg_dump to use SET commands instead of tablespace clauses to determine object locations (but I didn't actually make it do so). All per recent discussions.
2004-11-05Small message clarificationsPeter Eisentraut
2004-11-05Translation updatePeter Eisentraut
2004-11-04Fix psql \e and \! for Win32.Bruce Momjian
2004-11-04Minor documentation updates from Simon Riggs.Tom Lane
2004-11-03Don't create $DESTDIR/include/internal/lib, as it is no longer used.Neil Conway
2004-11-02Tab completion for CREATE TABLESPACE arguments. Patch by Joachim Wieland.Peter Eisentraut
2004-11-02Translation updatesPeter Eisentraut
2004-11-02Translation updatesPeter Eisentraut
2004-11-02Add comment to postmaster.c that get_progname() will call exit if itBruce Momjian
can't strdup().
2004-11-02Add comment about memory failure of get_progname exiting the postmaster:Bruce Momjian
exit(1); /* This could exit the postmaster */