Reputation: 346
I am trying to uplaod this distribution pcakage into PGXN, this is the new version my_extension 1.0.1. THe previous extension: https://pgxn.org/dist/my_extension/1.0.0/
Getting this error: Error message
The extension code is on my github: https://github.com/IshaanAdarsh/Postgres-extension-tutorial/tree/main/Code/my_extension
The regression tests work and everything else works fine.
The Code for the META.json file is given below I have checked on mutiple sites, this is valid JSON. Could you help me figure out what is the problem with my code:
{
"name": "my_extension",
"abstract": "A Basic PostgreSQL extension",
"description": "my_extension is a PostgreSQL extension that provides additional functionality for data management and operations.",
"version": "1.0.1",
"maintainer": [
"Ishaan Adarsh <[email protected]>"
],
"license": "postgresql",
"provides": {
"my_extension": {
"file": "my_extension--1.0.1.sql",
"docfile": "doc/my_extension.md",
"version": "1.0.1"
}
},
"generated_by": "Ishaan Adarsh",
"meta-spec": {
"version": "1.0.1",
"url": "https://pgxn.org/meta/spec.txt"
}
}
Upvotes: 2
Views: 25
Reputation: 54635
The meta-spec
must be version 1.0.0
. That's referring to the version of the JSON specification, NOT your module version. 1.0.0
is the only spec that exists.
Upvotes: 2