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

Commit23d830b

Browse files
committed
Alter some gratuitous uses of "ANSI" when "SQL standard" might have been
meant or the reference to a standard was unnecessary.
1 parentc95db34 commit23d830b

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

‎doc/src/sgml/ecpg.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.89 2009/05/18 11:08:24 petere Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.90 2009/07/11 21:15:32 petere Exp $ -->
22

33
<chapter id="ecpg">
44
<title><application>ECPG</application> - Embedded <acronym>SQL</acronym> in C</title>
@@ -3062,7 +3062,7 @@ void dtcurrent(timestamp *ts);
30623062
<term><function>dtcvasc</></term>
30633063
<listitem>
30643064
<para>
3065-
Parses a timestamp from its textual representation in ANSI standard
3065+
Parses a timestamp from its textual representation
30663066
into a timestamp variable.
30673067
<synopsis>
30683068
int dtcvasc(char *str, timestamp *ts);
@@ -3087,7 +3087,7 @@ int dtcvasc(char *str, timestamp *ts);
30873087
<term><function>dtcvfmtasc</></term>
30883088
<listitem>
30893089
<para>
3090-
Parses a timestamp from its textual representation in ANSI standard
3090+
Parses a timestamp from its textual representation
30913091
using a format mask into a timestamp variable.
30923092
<synopsis>
30933093
dtcvfmtasc(char *inbuf, char *fmtstr, timestamp *dtvalue)
@@ -3140,7 +3140,7 @@ int dttoasc(timestamp *ts, char *output);
31403140
The function receives a pointer to the timestamp variable to convert
31413141
(<literal>ts</>) and the string that should hold the result of the
31423142
operation <literal>output</>). It converts <literal>ts</> to its
3143-
textual representationintheANSISQL standard which is defined to
3143+
textual representationaccording tothe SQL standard, which is
31443144
be <literal>YYYY-MM-DD HH:MM:SS</literal>.
31453145
</para>
31463146
<para>
@@ -3187,7 +3187,7 @@ int intoasc(interval *i, char *str);
31873187
The function receives a pointer to the interval variable to convert
31883188
(<literal>i</>) and the string that should hold the result of the
31893189
operation <literal>str</>). It converts <literal>i</> to its
3190-
textual representationintheANSISQL standard which is defined to
3190+
textual representationaccording tothe SQL standard, which is
31913191
be <literal>YYYY-MM-DD HH:MM:SS</literal>.
31923192
</para>
31933193
<para>

‎src/backend/utils/adt/varchar.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/utils/adt/varchar.c,v 1.131 2009/06/1114:49:04 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/utils/adt/varchar.c,v 1.132 2009/07/1121:15:32 petere Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -78,7 +78,7 @@ anychar_typmodout(int32 typmod)
7878

7979

8080
/*
81-
* CHAR() and VARCHAR() types are part of theANSISQL standard. CHAR()
81+
* CHAR() and VARCHAR() types are part of the SQL standard. CHAR()
8282
* is for blank-padded string whose length is specified in CREATE TABLE.
8383
* VARCHAR is for storing string whose length is at most the length specified
8484
* at CREATE TABLE time.

‎src/include/catalog/pg_type.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
99
* Portions Copyright (c) 1994, Regents of the University of California
1010
*
11-
* $PostgreSQL: pgsql/src/include/catalog/pg_type.h,v 1.206 2009/06/18 10:22:09 petere Exp $
11+
* $PostgreSQL: pgsql/src/include/catalog/pg_type.h,v 1.207 2009/07/11 21:15:32 petere Exp $
1212
*
1313
* NOTES
1414
* the genbki.sh script reads this file and generates .bki
@@ -473,10 +473,10 @@ DESCR("varchar(length), non-blank-padded string, variable storage length");
473473
#defineVARCHAROID1043
474474

475475
DATA(insertOID=1082 (datePGNSPPGUID4tbDft \054001182date_indate_outdate_recvdate_send---ipf0-10_null__null_ ));
476-
DESCR("ANSI SQLdate");
476+
DESCR("date");
477477
#defineDATEOID1082
478478
DATA(insertOID=1083 (timePGNSPPGUID8FLOAT8PASSBYVALbDft \054001183time_intime_outtime_recvtime_sendtimetypmodintimetypmodout-dpf0-10_null__null_ ));
479-
DESCR("hh:mm:ss, ANSI SQL time");
479+
DESCR("time of day");
480480
#defineTIMEOID1083
481481

482482
/* OIDS 1100 - 1199 */
@@ -498,7 +498,7 @@ DATA(insert OID = 1187 ( _interval PGNSP PGUID-1 f b A f t \054 0 1186 0 array
498498
/* OIDS 1200 - 1299 */
499499
DATA(insertOID=1231 (_numericPGNSPPGUID-1fbAft \054017000array_inarray_outarray_recvarray_sendnumerictypmodinnumerictypmodout-ixf0-10_null__null_ ));
500500
DATA(insertOID=1266 (timetzPGNSPPGUID12fbDft \054001270timetz_intimetz_outtimetz_recvtimetz_sendtimetztypmodintimetztypmodout-dpf0-10_null__null_ ));
501-
DESCR("hh:mm:ss, ANSI SQLtime");
501+
DESCR("time of day withtime zone");
502502
#defineTIMETZOID1266
503503
DATA(insertOID=1270 (_timetzPGNSPPGUID-1fbAft \054012660array_inarray_outarray_recvarray_sendtimetztypmodintimetztypmodout-dxf0-10_null__null_ ));
504504

‎src/pl/plpgsql/src/gram.y

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $PostgreSQL: pgsql/src/pl/plpgsql/src/gram.y,v 1.125 2009/06/18 10:22:09 petere Exp $
12+
* $PostgreSQL: pgsql/src/pl/plpgsql/src/gram.y,v 1.126 2009/07/11 21:15:32 petere Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -510,7 +510,7 @@ decl_cursor_arg : decl_varname decl_datatype
510510
;
511511

512512
decl_is_for:K_IS|/* Oracle*/
513-
K_FOR;/*ANSI*/
513+
K_FOR;/*SQL standard*/
514514

515515
decl_aliasitem:any_identifier
516516
{

‎src/test/regress/expected/select_distinct.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ SELECT null IS DISTINCT FROM null as "no";
195195
f
196196
(1 row)
197197

198-
--ANSI SQL 2003 form
198+
--negated form
199199
SELECT 1 IS NOT DISTINCT FROM 2 as "no";
200200
no
201201
----

‎src/test/regress/sql/select_distinct.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ SELECT 2 IS DISTINCT FROM 2 as "no";
5757
SELECT2 IS DISTINCTFROMnullas"yes";
5858
SELECTnull IS DISTINCTFROMnullas"no";
5959

60-
--ANSI SQL 2003 form
60+
--negated form
6161
SELECT1 IS NOT DISTINCTFROM2as"no";
6262
SELECT2 IS NOT DISTINCTFROM2as"yes";
6363
SELECT2 IS NOT DISTINCTFROMnullas"no";

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp