Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9ed2ac2

Browse files
author
Thomas G. Lockhart
committed
Remove duplicate lines from previous patch attempt. Trouble with my
DSL line at home broke things right in the middle of an update. :(
1 parent abbd64c commit 9ed2ac2

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

src/interfaces/odbc/convert.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,6 @@ char *mapFuncs[][2] = {
9999
{"CURRENT_TIMESTAMP", "odbc_timestamp"},
100100
{"CURRENT_USER", "odbc_current_user"},
101101
{"SESSION_USER", "odbc_session_user"},
102-
{"CURRENT_DATE", "curdate"},
103-
{"CURRENT_TIME", "curtime"},
104-
{"CURRENT_TIMESTAMP", "odbc_timestamp"},
105-
{"CURRENT_USER", "odbc_current_user"},
106-
{"SESSION_USER", "odbc_session_user"},
107102
/* { "CURDATE", "curdate" }, */
108103
/* { "CURTIME", "curtime" }, */
109104
/* { "DAYNAME", "dayname" }, */

src/interfaces/odbc/odbc.sql

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-- PostgreSQL catalog extensions for ODBC compatibility
2-
-- $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/odbc.sql,v 1.5 2001/12/10 00:01:14 thomas Exp $
2+
-- $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/odbc.sql,v 1.6 2001/12/10 00:11:06 thomas Exp $
33

44
-- ODBC functions are described here:
55
-- <http://msdn.microsoft.com/library/en-us/odbc/htm/odbcscalar_functions.asp>
@@ -145,10 +145,6 @@ CREATE OR REPLACE FUNCTION odbc_timestamp() RETURNS timestamp with time zone AS
145145
SELECT current_timestamp;
146146
' LANGUAGE SQL;
147147

148-
CREATE OR REPLACE FUNCTION odbc_timestamp() RETURNS timestamp with time zone AS '
149-
SELECT current_timestamp;
150-
' LANGUAGE SQL;
151-
152148
CREATE OR REPLACE FUNCTION dayname(timestamp) RETURNS text AS '
153149
SELECT to_char($1,''Day'');
154150
' LANGUAGE SQL;

0 commit comments

Comments
 (0)