On Sun, Jul 26, 2020 at 1:49 AM Peter Eisentraut <
peter.eisentr...@2ndquadrant.com> wrote:
> On 2020-07-16 18:52, Andy Fan wrote:
> > The reason I ask this is because I have a task to make numeric output
> > similar to oracle.
> >
> > Oracle:
> >
> > SQL> select 2 / 1.0 from dual;
> >
> > 2
On 2020-07-16 18:52, Andy Fan wrote:
The reason I ask this is because I have a task to make numeric output
similar to oracle.
Oracle:
SQL> select 2 / 1.0 from dual;
2/1.0
--
2
PG:
postgres=# select 2 / 1.0;
?column?
2.
(1