Skip to content

Commit 6ee3710

Browse files
author
Vladislav Shchetinin
committed
Fix: Refactoring, correction of typos, set Licence
1 parent c6072c4 commit 6ee3710

4 files changed

Lines changed: 157 additions & 280 deletions

File tree

gpcontrib/gp_relsizes_stats/LICENCE

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

gpcontrib/gp_relsizes_stats/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ EXTVERSION = 1.3
55
DATA = $(wildcard sql/*--*.sql)
66
REGRESS = grants gp_relsizes_stats
77
REGRESS_OPTS = --inputdir=test/
8-
PGFILEDESC = "gp_relsizes_stats - an extension to track table on-disc sizes in greenplum"
8+
PGFILEDESC = "gp_relsizes_stats - an extension to track table on-disc sizes in Cloudberry"
99
PG_CXXFLAGS += $(COMMON_CPP_FLAGS)
1010
ifdef USE_PGXS
1111
PG_CONFIG = pg_config

gpcontrib/gp_relsizes_stats/README.md

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
<!--
2+
Licensed to the Apache Software Foundation (ASF) under one
3+
or more contributor license agreements. See the NOTICE file
4+
distributed with this work for additional information
5+
regarding copyright ownership. The ASF licenses this file
6+
to you under the Apache License, Version 2.0 (the
7+
"License"); you may not use this file except in compliance
8+
with the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing,
13+
software distributed under the License is distributed on an
14+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
KIND, either express or implied. See the License for the
16+
specific language governing permissions and limitations
17+
under the License.
18+
-->
19+
120
# gp_relsizes_stats: Table sizes monitoring tool for Cloudberry
221

322
### Features
@@ -11,16 +30,15 @@ gp_relsizes_stats is an extension for the Cloudberry database that calculates an
1130
At the moment, the program is being tested only for Cloudberry and Linux.
1231

1332
### Installation
14-
Install from source:
15-
```
16-
git clone git@github.com:open-gpdb/gp_relsizes_stats.git
17-
cd gp_relsizes_stats
18-
# Build it. Building would require GP installed nearby and sourcing greenplum_path.sh
19-
source <path_to_gp>/greenplum_path.sh
20-
make && make install
33+
This extension is part of the Cloudberry monorepo under `gpcontrib/gp_relsizes_stats`.
34+
35+
Build and install from the Cloudberry monorepo root:
36+
```bash
37+
make -C gpcontrib/gp_relsizes_stats
38+
sudo make -C gpcontrib/gp_relsizes_stats install
2139
```
2240

23-
### Confguration
41+
### Configuration
2442
gp_relsizes_stats configuration parameters:
2543
| **Parameter** | **Type** | **Default** | **Description** |
2644
| ---------------- | --------------- | ------------ | ------------ |

0 commit comments

Comments
 (0)