aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Remove JDBC from the build system and documentation, too.Tom Lane2004-01-19
|
* missed a few filesPostgreSQL Daemon2004-01-19
|
* JDBC is now on GBorgPostgreSQL Daemon2004-01-19
|
* Repair problem identified by Olivier Prenant: ALTER DATABASE SET search_pathTom Lane2004-01-19
| | | | | | | | | | | should not be too eager to reject paths involving unknown schemas, since it can't really tell whether the schemas exist in the target database. (Also, when reading pg_dumpall output, it could be that the schemas don't exist yet, but eventually will.) ALTER USER SET has a similar issue. So, reduce the normal ERROR to a NOTICE when checking search_path values for these commands. Supporting this requires changing the API for GUC assign_hook functions, which causes the patch to touch a lot of places, but the changes are conceptually trivial.
* Fix typo.Peter Eisentraut2004-01-19
|
* Don't return an overoptimistic result from join_in_selectivity whenTom Lane2004-01-19
| | | | we have detected that an IN subquery must return unique results.
* Recognize that IN subqueries return already-unique results if they useTom Lane2004-01-19
| | | | | UNION/INTERSECT/EXCEPT (without ALL). This adds on to the previous optimization for subqueries using DISTINCT.
* Add a hash table to cache lookups of 'C'-language functions (that is,Tom Lane2004-01-19
| | | | | | dynamically loaded C functions). Some limited testing suggests that this puts the lookup speed for external functions just about on par with built-in functions. Per discussion with Eric Ridge.
* Translation updatePeter Eisentraut2004-01-18
|
* Don't use %s-with-precision format spec to truncate data being displayedTom Lane2004-01-18
| | | | | | | | | in a COPY error message. It seems that glibc gets indigestion if it is asked to truncate strings that contain invalid UTF-8 encoding sequences. vsnprintf will return -1 in such cases, leading to looping and eventual memory overflow in elog.c. Instead use our own, more robust pg_mbcliplen routine. I believe this problem accounts for several recent reports of unexpected 'out of memory' errors during COPY IN.
* When testing whether a sub-plan can do projection, use a general-purposeTom Lane2004-01-18
| | | | | | | | | | | | check instead of hardwiring assumptions that only certain plan node types can appear at the places where we are testing. This was always a pretty fragile assumption, and it turns out to be broken in 7.4 for certain cases involving IN-subselect tests that need type coercion. Also, modify code that builds finished Plan tree so that node types that don't do projection always copy their input node's targetlist, rather than having the tlist passed in from the caller. The old method makes it too easy to write broken code that thinks it can modify the tlist when it cannot.
* Repair misestimation of indexscan CPU costs. When an indexqual containsTom Lane2004-01-17
| | | | | | a run-time key (that is, a nonconstant expression compared to the index variable), the key is evaluated just once per scan, but we were charging costs as though it were evaluated once per visited index entry.
* Tighten short-circuit tests for deciding whether we need to invokeTom Lane2004-01-16
| | | | | | | tuptoaster.c --- fields that are compressed in-line are not a reason to invoke the toaster. Along the way, add a couple more htup.h macros to eliminate confusing negated tests, and get rid of the already vestigial TUPLE_TOASTER_ACTIVE symbol.
* Adjusted calculation of shared memory requirements to newJan Wieck2004-01-15
| | | | | | ARC buffer replacement strategy. Jan
* Fix permission-checking bug reported by Tim Burgess 10-Feb-03 (this timeTom Lane2004-01-14
| | | | | | | | | for sure...). Rather than relying on the query context of a rangetable entry to identify what permissions it wants checked, store a full AclMode mask in each RTE, and check exactly those bits. This allows an RTE specifying, say, INSERT privilege on a view to be copied into a derived UPDATE query without changing meaning. Per recent discussion thread. initdb forced due to change of stored rule representation.
* Translation updatesDennis Bjorklund2004-01-14
|
* pg_settings should have UPDATE privilege allowed to public.Tom Lane2004-01-14
|
* The no-updates-to-system-catalogs-unless-usecatupd restriction shouldTom Lane2004-01-14
| | | | not apply to system views. It never mattered before 7.4, but it does now.
* Revert ill-starred change of 13-Feb-02: it appeared to fix a problem ofTom Lane2004-01-14
| | | | | | | | | incorrect permissions checking, but in fact disabled most all permissions checks for view updates. This corrects problems reported by Sergey Yatskevich among others, at the cost of re-introducing the problem previously reported by Tim Burgess. However, since we'd lived with that problem for quite awhile without knowing it, we can live with it awhile longer until a proper fix can be made in 7.5.
* Translation updatePeter Eisentraut2004-01-13
|
* Fix ecpg test program to properly access int* null indicator.Bruce Momjian2004-01-13
|
* Fix another place that wasn't maintaining AND/OR flatness of anTom Lane2004-01-12
| | | | already-canonicalized qual expression.
* Preserve AND/OR flatness during eval_const_expressions(). This seems aTom Lane2004-01-12
| | | | | useful improvement in any case, and it keeps the new logic for restrictinfo structures happy. Per report from Kris Jurka.
* Translation updatesDennis Bjorklund2004-01-11
|
* Mark string for translation.Dennis Bjorklund2004-01-11
|
* Translation updatesDennis Bjorklund2004-01-11
|
* Translation updatesDennis Bjorklund2004-01-11
|
* Add CREATE TRIGGER, CREATE INDEX, and CREATE SEQUENCE to the list ofNeil Conway2004-01-11
| | | | | | | expressions supported by CREATE SCHEMA. Also added the beginning of some regression tests for CREATE SCHEMA; plenty more work is needed here.
* Drops in the CreateProcess calls for Win32 (essentially wrapping up theBruce Momjian2004-01-11
| | | | | | fork/exec portion of the port), and fixes a handful of whitespace issues Claudio Natoli
* Remove the following unused type definitions: bool8, bool16, bool32, word8,Neil Conway2004-01-10
| | | | word16, and word32.
* 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.