pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedDoes postgresq database supports reading data from the same table from many observable simultanousely?
6+ messages / 5 participants
[nested] [flat]
* Does postgresq database supports reading data from the same table from many observable simultanousely?
@ 2017-12-22 18:53 hmidi slim <hmidi.slim2@gmail.com>
2017-12-22 19:00 ` Re: Does postgresq database supports reading data from the same table from many observable simultanousely? Andreas Kretschmer <andreas@a-kretschmer.de>
2017-12-22 19:06 ` Re: Does postgresq database supports reading data from the same table from many observable simultanousely? Chris Ellis <chris.ellis.intrbiz@googlemail.com>
0 siblings, 2 replies; 6+ messages in thread
From: hmidi slim @ 2017-12-22 18:53 UTC (permalink / raw)
To: pgsql-general
Hi,
I don't know if is it the suitable place to ask my question but I want to
know if a table in a postgres database enable multiple reading actions for
mayn rxjs observbles or not.
I create two observables that need to access the same table simultanously
to get data, but I found that only one of them receive data.
I'm not sure if the problem may be come from the database or not that's why
I asked my question.
Best regards.
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Does postgresq database supports reading data from the same table from many observable simultanousely?
2017-12-22 18:53 Does postgresq database supports reading data from the same table from many observable simultanousely? hmidi slim <hmidi.slim2@gmail.com>
@ 2017-12-22 19:00 ` Andreas Kretschmer <andreas@a-kretschmer.de>
2017-12-22 19:20 ` Re: Does postgresq database supports reading data from the same table from many observable simultanousely? hmidi slim <hmidi.slim2@gmail.com>
1 sibling, 1 reply; 6+ messages in thread
From: Andreas Kretschmer @ 2017-12-22 19:00 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org; hmidi slim <hmidi.slim2@gmail.com>; pgsql-general
On 22 December 2017 19:53:03 CET, hmidi slim <hmidi.slim2@gmail.com> wrote:
>Hi,
>I don't know if is it the suitable place to ask my question but I want
>to
>know if a table in a postgres database enable multiple reading actions
>for
>mayn rxjs observbles or not.
Not sure if i understand your question. But for sure PG is able to serve multiple clients at the same time.
Regards, Andreas
--
2ndQuadrant - The PostgreSQL Support Company
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Does postgresq database supports reading data from the same table from many observable simultanousely?
2017-12-22 18:53 Does postgresq database supports reading data from the same table from many observable simultanousely? hmidi slim <hmidi.slim2@gmail.com>
2017-12-22 19:00 ` Re: Does postgresq database supports reading data from the same table from many observable simultanousely? Andreas Kretschmer <andreas@a-kretschmer.de>
@ 2017-12-22 19:20 ` hmidi slim <hmidi.slim2@gmail.com>
2017-12-22 19:29 ` Re: Does postgresq database supports reading data from the same table from many observable simultanousely? James Keener <jim@jimkeener.com>
2017-12-22 21:39 ` Re: Does postgresq database supports reading data from the same table from many observable simultanousely? Joshua D. Drake <jd@commandprompt.com>
0 siblings, 2 replies; 6+ messages in thread
From: hmidi slim @ 2017-12-22 19:20 UTC (permalink / raw)
To: Andreas Kretschmer <andreas@a-kretschmer.de>; +Cc: pgsql-general
But is it possible to make simultanoues select queries from the same
connection?
2017-12-22 20:00 GMT+01:00 Andreas Kretschmer <andreas@a-kretschmer.de>:
> On 22 December 2017 19:53:03 CET, hmidi slim <hmidi.slim2@gmail.com>
> wrote:
> >Hi,
> >I don't know if is it the suitable place to ask my question but I want
> >to
> >know if a table in a postgres database enable multiple reading actions
> >for
> >mayn rxjs observbles or not.
>
> Not sure if i understand your question. But for sure PG is able to serve
> multiple clients at the same time.
>
> Regards, Andreas
>
>
> --
> 2ndQuadrant - The PostgreSQL Support Company
>
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Does postgresq database supports reading data from the same table from many observable simultanousely?
2017-12-22 18:53 Does postgresq database supports reading data from the same table from many observable simultanousely? hmidi slim <hmidi.slim2@gmail.com>
2017-12-22 19:00 ` Re: Does postgresq database supports reading data from the same table from many observable simultanousely? Andreas Kretschmer <andreas@a-kretschmer.de>
2017-12-22 19:20 ` Re: Does postgresq database supports reading data from the same table from many observable simultanousely? hmidi slim <hmidi.slim2@gmail.com>
@ 2017-12-22 19:29 ` James Keener <jim@jimkeener.com>
1 sibling, 0 replies; 6+ messages in thread
From: James Keener @ 2017-12-22 19:29 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org; hmidi slim <hmidi.slim2@gmail.com>; Andreas Kretschmer <andreas@a-kretschmer.de>; +Cc: pgsql-general
Connections are synchronous. You can have multiple connections to the database at a time.
Jim
On December 22, 2017 2:20:03 PM EST, hmidi slim <hmidi.slim2@gmail.com> wrote:
>But is it possible to make simultanoues select queries from the same
>connection?
>
>2017-12-22 20:00 GMT+01:00 Andreas Kretschmer
><andreas@a-kretschmer.de>:
>
>> On 22 December 2017 19:53:03 CET, hmidi slim <hmidi.slim2@gmail.com>
>> wrote:
>> >Hi,
>> >I don't know if is it the suitable place to ask my question but I
>want
>> >to
>> >know if a table in a postgres database enable multiple reading
>actions
>> >for
>> >mayn rxjs observbles or not.
>>
>> Not sure if i understand your question. But for sure PG is able to
>serve
>> multiple clients at the same time.
>>
>> Regards, Andreas
>>
>>
>> --
>> 2ndQuadrant - The PostgreSQL Support Company
>>
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Does postgresq database supports reading data from the same table from many observable simultanousely?
2017-12-22 18:53 Does postgresq database supports reading data from the same table from many observable simultanousely? hmidi slim <hmidi.slim2@gmail.com>
2017-12-22 19:00 ` Re: Does postgresq database supports reading data from the same table from many observable simultanousely? Andreas Kretschmer <andreas@a-kretschmer.de>
2017-12-22 19:20 ` Re: Does postgresq database supports reading data from the same table from many observable simultanousely? hmidi slim <hmidi.slim2@gmail.com>
@ 2017-12-22 21:39 ` Joshua D. Drake <jd@commandprompt.com>
1 sibling, 0 replies; 6+ messages in thread
From: Joshua D. Drake @ 2017-12-22 21:39 UTC (permalink / raw)
To: hmidi slim <hmidi.slim2@gmail.com>; Andreas Kretschmer <andreas@a-kretschmer.de>; +Cc: pgsql-general
On 12/22/2017 11:20 AM, hmidi slim wrote:
> But is it possible to make simultanoues select queries from the same
> connection?
Yes but it will happen serially.
JD
--
Command Prompt, Inc. || http://the.postgres.company/ || @cmdpromptinc
PostgreSQL centered full stack support, consulting and development.
Advocate: @amplifypostgres || Learn: https://postgresconf.org
***** Unless otherwise stated, opinions are my own. *****
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Does postgresq database supports reading data from the same table from many observable simultanousely?
2017-12-22 18:53 Does postgresq database supports reading data from the same table from many observable simultanousely? hmidi slim <hmidi.slim2@gmail.com>
@ 2017-12-22 19:06 ` Chris Ellis <chris.ellis.intrbiz@googlemail.com>
1 sibling, 0 replies; 6+ messages in thread
From: Chris Ellis @ 2017-12-22 19:06 UTC (permalink / raw)
To: hmidi slim <hmidi.slim2@gmail.com>; +Cc: pgsql-general
Hi
On 22 Dec 2017 6:53 pm, "hmidi slim" <hmidi.slim2@gmail.com> wrote:
> Hi,
> I don't know if is it the suitable place to ask my question but I want to
> know if a table in a postgres database enable multiple reading actions for
> mayn rxjs observbles or not.
> I create two observables that need to access the same table simultanously
> to get data, but I found that only one of them receive data.
> I'm not sure if the problem may be come from the database or not that's
> why I asked my question.
> Best regards.
>
I'm assuming you are accessing PostgreSQL via RX Javascript?
If that is the case, then this question has nothing to do with PostgreSQL
and is a question for whatever RXJS implementation you are using.
Regards,
Chris
>
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2017-12-22 21:39 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-12-22 18:53 Does postgresq database supports reading data from the same table from many observable simultanousely? hmidi slim <hmidi.slim2@gmail.com>
2017-12-22 19:00 ` Andreas Kretschmer <andreas@a-kretschmer.de>
2017-12-22 19:20 ` hmidi slim <hmidi.slim2@gmail.com>
2017-12-22 19:29 ` James Keener <jim@jimkeener.com>
2017-12-22 21:39 ` Joshua D. Drake <jd@commandprompt.com>
2017-12-22 19:06 ` Chris Ellis <chris.ellis.intrbiz@googlemail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox