Does this function exist?

Поиск
Список
Период
Сортировка
От Aaron Holtz
Тема Does this function exist?
Дата
Msg-id Pine.LNX.4.10.9905141227010.27932-100000@barbarossa.bright.net
обсуждение исходный текст
Список pgsql-general
Wondering if there was a function to call back the previous command.
Por ejemplo:

test=> select * from data;
test=> select getlastcommand();
select * from data
(1 row)

test=>


Or something similiar.  Anyone know how I can get that last command?
What I want to do is write a rule that takes the last command run and puts
it into another table or even into a flat text file on the drive.  A poor
man's version of process accounting....

--------------------------------------------------------------------------
Aaron Holtz
ComNet Inc.
UNIX Systems Specialist
Email:  aholtz@bright.net
"It's not broken, it just lacks duct tape."
--------------------------------------------------------------------------



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] overwriting large objects bug?
Следующее
От: Keith.Christian@tais.toshiba.com
Дата:
Сообщение: ...