Skip to content

Commit 09f3f26

Browse files
committed
Remove out-of-date header version and hard to maintain version comments.
The version in the header comment was out of date and there was no clear procedure for keeping it up to date. Instead just strip the version number so it does not need to be updated for each version. Also remove some comments that said nothing was added for a particular version. Many versions are missing from these comments and it is not too clear when they should be added. It seems better to just note versions where something was added.
1 parent 8bf16ea commit 09f3f26

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

extension/set_user.sql

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* set-user--4.0.0.sql */
1+
/* set-user.sql */
22

33
SET LOCAL search_path to @extschema@;
44

@@ -40,16 +40,10 @@ LANGUAGE C STRICT;
4040

4141
REVOKE EXECUTE ON FUNCTION @extschema@.set_user_u(text) FROM PUBLIC;
4242

43-
/* No new sql functions for 1.5 */
44-
/* No new sql functions for 1.6 */
45-
/* No new sql functions for 2.0 */
46-
4743
/* New functions in 3.0 begin here */
4844

4945
CREATE FUNCTION @extschema@.set_session_auth(text)
5046
RETURNS text
5147
AS 'MODULE_PATHNAME', 'set_session_auth'
5248
LANGUAGE C STRICT;
5349
REVOKE EXECUTE ON FUNCTION @extschema@.set_session_auth(text) FROM PUBLIC;
54-
55-
/* No new sql functions for 4.0.0 */

0 commit comments

Comments
 (0)