Unix Technical Forum

pg_backup_tar.c seems anerror by win32

This is a discussion on pg_backup_tar.c seems anerror by win32 within the Pgsql Patches forums, part of the PostgreSQL category; --> Hi Bruce-san. Yesterday patch was inadequate.... pg_backup_tar.c: In function `tarOpen': pg_backup_tar.c:379: `S_IREAD' undeclared (first use in this function) pg_backup_tar.c:379: ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Patches

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 01:45 AM
Hiroshi Saito
 
Posts: n/a
Default pg_backup_tar.c seems anerror by win32

Hi Bruce-san.

Yesterday patch was inadequate....

pg_backup_tar.c: In function `tarOpen':
pg_backup_tar.c:379: `S_IREAD' undeclared (first use in this function)
pg_backup_tar.c:379: (Each undeclared identifier is reported only once
pg_backup_tar.c:379: for each function it appears in.)
pg_backup_tar.c:379: `S_IWRITE' undeclared (first use in this function)
pg_backup_tar.c: In function `_tarAddFile':
pg_backup_tar.c:1051: warning: comparison is always false due to limited range of data type
make[3]: *** [pg_backup_tar.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

This patch helps this.
Thanks.

Regards,
Hiroshi Saito



---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-18-2008, 01:45 AM
Bruce Momjian
 
Posts: n/a
Default Re: pg_backup_tar.c seems anerror by win32

Hiroshi Saito wrote:
> Hi Bruce-san.
>
> Yesterday patch was inadequate....
>
> pg_backup_tar.c: In function `tarOpen':
> pg_backup_tar.c:379: `S_IREAD' undeclared (first use in this function)
> pg_backup_tar.c:379: (Each undeclared identifier is reported only once
> pg_backup_tar.c:379: for each function it appears in.)
> pg_backup_tar.c:379: `S_IWRITE' undeclared (first use in this function)
> pg_backup_tar.c: In function `_tarAddFile':
> pg_backup_tar.c:1051: warning: comparison is always false due to limited range of data type
> make[3]: *** [pg_backup_tar.o] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
>
> This patch helps this.
> Thanks.


Thanks. Patch applied to HEAD and 8.1.X.

--
Bruce Momjian bruce@momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:50 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com