Skip to content

Commit 8486453

Browse files
committed
license: change pkg/sql file headers w/BSL to use the CSL
Change the file headers for files under pkg/sql directory using the BSL license to use the CockroachDB Software License (CSL) instead. Part of RE-658 Release note (general change): Change the license cockroach is distributed under to the new CockroachDB Software License (CSL).
1 parent 496a1e9 commit 8486453

File tree

2,811 files changed

+5622
-19677
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,811 files changed

+5622
-19677
lines changed

pkg/sql/add_column.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2020 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql
127

pkg/sql/admin_audit_log_test.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2021 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql
127

pkg/sql/alter_column_type.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2020 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql
127

pkg/sql/alter_column_type_test.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2020 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql_test
127

pkg/sql/alter_database.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2020 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql
127

pkg/sql/alter_default_privileges.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2021 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql
127

pkg/sql/alter_function.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2022 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql
127

pkg/sql/alter_index.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2017 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql
127

pkg/sql/alter_index_visible.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2022 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql
127

pkg/sql/alter_primary_key.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2020 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql
127

pkg/sql/alter_role.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2017 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql
127

pkg/sql/alter_schema.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2020 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql
127

pkg/sql/alter_sequence.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2015 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql
127

pkg/sql/alter_table.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2015 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql
127

pkg/sql/alter_table_locality.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2020 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql
127

pkg/sql/alter_table_owner.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2020 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql
127

pkg/sql/alter_table_set_schema.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2020 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql
127

pkg/sql/alter_type.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2020 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql
127

pkg/sql/ambiguous_commit_test.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2016 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql_test
127

pkg/sql/analyze_expr.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2017 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql
127

pkg/sql/apply_join.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2019 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql
127

pkg/sql/appstatspb/app_stats.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2017 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package appstatspb
127

pkg/sql/appstatspb/app_stats.proto

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2017 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
syntax = "proto2";
127
package cockroach.sql;

pkg/sql/appstatspb/app_stats_test.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2017 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package appstatspb
127

pkg/sql/as_of_test.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2016 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql_test
127

pkg/sql/audit_logging.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2023 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package sql
127

0 commit comments

Comments
 (0)