agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: intmail01@gmail.com <intmail01@gmail.com>
To: pgsql-sql@lists.postgresql.org
Subject: Dialog box, passing parameter fails
Date: Fri, 20 Sep 2019 22:20:42 +0000
Message-ID: <44284ac2-aec2-1d47-080a-e9d5c3cd34b6@gmail.com> (raw)

Hi, I am using Postgresql 9.5 as server and Libreoffice BASE 5.2.4 to
connect to the server.

The code SQL must be sent directly and not be interpreted by Libo Base
because there are some complex syntax (functions, variables, ...).

Also, I need passing parameters to control some ranges. ex:  dates.

But, postgresql can not understand passing parameters with either ? or :
syntax which open a dialog box.

eg: select * from agenda where date= ?

The execution of code ode fails in direct mode.

What are solutions ? cant postgresql bypass some parts of the code 
where I put parameters request ?

Thank you

view thread (3+ messages)  latest in thread

Message-ID: <44284ac2-aec2-1d47-080a-e9d5c3cd34b6@gmail.com>
Permalink:  ../44284ac2-aec2-1d47-080a-e9d5c3cd34b6@gmail.com/
Also on:    postgresql.org/message-id/44284ac2-aec2-1d47-080a-e9d5c3cd34b6@gmail.com

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: intmail01@gmail.com, pgsql-sql@lists.postgresql.org
  Subject: Re: Dialog box, passing parameter fails
  In-Reply-To: <44284ac2-aec2-1d47-080a-e9d5c3cd34b6@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox