Bruce Momjian
a22d76d96a
Allow include files to compile own their own.
...
Strip unused include files out unused include files, and add needed
includes to C files.
The next step is to remove unused include files in C files.
2006-07-13 16:49:20 +00:00
Bruce Momjian
f2f5b05655
Update copyright for 2006. Update scripts.
2006-03-05 15:59:11 +00:00
Peter Eisentraut
07bb9f086b
Message corrections
2005-10-29 00:31:52 +00:00
Tom Lane
e4cd186608
Fix thinko in pg_read_file: testing for negative result is not the way
...
to determine whether fread() failed.
2005-10-15 19:47:09 +00:00
Bruce Momjian
1dc3498251
Standard pgindent run for 8.1.
2005-10-15 02:49:52 +00:00
Tom Lane
8aec77fb9f
Fix platform-specific test for path prefix-ness: move it into path.c where
...
it can be done right. Allow explicit use of absolute DataDir path.
Per Dave Page.
2005-08-29 19:39:39 +00:00
Bruce Momjian
070a3ad76b
Rename pg_stat_file columns to be more consistent. Split apart change
...
and creation columns to behave for Unix or Win32.
2005-08-15 23:00:14 +00:00
Tom Lane
2af9a44fa9
Make pg_stat_file() use OUT parameters so that the user doesn't have to
...
remember the output parameter set for himself. It's a bit of a kluge
but fixing array_in to work in bootstrap mode looks worse.
I removed the separate pg_file_length() function, as it no longer has any
real notational advantage --- you can write (pg_stat_file(...)).length.
2005-08-13 19:02:34 +00:00
Tom Lane
0d1ebe0194
Fix up canonicalize_path to do the right thing in all cases (I think ...
...
this was harder than it seemed at first glance). Also push code for
checking for ".." in file names into path.c where it belongs.
2005-08-12 21:07:53 +00:00
Tom Lane
a43ea120bf
Code & docs review for server instrumentation patch. File timestamps
...
should surely be timestamptz not timestamp; fix some but not all of the
holes in check_and_make_absolute(); other minor cleanup. Also put in
the missed catversion bump.
2005-08-12 18:23:56 +00:00
Bruce Momjian
b609695b7a
Add files to do read I/O on the cluster directory:
...
pg_stat_file()
pg_read_file()
pg_ls_dir()
pg_reload_conf()
pg_rotate_logfile()
Dave Page
Andreas Pflug
2005-08-12 03:25:13 +00:00