aboutsummaryrefslogtreecommitdiff
path: root/src/backend
Commit message (Collapse)AuthorAge
* Allow interpretation of INTERVALs with more timezone-like syntax.Thomas G. Lockhart2000-11-11
| | | | | | Define conversions to and from text for date, time, and timetz. Have millisecond and microsecond return full # of seconds in those units. Previously, only returned full fractional part in those units.
* Fix bug in recent improvement to type resolution code. Forgot to retainThomas G. Lockhart2000-11-11
| | | | | "best choice" type category when resolving UNKNOWN function and operator arguments. Thanks to Tom Lane for finding test case.
* Adjust INET/CIDR display conventions and reimplement some INET/CIDRTom Lane2000-11-10
| | | | | | | functions, per recent discussions on pghackers. For now, I have called the verbose-display formatting function text(), but will reconsider if enough people object. initdb forced.
* Use SearchSysCacheTupleCopy() instead of SearchSysCacheTuple() inHiroshi Inoue2000-11-10
| | | | | order to continue to access the tuple more than now. This would resolve a segmentation fault error.
* pg_fsync is fsync in WAL version.Vadim B. Mikheev2000-11-10
|
* Clean up syscache so that recursive invocation is safe, and remove errorTom Lane2000-11-10
| | | | | | | | message about recursive use of a syscache. Also remove most of the specialized indexscan routines in indexing.c --- it turns out that catcache.c is perfectly able to perform the indexscan for itself, in fact has already looked up all the information needed to do so! This should be faster as well as needing far less boilerplate code.
* Real dynamic loader codePeter Eisentraut2000-11-09
|
* ExecEndAppend() neglected to close indices on appended result rels,Tom Lane2000-11-09
| | | | | and improperly prevented the main result rel from being closed if it wasn't one of the Append's own result rels. Per report from Hiroshi.
* Auto checkpoint creation.Vadim B. Mikheev2000-11-09
|
* Arrange for CASE or UNION with only untyped literal constants as inputTom Lane2000-11-09
| | | | to resolve the unknown constants as type TEXT.
* Repair some bugs in new union/intersect/except code.Tom Lane2000-11-09
| | | | Thanks to Kevin O'Gorman for finding these...
* Clean up compiler warnings.Tom Lane2000-11-08
|
* Make DROP TABLE rollback-able: postpone physical file delete until commit.Tom Lane2000-11-08
| | | | | | | | | (WAL logging for this is not done yet, however.) Clean up a number of really crufty things that are no longer needed now that DROP behaves nicely. Make temp table mapper do the right things when drop or rename affecting a temp table is rolled back. Also, remove "relation modified while in use" error check, in favor of locking tables at first reference and holding that lock throughout the statement.
* Add ANALYSE spelling of ANALYZE for vacuum.Bruce Momjian2000-11-08
|
* Add '-c name=val' flag for setting run-time parameters.Peter Eisentraut2000-11-08
|
* Reimplement alternative database locations with symlinks. No changes inPeter Eisentraut2000-11-08
| | | | user interface.
* CLUSTER did no permissions checking, forsooth ...Tom Lane2000-11-08
|
* Enable fallback to string type when argument(s) are of UNKNOWN type.Thomas G. Lockhart2000-11-07
| | | | | | | Same code exactly as for function resolution. An obvious example is for select '1' = '01'; which used to throw an error and which now resolves to two text strings.
* This somehow gets moot. Is there a way to make gcc reject those comments?Bruce Momjian2000-11-07
| | | | Andreas
* DropErrorMsg() died with assert failure if try to drop a toast table...Tom Lane2000-11-07
| | | | mea culpa...
* Add -V option to backend, to show version, since --version doesn't seemPeter Eisentraut2000-11-06
| | | | | to work everywhere. Also, on FreeBSD you need to set the optreset variable to 1 before parsing the command line a second time with getopt().
* Fix INTERVAL output when year/month has different sign as day/hour etc.Thomas G. Lockhart2000-11-06
| | | | | | | | | | | | | | Previously, all fields were unsigned, with only a trailing "ago" to indicate negative intervals. Now, ISO format does not use "ago", and and the traditional PostgreSQL format has the first numeric field unsigned with "ago" supporting that field. So "1 month - 2 days ago" is two days less than a month in the past. Fix interval arithmetic across daylight savings time boundaries. Previously, most math across boundaries introduced a one hour offset. Allow some date/time functions to return NULL if called with NULL args. Implement functions for AT TIME ZONE support. Support "SAT" as an Australian time zone if USE_AUSTRALIAN_RULES is defined.
* Implement AT TIME ZONE SQL9x syntax.Thomas G. Lockhart2000-11-06
| | | | AT is now a keyword but is not a reserved word.
* Allow type resolution for UNKNOWN arguments to functions to fall back toThomas G. Lockhart2000-11-06
| | | | | | | any available string type. Previously, all candidate choices must have fallen within the same "type category" for PostgreSQL to be willing to choose any of them. Need to apply the same fixup to operator type resolution.
* New CHECKPOINT command.Vadim B. Mikheev2000-11-05
| | | | | Auto removing of offline log files and creating new file at checkpoint time.
* UNION select in a CREATE RULE caused a weird error, because transformRuleStmtTom Lane2000-11-05
| | | | | got confused by 'dummy' targetlist built for the UNION's toplevel query. Fix by making dummy targetlist a little less cheesy.
* Allow ORDER BY, LIMIT in sub-selects. Fix most (not all) cases whereTom Lane2000-11-05
| | | | | | the grammar did not allow redundant parentheses around sub-selects. Distinguish LIMIT ALL from LIMIT 0; make the latter behave as one would expect.
* Make PROCEDURAL optional in CREATE/DROP LANGUAGE.Bruce Momjian2000-11-04
|
* This patch should allow primary/foreign keyBruce Momjian2000-11-04
| | | | | | | definitions using inherited columns in the create table statement. Stephan Szabo
* Make the backend grok relative paths for the data directory by convertingPeter Eisentraut2000-11-04
| | | | it to an absolute path.
* Minor code cleanups, make in_group() check faster.Tom Lane2000-11-03
|
* Fix bug reported by bobson: aclinsert3 would delete the 'world' entryTom Lane2000-11-03
| | | | | from an ACL list if it had no permissions remaining, which confused aclcheck terribly. Also clean up code a little.
* pg_variable is not used in WAL version now.Vadim B. Mikheev2000-11-03
|
* Improve inv_getsize() per suggestion from Denis Perchine; also fixTom Lane2000-11-02
| | | | thinkos in inv_seek().
* Peter forgot to fix {operator} rule to match modified definition ofTom Lane2000-11-02
| | | | 'self' characters.
* Add runtime configuration options to control permission bits and groupPeter Eisentraut2000-11-01
| | | | owner of unix socket.
* Forgot to check page LSN and unlock buffer in btree_xlog_delete - fixed.Vadim B. Mikheev2000-11-01
| | | | (Thanks to Tatsuo Ishii for finding bug)
* Fix recovery cache code (thanks to Peter Eisentraut forVadim B. Mikheev2000-10-31
| | | | pointing to bug).
* This is the minimal version of the Darwin support patch fromPeter Eisentraut2000-10-31
| | | | | | | Bruce Hartzler <bruceh@mail.utexas.edu>. It contains shared library support, regression test map, and the usual template files. The dynamic loader is missing, the spin lock code apparently doesn't assemble due to syntax problems, and semaphores are to be hoped for from Apple.
* Change internal string representation of BitString node to include aPeter Eisentraut2000-10-31
| | | | | leading 'b', as it appears to be more convenient this way for the input and node functions.
* Change the parser to convert SQL "position" and "substring" syntax toPeter Eisentraut2000-10-31
| | | | | | | | | | position() and substring() functions, so that it works transparently for bit types as well. Alias the text functions appropriately. Add position() for bit types. Add new constant node T_BitString that represents literals of the form B'1001 and pass those to zpbit type.
* Disallow zero-length delimited identifier (per SQL).Peter Eisentraut2000-10-30
|
* Add support for code conversion between Unicode and other encodings.Tatsuo Ishii2000-10-30
| | | | | | Supported encodings are: EUC_JP, EUC_CN, EUC_KR, EUC_TW, Shift JIS, Big5, ISO8859-[1-5]. TODO: testings! and documentations...
* include pg_wchar.h to import a fucntion prototype of pg_mbcliplenTatsuo Ishii2000-10-30
|
* WAL fixes.Vadim B. Mikheev2000-10-29
|
* Remove special treatment of '|' operator, in the spirit of "sane" binaryPeter Eisentraut2000-10-29
| | | | operators.
* USE_POSIX_TIME replaced by HAVE_TM_ZONE || HAVE_INT_TIMEZONE, which arePeter Eisentraut2000-10-29
| | | | | | | | equivalent. In linux.h there were some #undef HAVE_INT_TIMEZONE, which are useless because HAVE_TM_ZONE overrides it anyway, and messing with configure results isn't cool.
* #define JMP_BUF has been unnecessary since the arrival of the sigsetjmpPeter Eisentraut2000-10-28
| | | | test.
* Make initdb safe against usingPeter Eisentraut2000-10-28
| | | | | | a) mismatching backend program, by checking --version output b) mismatching bki files, by putting a version-identifying comment atop those files.
* Back out change to gram.y for parens.Bruce Momjian2000-10-28
|