8000 Remove trailing whitespace at end of line · percona/postgres@fd6ed3a · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fd6ed3a

Browse files
committed
Remove trailing whitespace at end of line
With the exception of test output files no text file should have extra whitesapce and the end of line.
1 parent 5c2b727 commit fd6ed3a

File tree

10 files changed

+21
-24
lines changed

10 files changed

+21
-24
lines changed

contrib/pg_tde/documentation/_resource/overrides/main.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{% extends "base.html" %}
55

66
{% block announce %}
7-
This is a Release Candidate of Percona Transparent Data Encryption extension and it is
7+
This is a Release Candidate of Percona Transparent Data Encryption extension and it is
88
<strong>not recommended for production environments</strong> yet. We encourage you to test it and <a href= "https://forums.percona.com/c/postgresql/pg-tde-transparent-data-encryption-tde/82">give your feedback</a>.
99
This will help us improve the product and make it production-ready faster.
1010
{% endblock %}
@@ -13,7 +13,7 @@
1313
<script src="https://cmp.osano.com/Azqe5vTyLOSbN3OuT/49ad85b5-0418-4794-ab81-7599dddd534c/osano.js"></script>
1414
{{ super() }}
1515
{% endblock %}
16-
16+
1717
{% block extrahead %}
1818
{{ super() }}
1919
{% set title = config.site_name %}
@@ -27,7 +27,7 @@
2727
<meta property="og:image" content="https://docs.percona.com/pg-tde/_images/pg_tde.png">
2828
<meta property="og:url" content="https://docs.percona.com/pg-tde/">
2929
{% endblock %}
30-
30+
3131
{% block site_nav %}
3232
{% if nav %}
3333
{% if page.meta and page.meta.hide %}
@@ -39,7 +39,7 @@
3939
{% include "partials/nav.html" %}
4040
<br>
4141
<label class="md-nav__title" for="__drawer">
42-
</label>
42+
</label>
4343
</div>
4444
</div>
4545
</div>

contrib/pg_tde/documentation/docs/css/design.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393

9494
/* Accent */
9595
--md-accent-fg-color: var(--sky500);
96-
96+
9797
/* Footer */
9898
--md-footer-fg-color: var(--stone900);
9999
--md-footer-fg-color--light: rgba(44,50,62,0.72);

contrib/pg_tde/documentation/docs/css/extra.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
left: 0.6rem;
66
}
77

8-
}
8+
}
99

1010
.md-sidebar__inner {
1111
font-size: 0.65rem; /* Font size */

contrib/pg_tde/documentation/docs/css/landing.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ a.splash-card img {
249249
line-height: 1.4;
250250
display: -webkit-box;
251251
-webkit-line-clamp: 3;
252-
-webkit-box-orient: vertical;
252+
-webkit-box-orient: vertical;
253253
overflow: hidden;
254254
text-overflow: ellipsis;
255255
max-height: 2.8em;

contrib/pg_tde/documentation/docs/css/osano.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
.osano-cm-dialog {
1515
font-size: 0.75em;
1616
padding: 2em 1em;
17-
color: var(--md-typeset-color);
17+
color: var(--md-typeset-color);
1818
background: var(--md-footer-bg-color--dark);
1919
}
2020
.osano-cm-header,

contrib/pg_tde/documentation/mkdocs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ plugins:
125125
debug_html: false
126126
# two_columns_level: 3
127127
custom_template_path: _resource/templates
128-
enabled_if_env: ENABLE_PDF_EXPORT
128+
enabled_if_env: ENABLE_PDF_EXPORT
129129

130130
extra:
131131
version:
@@ -144,8 +144,8 @@ extra:
144144
- icon: material/emoticon-sad-outline
145145
name: This page could be improved
146146
data: 0
147-
note: >-
148-
Thank you for your feedback! Help us improve by using our
147+
note: >-
148+
Thank you for your feedback! Help us improve by using our
149149
<a href="https://docs.google.com/forms/d/1bkWACehjqlwA0AKf-qTJcXvYbOSYgze8iTPXjntqmNo/edit" target="_blank" rel="noopener">
150150
feedback form</a>.
151151
@@ -156,7 +156,7 @@ nav:
156156
- Get started:
157157
- "1. Install": "install.md"
158158
- "Via apt": apt.md
159-
- "Via yum": yum.md
159+
- "Via yum": yum.md
160160
- "2. Set up": "setup.md"
161161
- "3. Configure WAL encryption (tech preview)": wal-encryption.md
162162
- "4. Test TDE": "test.md"

contrib/pg_tde/expected/change_access_method.out

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ CREATE TABLE country_table (
1616
country_name varchar(32) unique not null,
1717
continent varchar(32) not null
1818
) USING tde_heap;
19-
2019
INSERT INTO country_table (country_name, continent)
2120
VALUES ('Japan', 'Asia'),
2221
('UK', 'Europe'),
@@ -49,7 +48,7 @@ SELECT pg_tde_is_encrypted('country_table_pkey');
4948

5049
-- Try changing the encrypted table to an unencrypted table
5150
ALTER TABLE country_table SET ACCESS METHOD heap;
52-
-- Insert some more data
51+
-- Insert some more data
5352
INSERT INTO country_table (country_name, continent)
5453
VALUES ('France', 'Europe'),
5554
('Germany', 'Europe'),
@@ -158,7 +157,6 @@ CREATE TABLE country_table3 (
158157
continent text not null
159158
) USING heap;
160159
ERROR: pg_tde.enforce_encryption is ON, only the tde_heap access method is allowed.
161-
162160
ALTER TABLE country_table SET ACCESS METHOD heap;
163161
ERROR: pg_tde.enforce_encryption is ON, only the tde_heap access method is allowed.
164162
ALTER TABLE country_table2 SET ACCESS METHOD tde_heap;

contrib/pg_tde/expected/default_principal_key.out

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SELECT pg_tde_add_global_key_provider_file('file-provider','/tmp/pg_tde_regressi
1010
SELECT pg_tde_verify_default_key();
1111
ERROR: principal key not configured for current database
1212
-- Should fail: no default principal key for the server yet
13-
SELECT key_provider_id, key_provider_name, key_name
13+
SELECT key_provider_id, key_provider_name, key_name
1414
FROM pg_tde_default_key_info();
1515
ERROR: Principal key does not exists for the database
1616
HINT: Use set_key interface to set the principal key
@@ -26,7 +26,7 @@ SELECT pg_tde_verify_default_key();
2626

2727
(1 row)
2828

29-
SELECT key_provider_id, key_provider_name, key_name
29+
SELECT key_provider_id, key_provider_name, key_name
3030
FROM pg_tde_default_key_info();
3131
key_provider_id | key_provider_name | key_name
3232
-----------------+-------------------+-------------
@@ -48,7 +48,6 @@ SELECT key_provider_id, key_provider_name, key_name
4848
FROM pg_tde_key_info();
4949
ERROR: Principal key does not exists for the database
5050
HINT: Use set_key interface to set the principal key
51-
5251
-- Should succeed: "localizes" the default principal key for the database
5352
CREATE TABLE test_enc(
5453
id SERIAL,

contrib/pg_tde/sql/change_access_method.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ CREATE TABLE country_table (
88
country_name varchar(32) unique not null,
99
continent varchar(32) not null
1010
) USING tde_heap;
11-
11+
1212
INSERT INTO country_table (country_name, continent)
1313
VALUES ('Japan', 'Asia'),
1414
('UK', 'Europe'),
@@ -22,7 +22,7 @@ SELECT pg_tde_is_encrypted('country_table_pkey');
2222
-- Try changing the encrypted table to an unencrypted table
2323
ALTER TABLE country_table SET ACCESS METHOD heap;
2424

25-
-- Insert some more data
25+
-- Insert some more data
2626
INSERT INTO country_table (country_name, continent)
2727
VALUES ('France', 'Europe'),
2828
('Germany', 'Europe'),
@@ -78,7 +78,7 @@ CREATE TABLE country_table3 (
7878
country_name text unique not null,
7979
continent text not null
8080
) USING heap;
81-
81+
8282
ALTER TABLE country_table SET ACCESS METHOD heap;
8383
ALTER TABLE country_table2 SET ACCESS METHOD tde_heap;
8484

contrib/pg_tde/sql/default_principal_key.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ SELECT pg_tde_add_global_key_provider_file('file-provider','/tmp/pg_tde_regressi
77
SELECT pg_tde_verify_default_key();
88

99
-- Should fail: no default principal key for the server yet
10-
SELECT key_provider_id, key_provider_name, key_name
10+
SELECT key_provider_id, key_provider_name, key_name
1111
FROM pg_tde_default_key_info();
1212

1313
SELECT pg_tde_set_default_key_using_global_key_provider('default-key', 'file-provider', false);
1414
SELECT pg_tde_verify_default_key();
1515

16-
SELECT key_provider_id, key_provider_name, key_name
16+
SELECT key_provider_id, key_provider_name, key_name
1717
FROM pg_tde_default_key_info();
1818

1919
-- fails
@@ -23,7 +23,7 @@ SELECT id, provider_name FROM pg_tde_list_all_global_key_providers();
2323
-- Should fail: no principal key for the database yet
2424
SELECT key_provider_id, key_provider_name, key_name
2525
FROM pg_tde_key_info();
26-
26+
2727
-- Should succeed: "localizes" the default principal key for the database
2828
CREATE TABLE test_enc(
2929
id SERIAL,

0 commit comments

Comments
 (0)
0