postgresql - Select from table identified by OID -
is possible select table know oid of? like
select * 123456::regclass i understand can in function, constructing dynamic query, seems strange cannot directly -- assume postgresql translates table names oids moment starts analyzing query, why cannot save trouble?
no.
oid global counter can wrap around. meaning there can multiple tables containing objects of same oid. if there hack around, error prone in least
Comments
Post a Comment