Thread: contrib/ltree

contrib/ltree

From
"Christopher Kings-Lynne"
Date:
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



Re: contrib/ltree, pls, apply patch

From
Teodor Sigaev
Date:
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


Attachment

Re: contrib/ltree, pls, apply patch

From
Bruce Momjian
Date:
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,
Pennsylvania19026
 


Re: contrib/ltree, pls, apply patch

From
Bruce Momjian
Date:
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,
Pennsylvania19073