comp.lang.ada
 help / color / mirror / Atom feed
From: briot.emmanuel@gmail.com
Subject: Re: Prepared_Statement :(
Date: Sat, 24 Nov 2018 09:56:29 -0800 (PST)
Date: 2018-11-24T09:56:29-08:00	[thread overview]
Message-ID: <e75fd330-c195-498b-a776-86f23541aae7@googlegroups.com> (raw)
In-Reply-To: <9468b0a5-19bd-4057-a0d8-f84ed0425188@googlegroups.com>

> > >        Conn   : Database_Connection := Build_Database_Connection;


You only show part of your code, this always makes things difficult.
I don't know how you build the connection, but my guess is that you actually build a sqlite connection, not postgresql.

"?" is how sqlite represents parameters. Postgresql uses $1, $2,... So the query is not working.

https://www.postgresql.org/docs/10/sql-prepare.html


  reply	other threads:[~2018-11-24 17:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-24 10:45 Prepared_Statement :( eduardsapotski
2018-11-24 10:48 ` eduardsapotski
2018-11-24 11:05 ` Dmitry A. Kazakov
2018-11-24 11:20   ` eduardsapotski
2018-11-24 17:56     ` briot.emmanuel [this message]
2018-11-24 20:00       ` Simon Wright
2018-11-24 20:45       ` Dmitry A. Kazakov
2018-11-26  6:52       ` eduardsapotski
2018-11-27  0:27         ` Dennis Lee Bieber
2018-11-27  8:46           ` Dmitry A. Kazakov
2018-11-27  8:51             ` briot.emmanuel
2018-11-24 11:29 ` eduardsapotski
2018-11-27  9:58 ` eduardsapotski
2018-11-27 18:00   ` Dmitry A. Kazakov
2018-11-27 19:02     ` Björn Lundin
2018-11-28  5:04 ` eduardsapotski
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox