summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1999-10-30Ooops ... 6.5 coding wasn't quite right anymore. Should learnTom Lane
never to commit without running regress tests...
1999-10-30Put back code in nodeAgg to generate a dummy all-nulls input tupleTom Lane
before calling execProject, when the outerPlan has returned zero tuples. I took this out under the mistaken impression that the input tuple couldn't be referenced by execProject if we weren't in GROUP BY mode. But it can, if we're in an UPDATE or DELETE...
1999-10-29Make USING in COPY optional.Bruce Momjian
1999-10-29Fix wording.Bruce Momjian
1999-10-29*** empty log message ***Michael Meskes
1999-10-27Fix psql quote missing.Bruce Momjian
1999-10-27*** empty log message ***Michael Meskes
1999-10-26Fix compile after COMMENT problem.Bruce Momjian
1999-10-26These are two minor corrections to libpq's PQsetNoticeProcessor function.Bruce Momjian
One, it now returns the previous hook. That way people don't have to dig around in libpq-int.h for that information anymore. It previously returned void, so there should be no incompatibilities. Second, you cannot set the callback to NULL anymore. (Of course you can still call it with NULL just to get the current hook.) The way libpq uses the callback pointer, having a NULL there wasn't very healthy. Peter Eisentraut
1999-10-26improve manual pageBruce Momjian
1999-10-26Add documentation for comment.Bruce Momjian
1999-10-26Hello.Bruce Momjian
The following patch extends the COMMENT ON functionality to the rest of the database objects beyond just tables, columns, and views. The grammer of the COMMENT ON statement now looks like: COMMENT ON [ [ DATABASE | INDEX | RULE | SEQUENCE | TABLE | TYPE | VIEW ] <objname> | COLUMN <relation>.<attribute> | AGGREGATE <aggname> <aggtype> | FUNCTION <funcname> (arg1, arg2, ...) | OPERATOR <op> (leftoperand_typ rightoperand_typ) | TRIGGER <triggername> ON relname> Mike Mascari (mascarim@yahoo.com)
1999-10-25Standardize on MAXPGPATH as the size of a file pathname buffer,Tom Lane
eliminating some wildly inconsistent coding in various parts of the system. I set MAXPGPATH = 1024 in config.h.in. If anyone is really convinced that there ought to be a configure-time test to set the value, go right ahead ... but I think it's a waste of time.
1999-10-25'extern char *pg_pathname' in these files fails to agree withTom Lane
postgres.c's declaration of 'char pg_pathname[...]'. I dunno when these ports were last used, but they are sure broken now...
1999-10-25bug fix for large objects (free)Byron Nikolaidis
1999-10-24Add a notion of a 'catalog version number' that can indicateTom Lane
when an initdb-forcing change has been applied within a development cycle. PG_VERSION serves this purpose for official releases, but we can't bump the PG_VERSION number every time we make a change to the catalogs during development. Instead, increase the catalog version number to warn other developers that you've made an incompatible change. See my mail to pghackers for more info.
1999-10-24Add comment explaining that this table doesn't do what youTom Lane
might think ... in fact doesn't do much of anything at the moment ...
1999-10-23Remove gratuitous redefinitions of BLCKSZ.Tom Lane
1999-10-23Look Ma, no MAX_PARSE_BUFFER! (At least not in the backend.Tom Lane
pg_dump and interfaces/odbc still need some work.)
1999-10-23Backup psql banner change.Bruce Momjian
1999-10-22Remove fixed-size literal buffer from ecpg's lexer (sameTom Lane
fix recently applied to backend's lexer). I see that YY_USES_REJECT still gets defined for this lexer, which means it's going to have trouble parsing really long tokens. Not sure if it's worth doing anything about that or not; I don't have the interest right now to understand why ecpg's additions to the syntax cause this problem...
1999-10-22Remove libpq++ todo item.Bruce Momjian
1999-10-22This *should* fix the large binary object problem in libpq++ from theBruce Momjian
TODO list. Vince
1999-10-22I have a patch for postgresql-snapshot(1999-10-22).Bruce Momjian
This patch fix a TODO list item. * require SELECT DISTINCT target list to have all ORDER BY columns example ogawa=> select distinct x from t1 order by y; ERROR: ORDER BY columns must appear in SELECT DISTINCT target list --- Atsushi Ogawa
1999-10-22Another day, another MAX_QUERY_SIZE dependency zapped.Tom Lane
1999-10-21Bugfix for CREATE RULE invoked via SPI --- from Hiroshi,Tom Lane
23 Jul 99. Not sure why this didn't get applied before...
1999-10-21Remove fixed-size buffers in rule storage routine.Tom Lane
1999-10-21change issue to information in bannerBruce Momjian
1999-10-21Make psql startup banner cleaner.Bruce Momjian
1999-10-19BufFileSeek's behavior at segment boundaries wasn't whatTom Lane
logfile.c wanted ... seems easier to fix BufFileSeek.
1999-10-18Update \dT again.Bruce Momjian
1999-10-18More \dT cleanupBruce Momjian
1999-10-18Clean up \dT display.Bruce Momjian
1999-10-18Make bpchar == char() clearer in \dT display.Bruce Momjian
1999-10-18Drive a stake through the heart of the last use of MAX_PARSE_BUFFERTom Lane
in the backend. Still a few stragglers, but we're getting closer to being rid of query length limits...
1999-10-18Remove fixed-size literal buffer from scan.l, and repairTom Lane
boundary-condition bug in myinput() which caused flex scanner to fail on tokens larger than a bufferload. Turns out flex doesn't want null- terminated input ... and if it gives you a 1-character buffer, you'd better supply a character, not a null, lest you be thought to be reporting end of input.
1999-10-17Except_Intersect_Rewrite() forgot to move LIMIT info to newTom Lane
topmost SELECT node after rearranging query tree.
1999-10-17Change fd.c so that temp files are closed and deleted atTom Lane
proc_exit time. I discovered that if the frontend closes the connection when you're inside a transaction block, there is nothing ensuring that temp files go away ... I wonder whether proc_exit ought to try to do an explicit transaction abort?
1999-10-17Remove now-dead sort modules.Tom Lane
1999-10-17Final stage of psort reconstruction work: replace psort.c withTom Lane
a generalized module 'tuplesort.c' that can sort either HeapTuples or IndexTuples, and is not tied to execution of a Sort node. Clean up memory leakages in sorting, and replace nbtsort.c's private implementation of mergesorting with calls to tuplesort.c.
1999-10-17Actually, nodeMergejoin shouldn't include psort.h at all...Tom Lane
1999-10-16nodeMergejoin was depending on an inclusion from psort.h...Tom Lane
1999-10-16Second phase of psort reconstruction project: add bookkeeping logic toTom Lane
recycle storage within sort temp file on a block-by-block basis. This reduces peak disk usage to essentially just the volume of data being sorted, whereas it had been about 4x the data volume before.
1999-10-16Check RELSEG_SIZE when postmaster starting up.Tatsuo Ishii
this is neccesary to make sure that the backend and the database uses same RELSEG_SIZE.
1999-10-15*** empty log message ***Michael Meskes
1999-10-15Fix typo in descriptions.Bruce Momjian
1999-10-15Clean up type descriptions.Bruce Momjian
1999-10-15This patch implements ORACLE's COMMENT SQL command.Bruce Momjian
>From the ORACLE 7 SQL Language Reference Manual: ----------------------------------------------------- COMMENT Purpose: To add a comment about a table, view, snapshot, or column into the data dictionary. Prerequisites: The table, view, or snapshot must be in your own schema or you must have COMMENT ANY TABLE system privilege. Syntax: COMMENT ON [ TABLE table ] | [ COLUMN table.column] IS 'text' You can effectively drop a comment from the database by setting it to the empty string ''. ----------------------------------------------------- Example: COMMENT ON TABLE workorders IS 'Maintains base records for workorder information'; COMMENT ON COLUMN workorders.hours IS 'Number of hours the engineer worked on the task'; to drop a comment: COMMENT ON COLUMN workorders.hours IS ''; The current patch will simply perform the insert into pg_description, as per the TODO. And, of course, when the table is dropped, any comments relating to it or any of its attributes are also dropped. I haven't looked at the ODBC source yet, but I do know from an ODBC client standpoint that the standard does support the notion of table and column comments. Hopefully the ODBC driver is already fetching these values from pg_description, but if not, it should be trivial. Hope this makes the grade, Mike Mascari (mascarim@yahoo.com)
1999-10-14Update psql \? for \w.Bruce Momjian
1999-10-13Correctly return -1 on error to CmdTuples()Bruce Momjian
Vince.