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.
pull/220/head
Andreas Karlsson 4 months ago committed by Andreas Karlsson
parent 5c2b7276cf
commit fd6ed3a680
  1. 8
      contrib/pg_tde/documentation/_resource/overrides/main.html
  2. 2
      contrib/pg_tde/documentation/docs/css/design.css
  3. 2
      contrib/pg_tde/documentation/docs/css/extra.css
  4. 2
      contrib/pg_tde/documentation/docs/css/landing.css
  5. 2
      contrib/pg_tde/documentation/docs/css/osano.css
  6. 8
      contrib/pg_tde/documentation/mkdocs.yml
  7. 4
      contrib/pg_tde/expected/change_access_method.out
  8. 5
      contrib/pg_tde/expected/default_principal_key.out
  9. 6
      contrib/pg_tde/sql/change_access_method.sql
  10. 6
      contrib/pg_tde/sql/default_principal_key.sql

@ -4,7 +4,7 @@
{% extends "base.html" %}
{% block announce %}
This is a Release Candidate of Percona Transparent Data Encryption extension and it is
This is a Release Candidate of Percona Transparent Data Encryption extension and it is
<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>.
This will help us improve the product and make it production-ready faster.
{% endblock %}
@ -13,7 +13,7 @@
<script src="https://cmp.osano.com/Azqe5vTyLOSbN3OuT/49ad85b5-0418-4794-ab81-7599dddd534c/osano.js"></script>
{{ super() }}
{% endblock %}
{% block extrahead %}
{{ super() }}
{% set title = config.site_name %}
@ -27,7 +27,7 @@
<meta property="og:image" content="https://docs.percona.com/pg-tde/_images/pg_tde.png">
<meta property="og:url" content="https://docs.percona.com/pg-tde/">
{% endblock %}
{% block site_nav %}
{% if nav %}
{% if page.meta and page.meta.hide %}
@ -39,7 +39,7 @@
{% include "partials/nav.html" %}
<br>
<label class="md-nav__title" for="__drawer">
</label>
</label>
</div>
</div>
</div>

@ -93,7 +93,7 @@
/* Accent */
--md-accent-fg-color: var(--sky500);
/* Footer */
--md-footer-fg-color: var(--stone900);
--md-footer-fg-color--light: rgba(44,50,62,0.72);

