Hi Stan C
You can only get tax relief on the maximum of what your salary is. As you have stated its £30,000, you would only qualify for £30,000 relief.
The unsued part you are refering to is to ensure that you do not incur a charge for exceeding the annual amount - £60,000 for 23/24 and previously £40,000.
Further guidance can be found here -
https://www.gov.uk/tax-on-your-private-pension
Thank you