Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
23d830bd
Commit
23d830bd
authored
Jul 11, 2009
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Alter some gratuitous uses of "ANSI" when "SQL standard" might have been
meant or the reference to a standard was unnecessary.
parent
c95db342
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
15 deletions
+15
-15
doc/src/sgml/ecpg.sgml
doc/src/sgml/ecpg.sgml
+5
-5
src/backend/utils/adt/varchar.c
src/backend/utils/adt/varchar.c
+2
-2
src/include/catalog/pg_type.h
src/include/catalog/pg_type.h
+4
-4
src/pl/plpgsql/src/gram.y
src/pl/plpgsql/src/gram.y
+2
-2
src/test/regress/expected/select_distinct.out
src/test/regress/expected/select_distinct.out
+1
-1
src/test/regress/sql/select_distinct.sql
src/test/regress/sql/select_distinct.sql
+1
-1
No files found.
doc/src/sgml/ecpg.sgml
View file @
23d830bd
<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.
89 2009/05/18 11:08:24
petere Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.
90 2009/07/11 21:15:32
petere Exp $ -->
<chapter id="ecpg">
<title><application>ECPG</application> - Embedded <acronym>SQL</acronym> in C</title>
...
...
@@ -3062,7 +3062,7 @@ void dtcurrent(timestamp *ts);
<term><function>dtcvasc</></term>
<listitem>
<para>
Parses a timestamp from its textual representation
in ANSI standard
Parses a timestamp from its textual representation
into a timestamp variable.
<synopsis>
int dtcvasc(char *str, timestamp *ts);
...
...
@@ -3087,7 +3087,7 @@ int dtcvasc(char *str, timestamp *ts);
<term><function>dtcvfmtasc</></term>
<listitem>
<para>
Parses a timestamp from its textual representation
in ANSI standard
Parses a timestamp from its textual representation
using a format mask into a timestamp variable.
<synopsis>
dtcvfmtasc(char *inbuf, char *fmtstr, timestamp *dtvalue)
...
...
@@ -3140,7 +3140,7 @@ int dttoasc(timestamp *ts, char *output);
The function receives a pointer to the timestamp variable to convert
(<literal>ts</>) and the string that should hold the result of the
operation <literal>output</>). It converts <literal>ts</> to its
textual representation
in the ANSI SQL standard which is defined to
textual representation
according to the SQL standard, which is
be <literal>YYYY-MM-DD HH:MM:SS</literal>.
</para>
<para>
...
...
@@ -3187,7 +3187,7 @@ int intoasc(interval *i, char *str);
The function receives a pointer to the interval variable to convert
(<literal>i</>) and the string that should hold the result of the
operation <literal>str</>). It converts <literal>i</> to its
textual representation
in the ANSI SQL standard which is defined to
textual representation
according to the SQL standard, which is
be <literal>YYYY-MM-DD HH:MM:SS</literal>.
</para>
<para>
...
...
src/backend/utils/adt/varchar.c
View file @
23d830bd
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/adt/varchar.c,v 1.13
1 2009/06/11 14:49:04 momjian
Exp $
* $PostgreSQL: pgsql/src/backend/utils/adt/varchar.c,v 1.13
2 2009/07/11 21:15:32 petere
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -78,7 +78,7 @@ anychar_typmodout(int32 typmod)
/*
* CHAR() and VARCHAR() types are part of the
ANSI
SQL standard. CHAR()
* CHAR() and VARCHAR() types are part of the SQL standard. CHAR()
* is for blank-padded string whose length is specified in CREATE TABLE.
* VARCHAR is for storing string whose length is at most the length specified
* at CREATE TABLE time.
...
...
src/include/catalog/pg_type.h
View file @
23d830bd
...
...
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/catalog/pg_type.h,v 1.20
6 2009/06/18 10:22:09
petere Exp $
* $PostgreSQL: pgsql/src/include/catalog/pg_type.h,v 1.20
7 2009/07/11 21:15:32
petere Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -473,10 +473,10 @@ DESCR("varchar(length), non-blank-padded string, variable storage length");
#define VARCHAROID 1043
DATA
(
insert
OID
=
1082
(
date
PGNSP
PGUID
4
t
b
D
f
t
\
054
0
0
1182
date_in
date_out
date_recv
date_send
-
-
-
i
p
f
0
-
1
0
_null_
_null_
));
DESCR
(
"
ANSI SQL
date"
);
DESCR
(
"date"
);
#define DATEOID 1082
DATA
(
insert
OID
=
1083
(
time
PGNSP
PGUID
8
FLOAT8PASSBYVAL
b
D
f
t
\
054
0
0
1183
time_in
time_out
time_recv
time_send
timetypmodin
timetypmodout
-
d
p
f
0
-
1
0
_null_
_null_
));
DESCR
(
"
hh:mm:ss, ANSI SQL time
"
);
DESCR
(
"
time of day
"
);
#define TIMEOID 1083
/* 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
/* OIDS 1200 - 1299 */
DATA
(
insert
OID
=
1231
(
_numeric
PGNSP
PGUID
-
1
f
b
A
f
t
\
054
0
1700
0
array_in
array_out
array_recv
array_send
numerictypmodin
numerictypmodout
-
i
x
f
0
-
1
0
_null_
_null_
));
DATA
(
insert
OID
=
1266
(
timetz
PGNSP
PGUID
12
f
b
D
f
t
\
054
0
0
1270
timetz_in
timetz_out
timetz_recv
timetz_send
timetztypmodin
timetztypmodout
-
d
p
f
0
-
1
0
_null_
_null_
));
DESCR
(
"
hh:mm:ss, ANSI SQL tim
e"
);
DESCR
(
"
time of day with time zon
e"
);
#define TIMETZOID 1266
DATA
(
insert
OID
=
1270
(
_timetz
PGNSP
PGUID
-
1
f
b
A
f
t
\
054
0
1266
0
array_in
array_out
array_recv
array_send
timetztypmodin
timetztypmodout
-
d
x
f
0
-
1
0
_null_
_null_
));
...
...
src/pl/plpgsql/src/gram.y
View file @
23d830bd
...
...
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/pl/plpgsql/src/gram.y,v 1.12
5 2009/06/18 10:22:09
petere Exp $
* $PostgreSQL: pgsql/src/pl/plpgsql/src/gram.y,v 1.12
6 2009/07/11 21:15:32
petere Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -510,7 +510,7 @@ decl_cursor_arg : decl_varname decl_datatype
;
decl_is_for : K_IS | /* Oracle */
K_FOR; /*
ANSI
*/
K_FOR; /*
SQL standard
*/
decl_aliasitem : any_identifier
{
...
...
src/test/regress/expected/select_distinct.out
View file @
23d830bd
...
...
@@ -195,7 +195,7 @@ SELECT null IS DISTINCT FROM null as "no";
f
(1 row)
--
ANSI SQL 2003
form
--
negated
form
SELECT 1 IS NOT DISTINCT FROM 2 as "no";
no
----
...
...
src/test/regress/sql/select_distinct.sql
View file @
23d830bd
...
...
@@ -57,7 +57,7 @@ SELECT 2 IS DISTINCT FROM 2 as "no";
SELECT
2
IS
DISTINCT
FROM
null
as
"yes"
;
SELECT
null
IS
DISTINCT
FROM
null
as
"no"
;
--
ANSI SQL 2003
form
--
negated
form
SELECT
1
IS
NOT
DISTINCT
FROM
2
as
"no"
;
SELECT
2
IS
NOT
DISTINCT
FROM
2
as
"yes"
;
SELECT
2
IS
NOT
DISTINCT
FROM
null
as
"no"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment