From: Achilleas Mantzios <a.mantzios@cloud.gatewaynet.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: pl/pgsql outside the DB, (i.e. on the terminal) possible ?
Date: Thu, 7 Mar 2024 20:04:21 +0200
Message-ID: <fae82fec-3643-46a8-818d-5a511cac5caf@cloud.gatewaynet.com> (raw)
In-Reply-To: <ZenZsCLyd4IGhYeP@hermes.hilbert.loc>
References: <596a6961-553e-3781-7aed-9dba969a18a5@cloud.gatewaynet.com>
<ZenZsCLyd4IGhYeP@hermes.hilbert.loc>
Στις 7/3/24 17:13, ο/η Karsten Hilbert έγραψε:
> Am Thu, Mar 07, 2024 at 04:56:18PM +0200 schrieb Achilleas Mantzios - cloud:
>
>> Python IMHO is too advanced, too rich,
> Python _is_ powerful but it needn't be difficult.
>
>> weird indentation rules
> A matter of taste IMO.
>
>> no simple for loop
> Really ?
>
> Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> for idx in [0,1,2,3]: print(idx)
Dude this is like saying that for n=N the statement itself takes O(N) to
write, this is not only "not-simple", this is a darn anti-pattern , that
should be avoided at any cost in 1st year of college.
> ...
> 0
> 1
> 2
> 3
> >>>
>
> Karsten
> --
> GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
>
>
--
Achilleas Mantzios
IT DEV - HEAD
IT DEPT
Dynacom Tankers Mgmt (as agents only)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: a.mantzios@cloud.gatewaynet.com
Subject: Re: pl/pgsql outside the DB, (i.e. on the terminal) possible ?
In-Reply-To: <fae82fec-3643-46a8-818d-5a511cac5caf@cloud.gatewaynet.com>
References: <596a6961-553e-3781-7aed-9dba969a18a5@cloud.gatewaynet.com> <ZenZsCLyd4IGhYeP@hermes.hilbert.loc> <fae82fec-3643-46a8-818d-5a511cac5caf@cloud.gatewaynet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox