summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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.
1999-10-13Split 'BufFile' routines out of fd.c into a new module, buffile.c. ExtendTom Lane
BufFile so that it handles multi-segment temporary files transparently. This allows sorts and hashes to work with data exceeding 2Gig (or whatever the local limit on file size is). Change psort.c to use relative seeks instead of absolute seeks for backwards scanning, so that it won't fail when the data volume exceeds 2Gig.
1999-10-13Hi,Bruce Momjian
I have changed a bit the makefiles for the win32 port - the *.def files (created when building shared libraries) are now clean from Makefile.shlib. I have also removed "-g" from CFLAGS in the "cygwin32" template - it can be enabled when running configure. Dan
1999-10-13Update jdbc for release version #>Bruce Momjian
1999-10-13BLOBs containing NUL characters (ASCII 0) can be written to theBruce Momjian
database, but they get truncated at the first NUL by lo_read when they are read back. The reason for this is that lo_read in Pg.xs is using the default: OUTPUT: RETVAL buf which uses C's strlen() to work out the length of the scalar. The code ought to read something more like: OUTPUT: RETVAL buf sv_setpvn((SV*)ST(2), buf, RETVAL); I am not sure if this needs to be done on both lo_read methods in this file, but I changed both and have not since had any problems with truncated BLOBs. Douglas Thomson <dougt@mugc.cc.monash.edu.au>
1999-10-12I have created a small patch that makes possible to compile pgsql on newerBruce Momjian
Cygwin snapshots (tested on 990115 which is recommended to use - it fixes some errors in B20.1) And I have another patch for including <sys/ipc.h> before <sys/sem.h> in backend/storage/lmgr/proc.c - it is required due the design of cygipc headers Dan
1999-10-12Remove pgeasy Makefile on distclean.Bruce Momjian
1999-10-12autoconfBruce Momjian
1999-10-12autoconfBruce Momjian
1999-10-12Update pgeasy for missing files.Bruce Momjian
1999-10-12Add blcksz to struct ControlFileData to check BLCKSZ is sameTatsuo Ishii
as BLCKSZ which the backend was compiled in.
1999-10-11Update pgeasy.Bruce Momjian