Manuel Sugawara wrote:
> Alexander Solianic <solianic(at)yahoo(dot)com> writes:
>
>> Hi, Posgres Gurus!
>>
>> Does anybody know if there's a way to get name of the current
>> session's database in stored procedure, i.e. something like
>> CURRENT_USER variable?
>
> what's wrong with current_user?
nothing wrong with it, but I asked "is there a function/variable similar
to CURRENT_USER, SESSION_USER etc, that returns the name of the
current (connected) *database*".
--
Regards,
Alexander Solianic