aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Implement "WITH / WITHOID OIDS" clause for CREATE TABLE AS. This isNeil Conway2004-01-10
| | | | | | | | | | intended to allow application authors to insulate themselves from changes to the default value of 'default_with_oids' in future releases of PostgreSQL. This patch also fixes a bug in the earlier implementation of the 'default_with_oids' GUC variable: code in gram.y should not examine the value of GUC variables directly due to synchronization issues.
* Translation updatesPeter Eisentraut2004-01-10
|
* Improve has_nullable_targetlist() to allow strict functions of simpleTom Lane2004-01-10
| | | | | | variables, not just simple variables. This was foreseen in the original coding of this routine, but not implemented until now. Responds to performance gripe from Laurent Perez.
* Translation updatesDennis Bjorklund2004-01-10
|
* Translation updatesDennis Bjorklund2004-01-10
|
* Translation updatesDennis Bjorklund2004-01-10
|
* Make non-wait pg_ctl start/stop message more accurate.Bruce Momjian2004-01-10
|
* Allow BEGIN WORK to specify transaction isolation level, like STARTBruce Momjian2004-01-10
| | | | TRANSACTION.
* Fix subquery pullup logic to not be fooled when a view that appearsTom Lane2004-01-10
| | | | | | 'simple' references another view that is not simple. Must recheck conditions after performing recursive pullup. Per example from Laurent Perez, 9-Jan-04.
* Oops, can't do cpp tests inside macros; make two macros instead.Bruce Momjian2004-01-09
|
* Remove ereport() from failed connection; already done, per Tom.Bruce Momjian2004-01-09
|
* Fix for cancel key restarting postmaster, from ClaudioBruce Momjian2004-01-09
|
* Have psql help show \w parameter as requied.Bruce Momjian2004-01-09
|
* Allow psql to handle tilde user expansion for file names.Bruce Momjian2004-01-09
| | | | Zach Irmen
* Change PG_DELAY from msec to usec and use it consistenly rather thanBruce Momjian2004-01-09
| | | | select(). Add Win32 Sleep() for delay.
* Translation updatesDennis Bjorklund2004-01-09
|
* Add WIN32 pipe implementation that uses sockets.Bruce Momjian2004-01-09
| | | | Claudio Natoli
* Remove duplicate include of value.h. I think it got in because Tom and I ↵Bruce Momjian2004-01-09
| | | | both added it.
* Add comment about synchronous signals.Bruce Momjian2004-01-09
|
* Allow libpq to do thread-safe SIGPIPE handling. This allows it toBruce Momjian2004-01-09
| | | | | | | | ignore SIGPIPE from send() in libpq, but terminate on any other SIGPIPE, unless the user installs their own signal handler. This is a minor fix because the only time you get SIGPIPE from libpq's send() is when the backend dies.
* Fix incorrect SQL syntax emitted when -E is given without -P.Tom Lane2004-01-09
| | | | Report and fix from Martin Pitt.
* Fix a spelling mistake in a comment.Neil Conway2004-01-08
|
* Throw compile error if our non-thread-safe snprintf is used.Bruce Momjian2004-01-08
|
* Update OSF thread flags for non-gcc compiles.Bruce Momjian2004-01-08
|
* Translation updatesDennis Bjorklund2004-01-08
|
* Translation updatesDennis Bjorklund2004-01-08
|
* [Forced commit to add log message that I fat-fingered last time]Tom Lane2004-01-08
| | | | | Give a more reasonable error message when lock file exists but has zero length; prior code confused this with could-not-read-file case.
* Fix Solaris thread build settings for non-gcc compilers.Bruce Momjian2004-01-08
|
* makeTom Lane2004-01-07
|
* Make some improvements in the intelligence of the partial-indexTom Lane2004-01-07
| | | | | | | | | predicate tester. It can now deal with commuted clauses (for instance, 4 < x implies x > 3), subclauses more complicated than a simple Var (for example, upper(x) = 't' implies upper(x) > 'a'), and <> operators (for example, x < 3 implies x <> 4). Still only understands operators associated with btree opclasses, though. Inspired by example from Martin Hampl.
* Translation updatesDennis Bjorklund2004-01-07
|
* Add missing inclusion of nodes/value.h.Tom Lane2004-01-07
|
* More janitorial work: remove the explicit casting of NULL literals to aNeil Conway2004-01-07
| | | | | | | | pointer type when it is not necessary to do so. For future reference, casting NULL to a pointer type is only necessary when (a) invoking a function AND either (b) the function has no prototype OR (c) the function is a varargs function.
* Cleanup: move the 'Value' node into a separate file, rather than puttingNeil Conway2004-01-07
| | | | it in the same file as the 'List' node.
* Support function parameter names in plpgsql. This is the last ofTom Lane2004-01-07
| | | | | Dennis Bjorklund's original patch for function parameter names, but there's still plenty left to do (documentation for instance...)
* pg_dump support for function parameter names.Tom Lane2004-01-07
|
* Apply the core parts of Dennis Bjorklund's patch to allow functionTom Lane2004-01-06
| | | | | | | | | parameters to be declared with names. pg_proc has a column to store names, and CREATE FUNCTION can insert data into it, but that's all as yet. I need to do more work on the pg_dump and plpgsql portions of the patch before committing those, but I thought I'd get the bulky changes in before the tree drifts under me. initdb forced due to pg_proc change.
* Final rearrangement of main postgresql child process (ie.Bruce Momjian2004-01-06
| | | | | | | | BackendFork/SSDataBase/pgstat) startup, to allow fork/exec calls to closely mimic (the soon to be provided) Win32 CreateProcess equivalent calls. Claudio Natoli
* Suppress compiler warning (xlog_outrec is unused if not WAL_DEBUG).Tom Lane2004-01-06
|
* Code cleanup, mostly in the smgr:Neil Conway2004-01-06
| | | | | | | | | | | | | | | | | | - Update comment in IsReservedName() to the present day - Improve some variable & function names in commands/vacuum.c. I was planning to rewrite this to avoid lappend(), but since I still intend to do the list rewrite, there's no need for that. - Update some smgr comments which seemed to imply that we still forced all dirty pages to disk at commit-time. - Replace some #ifdef DIAGNOSTIC code with assertions. - Make the distinction between OS-level file descriptors and virtual file descriptors a little clearer in a few comments - Other minor comment improvements in the smgr code
* Remove unused 'noversion' command-line option processing from theNeil Conway2004-01-06
| | | | backend.
* Make the 'wal_debug' GUC variable a boolean (rather than an integer), andNeil Conway2004-01-06
| | | | hide it behind #ifdef WAL_DEBUG blocks.
* Instead of rechecking lossy index operators by putting them into theTom Lane2004-01-06
| | | | | | | | | regular qpqual ('filter condition'), add special-purpose code to nodeIndexscan.c to recheck them. This ends being almost no net addition of code, because the removal of planner code balances out the extra executor code, but it is significantly more efficient when a lossy operator is involved in an OR indexscan. The old implementation had to recheck the entire indexqual in such cases.
* Adjust indexscan planning logic to keep RestrictInfo nodes associatedTom Lane2004-01-05
| | | | | | | | | | | with index qual clauses in the Path representation. This saves a little work during createplan and (probably more importantly) allows reuse of cached selectivity estimates during indexscan planning. Also fix latent bug: wrong plan would have been generated for a 'special operator' used in a nestloop-inner-indexscan join qual, because the special operator would not have gotten into the list of quals to recheck. This bug is only latent because at present the special-operator code could never trigger on a join qual, but sooner or later someone will want to do it.
* Trivial refactoring: move analysis of ViewStmt into its own function forNeil Conway2004-01-05
| | | | readability and for the sake of consistency with the rest of analyze.c
* Fix three trivial typos in comments.Neil Conway2004-01-05
|
* Translation updatesPeter Eisentraut2004-01-05
|
* Improve UniquePath logic to detect the case where the input is alreadyTom Lane2004-01-05
| | | | | known unique (eg, it is a SELECT DISTINCT ... subquery), and not do a redundant unique-ification step.
* Dept. of second thoughts: clause_selectivity shouldn't try to cache itsTom Lane2004-01-05
| | | | result for jointypes associated with IN processing.
* Add the ability to extract OR indexscan conditions from OR-of-ANDTom Lane2004-01-05
| | | | | | | join conditions in which each OR subclause includes a constraint on the same relation. This implements the other useful side-effect of conversion to CNF format, without its unpleasant side-effects. As per pghackers discussion of a few weeks ago.