summaryrefslogtreecommitdiff
path: root/src/backend/port
AgeCommit message (Collapse)Author
2000-05-29Generated header files parse.h and fmgroids.h are now copied intoTom Lane
the src/include tree, so that -I backend is no longer necessary anywhere. Also, clean up some bit rot in contrib tree.
2000-05-28First round of changes for new fmgr interface. fmgr itself and theTom Lane
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.
2000-05-19Correct busted syntax of CC invocation for tas.s.Tom Lane
2000-05-11Makefile CFLAGS cleanups.Bruce Momjian
2000-04-26On HPUX, shl_load should be called with options BIND_IMMEDIATE ratherTom Lane
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.
2000-04-12Ye-old pgindent run. Same 4-space tabs.Bruce Momjian
2000-03-14> I have improved the System V semaphore emulation of the QNX4 port.Bruce Momjian
Please > apply the attached patch to > > backend/port/qnx4 > > Andreas Kardos >
2000-03-08I've made a diff against the 7.0beta1 tree that accomplishes several things:Bruce Momjian
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>
2000-01-26Add:Bruce Momjian
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
1999-12-17Remove unused files.Bruce Momjian
1999-12-17Fix MULTIBYTE handling in string by using strcat.Bruce Momjian
1999-12-16Update for QNX.Bruce Momjian
1999-12-16I have done the QNX4 port with the current source tree. The number ofBruce Momjian
backend/Makefiles to be patched could significantly be reduced since they have been adopted to the QNX4 needs. Andreas Kardos
1999-12-13New LDOUT makefile variable for QNX os.Bruce Momjian
1999-12-09Make LD -r as macros that can be changed for QNX.Bruce Momjian
1999-10-25'extern char *pg_pathname' in these files fails to agree withTom Lane
postgres.c's declaration of 'char pg_pathname[...]'. I dunno when these ports were last used, but they are sure broken now...
1999-09-28Fix for AIX dynaloader from Zeugswetter AndreaBruce Momjian
1999-09-09Get rid of elog(DEBUG) in snprintf emulation ... it's justTom Lane
cluttering the log file...
1999-08-31Minor improvements to stringinfo package to make it moreTom Lane
robust, since it's about to get used much more heavily.
1999-07-30Remove extra #endifBruce Momjian
1999-07-18cleanupBruce Momjian
1999-07-18Fix configure problem.Bruce Momjian
1999-07-18configure cleanupBruce Momjian
1999-07-17 Move some system includes into c.h, and remove duplicates.Bruce Momjian
1999-07-17More config.h cleanups.Bruce Momjian
1999-07-17Add config.h as needed.Bruce Momjian
1999-07-16Add back improperly removed #include for config.h.Tom Lane
This probably ought to be kept in *all* the port files, but these two are the only ones that generated compiler warnings for me ...
1999-07-16Final cleanup.Bruce Momjian
1999-07-16Update #include cleanupsBruce Momjian
1999-07-15Change #include's to use <> and "" as appropriate.Bruce Momjian
1999-07-15Remove unused #includes in *.c files.Bruce Momjian
1999-07-15Clean up #include in /include directory. Add scripts for checking includes.Bruce Momjian
1999-07-13Redefine cpu's as __cpu__. Only for 6.6 branch.Bruce Momjian
1999-05-25pgindent run over code.Bruce Momjian
1999-05-17Apply freebsd specific patches dealign with ELF system from FreeBSD'sMarc G. Fournier
ports collection ...
1999-05-05small error message improvement from Dmitry SamersoffBruce Momjian
1999-05-03here are some patches for 6.5.0 which I already submitted but have neverBruce Momjian
been applied. The patches are in the .tar.gz attachment at the end: varchar-array.patch this patch adds support for arrays of bpchar() and varchar(), which where always missing from postgres. These datatypes can be used to replace the _char4, _char8, etc., which were dropped some time ago. block-size.patch this patch fixes many errors in the parser and other program which happen with very large query statements (> 8K) when using a page size larger than 8192. This patch is needed if you want to submit queries larger than 8K. Postgres supports tuples up to 32K but you can't insert them because you can't submit queries larger than 8K. My patch fixes this problem. The patch also replaces all the occurrences of `8192' and `1<<13' in the sources with the proper constants defined in include files. You should now never find 8192 hardwired in C code, just to make code clearer. -- Massimo Dal Zotto
1999-03-14We have tested the patches on three platforms:Bruce Momjian
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
1999-02-21From: Tatsuo Ishii <t-ishii@sra.co.jp>Marc G. Fournier
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.
1999-02-13Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian
1999-02-07Clean up some minor compile warnings.Tom Lane
1999-02-06Add floating-point support to our emulation of snprintfTom Lane
so that EXPLAIN works again.
1999-02-03Cleanup of source files where 'return' or 'var =' is alone on a line.Bruce Momjian
1999-01-18Add missing Windows files.Bruce Momjian
1999-01-17Reverse out yesterday's patch from Horak Daniel, sinceTom Lane
it fails to compile on any machine without a <features.h> header. If this header is actually necessary on Windows, perhaps an #if test is in order.
1999-01-17Apply Win32 patch from Horak Daniel.Bruce Momjian
1999-01-17Add configure test to see whether vsnprintf() is present,Tom Lane
separately from snprintf() --- HPUX, for one, has snprintf but not vsnprintf. Fix a minor typo in snprintf.c, too.
1999-01-17Replace direct inclusions of c.h with inclusion of postgres.h,Tom Lane
to ensure that config.h is included as well.
1998-12-24Fix for snprintf and long long unsigned.Bruce Momjian
1998-12-18Attached is a patch with some fixes that (I think that) should go intoBruce Momjian
6.4.1. Here is the list: - The type int8 now works. In fact, the bug(s) were in src/backend/port/snprintf.c, so int8 is probably broken in every platform that hasn't a native snprintf/vsnprintf. The type itself worked as expected, only the output was wrong. Anyway, this patch should be checked in other platforms. - The regression tests for int2 and int4, which were broken due to differences in the error messages, are fixed. - The regression test for float8, which was broken in the reference platform, is also fixed. I don't know if the new file (float8-OSF1.out) will work on other platforms, but it might be worth to try it. - Two new template files are provided (alpha_cc, which includes optimization, and alpha_gcc), and src/templates/.similar is updated accordingly. src/templates/alpha should be removed from the distribution. *IMPORTANT NOTE*: I don't know if you can use gcc to compile postgres; I've written the alpha_gcc file because alpha_cc has some flags that are specific to DEC C. - There is a (very basic) Digital Unix specific FAQ in doc/FAQ_DigitalUnix. -- ------------------------------------------------------------------- Pedro José Lobo Perea Tel: +34 91 336 78 19