Re: [HACKERS] Re: [COMMITTERS] pgsql: Reduce checkpoints and WAL traffic on low activity database serv

2011-11-02 Thread Tom Lane
Greg Smith writes: > On 11/02/2011 05:48 PM, Simon Riggs wrote: >> You're missing the point that it never was like that. I've not altered >> the situation. > Robert's point is more that the existing docs are already broken; this > new patch can just increase how bad the drift between reality and

Re: [HACKERS] superusers are members of all roles?

2011-11-02 Thread Robert Haas
On Wed, Nov 2, 2011 at 3:27 PM, Andrew Dunstan wrote: > Patch with a small docs addition also. Adding to Nov commitfest. I have reviewed this and it looks good to me. Marking Ready for Committer. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Se

Re: [HACKERS] pg_upgrade if 'postgres' database is dropped

2011-11-02 Thread Robert Haas
On Wed, Nov 2, 2011 at 8:31 PM, Bruce Momjian wrote: > Robert Haas wrote: >> >> > If nobody objects, I'll go do that. ?Hopefully that should be enough >> >> > to put this problem to bed more or less permanently. >> >> >> >> All right, I've worked up a (rather boring and tedious) patch to do >> >>

Re: [HACKERS] unite recovery.conf and postgresql.conf

2011-11-02 Thread Josh Berkus
Simon, > Everyone has their own set of requirements. I've tried hard to fuse > those together into a useful proposal, listening to all. Please bear > in mind that I make my living in exactly the same way you do, so you > must surely be aware I do this solely in the common interest. Thank you for

Re: [HACKERS] pg_upgrade if 'postgres' database is dropped

2011-11-02 Thread Bruce Momjian
Robert Haas wrote: > >> > If nobody objects, I'll go do that. ?Hopefully that should be enough > >> > to put this problem to bed more or less permanently. > >> > >> All right, I've worked up a (rather boring and tedious) patch to do > >> this, which is attached. > > > > I wonder if we should bother

Re: [HACKERS] Re: [COMMITTERS] pgsql: Reduce checkpoints and WAL traffic on low activity database serv

2011-11-02 Thread Greg Smith
On 11/02/2011 05:48 PM, Simon Riggs wrote: On Wed, Nov 2, 2011 at 6:27 PM, Robert Haas wrote: Again, it's no longer the maximum time between automatic checkpoints. You're missing the point that it never was like that. I've not altered the situation. Robert's point is more that

Re: [HACKERS] Re: [COMMITTERS] pgsql: Force strings passed to and from plperl to be in UTF8 encoding.

2011-11-02 Thread Alex Hunsaker
On Wed, Nov 2, 2011 at 17:12, Andrew Dunstan wrote: >>> Considering that the issue appears to have been ignored from >>> mid-February until early October, I don't see why it should now get to >>> jump to the head of the queue.  Other people may have different >>> opinions, of course. >> >> Added.

Re: [HACKERS] Re: [COMMITTERS] pgsql: Force strings passed to and from plperl to be in UTF8 encoding.

2011-11-02 Thread Andrew Dunstan
On 10/07/2011 12:51 PM, Alex Hunsaker wrote: On Wed, Oct 5, 2011 at 20:36, Robert Haas wrote: On Wed, Oct 5, 2011 at 5:03 PM, Alex Hunsaker wrote: On Wed, Oct 5, 2011 at 08:18, Robert Haas wrote: On Wed, Oct 5, 2011 at 3:58 AM, Amit Khandekar wrote: I have no more issues with the patch

Re: [HACKERS] heap vacuum & cleanup locks

2011-11-02 Thread Robert Haas
On Tue, Jun 7, 2011 at 3:24 PM, Greg Stark wrote: > Well it's super-exclusive-vacuum-lock avoidance techniques. Why > shouldn't it make more sense to try to reduce the frequency and impact > of the single-purpose outlier in a non-critical-path instead of > burdening every other data reader with ex

Re: [HACKERS] pg_dump --exclude-table-data

2011-11-02 Thread Andrew Dunstan
On 09/02/2011 03:15 PM, Josh Berkus wrote: OK, this seems to have some pluses and no negative comments, so it seems worth going forward. Do we want an equivalent pg_restore option? I'm not sure it's *as* important for pg_restore, since I can easily use a manifest to avoid restoring data for

Re: [HACKERS] psql setenv command

2011-11-02 Thread Andrew Dunstan
On 09/26/2011 05:16 PM, Andrew Dunstan wrote: On 09/26/2011 05:07 PM, Jeff Janes wrote: But in any case, considering that we are both wondering if it works on Windows, I think that argues that an automatic regression test would be very handy. I think an automated test should be possible

Re: GiST for range types (was Re: [HACKERS] Range Types - typo + NULL string constructor)

2011-11-02 Thread Heikki Linnakangas
On 02.11.2011 22:59, Heikki Linnakangas wrote: I'll dig deeper into this tomorrow... Forgot to mention: I have pushed what I have done this far to my git repository at git://git.postgresql.org/git/users/heikki/postgres.git, if you want to take a look. Nothing major, just garden-variety cleanu

Re: GiST for range types (was Re: [HACKERS] Range Types - typo + NULL string constructor)

2011-11-02 Thread Heikki Linnakangas
On 01.11.2011 06:33, Jeff Davis wrote: On Mon, 2011-10-24 at 15:05 +0400, Alexander Korotkov wrote: I think implementing subtype_diff for each datatype is ok. We could implement some universal function based on minus operator and casting to double precision. But such solution might be unaccept

Re: [HACKERS] unite recovery.conf and postgresql.conf

2011-11-02 Thread Simon Riggs
On Wed, Nov 2, 2011 at 6:48 PM, Josh Berkus wrote: > Well, as someone who sets up and admins replication for a bunch of > clients, here's what I'd like to see: Everyone has their own set of requirements. I've tried hard to fuse those together into a useful proposal, listening to all. Please bear

Re: [HACKERS] Re: [COMMITTERS] pgsql: Reduce checkpoints and WAL traffic on low activity database serv

2011-11-02 Thread Simon Riggs
On Wed, Nov 2, 2011 at 6:27 PM, Robert Haas wrote: > Again, it's no longer the maximum time between automatic checkpoints. You're missing the point that it never was like that. I've not altered the situation. And it doesn't matter either, so I will ignore. If you see a need to correct those do

Re: GiST for range types (was Re: [HACKERS] Range Types - typo + NULL string constructor)

2011-11-02 Thread Tom Lane
Heikki Linnakangas writes: > On 01.11.2011 06:33, Jeff Davis wrote: >> + else if (lower1.infinite || upper1.infinite) >> + length1 = 1.0/0.0; > That seems wrong. I take it that the point is to set length1 to infinity? Please use get_float[48]_infinity() or get_float[48]_nan()

Re: GiST for range types (was Re: [HACKERS] Range Types - typo + NULL string constructor)

2011-11-02 Thread Heikki Linnakangas
On 01.11.2011 06:33, Jeff Davis wrote: On Mon, 2011-10-24 at 15:05 +0400, Alexander Korotkov wrote: I think implementing subtype_diff for each datatype is ok. We could implement some universal function based on minus operator and casting to double precision. But such solution might be unaccept

Re: [HACKERS] superusers are members of all roles?

2011-11-02 Thread Andrew Dunstan
On 09/11/2011 09:40 PM, Andrew Dunstan wrote: On 09/09/2011 11:34 PM, Bruce Momjian wrote: Robert Haas wrote: On Sat, May 7, 2011 at 11:42 PM, Bruce Momjian wrote: Is this a TODO? I think so. Added to TODO: Address problem where superusers are assumed to be members of all groups

Re: [HACKERS] [v9.2] Fix Leaky View Problem

2011-11-02 Thread Tom Lane
Kohei KaiGai writes: > The reason why I redefined the relid of RangeTblEntry is to avoid > the problem when security_barrier attribute get changed by concurrent > transactions between rewriter and planenr stage. This is complete nonsense. If the information is being injected into the querytree b

Re: [HACKERS] unite recovery.conf and postgresql.conf

2011-11-02 Thread Robert Haas
On Wed, Nov 2, 2011 at 2:48 PM, Josh Berkus wrote: > Is anyone working on SET PERSISTENT?  I thought that got bike-shedded to > death. I think we had a fairly good sketch of how it could work mapped out, mostly based around adding a postgresql.auto file. I could dig up the old discussions, if ne

Re: [HACKERS] unite recovery.conf and postgresql.conf

