![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
I found it very irritating at first, but when I discovered that I could tab my way to syscatalogs by using "pg_catalog." as prefix, I started feeling it was actually a nice behavior. |
#2
| |||
| |||
|
|
On Tue, Oct 28, 2003 at 04:48:59PM -0500, Tom Lane wrote: AFAICT there was no discussion about this issue when the patch was proposed and applied. But now that the point is raised I have to say that I don't like this change. I don't think system catalogs should be excluded from tab completion. They never were before 7.4, and I have not seen anyone complaining about that, other than Ian. I found it very irritating at first, but when I discovered that I could tab my way to syscatalogs by using "pg_catalog." as prefix, I started feeling it was actually a nice behavior. |
#3
| |||
| |||
|
|
Alvaro Herrera Munoz <alvherre (AT) dcc (DOT) uchile.cl> writes: I found it very irritating at first, but when I discovered that I could tab my way to syscatalogs by using "pg_catalog." as prefix, I started feeling it was actually a nice behavior. Hm. Okay, Ian isn't completely alone then ;-) I tried out that approach just now, though, and found that I still had to type at least "pg_c" before I could get any tab completion help at all. Another odd thing was that after completing "pg_catalog.", it wouldn't go any further --- one must type "p" here, even though all the possible completions begin "pg_". (Possibly that could be fixed, but I don't know readline's behavior well enough to be sure.) |
|
So that's five typed characters and two tabs before one starts getting into the system catalogs. That seems like a lot of typing. If Ian were willing to type one more character of his p-something table names before hitting tab (I assume he's not calling them pg-something), |
|
then he'd not have a problem with the availability of tab completion for system catalogs. |
#4
| |||
| |||
|
|
On Tuesday 28 October 2003 23:47, Tom Lane wrote: Another odd thing was that after completing "pg_catalog.", it wouldn't go any further --- one must type "p" here, even though all the possible completions begin "pg_". (Possibly that could be fixed, but I don't know readline's behavior well enough to be sure.) I'm not sure whether it's intended or not, but explicitly adding pg_catalog to the search path alleviates this. |
#5
| |||
| |||
|
|
AFAICT there was no discussion about this issue when the patch was proposed and applied. But now that the point is raised I have to say that I don't like this change. I don't think system catalogs should be excluded from tab completion. They never were before 7.4, and I have not seen anyone complaining about that, other than Ian. |
#6
| |||
| |||
|
|
AFAICT there was no discussion about this issue when the patch was proposed and applied. But now that the point is raised I have to say that I don't like this change. I don't think system catalogs should be excluded from tab completion. They never were before 7.4, and I have not seen anyone complaining about that, other than Ian. Comments anyone? |
![]() |
| Thread Tools | |
| Display Modes | |
| |