aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port
Commit message (Collapse)AuthorAge
* Remove extra #endifBruce Momjian1999-07-30
|
* cleanupBruce Momjian1999-07-18
|
* Fix configure problem.Bruce Momjian1999-07-18
|
* configure cleanupBruce Momjian1999-07-18
|
* Move some system includes into c.h, and remove duplicates.Bruce Momjian1999-07-17
|
* More config.h cleanups.Bruce Momjian1999-07-17
|
* Add config.h as needed.Bruce Momjian1999-07-17
|
* Add back improperly removed #include for config.h.Tom Lane1999-07-16
| | | | | This probably ought to be kept in *all* the port files, but these two are the only ones that generated compiler warnings for me ...
* 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
|
* here are some patches for 6.5.0 which I already submitted but have neverBruce Momjian1999-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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
|
* Clean up some minor compile warnings.Tom Lane1999-02-07
|
* Add floating-point support to our emulation of snprintfTom Lane1999-02-06
| | | | so that EXPLAIN works again.
* Cleanup of source files where 'return' or 'var =' is alone on a line.Bruce Momjian1999-02-03
|
* Add missing Windows files.Bruce Momjian1999-01-18
|
* Reverse out yesterday's patch from Horak Daniel, sinceTom Lane1999-01-17
| | | | | | 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.
* Apply Win32 patch from Horak Daniel.Bruce Momjian1999-01-17
|
* Add configure test to see whether vsnprintf() is present,Tom Lane1999-01-17
| | | | | separately from snprintf() --- HPUX, for one, has snprintf but not vsnprintf. Fix a minor typo in snprintf.c, too.
* Replace direct inclusions of c.h with inclusion of postgres.h,Tom Lane1999-01-17
| | | | to ensure that config.h is included as well.
* Fix for snprintf and long long unsigned.Bruce Momjian1998-12-24
|
* Attached is a patch with some fixes that (I think that) should go intoBruce Momjian1998-12-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix for HAVE_LONG bug in snprintf.c.Bruce Momjian1998-12-18
|
* Fix for snprintf with long long's, define problem.Bruce Momjian1998-12-18
|
* Fix prototype for 64-bit platforms.Bruce Momjian1998-12-12
|
* Add stdio for NULL define.Bruce Momjian1998-12-12
|
* Don't forget to create the dynloader files...Marc G. Fournier1998-10-27
|
* Cleanup for snprintf for long long's.Bruce Momjian1998-10-08
|
* Fix snprintf.c for machines that don't have long long, like some Irix.Bruce Momjian1998-10-07
|
* Fixes for Irix from Robert BruccoleriBruce Momjian1998-10-02
|
* Add in, I think, support for %lld in snprintf(), specifically withMarc G. Fournier1998-09-23
| | | | Irix in mind...
* fix for aix snprintfBruce Momjian1998-09-18
|
* Porting efforts... :)Vadim B. Mikheev1998-09-10
|
* Try this snprintf() implementation, used in sendmail...Marc G. Fournier1998-09-04
|
* 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>
* Adrian Hall reported a problem to me that snprintf() doesn't exist in, atMarc G. Fournier1998-08-01
| | | | | | | | least, Solaris 2.5.1. We use it in backend/utils/adt/int8.c. Add a check to configure so that we see if it exists or not, and, if not, compile in snprintf.c from backend/port, which was taken from, and falls under the same Berkeley license as us, the FreeBSD libc/stdio ...
* 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
* Currently, building on any platform that hasn't got getrusage()Bruce Momjian1998-07-13
| | | | | | | | | | | | | | | | | | | | | | | requires manual editing of src/backend/port/getrusage.c, because its substitute version of getrusage is #if'd out. There is no good reason for that, because configure won't even include the file into the Makefile unless the platform hasn't got getrusage. Furthermore, we only have one working substitute version of getrusage --- the alleged HPUX syscall-based code doesn't work. (It causes a coredump because the syscall returns a struct rusage that's much larger than the stub struct defined in src/include/rusagestub.h.) The times()-based emulation works fine on HPUX, however. I propose, therefore, that getrusage.c should just unconditionally compile the times-based version, and rely on configure to include the file only if needed. This will be one less manual configuration step on all platforms that need this code. Patch attached. Tom Lane.
* Port name cleanupBruce Momjian1998-06-19
|