Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public final class QueryPlanLoggerPostgres extends QueryPlanLogger {

@Override
public SpiDbQueryPlan collectPlan(Connection conn, SpiQueryPlan plan, BindCapture bind) {
String explain = "explain analyze " + plan.sql();
String explain = "explain (analyze, buffers) " + plan.sql();
try (PreparedStatement explainStmt = conn.prepareStatement(explain)) {
bind.prepare(explainStmt, conn);
try (ResultSet rset = explainStmt.executeQuery()) {
Expand Down
2 changes: 1 addition & 1 deletion ebean-test/src/test/java/main/StartPostgres.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
public class StartPostgres {

public static void main(String[] args) {
PostgresContainer.builder("14")
PostgresContainer.builder("15")
.dbName("unit")
//.port(6432)
//.user("unit")
Expand Down