Re: [ADMIN] sequences

2007-04-04 Thread Jeff Frost
On Wed, 4 Apr 2007, Alexander B. wrote: Hi, I tried to find, but I didn't, I would like to know what's the view to list all sequences! You can get the info from pg_class like so: SELECT n.nspname , c.relname FROM pg_class c , pg_namespace n WHERE c.relnamespace = n.OID AND c

Re: [ADMIN] sequences

2007-04-04 Thread Bricklen Anderson
Alexander B. wrote: Hi, I tried to find, but I didn't, I would like to know what's the view to list all sequences! Thank you \ds or select * from pg_class where relkind = 'S'; ---(end of broadcast)--- TIP 4: Have you searched our list archives

Re: [ADMIN] Sequences

2002-10-30 Thread Gareth Kirwan
* smacks your hand for using uppercase letters * Another big no no is not keeping your create sequences for sequences ( what a pun ) in a file somewhere. Otherwise you can't drop them because you don't remember what parameters they took ( but you can always, as you say, look at system tables ) Che

Re: [ADMIN] Sequences

2002-10-28 Thread Danny Morgan
Thanks, worked like a charm. Danny L. Morgan -Original Message- From: bruno [mailto:bruno@;wolff.to] Sent: Monday, October 28, 2002 4:42 PM To: dmorgan Cc: pgsql-admin Subject: Re: [ADMIN] Sequences On Mon, Oct 28, 2002 at 14:00:44 -0500, Danny Morgan <[EMAIL PROTECTED]> wrot

Re: [ADMIN] Sequences

2002-10-28 Thread Bruno Wolff III
On Mon, Oct 28, 2002 at 14:00:44 -0500, Danny Morgan <[EMAIL PROTECTED]> wrote: > I have a strange dilemma. I've created a couple sequences I can't > remove. > > Here is an example > > I can > CREATE SEQUENCE "count1" ..; > DROP SEQUENCE count1; > > I can't > CREAT