summaryrefslogtreecommitdiff
path: root/src/tools/pgindent
Commit message (Collapse)AuthorAgeFilesLines
* Update pgindentBruce Momjian2000-04-121-1/+1
|
* Update pgindentBruce Momjian2000-04-111-1113/+1113
|
* Update pgindent for 7.0 releaseBruce Momjian2000-04-111-1056/+1114
|
* This patch implements ORACLE's COMMENT SQL command.Bruce Momjian1999-10-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | >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)
* Add TRUNCATE command, with psql help and sgml additions.Bruce Momjian1999-09-231-0/+1
|
* Make pgindent gnu test better.Bruce Momjian1999-09-091-2/+2
|
* Add fix for 0x7fU constants to pgindentBruce Momjian1999-05-261-2/+25
|
* Another pgindent run. Sorry folks.Bruce Momjian1999-05-251-50/+351
|
* pgindent run over code.Bruce Momjian1999-05-251-1/+1
|
* I agree. I think, though, that the best argument presented in theBruce Momjian1998-10-081-1/+1
| | | | | | | debate was from Paul Vixie, who wanted INET to be the name covering both IPV4 and IPV6. The following kit makes the needed changes: Tom Ivar Helbekkmo
* Integrate new IP type from Tom Ivar Helbekkmo.Bruce Momjian1998-10-031-0/+2
|
* The attached patches fix the following problems:Bruce Momjian1998-09-111-1/+1
| | | | | | | | | | | | | | 1. The UnixWare tas macro was reformatted (by indent or it like?) which caused it to break. The asm macro construct is very particular about the %mem construct -- it has to start in column 1. 2. When compiling libpq++, g++ was used even if configure found the C++ com- piler to be CC. 3. When compiling libpq++, '-Wno-error' was added to CXXFLAGS, even if the compiler wasn't g++. Billy G. Allie
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-011-1/+1
|
* heap_fetch requires buffer pointer, must be released; heap_getnextBruce Momjian1998-08-191-0/+1
| | | | | | | | | | | | | no longer returns buffer pointer, can be gotten from scan; descriptor; bootstrap can create multi-key indexes; pg_procname index now is multi-key index; oidint2, oidint4, oidname are gone (must be removed from regression tests); use System Cache rather than sequential scan in many places; heap_modifytuple no longer takes buffer parameter; remove unused buffer parameter in a few other functions; oid8 is not index-able; remove some use of single-character variable names; cleanup Buffer variables usage and scan descriptor looping; cleaned up allocation and freeing of tuples; 18k lines of diff;
* Update pgindent.Bruce Momjian1998-08-091-3/+2
|
* New pgindent.Bruce Momjian1998-08-091-7/+57
|
* Add remove extra braces code to pgindent.Bruce Momjian1998-06-151-0/+26
|
* Re-apply Darren's char2-16 removal code.Bruce Momjian1998-04-261-2/+0
|
* Back out char2-char16 removal. Add later.Bruce Momjian1998-04-071-0/+2
|
* The following uuencoded, gzip'd file will ...Bruce Momjian1998-03-301-2/+0
| | | | | | | | | | | 1. Remove the char2, char4, char8 and char16 types from postgresql 2. Change references of char16 to name in the regression tests. 3. Rename the char16.sql regression test to name.sql. 4. Modify the regression test scripts and outputs to match up. Might require new regression.{SYSTEM} files... Darren King
* Prevent pgindent from being run on odbc in the future.Bruce Momjian1998-03-281-1/+1
|
* pgindent changes for Thomas proc/lock cleanupBruce Momjian1998-02-251-28/+31
|
* Let's hope this fixes the "bug" that was introducedMarc G. Fournier1997-09-133-0/+856