pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PG 7.1.2 table names?
2+ messages / 2 participants
[nested] [flat]

* PG 7.1.2 table names?
@ 2001-07-27 14:42  Roy Souther <roy@silicontao.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Roy Souther @ 2001-07-27 14:42 UTC (permalink / raw)
  To: pgsql-admin

Are table names now numbers in 7.1.2? I was running 7.0.3 and I was using the 
name of the files becase it was faster to parse a list of the dir then query 
the db pg_tables.


-- 
Roy Souther <roy@silicontao.com>

01100010 10101110 11000110 11010110 00000100 10110010 10010110 11000110 
01001110 11110110 11001110 00010110 10010110 00101110 10000100 10000100 




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: PG 7.1.2 table names?
@ 2001-07-30 03:23  Bruce Momjian <pgman@candle.pha.pa.us>
  parent: Roy Souther <roy@silicontao.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2001-07-30 03:23 UTC (permalink / raw)
  To: Roy Souther <roy@silicontao.com>; +Cc: pgsql-admin

> Are table names now numbers in 7.1.2? I was running 7.0.3 and I was using the 

Yes.

> name of the files becase it was faster to parse a list of the dir then query 
> the db pg_tables.

It was not easy to change it but it makes the system more reliable.  See
/contrib/oid2name for mapping, or pg_class.relfilenode.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-07-30 03:23 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-07-27 14:42 PG 7.1.2 table names? Roy Souther <roy@silicontao.com>
2001-07-30 03:23 ` Bruce Momjian <pgman@candle.pha.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox