On 5/27/13, Craig Ringer wrote:
> We were just talking about "things we'd like to do in wire protocol 4".
>
> Allowing multi-stage authentication has come up repeatedly and should
> perhaps go on that list. The most obvious case being "ident auth failed,
> demand md5".
I'd like to use LDAP with
On 28 May 2013 01:55, Peter Eisentraut wrote:
> On Mon, 2013-05-27 at 20:43 -0300, Claudio Freire wrote:
> > On Mon, May 27, 2013 at 8:13 PM, Peter Eisentraut
> wrote:
> > > On Fri, 2013-05-24 at 16:46 -0300, Claudio Freire wrote:
> > >> Well, it's easy.
> > >>
> > >> Instead of PLyFloat_FromNum
On 05/11/2013 03:25 AM, Robert Haas wrote:
> Not really. We could potentially fix it by extending the wire
> protocol to allow the server to respond to the client's startup packet
> with a further challenge, and extend libpq to report that challenge
> back to the user and allow sending a response.
On 05/18/2013 03:15 AM, Josh Berkus wrote:
> The drawback to this is whatever size we choose is liable to be wrong
> for some users. Users who currently have a lot of 16K tables would see
> their databases grow alarmingly.
This only becomes a problem for tables that're tiny, right? If your
table
On 05/17/2013 11:38 AM, Robert Haas wrote:
> maybe with a bit of modest pre-extension.
When it comes to pre-extension, is it realistic to get a count of
backends waiting on the lock and extend the relation by (say) 2x the
number of waiting backends?
Getting a list of lock waiters is always a racey
On 05/16/2013 01:44 AM, Josh Berkus wrote:
> I'll also say:
> * we need to assign CF managers at least 2 weeks in advance of each CF *
> we need to replace them if they get too busy to follow-through,
> * and the last CF needs two managers.
Strong +1 on both of those.
I tried to pick up a CF that
On 05/27/2013 06:53 PM, Craig Ringer wrote:
On 05/28/2013 09:39 AM, Gavin Flower wrote:
Yes, I hate the Firefox style number inflation.
I was arguing *for* it ;-)
I don't like it much either, but (a) we do about one release a year, not
one every few weeks and (b) it's very clear from a quick
On 05/02/2013 12:56 AM, Greg Smith wrote:
> On 5/1/13 4:57 AM, Fabien COELHO wrote:
>> The use case of the option is to be able to generate a continuous gentle
>> load for functional tests, eg in a practice session with students or for
>> testing features on a laptop.
>
> If you add this to
> https
On 05/28/2013 09:39 AM, Gavin Flower wrote:
> Yes, I hate the Firefox style number inflation.
I was arguing *for* it ;-)
I don't like it much either, but (a) we do about one release a year, not
one every few weeks and (b) it's very clear from a quick look at Stack
Overflow or first-posts to pgsql-
On 28/05/13 11:48, Craig Ringer wrote:
On 05/27/2013 05:45 PM, Michael Paquier wrote:
On Mon, May 27, 2013 at 2:01 PM, Craig Ringer wrote:
On 05/25/2013 05:39 PM, Simon Riggs wrote:
- Switching to single-major-version release numbering. The number of
people who say "PostgreSQL 9.x" is amazing
On 05/27/2013 04:58 PM, Craig Ringer wrote:
On 05/28/2013 12:41 AM, Simon Riggs wrote:
I'm happy with that.
I was also thinking about collecting changes not related just to disk
format, if any exist.
Any wire protocol or syntax changes?
I can't seem to find a "things we want to do in wire p
On 05/03/2013 07:09 AM, Andres Freund wrote:
> We've got that in 9.3 which is absolutely fabulous! But that's not
> related to doing DMA which you cannot (and should not!) do from
> userspace.
You can do zero-copy DMA directly into userspace buffers. It requires
root (or suitable capabilities that
On 02/11/2013 07:27 AM, Jeff Janes wrote:
> I created doBenchMarkConnect() to segregate bench-marking connections from
> utility connections. At first I thought of adding the startup code to only
> the normal path and leaving support for -C in the wind, but decided that
> was just lazy.
That soun
On 05/28/2013 12:41 AM, Simon Riggs wrote:
> I'm happy with that.
>
> I was also thinking about collecting changes not related just to disk
> format, if any exist.
Any wire protocol or syntax changes?
I can't seem to find a "things we want to do in wire protocol v4" doc in
the wiki but I know I've
On Mon, 2013-05-27 at 20:43 -0300, Claudio Freire wrote:
> On Mon, May 27, 2013 at 8:13 PM, Peter Eisentraut wrote:
> > On Fri, 2013-05-24 at 16:46 -0300, Claudio Freire wrote:
> >> Well, it's easy.
> >>
> >> Instead of PLyFloat_FromNumeric[0], you can make a
> >> PLyDecimal_FromNumeric.
> >
> > P
On 05/28/2013 07:22 AM, Michael Paquier wrote:
> On Tue, May 28, 2013 at 7:52 AM, David Fetter wrote:
>
>> What's been proposed before that wouldn't break previous applications
>> is a numbering system like this:
>>
>> 10.0.0
>> 10.0.1
>> 10.0.2
>> 10.0.3
>> ...
>> 11.0.0
>> 11.0.1
>>
>> i.e. only
On 05/27/2013 05:45 PM, Michael Paquier wrote:
> On Mon, May 27, 2013 at 2:01 PM, Craig Ringer wrote:
>
>> On 05/25/2013 05:39 PM, Simon Riggs wrote:
>> - Switching to single-major-version release numbering. The number of
>> people who say "PostgreSQL 9.x" is amazing; even *packagers* get this
>>
On Mon, May 27, 2013 at 8:13 PM, Peter Eisentraut wrote:
> On Fri, 2013-05-24 at 16:46 -0300, Claudio Freire wrote:
>> Well, it's easy.
>>
>> Instead of PLyFloat_FromNumeric[0], you can make a
>> PLyDecimal_FromNumeric.
>
> Please send a patch. This would be a welcome addition.
I can write it b
On Tue, May 28, 2013 at 7:52 AM, David Fetter wrote:
> What's been proposed before that wouldn't break previous applications
> is a numbering system like this:
>
> 10.0.0
> 10.0.1
> 10.0.2
> 10.0.3
> ...
> 11.0.0
> 11.0.1
>
> i.e. only change the "most-major" version number and always leave the
>
On Fri, 2013-05-24 at 16:46 -0300, Claudio Freire wrote:
> Well, it's easy.
>
> Instead of PLyFloat_FromNumeric[0], you can make a
> PLyDecimal_FromNumeric.
Please send a patch. This would be a welcome addition.
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make
Michael Paquier escribió:
> On Tue, May 28, 2013 at 12:36 AM, Alvaro Herrera
> wrote:
> > You do -- they are used for minor releases, i.e. 10.1 would be a bugfix
> > release for 10.0. If we continue using the current numbering scheme,
> > 10.1 would be the major version after 10.0.
> >
> Sorry fo
On Tue, May 28, 2013 at 07:39:35AM +0900, Michael Paquier wrote:
> On Tue, May 28, 2013 at 12:36 AM, Alvaro Herrera
> wrote:
>
> > Michael Paquier escribió:
> > > On Mon, May 27, 2013 at 2:01 PM, Craig Ringer
> > wrote:
> > >
> > > > On 05/25/2013 05:39 PM, Simon Riggs wrote:
> > > > - Switching
On Tue, May 28, 2013 at 12:36 AM, Alvaro Herrera
wrote:
> Michael Paquier escribió:
> > On Mon, May 27, 2013 at 2:01 PM, Craig Ringer
> wrote:
> >
> > > On 05/25/2013 05:39 PM, Simon Riggs wrote:
> > > - Switching to single-major-version release numbering. The number of
> > > people who say "Post
On Mon, May 27, 2013 at 10:32 AM, Magnus Hagander wrote:
> It's been brought to my attention that I forgot to email hackers about us
> adding new committers to the project, as I planned to do when I wrote my
> blog post about it.
>
> This is the same people as were announced during the pgcon closi
Bruce Momjian wrote:
> OK, I have added a section to the TODO list for this:
>
> Desired changes that would prevent upgrades with pg_upgrade
>
> 32-bit page checksums
>
> Are there any others?
I would have each data segment be self-identifying, i.e. have a magic
number a
Bruce Momjian writes:
> On Mon, May 27, 2013 at 09:17:50AM -0400, Bruce Momjian wrote:
>> Yes, we should be collecting things we want to do for a pg_upgrade break
>> so we can see the list all in one place.
> OK, I have added a section to the TODO list for this:
> Desired changes that woul
> which makes me think that you're using some other client application
Hello,
Tom is right ( as always :-) :
http://postgresql.1045698.n5.nabble.com/bug-repeated-messages-in-pgadmin-1-18-0-Alpha-1-query-tool-messages-pane-td5755749.html
sorry for the disturbance.
Marc Maminm
___
On 27 May 2013 15:36, Tom Lane wrote:
> Bruce Momjian writes:
>> On Mon, May 27, 2013 at 08:26:48AM -0400, Stephen Frost wrote:
>>> That said, many discussions and ideas do get shut down, perhaps too
>>> early, because of pg_upgrade considerations. If we had a plan to have
>>> an incompatible re
On Mon, May 27, 2013 at 09:17:50AM -0400, Bruce Momjian wrote:
> > That said, many discussions and ideas do get shut down, perhaps too
> > early, because of pg_upgrade considerations. If we had a plan to have
> > an incompatible release in the future, those ideas and discussions might
> > be able
Tom Lane wrote:
> Bruce Momjian writes:
> > Yes, we should be collecting things we want to do for a pg_upgrade break
> > so we can see the list all in one place.
>
> Precisely. We've said right along that we reserve the right to have a
> non-upgradable disk format change whenever sufficiently m
Michael Paquier escribió:
> On Mon, May 27, 2013 at 2:01 PM, Craig Ringer wrote:
>
> > On 05/25/2013 05:39 PM, Simon Riggs wrote:
> > - Switching to single-major-version release numbering. The number of
> > people who say "PostgreSQL 9.x" is amazing; even *packagers* get this
> > wrong and produc
Hi Tom
You are right: UNION ALL is correct in terms of contents (tables
contents are disjunct) and of performance (no separate sort required
theoretically).
In my specific case even with UNION ALL the planner still chose a "Seq Scan".
Note that there is a KNN index with "ORDER BY ... <-> ..." invo
It's been brought to my attention that I forgot to email hackers about us
adding new committers to the project, as I planned to do when I wrote my
blog post about it.
This is the same people as were announced during the pgcon closing session
- Jeff Davis, Stephen frost, fujii masao and Noah misch.
Simon Riggs writes:
> On 26 May 2013 17:10, Tom Lane wrote:
>> More readable would be to invent an intermediate nonterminal falling
>> between ColId and ColLabel, whose expansion would be "IDENT |
>> unreserved_keyword | col_name_keyword | type_func_name_keyword", and
>> then replace ColId_or_Sco
Bruce Momjian writes:
> On Mon, May 27, 2013 at 08:26:48AM -0400, Stephen Frost wrote:
>> That said, many discussions and ideas do get shut down, perhaps too
>> early, because of pg_upgrade considerations. If we had a plan to have
>> an incompatible release in the future, those ideas and discussi
On Mon, May 27, 2013 at 1:42 AM, Gurjeet Singh wrote:
>
>
>> Joking about "640K" aside, it doesn't seem reasonable to expect a truly
>> enormous query as is generated by the broken forms of this logic to turn
>> out happily. I'd rather fix Slony (as done in the above patch).
>>
>
> Yes, by all m
Marc Mamin writes:
> while playing with 9.3 Beta 1 on windows, I've found following small issue:
> create table t as select 'a' from generate_series (1,20)
> the warning is returned more than once:
I can't duplicate this either.
> Abfrage war erfolgreich durchgeführt: 20 Zeilen, 312
>We may still be able to do better than what we're doing
> today, but I'm still suspicious that you're going to run into other
> issues with having 500 indexes on a table anyway.
+1. I am suspicious that the large number of indexes is the problem
here,even if the problem is not with book keeping
Maciej Gajewski writes:
> The lack of unsigned integer types is one of the biggest sources of
> grief in my daily work with pgsql.
> Before I go and start hacking, I'd like to discuss few points:
> 1. Is there a strong objection against merging this kind of patch?
Basically, there is zero chance
Maciej Gajewski wrote:
> I know this topic was discussed before, but there doesn't seem to be
> any conclusion.
>
> The lack of unsigned integer types is one of the biggest sources of
> grief in my daily work with pgsql.
>
> Before I go and start hacking, I'd like to discuss few points:
>
> 1. I
* Ben Zeev, Lior (lior.ben-z...@hp.com) wrote:
> Each query is running in a separate transaction.
Interesting. You might also compile with CATCACHE_STATS (and not
CATCACHE_FORCE_RELEASE, or perhaps with and without) and then check out
your logs after the process ends (you might need to increase t
Great, Thanks !!!
I will try and let you update
-Original Message-
From: Stephen Frost [mailto:sfr...@snowman.net]
Sent: Monday, May 27, 2013 16:29
To: Ben Zeev, Lior
Cc: Atri Sharma; Pg Hackers
Subject: Re: [HACKERS] PostgreSQL Process memory architecture
Lior,
* Ben Zeev, Lior (lior.
Lior,
* Ben Zeev, Lior (lior.ben-z...@hp.com) wrote:
> Yes, The memory utilization per PostgreSQL backend process is when running
> queries against this tables,
> For example: select * from test where num=2 and c2='abc'
> When It start it doesn't consume to much memory,
> But as it execute agains
Hi Stephen,
Each query is running in a separate transaction.
Why does portioning is done better rather than using partial index?
Thanks,
Lior
-Original Message-
From: Stephen Frost [mailto:sfr...@snowman.net]
Sent: Monday, May 27, 2013 16:15
To: Ben Zeev, Lior
Cc: Atri Sharma; Pg Hack
On 05/26/2013 06:18 PM, Josh Berkus wrote:
>> Not sure which ones Simon meant, but at least any new/better
>> storage manager would seem to me to be requiring
>> a non-pg_upgrade upgrade path unless we require the storage manager
>> to also include a parallel implementation of pg_upgrade.
> Isn't t
On Mon, May 27, 2013 at 08:26:48AM -0400, Stephen Frost wrote:
> * Bruce Momjian (br...@momjian.us) wrote:
> > If I had to _guess_, I would say users who are using the default storage
> > manager would still be able to use pg_upgrade, and those using
> > non-default storage managers perhaps can't.
Hi all
I know this topic was discussed before, but there doesn't seem to be
any conclusion.
The lack of unsigned integer types is one of the biggest sources of
grief in my daily work with pgsql.
Before I go and start hacking, I'd like to discuss few points:
1. Is there a strong objection agains
Lior,
* Ben Zeev, Lior (lior.ben-z...@hp.com) wrote:
> Yes, The memory utilization per PostgreSQL backend process is when running
> queries against this tables,
> For example: select * from test where num=2 and c2='abc'
> When It start it doesn't consume to much memory,
> But as it execute agains
Hi Stephen,
Yes, The memory utilization per PostgreSQL backend process is when running
queries against this tables,
For example: select * from test where num=2 and c2='abc'
When It start it doesn't consume to much memory,
But as it execute against more and more indexes the memory consumption grow
On 05/27/2013 01:25 PM, Ben Zeev, Lior wrote:
> Thanks Atri!
>
> Do you know why PostgreSQL store the indexes in memory per process and not in
> the shared memory?
>From shared_buffers point of view tables and indexes are identical, both
use the
same shared memory in (usually) 8KB pages
> Is there
* Atri Sharma (atri.j...@gmail.com) wrote:
> It is just a hunch, but all of your attributes are character varying.
> Could TOAST be an issue here?
TOAST tables are only created when needed. In addition, I believe
Lior's concerned about memory utilization and not disk usage; memory
utilization sho
Lior,
* Ben Zeev, Lior (lior.ben-z...@hp.com) wrote:
> The case which I'm seeing is that I have an empty table without any rows,
> Create table test (
> Num Integer,
> C1 character varying(512),
> C2 character varying(512),
> C3 character varying(512));
>
> I create several partial indexe
Hi Atri,
But TOAST only occur if the tuple size exceed 2KB, doesn't it?
Lior
-Original Message-
From: Atri Sharma [mailto:atri.j...@gmail.com]
Sent: Monday, May 27, 2013 15:39
To: Ben Zeev, Lior
Cc: Stephen Frost; Pg Hackers
Subject: Re: [HACKERS] PostgreSQL Process memory architecture
On Mon, May 27, 2013 at 6:02 PM, Ben Zeev, Lior wrote:
> Hi Stephen,
>
> The case which I'm seeing is that I have an empty table without any rows,
> Create table test (
> Num Integer,
> C1 character varying(512),
> C2 character varying(512),
> C3 character varying(512));
>
> I create sever
Hi Stephen,
The case which I'm seeing is that I have an empty table without any rows,
Create table test (
Num Integer,
C1 character varying(512),
C2 character varying(512),
C3 character varying(512));
I create several partial indexes on this table:
Create index(index_1_c1) on test(c1) wh
> I'd expect the performance issue would be from planner time more than
> memory usage- but if there is a serious memory usage issue here, then
> it'd be valuable to have a test case showing what's happening. We may
> not be releasing the sys cache in some cases or otherwise have a bug in
> this a
* Atri Sharma (atri.j...@gmail.com) wrote:
> Yes, too many indexes wont hurt much.BTW,wont making too many indexes
> on columns that probably dont have as many values as to deserve
> them(so,essentially,indiscriminately making indexes) hurt the
> performance/memory usage?
I'd expect the performanc
* Atri Sharma (atri.j...@gmail.com) wrote:
> > There's a bit of other information shared, but disk buffers are
> > certainly the bulk of it.
>
> The other information being locks?
Depends, but yes. Per-row locks are actually in the disk cache portion
of shared buffers, but heavyweight locks have
* Bruce Momjian (br...@momjian.us) wrote:
> If I had to _guess_, I would say users who are using the default storage
> manager would still be able to use pg_upgrade, and those using
> non-default storage managers perhaps can't.
That would make sense.
> But, again, this is all so hypothetical that
On Mon, May 27, 2013 at 9:16 PM, Atri Sharma wrote:
>>> AFAIK, the shared disk buffers are the only part shared between the
>>> processes.
>>
>> There's a bit of other information shared, but disk buffers are
>> certainly the bulk of it.
>
> The other information being locks?
CreateSharedMemoryA
> This is not generally a reason to avoid indexes. Indexes require more
> disk space and must be kept up to date, making them expensive to
> maintain due to increased disk i/o. Building an index uses as much
> memory as it's allowed to- it uses maintenance_work_mem to limit itself.
Yes, too many
> A better place to look would be the documentation for the release of PG
> which you are on, or the latest release otherwise, which is:
>
> http://www.postgresql.org/docs/9.2/static/storage.html
Oops,yes,sorry about that.
Thanks a ton for pointing that out.
Regards,
Atri
--
Regards,
Atri
l'
* Atri Sharma (atri.j...@gmail.com) wrote:
> If your index is big/you have too many indexes in your database, it
> should affect *all* backends accessing that specific database.
More indexes will require more disk space, certainly, but tablespaces
can be used to seperate databases, or tables, or i
Lior,
* Ben Zeev, Lior (lior.ben-z...@hp.com) wrote:
> Does each PostgreSQL process allocating in its own memory (Not shared memory)
> a cache of all the database catalog which it access during the SQL execution?
PG will look up and cache the catalog information regarding all of the
relations in
Lior,
* Ben Zeev, Lior (lior.ben-z...@hp.com) wrote:
> Do you know why PostgreSQL store the indexes in memory per process and not in
> the shared memory?
The disk blocks from an index are not stored per-process, they are kept
in shared memory. When building an index, PG can only use one process
>> AFAIK, the shared disk buffers are the only part shared between the
>> processes.
>
> There's a bit of other information shared, but disk buffers are
> certainly the bulk of it.
The other information being locks?
Regards,
Atri
--
Regards,
Atri
l'apprenant
--
Sent via pgsql-hackers maili
* Atri Sharma (atri.j...@gmail.com) wrote:
> On Mon, May 27, 2013 at 3:41 PM, Ben Zeev, Lior wrote:
> > Do you have idea what may be the reason that PostgreSQL process consume
> > more memory when there are more partial indexes on the DB table?
It might use a bit more, but it shouldn't be excess
* Atri Sharma (atri.j...@gmail.com) wrote:
> > Does each PostgreSQL process allocating in its own memory (Not shared
> > memory) a cache of all the database catalog which it access during the SQL
> > execution?
This information is pulled into a backend-local cache, but it should
only be cached whi
On Sun, May 26, 2013 at 09:18:41PM -0400, Stephen Frost wrote:
> * Josh Berkus (j...@agliodbs.com) wrote:
> > and it's entirely possible that we'll be able to implement SMs without
> > breaking pgupgrade.
>
> I'd certainly hope so.. It's certainly not obvious, to me at least,
> why a new SM or su
> An index is built in backend process's local memory, but, when
> accessing, index pages are stored in shared memory. That is, for
> example, when an index scan is performed, index pages are brought into
> shared memory and accessed from there.
>
>
Yes, brought into the shared disk buffers and re
On Mon, May 27, 2013 at 7:25 PM, Ben Zeev, Lior wrote:
> Thanks Atri!
>
> Do you know why PostgreSQL store the indexes in memory per process and not in
> the shared memory?
> Is there a way to prevent it store the indexes data per process, and force it
> storing it in the shared memory?
>
An in
On Mon, May 27, 2013 at 3:55 PM, Ben Zeev, Lior wrote:
> Thanks Atri!
>
> Do you know why PostgreSQL store the indexes in memory per process and not in
> the shared memory?
> Is there a way to prevent it store the indexes data per process, and force it
> storing it in the shared memory?
Ok, so
On Monday, May 27, 2013 3:07 PM Marc Mamin wrote:
> Hello,
> while playing with 9.3 Beta 1 on windows, I've found following small
issue:
> create table t as select 'a' from generate_series (1,20)
> the warning is returned more than once:
> WARNUNG: Spalte "?column?" hat Typ "un
On 26 May 2013 17:10, Tom Lane wrote:
> Heikki Linnakangas writes:
> More readable would be to invent an intermediate nonterminal falling
> between ColId and ColLabel, whose expansion would be "IDENT |
> unreserved_keyword | col_name_keyword | type_func_name_keyword", and
> then replace ColId_or
On 26 May 2013 16:35, Heikki Linnakangas wrote:
>> My attempts to fix that look pretty ugly, so I'm not even going to
>> post them. I can stop the error on binary by causing errors on csv and
>> text, obviously not a fix. Any grammar based fix looks like it would
>> restrict the list of formats,
Thanks Atri!
Do you know why PostgreSQL store the indexes in memory per process and not in
the shared memory?
Is there a way to prevent it store the indexes data per process, and force it
storing it in the shared memory?
Lior
-Original Message-
From: Atri Sharma [mailto:atri.j...@gma
On Mon, May 27, 2013 at 3:41 PM, Ben Zeev, Lior wrote:
> Hi Atri,
>
> Thanks for your answer!
> Do you have idea what may be the reason that PostgreSQL process consume more
> memory when there are more partial indexes on the DB table?
Well, I am not too sure, but indexes always take up more spa
Hello,
while playing with 9.3 Beta 1 on windows, I've found following small issue:
create table t as select 'a' from generate_series (1,20)
the warning is returned more than once:
WARNUNG: Spalte "?column?" hat Typ "unknown"
DETAIL: Relation wird trotzdem erzeugt.
WARNUNG:
On Mon, May 27, 2013 at 2:01 PM, Craig Ringer wrote:
> On 05/25/2013 05:39 PM, Simon Riggs wrote:
> - Switching to single-major-version release numbering. The number of
> people who say "PostgreSQL 9.x" is amazing; even *packagers* get this
> wrong and produce "postgresql-9" packages. Witness Ama
> Does each PostgreSQL process allocating in its own memory (Not shared
> memory) a cache of all the database catalog which it access during the SQL
> execution?
>
> I mean does each process holds all the catalog indexes data which it
> accessed, all the catalog index statistics etc’ accessed
AFAI
Hi,
I have a question regarding the memory consumption per process in PostgreSQL 9.2
Does each PostgreSQL process allocating in its own memory (Not shared memory) a
cache of all the database catalog which it access during the SQL execution?
I mean does each process holds all the catalog indexes
81 matches
Mail list logo