summaryrefslogtreecommitdiff
path: root/src/pl
Commit message (Collapse)AuthorAgeFilesLines
...
* Ye-old pgindent run. Same 4-space tabs.Bruce Momjian2000-04-126-137/+166
|
* disable plperlBruce Momjian2000-04-111-5/+6
|
* For no good reason at all, libplpgsql was getting linked with libpq.Tom Lane2000-04-041-12/+2
| | | | Since plpgsql is a backend extension, it doesn't need libpq...
* Allow compile to finish even if plperl fails, which it does now.Bruce Momjian2000-03-271-3/+3
|
* Remove bogus complexity from build/install of plperl. This stuff wasTom Lane2000-03-251-23/+3
| | | | | | apparently copied from the makefile for the perl5 interface module, which needs it for reasons explained in src/interfaces/Makefile. But none of those reasons apply to plperl.
* Add POLLUTE=1 to perl Makefile.PL creations.Bruce Momjian2000-03-251-3/+3
|
* exec_simple_check_plan() must not allow a plan having initPlans orTom Lane2000-03-111-10/+13
| | | | | subPlans to be considered 'simple'. This fixes reported problem with 'return exists (select 1 from foo);' in plpgsql function.
* I've made a diff against the 7.0beta1 tree that accomplishes several things:Bruce Momjian2000-03-082-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) adds NetBSD shared lib support on both ELF and a.out platforms 2) replaces "-L$(LIBPQDIR) -lpq" with "$(LIBPQ)" defined in Makefile.global. This makes it much easier to build stuff in the source tree after you've already installed the libraries. 3) adds TEMPLATEDIR in Makefile.global that indicates where the database templates are stored. This separates the template files from real libraries that are installed in $(LIBDIR). 4) changes include order of <readline/readline.h> and <readline.h>. The latest GNU readline installs its headers under a readline subdirectory. In addition to applying the patch below the following files need to be copied: backend/port/dynloader: bsd.h -> netbsd.h bsd.c -> netbsd.c include/port: bsd.h -> netbsd.h makefiles: Makefile.bsd -> Makefile.netbsd It would be great to see this incorporated into the source tree before the 7.0 release is cut. Thanks! -- Johnny C. Lam <lamj@stat.cmu.edu>
* New plperl Makefile.Bruce Momjian2000-03-011-87/+20
|
* Add 'volatile' declarations to silence gcc warnings about longjmp.Tom Lane2000-02-271-13/+13
| | | | | Shouldn't create any portability problems, since we have a configure test to #define away volatile if the compiler doesn't support it.
* Fix plpsql for bsdi.Bruce Momjian2000-02-231-1/+5
|
* Clean up temp file in 'make clean'.Tom Lane2000-02-211-1/+1
|
* plperl's makefile tried to use perl's choice of compiler withTom Lane2000-02-191-8/+4
| | | | postgres's choice of compiler options. Tres uncool.
* HP's compiler objects (quite rightly too) to 'static void foo();'Tom Lane2000-02-191-2/+1
| | | | followed by 'extern void foo() { ... }'.
* contrib-array.patchBruce Momjian2000-02-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this is an old patch which I have already submitted and never seen in the sources. It corrects the datatype oids used in some iterator functions. This bug has been reported to me by many other people. contrib-datetime.patch some code contributed by Reiner Dassing <dassing@wettzell.ifag.de> contrib-makefiles.patch fixes all my contrib makefiles which don't work with some compilers, as reported to me by another user. contrib-miscutil.patch an old patch for one of my old contribs. contrib-string.patch a small change to the c-like text output functions. Now the '{' is escaped only at the beginning of the string to distinguish it from arrays, and the '}' is no more escaped. elog-lineno.patch adds the current lineno of CopyFrom to elog messages. This is very useful when you load a 1 million tuples table from an external file and there is a bad value somehere. Currently you get an error message but you can't know where is the bad data. The patch uses a variable which was declared static in copy.c. The variable is now exported and initialized to 0. It is always cleared at the end of the copy or at the first elog message or when the copy is canceled. I know this is very ugly but I can't find any better way of knowing where the copy fails and I have this problem quite often. plperl-makefile.patch fixes a typo in a makefile, but the error must be elsewhere because it is a file generated automatically. Please have a look. tprintf-timestamp.patch restores the original 2-digit year format, assuming that the two century digits don't carry much information and that '000202' is easier to read than 20000202. Being only a log file it shouldn't break anything. Please apply the patches before the next scheduled code freeze. I also noticed that some of the contribs don't compile correcly. Should we ask people to fix their code or rename their makefiles so that they are ignored by the top makefile? -- Massimo Dal Zotto
* Allow SELECT .. FOR UPDATE in PL/pgSQL.Hiroshi Inoue2000-02-071-2/+2
|
* Attached is a uuencoded tarball that containsBruce Momjian2000-01-295-7/+122
| | | | | | | | | | | | 3 new files and two patches for the plperl subdir. These changes add the ability for plperl functions to call 'elog'. It also sets up the frame work to allow me to add access to the SPI functions. -- Mark Hollomon
* plperl Makefile cleanup. Doesn't work on BSDI yet.Bruce Momjian2000-01-202-7/+9
|
* Update plperl makefile.Bruce Momjian2000-01-202-1/+27
|
* Clean up longstanding warnings. I think the remainingTom Lane2000-01-202-7/+5
| | | | | 'defined but not used' warnings would go away if the scanner didn't use YY_REJECT.
* Well, I finally solved the linking problemBruce Momjian2000-01-203-0/+2329
| | | | | | | | | | | | | | | | that kept me from making perl secure. Attached is uuencoded tarball to add PL/perl to postgresql. Things I know don't work. -- triggers -- SPI The README file has a _VERY_ short tutorial. Mark Hollomon
* Add .cvsignore so cvs update doesn't complain about derivedTom Lane2000-01-171-0/+3
| | | | files being left around.
* Included all yacc and lex files into the distribution.Peter Eisentraut2000-01-161-2/+2
|
* Fix a passel of problems with incorrect calls to typinput and typoutputTom Lane2000-01-154-25/+50
| | | | | | | functions, which would lead to trouble with datatypes that paid attention to the typelem or typmod parameters to these functions. In particular, incorrect code in pg_aggregate.c explains the platform-specific failures that have been reported in NUMERIC avg().
* Remove redundant and now-incorrect declaration of pstrdup.Tom Lane2000-01-141-5/+1
|
* Make number of args to a function configurable.Bruce Momjian2000-01-103-9/+9
|
* Fix it's and its to be correct.Bruce Momjian2000-01-052-8/+8
|
* Clean up some minor gcc warnings.Tom Lane1999-12-201-5/+6
|
* Fix "Unable to identify an operator =$" problem that occurred when pgsqlTom Lane1999-11-281-16/+16
| | | | | | | | expressions were written without spaces between operators and operands. Problem was that something like "if new.f1=new.f2 then" would be translated to "if $1=$2 then", and the Postgres lexer would tokenize that the wrong way. Fix is to emit spaces around $paramno constructs to ensure they are seen as separate tokens.
* Add system indexes to match all caches.Bruce Momjian1999-11-223-22/+22
| | | | | | | Make all system indexes unique. Make all cache loads use system indexes. Rename *rel to *relid in inheritance tables. Rename cache names to be clearer.
* New NameStr macro to convert Name to Str. No need for var.data anymore.Bruce Momjian1999-11-073-8/+9
| | | | | | Fewer calls to nameout. Better use of RelationGetRelationName.
* Hi,Bruce Momjian1999-10-131-4/+1
| | | | | | | | | | | | 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
* gram.y cleanupBruce Momjian1999-09-211-2/+2
|
* Make proper plpgsql non-externs.Bruce Momjian1999-09-201-7/+4
|
* Define plpgsql_yylineno as non-extern somewhere for bsdi.Bruce Momjian1999-09-201-2/+4
|
* Fix quoting problems in mkMakefile.tcldefs.sh.in andTom Lane1999-08-291-3/+10
| | | | mkMakefile.tkdefs.sh.in.
* Allow BSD yacc and bison to compile pl code.Bruce Momjian1999-08-161-3/+9
|
* replace #Include .Bruce Momjian1999-08-091-3/+4
|
* Fix so BSD yacc works on file.Bruce Momjian1999-08-071-2/+3
|
* Move some system includes into c.h, and remove duplicates.Bruce Momjian1999-07-171-3/+1
|
* Clean up #include in /include directory. Add scripts for checking includes.Bruce Momjian1999-07-154-8/+4
|
* Make exec_simple_check_plan() check for a null plan, soTom Lane1999-07-041-2/+5
| | | | that it doesn't crash when processing a utility statement.
* Make sure symlinks for sharedlib get removed by 'make clean'.Tom Lane1999-06-301-3/+3
|
* Fix compile of plpgsql by adding 'extern int yylineno.'Bruce Momjian1999-05-261-1/+3
|
* Make functions static or NOT_USED as appropriate.Bruce Momjian1999-05-261-3/+4
|
* Another pgindent run. Sorry folks.Bruce Momjian1999-05-251-15/+15
|
* pgindent run over code.Bruce Momjian1999-05-254-81/+93
|
* Fix configure to generate correct expansion of library directoryTom Lane1999-05-111-2/+2
| | | | in pl/plpgsql/src/mklang.sql.
* put back mklang.sql.in file.Bruce Momjian1999-05-111-2/+2
|
* clean up commentsBruce Momjian1999-05-111-2/+2
|