Re: SELECT * FROM <table> LIMIT 1; is really slow

Поиск
Список
Период
Сортировка
Искать

Re: SELECT * FROM <table> LIMIT 1; is really slow

От:
"Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>
Дата:

> What would be useful for that (as of 7.5) is a dummy ALTER TABLE TYPE,
> viz
> 
> 	ALTER TABLE tab ALTER COLUMN col TYPE same-type-it-already-has

I think we should add special syntax for this purpose, since I would like to
(or someone else later on) see all possible cases of "alter column" short 
circuited.

The syntax I would see fit is something like:
ALTER TABLE tab [MOVE] TABLESPACE xy;

For the above special case the tablespace would be the same as before.

Andreas

FAQ