contrib/ltree

Started by Christopher Kings-Lynneover 23 years ago4 messages
#1Christopher Kings-Lynne
chriskl@familyhealth.com.au

I'm still getting ltree failures on 64bit freebsd:

sed 's,MODULE_PATHNAME,$libdir/ltree,g' ltree.sql.in >ltree.sql
gcc -pipe -O -g -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DPI
C -DLOWER_NODE -I. -I../../src/include -c -o ltree_io.o ltree_io.c -MMD
ltree_io.c: In function `ltree_in':
ltree_io.c:57: warning: int format, different type arg (arg 3)
ltree_io.c:63: warning: int format, different type arg (arg 4)
ltree_io.c:68: warning: int format, different type arg (arg 3)
ltree_io.c:78: warning: int format, different type arg (arg 4)
ltree_io.c: In function `lquery_in':
ltree_io.c:185: warning: int format, different type arg (arg 3)
ltree_io.c:193: warning: int format, different type arg (arg 3)
ltree_io.c:197: warning: int format, different type arg (arg 3)
ltree_io.c:202: warning: int format, different type arg (arg 3)
ltree_io.c:207: warning: int format, different type arg (arg 3)
ltree_io.c:217: warning: int format, different type arg (arg 4)
ltree_io.c:226: warning: int format, different type arg (arg 4)
ltree_io.c:231: warning: int format, different type arg (arg 3)
ltree_io.c:233: warning: int format, different type arg (arg 3)
ltree_io.c:243: warning: int format, different type arg (arg 3)
ltree_io.c:251: warning: int format, different type arg (arg 3)
ltree_io.c:260: warning: int format, different type arg (arg 3)
ltree_io.c:265: warning: int format, different type arg (arg 3)
ltree_io.c:273: warning: int format, different type arg (arg 3)
ltree_io.c:279: warning: int format, different type arg (arg 3)
ltree_io.c:296: warning: int format, different type arg (arg 4)

I think it's to do with the printf % thingy used in the elog...

Chris

