Home
%3CLINGO-SUB%20id%3D%22lingo-sub-691262%22%20slang%3D%22en-US%22%3ECreate%20a%20master%20server%20and%20read%20replicas%20in%20Azure%20Database%20for%20PostgreSQL%20using%20the%20Azure%20CLI%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-691262%22%20slang%3D%22en-US%22%3E%3CP%3EWith%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fpostgresql%2Fconcepts-read-replicas%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eread%20replicas%20in%20Azure%20Database%20for%20PostgreSQL%3C%2FA%3E%2C%20you%20can%20scale%20out%20read-heavy%20workloads%20and%20increase%20the%20read%20throughput%20of%20your%20application.%20Read%20replicas%20allow%20you%20to%20replicate%20data%20from%20a%20master%20server%20to%20up%20to%20five%20read-only%20replica%20servers.%26nbsp%3BReplica%20servers%20are%20updated%20asynchronously%20using%20the%20PostgreSQL%20engine%E2%80%99s%20native%20replication%20technology.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20view%20some%20of%20the%20application%20patterns%20and%20reference%20architectures%20that%20our%20customers%20and%20partners%20have%20implemented%20using%20read%20replicas%20to%20scale%20out%20their%20workload%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fblog%2Fread-replicas-for-azure-database-for-postgresql-now-in-preview%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20bash%20script%20below%20allows%20you%20to%20create%20the%20master%20server%20and%20read%20replicas%20in%20a%20single%20pass.%20You%20can%20run%20the%20script%20from%20a%20VM%2C%20after%20confirming%20that%20you%20have%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fcli%2Fazure%2Finstall-azure-cli%3Fview%3Dazure-cli-latest%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Einstalled%20the%20latest%20version%20of%20the%20Azure%20CLI%3C%2FA%3E.%20Alternatively%2C%20you%20can%20use%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fcloud-shell%2Fquickstart%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Cloud%20Shell%3C%2FA%3E%20which%20always%20has%20the%20latest%20Azure%20CLI.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EFor%20the%20latest%20version%20of%20the%20script%2C%20%3C%2FSPAN%3E%3CSPAN%20data-contrast%3D%22auto%22%3Evisit%3C%2FSPAN%3E%20%3CSPAN%20data-contrast%3D%22auto%22%3Eour%3C%2FSPAN%3E%20G%3CSPAN%20data-contrast%3D%22auto%22%3EitHub%3C%2FSPAN%3E%3CSPAN%3E%20repo%3C%2FSPAN%3E%3A%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-postgresql%2Fblob%2Fmaster%2Fsamples%2Fscripts%2Fpgreplica.sh%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FAzure%2Fazure-postgresql%2Fblob%2Fmaster%2Fsamples%2Fscripts%2Fpgreplica.sh%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E%23!%2Fbin%2Fbash%0A%23%0A%23%20PURPOSE%0A%23%20Create%20Azure%20Database%20for%20PostgreSQL%20Server%20Master%20and%20Replica%20Servers%0A%23%0A%23%20DESCRIPTION%0A%23%20This%20script%20%0A%23%201.%20Creates%20a%20Master%20Server%0A%23%202.%20Sets%20the%20azure.replication_support%20parameter%20to%20REPLICA%20on%20the%20master%20server%0A%23%203.%20Restarts%20the%20master%20server%20for%20the%20parameter%20change%20to%20take%20effect%20%0A%23%204.%20Creates%20Read%20Replicas%0A%23%0A%23%20PREREQUISITES%0A%23%20Azure%20CLI%20(https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fcli%2Fazure%2Finstall-azure-cli%3Fview%3Dazure-cli-latest)%0A%23%20%0A%23%20NOTE%0A%23%20Please%20modify%20the%20script%20to%20specify%20different%20options%20for%20master%20server%20creation%0A%23%20https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fcli%2Fazure%2Fpostgres%2Fserver%3Fview%3Dazure-cli-latest%0A%23%20%0A%23%20USAGE%0A%23%20bash%20pgreplica.sh%0A%23%20%20%20%20%20%20%20%20%20--subscription-id%20'ffffffff-ffff-ffff-ffff-ffffffffffff'%0A%23%20%20%20%20%20%20%20%20%20--resource-group%20'replicaRG'%0A%23%20%20%20%20%20%20%20%20%20--region%20'northeurope'%0A%23%20%20%20%20%20%20%20%20%20--server-name%20'mypg'%0A%23%20%20%20%20%20%20%20%20%20--admin-user%20'azureuser'%0A%23%20%20%20%20%20%20%20%20%20--admin-password%20'P%40ssw0rd1'%0A%23%20%20%20%20%20%20%20%20%20--sku-name%20'GP_Gen5_2'%0A%23%20%20%20%20%20%20%20%20%20--number-of-replicas%20'5'%0A%23%0A%0Afunction%20usage()%0A%7B%0A%20%20%20%20echo%20%22%22%0A%20%20%20%20echo%20%22PURPOSE%22%0A%20%20%20%20echo%20%22Create%20Azure%20Database%20for%20PostgreSQL%20Server%20Master%20and%20Replica%20Servers%22%0A%20%20%20%20echo%20%22%22%0A%20%20%20%20echo%20%22DESCRIPTION%22%0A%20%20%20%20echo%20%22This%20script%20%22%0A%20%20%20%20echo%20%22%201.%20Creates%20a%20Master%20Server%22%0A%20%20%20%20echo%20%22%202.%20Sets%20the%20azure.replication_support%20parameter%20to%20REPLICA%20on%20the%20master%20server%22%0A%20%20%20%20echo%20%22%203.%20Restarts%20the%20master%20server%20for%20the%20parameter%20change%20to%20take%20effect%22%0A%20%20%20%20echo%20%22%204.%20Creates%20Read%20Replicas%22%0A%20%20%20%20echo%20%22%22%0A%20%20%20%20echo%20%22PREREQUISITES%22%0A%20%20%20%20echo%20%22Azure%20CLI%20(https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fcli%2Fazure%2Finstall-azure-cli%3Fview%3Dazure-cli-latest)%22%0A%20%20%20%20echo%20%22%22%0A%20%20%20%20echo%20%22NOTE%22%0A%20%20%20%20echo%20%22Please%20modify%20the%20script%20to%20specify%20different%20options%20for%20master%20server%20creation%22%0A%20%20%20%20echo%20%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fcli%2Fazure%2Fpostgres%2Fserver%3Fview%3Dazure-cli-latest%22%0A%20%20%20%20echo%20%22%22%0A%20%20%20%20echo%20%22USAGE%22%0A%20%20%20%20echo%20%22bash%20pgreplica.sh%22%0A%20%20%20%20echo%20-e%20%22%5Ct--subscription-id%20'ffffffff-ffff-ffff-ffff-ffffffffffff'%22%0A%20%20%20%20echo%20-e%20%22%5Ct--resource-group%20'replicaRG'%22%0A%20%20%20%20echo%20-e%20%22%5Ct--region%20'northeurope'%22%0A%20%20%20%20echo%20-e%20%22%5Ct--server-name%20'mypg'%22%0A%20%20%20%20echo%20-e%20%22%5Ct--admin-user%20'azureuser'%22%0A%20%20%20%20echo%20-e%20%22%5Ct--admin-password%20'P%40ssw0rd1'%22%0A%20%20%20%20echo%20-e%20%22%5Ct--sku-name%20'GP_Gen5_2'%22%0A%20%20%20%20echo%20-e%20%22%5Ct--number-of-replicas%20'5'%22%0A%20%20%20%20echo%20%22%22%0A%7D%0A%0APARAMS%3D%22%22%0Awhile%20((%20%22%24%23%22%20))%3B%20do%0A%20%20case%20%22%241%22%20in%0A%20%20%20%20-h%20%7C%20--help)%0A%20%20%20%20%20%20usage%0A%20%20%20%20%20%20exit%0A%20%20%20%20%20%20%3B%3B%0A%20%20%20%20-a%7C--subscription-id)%0A%20%20%20%20%20%20SUBSCRIPTION_ID%3D%242%0A%20%20%20%20%20%20shift%202%0A%20%20%20%20%20%20%3B%3B%0A%20%20%20%20-b%7C--resource-group)%0A%20%20%20%20%20%20RESOURCE_GROUP%3D%242%0A%20%20%20%20%20%20shift%202%0A%20%20%20%20%20%20%3B%3B%0A%20%20%20%20-c%7C--region)%0A%20%20%20%20%20%20REGION%3D%242%0A%20%20%20%20%20%20shift%202%0A%20%20%20%20%20%20%3B%3B%0A%20%20%20%20-d%7C--server-name)%0A%20%20%20%20%20%20SERVER_NAME%3D%242%0A%20%20%20%20%20%20shift%202%0A%20%20%20%20%20%20%3B%3B%0A%20%20%20%20-e%7C--admin-user)%0A%20%20%20%20%20%20ADMIN_USER%3D%242%0A%20%20%20%20%20%20shift%202%0A%20%20%20%20%20%20%3B%3B%0A%20%20%20%20-f%7C--admin-password)%0A%20%20%20%20%20%20ADMIN_PASSWORD%3D%242%0A%20%20%20%20%20%20shift%202%0A%20%20%20%20%20%20%3B%3B%0A%20%20%20%20-g%7C--sku-name)%0A%20%20%20%20%20%20SKU_NAME%3D%242%0A%20%20%20%20%20%20shift%202%0A%20%20%20%20%20%20%3B%3B%0A%20%20%20%20-h%7C--number-of-replicas)%0A%20%20%20%20%20%20NUMBER_OF_REPLICAS%3D%242%0A%20%20%20%20%20%20shift%202%0A%20%20%20%20%20%20%3B%3B%0A%20%20%20%20--)%20%23%20end%20argument%20parsing%0A%20%20%20%20%20%20shift%0A%20%20%20%20%20%20break%0A%20%20%20%20%20%20%3B%3B%0A%20%20%20%20-*%7C--*%3D)%20%23%20unsupported%20flags%0A%20%20%20%20%20%20echo%20%22Error%3A%20Unsupported%20flag%20%241%22%20%26gt%3B%26amp%3B2%0A%20%20%20%20%20%20exit%201%0A%20%20%20%20%20%20%3B%3B%0A%20%20%20%20*)%20%23%20preserve%20positional%20arguments%0A%20%20%20%20%20%20PARAMS%3D%22%24PARAMS%20%241%22%0A%20%20%20%20%20%20shift%0A%20%20%20%20%20%20%3B%3B%0A%20%20esac%0Adone%0A%23%20set%20positional%20arguments%20in%20their%20proper%20place%0Aeval%20set%20--%20%22%24PARAMS%22%0A%0A%23%20Prerequisites%20-%20Install%20Azure%20CLI%0Aif%20!%20%5B%20-x%20%22%24(command%20-v%20az)%22%20%5D%3B%20then%0A%20%20echo%20'Error%3A%20azure%20cli%20is%20not%20installed.%20Please%20install%20from%20https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fcli%2Fazure%2Finstall-azure-cli%3Fview%3Dazure-cli-latest'%20%26gt%3B%26amp%3B2%0A%20%20exit%201%0Afi%0A%0A%23%20Login%0Aaz%20login%0A%0A%23%20Set%20Default%20Subscription%0Aaz%20account%20set%20--subscription%20%22%24SUBSCRIPTION_ID%22%0A%0A%23%20Set%20Default%20Resource%20Group%0Aaz%20configure%20--defaults%20group%3D%22%24RESOURCE_GROUP%22%0A%0A%23%20Create%20Master%20Server%0Aaz%20postgres%20server%20create%20--location%20%22%24REGION%22%20--name%20%22%24SERVER_NAME%22%20--admin-user%20%22%24ADMIN_USER%22%20--admin-password%20%22%24ADMIN_PASSWORD%22%20--sku-name%20%22%24SKU_NAME%22%0A%0A%23%20Set%20azure.replication_support%20to%20REPLICA%0Aaz%20postgres%20server%20configuration%20set%20--name%20%22azure.replication_support%22%20--server-name%20%22%24SERVER_NAME%22%20--value%20%22REPLICA%22%0A%0A%23%20Restart%20Master%20Server%0Aaz%20postgres%20server%20restart%20--name%20%22%24SERVER_NAME%22%0A%0A%23%20Create%20Replicas%0Afor%20((i%3D1%3B%20i%26lt%3B%3DNUMBER_OF_REPLICAS%3B%20i%2B%2B))%3B%20do%0A%20%20az%20postgres%20server%20replica%20create%20--name%20%22%24SERVER_NAME-replica-%24i%22%20--source-server%20%22%24SERVER_NAME%22%0Adone%0A%0A%23%20Logout%0Aazure%20logout%20-u%20%22%24SUBSCRIPTION_ID%22%0A%0A%23%20Visit%20Master%20Server%20Replication%20Page%0Aecho%20%22Master%20and%20Replicas%20Creation%20Successful%20!!%22%0Aecho%20%22Master%20Server%20%3A%20https%3A%2F%2Fportal.azure.com%2F%23resource%2Fsubscriptions%2F%24SUBSCRIPTION_ID%2FresourceGroups%2F%24RESOURCE_GROUP%2Fproviders%2FMicrosoft.DBforPostgreSQL%2Fservers%2F%24SERVER_NAME%2Freplication%22%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20have%20trouble%20running%20the%20script%2C%20please%20let%20us%20know%20by%20opening%20an%20issue%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-postgresql%2Fissues%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FAzure%2Fazure-postgresql%2Fissues%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlso%2C%20feel%20free%20to%20contribute%20any%20updates%20or%20bug%20fixes%20by%20creating%20a%20pull%20request%3A%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-postgresql%2Fpulls%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FAzure%2Fazure-postgresql%2Fpulls%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThank%20you!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-691262%22%20slang%3D%22en-US%22%3E%3CP%3ECreate%20a%20master%20Server%20and%20read%20replicas%3CSPAN%20style%3D%22display%3A%20inline%20!important%3B%20float%3A%20none%3B%20background-color%3A%20%23ffffff%3B%20color%3A%20%23333333%3B%20cursor%3A%20text%3B%20font-family%3A%20inherit%3B%20font-size%3A%2016px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%201.7142%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%22%3E%20in%20Azure%20Database%20for%20PostgreSQL%20using%20the%20Azure%20CLI%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20572px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F118087i15BC1C7112D266D9%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22replica.png%22%20title%3D%22replica.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E
Microsoft

