Skip to content

Commit f08db32

Browse files
Rename default_version from 1.0.0 to stable (#26)
1 parent 55aed30 commit f08db32

6 files changed

Lines changed: 13 additions & 327 deletions

File tree

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@ control.mk
1717
.deps/
1818

1919
# built targets
20-
# Note: Version-specific files (sql/*--*.sql) are now tracked in git and should be committed
20+
# Note: Version-specific files (sql/*--*.sql) are tracked in git and should be
21+
# committed once a version is really released (immutable from then on) --
22+
# except sql/extension_drop--stable.sql, which is just a mechanical copy of
23+
# sql/extension_drop.sql for as long as default_version is the stable
24+
# pseudo-version, so committing it would just duplicate that file.
25+
sql/extension_drop--stable.sql
2126

2227
# Test artifacts
2328
results/

HISTORY.asc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
1.0.0
2-
-----
1+
STABLE
2+
------
33
== Remove redundant client_min_messages handling from install script
44
`CREATE EXTENSION` already raises `client_min_messages` to `WARNING` for
55
the install script (only-raising, so a stricter caller is respected) and

META.in.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"name": "extension_drop",
1717

1818
"X_comment": "REQUIRED. Version of the distribution. http://pgxn.org/spec/#version",
19-
"version": "1.0.0",
19+
"version": "stable",
2020

2121
"X_comment": "REQUIRED. Short description of distribution.",
2222
"abstract": "Run custom commands when an extension is dropped.",
@@ -41,7 +41,7 @@
4141
"file": "sql/extension_drop.sql",
4242

4343
"X_comment": "REQUIRED. Version the extension is at.",
44-
"version": "1.0.0",
44+
"version": "stable",
4545

4646
"X_comment": "Optional: \"abstract\": Description of the extension.",
4747
"abstract": "Run custom commands when an extension is dropped.",

META.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"name": "extension_drop",
1717

1818
"X_comment": "REQUIRED. Version of the distribution. http://pgxn.org/spec/#version",
19-
"version": "1.0.0",
19+
"version": "stable",
2020

2121
"X_comment": "REQUIRED. Short description of distribution.",
2222
"abstract": "Run custom commands when an extension is dropped.",
@@ -41,7 +41,7 @@
4141
"file": "sql/extension_drop.sql",
4242

4343
"X_comment": "REQUIRED. Version the extension is at.",
44-
"version": "1.0.0",
44+
"version": "stable",
4545

4646
"X_comment": "Optional: \"abstract\": Description of the extension.",
4747
"abstract": "Run custom commands when an extension is dropped.",

extension_drop.control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
comment = 'Allows specifying commands to run when dropping an extension.'
2-
default_version = '1.0.0'
2+
default_version = 'stable'
33
relocatable = false
44
requires = 'cat_tools'

sql/extension_drop--1.0.0.sql

Lines changed: 0 additions & 319 deletions
This file was deleted.

0 commit comments

Comments
 (0)