pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hidvégi Gábor <gaborca@webvision.hu>
To: pgsql-docs@postgresql.org
Subject: Starting server on OpenBSD, IE7 fix for forms
Date: Sat, 2 Jun 2012 16:46:38 +0200
Message-ID: <328D954284F149698FE5D76880F138B7@gab> (raw)

Hello,

1,
I've been playing with PostgreSQL on OpenBSD (5.1), and I found the startup 
script described on 
http://www.postgresql.org/docs/9.1/interactive/server-start.html not 
working, "su" is complaining about the login class. So after a bit of 
experimenting my working startup script looks like this:

if [ -x /usr/local/pgsql/bin/pg_ctl -a -x /usr/local/pgsql/bin/postgres ]; 
then
 su - postgres -c '/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data 
start -l /var/postgres/log -s'
 echo 'postgresql'
fi

It should be placed into /etc/rc.local as usually.

2,
I use Internet Explorer 7, but PostgreSQL website form inputs look too 
narrow on this browser. You can easily fix it by adding the following lines 
to /media/css/iefixes.css:

/*Win IE7 fix */
*:first-child+html TABLE.pgGenericFormTable TR TD INPUT,
*:first-child+html TABLE.pgGenericFormTable TR TD SELECT,
*:first-child+html TABLE.pgGenericFormTable TR TD TEXTAREA,
*:first-child+html TABLE.pgGenericFormTable TR TD DIV.markdownpreview {
   width: auto;
}
/*End Win IE7 fix*/

Gábor Hidvégi 




view thread (2+ messages)  latest in thread

Message-ID: <328D954284F149698FE5D76880F138B7@gab>
Permalink:  ../328D954284F149698FE5D76880F138B7@gab/
Also on:    postgresql.org/message-id/328D954284F149698FE5D76880F138B7@gab

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: gaborca@webvision.hu
  Subject: Re: Starting server on OpenBSD, IE7 fix for forms
  In-Reply-To: <328D954284F149698FE5D76880F138B7@gab>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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