mirror of
https://github.com/google/nomulus.git
synced 2025-08-02 07:52:11 +02:00
Use psql 11 docker image in all tests (#372)
* Use psql 11 docker image in all tests
This commit is contained in:
parent
365c5da942
commit
05c45da07a
3 changed files with 24 additions and 34 deletions
|
@ -18,8 +18,7 @@ public class NomulusPostgreSql {
|
|||
|
||||
/** The current PostgreSql version in Cloud SQL. */
|
||||
// TODO(weiminyu): setup periodic checks to detect version changes in Cloud SQL.
|
||||
// TODO(weiminyu): Upgrade to 11.5, which apparently breaks JpaTransactionManagerRule.
|
||||
private static final String TARGET_VERSION = "9.6.12";
|
||||
private static final String TARGET_VERSION = "11.5";
|
||||
|
||||
/** Returns the docker image tag of the targeted Postgresql server version. */
|
||||
public static String getDockerTag() {
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
-- PostgreSQL database dump
|
||||
--
|
||||
|
||||
-- Dumped from database version 9.6.12
|
||||
-- Dumped by pg_dump version 9.6.12
|
||||
-- Dumped from database version 11.5 (Debian 11.5-3.pgdg90+1)
|
||||
-- Dumped by pg_dump version 11.5 (Debian 11.5-3.pgdg90+1)
|
||||
|
||||
SET statement_timeout = 0;
|
||||
SET lock_timeout = 0;
|
||||
|
@ -12,23 +12,10 @@ SET client_encoding = 'UTF8';
|
|||
SET standard_conforming_strings = on;
|
||||
SELECT pg_catalog.set_config('search_path', '', false);
|
||||
SET check_function_bodies = false;
|
||||
SET xmloption = content;
|
||||
SET client_min_messages = warning;
|
||||
SET row_security = off;
|
||||
|
||||
--
|
||||
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -
|
||||
--
|
||||
|
||||
CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
|
||||
|
||||
|
||||
--
|
||||
-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: -
|
||||
--
|
||||
|
||||
COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
|
||||
|
||||
|
||||
SET default_tablespace = '';
|
||||
|
||||
SET default_with_oids = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue