Skip to content
Snippets Groups Projects
Select Git revision
  • 9ab0c59069ccb4b72010052d225a6c4943b89313
  • master default
  • fix-remote-url_v4.10.0
  • fix-remote-url_v4.9.1
  • fix-remote-url_v4.8.3
  • fix-remote-url_v4.8.x
  • fix-remote-url_v4.7.x
  • fix-remote-url_v4.6.0
  • fix-remote-urls
9 results

settings.php

Blame
  • remaining_library_ids 358 B
    #!/bin/bash
    
    REMAINNG = $(sudo -u postgres -- psql -qtAX -d hshinfo -c "select (maximum_value::bigint - (SELECT last_value FROM hshinfo.seq_raw_library_id)) from information_schema.sequences where sequence_schema = 'hshinfo' and sequence_name = 'seq_raw_library_id';")
    
    echo "P remaining_library_ids=$REMAINING;400:;200: That many library IDs are available."