@ -5,7 +5,7 @@
left: 0.6rem;
}
}
}
.md-sidebar__inner {
font-size: 0.65rem; /* Font size */

@ -249,7 +249,7 @@ a.splash-card img {
line-height: 1.4;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
max-height: 2.8em;

@ -14,7 +14,7 @@
.osano-cm-dialog {
font-size: 0.75em;
padding: 2em 1em;
color: var(--md-typeset-color);
color: var(--md-typeset-color);
background: var(--md-footer-bg-color--dark);
}
.osano-cm-header,

@ -125,7 +125,7 @@ plugins:
debug_html: false
# two_columns_level: 3
custom_template_path: _resource/templates
enabled_if_env: ENABLE_PDF_EXPORT
enabled_if_env: ENABLE_PDF_EXPORT
extra:
version:
@ -144,8 +144,8 @@ extra:
- icon: material/emoticon-sad-outline
name: This page could be improved
data: 0
note: >-
Thank you for your feedback! Help us improve by using our
note: >-
Thank you for your feedback! Help us improve by using our
<a href="https://docs.google.com/forms/d/1bkWACehjqlwA0AKf-qTJcXvYbOSYgze8iTPXjntqmNo/edit" target="_blank" rel="noopener">
feedback form</a>.
@ -156,7 +156,7 @@ nav:
- Get started:
- "1. Install": "install.md"
- "Via apt": apt.md
- "Via yum": yum.md
- "Via yum": yum.md
- "2. Set up": "setup.md"
- "3. Configure WAL encryption (tech preview)": wal-encryption.md
- "4. Test TDE": "test.md"

@ -16,7 +16,6 @@ CREATE TABLE country_table (
country_name varchar(32) unique not null,
continent varchar(32) not null
) USING tde_heap;
INSERT INTO country_table (country_name, continent)
VALUES ('Japan', 'Asia'),
('UK', 'Europe'),
@ -49,7 +48,7 @@ SELECT pg_tde_is_encrypted('country_table_pkey');
-- Try changing the encrypted table to an unencrypted table
ALTER TABLE country_table SET ACCESS METHOD heap;
-- Insert some more data
-- Insert some more data
INSERT INTO country_table (country_name, continent)
VALUES ('France', 'Europe'),
('Germany', 'Europe'),
@ -158,7 +157,6 @@ CREATE TABLE country_table3 (
continent text not null
) USING heap;
ERROR: pg_tde.enforce_encryption is ON, only the tde_heap access method is allowed.
ALTER TABLE country_table SET ACCESS METHOD heap;
ERROR: pg_tde.enforce_encryption is ON, only the tde_heap access method is allowed.
ALTER TABLE country_table2 SET ACCESS METHOD tde_heap;

@ -10,7 +10,7 @@ SELECT pg_tde_add_global_key_provider_file('file-provider','/tmp/pg_tde_regressi
SELECT pg_tde_verify_default_key();
ERROR: principal key not configured for current database
-- Should fail: no default principal key for the server yet
SELECT key_provider_id, key_provider_name, key_name
SELECT key_provider_id, key_provider_name, key_name
FROM pg_tde_default_key_info();
ERROR: Principal key does not exists for the database
HINT: Use set_key interface to set the principal key
@ -26,7 +26,7 @@ SELECT pg_tde_verify_default_key();
(1 row)
SELECT key_provider_id, key_provider_name, key_name
SELECT key_provider_id, key_provider_name, key_name
FROM pg_tde_default_key_info();
key_provider_id | key_provider_name | key_name
-----------------+-------------------+-------------
@ -48,7 +48,6 @@ SELECT key_provider_id, key_provider_name, key_name
FROM pg_tde_key_info();
ERROR: Principal key does not exists for the database
HINT: Use set_key interface to set the principal key
-- Should succeed: "localizes" the default principal key for the database
CREATE TABLE test_enc(
id SERIAL,

@ -8,7 +8,7 @@ CREATE TABLE country_table (
country_name varchar(32) unique not null,
continent varchar(32) not null
) USING tde_heap;
INSERT INTO country_table (country_name, continent)
VALUES ('Japan', 'Asia'),
('UK', 'Europe'),
@ -22,7 +22,7 @@ SELECT pg_tde_is_encrypted('country_table_pkey');
-- Try changing the encrypted table to an unencrypted table
ALTER TABLE country_table SET ACCESS METHOD heap;
-- Insert some more data
-- Insert some more data
INSERT INTO country_table (country_name, continent)
VALUES ('France', 'Europe'),
('Germany', 'Europe'),
@ -78,7 +78,7 @@ CREATE TABLE country_table3 (
country_name text unique not null,
continent text not null
) USING heap;
ALTER TABLE country_table SET ACCESS METHOD heap;
ALTER TABLE country_table2 SET ACCESS METHOD tde_heap;

@ -7,13 +7,13 @@ SELECT pg_tde_add_global_key_provider_file('file-provider','/tmp/pg_tde_regressi
SELECT pg_tde_verify_default_key();
-- Should fail: no default principal key for the server yet
SELECT key_provider_id, key_provider_name, key_name
SELECT key_provider_id, key_provider_name, key_name
FROM pg_tde_default_key_info();
SELECT pg_tde_set_default_key_using_global_key_provider('default-key', 'file-provider', false);
SELECT pg_tde_verify_default_key();
SELECT key_provider_id, key_provider_name, key_name
SELECT key_provider_id, key_provider_name, key_name
FROM pg_tde_default_key_info();
-- fails
@ -23,7 +23,7 @@ SELECT id, provider_name FROM pg_tde_list_all_global_key_providers();
-- Should fail: no principal key for the database yet
SELECT key_provider_id, key_provider_name, key_name
FROM pg_tde_key_info();
-- Should succeed: "localizes" the default principal key for the database
CREATE TABLE test_enc(
id SERIAL,

Loading…
Cancel
Save