Unix Technical Forum

drop index

This is a discussion on drop index within the pgsql Novice forums, part of the PostgreSQL category; --> Hallo, I created some indexes and now i want drop them, but I forgetten it's names. How I can ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Novice

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 10:36 PM
=?windows-1250?Q?Jarom=EDr?= Kamler
 
Posts: n/a
Default drop index

Hallo,
I created some indexes and now i want drop them, but I forgetten it's names. How I can find them?

Thanks, Jaromir Kamler


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 10:36 PM
Charley Tiggs
 
Posts: n/a
Default Re: drop index

Jaromír Kamler wrote:
> Hallo,
> I created some indexes and now i want drop them, but I forgetten it's names. How I can find them?
>
> Thanks, Jaromir Kamler



use "\d table_name" within psql to view a description of the table. At
the bottom are a list of indexes that are attached to the table.

Charley


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-17-2008, 10:36 PM
Christoph Frick
 
Posts: n/a
Default Re: drop index

On Wed, Feb 22, 2006 at 02:56:54PM +0100, Jaromír Kamler wrote:

> I created some indexes and now i want drop them, but I forgetten it's
> names. How I can find them?


\di shows all indices of a database

--
cu

-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAkP8fI8ACgkQOO9i6TSuoN3pCQCfbY5X8hChnW STrdHJ7VthBW93
j5oAoIdMLCJtl4zAJ8O5U4Kli0NdyY8T
=E1I0
-----END PGP SIGNATURE-----

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-17-2008, 10:36 PM
A. Kretschmer
 
Posts: n/a
Default Re: drop index

am 22.02.2006, um 14:56:54 +0100 mailte Jaromír Kamler folgendes:
> Hallo,
> I created some indexes and now i want drop them, but I forgetten it's names. How I can find them?


In psql cou can see all Indexes for a table with \d <tablename>


HTH, Andreas
--
Andreas Kretschmer (Kontakt: siehe Header)
Heynitz: 035242/47215, D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
=== Schollglas Unternehmensgruppe ===

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

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:46 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com