Re: analyze.c

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: analyze.c
Дата
Msg-id 200407161956.25140.peter_e@gmx.net
обсуждение исходный текст
Ответ на analyze.c  ("Anja Klein" <Kruemelmonster_81@web.de>)
Список 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 по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Point in Time Recovery
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: serverlog rotation/functions