提交 9ed2ac29 编写于 作者: T Thomas G. Lockhart

Remove duplicate lines from previous patch attempt. Trouble with my

 DSL line at home broke things right in the middle of an update. :(
上级 abbd64cd
...@@ -99,11 +99,6 @@ char *mapFuncs[][2] = { ...@@ -99,11 +99,6 @@ char *mapFuncs[][2] = {
{"CURRENT_TIMESTAMP", "odbc_timestamp"}, {"CURRENT_TIMESTAMP", "odbc_timestamp"},
{"CURRENT_USER", "odbc_current_user"}, {"CURRENT_USER", "odbc_current_user"},
{"SESSION_USER", "odbc_session_user"}, {"SESSION_USER", "odbc_session_user"},
{"CURRENT_DATE", "curdate"},
{"CURRENT_TIME", "curtime"},
{"CURRENT_TIMESTAMP", "odbc_timestamp"},
{"CURRENT_USER", "odbc_current_user"},
{"SESSION_USER", "odbc_session_user"},
/* { "CURDATE", "curdate" }, */ /* { "CURDATE", "curdate" }, */
/* { "CURTIME", "curtime" }, */ /* { "CURTIME", "curtime" }, */
/* { "DAYNAME", "dayname" }, */ /* { "DAYNAME", "dayname" }, */
......
-- PostgreSQL catalog extensions for ODBC compatibility -- PostgreSQL catalog extensions for ODBC compatibility
-- $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/odbc.sql,v 1.5 2001/12/10 00:01:14 thomas Exp $ -- $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/odbc.sql,v 1.6 2001/12/10 00:11:06 thomas Exp $
-- ODBC functions are described here: -- ODBC functions are described here:
-- <http://msdn.microsoft.com/library/en-us/odbc/htm/odbcscalar_functions.asp> -- <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 ...@@ -145,10 +145,6 @@ CREATE OR REPLACE FUNCTION odbc_timestamp() RETURNS timestamp with time zone AS
SELECT current_timestamp; SELECT current_timestamp;
' LANGUAGE SQL; ' LANGUAGE SQL;
CREATE OR REPLACE FUNCTION odbc_timestamp() RETURNS timestamp with time zone AS '
SELECT current_timestamp;
' LANGUAGE SQL;
CREATE OR REPLACE FUNCTION dayname(timestamp) RETURNS text AS ' CREATE OR REPLACE FUNCTION dayname(timestamp) RETURNS text AS '
SELECT to_char($1,''Day''); SELECT to_char($1,''Day'');
' LANGUAGE SQL; ' LANGUAGE SQL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册