[ADMIN] After reinstalling postgres...

1999-05-25 Thread Postgres
Hi all, Some days ago I need to reinstall postgresql 6.3.2. Before doing this I made a backup of my databases just copying the files in /var/lib/pgsql. Did I make the backup correctly? After that, I install postgres (6.3.2). Then, I copied my databases into the

[ADMIN] Why do I receive this message?

1999-05-29 Thread Postgres
Hi all, I'm a little bit curious with a message I've been receiveing all times I connect to a database. When I run "psql chs" I receive this message. >Welcome to the POSTGRESQL interactive sql monitor: > Please read the file COPYRIGHT for copyright terms of POSTGRESQL >

[ADMIN] Crypt and DELETE.

1999-06-09 Thread Postgres
Hy all, I'm using the delete command with "PQexec" to remove some records from my database. But there is a problem, how can I know if the record was really removed if the values returned in "PQresultStatus" are the same when no records and one record are removed. Should I use a special function

[ADMIN] FATAL 1

1999-09-10 Thread postgres
I get the "FATAL 1" message from "postgres -i": [postgres@lexis postgres]$ postgres -i FATAL 1: Database postgres does not exist in pg_database FATAL 1: Database postgres does not exist in pg_database [postgres@lexis postgres]$ What may I be doing wrong? (By the w

[ADMIN] Switch log (WAL)

2006-02-12 Thread postgres
Hello, I'm new to the list, and I'm intereted in PostgreSQL replication (using WAL) As I didn't find any script to do that, I make mine, that seems to work. However, I wonder how can I "switch WAL logs", in order to have the standby database not too much late. The database actually generates few

Re: [ADMIN] Switch log (WAL)

2006-02-13 Thread postgres
archives_mydb1/"%f"' # # This script can probably run in other conditions, but in my case I had : #- PGDATA=/var/lib/postgresql/data #- database user : postgres #- postgres home in /var/lib/postgres #- sed #- postgresql 8.1.2 # # # Known problems/missing features

[ADMIN] session variable and/or global variable in plpgsql

2006-03-03 Thread postgres
Hi, Is it possible to set a custom session variable and/or global variable in plpgsql ? Regards, ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

[ADMIN] help

2006-04-06 Thread postgres
help ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [ADMIN] problem creating user

2004-01-16 Thread postgres
On Mon, 12 Jan 2004, kandiah ratnavale wrote: > -bash-2.05b$ whoami > postgres > -bash-2.05b$ su - bruce > su: user bruce does not exist > -bash-2.05b$ createuser bruce > Shall the new user be allowed to create databases? (y/n) > Shall the new user be allowed to create mo

Re: [ADMIN] Colors in vim

2004-03-09 Thread postgres
On Tue, 09 Mar 2004, Louie Kwan wrote: > Not a PGSQL question.. > > When I use vim, my xterm is all highlighted with many different color.. > > How can I turn the coloring off. > > Sorry to ask the vim question here. Numerous ways. In a session: :syntax off Presumably, you're using files wi

[ADMIN] IPv6 connection / JDBC (?)

2004-05-16 Thread postgres
Hi! I run pg7.4 on a SuSE 9.1 (IPv6) machine (linux 2.6); despite I added hostall all ::1 :::::::password to my pg_hba.conf, connecting to the database via JDBC (pg74.213.jdbc3.jar) fails: org.postgresql.util.PSQLExcep

Re: [ADMIN] constraints and performance

2004-05-30 Thread postgres
On Wed, 11 Feb 2004, Christopher Browne wrote: > A long time ago, in a galaxy far, far away, [EMAIL PROTECTED] (Jodi Kanter) wrote: > > Do constraints effect performance significantly? > > They would be expected to provide a significant enhancement to > performance over: > a) Firing triggers, >

Re: [ADMIN] Installing PostgreSQL as "postgress" versus "root" Debate!

2005-01-12 Thread postgres
On Wed, 12 Jan 2005, Goulet, Dick wrote: > Whatever, I'll keep root only for absolutely restricted use & install > under a separate user account. Works just fine & it makes the auditors > & sysadmin feel better. Unfortunately, I _know_ how auditors think, but I would hope that a sensible compan

[ADMIN] configuring pg_hba.conf...

1999-01-26 Thread Postgres GOD
i'm an actual newbie when it comes to postgres. how do i set the pg_hba.conf for a password authentication? how do i set the ps_pwd and other needed configuration? and lastly, where can i find a detailed document on configuring postgres? thanks. samil buri.

Re: [ADMIN] configuring pg_hba.conf...

1999-01-26 Thread Postgres GOD
On Tue, 26 Jan 1999, Oliver Elphick wrote: > Postgres GOD wrote: > >how do i set the pg_hba.conf for a password authentication? how do i set > >the ps_pwd and other needed configuration? > > Here is a document I put together on the subject. (If anything in it ha

[ADMIN] vacuum problem...

1999-01-29 Thread Postgres GOD
i know this one is easy one to those postgres guru. how can i deal with this vacuum problem? NOTICE: CreatePortal: portal already exists ERROR: can't create lock file -- another vacuum cleaner running? thanks. samil. 'winning w/o fighting is best!'-suntzu.

[ADMIN] maximum attribute record.

1999-02-02 Thread Postgres GOD
i would like to know what is the maximum attribute record that can class can accomodate. i'm having problem with one of my table(class) it hangs-up during insertion. i'm using the libpq in my c script as the programming interface for postgres. samil buri.

[ADMIN] ACT! and PostgreSQL

2005-05-12 Thread Postgres Admin
I have some clients that are looking to upgrade to MSSQL Server because they use ACT!. I'm developing a web application for them that uses PostgreSQL. Does anyone know if ACT! can use PostgreSQL? or if I can hack it? Suggestion welcome and Thanks, J ---(end of broadcas

[ADMIN] PostgreSQL and Delphi 6

2005-06-15 Thread Postgres Admin
I have a client who wants to use Delphi as a front end to a Database, I would like to use PostgreSQL over MSSQL and have been looking at the psqlodbc project. Will psqlodbc connect with Delphi 6? Basically, I'm wondering if anyone has experience with it? Any help will be appreciated. Thanks, J

Re: [ADMIN] $_SERVER['SERVER_ADDR'] ; returns wrong value "::1"

2005-06-16 Thread Postgres Admin
::1 is a function of the PHP $_SERVER[''] internal function, not a PostgreSQL problem. It will display ::1 on any database, you program a PHP custom function to call the whole IP address. The real question is that a problem in a production environment? Of note, outside IP addresses will display fi

[ADMIN] Data insert

2005-08-20 Thread Postgres Admin
Sorry for the attachment, but copying and pasting this data does not work. I don't have any idea how to insert the type of data into PostgreSQL. Basically, it's encrypted data in which I would like that keep raw format. Thanks for any help, J sample_data.pdf Description: Adobe PDF document --

[ADMIN] plpgsql question

2005-08-30 Thread Postgres Admin
Can I do something like this: CREATE TABLE sample (id SERIAL, node INTEGER, parent INTEGER); INSERT INTO sample(node,parent) VALUES(1,0); INSERT INTO sample(node,parent) VALUES(2,0); INSERT INTO sample(node,parent) VALUES(3,1); INSERT INTO sample(node,parent) VALUES(4,3) CREATE OR REPLACE FUNCTIO

Re: [SQL] [ADMIN] plpgsql question

2005-08-30 Thread Postgres Admin
I have data in one table called articles and I would like to make a function in which takes certain data from it and display the results. Example: CREATE TABLE articles ( article_id serial, title varchar(200), posted timestamp, article_subject varchar(200), article_body text, allow_comments boole

[ADMIN] Admin Position in Las Vegas

2003-12-05 Thread postgres timeless
Are you a good Unix/PostgreSQL admin with some MySQL experience? Do you want to help a company migrate off of MS SQL Server? Do you want to live and work in Las Vegas for a fun company of good computer techs? We need you. Contact me. -- Tim Ellis Senior Database Architect and author, tedia2sql (

[ADMIN] Binding Parameters

2004-09-10 Thread Postgres User
I'm new to PostgreSQL, and am wondering for BindSQL is intergrated in Postgres or in the future for version 8. Example: SELECT * FROM sample_table WHERE computer = :1; Any pointers will help. Thanks, J ---(end of broadcast)--- TIP 1: subscrib

Re: [ADMIN] Binding Parameters

2004-09-11 Thread Postgres User
Do you mean PREPARE / EXECUTE? /* [EMAIL PROTECTED]:5432/ahammond =# */ \d foo ~ Table "public.foo" ~ Column | Type | Modifiers - +-+-- ~ foo_id | integer | not null default nextval('foo_id_seq'::

[ADMIN] PREPARE/EXECUTE questions

2004-10-18 Thread Postgres User
I'm writing a web application inwhich clients will login/out among other stuff. I have be reading on prepared statements and leave you all with an open-ended question. Are prepared statements better and how can I program them to not end at the once the session is over? Thanks, any other sugges

Re: [ADMIN] PREPARE/EXECUTE questions... custom functions?

2004-10-18 Thread Postgres User
Joshua D. Drake wrote: Use a connection pooler like pgpool. Thanks for the suggestion, I will look into it and test. There seems to some overhead using that tool. What about custom functions, written in SQL or C? They seem to work until the database is shut down, any thoughts about that for a c

[ADMIN] SQL Functions

2004-10-19 Thread Postgres User
What are the advantages to SQL Functions? I'm looking to optimize 'default' PostgreSQL environments for clients. I'm writing an application and looking to put functions to optimize just that table, etc. They don't want to have a full-time database admin (surprise!). Thanks, J -

Re: [ADMIN] help!!!!!!

2005-03-08 Thread Postgres Admin
You're php install isn't finding the postgresql libs it needs. When you do the ./configure --with-pgsql check the output of the config run, and you'll see something like: checking for PostgreSQL support... no You may want to set include flags when compiling CPPFLAGS=-I/usr/local/pgsql/inc

Re: [ADMIN] Disk I/O Monitoring

2003-06-08 Thread postgres timeless
On Fri, 2003-06-06 at 09:42, Kris Kiger wrote: > I'm looking for a good way to monitor disk I/O on a linux > system. Specifically, I would like to know when postgres is making > page-ins and page-outs. If anyone knows of a good utility, please let > me know! Thank you for

[ADMIN] Problem with regression testing

1999-09-09 Thread Postgres Mailing List
/pgsql/lib and PGDATA=/usr/local/pgsql/data). But when I run "createdb" to test things out I get this: ... [postgres@catclaw bin]$ createdb Connection to database 'template1' failed. FATAL 1: Database template1 does not exist in pg_database createdb: database creation failed on

[ADMIN] Steps for Record-based Log Shipping postgres 8.2

2008-06-17 Thread CDS PostGres User
Hi, What are steps/code for Record-based Log Shipping postgres 8.2? If use Record-based Log Shipping can I access both primary and standby server simultaniously. Tarun -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http

Re: [ADMIN] Regaining superuser access

2008-09-19 Thread Tim Bruce - Postgres
gresql Database\data. >> I quoted it with double quotes. Without -D postgres.exe complained >> about not finding the data path, with it postgres.exe complained about >> not finding the config file, stating that it looked in (from memory >> vague) F:\Postgresql Database\data\

Re: [ADMIN] Upgrade in same major version

2008-10-16 Thread Tim Bruce - Postgres
On Thu, October 16, 2008 06:47, Carol Walter wrote: > Let me see if I understand this correctly. > Always do a backup before doing any destructive sys admin functions. =) > First, I run configure, taking care to make sure all the options point > to the right places. > Second, I run gmake > Third,

Re: [ADMIN] Need help in enabling remote connection

2009-11-03 Thread Tim Bruce - Postgres
On Tue, November 3, 2009 10:10, Scott Marlowe wrote: > On Tue, Nov 3, 2009 at 1:53 AM, Shruthi A wrote: >> Hi all, >> >> -- Once this service is started, telneting the server on the given port >> successfully connects. >> -- Dear Ian Lea, i guess 10.0.0.1/24  is the same as 10.0.0.0/24  as the >>

[ADMIN] Postgres recommended by a SQL Server DBA

2011-12-06 Thread Tim Bruce - Postgres
An interesting write-up coming from a SQL Server DBA. http://facility9.com/2011/12/ten-reasons-postgresql-is-better-than-sql-server/ Tim -- Timothy J. Bruce -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailp

Re: [ADMIN] retaining useful information on my screen

2012-05-08 Thread Tim Bruce - Postgres
On Tue, May 8, 2012 07:28, Fred Parkinson wrote: > I am currently using postgresql version 9.1.3 > > In the past, when I ran psql and needed useful information provided by > commands like \h or \d, the information was presented on the screen and I > could proceed with further commands while viewing

Re: [ADMIN] Problem with regression testing

1999-09-10 Thread Robin's Postgres List Archive
Problem solved, thank you for the responses! Yes, I had run initdb as outlined in the instructions. Then I received a tip from someone on the list suggesting: "do: rpm -qa | grep postgres then, for each package it returns: rpm -e " Which I did. At that point, running createdb gave

[ADMIN] Enormous pg_sorttemp~ files when using "OR"

1999-12-18 Thread Robin's Postgres List Archive
Hi Folks, When I write a query with a "WHERE" claused constrained by the "OR" operator, postgresql creates the enormous pg_sorttemp~ files in ~pgsql/data/base/dbName/ that basically eat up all remaining disk space in a matter of seconds. These files are 1.8GB+ by the time the partition is full.

Re: [ADMIN] Enormous pg_sorttemp~ files when using "OR"

1999-12-18 Thread Robin's Postgres List Archive
t; table but, forgot to include the name of the table in the query. It was a > 3 table query and he accidentally included a fourth table field but didn't > add the table in the clause. > > I was suprised to see postgres not error out. Instead it sucked all of the > CPU from the

[ADMIN] Unfamiliar SQL Exceptions

2000-11-02 Thread Robin's Postgres List Archive
The following two SQL Exceptions are popping up after several days or weeks of seemingly smooth execution: "Unknown Response Type x" <= where x is a random ASCII character and "The column index is out of range" Once one of these two SQL Exceptions start occurring, pretty much all queries af

[ADMIN] Data Corruption?

2001-02-02 Thread Robin&#x27;s Postgres List Archive
Hello, After about a year and a half of use, I ran into a peculiar problem with my PostgreSQL driven app and I would like to understand why. I have a web app that uses PostgreSQL 6.5.2 on the backend. The app logic is Java beans and JSP. The OS is RedHat 6.2 i386. Anyways, there are two ide