Bruce Momjian
392f304cae
gram.y cleanup
1999-09-21 21:10:37 +00:00
Bruce Momjian
80751a72ee
Make proper plpgsql non-externs.
1999-09-20 22:28:05 +00:00
Bruce Momjian
7559677551
Define plpgsql_yylineno as non-extern somewhere for bsdi.
1999-09-20 02:12:31 +00:00
Tom Lane
f4add18557
Fix quoting problems in mkMakefile.tcldefs.sh.in and
...
mkMakefile.tkdefs.sh.in.
1999-08-29 20:09:44 +00:00
Bruce Momjian
e69a997d02
Allow BSD yacc and bison to compile pl code.
1999-08-16 19:57:21 +00:00
Bruce Momjian
f0b651ac6b
replace #Include .
1999-08-09 00:08:52 +00:00
Bruce Momjian
4cddd482c1
Fix so BSD yacc works on file.
1999-08-07 04:25:02 +00:00
Bruce Momjian
3406901a29
Move some system includes into c.h, and remove duplicates.
1999-07-17 20:18:55 +00:00
Bruce Momjian
4b2c2850bf
Clean up #include in /include directory. Add scripts for checking includes.
1999-07-15 15:21:54 +00:00
Tom Lane
b31aa64f4a
Make exec_simple_check_plan() check for a null plan, so
...
that it doesn't crash when processing a utility statement.
1999-07-04 01:03:01 +00:00
Tom Lane
fa179dde82
Make sure symlinks for sharedlib get removed by 'make clean'.
1999-06-30 23:57:31 +00:00
Bruce Momjian
26fb87d37e
Fix compile of plpgsql by adding 'extern int yylineno.'
1999-05-26 20:55:06 +00:00
Bruce Momjian
278bbf4572
Make functions static or NOT_USED as appropriate.
1999-05-26 12:57:23 +00:00
Bruce Momjian
fcff1cdf4e
Another pgindent run. Sorry folks.
1999-05-25 22:43:53 +00:00
Bruce Momjian
07842084fe
pgindent run over code.
1999-05-25 16:15:34 +00:00
Tom Lane
5085132c6d
Fix configure to generate correct expansion of library directory
...
in pl/plpgsql/src/mklang.sql.
1999-05-11 22:57:50 +00:00
Bruce Momjian
1ba362f567
put back mklang.sql.in file.
1999-05-11 03:30:41 +00:00
Bruce Momjian
12f9de3fd4
clean up comments
1999-05-11 03:28:43 +00:00
Bruce Momjian
4853495e03
Change error messages to oids come out as %u and not %d. Change has no
...
real affect now.
1999-05-10 00:46:32 +00:00
Tom Lane
09c5e84072
Change elog(ERROR) to get back to main loop via a plain sigsetjmp,
...
instead of doing a kill(self, SIGQUIT) and expecting the signal handler
to do it. Also, clean up inconsistent definitions of the sigjmp buffer
in the several files that already referenced it.
1999-04-20 02:19:59 +00:00
Bruce Momjian
48ea8b76db
Hi,
...
I have solved some problems with dynamic loading on NT. It is possible
to
run succesfully both trigger and plpgsql regression tests. The patch is
in
the included file "diff".
Dan
1999-03-22 16:45:30 +00:00
Tom Lane
8425c2496f
Ah, *now* I understand: plpgsql lexer must be generated with flex -l ...
1999-03-21 02:27:47 +00:00
Tom Lane
1b8d9466fb
Hmm, it seems some versions of flex declare yytext as extern char[]
...
but others declare it as extern char *. gcc complains (quite rightly too).
Worked around it by rearranging the order of inclusions so that we don't
have to explicitly declare yytext; this should work with either variant.
1999-03-21 01:07:07 +00:00
Tom Lane
19e4d33bf0
Remove yacc/lex output files from CVS repository.
1999-03-20 18:03:37 +00:00
Tom Lane
bb7c0da104
Clean up build procedure: do not keep raw lex/yacc files around,
...
only the edited ones.
1999-03-20 18:00:38 +00:00
Tom Lane
45ff93c460
Include -lcrypt when needed to link libpgtcl.so and plpgsql.so
1999-02-07 22:10:47 +00:00
Bruce Momjian
9322950aa4
Cleanup of source files where 'return' or 'var =' is alone on a line.
1999-02-03 21:18:02 +00:00
Bruce Momjian
4390b0bfbe
Add TEMP tables/indexes. Add COPY pfree(). Other cleanups.
1999-02-02 03:45:56 +00:00
Vadim B. Mikheev
aaef7beb79
Hope that execMain.c good merged.
...
Fix for BEFORE ROW UPDATE triggers: result tuple may be different
(due to concurrent update) from one initially produced by top level plan.
1999-01-29 11:56:01 +00:00
Jan Wieck
51e8a1d390
New prebuilt versions of gram.c and scan.c for the mixed case
...
identifier support.
Jan
1999-01-28 11:50:42 +00:00
Jan Wieck
c42b959fb3
Partial support for mixed case in PL/pgSQL.
...
Left are identifiers that contain non-alnum/_ chars.
So e.g. whitespaces in identifiers are still not
supported.
Jan
1999-01-28 11:48:31 +00:00
Jan Wieck
28d8b42ca5
Speedup of PL/pgSQL by calling ExecEvalExpr() directly
...
instead of SPI_execp() for simple expressions.
Jan
1999-01-27 16:15:22 +00:00
Tom Lane
52065cf347
Clean up trivial compiler warning from gcc.
1999-01-17 21:53:32 +00:00
Bruce Momjian
7a6b562fdf
Apply Win32 patch from Horak Daniel.
1999-01-17 06:20:06 +00:00
Bruce Momjian
3cd3be92ff
Fix deadlock so it only checks once.
1998-12-18 19:45:38 +00:00
Tom Lane
e3909672f1
Build pltcl.so correctly on platforms that want dependent
...
shared libraries to be listed in the link command.
1998-12-13 23:46:49 +00:00
Bruce Momjian
26a23e33db
Add enable_plpgsql from Oliver.
1998-12-13 05:22:58 +00:00
Vadim B. Mikheev
971175fa0c
New HeapTuple structure/interface.
1998-11-27 20:09:56 +00:00
Jan Wieck
07ffc4628e
Fixed bug in the unknown module. Module still tried to call
...
builtin SPI commands by their old SPI_* names. New names are spi_*.
Jan - 11/23/1998
1998-11-23 16:50:54 +00:00
Thomas G. Lockhart
3d22596fe7
August version of docs superceded by sgml version from Jan.
1998-11-06 15:04:31 +00:00
Tom Lane
54789138bd
Behave reasonably on a system without shared libraries.
1998-10-30 15:05:23 +00:00
Bruce Momjian
f4ccb5e170
Make these file generated in distribution.
1998-10-28 17:07:17 +00:00
Tom Lane
6d98d3737a
Centralized shared-library build knowledge in a new file,
...
src/Makefile.shlib. Updated all the makefiles that try to build shlibs
to include that file instead of having duplicate (and mostly incomplete)
copies of shared-library options. It works on HPUX, a lot better than it
did before in fact, but there's a chance I broke some other platforms.
At least now you only have to fix one place not six...
1998-10-19 00:00:51 +00:00
Tom Lane
e1942f5b9e
Clean up shared makefile install procedures.
...
Get the permissions right, don't overwrite real files with symlinks, etc.
plpgsql and odbc still aren't fully up to speed, but at least they don't crash and burn...
1998-10-18 19:41:00 +00:00
Tom Lane
f2ca34dfb3
Add code to pltcl's Makefile to cope with the situation where
...
libtcl has been installed as a non-shared library. pltcl cannot be
built in that situation; we want to do nothing and let the overall Postgres
build complete, rather than failing.
1998-10-17 23:33:23 +00:00
Bruce Momjian
ecf145f492
Remove TCL_LIB,TCL_INCDIR,TK_LIB,TK_INCDIR.
1998-10-13 16:30:49 +00:00
Bruce Momjian
c743b8cecd
Add mklang.sh.in to plpgsql.
1998-10-12 04:55:03 +00:00
Bruce Momjian
0f78649ccc
Cleanup from Billy.
1998-10-12 04:45:22 +00:00
Bruce Momjian
2facf5460f
TCL_LIB, TCL_INC not used.
1998-10-12 04:40:48 +00:00
Bruce Momjian
d2d919f7b7
tcl cleanup.
1998-10-12 04:32:24 +00:00