public inbox for [email protected]  
help / color / mirror / Atom feed
From: Sanchari Biswas <[email protected]>
To: Aditya Toshniwal <[email protected]>
Cc: pgadmin-hackers <[email protected]>
Subject: Re: Conditional Tables Feature on PostGresSQL
Date: Mon, 25 Oct 2021 00:30:24 -0400
Message-ID: <CAGDF-HS32cDLahxxnvPZ9AVLQQNRhUFfski+xbo1oSVkJ+ipUw@mail.gmail.com> (raw)
In-Reply-To: <CAM9w-_mhjSEDfGatyVP3tk5Tana88eRoMQ++5Sv-a7Yu7WpTPg@mail.gmail.com>
References: <[email protected]>
	<CAM9w-_mhjSEDfGatyVP3tk5Tana88eRoMQ++5Sv-a7Yu7WpTPg@mail.gmail.com>

Hi Aditya,

Can we use variables in any column and then have (Boolean) constraints over
the variables?
Eg. x as a variable value and then corresponding condition (x ≠ 5 || x ≠
10).
So that this condition is satisfied when queried with values of column
(with variable x) other than the above two and the condition converts to
actual constant values, and returns tuples with that actual value.

Thanks,
Sanchari.

On Mon, Oct 25, 2021, 12:11 AM Aditya Toshniwal <
[email protected]> wrote:

> Hi Sanchari,
>
> You can use the query tool to write anonymous blocks. Else, can you please
> explain with an example what exactly is the requirement ?
>
> On Fri, Oct 22, 2021 at 10:05 PM Sanchari Biswas (Shrina) <
> [email protected]> wrote:
>
>> Hello,
>>
>> Is there any existing feature that enables the use of conditional tables
>> on PostGreSQL, specifically the usage of variables, and implementing those
>> variables in our (complex) queries?
>>
>> Thanks,
>> Sanchari.
>>
>>
>
> --
> Thanks,
> Aditya Toshniwal
> pgAdmin Hacker | Software Architect | *edbpostgres.com*
> <http://edbpostgres.com;
> "Don't Complain about Heat, Plant a TREE"
>


view thread (4+ messages)  latest in thread

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: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Conditional Tables Feature on PostGresSQL
  In-Reply-To: <CAGDF-HS32cDLahxxnvPZ9AVLQQNRhUFfski+xbo1oSVkJ+ipUw@mail.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