CVS log for pgsql/src/port/Attic/copydir.c

[BACK] Up to [PostgreSQL CVS Repository] / pgsql / src / port

Request diff between arbitrary revisions - Display revisions graphically


Keyword substitution: kv
Default branch: MAIN


Revision 1.23.2.4
Fri Jul 2 17:03:38 2010 UTC (14 years, 11 months ago) by rhaas
Branches: REL8_4_STABLE
FILE REMOVED
Changes since revision 1.23.2.3: +1 -1 lines
Move copydir.c from src/port to src/backend/storage/file

The previous commit to make copydir() interruptible prevented
postgres.exe from linking on MinGW and Cygwin, because on those
platforms libpgport_srv.a can't freely reference symbols defined
by the backend.  Since that code is already backend-specific anyway,
just move the whole file into the backend rather than adding further
kludges to deal with the symbols needed by CHECK_FOR_INTERRUPTS().

This probably needs some further cleanup, but this commit just moves
the file as-is, which should hopefully be enough to turn the
buildfarm green again.

Revision 1.38
Fri Jul 2 17:03:30 2010 UTC (14 years, 11 months ago) by rhaas
Branches: MAIN
CVS tags: HEAD
FILE REMOVED
Changes since revision 1.37: +1 -1 lines
Move copydir.c from src/port to src/backend/storage/file

The previous commit to make copydir() interruptible prevented
postgres.exe from linking on MinGW and Cygwin, because on those
platforms libpgport_srv.a can't freely reference symbols defined
by the backend.  Since that code is already backend-specific anyway,
just move the whole file into the backend rather than adding further
kludges to deal with the symbols needed by CHECK_FOR_INTERRUPTS().

This probably needs some further cleanup, but this commit just moves
the file as-is, which should hopefully be enough to turn the
buildfarm green again.

Revision 1.23.2.3: download - view: text, markup, annotated - select for diffs
Thu Jul 1 20:13:06 2010 UTC (14 years, 11 months ago) by rhaas
Branches: REL8_4_STABLE
Diff to: previous 1.23.2.2: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.2: +8 -1 lines
Allow copydir() to be interrupted.

This makes ALTER DATABASE .. SET TABLESPACE and CREATE DATABASE more
sensitive to interrupts.  Backpatch to 8.4, where ALTER DATABASE .. SET
TABLESPACE was introduced.  We could go back further, but in the absence
of complaints about the CREATE DATABASE case it doesn't seem worth it.

Guillaume Lelarge, with a small correction by me.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Jul 1 20:12:40 2010 UTC (14 years, 11 months ago) by rhaas
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +8 -1 lines
Allow copydir() to be interrupted.

This makes ALTER DATABASE .. SET TABLESPACE and CREATE DATABASE more
sensitive to interrupts.  Backpatch to 8.4, where ALTER DATABASE .. SET
TABLESPACE was introduced.  We could go back further, but in the absence
of complaints about the CREATE DATABASE case it doesn't seem worth it.

Guillaume Lelarge, with a small correction by me.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Mar 1 14:54:00 2010 UTC (15 years, 3 months ago) by tgl
Branches: MAIN
CVS tags: REL9_0_BETA2, REL9_0_BETA1, REL9_0_ALPHA5_BRANCH, REL9_0_ALPHA5
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +8 -6 lines
Buildfarm still unhappy, so I'll bet it's EACCES not EPERM.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Mar 1 00:04:06 2010 UTC (15 years, 3 months ago) by stark
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +5 -3 lines
add EPERM to the list of return codes to expect from opening directories based on Vista results

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Feb 28 21:05:30 2010 UTC (15 years, 3 months ago) by stark
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +38 -15 lines
Second try at fsyncing directories in CREATE DATABASE. Let's see what the build farm says of opening directories read-only and ignoring EBADF from fsync of directories

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Feb 26 02:01:38 2010 UTC (15 years, 3 months ago) by momjian
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +13 -13 lines
pgindent run for 9.0

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Feb 23 05:44:55 2010 UTC (15 years, 3 months ago) by tgl
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -4 lines
Some platforms reject fsync() on files opened O_RDONLY.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Feb 22 15:29:46 2010 UTC (15 years, 3 months ago) by tgl
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -1 lines
Let's try forcing errno to zero before issuing fsync.  The current buildfarm
results claiming EBADF seem improbable enough that I'm not convinced fsync
is really returning that --- could it be failing to set errno at all?

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Feb 22 02:50:10 2010 UTC (15 years, 3 months ago) by tgl
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +18 -15 lines
Fix multiple copy and paste-o's.  No wonder this code didn't work.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Feb 22 00:11:05 2010 UTC (15 years, 3 months ago) by stark
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -1 lines
Oops, don't forget to rewind the directory before scanning it to fsync files in CREATE DATABASE

