pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
7.0.2 questions on encoding and compilation
8+ messages / 4 participants
[nested] [flat]

* 7.0.2 questions on encoding and compilation
@ 2000-08-30 21:03  pyz@panix.com
  0 siblings, 2 replies; 8+ messages in thread

From: pyz@panix.com @ 2000-08-30 21:03 UTC (permalink / raw)
  To: pgsql-sql; pgsql-admin@hub.org

Currently, I'm using the the 7.0.2 rpms from the postgresql.org
on a RH6.2 install.

I have a few questions on it and the use of the -E flag.

1 - can 7.0.2 be optimized for i686 architecture or is 
it only possible to compile for i386 architecture?

2 - Can createdb -E someencoding be used "straight out of the box"
with Postgresql 7.0.2 or does support need to be compiled into 
the function?

3 - What are the list of arguments which can be taken with the 
command createdb -E  ?



Thanks!




Max Pyziur                                     BRAMA - Gateway Ukraine
pyz@brama.com                                  http://www.brama.com/



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: 7.0.2 questions on encoding and compilation
@ 2000-08-30 21:22  Dana Hudes <dhudes@hudes.org>
  parent: pyz@panix.com
  1 sibling, 1 reply; 8+ messages in thread

From: Dana Hudes @ 2000-08-30 21:22 UTC (permalink / raw)
  To: pyz@panix.com; +Cc: pgsql-sql; pgsql-admin@hub.org

I have compiled for i686 by hacking up my RPM compile environment.

On Wed, 30 Aug 2000 pyz@panix.com wrote:

> Currently, I'm using the the 7.0.2 rpms from the postgresql.org
> on a RH6.2 install.
> 
> I have a few questions on it and the use of the -E flag.
> 
> 1 - can 7.0.2 be optimized for i686 architecture or is 
> it only possible to compile for i386 architecture?
> 
> 2 - Can createdb -E someencoding be used "straight out of the box"
> with Postgresql 7.0.2 or does support need to be compiled into 
> the function?
> 
> 3 - What are the list of arguments which can be taken with the 
> command createdb -E  ?
> 
> 
> 
> Thanks!
> 
> 
> 
> 
> Max Pyziur                                     BRAMA - Gateway Ukraine
> pyz@brama.com                                  http://www.brama.com/
> 




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: 7.0.2 questions on encoding and compilation
@ 2000-08-30 21:31  Max Pyziur <pyz@panix.com>
  parent: Dana Hudes <dhudes@hudes.org>
  0 siblings, 0 replies; 8+ messages in thread

From: Max Pyziur @ 2000-08-30 21:31 UTC (permalink / raw)
  To: Dana Hudes <dhudes@hudes.org>; +Cc: pgsql-sql; pgsql-admin@hub.org



On Wed, 30 Aug 2000, Dana Hudes wrote:

> I have compiled for i686 by hacking up my RPM compile environment.

Exactly, what settings do you use?

MP
 
> On Wed, 30 Aug 2000 pyz@panix.com wrote:
> 
> > Currently, I'm using the the 7.0.2 rpms from the postgresql.org
> > on a RH6.2 install.
> > 
> > I have a few questions on it and the use of the -E flag.
> > 
> > 1 - can 7.0.2 be optimized for i686 architecture or is 
> > it only possible to compile for i386 architecture?
> > 
> > 2 - Can createdb -E someencoding be used "straight out of the box"
> > with Postgresql 7.0.2 or does support need to be compiled into 
> > the function?
> > 
> > 3 - What are the list of arguments which can be taken with the 
> > command createdb -E  ?
> > 
> > 
> > 
> > Thanks!
> > 
> > 
> > 
> > 
> > Max Pyziur                                     BRAMA - Gateway Ukraine
> > pyz@brama.com                                  http://www.brama.com/
> > 
> 
> 




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: 7.0.2 questions on encoding and compilation
@ 2000-08-31 03:45  Igor N. Avtaev <ain@usi.ru>
  parent: pyz@panix.com
  1 sibling, 1 reply; 8+ messages in thread

