Re: analyze.c - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: analyze.c
Date
Msg-id 200407161956.25140.peter_e@gmx.net
Whole thread Raw
In response to analyze.c  ("Anja Klein" <Kruemelmonster_81@web.de>)
List pgsql-hackers
Anja Klein wrote:
> how can i tell postgres. that it should only create the sample table,
> when the original table to be created has the name "origin" or
> something like that? or that it should only act, if some user wants
> to create the table, not postgres itself?

You would presumably do a strcmp() on the name of the table to be 
created before you jump into your new code that creates the sample 
table.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Point in Time Recovery
Next
From: Bruce Momjian
Date:
Subject: Re: serverlog rotation/functions