Thomas G. Lockhart
7d1f2f8a27
Support alternate database locations.
1997-11-07 06:38:51 +00:00
Bruce Momjian
f3af1368bd
Rename strNcpy to StrNCpy, and change third parameter.
1997-10-25 01:10:58 +00:00
Bruce Momjian
3f365ba0fc
Inline memset() as MemSet().
1997-09-18 20:22:58 +00:00
Bruce Momjian
59f6a57e59
Used modified version of indent that understands over 100 typedefs.
1997-09-08 21:56:23 +00:00
Bruce Momjian
319dbfa736
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
1997-09-08 02:41:22 +00:00
Bruce Momjian
1ccd423235
Massive commit to run PGINDENT on all *.c and *.h files.
1997-09-07 05:04:48 +00:00
Bruce Momjian
1d8bbfd2e7
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
1997-08-19 21:40:56 +00:00
Bruce Momjian
b99c63cfc0
Now that names are null terminated, no need to do all that NAMEDATALEN stuff.
1997-08-18 20:53:48 +00:00
Bruce Momjian
ea5b5357cd
Remove more (void) and fix -Wall warnings.
1997-08-12 22:55:25 +00:00
Bruce Momjian
edb58721b8
Fix pgproc names over 15 chars in output. Add strNcpy() function. remove some (void) casts that are unnecessary.
1997-08-12 20:16:25 +00:00
Bruce Momjian
6ed1715b1f
Cleanup for NAMEDATALEN use.
1997-08-03 02:38:47 +00:00
Bruce Momjian
3ac9d2fff3
Various compile errors concerning overflow due to shifts, unsigned, and bad prototypes, from Solaris, from Diab Jerius
1997-07-24 20:19:10 +00:00
Vadim B. Mikheev
19269069dc
1. Fix md memory leak:
...
mdunlink() and mdclose() (too !!!) now free MdfdVec for relation
and add it to free list, so it may be re-used for another relation
later.
2. Fix VFD-manager memory leak (found by Massimo ... and me):
mdunlink() has to call FileUnlink() to free allocation for fileName
and add the Vfd slot to the free list.
1997-05-22 17:08:35 +00:00
Vadim B. Mikheev
13f41aa90b
mdcreate():
...
fd = FileNameOpenFile(path, O_RDWR|O_CREAT|O_EXCL, 0600);
/*
* If the file already exists and is empty, we pretend that the
* create succeeded. During bootstrap processing, we skip that check,
* because pg_time, pg_variable, and pg_log get created before their
* .bki file entries are processed.
*
> * As the result of this pretence it was possible to have in
> * pg_class > 1 records with the same relname. Actually, it
> * should be fixed in upper levels, too, but... - vadim 05/06/97
> */
1997-05-06 02:03:20 +00:00
Bruce Momjian
31c8e94b34
Remove WIN32 defines. They never worked.
1997-02-14 04:19:07 +00:00
Vadim B. Mikheev
3385497228
New smgrtruncate smgr' interface func.
1996-11-27 07:25:52 +00:00
Vadim B. Mikheev
a2a33e1344
New mdtruncate() func for single segment relations (< 2Gb).
1996-11-27 07:24:02 +00:00
Bryan Henderson
46c4e6f626
Include fcntl.h, which is not automatically included by sys/file.h on all systems.
1996-11-25 06:33:51 +00:00
Bruce Momjian
a0990e1884
Makefile cleanup after reorganization
1996-11-09 06:24:51 +00:00
Bruce Momjian
4b2b8592a0
Compile and warning cleanup
1996-11-08 06:02:30 +00:00
Bruce Momjian
18bbad7696
Remove OPENLINK define
1996-11-04 04:53:51 +00:00
Marc G. Fournier
6fac4602ae
Clean up Makefile(s)
...
Add #include "postgres.h" as required
Remove #include "c.h" *and* "utils/elog.h" as applicable
1996-11-03 05:08:01 +00:00
Bryan Henderson
b0d6f0aa63
Simplify make files, add full dependencies.
1996-10-27 09:55:05 +00:00
Marc G. Fournier
6196646291
Remove include of machine.h
1996-08-27 22:20:28 +00:00
Marc G. Fournier
5108a5b320
More merges from Dr. George's tree...
...
- src/backend/tcop/*
- cosmetic changes to OPENLINK patches
- src/backend/storage/*
- more changes, mostly cosmetic
- src/backend/ports/*
- merge in patches for aix and i386_solaris
1996-07-22 23:00:26 +00:00
Marc G. Fournier
faf21935d1
fsync patch from openlink
1996-07-15 19:22:17 +00:00
Marc G. Fournier
25bb71835f
Fix: Can't drop tables with names longer than 16 characters.
1996-07-09 06:35:38 +00:00
Marc G. Fournier
d31084e9d1
Postgres95 1.01 Distribution - Virgin Sources
1996-07-09 06:22:35 +00:00