Open 6.4 items
Open 6.4 items
От:
Bruce Momjian <maillist@candle.pha.pa.us>
Дата:
We still have some release-stoppper items on this list. I need to integrate the cidr type into the system. --------------------------------------------------------------------------- Possible additions ------------------ cidr/IP address type(Tom Helbekkmo) rewrite system(Jan) notify fixes(Tom) Serious Bugs ------------ change pg args for platforms that don't support argv changes (setproctitle()?, sendmail hack?) have psql dump out rules text with new function man pages/sgml synchronization generate html/postscript documentation generate postmaster pid file and remove flock/fcntl lock code CREATE TABLE test (x text, s serial) fails if no database creation permission SELECT * FROM pg_rules WHERE pg_rules.oid = pg_class.oid crashes handle oid's on views by either disallowing it or meaningful results CREATE INDEX i_test ON pg_class (upper(relname)) fails New Bugs -------- cnf-ify still can exhaust memory, make SET KSQO more generic permissions on indexes: what do they do? should it be prevented? low level locking - work-in-progress for 6.5 improve reporting of syntax errors by showing location of error in query use index with constants on functions allow chaining of pages to allow >8k tuples allow multiple generic operators in expressions without the use of parentheses document/trigger/rule so changes to pg_shadow create pg_pwd large objects orphanage improve group handling no min/max for oid type -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Re: [HACKERS] Open 6.4 items
От:
jwieck@debis.com (Jan Wieck)
Дата:
>
> We still have some release-stoppper items on this list.
>
> I need to integrate the cidr type into the system.
>
> ---------------------------------------------------------------------------
>
> Possible additions
> ------------------
> cidr/IP address type(Tom Helbekkmo)
> rewrite system(Jan)
I'm still waiting for 2 patches I sent to you to get applied.
Subjects where:
rewrite rules patch
Fix for pg_views/pg_rules and new system views
Do you need them again?
Still must tidy up the rewrite stuff and add the checks for
rules on select. But I would like the two patches applied
first to get in sync with CVS.
> notify fixes(Tom)
>
> Serious Bugs
> ------------
> change pg args for platforms that don't support argv changes
> (setproctitle()?, sendmail hack?)
> have psql dump out rules text with new function
This requires the second patch, because it covers subselect
backparsing for pg_get_ruledef.
> man pages/sgml synchronization
> generate html/postscript documentation
> generate postmaster pid file and remove flock/fcntl lock code
> CREATE TABLE test (x text, s serial) fails if no database creation permission
> SELECT * FROM pg_rules WHERE pg_rules.oid = pg_class.oid crashes
Will take a look at it.
> handle oid's on views by either disallowing it or meaningful results
> CREATE INDEX i_test ON pg_class (upper(relname)) fails
Don't functional indices need an operator class too?
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#======================================== jwieck@debis.com (Jan Wieck) #Re: [HACKERS] Open 6.4 items
От:
darcy@druid.net (D'Arcy J.M. Cain)
Дата:
Thus spake Bruce Momjian > Possible additions > ------------------ > cidr/IP address type(Tom Helbekkmo) > rewrite system(Jan) > notify fixes(Tom) What about the completion of PRIMARY KEY? I know that we are putting FOREIGN KEY support off for a later version. Does that mean full PRIMARY KEY hs been put off too? All that is left is to actually set the relevant indisprimary bool in pg_index. I guess it also needs to be added to pg_dump output as well as suppressing the related CREATE INDEX. -- D'Arcy J.M. Cain | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 424 2871 (DoD#0082) (eNTP) | what's for dinner.
Re: [HACKERS] Open 6.4 items
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Bruce Momjian writes: > We still have some release-stoppper items on this list. I'm a little confused by this list. Some of these are things we clearly have gotta do before 6.4 release, but some others are things I thought were being put off for another day. Wouldn't it help to mark the list items with priorities? Perhaps distinguish "must fix for 6.4", "would like to have in 6.4", "future work". regards, tom lane
Re: [HACKERS] Open 6.4 items
От:
Bruce Momjian <maillist@candle.pha.pa.us>
Дата:
> Bruce Momjian writes: > > We still have some release-stoppper items on this list. > > I'm a little confused by this list. Some of these are things we clearly > have gotta do before 6.4 release, but some others are things I thought > were being put off for another day. Wouldn't it help to mark the list > items with priorities? Perhaps distinguish "must fix for 6.4", "would > like to have in 6.4", "future work". OK, but I normally don't make those decisions myself as to which are which. -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Re: [HACKERS] Open 6.4 items
От:
Bruce Momjian <maillist@candle.pha.pa.us>
Дата:
> > > > We still have some release-stoppper items on this list. > > > > I need to integrate the cidr type into the system. > > > > --------------------------------------------------------------------------- > > > > Possible additions > > ------------------ > > cidr/IP address type(Tom Helbekkmo) > > rewrite system(Jan) > > I'm still waiting for 2 patches I sent to you to get applied. > Subjects where: > > rewrite rules patch > > Fix for pg_views/pg_rules and new system views > > Do you need them again? I am afraid I do. I don't have them. > > Still must tidy up the rewrite stuff and add the checks for > rules on select. But I would like the two patches applied > first to get in sync with CVS. > > > notify fixes(Tom) > > > > Serious Bugs > > ------------ > > change pg args for platforms that don't support argv changes > > (setproctitle()?, sendmail hack?) > > have psql dump out rules text with new function > > This requires the second patch, because it covers subselect > backparsing for pg_get_ruledef. > > > man pages/sgml synchronization > > generate html/postscript documentation > > generate postmaster pid file and remove flock/fcntl lock code > > CREATE TABLE test (x text, s serial) fails if no database creation permission > > SELECT * FROM pg_rules WHERE pg_rules.oid = pg_class.oid crashes > > Will take a look at it. > > > handle oid's on views by either disallowing it or meaningful results > > CREATE INDEX i_test ON pg_class (upper(relname)) fails > > Don't functional indices need an operator class too? yes. -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Re: [HACKERS] Open 6.4 items
От:
jwieck@debis.com (Jan Wieck)
Дата:
>
> > >
> > > We still have some release-stoppper items on this list.
> > >
> > > I need to integrate the cidr type into the system.
> > >
> > > ---------------------------------------------------------------------------
> > >
> > > Possible additions
> > > ------------------
> > > cidr/IP address type(Tom Helbekkmo)
> > > rewrite system(Jan)
> >
> > I'm still waiting for 2 patches I sent to you to get applied.
> > Subjects where:
> >
> > rewrite rules patch
> >
> > Fix for pg_views/pg_rules and new system views
> >
> > Do you need them again?
>
> I am afraid I do. I don't have them.
>
Here's a combination of all the patches I'm currently waiting
for against a just updated CVS tree. It contains
Partial new rewrite system that handles subselects, view
aggregate columns, insert into select from view, updates
with set col = view-value and select rules restriction to
view definition.
Updates for rule/view backparsing utility functions to
handle subselects correct.
Little changes to system views pg_rules and pg_views.
New system views pg_tables and pg_indexes (where you can
see the complete index definition in the latter one).
Enabling array references on query parameters.
Bugfix for functional index.
The rule system isn't a release-stopper any longer.
But another stopper is that I don't know if the latest
changes to PL/pgSQL (not already in CVS) made it compile on
AIX. Still wait for some response from Dave.
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#======================================== jwieck@debis.com (Jan Wieck) #
begin 644 combined.diff.gz
M'XL("*WQ%#8"`V-O;6)I;F5D+F1I9F8`U#QK<]O&KI_57['*:1.]9=G.P_:)
M.Q[':7TGM5/'33]T.AI:7$EL*%+ADG9\TOSW"V`?W"6IARVW:3,9R2*Q6`"+
MQ6M!^L%XS+JCA(EDU(N38-*_\D8?>.3WO=&("]$/(I]_DI_>K#="N!4@W[1:
MK771U5XG`3L?I8QML\'S_>W=_=T7;+"W]^*;;K>[QES%\<_W=Y[+\2WW'Q&U
M\VR[L_/L!:,+C-5J-<:NXCAD+2]-S[(P;,+5SWCGE9=FLUHMX6F61.^]\.";
M.JLA:*T6"(0\`"@$#,:L\38.HI0GIP(``[\Q/HW&<9,]?LQ>GTYX^C:)1^?Y
MY?I+=AI=(R!^=7$Z6:$A/2.9[EIX\
M@,S;>!G5)%WMT
M3H$QQ`D?)0&<;0I5>W\NH45;VY7D+QR]>EKR#_-DX(3K;B_5!-LP#OK
MP[+!R[5BL+W=&6S;OK,V1QEV#^DKO9US-`7H,%@:!_Y!!=`P#0.1(M@;_(9M
M??;+FS=J.1$XX2(+"0`7"0%HG,9UE7#O@_HA93_R!&>7PZ/A";"T3UP3H<^V
M;+5Y>$+15LZCV%4-<)MGIV^:"N2S^JXA"K"VK!7XGP!E<1C:*0UZ,P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T]>L78+(%C"0M-JKD$\$P7S3&UV
M,@+5"(;V1)4M.8/.TXH*O@J[17\$EC`-HFF12]5>A5;&FU5P(64G;L7(&TUY
M<;2\ZXW"^YT-',WGX>T%2"(`TX:^HE$N>%N>A)$GZ0`2>71IU\)595Q):4CE
MO1Q2%\@-@`1O48$JX#YFZ9HR68"'Y(;F%(WE-?@..Y[)K(:LLYQ2=W"I%&8X
M#KU)ASF5??FCA:G'<)[$/L2OPJ:"Y$-3*P&\RZ[>!-$'=6*%VE*=[4Y^M+*AVK=+BATNU_N'V17M:@",:^5M\U^)4TD!^Z98JR28
MLKZJ`(GI=
Re: [HACKERS] Open 6.4 items
От:
Bruce Momjian <maillist@candle.pha.pa.us>
Дата:
> Here's a combination of all the patches I'm currently waiting > for against a just updated CVS tree. It contains > > Partial new rewrite system that handles subselects, view > aggregate columns, insert into select from view, updates > with set col = view-value and select rules restriction to > view definition. > > Updates for rule/view backparsing utility functions to > handle subselects correct. > > Little changes to system views pg_rules and pg_views. > > New system views pg_tables and pg_indexes (where you can > see the complete index definition in the latter one). > > Enabling array references on query parameters. > > Bugfix for functional index. > > The rule system isn't a release-stopper any longer. > > But another stopper is that I don't know if the latest > changes to PL/pgSQL (not already in CVS) made it compile on > AIX. Still wait for some response from Dave. > Applied. -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Re: [HACKERS] Open 6.4 items
От:
jwieck@debis.com (Jan Wieck)
Дата:
> > > SELECT * FROM pg_rules WHERE pg_rules.oid = pg_class.oid crashes
> >
> > Will take a look at it.
> >
Please apply the patch at the end. Disables use of system
columns of views at all (not only oid, cmin etc. too).
pgsql=> select cmin from pg_rules;
ERROR: system column cmin not available - pg_rules is a view
pgsql=> select * from pg_rules where pg_rules.oid = pg_class.oid;
ERROR: system column oid not available - pg_rules is a view
pgsql=>
initdb and regression tests still O.K.
> > > handle oid's on views by either disallowing it or meaningful results
> > > CREATE INDEX i_test ON pg_class (upper(relname)) fails
Fixed by earlier applied patch.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#======================================== jwieck@debis.com (Jan Wieck) #
diff -cr src.orig/backend/rewrite/rewriteHandler.c src/backend/rewrite/rewriteHandler.c
*** src.orig/backend/rewrite/rewriteHandler.c Fri Oct 2 19:32:27 1998
--- src/backend/rewrite/rewriteHandler.c Fri Oct 2 19:43:15 1998
***************
*** 1777,1782 ****
--- 1777,1784 ----
var->varno == rt_index) {
Node *exp;
+ if (var->varattno < 0)
+ elog(ERROR, "system column %s not available - %s is a view", get_attname(rte->relid, var->varattno), rte->relname);
exp = FindMatchingTLEntry(
tlist,
get_attname(rte->relid,Re: [HACKERS] Open 6.4 items
От:
Bruce Momjian <maillist@candle.pha.pa.us>
Дата:
Applied.
> > > > SELECT * FROM pg_rules WHERE pg_rules.oid = pg_class.oid crashes
> > >
> > > Will take a look at it.
> > >
>
> Please apply the patch at the end. Disables use of system
> columns of views at all (not only oid, cmin etc. too).
>
> pgsql=> select cmin from pg_rules;
> ERROR: system column cmin not available - pg_rules is a view
> pgsql=> select * from pg_rules where pg_rules.oid = pg_class.oid;
> ERROR: system column oid not available - pg_rules is a view
> pgsql=>
>
> initdb and regression tests still O.K.
>
> > > > handle oid's on views by either disallowing it or meaningful results
> > > > CREATE INDEX i_test ON pg_class (upper(relname)) fails
>
> Fixed by earlier applied patch.
>
>
> Jan
>
> --
>
> #======================================================================#
> # It's easier to get forgiveness for being wrong than for being right. #
> # Let's break this rule - forgive me. #
> #======================================== jwieck@debis.com (Jan Wieck) #
>
> diff -cr src.orig/backend/rewrite/rewriteHandler.c src/backend/rewrite/rewriteHandler.c
> *** src.orig/backend/rewrite/rewriteHandler.c Fri Oct 2 19:32:27 1998
> --- src/backend/rewrite/rewriteHandler.c Fri Oct 2 19:43:15 1998
> ***************
> *** 1777,1782 ****
> --- 1777,1784 ----
> var->varno == rt_index) {
> Node *exp;
>
> + if (var->varattno < 0)
> + elog(ERROR, "system column %s not available - %s is a view", get_attname(rte->relid, var->varattno), rte->relname);
> exp = FindMatchingTLEntry(
> tlist,
> get_attname(rte->relid,
>
--
Bruce Momjian | http://www.op.net/~candle
maillist@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Re: [HACKERS] Open 6.4 items
От:
"Marc G. Fournier" <scrappy@hub.org>
Дата:
On Fri, 2 Oct 1998, Bruce Momjian wrote:
> Serious Bugs
> ------------
> change pg args for platforms that don't support argv changes
> (setproctitle()?, sendmail hack?)
I'll try and dive into this on Tuesday night...maybe even
afternoon...will use sendmail as a basis for it, which *should* hit most
of the operating systems out there...
Marc G. Fournier scrappy@hub.org
Systems Administrator @ hub.org
scrappy@{postgresql|isc}.org ICQ#7615664
Re: [HACKERS] Open 6.4 items
От:
Bruce Momjian <maillist@candle.pha.pa.us>
Дата:
> On Fri, 2 Oct 1998, Bruce Momjian wrote: > > > Serious Bugs > > ------------ > > change pg args for platforms that don't support argv changes > > (setproctitle()?, sendmail hack?) > > I'll try and dive into this on Tuesday night...maybe even > afternoon...will use sendmail as a basis for it, which *should* hit most > of the operating systems out there... Let me remind you what has to be done. We need to use set_proctitle() for those platforms that have it. I don't have it here, but Linux does. Second, we need to determine if set_proctitle is a cheap function by looking at the library source code. Third, we need a 'configure' test to see if the modification of argv[0] displays in the ps output. If modification of argv[0] works, use it, as the current code does. If not, then if set_proctitle() is available, use to change the backend 'ps' display on backend startup, and if it is cheap, use it to change status for every command. If a platform has neither, use the sendmail code to change the ps display on backend startup only. The sendmail code it so slow to use for every command, I think. -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026