From: Igor N. Avtaev @ 2000-08-31 03:45 UTC (permalink / raw)
  To: pgsql-sql; pgsql-admin@hub.org

pyz@panix.com wrote:

> Currently, I'm using the the 7.0.2 rpms from the postgresql.org
> on a RH6.2 install.
>
> I have a few questions on it and the use of the -E flag.
>
> 1 - can 7.0.2 be optimized for i686 architecture or is
> it only possible to compile for i386 architecture?

Yes. Changed C compilation flags in template file for your operating
system.

>
> Max Pyziur                                     BRAMA - Gateway Ukraine
> pyz@brama.com                                  http://www.brama.com/




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: [SQL] Re: 7.0.2 questions on encoding and compilation
@ 2000-09-06 19:04  Max Pyziur <pyz@panix.com>
  parent: Igor N. Avtaev <ain@usi.ru>
  0 siblings, 2 replies; 8+ messages in thread

From: Max Pyziur @ 2000-09-06 19:04 UTC (permalink / raw)
  To: Igor N. Avtaev <ain@usi.ru>; +Cc: pgsql-sql; pgsql-admin@hub.org



On Thu, 31 Aug 2000, Igor N. Avtaev wrote:

> pyz@panix.com wrote:
> 
> > Currently, I'm using the the 7.0.2 rpms from the postgresql.org
> > on a RH6.2 install.
> >
> > I have a few questions on it and the use of the -E flag.
> >
> > 1 - can 7.0.2 be optimized for i686 architecture or is
> > it only possible to compile for i386 architecture?
> 
> Yes. Changed C compilation flags in template file for your operating
> system.

Could you please specify which flags are necessary?

Thanks!

 
> >
> > Max Pyziur                                     BRAMA - Gateway Ukraine
> > pyz@brama.com                                  http://www.brama.com/
[recycle]
 




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* RE: 7.0.2 questions on encoding and compilation
@ 2000-09-06 19:07  Max Pyziur <pyz@panix.com>
  0 siblings, 0 replies; 8+ messages in thread

From: Max Pyziur @ 2000-09-06 19:07 UTC (permalink / raw)
  To: vijayendra mohan agrawal <vijayendra.agrawal@wipro.com>; +Cc: pgsql-sql; pgsql-admin@hub.org



On Wed, 6 Sep 2000, vijayendra mohan agrawal wrote:

> 2. createdb -E option can be used, but it seems it needs a re-compilation
> which will make "pg_encoding" in your pgsql/bin directory. configure
> with --enable-multibyte option and re-install postgreSQL... it should serve
> the purpose.

What if you just want to use single byte encodings such as
Windows-CP1251?  Which configuration option should you use?
 
> 3. execute "createdb --help" for more details. --encoding=ENCODING should be
> given for creating db with encoding, here "ENCODING" is the type of encoding
> you want...
> 
> Hope this helps...
> 
> Thanks and regards,

Thanks!  and I have read the README.mb file.

> Vijay

Max Pyziur

 
> -----Original Message-----
> From: pgsql-admin-owner@hub.org [mailto:pgsql-admin-owner@hub.org]On
> Behalf Of pyz@panix.com
> Sent: Thursday, August 31, 2000 2:33 AM
> To: pgsql-sql@postgresql.org; pgsql-admin@hub.org
> Subject: [ADMIN] 7.0.2 questions on encoding and compilation
> 
> 
> Currently, I'm using the the 7.0.2 rpms from the postgresql.org
> on a RH6.2 install.
> 
> I have a few questions on it and the use of the -E flag.
> 
> 1 - can 7.0.2 be optimized for i686 architecture or is
> it only possible to compile for i386 architecture?
> 
> 2 - Can createdb -E someencoding be used "straight out of the box"
> with Postgresql 7.0.2 or does support need to be compiled into
> the function?
> 
> 3 - What are the list of arguments which can be taken with the
> command createdb -E  ?
> 
> 
> 
> Thanks!
> 
> 
> 
> 
> Max Pyziur                                     BRAMA - Gateway Ukraine
> pyz@brama.com                                  http://www.brama.com/
> 
> 




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: [SQL] Re: 7.0.2 questions on encoding and compilation
@ 2000-09-06 19:10  Dana Hudes <dhudes@hudes.org>
  parent: Max Pyziur <pyz@panix.com>
  1 sibling, 0 replies; 8+ messages in thread

From: Dana Hudes @ 2000-09-06 19:10 UTC (permalink / raw)
  To: Max Pyziur <pyz@panix.com>; +Cc: Igor N. Avtaev <ain@usi.ru>; pgsql-sql; pgsql-admin@hub.org

RTFM for gcc
-mcpu=i686

On Wed, 6 Sep 2000, Max Pyziur wrote:

> 
> 
> On Thu, 31 Aug 2000, Igor N. Avtaev wrote:
> 
> > pyz@panix.com wrote:
> > 
> > > Currently, I'm using the the 7.0.2 rpms from the postgresql.org
> > > on a RH6.2 install.
> > >
> > > I have a few questions on it and the use of the -E flag.
> > >
> > > 1 - can 7.0.2 be optimized for i686 architecture or is
> > > it only possible to compile for i386 architecture?
> > 
> > Yes. Changed C compilation flags in template file for your operating
> > system.
> 
> Could you please specify which flags are necessary?
> 
> Thanks!
> 
>  
> > >
> > > Max Pyziur                                     BRAMA - Gateway Ukraine
> > > pyz@brama.com                                  http://www.brama.com/
> [recycle]
>  
> 




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: [SQL] Re: 7.0.2 questions on encoding and compilation
@ 2000-09-07 03:40  Igor N. Avtaev <ain@usi.ru>
  parent: Max Pyziur <pyz@panix.com>
  1 sibling, 0 replies; 8+ messages in thread

From: Igor N. Avtaev @ 2000-09-07 03:40 UTC (permalink / raw)
  To: Max Pyziur <pyz@panix.com>; +Cc: pgsql-sql; pgsql-admin@hub.org

Max Pyziur wrote:

> On Thu, 31 Aug 2000, Igor N. Avtaev wrote:
>
> > pyz@panix.com wrote:
> >
> > > Currently, I'm using the the 7.0.2 rpms from the postgresql.org
> > > on a RH6.2 install.
> > >
> > > I have a few questions on it and the use of the -E flag.
> > >
> > > 1 - can 7.0.2 be optimized for i686 architecture or is
> > > it only possible to compile for i386 architecture?
> >
> > Yes. Changed C compilation flags in template file for your operating
> > system.
>
> Could you please specify which flags are necessary?

For my OS - SCO UnixWare 2.1.3 (with SCO SDK):
    -K pentium
or
    -K p6

> Thanks!
>
>
> > >
> > > Max Pyziur                                     BRAMA - Gateway Ukraine
> > > pyz@brama.com                                  http://www.brama.com/
> [recycle]
>

Best regards, Igor




^ permalink  raw  reply  [nested|flat] 8+ messages in thread


end of thread, other threads:[~2000-09-07 03:40 UTC | newest]

Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-08-30 21:03 7.0.2 questions on encoding and compilation pyz@panix.com
2000-08-30 21:22 ` Dana Hudes <dhudes@hudes.org>
2000-08-30 21:31   ` Max Pyziur <pyz@panix.com>
2000-08-31 03:45 ` Igor N. Avtaev <ain@usi.ru>
2000-09-06 19:04   ` Max Pyziur <pyz@panix.com>
2000-09-06 19:10     ` Dana Hudes <dhudes@hudes.org>
2000-09-07 03:40     ` Igor N. Avtaev <ain@usi.ru>
2000-09-06 19:07 RE: 7.0.2 questions on encoding and compilation Max Pyziur <pyz@panix.com>

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