Skip to content
Permalink
Browse files

Add CURRENT_TIMESTAMP to function list, especially for the dropdown i…

…n the default editor. See #74 (comment)
  • Loading branch information
ansgarbecker committed Nov 28, 2019
1 parent 54e05e5 commit 94b398beb2823869c17eae0657a9b1673f6deb91
Showing with 10 additions and 1 deletion.
  1. +10 −1 source/dbstructures.pas
@@ -1973,7 +1973,7 @@ TPostgreSQLLib = class(TDbLib)
)
);

MySqlFunctions: Array [0..253] of TMysqlFunction =
MySqlFunctions: Array [0..254] of TMysqlFunction =
(
// Function nr. 1
(
@@ -2546,6 +2546,15 @@ TPostgreSQLLib = class(TDbLib)
+'numeric context. The value is expressed in the current time zone.'
),

// Added by hand, for https://github.com/HeidiSQL/HeidiSQL/issues/74#issuecomment-559321533
(
Name: 'CURRENT_TIMESTAMP';
Declaration: '()';
Category: 'Date and Time Functions';
Version: SQL_VERSION_ANSI;
Description: 'CURRENT_TIMESTAMP and CURRENT_TIMESTAMP() are synonyms for NOW()'
),

// Function nr. 47
(
Name: 'DATABASE';

0 comments on commit 94b398b

Please sign in to comment.
You can’t perform that action at this time.