Revision 1.16.2.3: download - view: text, markup, annotated - select for diffs
Wed Feb 17 11:35:51 2010 UTC (15 years, 3 months ago) by stark
Branches: REL8_1_STABLE
CVS tags: REL8_1_21, REL8_1_20
Diff to: previous 1.16.2.2: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.2: +1 -22 lines
revert prior patch to fsync directories until portability problems exposed by build farm can be sorted out

Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Tue Feb 16 00:01:35 2010 UTC (15 years, 4 months ago) by stark
Branches: REL8_4_STABLE
CVS tags: REL8_4_4, REL8_4_3
Diff to: previous 1.23.2.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.1: +1 -22 lines
revert prior patch to fsync directories until portability problems exposed by build farm can be sorted out

Revision 1.21.2.3: download - view: text, markup, annotated - select for diffs
Tue Feb 16 00:01:22 2010 UTC (15 years, 4 months ago) by stark
Branches: REL8_3_STABLE
CVS tags: REL8_3_11, REL8_3_10
Diff to: previous 1.21.2.2: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.2: +1 -22 lines
revert prior patch to fsync directories until portability problems exposed by build farm can be sorted out

Revision 1.18.2.3: download - view: text, markup, annotated - select for diffs
Tue Feb 16 00:01:11 2010 UTC (15 years, 4 months ago) by stark
Branches: REL8_2_STABLE
CVS tags: REL8_2_17, REL8_2_16
Diff to: previous 1.18.2.2: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.2.2: +1 -22 lines
revert prior patch to fsync directories until portability problems exposed by build farm can be sorted out

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Feb 15 11:40:49 2010 UTC (15 years, 4 months ago) by stark
Branches: MAIN
CVS tags: REL9_0_ALPHA4_BRANCH, REL9_0_ALPHA4
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +17 -3 lines
Temporarily disable fsyncing the database directory in CREATE DATABASE
until we can work out portability issues the build farm uncovered.

In passing avoid fsyncing subdirectories twice.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Feb 15 04:05:06 2010 UTC (15 years, 4 months ago) by itagaki
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -2 lines
remove an unused variable 'dirfd'.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Feb 15 00:50:57 2010 UTC (15 years, 4 months ago) by stark
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +57 -27 lines
Speed up CREATE DATABASE by deferring the fsyncs until after copying
all the data and using posix_fadvise to nudge the OS into flushing it
earlier. This also hopefully makes CREATE DATABASE avoid spamming the
cache.

Tests show a big speedup on Linux at least on some filesystems.

Idea and patch from Andres Freund.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Feb 14 17:50:52 2010 UTC (15 years, 4 months ago) by stark
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +22 -1 lines
Make CREATE DATABASE safe against losing whole files by fsyncing the
directory and not just the individual files.

Back-patch to 8.1 -- before that we just called "cp -r" and never
fsynced anything anyways.

Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Sun Feb 14 17:50:47 2010 UTC (15 years, 4 months ago) by stark
Branches: REL8_4_STABLE
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +22 -1 lines
Make CREATE DATABASE safe against losing whole files by fsyncing the
directory and not just the individual files.

Back-patch to 8.1 -- before that we just called "cp -r" and never
fsynced anything anyways.

Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Sun Feb 14 17:50:43 2010 UTC (15 years, 4 months ago) by stark
Branches: REL8_3_STABLE
Diff to: previous 1.21.2.1: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.1: +22 -1 lines
Make CREATE DATABASE safe against losing whole files by fsyncing the
directory and not just the individual files.

Back-patch to 8.1 -- before that we just called "cp -r" and never
fsynced anything anyways.

Revision 1.18.2.2: download - view: text, markup, annotated - select for diffs
Sun Feb 14 17:50:39 2010 UTC (15 years, 4 months ago) by stark
Branches: REL8_2_STABLE
Diff to: previous 1.18.2.1: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.2.1: +22 -1 lines
Make CREATE DATABASE safe against losing whole files by fsyncing the
directory and not just the individual files.

Back-patch to 8.1 -- before that we just called "cp -r" and never
fsynced anything anyways.

Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Sun Feb 14 17:50:34 2010 UTC (15 years, 4 months ago) by stark
Branches: REL8_1_STABLE
Diff to: previous 1.16.2.1: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.2.1: +22 -1 lines
Make CREATE DATABASE safe against losing whole files by fsyncing the
directory and not just the individual files.

Back-patch to 8.1 -- before that we just called "cp -r" and never
fsynced anything anyways.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Jan 2 16:58:13 2010 UTC (15 years, 5 months ago) by momjian
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
Update copyright for the year 2010.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Jan 1 17:24:04 2009 UTC (16 years, 5 months ago) by momjian
Branches: MAIN
CVS tags: REL8_5_ALPHA3_BRANCH, REL8_5_ALPHA3, REL8_5_ALPHA2_BRANCH, REL8_5_ALPHA2, REL8_5_ALPHA1_BRANCH, REL8_5_ALPHA1, REL8_4_RC2, REL8_4_RC1, REL8_4_BETA2, REL8_4_BETA1, REL8_4_2, REL8_4_1, REL8_4_0
Branch point for: REL8_4_STABLE
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
Update copyright for 2009.

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 31 01:32:48 2008 UTC (17 years, 2 months ago) by tgl
Branches: REL8_1_STABLE
CVS tags: REL8_1_19, REL8_1_18, REL8_1_17, REL8_1_16, REL8_1_15, REL8_1_14, REL8_1_13, REL8_1_12
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Fix a number of places that were making file-type tests infelicitously.
The places that did, eg,
	(statbuf.st_mode & S_IFMT) == S_IFDIR
were correct, but there is no good reason not to use S_ISDIR() instead,
especially when that's what the other 90% of our code does.  The places
that did, eg,
	(statbuf.st_mode & S_IFDIR)
were flat out *wrong* and would fail in various platform-specific ways,
eg a symlink could be mistaken for a regular file on most Unixen.

The actual impact of this is probably small, since the problem cases
seem to always involve symlinks or sockets, which are unlikely to be
found in the directories that PG code might be scanning.  But it's
clearly trouble waiting to happen, so patch all the way back anyway.
(There seem to be no occurrences of the mistake in 7.4.)

Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 31 01:32:17 2008 UTC (17 years, 2 months ago) by tgl
Branches: REL8_2_STABLE
CVS tags: REL8_2_9, REL8_2_8, REL8_2_15, REL8_2_14, REL8_2_13, REL8_2_12, REL8_2_11, REL8_2_10
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
Fix a number of places that were making file-type tests infelicitously.
The places that did, eg,
	(statbuf.st_mode & S_IFMT) == S_IFDIR
were correct, but there is no good reason not to use S_ISDIR() instead,
especially when that's what the other 90% of our code does.  The places
that did, eg,
	(statbuf.st_mode & S_IFDIR)
were flat out *wrong* and would fail in various platform-specific ways,
eg a symlink could be mistaken for a regular file on most Unixen.

The actual impact of this is probably small, since the problem cases
seem to always involve symlinks or sockets, which are unlikely to be
found in the directories that PG code might be scanning.  But it's
clearly trouble waiting to happen, so patch all the way back anyway.
(There seem to be no occurrences of the mistake in 7.4.)

Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 31 01:32:01 2008 UTC (17 years, 2 months ago) by tgl
Branches: REL8_3_STABLE
CVS tags: REL8_3_9, REL8_3_8, REL8_3_7, REL8_3_6, REL8_3_5, REL8_3_4, REL8_3_3, REL8_3_2
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3 lines
Fix a number of places that were making file-type tests infelicitously.
The places that did, eg,
	(statbuf.st_mode & S_IFMT) == S_IFDIR
were correct, but there is no good reason not to use S_ISDIR() instead,
especially when that's what the other 90% of our code does.  The places
that did, eg,
	(statbuf.st_mode & S_IFDIR)
were flat out *wrong* and would fail in various platform-specific ways,
eg a symlink could be mistaken for a regular file on most Unixen.

The actual impact of this is probably small, since the problem cases
seem to always involve symlinks or sockets, which are unlikely to be
found in the directories that PG code might be scanning.  But it's
clearly trouble waiting to happen, so patch all the way back anyway.
(There seem to be no occurrences of the mistake in 7.4.)

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Mar 31 01:31:43 2008 UTC (17 years, 2 months ago) by tgl
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3 lines
Fix a number of places that were making file-type tests infelicitously.
The places that did, eg,
	(statbuf.st_mode & S_IFMT) == S_IFDIR
were correct, but there is no good reason not to use S_ISDIR() instead,
especially when that's what the other 90% of our code does.  The places
that did, eg,
	(statbuf.st_mode & S_IFDIR)
were flat out *wrong* and would fail in various platform-specific ways,
eg a symlink could be mistaken for a regular file on most Unixen.

The actual impact of this is probably small, since the problem cases
seem to always involve symlinks or sockets, which are unlikely to be
found in the directories that PG code might be scanning.  But it's
clearly trouble waiting to happen, so patch all the way back anyway.
(There seem to be no occurrences of the mistake in 7.4.)

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Jan 1 19:46:00 2008 UTC (17 years, 5 months ago) by momjian
Branches: MAIN
CVS tags: REL8_3_RC2, REL8_3_RC1, REL8_3_1, REL8_3_0
Branch point for: REL8_3_STABLE
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
Update copyrights in source tree to 2008.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Jul 25 12:22:54 2007 UTC (17 years, 10 months ago) by mha
Branches: MAIN
CVS tags: REL8_3_BETA4, REL8_3_BETA3, REL8_3_BETA2, REL8_3_BETA1
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
Rename DLLIMPORT macro to PGDLLIMPORT to avoid conflict with
third party includes (like tcl) that define DLLIMPORT.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Jan 5 22:20:02 2007 UTC (18 years, 5 months ago) by momjian
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Update CVS HEAD for 2007 copyright.  Back branches are typically not
back-stamped for this.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Jul 18 22:36:46 2006 UTC (18 years, 11 months ago) by tgl
Branches: MAIN
CVS tags: REL8_2_RC1, REL8_2_BETA3, REL8_2_BETA2, REL8_2_BETA1, REL8_2_7, REL8_2_6, REL8_2_5, REL8_2_4, REL8_2_3, REL8_2_2, REL8_2_1, REL8_2_0
Branch point for: REL8_2_STABLE
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
copydir() and rmtree() need to use lstat, not stat, to behave as expected
with symlinks.  Noted while trying to use rmtree in new C-code pg_regress.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Mar 5 15:59:10 2006 UTC (19 years, 3 months ago) by momjian
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
Update copyright for 2006.  Update scripts.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Oct 29 00:31:52 2005 UTC (19 years, 7 months ago) by petere
Branches: MAIN
CVS tags: REL8_1_9, REL8_1_8, REL8_1_7, REL8_1_6, REL8_1_5, REL8_1_4, REL8_1_3, REL8_1_2, REL8_1_11, REL8_1_10, REL8_1_1, REL8_1_0RC1, REL8_1_0
Branch point for: REL8_1_STABLE
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
Message corrections

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Oct 15 02:49:50 2005 UTC (19 years, 8 months ago) by momjian
Branches: MAIN
CVS tags: REL8_1_0BETA4
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -4 lines
Standard pgindent run for 8.1.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Sep 3 15:55:00 2005 UTC (19 years, 9 months ago) by tgl
Branches: MAIN
CVS tags: REL8_1_0BETA3, REL8_1_0BETA2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +12 -1 lines
libpgport routines need nonstandard palloc to work on Windows.
Propagate hack that's in dirmod.c to copydir.c.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Sep 2 18:55:32 2005 UTC (19 years, 9 months ago) by tgl
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +10 -3 lines
In copy_file, use a palloc'd buffer instead of just a local char array;
a local array isn't guaranteed to have any particular alignment, and
so it could slow down the data transfer.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Aug 2 19:02:32 2005 UTC (19 years, 10 months ago) by tgl
Branches: MAIN
CVS tags: REL8_1_0BETA1
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +101 -45 lines
Clean up CREATE DATABASE processing to make it more robust and get rid
of special case for Windows port.  Put a PG_TRY around most of createdb()
to ensure that we remove copied subdirectories on failure, even if the
failure happens while creating the pg_database row.  (I think this explains
Oliver Siegmar's recent report.)  Having done that, there's no need for
the fragile assumption that copydir() mustn't ereport(ERROR), so simplify
its API.  Eliminate the old code that used system("cp ...") to copy
subdirectories, in favor of using copydir() on all platforms.  This not
only should allow much better error reporting, but allows us to fsync
the created files before trusting that the copy has succeeded.

Revision 1.10.4.1: download - view: text, markup, annotated - select for diffs
Thu Mar 24 02:11:33 2005 UTC (20 years, 2 months ago) by tgl
Branches: REL8_0_STABLE
CVS tags: REL8_0_9, REL8_0_8, REL8_0_7, REL8_0_6, REL8_0_5, REL8_0_4, REL8_0_3, REL8_0_25, REL8_0_24, REL8_0_23, REL8_0_22, REL8_0_21, REL8_0_20, REL8_0_2, REL8_0_19, REL8_0_18, REL8_0_17, REL8_0_16, REL8_0_15, REL8_0_14, REL8_0_13, REL8_0_12, REL8_0_11, REL8_0_10
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +20 -1 lines
Add missing error checking in readdir() loops.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Mar 24 02:11:20 2005 UTC (20 years, 2 months ago) by tgl
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +20 -1 lines
Add missing error checking in readdir() loops.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Dec 31 22:03:53 2004 UTC (20 years, 5 months ago) by pgsql
Branches: MAIN
CVS tags: REL8_0_1, REL8_0_0RC5, REL8_0_0RC4, REL8_0_0RC3, REL8_0_0
Branch point for: REL8_0_STABLE
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines

Tag appropriate files for rc3

Also performed an initial run through of upgrading our Copyright date to
extend to 2005 ... first run here was very simple ... change everything
where: grep 1996-2004 && the word 'Copyright' ... scanned through the
generated list with 'less' first, and after, to make sure that I only
picked up the right entries ...

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Aug 29 04:13:12 2004 UTC (20 years, 9 months ago) by momjian
Branches: MAIN
CVS tags: REL8_0_0RC2, REL8_0_0RC1, REL8_0_0BETA5, REL8_0_0BETA4, REL8_0_0BETA3, REL8_0_0BETA2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Update copyright to 2004.

Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 23 23:03:43 2004 UTC (21 years, 3 months ago) by tgl
Branches: REL7_4_STABLE
CVS tags: REL7_4_9, REL7_4_8, REL7_4_7, REL7_4_6, REL7_4_5, REL7_4_4, REL7_4_3, REL7_4_29, REL7_4_28, REL7_4_27, REL7_4_26, REL7_4_25, REL7_4_24, REL7_4_23, REL7_4_22, REL7_4_21, REL7_4_20, REL7_4_2, REL7_4_19, REL7_4_18, REL7_4_17, REL7_4_16, REL7_4_15, REL7_4_14, REL7_4_13, REL7_4_12, REL7_4_11, REL7_4_10
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +6 -6 lines
Replace opendir/closedir calls throughout the backend with AllocateDir
and FreeDir routines modeled on the existing AllocateFile/FreeFile.
Like the latter, these routines will avoid failing on EMFILE/ENFILE
conditions whenever possible, and will prevent leakage of directory
descriptors if an elog() occurs while one is open.
Also, reduce PANIC to ERROR in MoveOfflineLogs() --- this is not
critical code and there is no reason to force a DB restart on failure.
All per recent trouble report from Olivier Hubaut.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Feb 23 23:03:10 2004 UTC (21 years, 3 months ago) by tgl
Branches: MAIN
CVS tags: REL8_0_0BETA1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -6 lines
Replace opendir/closedir calls throughout the backend with AllocateDir
and FreeDir routines modeled on the existing AllocateFile/FreeFile.
Like the latter, these routines will avoid failing on EMFILE/ENFILE
conditions whenever possible, and will prevent leakage of directory
descriptors if an elog() occurs while one is open.
Also, reduce PANIC to ERROR in MoveOfflineLogs() --- this is not
critical code and there is no reason to force a DB restart on failure.
All per recent trouble report from Olivier Hubaut.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Nov 29 19:52:13 2003 UTC (21 years, 6 months ago) by pgsql
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -1 lines

$Header: -> $PostgreSQL Changes ...

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Nov 11 23:52:45 2003 UTC (21 years, 7 months ago) by momjian
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +12 -2 lines
Update /port C header descriptions.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Sep 10 20:12:01 2003 UTC (21 years, 9 months ago) by tgl
Branches: MAIN
CVS tags: REL7_4_RC2, REL7_4_RC1, REL7_4_BETA5, REL7_4_BETA4, REL7_4_BETA3, REL7_4_1, REL7_4
Branch point for: REL7_4_STABLE
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +18 -11 lines
copydir() is supposed to return on failure, not elog(ERROR).  Reduce
ERROR to WARNING so we keep control.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Aug 4 00:43:33 2003 UTC (21 years, 10 months ago) by momjian
Branches: MAIN
CVS tags: WIN32_DEV, REL7_4_BETA2, REL7_4_BETA1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +16 -15 lines
pgindent run.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jul 27 17:10:07 2003 UTC (21 years, 10 months ago) by tgl
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +13 -5 lines
elog mop-up.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri May 16 01:57:52 2003 UTC (22 years, 1 month ago) by momjian
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -0 lines
Reorganize Win32 includes to only include <port.h> after system includes
under Win32.  Also fix other compile issues.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu May 15 17:59:17 2003 UTC (22 years, 1 month ago) by momjian
Branches: MAIN
Add copydir() function because xcopy doesn't work in XP without a
window.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

PostgreSQL CVSweb <[email protected]>