Skip to content
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

memory context wonders #397

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Update lwgeom_geos.c

  • Loading branch information...
Komzpa committed Apr 22, 2019
commit 880124e4fe22ef96406ee1c207f6f50d4c2cc452
@@ -561,7 +561,9 @@ Datum pgis_geometry_union_transfn(PG_FUNCTION_ARGS)
/* do we have geometry to push? */
if (!PG_ARGISNULL(1))
{
old = MemoryContextSwitchTo(state->mcontext);
gser_in = PG_GETARG_GSERIALIZED_P_COPY(1);
MemoryContextSwitchTo(old);

if (state->ngeoms > 0)
{
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.