Re: pl/pgsql outside the DB, (i.e. on the terminal) possible ?

From: Achilleas Mantzios <a(dot)mantzios(at)cloud(dot)gatewaynet(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: pl/pgsql outside the DB, (i.e. on the terminal) possible ?
Date: 2024-03-07 18:04:21
Message-ID: fae82fec-3643-46a8-818d-5a511cac5caf@cloud.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Στις 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)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Achilleas Mantzios 2024-03-07 18:10:18 Re: pl/pgsql outside the DB, (i.e. on the terminal) possible ?
Previous Message Robert Treat 2024-03-07 16:44:14 Re: pl/pgsql outside the DB, (i.e. on the terminal) possible ?