summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1999-10-09Allow \r as whitespace.Bruce Momjian
1999-10-09Move __alpha to port/alpha.h.Bruce Momjian
1999-10-08Define __alpha__ for __alpha.Bruce Momjian
1999-10-08First real FOREIGN KEY constraint trigger functionality.Jan Wieck
Implemented now: FOREIGN KEY ... REFERENCES ... MATCH FULL FOREIGN KEY ... MATCH FULL ... ON DELETE CASCADE Jan
1999-10-08*** empty log message ***Michael Meskes
1999-10-08Update display of debug levels.Bruce Momjian
1999-10-08clean up debug flags.Bruce Momjian
1999-10-08Comment cleanup.Bruce Momjian
1999-10-08Fix for "--" comment and no trailing newline, as seen in Perl.Bruce Momjian
1999-10-08Cleanup -is flag to -l for SSL. Another PERL variable name fix. CleanBruce Momjian
up debugging options for postmaster and postgres programs. postmaster -d is no longer optional. Documentation updates.
1999-10-08Remove a no-longer-needed kluge for degenerate aggregate cases,Tom Lane
and update some comments.
1999-10-08More startup/shutdown log messages.Vadim B. Mikheev
1999-10-08Use $(PERL) variable for perl compile. Now in Makefile.global.Bruce Momjian
1999-10-07Somehow missed this call to addRangeTableEntry() ...Tom Lane
1999-10-07Fix planner and rewriter to follow SQL semantics for tables that areTom Lane
mentioned in FROM but not elsewhere in the query: such tables should be joined over anyway. Aside from being more standards-compliant, this allows removal of some very ugly hacks for COUNT(*) processing. Also, allow HAVING clause without aggregate functions, since SQL does. Clean up CREATE RULE statement-list syntax the same way Bruce just fixed the main stmtmulti production. CAUTION: addition of a field to RangeTblEntry nodes breaks stored rules; you will have to initdb if you have any rules.
1999-10-06Small cleanup.Vadim B. Mikheev
1999-10-06XLOG (also known as WAL -:)) Bootstrap/Startup/Shutdown.Vadim B. Mikheev
First step in cleaning up backend initialization code. Fix for FATAL: now FATAL is ERROR + exit.
1999-10-06More more liszt language code, so remove it from pg_language.Bruce Momjian
1999-10-06Improve the treatment of partial(incomplete) blocks of relation files.Hiroshi Inoue
This may solve a TODO item * Recover or force failure when disk space is exhausted
1999-10-06Don't set BootstrapProcessingMode in AddNewRelationTuple() beforeVadim B. Mikheev
heap_insert() any more. No reasons to do it, and old comments said about this.
1999-10-06CmdTuples() returns an int showing the number of affected tuples after anBruce Momjian
insert, update or delete. It will return -1 on error, although I've yet to an error situation to prove that out! Vince
1999-10-05Allow comment-only lines, and ;;; lines too.Bruce Momjian
1999-10-04As we now use lipq++.H which wasn't around when I first posted theBruce Momjian
2 line GetIsNull diffs, we now need this too: Patrick Welche
1999-10-04Less noisy rule display...Tom Lane
1999-10-04Make the rule deparser a little less quote-happy, so thatTom Lane
display of default expressions isn't quite so ugly.
1999-10-04Oops, DEFAULT processing wasn't doing type compatibility checkingTom Lane
quite the same way that transformInsertStatement does, so that an expression could be accepted by CREATE TABLE and then fail when used. Also, put back check that CONSTRAINT expressions must yield boolean...
1999-10-03Reimplement parsing and storage of default expressions and constraintTom Lane
expressions in CREATE TABLE. There is no longer an emasculated expression syntax for these things; it's full a_expr for constraints, and b_expr for defaults (unfortunately the fact that NOT NULL is a part of the column constraint syntax causes a shift/reduce conflict if you try a_expr. Oh well --- at least parenthesized boolean expressions work now). Also, stored expression for a column default is not pre-coerced to the column type; we rely on transformInsertStatement to do that when the default is actually used. This means "f1 datetime default 'now'" behaves the way people usually expect it to. BTW, all the support code is now there to implement ALTER TABLE ADD CONSTRAINT and ALTER TABLE ADD COLUMN with a default value. I didn't actually teach ALTER TABLE to call it, but it wouldn't be much work.
1999-10-03autoconfBruce Momjian
1999-10-03I hope this is what you had in mind:Bruce Momjian
--enable-debug adds -g (unconditionally) --disable-debug removes -g (if it was already in there somehow) (giving neither does nothing) Since none of the templates default CFLAGS with a -g you're not likely to end up with two -g flags. Not that they'd hurt though. It doesn't do anything about C++. Peter Eisentraut
1999-10-02Teach parse_coerce about non-cachable functions (actually,Tom Lane
make it call eval_const_expressions() so that it doesn't have to know).
1999-10-02Allow CREATE FUNCTION's WITH clause to be used for all language types,Tom Lane
not just C, so that ISCACHABLE attribute can be specified for user-defined functions. Get rid of ParamString node type, which wasn't actually being generated by gram.y anymore, even though define.c thought that was what it was getting. Clean up minor bug in dfmgr.c (premature heap_close).
1999-10-02Replace float.c's #ifdef finite check with a proper autoconf check, so itTom Lane
works if finite() is a function. Patch from Christof Petig.
1999-10-02Stick finger into a couple more holes in the leaky dike ofTom Lane
modifyAggrefQual. This routine really, really needs to be retired, but until we have subselects in FROM there's no chance of doing the job right. In the meantime try to respond to unhandlable cases with elog rather than coredump.
1999-10-02Fix make_clause and make_opclause to record valid type infoTom Lane
in the Expr nodes they produce. This fixes a few cases of errors like 'typeidTypeRelid: Invalid type - oid = 0' caused by calling parser-related routines on expression trees that have already been processed by planner- related routines.
1999-10-02Revise rule-printing routines to use expandable StringInfo buffers, so thatTom Lane
they have no hardwired limit on the length of a rule's text. Fix a couple of minor bugs in passing --- deparsed UPDATE queries didn't have quotes around relation name, and quotes and backslashes in constant values weren't backslash-quoted.
1999-10-01Clean up rewriter routines to use expression_tree_walker andTom Lane
expression_tree_mutator rather than ad-hoc tree walking code. This shortens the code materially and fixes a fair number of sins of omission. Also, change modifyAggrefQual to *not* recurse into subselects, since its mission is satisfied if it removes aggregate functions from the top level of a WHERE clause. This cures problems with queries of the form SELECT ... WHERE x IN (SELECT ... HAVING something-using-an-aggregate), which would formerly get mucked up by modifyAggrefQual. The routine is still fundamentally broken, of course, but I don't think there's any way to get rid of it before we implement subselects in FROM ...
1999-09-30Fixed opr_sanity regression test to ignore the newJan Wieck
RI_FKey_... constrint triggers when looking for illegal pg_proc entries. Jan
1999-09-30Added utils/adt/ri_triggers with empty shells for theJan Wieck
FOREIGN KEY triggers. Added pg_proc entries for all the new functions. Jan
1999-09-30Removed (useless) pg_proc_prosrc_indexJan Wieck
Jan
1999-09-30Reverse out getopt patch --- turns out it doesn't help on myTom Lane
platform, and there are at least some people it's not broken for. So undo change until we can discuss a more portable solution.
1999-09-30Un-break optarg() call --- some peoples' optarg librariesTom Lane
don't like extraneous colons in the option list...
1999-09-30Hmm, guess I forgot to commit this file the other day ...Tom Lane
just some cosmetic changes now, Vadim already fixed the heap_xxx calls.
1999-09-29Added nbtree operator class for NUMERICJan Wieck
Jan
1999-09-29Disable new FROM-clause warning.Bruce Momjian
1999-09-29This is part #1 for of the DEFERRED CONSTRAINT TRIGGER support.Jan Wieck
Implements the CREATE CONSTRAINT TRIGGER and SET CONSTRAINTS commands. TODO: Generic builtin trigger procedures Automatic execution of appropriate CREATE CONSTRAINT... at CREATE TABLE Support of new trigger type in pg_dump Swapping of huge # of events to disk Jan
1999-09-28Add mention of pg_upgrade for release checklist.Bruce Momjian
1999-09-28Fix pg_upgrade so it vacuums all databases.Bruce Momjian
1999-09-28Add subquery mention in auto-create table entry.Bruce Momjian
1999-09-28Fix for AIX dynaloader from Zeugswetter AndreaBruce Momjian
1999-09-28pg_upgrade reminder.Bruce Momjian