[core] Replace aliases logic with simple dict

Since aliases are so rarely used, just hardcode the list of aliases
inside the engine for now.

This combines the advantage of the speedup of the previous
implementation with the robustness of the first implementation. As
trade-off, extensibility suffers, but given the small number of aliases,
that's OK for now.

fixes #437
This commit is contained in:
Tobias Witek 2019-09-09 20:17:03 +02:00
parent d95d684550
commit c09ce71fce
5 changed files with 10 additions and 29 deletions

View file

@ -1,2 +0,0 @@
date
time

View file

@ -1,2 +0,0 @@
datetz
timetz

View file

@ -1,2 +0,0 @@
pasink
pasource

View file

@ -1 +0,0 @@
test-alias