Re: [GENERAL] How to list which tables are available?

2003-10-15 Thread Chet Luther
To get a list of the non-default tables in your database, do this: SELECT tablename FROM pg_tables WHERE tablename NOT LIKE 'pg_%'; If you really want all of the tables, including the ones PostgreSQL creates by default, just do this: SELECT tablename FROM pg_tables; Hope this helps, [EMAIL PROT

Re: [GENERAL] Create Function... ERROR: language "plpgsql" does not exist

2003-10-15 Thread Chet Luther
You need to create the plpgsql language in your database first. See http://www.faqs.org/docs/ppbook/c19610.htm for how to do this. Hope this helps, [EMAIL PROTECTED] [EMAIL PROTECTED] ("Thomas LeBlanc") wrote in message news:<[EMAIL PROTECTED]>... > I copied an example from the help: > > CREATE