select statement details

From: Rick Vernam <rickv(at)hobi(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: select statement details
Date: 2008-01-20 17:46:55
Message-ID: 200801201146.56286.rickv@hobi.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I'm trying to determine if a select statement:
1 - causes execution of a Volatile function
- or -
2 - causes execution of a nextval function (same/similar as #1 above?)
from within tcop / postgres.c ??

Things like QueryIsReadOnly imply that select nextval('some_sequence') are
read-only ... which is not read-only in the sense that the database is in a
different state after the nextval runs.

I've been looking through PortalDesc & NodeTag, but haven't been able to find
anything...

suggestions?

If nothing exists, I'd need to create something.
Any suggestions where to start?

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Sabino Mullane 2008-01-20 17:56:30 Friendly help for psql
Previous Message Greg Sabino Mullane 2008-01-20 17:24:11 Re: [GENERAL] SHA1 on postgres 8.3