You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: advocacy_docs/supported-open-source/pgbackrest/03-quick_start.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ The [installation](02-installation) procedure must be followed before proceeding
17
17
18
18
The default pgBackRest configuration file location is `/etc/pgbackrest/pgbackrest.conf`. If it does not exist, then `/etc/pgbackrest.conf` is used next.
19
19
20
-
For more information about configuration parameters, see the [appendix section](97-appendix#configuration-reference).
20
+
For more information about configuration parameters, see the [appendix section](98-appendix/#configuration-reference).
21
21
22
22
The following example configures a `demo` stanza to take a backup of a database cluster running on the local host.
Copy file name to clipboardExpand all lines: product_docs/docs/epas/13/epas_compat_reference/02_the_sql_language/03_functions_and_operators/05_pattern_matching_string_functions.mdx
Copy file name to clipboardExpand all lines: product_docs/docs/epas/13/epas_compat_reference/02_the_sql_language/03_functions_and_operators/06_pattern_matching_using_the_like_operator.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ string NOT LIKE pattern [ ESCAPE escape-character ]
17
17
18
18
Every `pattern` defines a set of strings. The `LIKE` expression returns `TRUE` if `string` is contained in the set of strings represented by `pattern`. As expected, the `NOT LIKE` expression returns `FALSE` if `LIKE` returns `TRUE`, and vice versa. An equivalent expression is `NOT (string LIKE pattern)`.
19
19
20
-
If `pattern` does not contain percent signs or underscore, then the pattern only represents the string itself; in that case `LIKE` acts like the equals operator. An underscore (\_) in `pattern` stands for (matches) any single character; a percent sign (`%`) matches any string of zero or more characters.
20
+
If `pattern` does not contain percent signs or underscore, then the pattern only represents the string itself; in that case `LIKE` acts like the equals operator. An underscore (`_`) in `pattern` stands for (matches) any single character; a percent sign (`%`) matches any string of zero or more characters.
Copy file name to clipboardExpand all lines: product_docs/docs/epas/13/epas_compat_reference/02_the_sql_language/03_functions_and_operators/07_data_type_formatting_functions.mdx
Copy file name to clipboardExpand all lines: product_docs/docs/epas/13/epas_compat_reference/02_the_sql_language/03_functions_and_operators/08_date_time_functions_and_operators.mdx
+2-3
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ In the date/time functions of the following table the use of the `DATE` and `TIM
|`ADD_MONTHS (DATE, NUMBER)`|`DATE`| Add months to a date |`ADD_MONTHS ('28-FEB-97', ,3.8)`|`31-MAY-97 00:00:00`|
26
26
|`CURRENT_DATE`|`DATE`| Current date |`CURRENT_DATE`|`04-JUL-07`|
27
-
|`CURRENT_TIME STAMP`|`TIMESTAMP`| Returns the current date and time |`CURRENT_TIME STAMP`|`04-JUL-07 15:33:23.484`|
27
+
|`CURRENT_TIMESTAMP`|`TIMESTAMP`| Returns the current date and time |`CURRENT_TIMESTAMP`|`04-JUL-07 15:33:23.484`|
28
28
|`EXTRACT(field FROM TIMESTAMP)`|`DOUBLE PRECISION`| Get subfield |`EXTRACT(hour FROM TIMESTAMP '2001-02-16 20:38:40')`|`20`|
29
29
|`LAST_DAY(DATE)`|`DATE`| Returns the last day of the month represented by the given date. If the given date contains a time portion, it is carried forward to the result unchanged |`LAST_DAY('14-APR-98')`|`30-APR-98 00:00:00`|
30
30
|`LOCALTIMESTAMP [ (precision) ]`|`TIMESTAMP`| Current date and time (start of current transaction) |`LOCALTIMESTAMP`|`04-JUL-07 15:33:23.484`|
@@ -637,8 +637,7 @@ Following are examples of usage of the `TRUNC` function.
637
637
The following example truncates down to the hundred years unit.
Copy file name to clipboardExpand all lines: product_docs/docs/epas/13/epas_compat_reference/02_the_sql_language/03_functions_and_operators/10_conditional_expressions.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ CASE WHEN condition THEN result
21
21
END
22
22
```
23
23
24
-
`CASE` clauses can be used wherever an expression is valid. `condition` is an expression that returns a `BOOLEAN` result. If the result is `TRUE` then the value of the `CASE` expression is the `result` that follows the condition. If the result is `FALSE` any subsequent `WHEN` clauses are searched in the same manner. If `no WHEN condition` is `TRUE` then the value of the `CASE` expression is the `result` in the `ELSE` clause. If the `ELSE` clause is omitted and no condition matches, the result is `null`.
24
+
`CASE` clauses can be used wherever an expression is valid. `condition` is an expression that returns a `BOOLEAN` result. If the result is `TRUE` then the value of the `CASE` expression is the `result` that follows the condition. If the result is `FALSE` any subsequent `WHEN` clauses are searched in the same manner. If `no WHEN condition` is `TRUE` then the value of the `CASE` expression is the `result` in the `ELSE` clause. If the `ELSE` clause is omitted and no condition matches, the result is `NULL`.
Copy file name to clipboardExpand all lines: product_docs/docs/epas/13/epas_compat_reference/02_the_sql_language/03_functions_and_operators/11_aggregate_functions.mdx
+24-24
Original file line number
Diff line number
Diff line change
@@ -88,12 +88,12 @@ The `LISTAGG` function returns a string value.
88
88
89
89
**Examples**
90
90
91
-
The following example concatenates the values in the `EMP` table and lists all the employees separated by a `delimiter` comma.
91
+
The following example concatenates the values in the `emp` table and lists all the employees separated by a `delimiter` comma.
92
92
93
-
First, create a table named `EMP` and then insert records into the `EMP` table.
93
+
First, create a table named `emp` and then insert records into the `emp` table.
edb=# SELECT LISTAGG(ENAME, ',') WITHIN GROUP (ORDER BY ENAME) FROM EMP;
130
+
edb=# SELECT LISTAGG(ENAME, ',') WITHIN GROUP (ORDER BY ENAME) FROM emp;
131
131
listagg
132
132
-------------------------------------
133
133
ALLEN,BLAKE,JONES,MARTIN,WARD
134
134
(1 row)
135
135
```
136
136
137
-
The following example uses `PARTITION BY` clause with `LISTAGG` in `EMP` table and generates output based on a partition by `DEPTNO` that applies to each partition and not on the entire table.
137
+
The following example uses `PARTITION BY` clause with `LISTAGG` in `emp` table and generates output based on a partition by `deptno` that applies to each partition and not on the entire table.
138
138
139
139
```text
140
140
edb=# SELECT DISTINCT DEPTNO, LISTAGG(ENAME, ',') WITHIN GROUP (ORDER BY
141
-
ENAME) OVER(PARTITION BY DEPTNO) FROM EMP;
141
+
ENAME) OVER(PARTITION BY DEPTNO) FROM emp;
142
142
deptno | listagg
143
143
--------+-------------------------
144
144
30 | ALLEN,BLAKE,MARTIN,WARD
@@ -150,7 +150,7 @@ The following example is identical to the previous example, except it includes t
150
150
151
151
```text
152
152
edb=# SELECT DEPTNO, LISTAGG(ENAME, ',') WITHIN GROUP (ORDER BY ENAME) FROM
153
-
EMP GROUP BY DEPTNO;
153
+
emp GROUP BY DEPTNO;
154
154
deptno | listagg
155
155
--------+-------------------------
156
156
20 | JONES
@@ -201,10 +201,10 @@ The return type is determined by the input data type of `expression`. The follow
201
201
202
202
**Examples**
203
203
204
-
In the following example, a query returns the median salary for each department in the `EMP` table:
204
+
In the following example, a query returns the median salary for each department in the `emp` table:
205
205
206
206
```text
207
-
edb=# SELECT * FROM EMP;
207
+
edb=# SELECT * FROM emp;
208
208
empno| ename | job | mgr | hiredate | sal | comm | deptno
|`varname`|`"name"`|`not null`| The name of the variable. |
92
-
|`varpackage`|`oid`|`not null`| The `OID` of the `pg_namespace` row that stores the package. |
93
-
|`vartype`|`oid`|`not null`| The `OID` of the `pg_type` row that defines the type of the variable. |
94
-
|`varaccess`|`"char"`|`not null`|+ if the variable is visible outside of the package. - if the variable is only visible within the package. Note: Public variables are declared within the package header; private variables are declared within the package body. |
95
-
|`varsrc`|`text`|`not null`| Contains the source of the variable declaration, including any default value expressions for the variable. |
96
-
|`varseq`|`smallint`|`not null`| The order in which the variable was declared in the package. |
|`varname`|`"name"`|`not null`| The name of the variable. |
92
+
|`varpackage`|`oid`|`not null`| The `OID` of the `pg_namespace` row that stores the package. |
93
+
|`vartype`|`oid`|`not null`| The `OID` of the `pg_type` row that defines the type of the variable. |
94
+
|`varaccess`|`"char"`|`not null`|`+` if the variable is visible outside of the package. `-` if the variable is only visible within the package. Note: Public variables are declared within the package header; private variables are declared within the package body. |
95
+
|`varsrc`|`text`|| Contains the source of the variable declaration, including any default value expressions for the variable.|
96
+
|`varseq`|`smallint`|`not null`| The order in which the variable was declared in the package. |
Copy file name to clipboardExpand all lines: product_docs/docs/epas/13/epas_compat_table_partitioning/04_partitioning_commands_compatible_with_oracle_databases/10_alter_table_set_partitioning_automatic/01_example_setting_an_automatic_list_partition.mdx
+2-2
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ ALTER TABLE sales SET AUTOMATIC;
35
35
Query the `ALL_TAB_PARTITIONS` view to see that an existing partition is successfully created.
36
36
37
37
```text
38
-
edb=# select table_name, partition_name, high_value FROM ALL_TAB_PARTITIONS;
38
+
edb=# SELECT table_name, partition_name, high_value FROM ALL_TAB_PARTITIONS;
39
39
table_name | partition_name | high_value
40
40
------------+----------------+------------
41
41
SALES | P_KAN | 'KANSAS'
@@ -53,7 +53,7 @@ INSERT 0 1
53
53
Then, query the `ALL_TAB_PARTITIONS` view again after the insert. The automatic list partition is successfully created and data is inserted. A system-generated name of the partition is created that varies for each session.
54
54
55
55
```text
56
-
edb=# select table_name, partition_name, high_value FROM ALL_TAB_PARTITIONS;
56
+
edb=# SELECT table_name, partition_name, high_value FROM ALL_TAB_PARTITIONS;
0 commit comments