summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2004-01-12Fix another place that wasn't maintaining AND/OR flatness of anTom Lane
already-canonicalized qual expression.
2004-01-12Preserve AND/OR flatness during eval_const_expressions(). This seems aTom Lane
useful improvement in any case, and it keeps the new logic for restrictinfo structures happy. Per report from Kris Jurka.
2004-01-11Translation updatesDennis Bjorklund
2004-01-11Mark string for translation.Dennis Bjorklund
2004-01-11Translation updatesDennis Bjorklund
2004-01-11Translation updatesDennis Bjorklund
2004-01-11Add CREATE TRIGGER, CREATE INDEX, and CREATE SEQUENCE to the list ofNeil Conway
expressions supported by CREATE SCHEMA. Also added the beginning of some regression tests for CREATE SCHEMA; plenty more work is needed here.
2004-01-11Drops in the CreateProcess calls for Win32 (essentially wrapping up theBruce Momjian
fork/exec portion of the port), and fixes a handful of whitespace issues Claudio Natoli
2004-01-10Remove the following unused type definitions: bool8, bool16, bool32, word8,Neil Conway
word16, and word32.
2004-01-10Implement "WITH / WITHOID OIDS" clause for CREATE TABLE AS. This isNeil Conway
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.
2004-01-10Translation updatesPeter Eisentraut
2004-01-10Improve has_nullable_targetlist() to allow strict functions of simpleTom Lane
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.
2004-01-10Translation updatesDennis Bjorklund
2004-01-10Translation updatesDennis Bjorklund
2004-01-10Translation updatesDennis Bjorklund
2004-01-10Make non-wait pg_ctl start/stop message more accurate.Bruce Momjian
2004-01-10Allow BEGIN WORK to specify transaction isolation level, like STARTBruce Momjian
TRANSACTION.
2004-01-10Fix subquery pullup logic to not be fooled when a view that appearsTom Lane
'simple' references another view that is not simple. Must recheck conditions after performing recursive pullup. Per example from Laurent Perez, 9-Jan-04.
2004-01-09Oops, can't do cpp tests inside macros; make two macros instead.Bruce Momjian
2004-01-09Remove ereport() from failed connection; already done, per Tom.Bruce Momjian
2004-01-09Fix for cancel key restarting postmaster, from ClaudioBruce Momjian
2004-01-09Have psql help show \w parameter as requied.Bruce Momjian
2004-01-09Allow psql to handle tilde user expansion for file names.Bruce Momjian
Zach Irmen
2004-01-09Change PG_DELAY from msec to usec and use it consistenly rather thanBruce Momjian
select(). Add Win32 Sleep() for delay.
2004-01-09Translation updatesDennis Bjorklund
2004-01-09Add WIN32 pipe implementation that uses sockets.Bruce Momjian
Claudio Natoli
2004-01-09Remove duplicate include of value.h. I think it got in because Tom and I ↵Bruce Momjian
both added it.
2004-01-09Add comment about synchronous signals.Bruce Momjian
2004-01-09Allow libpq to do thread-safe SIGPIPE handling. This allows it toBruce Momjian
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.
2004-01-09Fix incorrect SQL syntax emitted when -E is given without -P.Tom Lane
Report and fix from Martin Pitt.
2004-01-08Fix a spelling mistake in a comment.Neil Conway
2004-01-08Throw compile error if our non-thread-safe snprintf is used.Bruce Momjian
2004-01-08Update OSF thread flags for non-gcc compiles.Bruce Momjian
2004-01-08Translation updatesDennis Bjorklund
2004-01-08Translation updatesDennis Bjorklund
2004-01-08[Forced commit to add log message that I fat-fingered last time]Tom Lane
Give a more reasonable error message when lock file exists but has zero length; prior code confused this with could-not-read-file case.
2004-01-08Fix Solaris thread build settings for non-gcc compilers.Bruce Momjian
2004-01-07makeTom Lane
2004-01-07Make some improvements in the intelligence of the partial-indexTom Lane
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.
2004-01-07Translation updatesDennis Bjorklund
2004-01-07Add missing inclusion of nodes/value.h.Tom Lane
2004-01-07More janitorial work: remove the explicit casting of NULL literals to aNeil Conway
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.
2004-01-07Cleanup: move the 'Value' node into a separate file, rather than puttingNeil Conway
it in the same file as the 'List' node.
2004-01-07Support function parameter names in plpgsql. This is the last ofTom Lane
Dennis Bjorklund's original patch for function parameter names, but there's still plenty left to do (documentation for instance...)
2004-01-07pg_dump support for function parameter names.Tom Lane
2004-01-06Apply the core parts of Dennis Bjorklund's patch to allow functionTom Lane
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.
2004-01-06Final rearrangement of main postgresql child process (ie.Bruce Momjian
BackendFork/SSDataBase/pgstat) startup, to allow fork/exec calls to closely mimic (the soon to be provided) Win32 CreateProcess equivalent calls. Claudio Natoli
2004-01-06Suppress compiler warning (xlog_outrec is unused if not WAL_DEBUG).Tom Lane
2004-01-06Code cleanup, mostly in the smgr:Neil Conway
- 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
2004-01-06Remove unused 'noversion' command-line option processing from theNeil Conway
backend.