aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/dynloader
Commit message (Collapse)AuthorAge
* Fix misuse of StrNCpy to copy and add null to non-null-terminated data.Tom Lane2000-07-07
| | | | | | | Does not work since it fetches one byte beyond the source data, and when the phase of the moon is wrong, the source data is smack up against the end of backend memory and you get SIGSEGV. Don't laugh, this is a fix for an actual user bug report.
* First round of changes for new fmgr interface. fmgr itself and theTom Lane2000-05-28
| | | | | | | key call sites are changed, but most called functions are still oldstyle. An exception is that the PL managers are updated (so, for example, NULL handling now behaves as expected in plperl and plpgsql functions). NOTE initdb is forced due to added column in pg_proc.
* On HPUX, shl_load should be called with options BIND_IMMEDIATE ratherTom Lane2000-04-26
| | | | | | | than BIND_DEFERRED. That way, if the loaded library has unresolved references, shl_load fails cleanly. As we had it, shl_load would succeed and then the dynlinker would call abort() when we try to call into the loaded library. abort()ing a backend is uncool.
* I've made a diff against the 7.0beta1 tree that accomplishes several things:Bruce Momjian2000-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Add:Bruce Momjian2000-01-26
| | | | | | * Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
* Remove unused files.Bruce Momjian1999-12-17
|
* Fix MULTIBYTE handling in string by using strcat.Bruce Momjian1999-12-17
|
* Update for QNX.Bruce Momjian1999-12-16
|
* I have done the QNX4 port with the current source tree. The number ofBruce Momjian1999-12-16
| | | | | | | | backend/Makefiles to be patched could significantly be reduced since they have been adopted to the QNX4 needs. Andreas Kardos
* 'extern char *pg_pathname' in these files fails to agree withTom Lane1999-10-25
| | | | | postgres.c's declaration of 'char pg_pathname[...]'. I dunno when these ports were last used, but they are sure broken now...
* Fix for AIX dynaloader from Zeugswetter AndreaBruce Momjian1999-09-28
|
* Move some system includes into c.h, and remove duplicates.Bruce Momjian1999-07-17
|
* Final cleanup.Bruce Momjian1999-07-16
|
* Update #include cleanupsBruce Momjian1999-07-16
|
* Change #include's to use <> and "" as appropriate.Bruce Momjian1999-07-15
|
* Remove unused #includes in *.c files.Bruce Momjian1999-07-15
|
* Clean up #include in /include directory. Add scripts for checking includes.Bruce Momjian1999-07-15
|
* Redefine cpu's as __cpu__. Only for 6.6 branch.Bruce Momjian1999-07-13
|
* pgindent run over code.Bruce Momjian1999-05-25
|
* Apply freebsd specific patches dealign with ELF system from FreeBSD'sMarc G. Fournier1999-05-17
| | | | ports collection ...
* small error message improvement from Dmitry SamersoffBruce Momjian1999-05-05
|
* We have tested the patches on three platforms:Bruce Momjian1999-03-14
| | | | | | | | | | | | | NetBSD/macppc LinuxPPC FreeBSD 2.2.6-RELEASE All of them seem happy with the regression test. Note that, however, compiling with optimization enabled on NetBSD/macppc causes an initdb failure (other two platforms are ok). After checking the asm code, we are suspecting that might be a compiler(egcs) bug. Tatsuo Ishii
* From: Tatsuo Ishii <t-ishii@sra.co.jp>Marc G. Fournier1999-02-21
| | | | | | Ok. I made patches replacing all of "#if FALSE" or "#if 0" to "#ifdef NOT_USED" for current. I have tested these patches in that the postgres binaries are identical.
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-13
|
* Add missing Windows files.Bruce Momjian1999-01-18
|
* Replace direct inclusions of c.h with inclusion of postgres.h,Tom Lane1999-01-17
| | | | to ensure that config.h is included as well.
* Don't forget to create the dynloader files...Marc G. Fournier1998-10-27
|
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-01
|
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-01
|
* re-integrate nextstep dynloader functionalityMarc G. Fournier1998-08-25
| | | | From: Jacek Lasecki <jacek@sound.eti.pg.gda.pl>
* My mailer munged the intro text in my last post. Here is the textBruce Momjian1998-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in a more readable form. -- I am submitting the following patches to the June 6, 1998 snapshot of PostgreSQL. These patches implement a port of PostgreSQL to SCO UnixWare 7, and updates the Univel port (UnixWare 2.x). The patched files, and the reason for the patch are: File Reason for the patch --------------- --------------------------------------------------------------- src/backend/port/dynloader/unixware.c src/backend/port/dynloader/unixware.h src/include/port/unixware.h src/makefiles/Makefile.unixware src/template/unixware Created for the UNIXWARE port. src/include/port/univel.h Modifed this file to work with the changes made to s_lock.[ch]. src/backend/storage/buffer/s_lock.c src/include/storage/s_lock.h Moved the UNIXWARE (and Univel) tas() function from s_lock.c to s_lock.h. The UnixWare compiler asm construct is treated as a macro and needs to be in the s_lock.h file. I also reworked the tas() function to correct some errors in the code. src/include/version.h.in The use of the ## operator with quoted strings in the VERSION macro caused problems with the UnixWare C compiler. I removed the ## operators since they were not needed in this case. The macro expands into a sequence of quoted strings that will be concatenated by any ANSI C compiler. src/config.guess This script was modified to recognize SCO UnixWare 7. src/configure src/configure.in The configure script was modified to recognize SCO UnixWare 7. Billy G. Allie
* Solaris cleanup.Bruce Momjian1998-06-19
|
* Remove un-needed braces around single statements.Bruce Momjian1998-06-15
|
* Remove fork()/exec() and only do fork(). Small cleanups.Bruce Momjian1998-05-29
|
* Get the ultrix4 ports back in sync...Marc G. Fournier1998-03-10
|
* From: "Billy G. Allie" <Bill.Allie@mug.org>Marc G. Fournier1998-03-01
| | | | | | | | | | | The following patches will allow postgreSQL 6.3 to compile and run on a UNIXWARE 2.1.2 system with the native C compiler with the following library change: The alloca function must be copied from the libucb.a archive and added to the libgen.a archive. Also, the GNU flex program is needed to successfully build postgreSQL.
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-26
|
* Forgot about the svr4 dynloader stuffMarc G. Fournier1998-02-24
| | | | From: Frank Ridderbusch <ridderbusch.pad@sni.de>
* Just another missing dummy fileMarc G. Fournier1998-02-17
|
* From: Brian E Gallew <geek+@cmu.edu>Marc G. Fournier1998-02-14
| | | | | | | | dgux 5.4R4.11 Missing port-protos.h (not needed, I think). Wants dld.h. Should really use the system dl stuff (like i386_solaris). Needs to include <netinet/in.h> before <arpa/inet.h>. Here are some patches...
* From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>Marc G. Fournier1998-02-13
| | | | | | | | | Apart from this Makefile hack, all I've done is to make dynamically loaded code modules fail properly (as was already done for __mips__, although I think this is too loose: I believe NetBSD for the pmax can do dynamic linking), and to add test-and-set lock handling. As Bruce suggested, this is done in a maximally efficient inlined way: I was not aware that this code was so important, speed-wise.
* Goodbye register keyword. Compiler knows better.Bruce Momjian1998-02-11
|
* Just another dummy fileMarc G. Fournier1998-02-03
|
* Add an irix5.c dummy file for irix5 portMarc G. Fournier1998-02-02
|
* Fix up the alpha port/dynloader for configureMarc G. Fournier1998-02-02
|
* Fixes:Marc G. Fournier1998-02-02
| | | | | | dynloader.c:25: port-protos.h: No such file or directory In HPUX port
* Missed adding new univel files and removing univel subdirectoryMarc G. Fournier1998-02-01
|
* Try this to fix HP/UX port compileMarc G. Fournier1998-01-26
|
* A dummy file so that configure under solaris worksMarc G. Fournier1998-01-23
|
* Add a 'dummy' file for i386_solaris.c for configureMarc G. Fournier1998-01-13
|