pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix some problems with patch to fsync the data directory.
8+ messages / 3 participants
[nested] [flat]

* pgsql: Fix some problems with patch to fsync the data directory.
@ 2015-05-05 13:30 Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 8+ messages in thread

From: Robert Haas @ 2015-05-05 13:30 UTC (permalink / raw)
  To: pgsql-committers

Fix some problems with patch to fsync the data directory.

pg_win32_is_junction() was a typo for pgwin32_is_junction().  open()
was used not only in a two-argument form, which breaks on Windows,
but also where BasicOpenFile() should have been used.

Per reports from Andrew Dunstan and David Rowley.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/456ff0863851d70dce679ca3f631392589e31a33

Modified Files
--------------
src/backend/storage/file/fd.c |    4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* pgsql: Fix some problems with patch to fsync the data directory.
@ 2015-05-05 13:30 Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 8+ messages in thread

From: Robert Haas @ 2015-05-05 13:30 UTC (permalink / raw)
  To: pgsql-committers

Fix some problems with patch to fsync the data directory.

pg_win32_is_junction() was a typo for pgwin32_is_junction().  open()
was used not only in a two-argument form, which breaks on Windows,
but also where BasicOpenFile() should have been used.

Per reports from Andrew Dunstan and David Rowley.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/603fe0181ad083ddc83f291fdce8ddc43d617154

Modified Files
--------------
src/backend/storage/file/fd.c |    4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* pgsql: Fix some problems with patch to fsync the data directory.
@ 2015-05-05 13:30 Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 8+ messages in thread

From: Robert Haas @ 2015-05-05 13:30 UTC (permalink / raw)
  To: pgsql-committers

Fix some problems with patch to fsync the data directory.

pg_win32_is_junction() was a typo for pgwin32_is_junction().  open()
was used not only in a two-argument form, which breaks on Windows,
but also where BasicOpenFile() should have been used.

Per reports from Andrew Dunstan and David Rowley.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6fd666954bb98b757b56e4f88cc7a8729b4ec968

Modified Files
--------------
src/backend/storage/file/fd.c |    4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* pgsql: Fix some problems with patch to fsync the data directory.
@ 2015-05-05 13:30 Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 8+ messages in thread

From: Robert Haas @ 2015-05-05 13:30 UTC (permalink / raw)
  To: pgsql-committers

Fix some problems with patch to fsync the data directory.

pg_win32_is_junction() was a typo for pgwin32_is_junction().  open()
was used not only in a two-argument form, which breaks on Windows,
but also where BasicOpenFile() should have been used.

Per reports from Andrew Dunstan and David Rowley.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/53e1498c658d46f6fa99c63beabb350dae3c03ed

Modified Files
--------------
src/backend/storage/file/fd.c |    4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* pgsql: Fix some problems with patch to fsync the data directory.
@ 2015-05-05 13:30 Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 8+ messages in thread

From: Robert Haas @ 2015-05-05 13:30 UTC (permalink / raw)
  To: pgsql-committers

Fix some problems with patch to fsync the data directory.

pg_win32_is_junction() was a typo for pgwin32_is_junction().  open()
was used not only in a two-argument form, which breaks on Windows,
but also where BasicOpenFile() should have been used.

Per reports from Andrew Dunstan and David Rowley.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6ee1a7738ad04a1e6e481c81149770b2e565c0c1

Modified Files
--------------
src/backend/storage/file/fd.c |    4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* pgsql: Fix some problems with patch to fsync the data directory.
@ 2015-05-05 13:30 Robert Haas <rhaas@postgresql.org>
  2015-05-05 16:52 ` Re: pgsql: Fix some problems with patch to fsync the data directory. Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 8+ messages in thread

From: Robert Haas @ 2015-05-05 13:30 UTC (permalink / raw)
  To: pgsql-committers

Fix some problems with patch to fsync the data directory.

pg_win32_is_junction() was a typo for pgwin32_is_junction().  open()
was used not only in a two-argument form, which breaks on Windows,
but also where BasicOpenFile() should have been used.

Per reports from Andrew Dunstan and David Rowley.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/262fbcb9dd4a357a8b8147b6ac217b41e905be3a

Modified Files
--------------
src/backend/storage/file/fd.c |    4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: pgsql: Fix some problems with patch to fsync the data directory.
  2015-05-05 13:30 pgsql: Fix some problems with patch to fsync the data directory. Robert Haas <rhaas@postgresql.org>
@ 2015-05-05 16:52 ` Tom Lane <tgl@sss.pgh.pa.us>
  2015-05-05 17:06   ` Re: pgsql: Fix some problems with patch to fsync the data directory. Robert Haas <robertmhaas@gmail.com>
  0 siblings, 1 reply; 8+ messages in thread

From: Tom Lane @ 2015-05-05 16:52 UTC (permalink / raw)
  To: Robert Haas <rhaas@postgresql.org>; +Cc: pgsql-committers

Robert Haas <rhaas@postgresql.org> writes:
> Fix some problems with patch to fsync the data directory.

Buildfarm is still not happy with the 9.0 branch:

"c:\prog\bf\root\REL9_0_STABLE\pgsql.build\pgsql.sln" (default target) (1) ->
(postgres target) -> 
  fd.obj : error LNK2019: unresolved external symbol _readlink referenced in function _walkdir
  fd.obj : error LNK2019: unresolved external symbol _pgwin32_is_junction referenced in function _walkdir
  .\Release\postgres\postgres.exe : fatal error LNK1120: 2 unresolved externals

Looks like some more back-porting is needed.

			regards, tom lane


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: pgsql: Fix some problems with patch to fsync the data directory.
  2015-05-05 13:30 pgsql: Fix some problems with patch to fsync the data directory. Robert Haas <rhaas@postgresql.org>
  2015-05-05 16:52 ` Re: pgsql: Fix some problems with patch to fsync the data directory. Tom Lane <tgl@sss.pgh.pa.us>
@ 2015-05-05 17:06   ` Robert Haas <robertmhaas@gmail.com>
  0 siblings, 0 replies; 8+ messages in thread

From: Robert Haas @ 2015-05-05 17:06 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers

On Tue, May 5, 2015 at 12:52 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <rhaas@postgresql.org> writes:
>> Fix some problems with patch to fsync the data directory.
>
> Buildfarm is still not happy with the 9.0 branch:
>
> "c:\prog\bf\root\REL9_0_STABLE\pgsql.build\pgsql.sln" (default target) (1) ->
> (postgres target) ->
>   fd.obj : error LNK2019: unresolved external symbol _readlink referenced in function _walkdir
>   fd.obj : error LNK2019: unresolved external symbol _pgwin32_is_junction referenced in function _walkdir
>   .\Release\postgres\postgres.exe : fatal error LNK1120: 2 unresolved externals

Whee!

OK, let me look at what may be required there.

Or, heh heh, Abhijit could jump here any time, since it's his patch...!

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 8+ messages in thread


end of thread, other threads:[~2015-05-05 17:06 UTC | newest]

Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-05-05 13:30 pgsql: Fix some problems with patch to fsync the data directory. Robert Haas <rhaas@postgresql.org>
2015-05-05 13:30 pgsql: Fix some problems with patch to fsync the data directory. Robert Haas <rhaas@postgresql.org>
2015-05-05 13:30 pgsql: Fix some problems with patch to fsync the data directory. Robert Haas <rhaas@postgresql.org>
2015-05-05 13:30 pgsql: Fix some problems with patch to fsync the data directory. Robert Haas <rhaas@postgresql.org>
2015-05-05 13:30 pgsql: Fix some problems with patch to fsync the data directory. Robert Haas <rhaas@postgresql.org>
2015-05-05 13:30 pgsql: Fix some problems with patch to fsync the data directory. Robert Haas <rhaas@postgresql.org>
2015-05-05 16:52 ` Tom Lane <tgl@sss.pgh.pa.us>
2015-05-05 17:06   ` Robert Haas <robertmhaas@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox