473,806 Members | 2,653 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

getting configure options?

CSN
Is is possible to find out what options (prefix,
bindir, etc.) were specified to "configure" when
Postgres was built?

_______________ _______________ ____
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 12 '05 #1
3 2364
On Tue, Dec 23, 2003 at 01:46:02PM -0800, CSN wrote:
Is is possible to find out what options (prefix,
bindir, etc.) were specified to "configure" when
Postgres was built?


http://www.postgresql.org/docs/curre...-pgconfig.html

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddres sHere" to ma*******@postg resql.org)

Nov 12 '05 #2

On 23/12/2003 21:46 CSN wrote:
Is is possible to find out what options (prefix,
bindir, etc.) were specified to "configure" when
Postgres was built?


pg_config --configure

HTH

--
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for the Smaller
Business |
| Computer Consultants |
http://www.thomas-micro-systems-ltd.co.uk |
+------------------------------+---------------------------------------------+

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postg resql.org so that your
message can get through to the mailing list cleanly

Nov 12 '05 #3
Yes. Although you can use the pg_config table as suggested, I prefer using
the functions provided with Postgres for this purpose. To find out
configuration settings, use the current_setting () function. It takes a
single varchar parameter: the name of the setting you are inquiring about.
E.g.,:

=> select current_setting ('search_path') ;

The complementary function as an (unfortunately) unrelated name:
set_config( config_param_na me, config_param_va lue, is_local). The is_local
boolean flag indicates whether the setting should apply only to the current
transaction or whether it should be held onto for the entire session
(connection). The "local" version only makes sense if you are inside of a
transaction block.

Example usage:

=> select set_config('sea rch_path', 'information_sc hema', false);

Note that most settings can be configured on a per-database and per-user
basis. This is recommended if you want a setting to be there everytime a
user connects or the db is started. Also, some settings (like whether to
fsync() or not) are global and can only be set in the configuration files or
on the command line at server start up.

HTH

== Ezra Epstein

"CSN" <co************ *******@yahoo.c om> wrote in message
news:20******** *************** *@web40601.mail .yahoo.com...
Is is possible to find out what options (prefix,
bindir, etc.) were specified to "configure" when
Postgres was built?

_______________ _______________ ____
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4768
by: Swartz | last post by:
Hi all. I'm building a development webserver (redhat-based). I'm trying to compile PHP (v4.3.4 if anyone cares) with all the features I might require in the near future. I've ran into a problem with trying to understand what all those ./configure options do. Some of them are fairly straight forward and need no explanation at all, but others are rather mysterious. For example, --enable-magic-quotes . What are the magic quotes? The PHP
2
8572
by: DanielB | last post by:
Does anyone know what the command line argumentto launch a screensaver's options/configuration dialog is on Windows XP Pro? From most of the example source code I can find on the web, it would seem to be '/c' but that does not seem to work for the screensaver I have written. I've tested my code and if '/c' is the first argument then the options dialog is launched but Windows XP does not seem to be supplying the '/c' argument when I...
16
27926
by: MLH | last post by:
Using MS Access, I have attached to MySQL servers in other states and other countries on the other side of my router. But when I use the MySQL ODBC driver 3.51 to connect to a MySQL server on my own LAN, the driver tells me it cannot make the connection. Here are the ODBC driver connection parms: Data Source Name: (free field - name my "my linux box" will do nicely) Host/Server Name (or IP) - something like MSQLUserName@ServerName.net...
1
1265
by: Thanos Tsouanas | last post by:
Hello! Is there a way to get the --options with which python was configured on a system? Thanks in advance. -- Thanos Tsouanas .: My Music: http://www.thanostsouanas.com/ http://thanos.sians.org/ .: Sians Music: http://www.sians.org/
2
466
by: CSN | last post by:
Is is possible to find out what options (prefix, bindir, etc.) were specified to "configure" when Postgres was built? __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ---------------------------(end of broadcast)---------------------------
6
2204
by: Nathan Sokalski | last post by:
I am using the MailMessage and SmtpMail classes to allow users of my site to send me email at my Hotmail email address. However, it always ends up in the Junkmail folder. Even though I check my Junkmail box, I do not want this to become a problem if I ever use these classes to have email sent to someone other than myself. What can I do to avoid having the emails marked as Junk? Thanks. -- Nathan Sokalski njsokalski@hotmail.com...
14
3064
by: david | last post by:
I have developed web forms including login by using ASP.NET via HTTP. Now I want to secure the connection from client to the server via HTTPS. How can I configure the server or something else to make the change? Thank you David
8
6310
by: lawrence k | last post by:
I've installed Apache 1.3.36 on my Redhat EL 3 machine. Now I'm trying to install PHP 5.1.4. I can not get the ./configure command to work. I keep getting this error: configure: error: Invalid Apache directory - unable to find httpd.h under /usr/local/apache/include So then I run this command: find / -name httpd.h
6
1404
by: Kissingfish | last post by:
Hi there.. I'm trying to configure a quote form for my website.. I want to have different fields, for example radio buttons, check boxes and drop-down menus, and depending on what you select, a different value will appear on the 'total' box down the bottom.. I can figure out how to write a scipt and have textboxes add up to a total.. And I can do it with dropdown menus, like this..
3
1339
by: DigDug | last post by:
Hi there. I work for an AV hire company that also deals with a lot of Windows XP laptops. Before they can be sent out, I have to configure them to display a certain wallpaper, have specific shortcuts on the desktop (namely Microsoft Office and Windows Media Player, among other things), disable any screensavers and use specific power options. I've normally got a lot of other work to do, and preparing a pile of laptops can take quite a while....
0
10623
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10371
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10373
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10111
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9192
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4330
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3852
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3010
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.