2011-11-02 Thread Josh Berkus
RH, Simon, > I think that might have some possibilities. But how does that work in > detail? If you set it to empty, then the recovery_* parameters are > just GUCs, I suppose: which seems fine. But if you set it to a > non-empty value then what happens, exactly? The recovery.conf > settings cl

[HACKERS] Re: [COMMITTERS] pgsql: Reduce checkpoints and WAL traffic on low activity database serv

2011-11-02 Thread Robert Haas
On Wed, Nov 2, 2011 at 12:34 PM, Simon Riggs wrote: > On Wed, Nov 2, 2011 at 4:15 PM, Robert Haas wrote: >> On Wed, Nov 2, 2011 at 11:39 AM, Simon Riggs wrote: >>> Reduce checkpoints and WAL traffic on low activity database server >>> Previously, we skipped a checkpoint if no WAL had been writte

Re: [HACKERS] pg_upgrade if 'postgres' database is dropped

2011-11-02 Thread Robert Haas
On Wed, Nov 2, 2011 at 2:05 PM, Bruce Momjian wrote: > Robert Haas wrote: >> > However, we need to rethink the flag to be used for this: pg_dumpall >> > uses -l, but many of the other utilities already use that for some >> > other purpose, and it's not exactly mnemonic anyway. ?"-d" for >> > datab

Re: [HACKERS] IDLE in transaction introspection

2011-11-02 Thread Scott Mead
On Wed, Nov 2, 2011 at 4:12 AM, Albe Laurenz wrote: > Andrew Dunstan wrote: > > On 11/01/2011 09:52 AM, Tom Lane wrote: > >> I'm for just redefining the query field as "current or last > >> query". > > > > +1 > > > >> I could go either way on whether to rename it. > > > > Rename it please. "curren

Re: [HACKERS] Single pass vacuum - take 2

2011-11-02 Thread Robert Haas
On Fri, Sep 23, 2011 at 12:37 PM, Robert Haas wrote: > I'm still not really comfortable with the handling of vacuum > generation numbers. Pavan and I spent a bit of time today talking about how many vacuum generation numbers we need to have in order for this scheme to work. Before my memory fades

Re: [HACKERS] pg_upgrade if 'postgres' database is dropped

2011-11-02 Thread Bruce Momjian
Robert Haas wrote: > > However, we need to rethink the flag to be used for this: pg_dumpall > > uses -l, but many of the other utilities already use that for some > > other purpose, and it's not exactly mnemonic anyway. ?"-d" for > > database could work, but that's also in use in some places, and >

Re: [HACKERS] [v9.2] Fix Leaky View Problem

2011-11-02 Thread Kohei KaiGai
2011/11/2 Robert Haas : > On Wed, Nov 2, 2011 at 7:34 AM, Kohei KaiGai wrote: >> [ new patch, with example query plans ] > > I like the look of those query plans. > > Redefining the RangeTblEntry's relid field to be valid for either a > table or a subquery that originated from a view seems problem

Re: [HACKERS] Core Extensions relocation

2011-11-02 Thread Josh Berkus
On 11/2/11 8:25 AM, Greg Smith wrote: > On 10/14/2011 01:48 PM, Bruce Momjian wrote: >> Is this going to be done for 9.2? >> > > Refreshing this patch is on my list of things to finish before the next > CommitFest starts later this month. Put me down as reviewer. -- Josh Berkus PostgreSQL

Re: [HACKERS] DeArchiver process

2011-11-02 Thread Simon Riggs
On Wed, Nov 2, 2011 at 5:20 PM, Tom Lane wrote: > Dimitri Fontaine writes: >> The only part of your proposal that I don't like is the process name, >> that "deArchiver" thing.  "wal restore process" or something like that >> would be better.  We already have "wal writer process" and "wal sender >

Re: [HACKERS] DeArchiver process

2011-11-02 Thread Tom Lane
Dimitri Fontaine writes: > The only part of your proposal that I don't like is the process name, > that "deArchiver" thing. "wal restore process" or something like that > would be better. We already have "wal writer process" and "wal sender > process" and "wal receiver process". +1, "restore" s

Re: [HACKERS] DeArchiver process

2011-11-02 Thread Robert Haas
On Wed, Nov 2, 2011 at 12:42 PM, Simon Riggs wrote: > Any standby can now become a sender node, so the meaning in that case > would be the same. That takes a little time to get your head around, > and I'm not used to it myself yet. I think a new parameter will be more clear, even if in practice t