With read replicas in Azure Database for PostgreSQL, you can scale out read-heavy workloads and increase the read throughput of your application. Read replicas allow you to replicate data from a master server to up to five read-only replica servers. Replica servers are updated asynchronously using the PostgreSQL engine’s native replication technology. 

 

You can view some of the application patterns and reference architectures that our customers and partners have implemented using read replicas to scale out their workload here.

 

The bash script below allows you to create the master server and read replicas in a single pass. You can run the script from a VM, after confirming that you have installed the latest version of the Azure CLI. Alternatively, you can use the Azure Cloud Shell which always has the latest Azure CLI.

 

For the latest version of the script, visit our GitHub repo: https://github.com/Azure/azure-postgresql/blob/master/samples/scripts/pgreplica.sh

 

#!/bin/bash
#
# PURPOSE
# Create Azure Database for PostgreSQL Server Master and Replica Servers
#
# DESCRIPTION
# This script 
# 1. Creates a Master Server
# 2. Sets the azure.replication_support parameter to REPLICA on the master server
# 3. Restarts the master server for the parameter change to take effect 
# 4. Creates Read Replicas
#
# PREREQUISITES
# Azure CLI (https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest)
# 
# NOTE
# Please modify the script to specify different options for master server creation
# https://docs.microsoft.com/en-us/cli/azure/postgres/server?view=azure-cli-latest
# 
# USAGE
# bash pgreplica.sh
#         --subscription-id 'ffffffff-ffff-ffff-ffff-ffffffffffff'
#         --resource-group 'replicaRG'
#         --region 'northeurope'
#         --server-name 'mypg'
#         --admin-user 'azureuser'
#         --admin-password 'P@ssw0rd1'
#         --sku-name 'GP_Gen5_2'
#         --number-of-replicas '5'
#

function usage()
{
    echo ""
    echo "PURPOSE"
    echo "Create Azure Database for PostgreSQL Server Master and Replica Servers"
    echo ""
    echo "DESCRIPTION"
    echo "This script "
    echo " 1. Creates a Master Server"
    echo " 2. Sets the azure.replication_support parameter to REPLICA on the master server"
    echo " 3. Restarts the master server for the parameter change to take effect"
    echo " 4. Creates Read Replicas"
    echo ""
    echo "PREREQUISITES"
    echo "Azure CLI (https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest)"
    echo ""
    echo "NOTE"
    echo "Please modify the script to specify different options for master server creation"
    echo "https://docs.microsoft.com/en-us/cli/azure/postgres/server?view=azure-cli-latest"
    echo ""
    echo "USAGE"
    echo "bash pgreplica.sh"
    echo -e "\t--subscription-id 'ffffffff-ffff-ffff-ffff-ffffffffffff'"
    echo -e "\t--resource-group 'replicaRG'"
    echo -e "\t--region 'northeurope'"
    echo -e "\t--server-name 'mypg'"
    echo -e "\t--admin-user 'azureuser'"
    echo -e "\t--admin-password 'P@ssw0rd1'"
    echo -e "\t--sku-name 'GP_Gen5_2'"
    echo -e "\t--number-of-replicas '5'"
    echo ""
}

PARAMS=""
while (( "$#" )); do
  case "$1" in
    -h | --help)
      usage
      exit
      ;;
    -a|--subscription-id)
      SUBSCRIPTION_ID=$2
      shift 2
      ;;
    -b|--resource-group)
      RESOURCE_GROUP=$2
      shift 2
      ;;
    -c|--region)
      REGION=$2
      shift 2
      ;;
    -d|--server-name)
      SERVER_NAME=$2
      shift 2
      ;;
    -e|--admin-user)
      ADMIN_USER=$2
      shift 2
      ;;
    -f|--admin-password)
      ADMIN_PASSWORD=$2
      shift 2
      ;;
    -g|--sku-name)
      SKU_NAME=$2
      shift 2
      ;;
    -h|--number-of-replicas)
      NUMBER_OF_REPLICAS=$2
      shift 2
      ;;
    --) # end argument parsing
      shift
      break
      ;;
    -*|--*=) # unsupported flags
      echo "Error: Unsupported flag $1" >&2
      exit 1
      ;;
    *) # preserve positional arguments
      PARAMS="$PARAMS $1"
      shift
      ;;
  esac
done
# set positional arguments in their proper place
eval set -- "$PARAMS"

# Prerequisites - Install Azure CLI
if ! [ -x "$(command -v az)" ]; then
  echo 'Error: azure cli is not installed. Please install from https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest' >&2
  exit 1
fi

# Login
az login

# Set Default Subscription
az account set --subscription "$SUBSCRIPTION_ID"

# Set Default Resource Group
az configure --defaults group="$RESOURCE_GROUP"

# Create Master Server
az postgres server create --location "$REGION" --name "$SERVER_NAME" --admin-user "$ADMIN_USER" --admin-password "$ADMIN_PASSWORD" --sku-name "$SKU_NAME"

# Set azure.replication_support to REPLICA
az postgres server configuration set --name "azure.replication_support" --server-name "$SERVER_NAME" --value "REPLICA"

# Restart Master Server
az postgres server restart --name "$SERVER_NAME"

# Create Replicas
for ((i=1; i<=NUMBER_OF_REPLICAS; i++)); do
  az postgres server replica create --name "$SERVER_NAME-replica-$i" --source-server "$SERVER_NAME"
done

# Logout
azure logout -u "$SUBSCRIPTION_ID"

# Visit Master Server Replication Page
echo "Master and Replicas Creation Successful !!"
echo "Master Server : https://portal.azure.com/#resource/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.DBforPostgreSQL/servers/$SERVER_NAME/replication"

 

If you have trouble running the script, please let us know by opening an issue here: https://github.com/Azure/azure-postgresql/issues

 

Also, feel free to contribute any updates or bug fixes by creating a pull request: https://github.com/Azure/azure-postgresql/pulls

 

Thank you!