- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 3.7k
 
HHH-18886 Upgrade PostgreSQL and EDB testing to version 17 #9833
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
          
     Merged
      
      
    
  
     Merged
                    Changes from all commits
      Commits
    
    
  File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| FROM quay.io/enterprisedb/edb-postgres-advanced:17.4-3.5-postgis | ||
| USER root | ||
| # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values) | ||
| RUN chown -R postgres:postgres /var/lib/edb && chmod 777 /var/lib/edb && rm /docker-entrypoint-initdb.d/10_postgis.sh | ||
| 
     | 
||
| USER postgres | ||
| ENV LANG en_US.utf8 | ||
| ENV PG_MAJOR 17 | ||
| ENV PG_VERSION 17 | ||
| ENV PGPORT 5444 | ||
| ENV PGDATA /var/lib/edb/as$PG_MAJOR/data/ | ||
| VOLUME /var/lib/edb/as$PG_MAJOR/data/ | ||
| 
     | 
||
| COPY docker-entrypoint.sh /usr/local/bin/ | ||
| ENTRYPOINT ["docker-entrypoint.sh"] | ||
| 
     | 
||
| # We set the default STOPSIGNAL to SIGINT, which corresponds to what PostgreSQL | ||
| # calls "Fast Shutdown mode" wherein new connections are disallowed and any | ||
| # in-progress transactions are aborted, allowing PostgreSQL to stop cleanly and | ||
| # flush tables to disk, which is the best compromise available to avoid data | ||
| # corruption. | ||
| # | ||
| # Users who know their applications do not keep open long-lived idle connections | ||
| # may way to use a value of SIGTERM instead, which corresponds to "Smart | ||
| # Shutdown mode" in which any existing sessions are allowed to finish and the | ||
| # server stops when all sessions are terminated. | ||
| # | ||
| # See https://www.postgresql.org/docs/12/server-shutdown.html for more details | ||
| # about available PostgreSQL server shutdown signals. | ||
| # | ||
| # See also https://www.postgresql.org/docs/12/server-start.html for further | ||
| # justification of this as the default value, namely that the example (and | ||
| # shipped) systemd service files use the "Fast Shutdown mode" for service | ||
| # termination. | ||
| # | ||
| STOPSIGNAL SIGINT | ||
| # | ||
| # An additional setting that is recommended for all users regardless of this | ||
| # value is the runtime "--stop-timeout" (or your orchestrator/runtime's | ||
| # equivalent) for controlling how long to wait between sending the defined | ||
| # STOPSIGNAL and sending SIGKILL (which is likely to cause data corruption). | ||
| # | ||
| # The default in most runtimes (such as Docker) is 10 seconds, and the | ||
| # documentation at https://www.postgresql.org/docs/12/server-start.html notes | ||
| # that even 90 seconds may not be long enough in many instances. | ||
| 
     | 
||
| EXPOSE 5444 | ||
| CMD ["postgres"] | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
              
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note