--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/0c5e2e77-f687-4eac-87d6-3d5103dbd849%40googlegroups.com.
io.vertx.pgclient.PgException: cached plan must not change result type at io.vertx.pgclient.impl.codec.ErrorResponse.toException(ErrorResponse.java:29) Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:Error has been observed at the following site(s):[...]Stack trace: at io.vertx.pgclient.impl.codec.ErrorResponse.toException(ErrorResponse.java:29) at io.vertx.pgclient.impl.codec.QueryCommandBaseCodec.handleErrorResponse(QueryCommandBaseCodec.java:57) at io.vertx.pgclient.impl.codec.PgDecoder.decodeError(PgDecoder.java:235) at io.vertx.pgclient.impl.codec.PgDecoder.decodeMessage(PgDecoder.java:123) at io.vertx.pgclient.impl.codec.PgDecoder.channelRead(PgDecoder.java:103) at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251)
Hi,
do you know how to reproduce this easily so we can have a look and possibly do something similar ?
Julien
On 2 Apr 2020, at 15:52, Marc Ewert <marc...@deliveryhero.com> wrote:
Hi,I'm using the Vert.x Postgres client on Kubernetes. When we deploy a new version containing any database change (applied by Flyway) all the other containers currently using the database run into problems.It seems like each time a prepared statement is used afterwards, we get the error: cached plan must not change result type.There seems to be property for the Postgres driver, which might work around that problem: autosave=conservative. But I don't know how to apply this for the Vert.x Postgres client.Could anyone please help me regarding that? :-)BestMarc Ewert--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ve...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/a2584a35-9b50-4da5-80f2-2a9145fb6120%40googlegroups.com.
It is actually a response sent by the server.I think in such case we would catch this specific error and trash the cached prepared statement for a new one.Could you make a simple reproducer in Java for this case, e.g1/ create a prepared statement and use it succesfully2/ mutate the schema in a way the error happens3/ use the prepared statement to run into this error.that would help a lot.
Julien
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/a2584a35-9b50-4da5-80f2-2a9145fb6120%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/1801efad-ed88-4dd5-9a5f-7583bb9a9b98%40googlegroups.com.