Skip to site navigation (Press enter)

Re: [HACKERS] SELECT * FROM LIMIT 1; is really slow

Zeugswetter Andreas SB SD Thu, 27 May 2004 01:53:10 -0700

> 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

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

               http://archives.postgresql.org
  • Previous message
  • View by thread
  • View by date
  • Next message

Reply via email to

The Mail Archive
  • The Mail Archive home
  • pgsql-hackers - all messages
  • pgsql-hackers - about the list
  • Expand
  • Previous message
  • Next message
  • The Mail Archive home
  • Add your mailing list
  • FAQ
  • Support
  • Privacy
  • 46C15C39FEB2C44BA555E356FBCD6FA40184D0E9@m0114.s-mxs.net