[HACKERS] pg_dump and inherited attributes

2002-09-24 Thread Alvaro Herrera

Hi,

I'm looking at pg_dump/common.c:flagInhAttrs() and suspect that it can
be more or less rewritten completely, and probably should to get rigth
all the cases mentioned in the past attisinherited discussion.  Is this
desirable for 7.3?  It can probably be hacked around and the rewrite
kept for 7.4, but I think it will be much simpler after the rewrite.

What do people think about this?

-- 
Alvaro Herrera (alvherre[a]atentus.com)
Siempre hay que alimentar a los dioses, aunque la tierra este seca (Orual)


---(end of broadcast)---
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



[HACKERS] pg_dump and inherited attributes

2002-09-24 Thread Alvaro Herrera


Hi,

I'm looking at pg_dump/common.c:flagInhAttrs() and suspect that it can
be more or less rewritten completely, and probably should to get rigth
all the cases mentioned in the past attisinherited discussion.  Is this
desirable for 7.3?  It can probably be hacked around and the rewrite
kept for 7.4, but I think it will be much simpler after the rewrite.

What do people think about this?

-- 
Alvaro Herrera (alvherre[a]atentus.com)
Siempre hay que alimentar a los dioses, aunque la tierra este seca (Orual)



---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster



Re: [HACKERS] pg_dump and inherited attributes

2002-09-24 Thread Tom Lane

Alvaro Herrera [EMAIL PROTECTED] writes:
 I'm looking at pg_dump/common.c:flagInhAttrs() and suspect that it can
 be more or less rewritten completely, and probably should to get rigth
 all the cases mentioned in the past attisinherited discussion.  Is this
 desirable for 7.3?  It can probably be hacked around and the rewrite
 kept for 7.4, but I think it will be much simpler after the rewrite.

If it's a bug then it's fair game to fix in 7.3.  But keep in mind that
pg_dump has to behave at least somewhat sanely when called against older
servers ... will your rewrite behave reasonably if the server does not
offer attinhcount values?

regards, tom lane

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster