Makefile, pg_amqp.c, librabbitmq: updating librabbitmq-c to current v…#28
Makefile, pg_amqp.c, librabbitmq: updating librabbitmq-c to current v…#28pmwebster wants to merge 3 commits intoomniti-labs:masterfrom
Conversation
|
probably worthy of a version bump |
|
Uh…I have no idea. What’s the context for this? |
|
@theory Sorry, tagged the wrong person. Carry on. |
|
@theory Well maybe you can help? If not. we can write some. |
|
Yah, I don’t think I have any apps that use it today. |
|
@esatterwhite @pmwebster Best as I can remember, we always tested this by hand... install the extension into a fresh database, upgrade extension, then test basic sending of messages. I think we also did some a/b split testing in prod. In any case, if someone wants to write up some more official tests, we'd be happy to look into merging that in. |
0956699 to
1ccdf46
Compare
|
@xzilla I believe this is good to go. If you're running rabbit locally with the default admin, |
|
Speaking only for myself, I'm a bit bogged down with actual work and other more pressing community work in light of the pending PostgreSQL 12 release. If a couple of other folks can provide some patch review / testing / sanity checking and thumbsup this PR, I'd be happy to do a drive-by commit :-) |
|
Hey @pmwebster , i tried to do some sanity checks but i fail to get it compiled. I tried with a couple of ubuntu versions and with rabbitmq docker image, with compiling rabbitmq from source with no luck, i am getting: I'm pretty sure that it's me missing something, but in any case, if it needs something "special" i think that we should add something in the documentation. |
|
Hey @vventirozos, Taking a nod from #20, here's a build using the current postgres 12 stable alpine image. FWIW, I'm able to build this locally on a normal OS install without having to add in the sys/types header. |
|
Anyone reasons not to merge this one? |
|
Hi, I had to patch the --- /tmp/Makefile.orig 2022-12-03 12:33:44.880106544 +0100
+++ /tmp/Makefile 2022-12-03 12:34:11.427619640 +0100
@@ -5,7 +5,8 @@
PG91 = $(shell $(PG_CONFIG) --version | grep -qE " 8\.| 9\.0" && echo no || echo yes)
ifeq ($(PG91),yes)
-CFLAGS_SL='-D HAVE_POLL'
+PG_CFLAGS=-D HAVE_POLL
+PG_CPPFLAGS=-D HAVE_POLL
# Windows Support
# CFLAGS_SL='-D HAVE_SELECT'
DOCS = $(wildcard doc/*.*) |
This updates the lib to version 9 (current at the moment).
We're currently testing this internally, but thought it could use a second set of eyes.