Re: current_database()

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: current_database()
Дата
Msg-id 1028726143.12474.0.camel@jester
обсуждение исходный текст
Ответ на Re: current_database()  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: current_database()  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: current_database()  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
On Wed, 2002-08-07 at 00:10, Tom Lane wrote:
> Rod Taylor <rbt@zort.ca> writes:
> > + Datum
> > + current_database(PG_FUNCTION_ARGS)
> > + {
> > +     PG_RETURN_NAME(DatabaseName);
> >   }
>
> DatabaseName is not actually a NAME, only a C string.  You need a palloc
> and a namestrcpy in there.

Hmm.. Oops.

Вложения

В списке pgsql-patches по дате отправления:

Предыдущее
От: "Ulrich Neumann"
Дата:
Сообщение: Patch for NetWare support
Следующее
От: Tom Lane
Дата:
Сообщение: Re: timed PgConnection::Connect