Commit fd7b9633 authored by Bruce Momjian's avatar Bruce Momjian

Fix for typo in gram.y

parent be321b74
......@@ -4,7 +4,7 @@
# Makefile for catalog
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.15 1999/01/17 06:18:14 momjian Exp $
# $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.16 1999/01/18 06:32:24 momjian Exp $
#
#-------------------------------------------------------------------------
......@@ -57,8 +57,7 @@ depend dep:
clean:
rm -f SUBSYS.o $(OBJS) global1.bki.source local1_template1.bki.source \
global1.description local1_template1.description \
$(GENBKI)
global1.description local1_template1.description
ifeq (depend,$(wildcard depend))
include depend
......
......@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.43 1999/01/18 00:09:51 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.44 1999/01/18 06:32:25 momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
......@@ -2794,7 +2794,7 @@ SelectStmt: select_w_o_sort sort_clause for_update_clause
/* finally attach the sort clause */
first_select->sortClause = $2;
first_select>forUpdate = $3;
first_select->forUpdate = $3;
$$ = (Node *)first_select;
}
if ((SelectStmt *)$$)->forUpdate != NULL)
......
This diff is collapsed.
......@@ -28,6 +28,13 @@ ZeroSecs
@ 0
(1 row)
QUERY: SET DateStyle = 'Postgres,noneuropean';
QUERY: SELECT datetime('1994-01-01', '11:00') AS "Jan_01_1994_11am";
Jan_01_1994_11am
----------------------------
Sat Jan 01 11:00:00 1994 PST
(1 row)
QUERY: CREATE TABLE DATETIME_TBL( d1 datetime);
QUERY: INSERT INTO DATETIME_TBL VALUES ('current');
QUERY: INSERT INTO DATETIME_TBL VALUES ('today');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment