aboutsummaryrefslogtreecommitdiff
path: root/src/backend
Commit message (Collapse)AuthorAge
...
* 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
|
* beos fixes from Cyril VELTERBruce Momjian2000-10-28
|
* WALVadim B. Mikheev2000-10-28
|
* Okay, here's my attempt at fixing the problems with parentheses inBruce Momjian2000-10-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | subqueries. It passes the normal 'runcheck' tests, and I've tried a few simple things like select 1 as foo union (((((select 2))))) order by foo; There are a few things that it doesn't do that have been talked about here at least a little: 1) It doesn't allow things like "IN(((select 1)))" -- the select here has to be at the top level. This is not new. 2) It does NOT preserve the odd syntax I found when I started looking at this, where a SELECT statement could begin with parentheses. Thus, (SELECT a from foo) order by a; fails. I have preserved the ability, used in the regression tests, to have a single select statement in what appears to be a RuleActionMulti (but wasn't -- the parens were part of select_clause syntax). In my version, this is a special form. This may cause some discussion: I have differentiated the two kinds of RuleActionMulti. Perhaps nobody knew there were two kinds, because I don't think the second form appears in the regression tests. This one uses square brackets instead of parentheses, but originally was otherwise the same as the one in parentheses. In this version of gram.y, the square bracket form treats SELECT statements the same as the other allowed statements. As discussed before on this list, psql cannot make sense out of the results of such a thing, but an application might. And I have designs on just such an application. ++ kevin o'gorman
* Add --version and --help options to "postgres".Peter Eisentraut2000-10-28
|
* Remove gcc-only macro definitionTatsuo Ishii2000-10-27
|
* Disallow bits beyond the mask length for CIDR values, per discussionTom Lane2000-10-27
| | | | | | | on pghackers. Arrange for the sort ordering of general INET values to be network part as major sort key, host part as minor sort key. I did not force an initdb for this change, but anyone who's running indexes on general INET values may need to recreate those indexes.
* Re-implement LIMIT/OFFSET as a plan node type, instead of a hack inTom Lane2000-10-26
| | | | | | ExecutorRun. This allows LIMIT to work in a view. Also, LIMIT in a cursor declaration will behave in a reasonable fashion, whereas before it was overridden by the FETCH count.
* Fix breakage I introduced yesterday in MULTIBYTE compilations.Tom Lane2000-10-26
| | | | Sorry 'bout that, chief...
* Clean up gcc warnings in MULTIBYTE mode.Tom Lane2000-10-26
|
* Clean up broken test for whether to wait for input in SSL case.Tom Lane2000-10-25
| | | | Per discussion with Magnus Hagander.
* Ensure clause_selectivity() behaves sanely when examining an uplevel VarTom Lane2000-10-25
| | | | or a Var that references a subquery output.
* Support SET/SHOW/RESET client_encoding and server_encoding even whenTom Lane2000-10-25
| | | | | | MULTIBYTE support is not compiled (you just can't set them to anything but SQL_ASCII). This should reduce interoperability problems between MB-enabled clients and non-MB-enabled servers.
* Minor cleanup.Tom Lane2000-10-25
|
* Accept CREATE DATABASE WITH ENCODING 'SQL_ASCII' even when MULTIBYTETom Lane2000-10-25
| | | | | | support is not present. This allows a non-MB server to load a pg_dumpall script produced by an MB-enabled server, so long as only ASCII encoding was used.
* Check for SIGHUP and process config file updates just after waitingTom Lane2000-10-24
| | | | for input, not just before.
* Do not execute fastpath function calls if in transaction ABORT state.Tom Lane2000-10-24
| | | | | Just like queries, doing nothing is better than possibly getting weird error messages. Also, improve comments.
* Integer binary operators, from Marko Kreen <marko@l-t.ee>. Renamed bitxorPeter Eisentraut2000-10-24
| | | | operator to '#' for consistency. Parser still needs work.
* Fix AbortOutOfAnyTransaction logic to avoid notice aboutTom Lane2000-10-24
| | | | | | 'AbortTransaction and not in in-progress state' when client disconnects just after an error. Notice seems pretty harmless, so I'm not going to worry about back-patching this into 7.0.* ...