Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sWLr9-00EdZw-4P for pgsql-general@arkaria.postgresql.org; Tue, 23 Jul 2024 20:11:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sWLr7-00G39f-5q for pgsql-general@arkaria.postgresql.org; Tue, 23 Jul 2024 20:11:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sWLr6-00G39X-Og for pgsql-general@lists.postgresql.org; Tue, 23 Jul 2024 20:11:29 +0000 Received: from smtp-13.smtpout.orange.fr ([80.12.242.13] helo=smtp.smtpout.orange.fr) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sWLr3-0015T5-94 for pgsql-general@postgresql.org; Tue, 23 Jul 2024 20:11:27 +0000 Received: from X250.home ([90.65.196.45]) by smtp.orange.fr with ESMTPA id WLqzsCS624i5oWLqzsEcqX; Tue, 23 Jul 2024 22:11:22 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1721765482; bh=p9KoeyTLZ6jBnOEtQrFOKl8kJzG1c65gvfBuNdhNCMs=; h=Date:From:To:Subject:Message-Id:Mime-Version; b=GlJTNbkQj0si2kyCHwgALQL5b3Q1OjMKdN7+ZWS3EKcSlpIO2m78rgWLYRCqn4JYr Am33lTJ2b7m1WskZPaF1STtNRVv9mYtni0yPeymknQ3zAPUU0pltQ82Pbm9C9CLoQN JiW5Er8qDr/oo0DaOZPhdgpWv9BeVTY76/vTtDB+wm3/jZxaQRKwg3yrow2QdaU3n0 0sLJ1bmtvBwn9a4QFzfkeQDZ7iSkkd227hWOk5fL1shls5U2uk/FoANDvnHM+e2i6M QN7HKhqavyIiuEz/gcXrw7QcuS0lTY3Lt8yshFpTPFH8emOGFqUV9E04QpNIq+xqhq v8q/WyBt344gg== X-ME-Helo: X250.home X-ME-Auth: dnYubGlzdHNAd2FuYWRvby5mcg== X-ME-Date: Tue, 23 Jul 2024 22:11:22 +0200 X-ME-IP: 90.65.196.45 Date: Tue, 23 Jul 2024 22:11:21 +0200 From: Vincent Veyron To: Dan Kortschak Cc: pgsql-general@postgresql.org Subject: Re: re-novice coming back to pgsql: porting an SQLite update statement to postgres Message-Id: <20240723221121.51f2b3872d0ebfc36a6fa8ff@wanadoo.fr> In-Reply-To: <1aea530e4c96109b91fdde53a29e38beb625dc77.camel@kortschak.io> References: <1aea530e4c96109b91fdde53a29e38beb625dc77.camel@kortschak.io> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 15 Jul 2024 20:31:13 +0000 Dan Kortschak wrote: > My question is where would be the best place for me to looks to learn > about how to implement a port of this SQLite? and what would broadly be > the most sensible approach to take (to narrow down what I need to read > through in learning)? >=20 This is the goto page for anything SQL : https://www.postgresql.org/docs/current/sql-commands.html For DateTime types : https://www.postgresql.org/docs/current/datatype-datetime.html For JSON types : https://www.postgresql.org/docs/current/datatype-json.html If your query works in SQLite, all you have to do is read those, and try to= port; if it fails, read them again. Also search the archives of the pgsql-= general list, many answers in there --=20 Bien =E0 vous, Vincent Veyron=20 https://compta.libremen.com Logiciel libre de comptabilit=E9 g=E9n=E9rale en partie double