Re: Using wildcard for table name ? - Mailing list pgsql-novice

From Francisco Leovey
Subject Re: Using wildcard for table name ?
Date
Msg-id 1375098235.34701.YahooMailNeo@web164906.mail.bf1.yahoo.com
Whole thread Raw
In response to Re: Using wildcard for table name ?  (Luca Ferrari <fluca1978@infinito.it>)
List pgsql-novice
OK Luca you are right, a view is a good solution. Thank you

From: Luca Ferrari <fluca1978@infinito.it>
To: Francisco Leovey <fleovey@yahoo.com>
Cc: "pgsql-novice@postgresql.org" <pgsql-novice@postgresql.org>
Sent: Monday, July 29, 2013 3:38 AM
Subject: Re: [NOVICE] Using wildcard for table name ?

On Sat, Jul 27, 2013 at 12:26 AM, Francisco Leovey <fleovey@yahoo.com> wrote:
> My question was solved by writing a Perl program that gets the table names
> as a list from the database structure and then simply searching each table.
> Years ago I worked with Informix and there was a syntax for using a variable

Will I believe partitioning is a better idea, why don't you provide a
view that unions all the table you are interested in? So far it will
be a consisnte SQL interface and you will not need any external
application.

Luca


pgsql-novice by date:

Previous
From: James David Smith
Date:
Subject: Re: Fwd: Tricky join and update with same table
Next
From: Daniel Gomez Blanco
Date:
Subject: Re: User with "almost" superuser privileges