| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Allow CREATE FUNCTION's WITH clause to be used for all language types, | Tom Lane | 1999-10-02 | 1 | -100/+89 |
| | | | | | | | | 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). | ||||
| * | I have been working with user defined types and user defined c | Bruce Momjian | 1999-09-28 | 1 | -7/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functions. One problem that I have encountered with the function manager is that it does not allow the user to define type conversion functions that convert between user types. For instance if mytype1, mytype2, and mytype3 are three Postgresql user types, and if I wish to define Postgresql conversion functions like I run into problems, because the Postgresql dynamic loader would look for a single link symbol, mytype3, for both pieces of object code. If I just change the name of one of the Postgresql functions (to make the symbols distinct), the automatic type conversion that Postgresql uses, for example, when matching operators to arguments no longer finds the type conversion function. The solution that I propose, and have implemented in the attatched patch extends the CREATE FUNCTION syntax as follows. In the first case above I use the link symbol mytype2_to_mytype3 for the link object that implements the first conversion function, and define the Postgresql operator with the following syntax The patch includes changes to the parser to include the altered syntax, changes to the ProcedureStmt node in nodes/parsenodes.h, changes to commands/define.c to handle the extra information in the AS clause, and changes to utils/fmgr/dfmgr.c that alter the way that the dynamic loader figures out what link symbol to use. I store the string for the link symbol in the prosrc text attribute of the pg_proc table which is currently unused in rows that reference dynamically loaded functions. Bernie Frankpitt | ||||
| * | Move some system includes into c.h, and remove duplicates. | Bruce Momjian | 1999-07-17 | 1 | -3/+1 |
| | | |||||
| * | Final cleanup. | Bruce Momjian | 1999-07-16 | 1 | -7/+7 |
| | | |||||
| * | Update #include cleanups | Bruce Momjian | 1999-07-16 | 1 | -3/+3 |
| | | |||||
| * | Change #include's to use <> and "" as appropriate. | Bruce Momjian | 1999-07-15 | 1 | -14/+14 |
| | | |||||
| * | Clean up #include in /include directory. Add scripts for checking includes. | Bruce Momjian | 1999-07-15 | 1 | -2/+2 |
| | | |||||
| * | pgindent run over code. | Bruce Momjian | 1999-05-25 | 1 | -3/+3 |
| | | |||||
| * | Fix CREATE OPERATOR ... LANGUAGE 'internal', which I broke while | Tom Lane | 1999-04-09 | 1 | -3/+4 |
| | | | | | making prosrc instead of proname be the link to the actual internal function. | ||||
| * | Change my-function-name-- to my_function_name, and optimizer renames. | Bruce Momjian | 1999-02-13 | 1 | -5/+5 |
| | | |||||
| * | Renaming cleanup, no pgindent yet. | Bruce Momjian | 1998-09-01 | 1 | -4/+4 |
| | | |||||
| * | Remove un-needed braces around single statements. | Bruce Momjian | 1998-06-15 | 1 | -61/+1 |
| | | |||||
| * | pgindent run before 6.3 release, with Thomas' requested changes. | Bruce Momjian | 1998-02-26 | 1 | -24/+27 |
| | | |||||
| * | From: Jan Wieck <jwieck@debis.com> | Marc G. Fournier | 1998-02-25 | 1 | -2/+2 |
| | | | | | | | | | | | seems that my last post didn't make it through. That's good since the diff itself didn't covered the renaming of pg_user.h to pg_shadow.h and it's new content. Here it's again. The complete regression test passwd with only some float diffs. createuser and destroyuser work. pg_shadow cannot be read by ordinary user. | ||||
| * | From: Jan Wieck <jwieck@debis.com> | Marc G. Fournier | 1998-02-13 | 1 | -2/+2 |
| | | | | | | | | | | Someone changed the parser to build a TypeName node on CREATE FUNCTION in any case. As a side effect, ALL! functions created got the proretset attribute to true. Thus for a SELECT the parser wrapped an Iter node around the Expr and since singleton functions set isDone the Iter returns no tuple up. | ||||
| * | Change some ABORTS to ERROR. Add line number when COPY Failure. | Bruce Momjian | 1998-01-05 | 1 | -20/+20 |
| | | |||||
| * | Change elog(WARN) to elog(ERROR) and elog(ABORT). | Bruce Momjian | 1998-01-05 | 1 | -20/+20 |
| | | |||||
| * | Fix tolower loops to go in proper direction for cache. | Bruce Momjian | 1997-12-05 | 1 | -2/+2 |
| | | |||||
| * | Re-order args for TypeCreate() to be clearer. | Bruce Momjian | 1997-11-26 | 1 | -3/+3 |
| | | |||||
| * | Now we are able to CREATE PROCEDURAL LANGUAGE (Thanks, Jan). | Vadim B. Mikheev | 1997-10-28 | 1 | -5/+48 |
| | | |||||
| * | Used modified version of indent that understands over 100 typedefs. | Bruce Momjian | 1997-09-08 | 1 | -14/+14 |
| | | |||||
| * | Another PGINDENT run that changes variable indenting and case label ↵ | Bruce Momjian | 1997-09-08 | 1 | -64/+63 |
| | | | | | indenting. Also static variable indenting. | ||||
| * | Massive commit to run PGINDENT on all *.c and *.h files. | Bruce Momjian | 1997-09-07 | 1 | -485/+628 |
| | | |||||
| * | Remove more (void) and fix -Wall warnings. | Bruce Momjian | 1997-08-12 | 1 | -3/+3 |
| | | |||||
| * | Cleanup for NAMEDATALEN use. | Bruce Momjian | 1997-08-03 | 1 | -2/+2 |
| | | |||||
| * | Change end-of-line comma to semicolon. | Bruce Momjian | 1996-11-30 | 1 | -2/+2 |
| | | |||||
| * | All external function definitions now have prototypes that are checked. | Bruce Momjian | 1996-11-10 | 1 | -5/+5 |
| | | |||||
| * | More compile cleanups | Bruce Momjian | 1996-11-08 | 1 | -2/+2 |
| | | |||||
| * | Fix perbyte_cpu thing | Bryan Henderson | 1996-11-08 | 1 | -5/+6 |
| | | |||||
| * | Compile and warning cleanup | Bruce Momjian | 1996-11-08 | 1 | -2/+3 |
| | | |||||
| * | Clean it up so that it compiles | Marc G. Fournier | 1996-11-06 | 1 | -8/+5 |
| | | |||||
| * | Another first pass at cleaning up the #includes | Marc G. Fournier | 1996-11-03 | 1 | -4/+3 |
| | | |||||
| * | Allow only superuser to do backend copy. | Bryan Henderson | 1996-11-02 | 1 | -22/+1 |
| | | |||||
| * | Require superuser privilege to create C function. | Bryan Henderson | 1996-10-31 | 1 | -394/+457 |
| | | |||||
| * | Major code cleanups from D'arcy (-Wall -Werror) | Marc G. Fournier | 1996-10-23 | 1 | -10/+5 |
| | | |||||
| * | Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01 | Marc G. Fournier | 1996-07-09 | 1 | -0/+564 |
