skip to Main Content

Macros/Metaprogramming in postgresql queries

In the case that I have the same example data as in this question and additionally declare the following two functions: CREATE OR REPLACE FUNCTION example.markout_666_example_666_price_table_666_price(_symbol text, _time_of timestamptz, _start interval, _duration interval) RETURNS float8 LANGUAGE sql STABLE STRICT PARALLEL…

VIEW QUESTION

Postgresql – Postgres, what is the result of "select cast(2.000 as varchar);" ( don't execute it). Where in the docs is it explained?

Starting from question : [https://stackoverflow.com/questions/78580133/which-query-is-executed-when-var-dumppg-fetch-allpg-query-paramsdb-select][1] and the last answer to it naturally arises the question what is the result of "select cast(2.000 as varchar);" ( don't execute it before answering on your own). Where in the docs is it explained…

VIEW QUESTION
Back To Top
Search