Quantcast
Channel: Comments on: Install and Configure PostgreSQL in openSUSE 11.0
Viewing all 10 articles
Browse latest View live

By: flexpadawan

$
0
0

Any idea how to get uuid to install and work? In the past I’d configure postgres ./configure –with-perl –with-ossp-uuid
I used the openSuse installation of postgres and didn’t get to option to configure it the way I wanted to.

I’m also running the 64bit version of openSuse.

Any help would be great!…I’m not a linux guy.


By: flexpadawan

$
0
0

System:
* openSuse 11 64bit (Installed with postgres during set-up)
* uuid-1.6.2.tar.gz into /usr/share/postgresql/contrib/uuid-ossp/
o tar xvzf uuid….
o cd uuid…
o ./configure –with-pgsql
o make
o make install

At this point everything is successful.

Now I add this:
/usr/bin/psql -d postgres -U postgres -f /usr/share/postgresql/contrib/uuid-ossp/uuid-1.6.2/pgsql/uuid.sql

Basically it fails.

When I look at the script the functions are already in postgres when I look through it in pgAdmin.

So I’m assuming I can skip that part??

Now for the fun part……
I’m a Windows guy and for me to get this to work was easy. In the ../share/contib folder I ran the file uuid-ossp.sql file and ran the script. All the uuid functions work perfectly!

They have functions written in there like this:

– Adjust this setting to control where the objects get created.
SET search_path = public;

CREATE OR REPLACE FUNCTION uuid_nil()
RETURNS uuid
AS ‘$libdir/uuid-ossp’, ‘uuid_nil’
IMMUTABLE STRICT LANGUAGE C;

I try running the same script and:
ERROR: could not access file “$libdir/uuid-ossp”: No such file or directory

Of course this script was for a windows box and I’m sure the linux version will look a little different.

Got any ideas?

By: roland

$
0
0

On my install of SuSE 11.x, password is an uppercase P not lower as you have here:

postgresql@opensuse:~> createuser -D -p

By: Perypetie przy migracji z MySQL do PostgreSQL « Java vs. Me

$
0
0

[...] user “system”. Długo się zastanawiałem o co chodziło z tym słówkiem IDENT, aż trafiłem na wpis w blogu który mnie oświecił Okazało się, że domyślnym sposobem autoryzacji jest IDENT, co oznacza [...]

By: siri

$
0
0

Hi ,I installed postgresql from yast2,but didn’t get pg_hba.conf & postgresql.conf files in /var/lib/pgsql/data

Any luck on this

By: Problem Zugriff auf eine Postgresql-DB mit Java

By: wilsonmega

$
0
0

you need run it on pgsql 9 or later
/e/etc/rc.d/init.d/postgresql-9.0 initdb -E UTF8

on pgsql 8.XX
/e/etc/rc.d/init.d/postgresql initdb -E UTF8

By: issues with PostgreSQL

$
0
0

[...] correctly ]. And hence lastly I goggled and found something relevant and useful at this page : http://www.susegeek.com/database/ins…-opensuse-110/ all the commands on this page [ i didn't tried all commands after : "postgres=# q". [...]


By: d@Ve

$
0
0

As stated earlier:


Roland Says:
November 12th, 2008 at 7:06 pm
On my install of SuSE 11.x, password is an uppercase P not lower as you have here:

postgresql@opensuse:~> createuser -D -p [username]

Please correct this so newbies to Postgres don’t spin their wheels with a Postgres connection error that results from an invalid port number, provided above as [username].

By: Francis

$
0
0

Please note the mistake in your install suggestion – it should read :-
yast2 –-install postgresql-server
and not yast2 –install postgresql-server

It took me a while to figure this out as I’m new to SuSE

Viewing all 10 articles
Browse latest View live


Latest Images