pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedERROR: cannot open relation config
2+ messages / 2 participants
[nested] [flat]
* ERROR: cannot open relation config
@ 2001-04-18 14:15 Barnes, Sandy (Sandra) <Sandy.Barnes@Honeywell.com>
0 siblings, 1 reply; 2+ messages in thread
From: Barnes, Sandy (Sandra) @ 2001-04-18 14:15 UTC (permalink / raw)
To: pgsql-admin; +Cc: Barnes, Sandy (Sandra) <Sandy.Barnes@Honeywell.com>
> In the postgresql [/etc/rc.d/init.d] script we are
>
> 1) initializing the database
> 2) starting postmaster
> 3) creating a database named 'config'
> 4) creating the table 'config' in the database named 'config'
>
> Everything looks good until I try to access the config table. I get the
> following errors:
> NOTICE: mdopen: couldn't open config: No such file or directory
> NOTICE: RelationIdBuildRelation: smgropen(config): No such file or
> directory
> ERROR: cannot open relation config
>
> If I change the name of the database table to something other than
> 'config' it works fine?
> Also, I notice that when I try to use config as the table name the
> $PGDATA/config file does NOT get created,
> but the config_pkey file does get created.
>
> Any idea why this happens?? Thx...
>
> Sandy Barnes
> Honeywell
> Business & General Aviation Engineering
> One Technology Center
> 23500 West 105th Street
> Olathe, KS. 66061
> tel 913.712.2027
> fax 913.712.1347
> email sandy.barnes@honeywell.com
>
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: ERROR: cannot open relation config
@ 2001-04-19 15:16 Tom Lane <tgl@sss.pgh.pa.us>
parent: Barnes, Sandy (Sandra) <Sandy.Barnes@Honeywell.com>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2001-04-19 15:16 UTC (permalink / raw)
To: Barnes, Sandy (Sandra) <Sandy.Barnes@Honeywell.com>; +Cc: pgsql-admin
"Barnes, Sandy (Sandra)" <Sandy.Barnes@Honeywell.com> writes:
>> 3) creating a database named 'config'
>> 4) creating the table 'config' in the database named 'config'
Can't reproduce any problem with that here. What PG version are you
using, anyway? What's the exact series of commands you're issuing?
>> Also, I notice that when I try to use config as the table name the
>> $PGDATA/config file does NOT get created,
It'd be $PGDATA/base/config/config
regards, tom lane
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2001-04-19 15:16 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-04-18 14:15 ERROR: cannot open relation config Barnes, Sandy (Sandra) <Sandy.Barnes@Honeywell.com>
2001-04-19 15:16 ` Tom Lane <tgl@sss.pgh.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