Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iBORo-0006Wv-DP for pgsql-sql@arkaria.postgresql.org; Fri, 20 Sep 2019 19:20:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iBORn-0000k0-2u for pgsql-sql@arkaria.postgresql.org; Fri, 20 Sep 2019 19:20:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iBORm-0000jp-Oc for pgsql-sql@lists.postgresql.org; Fri, 20 Sep 2019 19:20:02 +0000 Received: from mail-qt1-x830.google.com ([2607:f8b0:4864:20::830]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iBORk-0001Gk-0C for pgsql-sql@lists.postgresql.org; Fri, 20 Sep 2019 19:20:02 +0000 Received: by mail-qt1-x830.google.com with SMTP id r5so9986231qtd.0 for ; Fri, 20 Sep 2019 12:19:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=reply-to:to:from:subject:message-id:disposition-notification-to :date:user-agent:mime-version:content-language; bh=DHYddMezH0pd7R0CFcpjHBMLRGKd6p+Es3pQC214KI0=; b=A8/k+GY6m15wmONP8NnUlb+2/uxjo8kENVsMhlGJRMgPw2qC/v2t52Wyq2jPGrwqqL cWg8W4WkFUzijax9uLf1NX1wBUTYuDxX28+gKMG+qgzvtgVM9Fjm9K+6t4uSbLiEl3Av K0Ugn0To99ZREqpXEby0uF8BK9KgABOc6MyYUxZ/j7M4gAuztx0OZNBlpFMMcFsfk/0e Zu3dn0psX38jiACb7iRhrXQ+/fX6gj82R6h5ju61eLq8cM3m4SeYrYC3rkm0K4zySHA3 6RpFPEFfT5wFeTgu1oWr/dAC4d4VpujR+fdIwmKAxSKuPSCXL5MaOXCbJpLfXp00qaoJ 2FVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:to:from:subject:message-id :disposition-notification-to:date:user-agent:mime-version :content-language; bh=DHYddMezH0pd7R0CFcpjHBMLRGKd6p+Es3pQC214KI0=; b=WFdUfW4qXneu/skn5YPYdPaMUzQ1nJRED9SJKJNeJ6becmfxTb7E0ID3eqvPYY8CKc tMhQlbjXaRTLyULJV+PJ4+gMrSPLqxyXmTWDcvF/3KB2RhVMmsAhYhrjY5HtB+Zz+TG2 uO/H+KUekN8ue0Lp9KMWT3iOVqaLYuk5VBPjSVfeM+pOnd+H07UerDb2fbRiUy6eBnQz zUKQikgmkHUdQmT8WIAU+db2tB5VJzuo4LXuwBW3t5RXejD+tEp8LFyDopjhgNCvCNUK q3BAYPpLtZb+T1F23wA17FvsHig3cDFHID55I7NR1cOdhYZMgSUH6vzntlObi8Ujkl+t vnvQ== X-Gm-Message-State: APjAAAX903HEiYw+NuGJjRmPNsPcf9gRjmyblaqnWvOz/Gbch3Py7v3d o2eYXT6N0KRUJFQIz0VaMEthHGJt X-Google-Smtp-Source: APXvYqxTEtWZ+HQuQeYqtOqamhXmvoNuq8bZt/VJoW9ZzhTZ4c5LcFmpVTFIgtNYbZ/oPBgSlpPffA== X-Received: by 2002:a0c:9952:: with SMTP id i18mr14813519qvd.202.1569007197023; Fri, 20 Sep 2019 12:19:57 -0700 (PDT) Received: from [192.168.8.100] ([154.126.10.173]) by smtp.gmail.com with ESMTPSA id j17sm1897136qta.0.2019.09.20.12.19.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Sep 2019 12:19:56 -0700 (PDT) Reply-To: intmail01@gmail.com To: pgsql-sql@lists.postgresql.org X-Priority: 1 (Highest) From: "intmail01@gmail.com" Subject: Dialog box, passing parameter fails Message-ID: <44284ac2-aec2-1d47-080a-e9d5c3cd34b6@gmail.com> Disposition-Notification-To: "intmail01@gmail.com" Date: Fri, 20 Sep 2019 22:20:42 +0000 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------AC5B206AAB1FB3BFB0ABB286" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------AC5B206AAB1FB3BFB0ABB286 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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 --------------AC5B206AAB1FB3BFB0ABB286 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

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

--------------AC5B206AAB1FB3BFB0ABB286--