summaryrefslogtreecommitdiff
path: root/src/port/copydir.c
AgeCommit message (Expand)Author
2010-07-02Move copydir.c from src/port to src/backend/storage/fileRobert Haas
2010-07-01Allow copydir() to be interrupted.Robert Haas
2010-03-01Buildfarm still unhappy, so I'll bet it's EACCES not EPERM.Tom Lane
2010-03-01add EPERM to the list of return codes to expect from opening directories base...Greg Stark
2010-02-28Second try at fsyncing directories in CREATE DATABASE. Let's see what the bui...Greg Stark
2010-02-26pgindent run for 9.0Bruce Momjian
2010-02-23Some platforms reject fsync() on files opened O_RDONLY.Tom Lane
2010-02-22Let's try forcing errno to zero before issuing fsync. The current buildfarmTom Lane
2010-02-22Fix multiple copy and paste-o's. No wonder this code didn't work.Tom Lane
2010-02-22Oops, don't forget to rewind the directory before scanning it to fsync files ...Greg Stark
2010-02-15Temporarily disable fsyncing the database directory in CREATE DATABASEGreg Stark
2010-02-15remove an unused variable 'dirfd'.Itagaki Takahiro
2010-02-15Speed up CREATE DATABASE by deferring the fsyncs until after copyingGreg Stark
2010-02-14Make CREATE DATABASE safe against losing whole files by fsyncing theGreg Stark
2010-01-02Update copyright for the year 2010.Bruce Momjian
2009-01-01Update copyright for 2009.Bruce Momjian
2008-03-31Fix a number of places that were making file-type tests infelicitously.Tom Lane
2008-01-01Update copyrights in source tree to 2008.Bruce Momjian
2007-07-25Rename DLLIMPORT macro to PGDLLIMPORT to avoid conflict withMagnus Hagander
2007-01-05Update CVS HEAD for 2007 copyright. Back branches are typically notBruce Momjian
2006-07-18copydir() and rmtree() need to use lstat, not stat, to behave as expectedTom Lane
2006-03-05Update copyright for 2006. Update scripts.Bruce Momjian
2005-10-29Message correctionsPeter Eisentraut
2005-10-15Standard pgindent run for 8.1.Bruce Momjian
2005-09-03libpgport routines need nonstandard palloc to work on Windows.Tom Lane
2005-09-02In copy_file, use a palloc'd buffer instead of just a local char array;Tom Lane
2005-08-02Clean up CREATE DATABASE processing to make it more robust and get ridTom Lane
2005-03-24Add missing error checking in readdir() loops.Tom Lane
2004-12-31Tag appropriate files for rc3PostgreSQL Daemon
2004-08-29Update copyright to 2004.Bruce Momjian
2004-02-23Replace opendir/closedir calls throughout the backend with AllocateDirTom Lane
2003-11-29$Header: -> $PostgreSQL Changes ...PostgreSQL Daemon
2003-11-11Update /port C header descriptions.Bruce Momjian
2003-09-10copydir() is supposed to return on failure, not elog(ERROR). ReduceTom Lane
2003-08-04pgindent run.Bruce Momjian
2003-07-27elog mop-up.Tom Lane
2003-05-16Reorganize Win32 includes to only include <port.h> after system includesBruce Momjian
2003-05-15Add copydir() function because xcopy doesn't work in XP without aBruce Momjian