Re: [HACKERS] Horizontal scalability/sharding

2015-09-04 Thread Ozgun Erdogan
Hey Robert, Now the question is, where should the code that does all of this live? > postgres_fdw? Some new, sharding-specific FDW? In core? I don't > know for sure, but what I do know is that we could make a lot of > progress over where we are today by just improving postgres_fdw, and I > don

[HACKERS] Command counter increment vs updating an active snapshot

2012-04-13 Thread Ozgun Erdogan
Hi all (re-posting from pgsql-general), I'm looking into Postgres' internals, and had two quick questions that relate to each other. (1) What's the difference between advancing the command counter and updating an active snapshot? For example, I see that DefineRelation() increments the command cou