Hi Tom,

During bootstrap mode, when running initdb, the dabasename template1 is
passed in. 741 seems to handle this without using the global variable
DatabaseName (which is used in 7.3.3). Our extention still relies on that
global variable.

So how does 7.4.1 find the database name during bootstrap mode?

During bootstrap mode, get_database_name(databaseId) does not seem to work.
This is why we are setting the global variable. The databaseId is comming
from 7.4.1 code, so we are assuming that is valid.

We would like to do it correctly, so any recomendation would be appreciated.

Thankyou

Mahesh
----- Original Message ----- 
From: "Tom Lane" <[EMAIL PROTECTED]>
To: "Mahesh Swamy" <[EMAIL PROTECTED]>
Cc: "osspatches" <[EMAIL PROTECTED]>
Sent: Thursday, May 13, 2004 11:32 PM
Subject: Re: [PATCHES] SetDataBaseName


> "Mahesh Swamy" <[EMAIL PROTECTED]> writes:
> > We were wondering is there any particular reason why this function
> > (SetDataBaseName) was taken out?
>
> Evidently because the variable it sets doesn't exist anymore.
>
> I cannot think of any valid reason for an extension to have been messing
> with that variable anyway; so maybe you'd better explain what you need
> to accomplish instead of asking a low-level question.
>
> regards, tom lane
>

This is an email from Fujitsu Australia Software Technology Pty Ltd, ABN 27 003 693 
481. It is confidential to the ordinary user of the email address to which it was 
addressed and may contain copyright and/or legally privileged information. No one else 
may read, print, store, copy or forward all or any of it or its attachments. If you 
receive this email in error, please return to sender. Thank you.

If you do not wish to receive commercial email messages from Fujitsu Australia 
Software Technology Pty Ltd, please email [EMAIL PROTECTED]



---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Reply via email to