Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitab81006

Browse files
doc: fix type alignment for CREATE TABLE in triggers
Datatypes in CREATE TABLE statements in the examples were verticallyaligned in most cases, a few examples were unaligned with a singlespace. This makes sure all examples on the same page are consistentlyaligned.Patch by Laurenz Albe with some additional fixups by me.Author: Laurenz Albe <laurenz.albe@cybertec.at>Reported-by: lemes.marcelo26@gmail.comDiscussion:https://postgr.es/m/166870885664.635.16667004450401573487@wrigleys.postgresql.org
1 parentfb958b5 commitab81006

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎doc/src/sgml/plpgsql.sgml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4230,10 +4230,10 @@ ASSERT <replaceable class="parameter">condition</replaceable> <optional> , <repl
42304230

42314231
<programlisting>
42324232
CREATE TABLE emp (
4233-
empname text,
4234-
salary integer,
4235-
last_date timestamp,
4236-
last_user text
4233+
empnametext,
4234+
salaryinteger,
4235+
last_datetimestamp,
4236+
last_usertext
42374237
);
42384238

42394239
CREATE FUNCTION emp_stamp() RETURNS trigger AS $emp_stamp$
@@ -4292,7 +4292,7 @@ CREATE TABLE emp_audit(
42924292
stamp timestamp NOT NULL,
42934293
userid text NOT NULL,
42944294
empname text NOT NULL,
4295-
salary integer
4295+
salaryinteger
42964296
);
42974297

42984298
CREATE OR REPLACE FUNCTION process_emp_audit() RETURNS TRIGGER AS $emp_audit$
@@ -4589,7 +4589,7 @@ CREATE TABLE emp_audit(
45894589
stamp timestamp NOT NULL,
45904590
userid text NOT NULL,
45914591
empname text NOT NULL,
4592-
salary integer
4592+
salaryinteger
45934593
);
45944594

45954595
CREATE OR REPLACE FUNCTION process_emp_audit() RETURNS TRIGGER AS $emp_audit$

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp