pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Where in the source is the "database system identifier" generated?
2+ messages / 2 participants
[nested] [flat]

* Where in the source is the "database system identifier" generated?
@ 2006-12-18 18:43  Joshua Colson <joshua.colson@ination.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Joshua Colson @ 2006-12-18 18:43 UTC (permalink / raw)
  To: pgsql-admin

Can anyone point me to where in the source the database system
identifier is initially generated at? I've looked through initdb.c and I
cannot find it. I've also scoured various other parts of the source to
no avail. I may have more luck if I were an accomplished C programmer,
but alas, I am not.

Any help would be greatly appreciated!

Thanks.

-- 
Joshua Colson <joshua.colson@ination.com>
iNation, LLC




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

* Re: Where in the source is the "database system identifier" generated?
@ 2006-12-18 19:45  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Joshua Colson <joshua.colson@ination.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2006-12-18 19:45 UTC (permalink / raw)
  To: Joshua Colson <joshua.colson@ination.com>; +Cc: pgsql-admin

Joshua Colson <joshua.colson@ination.com> writes:
> Can anyone point me to where in the source the database system
> identifier is initially generated at?

In xlog.c I believe (probably in BootstrapXLog).  But it's not very
interesting, it's just a random number ...

			regards, tom lane



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


end of thread, other threads:[~2006-12-18 19:45 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-12-18 18:43 Where in the source is the "database system identifier" generated? Joshua Colson <joshua.colson@ination.com>
2006-12-18 19:45 ` Tom Lane <tgl@sss.pgh.pa.us>

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