#2Teodor Sigaev
teodor@stack.net
In reply to: Christopher Kings-Lynne (#1)
1 attachment(s)
Re: contrib/ltree, pls, apply patch

The patch solves this problem, I hope...

Christopher Kings-Lynne wrote:

I'm still getting ltree failures on 64bit freebsd:

sed 's,MODULE_PATHNAME,$libdir/ltree,g' ltree.sql.in >ltree.sql
gcc -pipe -O -g -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DPI
C -DLOWER_NODE -I. -I../../src/include -c -o ltree_io.o ltree_io.c -MMD
ltree_io.c: In function `ltree_in':
ltree_io.c:57: warning: int format, different type arg (arg 3)
ltree_io.c:63: warning: int format, different type arg (arg 4)
ltree_io.c:68: warning: int format, different type arg (arg 3)
ltree_io.c:78: warning: int format, different type arg (arg 4)
ltree_io.c: In function `lquery_in':
ltree_io.c:185: warning: int format, different type arg (arg 3)
ltree_io.c:193: warning: int format, different type arg (arg 3)
ltree_io.c:197: warning: int format, different type arg (arg 3)
ltree_io.c:202: warning: int format, different type arg (arg 3)
ltree_io.c:207: warning: int format, different type arg (arg 3)
ltree_io.c:217: warning: int format, different type arg (arg 4)
ltree_io.c:226: warning: int format, different type arg (arg 4)
ltree_io.c:231: warning: int format, different type arg (arg 3)
ltree_io.c:233: warning: int format, different type arg (arg 3)
ltree_io.c:243: warning: int format, different type arg (arg 3)
ltree_io.c:251: warning: int format, different type arg (arg 3)
ltree_io.c:260: warning: int format, different type arg (arg 3)
ltree_io.c:265: warning: int format, different type arg (arg 3)
ltree_io.c:273: warning: int format, different type arg (arg 3)
ltree_io.c:279: warning: int format, different type arg (arg 3)
ltree_io.c:296: warning: int format, different type arg (arg 4)

I think it's to do with the printf % thingy used in the elog...

Chris

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

--
Teodor Sigaev
teodor@stack.net

Attachments:

patch_ltreewarn.gzapplication/gzip; name=patch_ltreewarn.gzDownload
#3Bruce Momjian
pgman@candle.pha.pa.us
In reply to: Teodor Sigaev (#2)
Re: contrib/ltree, pls, apply patch

Your patch has been added to the PostgreSQL unapplied patches list at:

http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------

Teodor Sigaev wrote:

The patch solves this problem, I hope...

Christopher Kings-Lynne wrote:

I'm still getting ltree failures on 64bit freebsd:

sed 's,MODULE_PATHNAME,$libdir/ltree,g' ltree.sql.in >ltree.sql
gcc -pipe -O -g -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DPI
C -DLOWER_NODE -I. -I../../src/include -c -o ltree_io.o ltree_io.c -MMD
ltree_io.c: In function `ltree_in':
ltree_io.c:57: warning: int format, different type arg (arg 3)
ltree_io.c:63: warning: int format, different type arg (arg 4)
ltree_io.c:68: warning: int format, different type arg (arg 3)
ltree_io.c:78: warning: int format, different type arg (arg 4)
ltree_io.c: In function `lquery_in':
ltree_io.c:185: warning: int format, different type arg (arg 3)
ltree_io.c:193: warning: int format, different type arg (arg 3)
ltree_io.c:197: warning: int format, different type arg (arg 3)
ltree_io.c:202: warning: int format, different type arg (arg 3)
ltree_io.c:207: warning: int format, different type arg (arg 3)
ltree_io.c:217: warning: int format, different type arg (arg 4)
ltree_io.c:226: warning: int format, different type arg (arg 4)
ltree_io.c:231: warning: int format, different type arg (arg 3)
ltree_io.c:233: warning: int format, different type arg (arg 3)
ltree_io.c:243: warning: int format, different type arg (arg 3)
ltree_io.c:251: warning: int format, different type arg (arg 3)
ltree_io.c:260: warning: int format, different type arg (arg 3)
ltree_io.c:265: warning: int format, different type arg (arg 3)
ltree_io.c:273: warning: int format, different type arg (arg 3)
ltree_io.c:279: warning: int format, different type arg (arg 3)
ltree_io.c:296: warning: int format, different type arg (arg 4)

I think it's to do with the printf % thingy used in the elog...

Chris

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

--
Teodor Sigaev
teodor@stack.net

[ application/gzip is not supported, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#4Bruce Momjian
pgman@candle.pha.pa.us
In reply to: Teodor Sigaev (#2)
Re: contrib/ltree, pls, apply patch

Patch applied. Thanks.

---------------------------------------------------------------------------

Teodor Sigaev wrote:

The patch solves this problem, I hope...

Christopher Kings-Lynne wrote:

I'm still getting ltree failures on 64bit freebsd:

sed 's,MODULE_PATHNAME,$libdir/ltree,g' ltree.sql.in >ltree.sql
gcc -pipe -O -g -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DPI
C -DLOWER_NODE -I. -I../../src/include -c -o ltree_io.o ltree_io.c -MMD
ltree_io.c: In function `ltree_in':
ltree_io.c:57: warning: int format, different type arg (arg 3)
ltree_io.c:63: warning: int format, different type arg (arg 4)
ltree_io.c:68: warning: int format, different type arg (arg 3)
ltree_io.c:78: warning: int format, different type arg (arg 4)
ltree_io.c: In function `lquery_in':
ltree_io.c:185: warning: int format, different type arg (arg 3)
ltree_io.c:193: warning: int format, different type arg (arg 3)
ltree_io.c:197: warning: int format, different type arg (arg 3)
ltree_io.c:202: warning: int format, different type arg (arg 3)
ltree_io.c:207: warning: int format, different type arg (arg 3)
ltree_io.c:217: warning: int format, different type arg (arg 4)
ltree_io.c:226: warning: int format, different type arg (arg 4)
ltree_io.c:231: warning: int format, different type arg (arg 3)
ltree_io.c:233: warning: int format, different type arg (arg 3)
ltree_io.c:243: warning: int format, different type arg (arg 3)
ltree_io.c:251: warning: int format, different type arg (arg 3)
ltree_io.c:260: warning: int format, different type arg (arg 3)
ltree_io.c:265: warning: int format, different type arg (arg 3)
ltree_io.c:273: warning: int format, different type arg (arg 3)
ltree_io.c:279: warning: int format, different type arg (arg 3)
ltree_io.c:296: warning: int format, different type arg (arg 4)

I think it's to do with the printf % thingy used in the elog...

Chris

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

--
Teodor Sigaev
teodor@stack.net

[ application/gzip is not supported, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073