- 22 Oct, 1999 3 commits
-
-
Bruce Momjian authored
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
-
Bruce Momjian authored
-
Tom Lane authored
-
- 21 Oct, 1999 5 commits
-
-
Bruce Momjian authored
-
Tom Lane authored
23 Jul 99. Not sure why this didn't get applied before...
-
Tom Lane authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 19 Oct, 1999 1 commit
-
-
Tom Lane authored
logfile.c wanted ... seems easier to fix BufFileSeek.
-
- 18 Oct, 1999 7 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tom Lane authored
in the backend. Still a few stragglers, but we're getting closer to being rid of query length limits...
-
Tom Lane authored
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.
-
Bruce Momjian authored
-
- 17 Oct, 1999 5 commits
-
-
Tom Lane authored
topmost SELECT node after rearranging query tree.
-
Tom Lane authored
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?
-
Tom Lane authored
-
Tom Lane authored
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.
-
Tom Lane authored
-
- 16 Oct, 1999 3 commits
-
-
Tom Lane authored
-
Tom Lane authored
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.
-
Tatsuo Ishii authored
this is neccesary to make sure that the backend and the database uses same RELSEG_SIZE.
-
- 15 Oct, 1999 5 commits
-
-
Michael Meskes authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
>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)
-
Bruce Momjian authored
-
- 14 Oct, 1999 1 commit
-
-
Bruce Momjian authored
-
- 13 Oct, 1999 6 commits
-
-
Bruce Momjian authored
Vince.
-
Tom Lane authored
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.
-
Bruce Momjian authored
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
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
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>
-
- 12 Oct, 1999 4 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
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
-