Re: [HACKERS] DeArchiver process

2011-11-02 Thread Simon Riggs
On Wed, Nov 2, 2011 at 4:14 PM, Robert Haas wrote: > On Wed, Nov 2, 2011 at 11:56 AM, Simon Riggs wrote: >> My solution is to create a new process called the DeArchiver. This >> will run restore_command in a tight loop until the number of files >> would exceed wal_keep_files, then sleep. Each tim

[HACKERS] heap_page_prune comments

2011-11-02 Thread Robert Haas
The following comment - or at least the last sentence thereof - appears to be out of date. /* * XXX Should we update the FSM information of this page ? * * There are two schools of thought here. We may not want to update FSM * information so that the pag

Re: [HACKERS] DeArchiver process

2011-11-02 Thread Dimitri Fontaine
Simon Riggs writes: > My solution is to create a new process called the DeArchiver. This > will run restore_command in a tight loop until the number of files > would exceed wal_keep_files, then sleep. Each time the DeArchiver > executes restore_command it will set the return code and if rc=0 the >

Re: [HACKERS] DeArchiver process

2011-11-02 Thread Robert Haas
On Wed, Nov 2, 2011 at 11:56 AM, Simon Riggs wrote: > My solution is to create a new process called the DeArchiver. This > will run restore_command in a tight loop until the number of files > would exceed wal_keep_files, then sleep. Each time the DeArchiver > executes restore_command it will set t

Re: [HACKERS] [v9.2] Fix Leaky View Problem

2011-11-02 Thread Robert Haas
On Wed, Nov 2, 2011 at 7:34 AM, Kohei KaiGai wrote: > [ new patch, with example query plans ] I like the look of those query plans. Redefining the RangeTblEntry's relid field to be valid for either a table or a subquery that originated from a view seems problematic to me, though. For one thing,

[HACKERS] DeArchiver process

2011-11-02 Thread Simon Riggs
Currently, the Startup process is responsible for running restore_command. So when the Startup process is busy or waiting, then no new WAL files arrive. That has these effects * Recovery must wait while the Startup process requests next WAL file. This reduces performance of archive recovery. * If

Re: [HACKERS] Hot Backup with rsync fails at pg_clog if under load

2011-11-02 Thread Chris Redekop
okay, sorry I'm a little confused then. Should I be able to apply both the v2 patch as well as the v3 patch? or is it expected that I'd have to manually do the merge? On Wed, Nov 2, 2011 at 1:34 AM, Simon Riggs wrote: > On Wed, Nov 2, 2011 at 2:40 AM, Chris Redekop wrote: > > > looks like th

Re: [HACKERS] Core Extensions relocation

2011-11-02 Thread Greg Smith
On 10/14/2011 01:48 PM, Bruce Momjian wrote: Is this going to be done for 9.2? Refreshing this patch is on my list of things to finish before the next CommitFest starts later this month. -- Greg Smith 2ndQuadrant USg...@2ndquadrant.com Baltimore, MD PostgreSQL Training, Services,

Re: [HACKERS] [PATCH] Deferrable unique constraints vs join removal -- bug?

2011-11-02 Thread Marti Raudsepp
On Sun, Oct 23, 2011 at 21:39, Tom Lane wrote: >> I will try to come up with a new patch in a few days (haven't had too >> much time lately). > > Oh, I did it already. Cool. I noticed now that you didn't add a regression test for this fix. Perhaps you could reuse the test from my patch, which al

Re: [HACKERS] Thoughts on "SELECT * EXCLUDING (...) FROM ..."?

2011-11-02 Thread Eric Ridge
On Tue, Nov 1, 2011 at 11:47 PM, Tom Lane wrote: > Doesn't mean anything, I think --- the SQL standard seems to exclude it. > It's fairly hard to prevent it at the grammar level, since we regard > "foo.*" as a type of primitive expression, but I suspect it might be a > good idea for transformTarg

Re: [HACKERS] removing =>(text, text) in 9.2

2011-11-02 Thread Robert Haas
On Wed, Nov 2, 2011 at 12:36 AM, David E. Wheeler wrote: > On Nov 1, 2011, at 11:19 AM, Robert Haas wrote: >>> Fair enough. >> >> So, I tried to work up a patch for this, but I'm actually a bit >> confused about what needs to be done here.  I'll attach what I've got >> so far as a starting point f

[HACKERS] Compile file_fdw with Mingw Developer Studio

2011-11-02 Thread pasman pasmański
Hi. Is possible to use Mingw Developer Studio to compile parts of postgres (file_fdw) ? Anybody tried it ? pasman -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] Hot Standby startup with overflowed snapshots

2011-11-02 Thread Chris Redekop
oopsreply-to-all -- Forwarded message -- From: Chris Redekop Date: Wed, Nov 2, 2011 at 8:41 AM Subject: Re: [HACKERS] Hot Standby startup with overflowed snapshots To: Simon Riggs Sure, I've got quite a few logs lying around - I've attached 3 of 'em...let me know if there a

Re: [HACKERS] pg_upgrade if 'postgres' database is dropped

2011-11-02 Thread Robert Haas
On Sat, Oct 29, 2011 at 4:07 PM, Robert Haas wrote: > On Fri, Oct 28, 2011 at 9:22 PM, Bruce Momjian wrote: >> OK, the attached, applied patch removes the pg_upgrade dependency on the >> 'postgres' database existing in the new cluster.  However, vacuumdb, >> used by pg_upgrade, still has this dep

Re: [HACKERS] Refactor xlog.c #1 - startup.c

2011-11-02 Thread Simon Riggs
On Wed, Nov 2, 2011 at 1:44 PM, Magnus Hagander wrote: > Double prototypes seems to me like it's a cure worse than the disease to me... Doubling them was just a mistake. Anyway, thats gone now. --  Simon Riggs   http://www.2ndQuadrant.com/  PostgreSQL Development, 24x7 Support,

Re: [HACKERS] Thoughts on "SELECT * EXCLUDING (...) FROM ..."?

2011-11-02 Thread Andrew Dunstan
On 11/02/2011 09:56 AM, Tom Lane wrote: Andrew Dunstan writes: On 11/02/2011 03:16 AM, Valentine Gogichashvili wrote: Putting aside arguments like "it is not a good idea to use * because it generates not sustainable code especially in case when you extend table structure", I think this cons

Re: [HACKERS] Thoughts on "SELECT * EXCLUDING (...) FROM ..."?

2011-11-02 Thread Tom Lane
Andrew Dunstan writes: > On 11/02/2011 03:16 AM, Valentine Gogichashvili wrote: >> Putting aside arguments like "it is not a good idea to use * because >> it generates not sustainable code especially in case when you extend >> table structure", I think this construct would be really nice for >

Re: [HACKERS] Refactor xlog.c #1 - startup.c

2011-11-02 Thread Magnus Hagander
On Wed, Nov 2, 2011 at 14:33, Simon Riggs wrote: > On Wed, Nov 2, 2011 at 1:14 PM, Robert Haas wrote: >> On Wed, Nov 2, 2011 at 4:44 AM, Simon Riggs wrote: >>> Patch removes stuff related to "startup process" and creates files >>> under src/$DIR/postmaster for this code. >>> >>> This makes start

Re: [HACKERS] Refactor xlog.c #1 - startup.c

2011-11-02 Thread Simon Riggs
On Wed, Nov 2, 2011 at 1:14 PM, Robert Haas wrote: > On Wed, Nov 2, 2011 at 4:44 AM, Simon Riggs wrote: >> Patch removes stuff related to "startup process" and creates files >> under src/$DIR/postmaster for this code. >> >> This makes startup process look more like bgwriter, walwriter etc.. > > I

Re: [HACKERS] Thoughts on "SELECT * EXCLUDING (...) FROM ..."?

2011-11-02 Thread Andrew Dunstan
On 11/02/2011 03:16 AM, Valentine Gogichashvili wrote: Putting aside arguments like "it is not a good idea to use * because it generates not sustainable code especially in case when you extend table structure", I think this construct would be really nice for building ROWs, for example in p

Re: [HACKERS] Refactor xlog.c #1 - startup.c

2011-11-02 Thread Robert Haas
On Wed, Nov 2, 2011 at 4:44 AM, Simon Riggs wrote: > Patch removes stuff related to "startup process" and creates files > under src/$DIR/postmaster for this code. > > This makes startup process look more like bgwriter, walwriter etc.. In general, +1. But I don't think we want duplicate function

Re: [HACKERS] Thoughts on "SELECT * EXCLUDING (...) FROM ..."?

2011-11-02 Thread Stephen Frost
* Pavel Stehule (pavel.steh...@gmail.com) wrote: > I understand it, it is really bad idea use a star in export queries It's not how I'd want to automate things, but I hardly see it being a "really bad idea" for ad-hoc COPY usage.. Stephen signature.asc Description: Digital signature

Re: [HACKERS] Hot Backup with rsync fails at pg_clog if under load

2011-11-02 Thread Simon Riggs
On Wed, Nov 2, 2011 at 7:34 AM, Simon Riggs wrote: > On Wed, Nov 2, 2011 at 2:40 AM, Chris Redekop wrote: > >> looks like the v3 patch re-introduces the pg_subtrans issue... > > No, I just separated the patches to be clearer about the individual changes. 3 bug fixes committed and back patched.

Re: [HACKERS] unite recovery.conf and postgresql.conf

2011-11-02 Thread Simon Riggs
On Wed, Nov 2, 2011 at 1:11 AM, Josh Berkus wrote: > There is no way we're getting distro packagers to switch from pg_ctl > start.  Also, a lot of distros use the "postgres" command rather than > pg_ctl anything. So backwards compatibility is important for downstream software. --  Simon Riggs 

Re: [HACKERS] unite recovery.conf and postgresql.conf

2011-11-02 Thread Simon Riggs
On Wed, Nov 2, 2011 at 1:11 AM, Josh Berkus wrote: > There is no way we're getting distro packagers to switch from pg_ctl > start.  Also, a lot of distros use the "postgres" command rather than > pg_ctl anything. So backwards compatibility is important for downstream software. --  Simon Riggs 

Re: [HACKERS] unite recovery.conf and postgresql.conf

2011-11-02 Thread Simon Riggs
On Wed, Nov 2, 2011 at 1:45 AM, Robert Haas wrote: > I think that might have some possibilities.  But how does that work in > detail? My thoughts also. I want to see the detail on an alternate proposal so we can decide things sensibly. --  Simon Riggs   http://www.2ndQuadrant.c

Re: [HACKERS] Hot Standby startup with overflowed snapshots

2011-11-02 Thread Simon Riggs
On Fri, Oct 28, 2011 at 3:42 AM, Chris Redekop wrote: > On a side note I am sporadically seeing another error on hotstandby startup. >  I'm not terribly concerned about it as it is pretty rare and it will work > on a retry so it's not a big deal.  The error is "FATAL:  out-of-order XID > insertio

[HACKERS] Refactor xlog.c #1 - startup.c

2011-11-02 Thread Simon Riggs
Patch removes stuff related to "startup process" and creates files under src/$DIR/postmaster for this code. This makes startup process look more like bgwriter, walwriter etc.. Other refactoring patches to follow, chipping away at xlog.c. --  Simon Riggs   http://www.2ndQuadrant.

Re: [HACKERS] IDLE in transaction introspection

2011-11-02 Thread Albe Laurenz
Andrew Dunstan wrote: > On 11/01/2011 09:52 AM, Tom Lane wrote: >> I'm for just redefining the query field as "current or last >> query". > > +1 > >> I could go either way on whether to rename it. > > Rename it please. "current_query" will just be wrong. I'd be inclined > just to call it "query"

Re: [HACKERS] Hot Backup with rsync fails at pg_clog if under load

2011-11-02 Thread Simon Riggs
On Wed, Nov 2, 2011 at 2:40 AM, Chris Redekop wrote: > looks like the v3 patch re-introduces the pg_subtrans issue... No, I just separated the patches to be clearer about the individual changes. --  Simon Riggs   http://www.2ndQuadrant.com/  PostgreSQL Development, 24x7 Support

Re: [HACKERS] Thoughts on "SELECT * EXCLUDING (...) FROM ..."?

2011-11-02 Thread Valentine Gogichashvili
On Sun, Oct 30, 2011 at 22:12, Eric Ridge wrote: > > Yes. It's basically a modifier to the star that immediately precedes > it. In order to support excluding multiple columns, it needs parens: > SELECT foo.* EXCLUDING (foo.x, foo.y), bar.* EXCLUDING (bar.y), > baz.z, (a+b) AS c > > but yes,