meant or the reference to a standard was unnecessary.
-
+
dtcvasc>
- Parses a timestamp from its textual representation in ANSI standard
+ Parses a timestamp from its textual representation
into a timestamp variable.
int dtcvasc(char *str, timestamp *ts);
dtcvfmtasc>
- 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.
dtcvfmtasc(char *inbuf, char *fmtstr, timestamp *dtvalue)
The function receives a pointer to the timestamp variable to convert
(ts>) and the string that should hold the result of the
operation output>). It converts ts> to its
- textual representation in the ANSI SQL standard which is defined to
+ textual representation according to the SQL standard, which is
be YYYY-MM-DD HH:MM:SS.
The function receives a pointer to the interval variable to convert
(i>) and the string that should hold the result of the
operation str>). It converts i> to its
- textual representation in the ANSI SQL standard which is defined to
+ textual representation according to the SQL standard, which is
be YYYY-MM-DD HH:MM:SS.
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/utils/adt/varchar.c,v 1.131 2009/06/11 14:49:04 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/adt/varchar.c,v 1.132 2009/07/11 21:15:32 petere Exp $
*
*-------------------------------------------------------------------------
*/
/*
- * 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.
* 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.206 2009/06/18 10:22:09 petere Exp $
+ * $PostgreSQL: pgsql/src/include/catalog/pg_type.h,v 1.207 2009/07/11 21:15:32 petere Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
#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 */
/* 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 time");
+DESCR("time of day with time zone");
#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_ ));
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/pl/plpgsql/src/gram.y,v 1.125 2009/06/18 10:22:09 petere Exp $
+ * $PostgreSQL: pgsql/src/pl/plpgsql/src/gram.y,v 1.126 2009/07/11 21:15:32 petere Exp $
*
*-------------------------------------------------------------------------
*/
;
decl_is_for : K_IS | /* Oracle */
- K_FOR; /* ANSI */
+ K_FOR; /* SQL standard */
decl_aliasitem : any_identifier
{
f
(1 row)
--- ANSI SQL 2003 form
+-- negated form
SELECT 1 IS NOT DISTINCT FROM 2 as "no";
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";