-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to pg13 & mruby 3.0 (w/ load_avg script) #15
base: master
Are you sure you want to change the base?
Conversation
update for pg13 and mruby 3.0 and add a load_average.rb script
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this MR! Added some comments, I'm not entirely sure why they happened.
Also, why are we removing the Dockerfile and test scripts?
Thanks again.
@@ -0,0 +1,36 @@ | |||
# DROP EXTENSION holycorn CASCADE; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we move this to the examples
directory?
@@ -424,9 +433,6 @@ static TupleTableSlot * rbIterateForeignScan(ForeignScanState *node) { | |||
case MRB_TT_EXCEPTION: | |||
elog(ERROR, "MRB_TT_EXCEPTION not supported (yet?)"); | |||
break; | |||
case MRB_TT_FILE: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What has motivated that change?
@@ -327,12 +336,12 @@ static TupleTableSlot * rbIterateForeignScan(ForeignScanState *node) { | |||
} else { | |||
slot->tts_nvalid = RARRAY_LEN(output); | |||
|
|||
slot->tts_isempty = false; | |||
// slot->tts_isempty = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any particular reason for this commenting?
slot->tts_isnull = (bool *)palloc(sizeof(bool) * slot->tts_nvalid); | ||
slot->tts_values = (Datum *)palloc(sizeof(Datum) * slot->tts_nvalid); | ||
|
||
if (slot->tts_nvalid <= 0) { //TODO: the size can't be < 0 but being defensive is OK :-) | ||
slot->tts_isempty = true; | ||
// slot->tts_isempty = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
@@ -3,7 +3,7 @@ MODULE_big = holycorn | |||
|
|||
PG_CPPFLAGS = -g -Ivendor/mruby/include -lm | |||
EXTENSION = holycorn | |||
SHLIB_LINK = vendor/mruby/build/i686-pc-linux-gnu/lib/libmruby.a vendor/mruby/build/i686-pc-linux-gnu/mrbgems/mruby-redis/hiredis/libhiredis.a | |||
SHLIB_LINK = vendor/mruby/build/host/lib/libmruby.a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we removing support for mruby-redis
?
Hello,
Can I get a review on these upgrades and help usher a release along?
I'm interested in contributing to this project and offering some additions I'd like to work on.
~spaceghost