head	1.178;
access;
symbols
	REL9_0_0:1.177
	REL9_1_ALPHA1:1.178
	REL9_0_RC1:1.177
	REL9_0_BETA4:1.177
	REL9_0_STABLE:1.177.0.6
	REL9_0_BETA3:1.177
	REL9_0_BETA2:1.177
	REL7_4_29:1.94
	REL8_0_25:1.126.4.4
	REL8_1_21:1.138
	REL8_2_17:1.149.2.4
	REL8_3_11:1.159.2.3
	REL8_4_4:1.173
	REL9_0_BETA1:1.177
	REL9_0_ALPHA5_BRANCH:1.177.0.4
	REL9_0_ALPHA5:1.177
	REL7_4_28:1.94
	REL8_0_24:1.126.4.4
	REL8_1_20:1.138
	REL8_2_16:1.149.2.4
	REL8_3_10:1.159.2.3
	REL8_4_3:1.173
	REL9_0_ALPHA4:1.177
	REL9_0_ALPHA4_BRANCH:1.177.0.2
	REL8_5_ALPHA3:1.176
	REL8_5_ALPHA3_BRANCH:1.176.0.4
	REL7_4_27:1.94
	REL8_0_23:1.126.4.4
	REL8_1_19:1.138
	REL8_2_15:1.149.2.4
	REL8_3_9:1.159.2.3
	REL8_4_2:1.173
	REL8_5_ALPHA2:1.176
	REL8_5_ALPHA2_BRANCH:1.176.0.2
	REL7_4_26:1.94
	REL8_0_22:1.126.4.4
	REL8_1_18:1.138
	REL8_2_14:1.149.2.4
	REL8_3_8:1.159.2.3
	REL8_4_1:1.173
	REL8_5_ALPHA1:1.174
	REL8_5_ALPHA1_BRANCH:1.174.0.2
	REL8_4_STABLE:1.173.0.2
	REL8_4_0:1.173
	REL8_4_RC2:1.173
	REL8_4_RC1:1.173
	REL8_4_BETA2:1.173
	REL8_4_BETA1:1.173
	REL7_4_25:1.94
	REL8_0_21:1.126.4.4
	REL8_1_17:1.138
	REL8_2_13:1.149.2.4
	REL8_3_7:1.159.2.3
	REL7_4_24:1.94
	REL8_0_20:1.126.4.4
	REL8_1_16:1.138
	REL8_2_12:1.149.2.4
	REL8_3_6:1.159.2.3
	REL7_4_23:1.94
	REL8_0_19:1.126.4.4
	REL8_1_15:1.138
	REL8_2_11:1.149.2.4
	REL8_3_5:1.159.2.3
	REL7_4_22:1.94
	REL8_0_18:1.126.4.4
	REL8_1_14:1.138
	REL8_2_10:1.149.2.4
	REL8_3_4:1.159.2.2
	REL7_4_21:1.94
	REL8_0_17:1.126.4.4
	REL8_1_13:1.138
	REL8_2_9:1.149.2.4
	REL8_3_3:1.159.2.2
	REL7_4_20:1.94
	REL8_0_16:1.126.4.4
	REL8_1_12:1.138
	REL8_2_8:1.149.2.4
	REL8_3_2:1.159.2.2
	REL8_2_7:1.149.2.3
	REL8_3_1:1.159.2.1
	REL8_3_STABLE:1.159.0.2
	REL8_3_0:1.159
	REL8_3_RC2:1.159
	REL7_3_21:1.65.2.2
	REL7_4_19:1.94
	REL8_0_15:1.126.4.4
	REL8_1_11:1.138
	REL8_2_6:1.149.2.3
	REL8_3_RC1:1.159
	REL8_3_BETA4:1.157
	REL8_3_BETA3:1.156
	REL8_3_BETA2:1.156
	REL8_3_BETA1:1.156
	REL7_3_20:1.65.2.2
	REL7_4_18:1.94
	REL8_0_14:1.126.4.4
	REL8_1_10:1.138
	REL8_2_5:1.149.2.2
	REL7_3_19:1.65.2.2
	REL7_4_17:1.94
	REL8_0_13:1.126.4.4
	REL8_1_9:1.138
	REL8_2_4:1.149.2.2
	REL8_0_12:1.126.4.4
	REL8_1_8:1.138
	REL8_2_3:1.149.2.2
	REL7_3_18:1.65.2.2
	REL7_4_16:1.94
	REL8_0_11:1.126.4.4
	REL8_1_7:1.138
	REL8_2_2:1.149.2.2
	REL8_0_10:1.126.4.4
	REL8_1_6:1.138
	REL8_2_1:1.149.2.2
	REL7_4_15:1.94
	REL7_3_17:1.65.2.2
	REL8_2_STABLE:1.149.0.2
	REL8_2_0:1.149
	REL8_2_RC1:1.149
	REL8_2_BETA3:1.149
	REL8_2_BETA2:1.149
	REL8_1_5:1.138
	REL8_0_9:1.126.4.4
	REL7_4_14:1.94
	REL7_3_16:1.65.2.2
	REL8_2_BETA1:1.148
	REL7_3_15:1.65.2.2
	REL7_4_13:1.94
	REL8_0_8:1.126.4.4
	REL8_1_4:1.138
	REL7_3_14:1.65.2.2
	REL7_4_12:1.94
	REL8_0_7:1.126.4.4
	REL8_1_3:1.138
	REL7_3_13:1.65.2.2
	REL7_4_11:1.94
	REL8_0_6:1.126.4.4
	REL8_1_2:1.138
	REL7_3_12:1.65.2.2
	REL7_4_10:1.94
	REL8_0_5:1.126.4.4
	REL8_1_1:1.138
	REL8_1_STABLE:1.138.0.2
	REL8_1_0:1.138
	REL8_1_0RC1:1.138
	REL8_1_0BETA4:1.138
	REL8_1_0BETA3:1.138
	REL7_3_11:1.65.2.2
	REL7_4_9:1.94
	REL8_0_4:1.126.4.4
	REL8_1_0BETA2:1.138
	REL8_1_0BETA1:1.137
	REL7_2_8:1.59
	REL7_3_10:1.65.2.2
	REL7_4_8:1.94
	REL8_0_3:1.126.4.4
	REL8_0_2:1.126.4.3
	REL7_2_7:1.59
	REL7_3_9:1.65.2.2
	REL7_4_7:1.94
	REL8_0_1:1.126.4.1
	REL8_0_STABLE:1.126.0.4
	REL8_0_0:1.126.0.2
	REL8_0_0RC5:1.126
	REL8_0_0RC4:1.126
	REL8_0_0RC3:1.125
	REL8_0_0RC2:1.124
	REL8_0_0RC1:1.122
	REL8_0_0BETA5:1.122
	REL8_0_0BETA4:1.120
	REL7_4_6:1.94
	REL7_3_8:1.65.2.2
	REL7_2_6:1.59
	REL8_0_0BETA3:1.113
	REL8_0_0BETA2:1.112
	REL7_2_5:1.59
	REL7_4_5:1.94
	REL7_3_7:1.65.2.2
	REL7_4_4:1.94
	REL8_0_0BETA1:1.112
	REL7_4_3:1.94
	REL7_4_2:1.94
	REL7_3_6:1.65.2.2
	REL7_4_1:1.94
	REL7_3_5:1.65.2.2
	REL7_4:1.94
	REL7_4_RC2:1.94
	REL7_4_STABLE:1.94.0.2
	REL7_4_RC1:1.94
	REL7_4_BETA5:1.94
	REL7_4_BETA4:1.94
	REL7_4_BETA3:1.93
	REL7_4_BETA2:1.92
	WIN32_DEV:1.91.0.2
	REL7_4_BETA1:1.83
	REL7_3_4:1.65.2.2
	REL7_3_2:1.65.2.2
	REL7_2_4:1.59
	REL7_3_STABLE:1.65.0.2
	REL7_2_3:1.59
	REL7_2_STABLE:1.59.0.2
	REL7_2:1.59
	REL7_2_RC2:1.59
	REL7_2_RC1:1.59
	REL7_2_BETA5:1.59
	REL7_2_BETA4:1.59
	REL7_2_BETA3:1.59
	REL7_2_BETA2:1.59
	REL7_2_BETA1:1.59
	REL7_1_2:1.51
	REL7_1_STABLE:1.51.0.2
	REL7_1_BETA:1.47
	REL7_1_BETA3:1.47
	REL7_1_BETA2:1.47
	REL7_1:1.51
	REL2_0B:1.21.0.2
	REL2_0:1.21
	Release_2_0_0:1.3
	Release_1_0_3:1.3.0.2
	Release_2_0:1.3
	Release_1_0_2:1.3
	PG95-1_01:1.1.1.1
	PG95_DIST:1.1.1;
locks; strict;
comment	@# @;


1.178
date	2010.07.12.16.18.44;	author momjian;	state Exp;
branches;
next	1.177;

1.177
date	2010.01.02.16.58.11;	author momjian;	state Exp;
branches;
next	1.176;

1.176
date	2009.08.28.20.26.19;	author petere;	state Exp;
branches;
next	1.175;

1.175
date	2009.08.26.22.24.43;	author petere;	state Exp;
branches;
next	1.174;

1.174
date	2009.07.13.01.37.05;	author momjian;	state Exp;
branches;
next	1.173;

1.173
date	2009.01.05.09.27.19;	author petere;	state Exp;
branches;
next	1.172;

1.172
date	2009.01.01.17.24.03;	author momjian;	state Exp;
branches;
next	1.171;

1.171
date	2008.12.07.08.36.22;	author petere;	state Exp;
branches;
next	1.170;

1.170
date	2008.12.02.10.39.30;	author mha;	state Exp;
branches;
next	1.169;

1.169
date	2008.11.24.09.15.16;	author mha;	state Exp;
branches;
next	1.168;

1.168
date	2008.10.01.15.35.32;	author mha;	state Exp;
branches;
next	1.167;

1.167
date	2008.09.17.04.31.08;	author tgl;	state Exp;
branches;
next	1.166;

1.166
date	2008.04.16.14.19.56;	author adunstan;	state Exp;
branches;
next	1.165;

1.165
date	2008.04.07.14.15.58;	author petere;	state Exp;
branches;
next	1.164;

1.164
date	2008.03.05.05.39.11;	author tgl;	state Exp;
branches;
next	1.163;

1.163
date	2008.02.26.14.26.16;	author petere;	state Exp;
branches;
next	1.162;

1.162
date	2008.02.26.13.31.40;	author petere;	state Exp;
branches;
next	1.161;

1.161
date	2008.02.26.06.41.24;	author petere;	state Exp;
branches;
next	1.160;

1.160
date	2008.02.13.18.14.46;	author momjian;	state Exp;
branches;
next	1.159;

1.159
date	2008.01.01.19.46.00;	author momjian;	state Exp;
branches
	1.159.2.1;
next	1.158;

1.158
date	2007.12.21.09.03.31;	author mha;	state Exp;
branches;
next	1.157;

1.157
date	2007.11.30.16.21.19;	author mha;	state Exp;
branches;
next	1.156;

1.156
date	2007.07.24.09.00.27;	author mha;	state Exp;
branches;
next	1.155;

1.155
date	2007.07.10.13.14.21;	author mha;	state Exp;
branches;
next	1.154;

1.154
date	2007.01.07.08.49.31;	author petere;	state Exp;
branches;
next	1.153;

1.153
date	2007.01.05.22.20.00;	author momjian;	state Exp;
branches;
next	1.152;

1.152
date	2007.01.05.20.54.40;	author momjian;	state Exp;
branches;
next	1.151;

1.151
date	2006.12.28.00.01.05;	author tgl;	state Exp;
branches;
next	1.150;

1.150
date	2006.12.27.23.53.13;	author tgl;	state Exp;
branches;
next	1.149;

1.149
date	2006.09.27.21.29.17;	author tgl;	state Exp;
branches
	1.149.2.1;
next	1.148;

1.148
date	2006.09.09.03.15.40;	author tgl;	state Exp;
branches;
next	1.147;

1.147
date	2006.07.27.13.20.24;	author momjian;	state Exp;
branches;
next	1.146;

1.146
date	2006.07.18.22.18.08;	author momjian;	state Exp;
branches;
next	1.145;

1.145
date	2006.05.07.01.05.11;	author momjian;	state Exp;
branches;
next	1.144;

1.144
date	2006.04.28.02.53.20;	author tgl;	state Exp;
branches;
next	1.143;

1.143
date	2006.04.11.20.26.40;	author neilc;	state Exp;
branches;
next	1.142;

1.142
date	2006.04.09.20.27.27;	author momjian;	state Exp;
branches;
next	1.141;

1.141
date	2006.03.05.15.59.08;	author momjian;	state Exp;
branches;
next	1.140;

1.140
date	2005.12.09.21.19.36;	author petere;	state Exp;
branches;
next	1.139;

1.139
date	2005.12.09.02.49.09;	author momjian;	state Exp;
branches;
next	1.138;

1.138
date	2005.08.29.00.47.35;	author momjian;	state Exp;
branches;
next	1.137;

1.137
date	2005.08.23.21.02.03;	author momjian;	state Exp;
branches;
next	1.136;

1.136
date	2005.08.23.20.48.46;	author momjian;	state Exp;
branches;
next	1.135;

1.135
date	2005.08.23.20.45.06;	author momjian;	state Exp;
branches;
next	1.134;

1.134
date	2005.06.27.02.04.26;	author neilc;	state Exp;
branches;
next	1.133;

1.133
date	2005.04.29.14.07.27;	author momjian;	state Exp;
branches;
next	1.132;

1.132
date	2005.04.29.13.42.21;	author momjian;	state Exp;
branches;
next	1.131;

1.131
date	2005.03.25.00.34.28;	author tgl;	state Exp;
branches;
next	1.130;

1.130
date	2005.03.14.17.27.50;	author momjian;	state Exp;
branches;
next	1.129;

1.129
date	2005.03.11.19.13.43;	author momjian;	state Exp;
branches;
next	1.128;

1.128
date	2005.01.26.19.24.02;	author tgl;	state Exp;
branches;
next	1.127;

1.127
date	2005.01.18.05.00.30;	author momjian;	state Exp;
branches;
next	1.126;

1.126
date	2005.01.06.21.41.44;	author tgl;	state Exp;
branches
	1.126.4.1;
next	1.125;

1.125
date	2004.12.31.22.03.50;	author pgsql;	state Exp;
branches;
next	1.124;

1.124
date	2004.12.21.02.14.41;	author tgl;	state Exp;
branches;
next	1.123;

1.123
date	2004.12.19.02.16.24;	author momjian;	state Exp;
branches;
next	1.122;

1.122
date	2004.11.20.21.13.06;	author tgl;	state Exp;
branches;
next	1.121;

1.121
date	2004.11.17.17.46.19;	author tgl;	state Exp;
branches;
next	1.120;

1.120
date	2004.10.16.22.52.49;	author tgl;	state Exp;
branches;
next	1.119;

1.119
date	2004.10.16.20.10.56;	author tgl;	state Exp;
branches;
next	1.118;

1.118
date	2004.10.16.03.26.43;	author momjian;	state Exp;
branches;
next	1.117;

1.117
date	2004.10.12.04.48.36;	author neilc;	state Exp;
branches;
next	1.116;

1.116
date	2004.10.12.01.04.11;	author momjian;	state Exp;
branches;
next	1.115;

1.115
date	2004.10.06.16.42.01;	author momjian;	state Exp;
branches;
next	1.114;

1.114
date	2004.10.04.20.36.12;	author momjian;	state Exp;
branches;
next	1.113;

1.113
date	2004.09.26.02.14.47;	author momjian;	state Exp;
branches;
next	1.112;

1.112
date	2004.07.13.00.06.44;	author tgl;	state Exp;
branches;
next	1.111;

1.111
date	2004.06.19.15.14.17;	author momjian;	state Exp;
branches;
next	1.110;

1.110
date	2004.06.19.04.43.18;	author momjian;	state Exp;
branches;
next	1.109;

1.109
date	2004.05.24.01.01.38;	author momjian;	state Exp;
branches;
next	1.108;

1.108
date	2004.05.21.20.56.49;	author tgl;	state Exp;
branches;
next	1.107;

1.107
date	2004.05.19.04.21.49;	author momjian;	state Exp;
branches;
next	1.106;

1.106
date	2004.05.17.14.35.34;	author momjian;	state Exp;
branches;
next	1.105;

1.105
date	2004.05.10.23.09.04;	author momjian;	state Exp;
branches;
next	1.104;

1.104
date	2004.05.07.00.24.59;	author tgl;	state Exp;
branches;
next	1.103;

1.103
date	2004.04.25.20.57.32;	author momjian;	state Exp;
branches;
next	1.102;

1.102
date	2004.04.23.18.15.55;	author momjian;	state Exp;
branches;
next	1.101;

1.101
date	2004.04.19.17.42.59;	author momjian;	state Exp;
branches;
next	1.100;

1.100
date	2004.03.24.03.54.16;	author momjian;	state Exp;
branches;
next	1.99;

1.99
date	2004.03.12.04.33.41;	author momjian;	state Exp;
branches;
next	1.98;

1.98
date	2004.03.10.21.12.46;	author momjian;	state Exp;
branches;
next	1.97;

1.97
date	2004.02.02.00.11.31;	author momjian;	state Exp;
branches;
next	1.96;

1.96
date	2003.11.30.06.09.50;	author momjian;	state Exp;
branches;
next	1.95;

1.95
date	2003.11.29.19.52.11;	author pgsql;	state Exp;
branches;
next	1.94;

1.94
date	2003.09.27.15.32.48;	author momjian;	state Exp;
branches;
next	1.93;

1.93
date	2003.09.07.03.43.57;	author momjian;	state Exp;
branches;
next	1.92;

1.92
date	2003.08.23.04.21.59;	author petere;	state Exp;
branches;
next	1.91;

1.91
date	2003.08.08.16.32.45;	author momjian;	state Exp;
branches
	1.91.2.1;
next	1.90;

1.90
date	2003.08.08.04.52.22;	author momjian;	state Exp;
branches;
next	1.89;

1.89
date	2003.08.08.03.22.24;	author momjian;	state Exp;
branches;
next	1.88;

1.88
date	2003.08.08.03.18.40;	author momjian;	state Exp;
branches;
next	1.87;

1.87
date	2003.08.08.03.03.54;	author momjian;	state Exp;
branches;
next	1.86;

1.86
date	2003.08.08.03.00.31;	author momjian;	state Exp;
branches;
next	1.85;

1.85
date	2003.08.08.02.55.08;	author momjian;	state Exp;
branches;
next	1.84;

1.84
date	2003.08.08.02.46.40;	author momjian;	state Exp;
branches;
next	1.83;

1.83
date	2003.06.17.17.58.54;	author petere;	state Exp;
branches;
next	1.82;

1.82
date	2003.06.14.14.35.42;	author momjian;	state Exp;
branches;
next	1.81;

1.81
date	2003.06.12.17.31.50;	author momjian;	state Exp;
branches;
next	1.80;

1.80
date	2003.06.08.17.43.00;	author tgl;	state Exp;
branches;
next	1.79;

1.79
date	2003.05.10.02.05.50;	author momjian;	state Exp;
branches;
next	1.78;

1.78
date	2003.05.09.16.52.10;	author momjian;	state Exp;
branches;
next	1.77;

1.77
date	2003.04.22.19.42.27;	author momjian;	state Exp;
branches;
next	1.76;

1.76
date	2003.04.22.02.21.34;	author momjian;	state Exp;
branches;
next	1.75;

1.75
date	2003.04.14.21.15.13;	author tgl;	state Exp;
branches;
next	1.74;

1.74
date	2003.03.29.11.31.51;	author petere;	state Exp;
branches;
next	1.73;

1.73
date	2003.02.03.14.24.07;	author momjian;	state Exp;
branches;
next	1.72;

1.72
date	2003.01.10.10.59.08;	author petere;	state Exp;
branches;
next	1.71;

1.71
date	2003.01.06.03.18.27;	author momjian;	state Exp;
branches;
next	1.70;

1.70
date	2002.12.13.22.17.57;	author momjian;	state Exp;
branches;
next	1.69;

1.69
date	2002.12.11.04.07.39;	author momjian;	state Exp;
branches;
next	1.68;

1.68
date	2002.12.06.04.37.05;	author momjian;	state Exp;
branches;
next	1.67;

1.67
date	2002.12.06.03.46.37;	author momjian;	state Exp;
branches;
next	1.66;

1.66
date	2002.12.04.18.14.11;	author momjian;	state Exp;
branches;
next	1.65;

1.65
date	2002.09.03.21.45.44;	author petere;	state Exp;
branches
	1.65.2.1;
next	1.64;

1.64
date	2002.07.27.20.10.05;	author petere;	state Exp;
branches;
next	1.63;

1.63
date	2002.07.18.03.59.49;	author momjian;	state Exp;
branches;
next	1.62;

1.62
date	2002.06.14.04.23.17;	author momjian;	state Exp;
branches;
next	1.61;

1.61
date	2002.06.14.04.09.37;	author momjian;	state Exp;
branches;
next	1.60;

1.60
date	2002.06.14.03.56.47;	author momjian;	state Exp;
branches;
next	1.59;

1.59
date	2001.09.22.22.54.32;	author petere;	state Exp;
branches;
next	1.58;

1.58
date	2001.09.21.20.31.48;	author tgl;	state Exp;
branches;
next	1.57;

1.57
date	2001.09.06.04.57.30;	author ishii;	state Exp;
branches;
next	1.56;

1.56
date	2001.08.28.14.20.28;	author petere;	state Exp;
branches;
next	1.55;

1.55
date	2001.08.15.21.08.21;	author momjian;	state Exp;
branches;
next	1.54;

1.54
date	2001.08.15.18.42.15;	author momjian;	state Exp;
branches;
next	1.53;

1.53
date	2001.07.15.13.45.04;	author petere;	state Exp;
branches;
next	1.52;

1.52
date	2001.05.11.01.46.33;	author momjian;	state Exp;
branches;
next	1.51;

1.51
date	2001.02.20.19.20.29;	author petere;	state Exp;
branches;
next	1.50;

1.50
date	2001.02.11.01.52.11;	author ishii;	state Exp;
branches;
next	1.49;

1.49
date	2001.02.04.14.09.33;	author petere;	state Exp;
branches;
next	1.48;

1.48
date	2001.01.20.23.07.27;	author tgl;	state Exp;
branches;
next	1.47;

1.47
date	2000.10.30.10.31.45;	author ishii;	state Exp;
branches;
next	1.46;

1.46
date	2000.10.25.16.13.52;	author petere;	state Exp;
branches;
next	1.45;

1.45
date	2000.10.20.21.04.11;	author petere;	state Exp;
branches;
next	1.44;

1.44
date	2000.10.20.03.45.35;	author tgl;	state Exp;
branches;
next	1.43;

1.43
date	2000.10.17.17.43.13;	author petere;	state Exp;
branches;
next	1.42;

1.42
date	2000.10.12.07.38.13;	author ishii;	state Exp;
branches;
next	1.41;

1.41
date	2000.09.17.13.02.49;	author petere;	state Exp;
branches;
next	1.40;

1.40
date	2000.08.31.16.11.48;	author petere;	state Exp;
branches;
next	1.39;

1.39
date	2000.06.28.18.29.44;	author petere;	state Exp;
branches;
next	1.38;

1.38
date	98.01.13.04.18.15;	author scrappy;	state dead;
branches;
next	1.37;

1.37
date	97.08.17.00.33.28;	author scrappy;	state Exp;
branches;
next	1.36;

1.36
date	97.07.29.14.08.34;	author momjian;	state Exp;
branches;
next	1.35;

1.35
date	97.04.04.10.42.34;	author scrappy;	state Exp;
branches;
next	1.34;

1.34
date	97.04.04.02.53.14;	author scrappy;	state Exp;
branches;
next	1.33;

1.33
date	97.03.25.09.20.12;	author scrappy;	state Exp;
branches;
next	1.32;

1.32
date	97.03.25.09.08.05;	author scrappy;	state Exp;
branches;
next	1.31;

1.31
date	97.03.17.22.05.05;	author scrappy;	state Exp;
branches;
next	1.30;

1.30
date	97.03.16.18.51.13;	author scrappy;	state Exp;
branches;
next	1.29;

1.29
date	97.03.15.19.17.03;	author scrappy;	state Exp;
branches;
next	1.28;

1.28
date	97.03.14.23.34.03;	author scrappy;	state Exp;
branches;
next	1.27;

1.27
date	97.01.20.00.51.38;	author bryanh;	state Exp;
branches;
next	1.26;

1.26
date	97.01.10.18.55.24;	author momjian;	state Exp;
branches;
next	1.25;

1.25
date	97.01.10.04.01.09;	author vadim;	state Exp;
branches;
next	1.24;

1.24
date	97.01.06.00.24.24;	author scrappy;	state Exp;
branches;
next	1.23;

1.23
date	97.01.05.23.52.21;	author scrappy;	state Exp;
branches;
next	1.22;

1.22
date	96.12.10.07.05.09;	author bryanh;	state Exp;
branches;
next	1.21;

1.21
date	96.11.26.07.38.46;	author bryanh;	state Exp;
branches;
next	1.20;

1.20
date	96.11.26.06.33.18;	author bryanh;	state Exp;
branches;
next	1.19;

1.19
date	96.11.26.03.20.33;	author bryanh;	state Exp;
branches;
next	1.18;

1.18
date	96.11.17.19.27.38;	author momjian;	state Exp;
branches;
next	1.17;

1.17
date	96.11.14.10.25.48;	author bryanh;	state Exp;
branches;
next	1.16;

1.16
date	96.11.12.11.42.21;	author bryanh;	state Exp;
branches;
next	1.15;

1.15
date	96.11.09.06.24.51;	author momjian;	state Exp;
branches;
next	1.14;

1.14
date	96.11.08.21.40.11;	author momjian;	state Exp;
branches;
next	1.13;

1.13
date	96.11.08.06.02.25;	author momjian;	state Exp;
branches;
next	1.12;

1.12
date	96.11.04.06.32.59;	author bryanh;	state Exp;
branches;
next	1.11;

1.11
date	96.11.04.04.00.53;	author momjian;	state Exp;
branches;
next	1.10;

1.10
date	96.11.03.07.14.29;	author scrappy;	state Exp;
branches;
next	1.9;

1.9
date	96.11.02.09.54.44;	author bryanh;	state Exp;
branches;
next	1.8;

1.8
date	96.10.25.09.22.30;	author bryanh;	state Exp;
branches;
next	1.7;

1.7
date	96.09.25.19.37.31;	author momjian;	state Exp;
branches;
next	1.6;

1.6
date	96.09.23.18.14.08;	author scrappy;	state Exp;
branches;
next	1.5;

1.5
date	96.09.23.08.23.33;	author scrappy;	state Exp;
branches;
next	1.4;

1.4
date	96.08.28.23.02.43;	author scrappy;	state Exp;
branches;
next	1.3;

1.3
date	96.08.01.05.04.29;	author scrappy;	state Exp;
branches;
next	1.2;

1.2
date	96.07.29.20.52.24;	author scrappy;	state Exp;
branches;
next	1.1;

1.1
date	96.07.09.06.22.16;	author scrappy;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.07.09.06.22.16;	author scrappy;	state Exp;
branches;
next	;

1.65.2.1
date	2002.12.11.04.08.05;	author momjian;	state Exp;
branches;
next	1.65.2.2;

1.65.2.2
date	2002.12.13.22.18.22;	author momjian;	state Exp;
branches;
next	;

1.91.2.1
date	2003.09.07.04.37.10;	author momjian;	state Exp;
branches;
next	;

1.126.4.1
date	2005.01.26.19.24.19;	author tgl;	state Exp;
branches;
next	1.126.4.2;

1.126.4.2
date	2005.03.13.22.04.45;	author momjian;	state Exp;
branches;
next	1.126.4.3;

1.126.4.3
date	2005.03.25.00.35.19;	author tgl;	state Exp;
branches;
next	1.126.4.4;

1.126.4.4
date	2005.04.29.14.07.34;	author momjian;	state Exp;
branches;
next	;

1.149.2.1
date	2006.12.27.23.53.21;	author tgl;	state Exp;
branches;
next	1.149.2.2;

1.149.2.2
date	2006.12.28.00.01.12;	author tgl;	state Exp;
branches;
next	1.149.2.3;

1.149.2.3
date	2007.11.30.16.21.22;	author mha;	state Exp;
branches;
next	1.149.2.4;

1.149.2.4
date	2008.04.16.14.24.38;	author adunstan;	state Exp;
branches;
next	;

1.159.2.1
date	2008.03.05.05.39.17;	author tgl;	state Exp;
branches;
next	1.159.2.2;

1.159.2.2
date	2008.04.16.14.21.22;	author adunstan;	state Exp;
branches;
next	1.159.2.3;

1.159.2.3
date	2008.10.01.15.35.34;	author mha;	state Exp;
branches;
next	;


desc
@@


1.178
log
@Bump minor library version numbers, for 9.1 release.
@
text
@#-------------------------------------------------------------------------
#
# Makefile for src/interfaces/libpq library
#
# Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.177 2010/01/02 16:58:11 momjian Exp $
#
#-------------------------------------------------------------------------

subdir = src/interfaces/libpq
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global


# shared library parameters
NAME= pq
SO_MAJOR_VERSION= 5
SO_MINOR_VERSION= 4

override CPPFLAGS :=  -DFRONTEND -DUNSAFE_STAT_OK -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port -I$(top_srcdir)/src/port
ifneq ($(PORTNAME), win32)
override CFLAGS += $(PTHREAD_CFLAGS)
endif

# Need to recompile any libpgport object files because we need these
# object files to use the same compile flags as libpq.  If we used
# the object files from libpgport, this would not be true on all
# platforms.
LIBS := $(LIBS:-lpgport=)

OBJS=	fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \
	fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o \
	libpq-events.o \
	md5.o ip.o wchar.o encnames.o noblock.o pgstrcasecmp.o thread.o \
	$(filter crypt.o getaddrinfo.o inet_aton.o open.o snprintf.o strerror.o strlcpy.o win32error.o, $(LIBOBJS))

ifeq ($(PORTNAME), cygwin)
override shlib = cyg$(NAME)$(DLSUFFIX)
endif

ifeq ($(PORTNAME), win32)
OBJS += win32.o pgsleep.o libpqrc.o

libpqrc.o: libpq.rc
	$(WINDRES) -i $< -o $@@

ifeq ($(enable_thread_safety), yes)
OBJS += pthread-win32.o
endif
endif


# Add libraries that libpq depends (or might depend) on into the
# shared library link.  (The order in which you list them here doesn't
# matter.)
ifneq ($(PORTNAME), win32)
SHLIB_LINK += $(filter -lcrypt -ldes -lcom_err -lcrypto -lk5crypto -lkrb5 -lgssapi_krb5 -lgss -lgssapi -lssl -lsocket -lnsl -lresolv -lintl, $(LIBS)) $(LDAP_LIBS_FE) $(PTHREAD_LIBS)
else
SHLIB_LINK += $(filter -lcrypt -ldes -lcom_err -lcrypto -lk5crypto -lkrb5 -lgssapi32 -lssl -lsocket -lnsl -lresolv -lintl $(PTHREAD_LIBS), $(LIBS)) $(LDAP_LIBS_FE)
endif
ifeq ($(PORTNAME), win32)
SHLIB_LINK += -lshfolder -lwsock32 -lws2_32 -lsecur32 $(filter -leay32 -lssleay32 -lcomerr32 -lkrb5_32, $(LIBS))
endif

SHLIB_EXPORTS = exports.txt

all: all-lib

# Shared library stuff
include $(top_srcdir)/src/Makefile.shlib
backend_src = $(top_srcdir)/src/backend


# We use several backend modules verbatim, but since we need to
# compile with appropriate options to build a shared lib, we can't
# necessarily use the same object files as the backend uses. Instead,
# symlink the source files in here and build our own object file.
# For port modules, this only happens if configure decides the module
# is needed (see filter hack in OBJS, above).

crypt.c getaddrinfo.c inet_aton.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c win32error.c pgsleep.c: % : $(top_srcdir)/src/port/%
	rm -f $@@ && $(LN_S) $< .

md5.c ip.c: % : $(backend_src)/libpq/%
	rm -f $@@ && $(LN_S) $< .

encnames.c wchar.c : % : $(backend_src)/utils/mb/%
	rm -f $@@ && $(LN_S) $< .


distprep: libpq-dist.rc

libpq.rc libpq-dist.rc: libpq.rc.in
	sed -e 's/\(VERSION.*\),0 *$$/\1,'`date '+%y%j' | sed 's/^0*//'`'/' $< >$@@

# Depend on Makefile.global to force rebuild on re-run of configure.
# (But libpq-dist.rc is shipped in the distribution for shell-less
# installations and is only updated by distprep.)
libpq.rc: $(top_builddir)/src/Makefile.global

fe-connect.o: fe-connect.c $(top_builddir)/src/port/pg_config_paths.h

$(top_builddir)/src/port/pg_config_paths.h:
	$(MAKE) -C $(top_builddir)/src/port pg_config_paths.h

install: all installdirs install-lib
	$(INSTALL_DATA) $(srcdir)/libpq-fe.h '$(DESTDIR)$(includedir)'
	$(INSTALL_DATA) $(srcdir)/libpq-events.h '$(DESTDIR)$(includedir)'
	$(INSTALL_DATA) $(srcdir)/libpq-int.h '$(DESTDIR)$(includedir_internal)'
	$(INSTALL_DATA) $(srcdir)/pqexpbuffer.h '$(DESTDIR)$(includedir_internal)'
	$(INSTALL_DATA) $(srcdir)/pg_service.conf.sample '$(DESTDIR)$(datadir)/pg_service.conf.sample'

installdirs: installdirs-lib
	$(MKDIR_P) '$(DESTDIR)$(includedir)' '$(DESTDIR)$(includedir_internal)'

uninstall: uninstall-lib
	rm -f '$(DESTDIR)$(includedir)/libpq-fe.h'
	rm -f '$(DESTDIR)$(includedir)/libpq-events.h'
	rm -f '$(DESTDIR)$(includedir_internal)/libpq-int.h'
	rm -f '$(DESTDIR)$(includedir_internal)/pqexpbuffer.h'
	rm -f '$(DESTDIR)$(datadir)/pg_service.conf.sample'

clean distclean: clean-lib
	rm -f $(OBJS) pg_config_paths.h crypt.c getaddrinfo.c inet_aton.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c md5.c ip.c encnames.c wchar.c win32error.c pgsleep.c pthread.h libpq.rc
# Might be left over from a Win32 client-only build
	rm -f pg_config_paths.h

maintainer-clean: distclean maintainer-clean-lib
	rm -f libpq-dist.rc
@


1.177
log
@Update copyright for the year 2010.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.176 2009/08/28 20:26:19 petere Exp $
d20 1
a20 1
SO_MINOR_VERSION= 3
@


1.176
log
@Derived files that are shipped in the distribution used to be built in the
source directory even for out-of-tree builds.  They are now alsl built in
the build tree.  This should be more convenient for certain developers'
workflows, and shouldn't really break anything else.
@
text
@d5 1
a5 1
# Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.175 2009/08/26 22:24:43 petere Exp $
@


1.175
log
@Update of install-sh, mkinstalldirs, and associated configury

Update install-sh to that from Autoconf 2.63, plus our Darwin-specific
changes (which I simplified a bit).  install-sh is now able to install
multiple files in one run, so we could simplify our makefiles sometime.

install-sh also now has a -d option to create directories, so we don't need
mkinstalldirs anymore.

Use AC_PROG_MKDIR_P in configure.in, so we can use mkdir -p when available
instead of install-sh -d.  For consistency with the rest of the world,
the corresponding make variable has been renamed from $(mkinstalldirs) to
$(MKDIR_P).
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.174 2009/07/13 01:37:05 momjian Exp $
d93 1
a93 1
distprep: $(srcdir)/libpq-dist.rc
d95 1
a95 1
libpq.rc $(srcdir)/libpq-dist.rc: libpq.rc.in
d131 1
a131 1
	rm -f $(srcdir)/libpq-dist.rc
@


1.174
log
@Stamp minor library version numbers for 8.5; sorry for the delay.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.173 2009/01/05 09:27:19 petere Exp $
d116 1
a116 1
	$(mkinstalldirs) '$(DESTDIR)$(includedir)' '$(DESTDIR)$(includedir_internal)'
@


1.173
log
@Allow out-of-tree builds on mingw and cygwin

Author: Richard Evans <richard.evans@@blueallegro.net>
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.172 2009/01/01 17:24:03 momjian Exp $
d20 1
a20 1
SO_MINOR_VERSION= 2
@


1.172
log
@Update copyright for 2009.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.171 2008/12/07 08:36:22 petere Exp $
d22 1
a22 1
override CPPFLAGS :=  -DFRONTEND -DUNSAFE_STAT_OK -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port
@


1.171
log
@Set up ar, dlltool, dllwrap, and windres for cross-compiling if necessary.
Plus some makefile cleanup.

part of a patch from Richard Evans
@
text
@d5 1
a5 1
# Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.170 2008/12/02 10:39:30 mha Exp $
@


1.170
log
@Change wildcard cerfificate mapping to be much simler - we now only match
the * character at the beginning of a pattern, and it does not match
subdomains.

Since this means we no longer need fnmatch, remove the imported implementation
from port, along with the autoconf check for it.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.169 2008/11/24 09:15:16 mha Exp $
d47 1
a47 1
	windres -i $< -o $@@
@


1.169
log
@Add support for matching wildcard server certificates to the new SSL code.

This uses the function fnmatch() which is not available on all platforms
(notably Windows), so import the implementation from NetBSD into src/port.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.168 2008/10/01 15:35:32 mha Exp $
d37 1
a37 1
	$(filter crypt.o fnmatch.o getaddrinfo.o inet_aton.o open.o snprintf.o strerror.o strlcpy.o win32error.o, $(LIBOBJS))
d83 1
a83 1
crypt.c fnmatch.c getaddrinfo.c inet_aton.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c win32error.c pgsleep.c: % : $(top_srcdir)/src/port/%
d126 1
a126 1
	rm -f $(OBJS) pg_config_paths.h crypt.c fnmatch.c getaddrinfo.c inet_aton.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c md5.c ip.c encnames.c wchar.c win32error.c pgsleep.c pthread.h libpq.rc
@


1.168
log
@Link libpq with libgssapi if configure finds it, as
required by at least NetBSD.

Markus Schaaf
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.167 2008/09/17 04:31:08 tgl Exp $
d37 1
a37 1
	$(filter crypt.o getaddrinfo.o inet_aton.o open.o snprintf.o strerror.o strlcpy.o win32error.o, $(LIBOBJS))
d83 1
a83 1
crypt.c getaddrinfo.c inet_aton.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c win32error.c pgsleep.c: % : $(top_srcdir)/src/port/%
d126 1
a126 1
	rm -f $(OBJS) pg_config_paths.h crypt.c getaddrinfo.c inet_aton.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c md5.c ip.c encnames.c wchar.c win32error.c pgsleep.c pthread.h libpq.rc
@


1.167
log
@Add an "events" system to libpq, whereby applications can get callbacks that
enable them to manage private data associated with PGconns and PGresults.

Andrew Chernow and Merlin Moncure
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.166 2008/04/16 14:19:56 adunstan Exp $
d59 1
a59 1
SHLIB_LINK += $(filter -lcrypt -ldes -lcom_err -lcrypto -lk5crypto -lkrb5 -lgssapi_krb5 -lgss -lssl -lsocket -lnsl -lresolv -lintl, $(LIBS)) $(LDAP_LIBS_FE) $(PTHREAD_LIBS)
@


1.166
log
@Avoid using unnecessary pgwin32_safestat in libpq.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.165 2008/04/07 14:15:58 petere Exp $
d35 1
d110 1
d119 5
a123 1
	rm -f '$(DESTDIR)$(includedir)/libpq-fe.h' '$(DESTDIR)$(includedir_internal)/libpq-int.h' '$(DESTDIR)$(includedir_internal)/pqexpbuffer.h' '$(DESTDIR)$(datadir)/pg_service.conf.sample'
@


1.165
log
@Implement a few changes to how shared libraries and dynamically loadable
modules are built.  Foremost, it creates a solid distinction between these two
types of targets based on what had already been implemented and duplicated in
ad hoc ways before.  Specifically,

- Dynamically loadable modules no longer get a soname.  The numbers previously
set in the makefiles were dummy numbers anyway, and the presence of a soname
upset a few packaging tools, so it is nicer not to have one.

- The cumbersome detour taken on installation (build a libfoo.so.0.0.0 and
then override the rule to install foo.so instead) is removed.

- Lots of duplicated code simplified.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.164 2008/03/05 05:39:11 tgl Exp $
d22 1
a22 1
override CPPFLAGS :=  -DFRONTEND -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port
@


1.164
log
@Include -lgss in libpq link, if available.  Bjorn Munch
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.163 2008/02/26 14:26:16 petere Exp $
a20 1
DLTYPE= library
d113 2
a114 2
installdirs:
	$(mkinstalldirs) '$(DESTDIR)$(libdir)' '$(DESTDIR)$(includedir)' '$(DESTDIR)$(includedir_internal)'
@


1.163
log
@Don't build the win32 support files in the all target, only in distprep and
when they are actually needed as prerequisites.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.162 2008/02/26 13:31:40 petere Exp $
d59 1
a59 1
SHLIB_LINK += $(filter -lcrypt -ldes -lcom_err -lcrypto -lk5crypto -lkrb5 -lgssapi_krb5 -lssl -lsocket -lnsl -lresolv -lintl, $(LIBS)) $(LDAP_LIBS_FE) $(PTHREAD_LIBS)
@


1.162
log
@Create two separate libpq.rc's: One that is built at build time, and one
that is shipped in the distribution, named libpq-dist.rc.  This way the
build system doesn't get upset when a distributed file is forcibly
overwritten by during a normal build.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.161 2008/02/26 06:41:24 petere Exp $
d69 1
a69 1
all: $(srcdir)/libpq-dist.rc all-lib
@


1.161
log
@Refactor the code that creates the shared library export files to appear
only once in Makefile.shlib and not in four copies.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.160 2008/02/13 18:14:46 momjian Exp $
d47 1
a47 1
	windres -i libpq.rc -o libpqrc.o
d69 1
a69 1
all: $(srcdir)/libpq.rc all-lib
d93 1
a93 1
distprep: $(srcdir)/libpq.rc
d95 7
a101 3
# depend on Makefile.global to force rebuild on re-run of configure
$(srcdir)/libpq.rc: libpq.rc.in $(top_builddir)/src/Makefile.global
	sed -e 's/\(VERSION.*\),0 *$$/\1,'`date '+%y%j' | sed 's/^0*//'`'/' < $< > $@@
d121 1
a121 1
	rm -f $(OBJS) pg_config_paths.h crypt.c getaddrinfo.c inet_aton.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c md5.c ip.c encnames.c wchar.c win32error.c pgsleep.c pthread.h
d126 1
a126 1
	rm -f $(srcdir)/libpq.rc
@


1.160
log
@Bump minor library version numbers for 8.4.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.159 2008/01/01 19:46:00 momjian Exp $
a44 1
DLL_DEFFILE=libpqdll.def
d67 1
d69 1
a69 1
all: def-files $(srcdir)/libpq.rc all-lib
d93 1
a93 56
# We need several not-quite-identical variants of .DEF files to build libpq
# DLLs for Windows.  These are made from the single source file exports.txt.
# Since we can't assume that Windows boxes will have sed, the .DEF files are
# always built and included in distribution tarballs.

distprep: def-files $(srcdir)/libpq.rc

.PHONY: def-files

def-files: $(srcdir)/libpqdll.def $(srcdir)/libpqddll.def $(srcdir)/blibpqdll.def

$(srcdir)/libpqdll.def: exports.txt
	echo '; DEF file for MS VC++' > $@@
	echo 'LIBRARY LIBPQ' >> $@@
	echo 'EXPORTS' >> $@@
	sed -e '/^#/d' -e 's/^\(.* \)\([0-9][0-9]*\)/    \1@@ \2/' < $< >> $@@

$(srcdir)/libpqddll.def: exports.txt
	echo '; DEF file for MS VC++' > $@@
	echo 'LIBRARY LIBPQD' >> $@@
	echo 'EXPORTS' >> $@@
	sed -e '/^#/d' -e 's/^\(.* \)\([0-9][0-9]*\)/    \1@@ \2/' < $< >> $@@

$(srcdir)/blibpqdll.def: exports.txt
	echo '; DEF file for Borland C++ Builder' > $@@
	echo 'LIBRARY BLIBPQ' >> $@@
	echo 'EXPORTS' >> $@@
	sed -e '/^#/d' -e 's/^\(.* \)\([0-9][0-9]*\)/    _\1@@ \2/' < $< >> $@@
	echo '' >> $@@
	echo '; Aliases for MS compatible names' >> $@@
	sed -e '/^#/d' -e 's/^\(.* \)\([0-9][0-9]*\)/    \1= _\1/' < $< | sed 's/ *$$//' >> $@@

# Where possible, restrict the symbols exported by the library to just the
# official list, so as to avoid unintentional ABI changes.  On recent Darwin
# this also quiets multiply-defined-symbol warnings in programs that use
# libpgport along with libpq.

ifeq ($(PORTNAME), darwin)
$(shlib): exports.list

exports.list: exports.txt
	$(AWK) '/^[^#]/ {printf "_%s\n",$$1}' $< >$@@

exported_symbols_list = -exported_symbols_list exports.list
endif

ifeq ($(PORTNAME), linux)
$(shlib): exports.list

exports.list: exports.txt
	echo '{ global:' >$@@
	$(AWK) '/^[^#]/ {printf "%s;\n",$$1}' $< >>$@@
	echo ' local: *; };' >>$@@

exported_symbols_list = -Wl,--version-script=exports.list
endif
d117 1
a117 1
	rm -f $(OBJS) pg_config_paths.h crypt.c getaddrinfo.c inet_aton.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c md5.c ip.c encnames.c wchar.c win32error.c pgsleep.c pthread.h exports.list
d121 2
a122 2
maintainer-clean: distclean
	rm -f $(srcdir)/libpqdll.def $(srcdir)/libpqddll.def $(srcdir)/blibpqdll.def $(srcdir)/libpq.rc
@


1.159
log
@Update copyrights in source tree to 2008.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.158 2007/12/21 09:03:31 mha Exp $
d20 1
a20 1
SO_MINOR_VERSION= 1
@


1.159.2.1
log
@Include -lgss in libpq link, if available.  Bjorn Munch
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.159 2008/01/01 19:46:00 momjian Exp $
d60 1
a60 1
SHLIB_LINK += $(filter -lcrypt -ldes -lcom_err -lcrypto -lk5crypto -lkrb5 -lgssapi_krb5 -lgss -lssl -lsocket -lnsl -lresolv -lintl, $(LIBS)) $(LDAP_LIBS_FE) $(PTHREAD_LIBS)
@


1.159.2.2
log
@Avoid using unnecessary pgwin32_safestat in libpq.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.159.2.1 2008/03/05 05:39:17 tgl Exp $
d23 1
a23 1
override CPPFLAGS :=  -DFRONTEND -DUNSAFE_STAT_OK -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port
@


1.159.2.3
log
@Link libpq with libgssapi if configure finds it, as
required by at least NetBSD.

Markus Schaaf
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.159.2.2 2008/04/16 14:21:22 adunstan Exp $
d60 1
a60 1
SHLIB_LINK += $(filter -lcrypt -ldes -lcom_err -lcrypto -lk5crypto -lkrb5 -lgssapi_krb5 -lgss -lgssapi -lssl -lsocket -lnsl -lresolv -lintl, $(LIBS)) $(LDAP_LIBS_FE) $(PTHREAD_LIBS)
@


1.158
log
@libpq needs pgsleep on win32 because of the changes to port/open.c.
@
text
@d5 1
a5 1
# Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.157 2007/11/30 16:21:19 mha Exp $
@


1.157
log
@Add win32error.c to libpq, needed to resolve _dosmaperr.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.156 2007/07/24 09:00:27 mha Exp $
d44 1
a44 1
OBJS += win32.o libpqrc.o
d83 1
a83 1
crypt.c getaddrinfo.c inet_aton.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c win32error.c: % : $(top_srcdir)/src/port/%
d172 1
a172 1
	rm -f $(OBJS) pg_config_paths.h crypt.c getaddrinfo.c inet_aton.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c md5.c ip.c encnames.c wchar.c win32error.c pthread.h exports.list
@


1.156
log
@Make it possible, and default, for MingW to build with SSPI support
by dynamically loading the function that's missing from the MingW
headers and library.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.155 2007/07/10 13:14:21 mha Exp $
d37 1
a37 1
	$(filter crypt.o getaddrinfo.o inet_aton.o open.o snprintf.o strerror.o strlcpy.o, $(LIBOBJS))
d83 1
a83 1
crypt.c getaddrinfo.c inet_aton.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c: % : $(top_srcdir)/src/port/%
d172 1
a172 1
	rm -f $(OBJS) pg_config_paths.h crypt.c getaddrinfo.c inet_aton.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c md5.c ip.c encnames.c wchar.c pthread.h exports.list
@


1.155
log
@Add support for GSSAPI authentication.

Documentation still being written, will be committed later.

Henry B. Hotz and Magnus Hagander
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.154 2007/01/07 08:49:31 petere Exp $
d65 1
a65 1
SHLIB_LINK += -lshfolder -lwsock32 -lws2_32 $(filter -leay32 -lssleay32 -lcomerr32 -lkrb5_32, $(LIBS))
@


1.154
log
@Indent comments in makefiles better so they don't appear in the output.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.153 2007/01/05 22:20:00 momjian Exp $
d60 1
a60 1
SHLIB_LINK += $(filter -lcrypt -ldes -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv -lintl, $(LIBS)) $(LDAP_LIBS_FE) $(PTHREAD_LIBS)
d62 1
a62 1
SHLIB_LINK += $(filter -lcrypt -ldes -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv -lintl $(PTHREAD_LIBS), $(LIBS)) $(LDAP_LIBS_FE)
@


1.153
log
@Update CVS HEAD for 2007 copyright.  Back branches are typically not
back-stamped for this.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.152 2007/01/05 20:54:40 momjian Exp $
d173 2
a174 1
	rm -f pg_config_paths.h	# Might be left over from a Win32 client-only build
@


1.152
log
@Stamp major release 8.3.0, and increment library version numbers.
@
text
@d5 1
a5 1
# Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.151 2006/12/28 00:01:05 tgl Exp $
@


1.151
log
@Revert exports.list change pending closer study.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.149 2006/09/27 21:29:17 tgl Exp $
d20 1
a20 1
SO_MINOR_VERSION= 0
@


1.150
log
@Use a more backward-compatible syntax for exports.list on Linux.
Per Thorkil Olesen.
@
text
@d143 1
a143 1
	echo 'VERSION { global:' >$@@
@


1.149
log
@Oops, forgot that libpq needs extra steps to make use of src/port/ files.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.148 2006/09/09 03:15:40 tgl Exp $
d143 1
a143 1
	echo '{ global:' >$@@
@


1.149.2.1
log
@Use a more backward-compatible syntax for exports.list on Linux.
Per Thorkil Olesen.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.149 2006/09/27 21:29:17 tgl Exp $
d143 1
a143 1
	echo 'VERSION { global:' >$@@
@


1.149.2.2
log
@Revert exports.list change pending closer study.
@
text
@d143 1
a143 1
	echo '{ global:' >$@@
@


1.149.2.3
log
@Add win32error.c to libpq, needed to resolve _dosmaperr.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.149.2.2 2006/12/28 00:01:12 tgl Exp $
d37 1
a37 1
	$(filter crypt.o getaddrinfo.o inet_aton.o open.o snprintf.o strerror.o strlcpy.o win32error.o, $(LIBOBJS))
d83 1
a83 1
crypt.c getaddrinfo.c inet_aton.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c win32error.c: % : $(top_srcdir)/src/port/%
d172 1
a172 1
	rm -f $(OBJS) pg_config_paths.h crypt.c getaddrinfo.c inet_aton.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c md5.c ip.c encnames.c wchar.c win32error.c pthread.h exports.list
@


1.149.2.4
log
@Avoid using unnecessary pgwin32_safestat in libpq.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.149.2.3 2007/11/30 16:21:22 mha Exp $
d23 1
a23 1
override CPPFLAGS :=  -DFRONTEND -DUNSAFE_STAT_OK -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port
@


1.148
log
@Revise OpenLDAP configuration and linking to work on more platforms
than before.  Albe Laurenz (but editorialized heavily by me, so if it
doesn't work it's my fault).
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.147 2006/07/27 13:20:24 momjian Exp $
d37 1
a37 1
	$(filter crypt.o getaddrinfo.o inet_aton.o open.o snprintf.o strerror.o, $(LIBOBJS))
d83 1
a83 1
crypt.c getaddrinfo.c inet_aton.c noblock.c pgstrcasecmp.c snprintf.c strerror.c open.c thread.c: % : $(top_srcdir)/src/port/%
d172 1
a172 1
	rm -f $(OBJS) pg_config_paths.h crypt.c getaddrinfo.c inet_aton.c noblock.c pgstrcasecmp.c snprintf.c strerror.c open.c thread.c md5.c ip.c encnames.c wchar.c pthread.h exports.list
@


1.147
log
@Allow LDAP lookups from pg_service.conf.

Albe Laurenz
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.146 2006/07/18 22:18:08 momjian Exp $
d60 1
a60 1
SHLIB_LINK += $(filter -lcrypt -ldes -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv -lintl, $(LIBS)) $(PTHREAD_LIBS)
d62 1
a62 1
SHLIB_LINK += $(filter -lcrypt -ldes -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv -lintl $(PTHREAD_LIBS), $(LIBS))
d65 1
a65 1
SHLIB_LINK += -lshfolder -lwsock32 -lws2_32 $(filter -leay32 -lssleay32 -lcomerr32 -lkrb5_32 -lwldap32, $(LIBS))
@


1.146
log
@The Win32 DEF files that are generated for libpq contain the attribute
"DESCRIPTION", which is actually only allowed for device drivers. The
compilers ignore it with a warning - if we remove them, we get rid of
the warning.

Magnus Hagander
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.145 2006/05/07 01:05:11 momjian Exp $
d65 1
a65 1
SHLIB_LINK += -lshfolder -lwsock32 -lws2_32 $(filter -leay32 -lssleay32 -lcomerr32 -lkrb5_32, $(LIBS))
@


1.145
log
@Use $(LIBS:-lpgport=) rather than $(patsubst -lpgport,, $(LIBS)), for consistency.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.144 2006/04/28 02:53:20 tgl Exp $
a106 1
	echo 'DESCRIPTION "PostgreSQL Client Library"' >> $@@
a112 1
	echo 'DESCRIPTION "PostgreSQL Client Library"' >> $@@
a118 1
	echo 'DESCRIPTION "PostgreSQL Client Library"' >> $@@
@


1.144
log
@Arrange to strip libpq.so of symbols that aren't officially supposed to
be exported on Linux and Darwin.  We already did this on Windows but
that's not enough, as evidenced by the fact that libecpg had an unexpected
dependency on one such symbol.  We should try to do it on more platforms.
Fix ecpg's oversight, and bump libpq's major .so version number to reflect
the unwanted but nonetheless real ABI break.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.143 2006/04/11 20:26:40 neilc Exp $
d32 1
a32 1
LIBS := $(patsubst -lpgport,, $(LIBS))
@


1.143
log
@Fix typo.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.142 2006/04/09 20:27:27 momjian Exp $
d19 2
a20 2
SO_MAJOR_VERSION= 4
SO_MINOR_VERSION= 2
d128 25
d175 1
a175 1
	rm -f $(OBJS) pg_config_paths.h crypt.c getaddrinfo.c inet_aton.c noblock.c pgstrcasecmp.c snprintf.c strerror.c open.c thread.c md5.c ip.c encnames.c wchar.c pthread.h
@


1.142
log
@Add comment for why we recompile pgport C files.

# Need to recomple any libpgport object files because we need these
# object files to use the same compile flags as libpq.  If we used
# the object files from libpgport, this would not be true on all
# platforms.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.141 2006/03/05 15:59:08 momjian Exp $
d28 1
a28 1
# Need to recomple any libpgport object files because we need these
@


1.141
log
@Update copyright for 2006.  Update scripts.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.140 2005/12/09 21:19:36 petere Exp $
d28 4
a31 1
# Need to recomple any libpgport object files
@


1.140
log
@Allow installation into directories containing spaces in the name.
@
text
@d5 1
a5 1
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.139 2005/12/09 02:49:09 momjian Exp $
@


1.139
log
@Stamp libraries for 8.2 by updating minor library version numbers and
Win32 library files.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.138 2005/08/29 00:47:35 momjian Exp $
d135 4
a138 4
	$(INSTALL_DATA) $(srcdir)/libpq-fe.h $(DESTDIR)$(includedir)
	$(INSTALL_DATA) $(srcdir)/libpq-int.h $(DESTDIR)$(includedir_internal)
	$(INSTALL_DATA) $(srcdir)/pqexpbuffer.h $(DESTDIR)$(includedir_internal)
	$(INSTALL_DATA) $(srcdir)/pg_service.conf.sample $(DESTDIR)$(datadir)/pg_service.conf.sample
d141 1
a141 1
	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) $(DESTDIR)$(includedir_internal)
d144 1
a144 1
	rm -f $(DESTDIR)$(includedir)/libpq-fe.h $(DESTDIR)$(includedir_internal)/libpq-int.h $(DESTDIR)$(includedir_internal)/pqexpbuffer.h
@


1.138
log
@Allow Win32 libpq will use it's minimal pthread implementation, and ecpg
will use pthreadGC2.

Dave Page
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.137 2005/08/23 21:02:03 momjian Exp $
d20 1
a20 1
SO_MINOR_VERSION= 1
@


1.137
log
@The attached patch updates the thread test program to run stand-alone on
Windows. The test itself is bypassed in configure as discussed, and
libpq has been updated appropriately to allow it to build in thread-safe
mode.

Dave Page
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.136 2005/08/23 20:48:46 momjian Exp $
d24 1
d26 1
d56 1
d58 3
@


1.136
log
@Back out incorrect commit.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.134 2005/06/27 02:04:26 neilc Exp $
a45 1
# This doesn't work yet because configure test fails.  2004-06-19
a46 1
PTHREAD_H_WIN32 = pthread.h
d60 1
a60 1
all: $(PTHREAD_H_WIN32) def-files $(srcdir)/libpq.rc all-lib
a122 5
ifneq ($(PTHREAD_H_WIN32), "")
pthread.h: $(top_srcdir)/src/interfaces/libpq/pthread.h.win
	rm -f $@@ && $(LN_S) $< .
endif

@


1.135
log
@Fix function name.
@
text
@d46 1
d48 1
d62 1
a62 1
all: def-files $(srcdir)/libpq.rc all-lib
d125 5
@


1.134
log
@Remove support for Kerberos V4. It seems no one is using this, it has
some security issues, and upstream has declared it "dead". Patch from
Magnus Hagander, minor editorialization from Neil Conway.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.133 2005/04/29 14:07:27 momjian Exp $
a45 1
# This doesn't work yet because configure test fails.  2004-06-19
a46 1
PTHREAD_H_WIN32 = pthread.h
d60 1
a60 1
all: $(PTHREAD_H_WIN32) def-files $(srcdir)/libpq.rc all-lib
a122 5
ifneq ($(PTHREAD_H_WIN32), "")
pthread.h: $(top_srcdir)/src/interfaces/libpq/pthread.h.win
	rm -f $@@ && $(LN_S) $< .
endif

@


1.133
log
@Improve cleanup from win32 client-only build.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.132 2005/04/29 13:42:21 momjian Exp $
d56 1
a56 1
SHLIB_LINK += $(filter -lcrypt -ldes -lkrb -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv -lintl, $(LIBS)) $(PTHREAD_LIBS)
@


1.132
log
@Backpatch BCC compile changes to 8.0.X for psql.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.131 2005/03/25 00:34:28 tgl Exp $
a147 1
	# pg_config_paths.h might be left over from a Win32 client-only build
d149 1
@


1.131
log
@Kerberos fixes from Magnus Hagander --- in theory Kerberos 5 auth
should work on Windows now.  Also, rename set_noblock to pg_set_noblock;
since it is included in libpq, the former name polluted application
namespace.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.130 2005/03/14 17:27:50 momjian Exp $
d148 2
a149 1
	rm -f $(OBJS) crypt.c getaddrinfo.c inet_aton.c noblock.c pgstrcasecmp.c snprintf.c strerror.c open.c thread.c md5.c ip.c encnames.c wchar.c pthread.h
@


1.130
log
@Bump minor version numbers for 8.1 compared to 8.0.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.129 2005/03/11 19:13:43 momjian Exp $
d58 1
a58 1
SHLIB_LINK += -lshfolder -lwsock32 -lws2_32 $(filter -leay32 -lssleay32, $(LIBS))
@


1.129
log
@Add fprintf() custom version to libpgport.

Document use of macros for pg_printf functions.

Bump major versions of all interfaces to handle movement of get_progname
from libpq to libpgport in 8.0, and probably other libpgport changes in 8.1.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.128 2005/01/26 19:24:02 tgl Exp $
d20 1
a20 1
SO_MINOR_VERSION= 0
@


1.128
log
@Use SHGetFolderPath instead of SHGetSpecialFolderPath to find the
APPDATA directory on Windows.  Magnus Hagander
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.127 2005/01/18 05:00:30 momjian Exp $
d19 2
a20 2
SO_MAJOR_VERSION= 3
SO_MINOR_VERSION= 3
@


1.127
log
@Update version stamps for 8.1 as listed in RELEASE_CHANGES.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.126 2005/01/06 21:41:44 tgl Exp $
d58 1
a58 1
SHLIB_LINK += -lwsock32 -lws2_32 -lshell32 $(filter -leay32 -lssleay32, $(LIBS))
@


1.126
log
@Minor mop-up for Windows home-directory stuff, per Magnus.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.125 2004/12/31 22:03:50 pgsql Exp $
d20 1
a20 1
SO_MINOR_VERSION= 2
@


1.126.4.1
log
@Use SHGetFolderPath instead of SHGetSpecialFolderPath to find the
APPDATA directory on Windows.  Magnus Hagander
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.126 2005/01/06 21:41:44 tgl Exp $
d58 1
a58 1
SHLIB_LINK += -lshfolder -lwsock32 -lws2_32 $(filter -leay32 -lssleay32, $(LIBS))
@


1.126.4.2
log
@Increment all major version numbers in 8.0.X to force recompile of
client aplications so 7.4.X releases can be installed on the same
machine as 8.0.X.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.126.4.1 2005/01/26 19:24:19 tgl Exp $
d19 2
a20 2
SO_MAJOR_VERSION= 4
SO_MINOR_VERSION= 0
@


1.126.4.3
log
@Kerberos fixes from Magnus Hagander --- in theory Kerberos 5 auth
should work on Windows now.  Also, rename set_noblock to pg_set_noblock;
since it is included in libpq, the former name polluted application
namespace.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.126.4.2 2005/03/13 22:04:45 momjian Exp $
d58 1
a58 1
SHLIB_LINK += -lshfolder -lwsock32 -lws2_32 $(filter -leay32 -lssleay32 -lcomerr32 -lkrb5_32, $(LIBS))
@


1.126.4.4
log
@Improve cleanup from win32 client-only build.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.126.4.3 2005/03/25 00:35:19 tgl Exp $
a148 1
	rm -f pg_config_paths.h	# Might be left over from a Win32 client-only build
@


1.125
log
@
Tag appropriate files for rc3

Also performed an initial run through of upgrading our Copyright date to
extend to 2005 ... first run here was very simple ... change everything
where: grep 1996-2004 && the word 'Copyright' ... scanned through the
generated list with 'less' first, and after, to make sure that I only
picked up the right entries ...
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.124 2004/12/21 02:14:41 tgl Exp $
d58 1
a58 1
SHLIB_LINK += -lwsock32 -lws2_32 $(filter -leay32 -lssleay32, $(LIBS))
@


1.124
log
@Patch to make libpq.rc be a built-for-distribution file was a few
bricks shy of a load.
@
text
@d5 1
a5 1
# Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.123 2004/12/19 02:16:24 momjian Exp $
@


1.123
log
@Add Win32 version stamps that increment each day for proper SYSTEM32
DLL pginstaller installs.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.122 2004/11/20 21:13:06 tgl Exp $
d91 1
a91 1
distprep: def-files
d151 1
a151 1
	rm -f $(srcdir)/libpqdll.def $(srcdir)/libpqddll.def $(srcdir)/blibpqdll.def
@


1.122
log
@Fix up makefile dependencies for pg_config_paths.h.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.121 2004/11/17 17:46:19 tgl Exp $
d62 1
a62 1
all: $(PTHREAD_H_WIN32) def-files all-lib
d121 3
@


1.121
log
@Miscellaneous Cygwin build fixes from Reini Urban.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.120 2004/10/16 22:52:49 tgl Exp $
d40 3
a42 1
libpqrc.o : libpq.rc
d44 1
a44 1
DLL_DEFFILE=libpqdll.def
d48 1
a48 1
PTHREAD_H_WIN32 = yes
d62 1
a62 1
all: $(PTHREAD_H_WIN32) $(top_builddir)/src/port/pg_config_paths.h def-files all-lib
d123 1
a123 1
pthread.h : % : $(top_srcdir)/src/interfaces/libpq/pthread.h.win
d127 4
a130 2
$(top_srcdir)/src/port/pg_config_paths.h:
	$(MAKE) -C $(top_srcdir)/src/port pg_config_paths.h
@


1.120
log
@Remove dllist.c from libpq.  It's overkill for what libpq needs; we can
just stick a list-link into struct PGnotify instead.  Result is a smaller
faster and more robust library (mainly because we reduce the number of
malloc's and free's involved in notify processing), plus less pollution
of application link-symbol namespace.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.119 2004/10/16 20:10:56 tgl Exp $
d34 4
@


1.119
log
@Generate the various .def files for libpq DLLs from a single list of
exportable functions.  The .def files are removed from CVS, but will
still be present in distribution tarballs, since we can't assume that
Windows boxes will have sed.
@
text
@d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.118 2004/10/16 03:26:43 momjian Exp $
d31 1
a31 1
	dllist.o md5.o ip.o wchar.o encnames.o noblock.o pgstrcasecmp.o thread.o \
a75 3
dllist.c: $(backend_src)/lib/dllist.c
	rm -f $@@ && $(LN_S) $< .

d137 1
a137 1
	rm -f $(OBJS) crypt.c getaddrinfo.c inet_aton.c noblock.c pgstrcasecmp.c snprintf.c strerror.c open.c thread.c dllist.c md5.c ip.c encnames.c wchar.c pthread.h
@


1.118
log
@Export only required symbols in libpq on Win32.

Magnus Hagander
@
text
@d5 2
a6 1
# Copyright (c) 1994, Regents of the University of California
d8 1
a8 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.117 2004/10/12 04:48:36 neilc Exp $
d56 1
a56 1
all: $(PTHREAD_H_WIN32) $(top_builddir)/src/port/pg_config_paths.h all-lib
d83 36
d139 1
a139 1
clean distclean maintainer-clean: clean-lib
d141 3
@


1.117
log
@Fix vpath build break, induced by Bruce's recent commit.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.116 2004/10/12 01:04:11 momjian Exp $
d37 1
@


1.116
log
@Add some pg_config_path.h dependencies for places that include
pg_config_paths.h outside of /src/port.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.115 2004/10/06 16:42:01 momjian Exp $
d54 1
a54 1
all: $(PTHREAD_H_WIN32) $(top_srcdir)/src/port/pg_config_paths.h all-lib
@


1.115
log
@The Win32 (mingw) build of libpq seems to have lost it's SSL libs from
the link step resulting in a build failure. The attached patch fixes
that.

Dave Page
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/libpq/Makefile,v 1.114 2004/10/04 20:36:12 momjian Exp $
d34 2
a35 2
OBJS+=win32.o libpqrc.o
libpqrc.o: libpq.rc
d39 2
a40 2
OBJS+=pthread-win32.o
PTHREAD_H_WIN32=yes
d54 1
a54 1
all: $(PTHREAD_H_WIN32) all-lib
d86 3
@


1.114
log
@Make sure no libs use libpgport by removing it from the link line.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/libpq/Makefile,v 1.113 2004/09/26 02:14:47 momjian Exp $
d50 1
a50 1
SHLIB_LINK += -lwsock32 -lws2_32
@


1.113
log
@Here is a patch that adds the version info from libpq.rc to the DLL
build in mingw. The MSVC build already did this, but it was not linked
into the mingw one.

This is not the same as the versioninfo patch that's in the queue.
Please apply this one before beta-3 if at all possible.

Magnus Hagander
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/libpq/Makefile,v 1.112 2004/07/13 00:06:44 tgl Exp $
d22 1
a22 1
override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port -DFRONTEND
d25 3
@


1.112
log
@Cause libpq and ecpg libraries to be built as proper shared libraries
(.dylib format) on Mac OS X, while not messing up loadable modules for
the backend (which are the same kind of animal as a shared library on
every other platform, but not here).  Also get the naming convention
to match OS X practice, viz libFOO.version.so not libFOO.so.version.
In support of that last, refactor code in Makefile.shlib to make it
easier to have platform-specific shlib naming conventions.
This patch is loosely based on the Fink project's current postgresql.patch.
Tested by yours truly on OS X 10.3.4; does anyone have 10.2.* to check
it on?
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/libpq/Makefile,v 1.111 2004/06/19 15:14:17 momjian Exp $
d31 3
a33 1
OBJS+=win32.o
@


1.111
log
@Fix Makefile syntax.  Forgot to test this.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/libpq/Makefile,v 1.110 2004/06/19 04:43:18 momjian Exp $
d20 1
@


1.110
log
@Add changes to support threads on Win32 native port at some point in the future.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/libpq/Makefile,v 1.109 2004/05/24 01:01:38 momjian Exp $
d75 1
a75 1
ifeq ($(PTHREAD_H_WIN32))
@


1.109
log
@Remove a few $filter() calls that were not needed.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/libpq/Makefile,v 1.108 2004/05/21 20:56:49 tgl Exp $
d28 1
d31 5
d48 1
a48 1
all: all-lib
d75 5
d93 1
a93 1
	rm -f $(OBJS) crypt.c getaddrinfo.c inet_aton.c noblock.c pgstrcasecmp.c snprintf.c strerror.c open.c thread.c dllist.c md5.c ip.c encnames.c wchar.c
@


1.108
log
@Put path configuration information into a .h file instead of cluttering
several different module Makefiles with it.  Also, do any adjustment
of installation paths during configure, rather than every time Makefile.global
is read.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/libpq/Makefile,v 1.107 2004/05/19 04:21:49 momjian Exp $
d26 2
a27 2
	dllist.o md5.o ip.o wchar.o encnames.o \
	$(filter crypt.o getaddrinfo.o inet_aton.o noblock.o pgstrcasecmp.o snprintf.o strerror.o open.o thread.o, $(LIBOBJS))
@


1.107
log
@Win32 can't have the same function coming from two library object files,
so we make is_absolute_path a macro so libpq doesn't use path.o.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/libpq/Makefile,v 1.106 2004/05/17 14:35:34 momjian Exp $
d21 2
a22 8
override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) $(PTHREAD_CFLAGS) -DFRONTEND -DSYSCONFDIR='"$(sysconfdir)"'
override CFLAGS += $(PTHREAD_CFLAGS) \
		     -DPGBINDIR=\"$(bindir)\" \
		     -DPGDATADIR=\"$(datadir)\" \
		     -DSYSCONFDIR='"$(sysconfdir)"' \
		     -DINCLUDEDIR=\"$(includedir)\" \
		     -DPKGINCLUDEDIR=\"$(pkgincludedir)\" \
		     -DPKGLIBDIR=\"$(pkglibdir)\"
@


1.106
log
@Reorganize code to allow path-relative installs.

Create new get_* functions to access compiled-in paths and adjust if
relative installs are to be used.

Clean up substitute_libpath_macro() code.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/libpq/Makefile,v 1.105 2004/05/10 23:09:04 momjian Exp $
d33 1
a33 1
	$(filter crypt.o getaddrinfo.o inet_aton.o noblock.o pgstrcasecmp.o snprintf.o strerror.o open.o path.o thread.o, $(LIBOBJS))
d62 1
a62 1
crypt.c getaddrinfo.c inet_aton.c noblock.c pgstrcasecmp.c snprintf.c strerror.c open.c path.c thread.c: % : $(top_srcdir)/src/port/%
d88 1
a88 1
	rm -f $(OBJS) crypt.c getaddrinfo.c inet_aton.c noblock.c pgstrcasecmp.c snprintf.c strerror.c open.c path.c thread.c dllist.c md5.c ip.c encnames.c wchar.c
@


1.105
log
@Clean up indenting of Makefile filenames.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/libpq/Makefile,v 1.104 2004/05/07 00:24:59 tgl Exp $
d22 7
a28 1
override CFLAGS += $(PTHREAD_CFLAGS)
@


1.104
log
@Solve the 'Turkish problem' with undesirable locale behavior for case
conversion of basic ASCII letters.  Remove all uses of strcasecmp and
strncasecmp in favor of new functions pg_strcasecmp and pg_strncasecmp;
remove most but not all direct uses of toupper and tolower in favor of
pg_toupper and pg_tolower.  These functions use the same notions of
case folding already developed for identifier case conversion.  I left
the straight locale-based folding in place for situations where we are
just manipulating user data and not trying to match it to built-in
strings --- for example, the SQL upper() function is still locale
dependent.  Perhaps this will prove not to be what's wanted, but at
the moment we can initdb and pass regression tests in Turkish locale.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/libpq/Makefile,v 1.103 2004/04/25 20:57:32 momjian Exp $
d24 4
a27 4
OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \
      fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o \
      dllist.o md5.o ip.o wchar.o encnames.o \
      $(filter crypt.o getaddrinfo.o inet_aton.o noblock.o pgstrcasecmp.o snprintf.o strerror.o open.o path.o thread.o, $(LIBOBJS))
@


1.103
log
@Make thread flags CFLAGS, not CPPFLAGS.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/libpq/Makefile,v 1.102 2004/04/23 18:15:55 momjian Exp $
d27 1
a27 1
      $(filter crypt.o getaddrinfo.o inet_aton.o noblock.o snprintf.o strerror.o open.o path.o thread.o, $(LIBOBJS))
d56 1
a56 1
crypt.c getaddrinfo.c inet_aton.c noblock.c snprintf.c strerror.c open.c path.c thread.c: % : $(top_srcdir)/src/port/%
d82 1
a82 1
	rm -f $(OBJS) crypt.c getaddrinfo.c inet_aton.c noblock.c snprintf.c strerror.c open.c path.c thread.c dllist.c md5.c ip.c encnames.c wchar.c
@


1.102
log
@Add new auto-detection of thread flags.

Allow additional thread flags to be added via port templates.

Change thread flag names to PTHREAD_CFLAGS and PTHREAD_LIBS to match new
configure script.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/libpq/Makefile,v 1.101 2004/04/19 17:42:59 momjian Exp $
d22 1
@


1.101
log
@* Most changes are to fix warnings issued when compiling win32
* removed a few redundant defines
* get_user_name safe under win32
* rationalized pipe read EOF for win32 (UPDATED PATCH USED)
* changed all backend instances of sleep() to pg_usleep

    - except for the SLEEP_ON_ASSERT in assert.c, as it would exceed a
32-bit long [Note to patcher: If a SLEEP_ON_ASSERT of 2000 seconds is
acceptable, please replace with pg_usleep(2000000000L)]

I added a comment to that part of the code:

    /*
     *  It would be nice to use pg_usleep() here, but only does 2000 sec
     *  or 33 minutes, which seems too short.
     */
    sleep(1000000);

Claudio Natoli
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/libpq/Makefile,v 1.100 2004/03/24 03:54:16 momjian Exp $
d21 1
a21 1
override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) $(THREAD_CPPFLAGS) -DFRONTEND -DSYSCONFDIR='"$(sysconfdir)"'
d35 1
a35 1
SHLIB_LINK += $(filter -lcrypt -ldes -lkrb -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv -lintl, $(LIBS)) $(THREAD_LIBS)
@


1.100
log
@Allow unlink/rename of files open by another process on Win32, using a
special Win32 open flag FILE_SHARE_DELETE.

Claudio Natoli
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/libpq/Makefile,v 1.99 2004/03/12 04:33:41 momjian Exp $
d81 1
a81 1
	rm -f $(OBJS) crypt.c getaddrinfo.c inet_aton.c noblock.c snprintf.c strerror.c path.c thread.c dllist.c md5.c ip.c encnames.c wchar.c
@


1.99
log
@Rename incorrect references to nonblock.c to noblock.c.  Claudio.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/libpq/Makefile,v 1.98 2004/03/10 21:12:46 momjian Exp $
d26 1
a26 1
      $(filter crypt.o getaddrinfo.o inet_aton.o noblock.o snprintf.o strerror.o path.o thread.o, $(LIBOBJS))
d55 1
a55 1
crypt.c getaddrinfo.c inet_aton.c noblock.c snprintf.c strerror.c path.c thread.c: % : $(top_srcdir)/src/port/%
@


1.98
log
@Move non-blocking code into its own /port file, for code clarity.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/libpq/Makefile,v 1.97 2004/02/02 00:11:31 momjian Exp $
d26 1
a26 1
      $(filter crypt.o getaddrinfo.o inet_aton.o nonblock.o snprintf.o strerror.o path.o thread.o, $(LIBOBJS))
d55 1
a55 1
crypt.c getaddrinfo.c inet_aton.c nonblock.c snprintf.c strerror.c path.c thread.c: % : $(top_srcdir)/src/port/%
d81 1
a81 1
	rm -f $(OBJS) crypt.c getaddrinfo.c inet_aton.c nonblock.c snprintf.c strerror.c path.c thread.c dllist.c md5.c ip.c encnames.c wchar.c
@


1.97
log
@Briefly,
 * configure + Makefile changes
 * shared memory attaching in EXEC_BACKEND case (+ minor fix for apparent
cygwin bug under cygwin/EXEC_BACKEND case only)
 * PATH env var separator differences
 * missing win32 rand functions added
 * placeholder replacements for sync etc under port.h


To those who are really interested, and there are a few of you: the attached
patch + file will allow the source base to be compiled (and, for some
definition, "run") under MingW, with the following caveats (I wanted to
first properly fix all but the last of these, but y'all won't quit asking
for a patch :-):

        * child death: SIGCHLD not yet sent, so as a minimum, you'll need to
put in some sort of delay after StartupDatabase, and handle setting
StartupPID to 0 etc (ie. the stuff the reaper() signal function is supposed
to do)

        * dirmod.c: comment out the elog calls

        * dfmgr.c: some hackage required to substitute_libpath_macro

        * slru/xact.c: comment out the errno checking after the readdir
(fixed by next version of MingW)

Again, this is only if you *really* want to see postgres compile and start,
and is a nice leg-up for working on the other Win32 TODO list items. Just
don't expect too much else from it at this point...


Claudio Natoli
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/libpq/Makefile,v 1.96 2003/11/30 06:09:50 momjian Exp $
d26 1
a26 1
      $(filter crypt.o getaddrinfo.o inet_aton.o snprintf.o strerror.o path.o thread.o, $(LIBOBJS))
d55 1
a55 1
crypt.c getaddrinfo.c inet_aton.c snprintf.c strerror.c path.c thread.c: % : $(top_srcdir)/src/port/%
d81 1
a81 1
	rm -f $(OBJS) crypt.c getaddrinfo.c inet_aton.c snprintf.c strerror.c path.c thread.c dllist.c md5.c ip.c encnames.c wchar.c
@


1.96
log
@Bump all version numbers and version stamps mentioned in RELEASE_CHANGES.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/libpq/Makefile,v 1.95 2003/11/29 19:52:11 pgsql Exp $
d36 3
@


1.95
log
@
$Header: -> $PostgreSQL Changes ...
@
text
@d7 1
a7 1
# $PostgreSQL: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.94 2003/09/27 15:32:48 momjian Exp $
d19 1
a19 1
SO_MINOR_VERSION= 1
@


1.94
log
@Rename thread compile flag.  Move thread test program to tools/thread,
and improve tests.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.93 2003/09/07 03:43:57 momjian Exp $
@


1.93
log
@Changes for MinGW/WIN32:

        o allow configure to see include/port/win32 include files
        o add matching Win32 accept() prototype
        o allow pg_id to compile with native Win32 API
        o fix invalide mbvalidate() function calls (existing bug)
        o allow /scripts to compile with native Win32 API
        o add win32.c to Win32 compiles (already in *.mak files)
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.92 2003/08/23 04:21:59 petere Exp $
d21 1
a21 1
override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) $(THREAD_CFLAGS) -DFRONTEND -DSYSCONFDIR='"$(sysconfdir)"'
@


1.92
log
@Correct uninstall target.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.91 2003/08/08 16:32:45 momjian Exp $
d27 3
@


1.91
log
@sprompt not needed in libpq.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.90 2003/08/08 04:52:22 momjian Exp $
d72 1
a72 1
	rm -f $(DESTDIR)$(includedir)/libpq-fe.h $(DESTDIR)$(includedir_internal)/libpq-int.h $(includedir_internal)/pqexpbuffer.h
@


1.91.2.1
log
@Update this branch to match CVS head, includes WIN32 improvements.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.93 2003/09/07 03:43:57 momjian Exp $
a26 3
ifeq ($(PORTNAME), win32)
OBJS+=win32.o
endif
d72 1
a72 1
	rm -f $(DESTDIR)$(includedir)/libpq-fe.h $(DESTDIR)$(includedir_internal)/libpq-int.h $(DESTDIR)$(includedir_internal)/pqexpbuffer.h
@


1.90
log
@Move simple_prompt()/sprompt.c into /port.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.89 2003/08/08 03:22:24 momjian Exp $
d26 1
a26 1
      $(filter crypt.o getaddrinfo.o inet_aton.o snprintf.o sprompt.o strerror.o path.o thread.o, $(LIBOBJS))
d49 1
a49 1
crypt.c getaddrinfo.c inet_aton.c snprintf.c sprompt.c strerror.c path.c thread.c: % : $(top_srcdir)/src/port/%
@


1.89
log
@Makefile cleanup.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.88 2003/08/08 03:18:40 momjian Exp $
d26 1
a26 1
      $(filter crypt.o getaddrinfo.o inet_aton.o snprintf.o strerror.o path.o thread.o, $(LIBOBJS))
d49 1
a49 1
crypt.c getaddrinfo.c inet_aton.c snprintf.c strerror.c path.c thread.c: % : $(top_srcdir)/src/port/%
@


1.88
log
@Cleanup.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.87 2003/08/08 03:03:54 momjian Exp $
d52 1
a52 1
dllist.c: $(backend_src)/lib/dllist.c
d55 1
a55 4
md5.c: $(backend_src)/libpq/md5.c
	rm -f $@@ && $(LN_S) $< .

ip.c: $(backend_src)/libpq/ip.c
@


1.87
log
@Makefile cleanup.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.86 2003/08/08 03:00:31 momjian Exp $
d78 1
a78 1
	rm -f $(OBJS) crypt.c getaddrinfo.c inet_aton.c snprintf.c strerror.c path.c dllist.c md5.c ip.c wchar.c encnames.c thread.c
@


1.86
log
@More thread.c cleanup.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.85 2003/08/08 02:55:08 momjian Exp $
d49 1
a49 1
crypt.c getaddrinfo.c inet_aton.c snprintf.c strerror.c path.c thread.c: %.c : $(top_srcdir)/src/port/%.c
@


1.85
log
@More threading cleanups.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.84 2003/08/08 02:46:40 momjian Exp $
a50 4

# compile this with thread flags
thread.o: thread.c
	$(CC) $(CFLAGS) $(CPPFLAGS) $(THREAD_CFLAGS) -c thread.c
@


1.84
log
@threads.c -> thread.c, be consistent.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.83 2003/06/17 17:58:54 petere Exp $
d54 1
a54 1
	$(CC) $(CFLAGS) $(THREAD_CFLAGS) -c thread.c
@


1.83
log
@Add missing file to clean target.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.82 2003/06/14 14:35:42 momjian Exp $
d26 1
a26 1
      $(filter crypt.o getaddrinfo.o inet_aton.o snprintf.o strerror.o path.o threads.o, $(LIBOBJS))
d49 1
a49 1
crypt.c getaddrinfo.c inet_aton.c snprintf.c strerror.c path.c threads.c: %.c : $(top_srcdir)/src/port/%.c
d82 1
a82 1
	rm -f $(OBJS) crypt.c getaddrinfo.c inet_aton.c snprintf.c strerror.c path.c dllist.c md5.c ip.c wchar.c encnames.c threads.c
@


1.82
log
@Add thread.c for libpq threading, and hook it into libpq/configure.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.81 2003/06/12 17:31:50 momjian Exp $
d82 1
a82 2
	rm -f $(OBJS) crypt.c getaddrinfo.c inet_aton.c snprintf.c strerror.c path.c
	rm -f $(OBJS) dllist.c md5.c ip.c wchar.c encnames.c
@


1.81
log
@Add thread-enable compile variables into libpq.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.80 2003/06/08 17:43:00 tgl Exp $
d26 1
a26 1
      $(filter crypt.o getaddrinfo.o inet_aton.o snprintf.o strerror.o path.o, $(LIBOBJS))
d49 1
a49 1
crypt.c getaddrinfo.c inet_aton.c snprintf.c strerror.c path.c: %.c : $(top_srcdir)/src/port/%.c
d51 4
@


1.80
log
@libpq can now talk to either 3.0 or 2.0 protocol servers.  It first tries
protocol 3, then falls back to 2 if postmaster rejects the startup packet
with an old-format error message.  A side benefit of the rewrite is that
SSL-encrypted connections can now be made without blocking.  (I think,
anyway, but do not have a good way to test.)
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.79 2003/05/10 02:05:50 momjian Exp $
d21 1
a21 1
override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) -DFRONTEND -DSYSCONFDIR='"$(sysconfdir)"'
d32 1
a32 1
SHLIB_LINK += $(filter -lcrypt -ldes -lkrb -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv -lintl, $(LIBS))
@


1.79
log
@Add Makefile rules for new crypt/rint() /port functions.  Add include
for rint prototype.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.78 2003/05/09 16:52:10 momjian Exp $
d24 1
a24 1
      pqexpbuffer.o pqsignal.o fe-secure.o \
@


1.78
log
@Add crypt() to /port for Win32.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.77 2003/04/22 19:42:27 momjian Exp $
d49 1
a49 1
getaddrinfo.c inet_aton.c snprintf.c strerror.c path.c: %.c : $(top_srcdir)/src/port/%.c
d78 1
a78 1
	rm -f $(OBJS) getaddrinfo.c inet_aton.c snprintf.c strerror.c path.c
@


1.77
log
@Remove Win32 special rename/unlink from libpq.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.76 2003/04/22 02:21:34 momjian Exp $
d26 1
a26 1
      $(filter getaddrinfo.o inet_aton.o snprintf.o strerror.o path.o, $(LIBOBJS))
@


1.76
log
@Add dirmod to libpq Makefile.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.75 2003/04/14 21:15:13 tgl Exp $
d26 1
a26 1
      $(filter getaddrinfo.o inet_aton.o snprintf.o strerror.o dirmod.o path.o, $(LIBOBJS))
@


1.75
log
@path.c needs to be included in libpq; per Joe Conway.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.74 2003/03/29 11:31:51 petere Exp $
d26 1
a26 1
      $(filter getaddrinfo.o inet_aton.o snprintf.o strerror.o path.o, $(LIBOBJS))
@


1.74
log
@Simplify the socket handling code by supplying a replacement getaddrinfo()
function if the OS doesn't provide one.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.73 2003/02/03 14:24:07 momjian Exp $
d24 3
a26 3
      pqexpbuffer.o dllist.o pqsignal.o fe-secure.o wchar.o encnames.o ip.o \
      md5.o \
      $(filter getaddrinfo.o inet_aton.o snprintf.o strerror.o, $(LIBOBJS))
d42 10
a60 9
# We use several backend modules verbatim, but since we need to
# compile with appropriate options to build a shared lib, we can't
# necessarily use the same object files as the backend uses. Instead,
# symlink the source files in here and build our own object file.
# this only gets done if configure finds system doesn't have inet_aton()

getaddrinfo.c inet_aton.c snprintf.c strerror.c: %.c : $(top_srcdir)/src/port/%.c
	rm -f $@@ && $(LN_S) $< .

d78 1
a79 1
	rm -f $(OBJS) getaddrinfo.c inet_aton.c snprintf.c strerror.c
@


1.73
log
@Move pg_service.conf.sample to /interfaces/libpq.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.72 2003/01/10 10:59:08 petere Exp $
d26 1
a26 1
      $(filter inet_aton.o snprintf.o strerror.o, $(LIBOBJS))
d57 1
a57 1
inet_aton.c snprintf.c strerror.c: %.c : $(top_srcdir)/src/port/%.c
d78 1
a78 1
	rm -f $(OBJS) inet_aton.c snprintf.c strerror.c
@


1.72
log
@Clean ip.c.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.71 2003/01/06 03:18:27 momjian Exp $
d68 1
@


1.71
log
@Enable IPv6 connections to the server, and add pg_hba.conf IPv6 entries
if the OS supports it.  Code will still compile on non-IPv6-aware
machines (feature added by Bruce).

Nigel Kukard
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.70 2002/12/13 22:17:57 momjian Exp $
d76 1
a76 1
	rm -f $(OBJS) dllist.c md5.c v6util.c wchar.c encnames.c
@


1.70
log
@Increment libpq major number for 7.3.1 and minor for 7.4.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.69 2002/12/11 04:07:39 momjian Exp $
d24 2
a25 2
      pqexpbuffer.o dllist.o md5.o pqsignal.o fe-secure.o \
      wchar.o encnames.o \
d48 3
d76 1
a76 1
	rm -f $(OBJS) dllist.c md5.c wchar.c encnames.c
@


1.69
log
@Bump version for 7.3 and 7.4.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.68 2002/12/06 04:37:05 momjian Exp $
d18 2
a19 2
SO_MAJOR_VERSION= 2
SO_MINOR_VERSION= 4
@


1.68
log
@Back out V6 code, caused postmaster startup failure.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.67 2002/12/06 03:46:37 momjian Exp $
d19 1
a19 1
SO_MINOR_VERSION= 3
@


1.67
log
@We have just finished porting the old KAME IPv6 patch over to
postgresql version 7.3, but yea... this patch adds full IPv6
support to postgres. I've tested it out on 7.2.3 and has
been running perfectly stable.

CREDITS:
 The KAME Project  (Initial patch)
 Nigel Kukard  <nkukard@@lbsd.net>
 Johan Jordaan  <johanj@@lando.co.za>
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.66 2002/12/04 18:14:11 momjian Exp $
a25 1
      v6util.o \
@


1.66
log
@Stamp minor version numbers for 7.4 release.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.65 2002/09/03 21:45:44 petere Exp $
d26 1
@


1.65
log
@Remove all traces of multibyte and locale options.  Clean up comments
referring to "multibyte" where it really means character encoding.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.64 2002/07/27 20:10:05 petere Exp $
d19 1
a19 1
SO_MINOR_VERSION= 2
@


1.65.2.1
log
@Bump version for 7.3 and 7.4.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.65 2002/09/03 21:45:44 petere Exp $
d19 1
a19 1
SO_MINOR_VERSION= 3
@


1.65.2.2
log
@Increment libpq major number for 7.3.1 and minor for 7.4.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/interfaces/libpq/Makefile,v 1.65.2.1 2002/12/11 04:08:05 momjian Exp $
d18 2
a19 2
SO_MAJOR_VERSION= 3
SO_MINOR_VERSION= 0
@


1.64
log
@Assemble portability modules into libpgport library.
Some makefile simplifications.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.63 2002/07/18 03:59:49 momjian Exp $
d25 1
a27 4
ifdef MULTIBYTE
OBJS+= wchar.o encnames.o
endif

d57 1
a57 4
ifdef MULTIBYTE
wchar.c : % : $(backend_src)/utils/mb/%
	rm -f $@@ && $(LN_S) $< .
encnames.c : % : $(backend_src)/utils/mb/%
a58 1
endif
@


1.63
log
@Make src/backend/port/*.c file location dependent only on configure.in.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.62 2002/06/14 04:23:17 momjian Exp $
d25 1
a25 1
      $(notdir $(INET_ATON)) $(notdir $(SNPRINTF)) $(notdir $(STRERROR))
d57 1
a57 2
ifdef INET_ATON
$(basename $(notdir $(INET_ATON))).c: $(basename $(INET_ATON)).c
a58 11
endif

ifdef SNPRINTF
$(basename $(notdir $(SNPRINTF))).c: $(basename $(SNPRINTF)).c
	rm -f $@@ && $(LN_S) $< .
endif

ifdef STRERROR
$(basename $(notdir $(STRERROR))).c: $(basename $(STRERROR)).c
	rm -f $@@ && $(LN_S) $< .
endif
@


1.62
log
@UPDATED PATCH:

Attached are a revised set of SSL patches.  Many of these patches
are motivated by security concerns, it's not just bug fixes.  The key
differences (from stock 7.2.1) are:

*) almost all code that directly uses the OpenSSL library is in two
   new files,

     src/interfaces/libpq/fe-ssl.c
     src/backend/postmaster/be-ssl.c

   in the long run, it would be nice to merge these two files.

*) the legacy code to read and write network data have been
   encapsulated into read_SSL() and write_SSL().  These functions
   should probably be renamed - they handle both SSL and non-SSL
   cases.

   the remaining code should eliminate the problems identified
   earlier, albeit not very cleanly.

*) both front- and back-ends will send a SSL shutdown via the
   new close_SSL() function.  This is necessary for sessions to
   work properly.

   (Sessions are not yet fully supported, but by cleanly closing
   the SSL connection instead of just sending a TCP FIN packet
   other SSL tools will be much happier.)

*) The client certificate and key are now expected in a subdirectory
   of the user's home directory.  Specifically,

	- the directory .postgresql must be owned by the user, and
	  allow no access by 'group' or 'other.'

	- the file .postgresql/postgresql.crt must be a regular file
	  owned by the user.

	- the file .postgresql/postgresql.key must be a regular file
	  owned by the user, and allow no access by 'group' or 'other'.

   At the current time encrypted private keys are not supported.
   There should also be a way to support multiple client certs/keys.

*) the front-end performs minimal validation of the back-end cert.
   Self-signed certs are permitted, but the common name *must*
   match the hostname used by the front-end.  (The cert itself
   should always use a fully qualified domain name (FDQN) in its
   common name field.)

   This means that

	  psql -h eris db

   will fail, but

	  psql -h eris.example.com db

   will succeed.  At the current time this must be an exact match;
   future patches may support any FQDN that resolves to the address
   returned by getpeername(2).

   Another common "problem" is expiring certs.  For now, it may be
   a good idea to use a very-long-lived self-signed cert.

   As a compile-time option, the front-end can specify a file
   containing valid root certificates, but it is not yet required.

*) the back-end performs minimal validation of the client cert.
   It allows self-signed certs.  It checks for expiration.  It
   supports a compile-time option specifying a file containing
   valid root certificates.

*) both front- and back-ends default to TLSv1, not SSLv3/SSLv2.

*) both front- and back-ends support DSA keys.  DSA keys are
   moderately more expensive on startup, but many people consider
   them preferable than RSA keys.  (E.g., SSH2 prefers DSA keys.)

*) if /dev/urandom exists, both client and server will read 16k
   of randomization data from it.

*) the server can read empheral DH parameters from the files

     $DataDir/dh512.pem
     $DataDir/dh1024.pem
     $DataDir/dh2048.pem
     $DataDir/dh4096.pem

   if none are provided, the server will default to hardcoded
   parameter files provided by the OpenSSL project.

Remaining tasks:

*) the select() clauses need to be revisited - the SSL abstraction
   layer may need to absorb more of the current code to avoid rare
   deadlock conditions.  This also touches on a true solution to
   the pg_eof() problem.

*) the SIGPIPE signal handler may need to be revisited.

*) support encrypted private keys.

*) sessions are not yet fully supported.  (SSL sessions can span
   multiple "connections," and allow the client and server to avoid
   costly renegotiations.)

*) makecert - a script that creates back-end certs.

*) pgkeygen - a tool that creates front-end certs.

*) the whole protocol issue, SASL, etc.

 *) certs are fully validated - valid root certs must be available.
    This is a hassle, but it means that you *can* trust the identity
    of the server.

 *) the client library can handle hardcoded root certificates, to
    avoid the need to copy these files.

 *) host name of server cert must resolve to IP address, or be a
    recognized alias.  This is more liberal than the previous
    iteration.

 *) the number of bytes transferred is tracked, and the session
    key is periodically renegotiated.

 *) basic cert generation scripts (mkcert.sh, pgkeygen.sh).  The
    configuration files have reasonable defaults for each type
    of use.

Bear Giles
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.61 2002/06/14 04:09:37 momjian Exp $
d15 1
d25 1
a25 1
      $(INET_ATON) $(SNPRINTF) $(STRERROR)
d31 1
d42 1
a44 7
# We use several backend modules verbatim, but since we need to
# compile with appropriate options to build a shared lib, we can't
# necessarily use the same object files as the backend uses. Instead,
# symlink the source files in here and build our own object file.

backend_src = $(top_srcdir)/src/backend

d51 4
d56 3
a58 1
inet_aton.c: $(backend_src)/port/inet_aton.c
d60 1
d62 2
a63 2
# this only gets done if configure finds system doesn't have snprintf()
snprintf.c: $(backend_src)/port/snprintf.c
d65 1
d67 2
a68 2
# this only gets done if configure finds system doesn't have strerror()
strerror.c: $(backend_src)/port/strerror.c
d70 1
@


1.61
log
@Back out SSL changes.  Newer patch available.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.59 2001/09/22 22:54:32 petere Exp $
d23 1
a23 1
      pqexpbuffer.o dllist.o md5.o pqsignal.o \
@


1.60
log
@Attached are a revised set of SSL patches.  Many of these patches
are motivated by security concerns, it's not just bug fixes.  The key
differences (from stock 7.2.1) are:

*) almost all code that directly uses the OpenSSL library is in two
   new files,

     src/interfaces/libpq/fe-ssl.c
     src/backend/postmaster/be-ssl.c

   in the long run, it would be nice to merge these two files.

*) the legacy code to read and write network data have been
   encapsulated into read_SSL() and write_SSL().  These functions
   should probably be renamed - they handle both SSL and non-SSL
   cases.

   the remaining code should eliminate the problems identified
   earlier, albeit not very cleanly.

*) both front- and back-ends will send a SSL shutdown via the
   new close_SSL() function.  This is necessary for sessions to
   work properly.

   (Sessions are not yet fully supported, but by cleanly closing
   the SSL connection instead of just sending a TCP FIN packet
   other SSL tools will be much happier.)

*) The client certificate and key are now expected in a subdirectory
   of the user's home directory.  Specifically,

	- the directory .postgresql must be owned by the user, and
	  allow no access by 'group' or 'other.'

	- the file .postgresql/postgresql.crt must be a regular file
	  owned by the user.

	- the file .postgresql/postgresql.key must be a regular file
	  owned by the user, and allow no access by 'group' or 'other'.

   At the current time encrypted private keys are not supported.
   There should also be a way to support multiple client certs/keys.

*) the front-end performs minimal validation of the back-end cert.
   Self-signed certs are permitted, but the common name *must*
   match the hostname used by the front-end.  (The cert itself
   should always use a fully qualified domain name (FDQN) in its
   common name field.)

   This means that

	  psql -h eris db

   will fail, but

	  psql -h eris.example.com db

   will succeed.  At the current time this must be an exact match;
   future patches may support any FQDN that resolves to the address
   returned by getpeername(2).

   Another common "problem" is expiring certs.  For now, it may be
   a good idea to use a very-long-lived self-signed cert.

   As a compile-time option, the front-end can specify a file
   containing valid root certificates, but it is not yet required.

*) the back-end performs minimal validation of the client cert.
   It allows self-signed certs.  It checks for expiration.  It
   supports a compile-time option specifying a file containing
   valid root certificates.

*) both front- and back-ends default to TLSv1, not SSLv3/SSLv2.

*) both front- and back-ends support DSA keys.  DSA keys are
   moderately more expensive on startup, but many people consider
   them preferable than RSA keys.  (E.g., SSH2 prefers DSA keys.)

*) if /dev/urandom exists, both client and server will read 16k
   of randomization data from it.

*) the server can read empheral DH parameters from the files

     $DataDir/dh512.pem
     $DataDir/dh1024.pem
     $DataDir/dh2048.pem
     $DataDir/dh4096.pem

   if none are provided, the server will default to hardcoded
   parameter files provided by the OpenSSL project.

Remaining tasks:

*) the select() clauses need to be revisited - the SSL abstraction
   layer may need to absorb more of the current code to avoid rare
   deadlock conditions.  This also touches on a true solution to
   the pg_eof() problem.

*) the SIGPIPE signal handler may need to be revisited.

*) support encrypted private keys.

*) sessions are not yet fully supported.  (SSL sessions can span
   multiple "connections," and allow the client and server to avoid
   costly renegotiations.)

*) makecert - a script that creates back-end certs.

*) pgkeygen - a tool that creates front-end certs.

*) the whole protocol issue, SASL, etc.

 *) certs are fully validated - valid root certs must be available.
    This is a hassle, but it means that you *can* trust the identity
    of the server.

 *) the client library can handle hardcoded root certificates, to
    avoid the need to copy these files.

 *) host name of server cert must resolve to IP address, or be a
    recognized alias.  This is more liberal than the previous
    iteration.

 *) the number of bytes transferred is tracked, and the session
    key is periodically renegotiated.

 *) basic cert generation scripts (mkcert.sh, pgkeygen.sh).  The
    configuration files have reasonable defaults for each type
    of use.

Bear Giles
@
text
@d23 1
a23 1
      pqexpbuffer.o dllist.o md5.o pqsignal.o fe-ssl.o \
@


1.59
log
@Provide some initial support for building the ODBC driver for
an already installed iODBC or unixODBC driver manager.  In particular,
use the include files provided by the driver manager over our own,
and use the odbcinst library of the driver manager rather than gpps.c.

Migrate portability sections common to several files into psqlodbc.h.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.58 2001/09/21 20:31:48 tgl Exp $
d23 1
a23 1
      pqexpbuffer.o dllist.o md5.o pqsignal.o \
@


1.58
log
@Code review for MD5 authorization patch.  Clean up some breakage
(salts were always zero!?), add much missing documentation.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.57 2001/09/06 04:57:30 ishii Exp $
d33 1
a33 1
SHLIB_LINK += $(filter -L%, $(LDFLAGS)) $(filter -lcrypt -ldes -lkrb -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv -lintl, $(LIBS))
@


1.57
log
@Commit Karel's patch.

-------------------------------------------------------------------
Subject: Re: [PATCHES] encoding names
From: Karel Zak <zakkr@@zf.jcu.cz>
To: Peter Eisentraut <peter_e@@gmx.net>
Cc: pgsql-patches <pgsql-patches@@postgresql.org>
Date: Fri, 31 Aug 2001 17:24:38 +0200

On Thu, Aug 30, 2001 at 01:30:40AM +0200, Peter Eisentraut wrote:
> > 		- convert encoding 'name' to 'id'
>
> I thought we decided not to add functions returning "new" names until we
> know exactly what the new names should be, and pending schema

 Ok, the patch not to add functions.

> better
>
>     ...(): encoding name too long

 Fixed.

 I found new bug in command/variable.c in parse_client_encoding(), nobody
probably never see this error:

if (pg_set_client_encoding(encoding))
{
	elog(ERROR, "Conversion between %s and %s is not supported",
                     value, GetDatabaseEncodingName());
}

because pg_set_client_encoding() returns -1 for error and 0 as true.
It's fixed too.

 IMHO it can be apply.

		Karel
PS:

    * following files are renamed:

src/utils/mb/Unicode/KOI8_to_utf8.map  -->
        src/utils/mb/Unicode/koi8r_to_utf8.map

src/utils/mb/Unicode/WIN_to_utf8.map  -->
        src/utils/mb/Unicode/win1251_to_utf8.map

src/utils/mb/Unicode/utf8_to_KOI8.map -->
        src/utils/mb/Unicode/utf8_to_koi8r.map

src/utils/mb/Unicode/utf8_to_WIN.map -->
        src/utils/mb/Unicode/utf8_to_win1251.map

   * new file:

src/utils/mb/encname.c

   * removed file:

src/utils/mb/common.c

--
 Karel Zak  <zakkr@@zf.jcu.cz>
 http://home.zf.jcu.cz/~zakkr/

 C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.56 2001/08/28 14:20:28 petere Exp $
d87 1
a87 1
	rm -f $(OBJS) dllist.c md5.c md5.h wchar.c encnames.c
@


1.56
log
@Include directory rearrangement

Client headers are no longer in a subdirectory, since they have been made
namespace-clean.

Internal libpq headers are in a private subdirectory.

Server headers are in a private subdirectory.  pg_config has a new option
to point there.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.55 2001/08/15 21:08:21 momjian Exp $
d27 1
a27 1
OBJS+= wchar.o
d70 2
d87 1
a87 1
	rm -f $(OBJS) dllist.c md5.c md5.h wchar.c
@


1.55
log
@Move md5.h contents to crypt.h.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.54 2001/08/15 18:42:15 momjian Exp $
d36 1
a36 1
all: md5.c all-lib
d73 1
a73 4
install: all installdirs install-headers install-lib

.PHONY: install-headers
install-headers: libpq-fe.h libpq-int.h pqexpbuffer.h
d75 2
a76 2
	$(INSTALL_DATA) $(srcdir)/libpq-int.h $(DESTDIR)$(includedir)
	$(INSTALL_DATA) $(srcdir)/pqexpbuffer.h $(DESTDIR)$(includedir)
d79 1
a79 1
	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
d82 1
a82 1
	rm -f $(addprefix $(DESTDIR)$(includedir)/, libpq-fe.h libpq-int.h pqexpbuffer.h)
a86 7

depend dep:
	$(CC) -MM $(CFLAGS) *.c >depend

ifeq (depend,$(wildcard depend))
include depend
endif
@


1.54
log
@Use MD5 for wire protocol encryption for >= 7.2 client/server.
Allow pg_shadow to be MD5 encrypted.
Add ENCRYPTED/UNENCRYPTED option to CREATE/ALTER user.
Add password_encryption postgresql.conf option.
Update wire protocol version to 2.1.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.53 2001/07/15 13:45:04 petere Exp $
d36 1
a36 1
all: md5.c md5.h all-lib
a52 3
	rm -f $@@ && $(LN_S) $< .

md5.h: $(backend_src)/../include/libpq/md5.h
@


1.53
log
@NLS for libpq.  Clean up the message formats and change the documentation
accordingly.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.52 2001/05/11 01:46:33 momjian Exp $
d23 1
a23 1
      pqexpbuffer.o dllist.o pqsignal.o \
d36 1
a36 1
all: all-lib
d52 6
d91 1
a91 1
	rm -f $(OBJS) dllist.c wchar.c
@


1.52
log
@Stamp CVS as 7.2.  Update all interface version numbers.  This is the
time to do it, not during beta because people are using this stuff in
production sometimes.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.51 2001/02/20 19:20:29 petere Exp $
d33 1
a33 1
SHLIB_LINK += $(filter -L%, $(LDFLAGS)) $(filter -lcrypt -ldes -lkrb -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv, $(LIBS))
@


1.51
log
@Make sure -L and -I's for our source tree are always before system include
or library directories on the command line.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.50 2001/02/11 01:52:11 ishii Exp $
d18 1
a18 1
SO_MINOR_VERSION= 1
@


1.50
log
@Clean up mutibyte supoorting source files.
Now only wchar.c is shared by fronetnd/backend.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.49 2001/02/04 14:09:33 petere Exp $
d20 1
a20 1
override CPPFLAGS += -DFRONTEND -I$(srcdir) -DSYSCONFDIR='"$(sysconfdir)"'
d33 1
a33 1
SHLIB_LINK += $(filter -lcrypt -ldes -lkrb -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv, $(LIBS))
@


1.49
log
@Check for -lresolv.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.48 2001/01/20 23:07:27 tgl Exp $
d27 1
a27 1
OBJS+= common.o wchar.o
d65 1
a65 1
common.c wchar.c : % : $(backend_src)/utils/mb/%
d85 1
a85 1
	rm -f $(OBJS) dllist.c common.c wchar.c conv.c big5.c
@


1.48
log
@Get rid of sunos4-only strerror() macro, and arrange to use the
implementation in backend/port/strerror.c if configure finds no strerror
in libc, same as we do for snprintf and inet_aton.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.47 2000/10/30 10:31:45 ishii Exp $
d33 1
a33 1
SHLIB_LINK += $(filter -lcrypt -ldes -lkrb -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl, $(LIBS))
@


1.47
log
@Avoid dependency on backend's multibyte module as possible.
Now frontend/libpq has its own version of pg_encoding_to_char
and pg_char_to_encoding.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.46 2000/10/25 16:13:52 petere Exp $
d23 2
a24 1
      pqexpbuffer.o dllist.o pqsignal.o $(SNPRINTF) $(INET_ATON)
d52 4
d60 2
a61 2
# this only gets done if configure finds system doesn't have inet_aton()
inet_aton.c: $(backend_src)/port/inet_aton.c
d85 2
a86 1
	rm -f $(OBJS) dllist.c snprintf.c inet_aton.c common.c wchar.c conv.c big5.c
@


1.46
log
@Rearrange handling of -L linker options so that they are always before all
the -l options.  (This was not the case when using the  OpenSSL or Kerberos
options.)  Also make sure that shared library links get to see all the -L
options.  Get Kerberos 5 support to compile on Redhat 7.0.  Add OpenSSL and
-lsocket (if used/found) to libpq link.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.45 2000/10/20 21:04:11 petere Exp $
d26 1
a26 1
OBJS+= common.o wchar.o conv.o big5.o mbutils.o
d60 1
a60 3
maps = iso8859.map UTF_to_EUC_JP.map EUC_JP_to_UTF.map sjis.map
conv.c: $(maps)
common.c wchar.c conv.c big5.c mbutils.c $(maps) : % : $(backend_src)/utils/mb/%
@


1.45
log
@Add support for VPATH builds, that is, building somewhere else than in the
source directory.  This involves mostly makefiles using $(srcdir) when they
might have used ".".  (Regression tests don't work with this, yet.)

Sort out usage of CPPFLAGS, CFLAGS (and CXXFLAGS).  Add "override" keyword
in most places, to preserve necessary flags even when the user overrode the
flags.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.44 2000/10/20 03:45:35 tgl Exp $
d29 4
a32 3
# If crypt is a separate library, rather than part of libc,
# make sure it gets included in shared libpq.
SHLIB_LINK+= $(findstring -lcrypt, $(LIBS))
a33 2
# Include kerberos libraries into libpq
SHLIB_LINK += $(KRB_LIBS)
@


1.44
log
@Remove 'override' keyword, which breaks the build on HPUX, and probably
anywhere else that Makefile.shlib needs to modify CFLAGS to produce
valid code for a shared library.  I'm not real clear on *why* the use
of override causes make to ignore the later attempt to assign
CFLAGS		+=
but it indubitably does --- at least on gmake 3.79.1.  gmake bug?
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.43 2000/10/17 17:43:13 petere Exp $
d20 1
a20 1
CFLAGS += -DFRONTEND -I$(srcdir) -DSYSCONFDIR='"$(sysconfdir)"'
d80 1
a80 1
	rm -f $(addprefix ($DESTDIR)$(includedir)/, libpq-fe.h libpq-int.h pqexpbuffer.h)
@


1.43
log
@Locate the file pg_service.conf in the directory configured as --syconfdir
(i.e., /usr/local/pgsql/etc by default).
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.42 2000/10/12 07:38:13 ishii Exp $
d20 1
a20 1
override CFLAGS += -DFRONTEND -I$(srcdir) -DSYSCONFDIR='"$(sysconfdir)"'
@


1.42
log
@Add more files from backend
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.41 2000/09/17 13:02:49 petere Exp $
d20 1
a20 1
CFLAGS+= -DFRONTEND -I$(srcdir)
@


1.41
log
@Support for DESTDIR make variable. This is used as in `make install
DESTDIR=/else/where' and prepends the value of DESTDIR to the full
installation paths (e.g., /else/where/usr/local/pgsql/bin). This allows
users to install the package into a location different from the one that
was configured and hard-coded into various scripts, e.g., for creating
binary packages.

DESTDIR is in many cases preferrable over `make install
prefix=/else/where' because

a) `prefix' affects the path that is hard-coded into the files, which can
lead to a `make install prefix=xxx' (as done by the regression test
driver) corrupting the files in the source tree with wrong paths.

b) it doesn't work at all if a directory was overridden to not depend on
`prefix', e.g., --sysconfdir=/etc.

(Updating the regression test driver to use DESTDIR is a separate
undertaking.)

See also autoconf@@gnu.org, From: Akim Demaille <akim@@epita.fr>, Date: 08
Sep 2000 12:48:59 +0200, Message-ID:
<mv4em2vb1lw.fsf@@nostromo.lrde.epita.fr>, Subject: Re: HTML format
documentation.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.40 2000/08/31 16:11:48 petere Exp $
d26 1
a26 1
OBJS+= common.o wchar.o conv.o big5.o
d61 3
a63 1
common.c wchar.c conv.c big5.c: % : $(backend_src)/utils/mb/%
@


1.40
log
@Fix relative path references so that make knowns which dependencies refer
to one another. Sort out builddir vs srcdir variable namings. Remove some
now obsoleted make variables.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.39 2000/06/28 18:29:44 petere Exp $
d70 3
a72 3
	$(INSTALL_DATA) $(srcdir)/libpq-fe.h $(includedir)
	$(INSTALL_DATA) $(srcdir)/libpq-int.h $(includedir)
	$(INSTALL_DATA) $(srcdir)/pqexpbuffer.h $(includedir)
d75 1
a75 1
	$(mkinstalldirs) $(libdir) $(includedir)
d78 1
a78 1
	rm -f $(addprefix $(includedir)/, libpq-fe.h libpq-int.h pqexpbuffer.h)
@


1.39
log
@Makefile cleanup for interface tree. Now essentially with all the
standard targets and behaviour. Replaced Makefile.in's with
Makefile's and declared the respective variables in Makefile.global.

maintainer-clean target now available at top level, although it does
not work in the backend tree yet.

Cleanup pass over Makefile.shlib, renamed some targets and variables.
The shared library symlink tests are now done by make, not the shell.

ecpg: Remove one warning in sloppy flex output.

PL/Perl and Perl interface: the MakeMaker documentation is confusing,
the realclean target *does* "delete derived files", but it also
uninstalls them. Don't use that.

The submake targets in the various bin directories that update libpq
should `make all', not `make libpq.a'. That is a) unportable, and
b) doesn't build the shared library.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq/Makefile.in,v 1.60 2000/06/17 00:10:09 petere Exp $
d13 1
a13 1
include ../../Makefile.global
@


1.38
log
@Various fixes resulting from removing the PORTNAME defines

From: Tom I Helbekkmo <tih@@Hamartun.Priv.NO>
@
text
@d3 1
a3 2
# Makefile
#    Makefile for libpq library
d7 1
a7 3
#
# IDENTIFICATION
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.37 1997/08/17 00:33:28 scrappy Exp scrappy $
d11 8
a18 2
SRCDIR= ../..
include $(SRCDIR)/Makefile.global
d20 1
a20 2
# We need the backend directory here for its fmgr.h
INCLUDE_OPT= -I$(SRCDIR)/include -I$(SRCDIR)/backend
d22 2
a23 1
CFLAGS+= $(INCLUDE_OPT) 
d25 2
a26 2
ifdef KRBVERS
CFLAGS+= $(KRBFLAGS)
d29 8
a36 2
OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-lobj.o \
      dllist.o pqsignal.o pqcomprim.o
d39 1
a39 22
shlib := 
install-shlib-dep :=
ifeq ($(PORTNAME), linux)
  ifdef LINUX_ELF
    install-shlib-dep := install-shlib
    shlib := libpq.so.1
    LDFLAGS_SL = -shared
    CFLAGS += $(CFLAGS_SL)
  endif
endif
ifeq ($(PORTNAME), BSD44_derived)
  install-shlib-dep := install-shlib
  shlib := libpq.so.1.0
  LDFLAGS_SL = -x -Bshareable -Bforcearchive
  CFLAGS += $(CFLAGS_SL)
endif
ifeq ($(PORTNAME), i386_solaris)
  install-shlib-dep := install-shlib
  shlib := libpq.so.1
  LDFLAGS_SL = -G -z text
  CFLAGS += $(CFLAGS_SL)
endif
a40 1
all: libpq.a $(shlib) c.h
d42 4
a45 7
libpq.a: $(OBJS)
ifdef MK_NO_LORDER
	$(AR) $(AROPT) libpq.a $(OBJS) 
else
	$(AR) $(AROPT) libpq.a `lorder $(OBJS) | tsort`
endif
	$(RANLIB) libpq.a
d47 1
a47 1
fe-lobj.o: $(SRCDIR)/backend/fmgr.h
d49 2
a50 4
# We need to compile this with special options for shared libs,
# so we can't use the object in $(SRCDIR)/backend
dllist.c:	$(SRCDIR)/backend/lib/dllist.c
	-ln -s $(SRCDIR)/backend/lib/dllist.c .
d52 3
a54 2
pqcomprim.c:	    $(SRCDIR)/backend/libpq/pqcomprim.c
	-ln -s $(SRCDIR)/backend/libpq/pqcomprim.c .
d56 3
a58 5
# The following rules cause dependencies in the backend directory to 
# get made if they don't exist, but don't cause them to get remade if they
# are out of date.
$(SRCDIR)/backend/fmgr.h:
	$(MAKE) -C $(SRCDIR)/backend fmgr.h
d60 4
a63 3
$(shlib): $(OBJS)
	$(LD) $(LDFLAGS_SL) -o $@@ $(OBJS) 
	ln -sf $@@ libpq.so
d66 1
a66 5
c.h: $(SRCDIR)/include/c.h
	rm -f c.h
	echo "#undef PORTNAME" >  c.h
	echo "#define PORTNAME $(PORTNAME)" >> c.h
	cat $(SRCDIR)/include/c.h >> c.h
d68 5
a72 2
.PHONY: beforeinstall-headers install-headers
.PHONY: install install-libpq install-shlib-dep 
d74 2
a75 1
install: install-headers install-libpq $(install-shlib-dep)
d77 2
a78 36
# Many of the headers we install below have nothing to do with libpq,
# so should be installed by someone else.
#
install-headers: beforeinstall-headers c.h \
                 $(SRCDIR)/include/postgres.h $(SRCDIR)/include/postgres_ext.h \
                 $(SRCDIR)/include/config.h $(SRCDIR)/include/libpq/pqcomm.h \
                 $(SRCDIR)/include/libpq/libpq-fs.h $(SRCDIR)/include/lib/dllist.h \
                 $(SRCDIR)/include/utils/geo_decls.h libpq-fe.h
	$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/os.h \
          $(HEADERDIR)/os.h
	$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/config.h \
          $(HEADERDIR)/config.h
	$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/postgres.h \
          $(HEADERDIR)/postgres.h
	$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/postgres_ext.h \
          $(HEADERDIR)/postgres_ext.h
	$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/libpq/pqcomm.h \
          $(HEADERDIR)/libpq/pqcomm.h
	$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/libpq/libpq-fs.h \
          $(HEADERDIR)/libpq/libpq-fs.h
	$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/lib/dllist.h \
          $(HEADERDIR)/lib/dllist.h
	$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/utils/geo_decls.h \
          $(HEADERDIR)/utils/geo_decls.h
	$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/utils/elog.h \
          $(HEADERDIR)/utils/elog.h
	$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/utils/palloc.h \
          $(HEADERDIR)/utils/palloc.h
	$(INSTALL) $(INSTLOPTS) $(SRCDIR)/include/access/attnum.h \
          $(HEADERDIR)/access/attnum.h
	$(INSTALL) $(INSTLOPTS) libpq-fe.h $(HEADERDIR)/libpq-fe.h
ifeq ($(PORTNAME), hpux)
	$(INSTALL) $(INSTLOPTS) $(SRCDIR)/backend/port/hpux/fixade.h \
          $(HEADERDIR)/port/hpux/fixade.h
endif
	$(INSTALL) $(INSTLOPTS) c.h $(HEADERDIR)/c.h
d80 2
a81 23
beforeinstall-headers:
	@@if [ ! -d $(HEADERDIR) ]; then mkdir $(HEADERDIR); fi
	@@if [ ! -d $(HEADERDIR)/port ]; then mkdir $(HEADERDIR)/port; fi
	@@if [ ! -d $(HEADERDIR)/port/$(PORTNAME) ]; \
		then mkdir $(HEADERDIR)/port/$(PORTNAME); fi
	@@if [ ! -d $(HEADERDIR)/include ]; \
		then mkdir $(HEADERDIR)/include; fi
	@@if [ ! -d $(HEADERDIR)/lib ]; \
		then mkdir $(HEADERDIR)/lib; fi
	@@if [ ! -d $(HEADERDIR)/libpq ]; \
		then mkdir $(HEADERDIR)/libpq; fi
	@@if [ ! -d $(HEADERDIR)/utils ]; \
		then mkdir $(HEADERDIR)/utils; fi
	@@if [ ! -d $(HEADERDIR)/access ]; \
		then mkdir $(HEADERDIR)/access; fi

install-libpq: libpq.a
	$(INSTALL) $(INSTL_LIB_OPTS) libpq.a $(DESTDIR)$(LIBDIR)/libpq.a

install-shlib: $(shlib)
	$(INSTALL) $(INSTL_LIB_OPTS) $(shlib) $(DESTDIR)$(LIBDIR)/$(shlib)
	rm -f $(DESTDIR)$(LIBDIR)/libpq.so
	ln -s libpq.so.1 $(DESTDIR)$(LIBDIR)/libpq.so
d84 1
a84 5
	$(CC) -MM $(INCLUDE_OPT) *.c >depend

.PHONY: clean
clean:
	rm -f libpq.a $(shlib) $(OBJS) c.h
@


1.37
log
@Fix up paths to $(SRCDIR)
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.36 1997/07/29 14:08:34 momjian Exp $
@


1.36
log
@mkLinux patches from Tatsuo Ishii.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.35 1997/04/04 10:42:34 scrappy Exp $
d14 2
a15 2
SRCDIR= ..
include ../Makefile.global
d18 1
a18 1
INCLUDE_OPT= -I../include -I../backend
d63 1
a63 1
fe-lobj.o: ../backend/fmgr.h
d66 3
a68 3
# so we can't use the object in ../backend
dllist.c:	../backend/lib/dllist.c
	-ln -s ../backend/lib/dllist.c .
d70 2
a71 2
pqcomprim.c:	    ../backend/libpq/pqcomprim.c
	-ln -s ../backend/libpq/pqcomprim.c .
d76 2
a77 2
../backend/fmgr.h:
	$(MAKE) -C ../backend fmgr.h
d84 1
a84 1
c.h: ../include/c.h
d88 1
a88 1
	cat ../include/c.h >> c.h
d99 5
a103 5
                 ../include/postgres.h ../include/postgres_ext.h \
                 ../include/config.h ../include/libpq/pqcomm.h \
                 ../include/libpq/libpq-fs.h ../include/lib/dllist.h \
                 ../include/utils/geo_decls.h libpq-fe.h
	$(INSTALL) $(INSTLOPTS) ../include/os.h \
d105 1
a105 1
	$(INSTALL) $(INSTLOPTS) ../include/config.h \
d107 1
a107 1
	$(INSTALL) $(INSTLOPTS) ../include/postgres.h \
d109 1
a109 1
	$(INSTALL) $(INSTLOPTS) ../include/postgres_ext.h \
d111 1
a111 1
	$(INSTALL) $(INSTLOPTS) ../include/libpq/pqcomm.h \
d113 1
a113 1
	$(INSTALL) $(INSTLOPTS) ../include/libpq/libpq-fs.h \
d115 1
a115 1
	$(INSTALL) $(INSTLOPTS) ../include/lib/dllist.h \
d117 1
a117 1
	$(INSTALL) $(INSTLOPTS) ../include/utils/geo_decls.h \
d119 1
a119 1
	$(INSTALL) $(INSTLOPTS) ../include/utils/elog.h \
d121 1
a121 1
	$(INSTALL) $(INSTLOPTS) ../include/utils/palloc.h \
d123 1
a123 1
	$(INSTALL) $(INSTLOPTS) ../include/access/attnum.h \
d127 1
a127 1
	$(INSTALL) $(INSTLOPTS) ../backend/port/hpux/fixade.h \
@


1.35
log
@This commit represents a clean compile with the new templates under
FreeBSD

The Makefile(s) have all been cleaned up such that there is a single
LDFLAGS vs LD_ADD or LDADD or LDFLAGS or LDFLAGS_BE.  The Makefile(s)
should be alot more straightforward then they were before...and
consistent
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.34 1997/04/04 02:53:14 scrappy Exp $
d37 1
@


1.34
log
@Install os.h when we install the other headers...

Pointed out by: System Administrator <sysadmin@@sba.miami.edu>
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.33 1997/03/25 09:20:12 scrappy Exp $
d43 1
a43 1
  CFLAGS += -fpic -DPIC
d49 1
a49 1
  CFLAGS += -fPIC
d79 1
a79 1
	$(LD) $(LDFLAGS) $(LDFLAGS_SL) -o $@@ $(OBJS)
@


1.33
log
@Various patches for shared libraries under i386-solaris by:

Christoph Kaesling <ck@@dog.pfalz.sub.de>
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.32 1997/03/25 09:08:05 scrappy Exp $
d102 2
@


1.32
log
@Here's two more diffs...

The first fixes a warning from gcc about the assignment within the condition.
The extra set of parens should not make a difference, but with -Werror, they
are necessary.

The second fixes an "ln -s" invocation that assumes the current directory is
implicitly the target if not specified.  Not true in all cases, and again, it
should not make a difference except to those implementation that it does.

From: "Michael P. Snyder" <msnyder@@hawkeye.huntersmoon.com>
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.31 1997/03/17 22:05:05 scrappy Exp $
d45 6
d80 2
@


1.31
log
@Fixes for libpgtcl from Massimo
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.30 1997/03/16 18:51:13 scrappy Exp $
d61 1
a61 1
	-ln -s ../backend/lib/dllist.c
d64 1
a64 1
	-ln -s ../backend/libpq/pqcomprim.c
@


1.30
log
@om: "Martin J. Laubach" <mjl@@CSlab.tuwien.ac.at>
Subject: [HACKERS] Patch for io routines

  I am currently trying to improve on the front-backend communication
routines; and noticed that lots of code are duplicated for libpq and
the backend. This is a first patch that tries to share code between
the two, more to follow.

        mjl
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.29 1997/03/15 19:17:03 scrappy Exp $
d142 2
@


1.29
log
@NetBSD Shared Library Patch from Martin J. Laubach
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.28 1997/03/14 23:34:03 scrappy Exp $
d27 1
a27 1
         dllist.o pqsignal.o 
d61 4
a64 1
	-ln ../backend/lib/dllist.c
@


1.28
log
@Date/Time updates from Thomas...
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.27 1997/01/20 00:51:38 bryanh Exp $
a25 3
# dllist.c is found in backend/lib
VPATH:= $(VPATH):../backend/lib
 
d27 1
a27 2
         ../backend/lib/dllist.o pqsignal.o 

d29 1
d36 1
d39 6
d58 5
d69 2
a70 5
../backend/lib/dllist.o:
	$(MAKE) -C ../backend/lib dllist.o

libpq.so.1: $(OBJS)
	gcc $(LDFLAGS) -shared -o $@@ $(OBJS)
@


1.27
log
@Use gcc to make Linux ELF shared library, instead of ld.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.26 1997/01/10 18:55:24 momjian Exp $
d84 1
a84 1
                 ../include/utils/geo-decls.h libpq-fe.h
d97 2
a98 2
	$(INSTALL) $(INSTLOPTS) ../include/utils/geo-decls.h \
          $(HEADERDIR)/utils/geo-decls.h
@


1.26
log
@cleanup for LINUX_ELF
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.25 1997/01/10 04:01:09 vadim Exp $
d63 2
a64 2
$(shlib): $(OBJS)
	$(LD) $(LDFLAGS) -shared $(OBJS) -o $(shlib)
@


1.25
log
@Additional fixes for shared library (BSD44_Derived port).
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.24 1997/01/06 00:24:24 scrappy Exp $
a34 2
ifdef LINUX_ELF
install-shlib-dep := install-shlib
d36 4
a39 7
shlib := libpq.so.1
endif
ifeq ($(PORTNAME), BSD44_derived)
shlib := libpq.so.1.0
CFLAGS+= -fpic -DPIC
LDFLAGS=-Bshareable -Bforcearchive
endif
@


1.24
log
@NeXT port specific changes by: Ovidiu Predescu <ovidiu@@bx.logicnet.ro>
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.23 1997/01/05 23:52:21 scrappy Exp $
d32 1
d34 1
d36 1
d68 1
a68 1
libpq.so.1: $(OBJS)
a132 6
ifdef LINUX_ELF
install-shlib-dep := install-shlib
else
install-shlib-dep :=
endif

d136 1
a136 1
install-shlib: libpq.so.1
d144 1
a144 1
	rm -f libpq.a libpq.so.1 $(OBJS) c.h
@


1.23
log
@Shared library fixes for BSD44_Derived port

Submitted by: "Martin J. Laubach" <mjl@@wwx.vip.at>

NOTE: The following patch I was uncertain of, but applied it...will end up
	testing the compile on my machine later tonight anyway, but if anyone
	knows why this *shouldn't* have been done, please change it. (CC -> LD)

***************
*** 61,68 ****
  ../backend/lib/dllist.o:
        $(MAKE) -C ../backend/lib dllist.o

! libpq.so.1: $(OBJS)
!       $(CC) $(LDFLAGS) -shared $(OBJS) -o libpq.so.1

  c.h: ../include/c.h
        rm -f c.h
--- 66,73 ----
  ../backend/lib/dllist.o:
        $(MAKE) -C ../backend/lib dllist.o

! $(shlib): $(OBJS)
!       $(LD) $(LDFLAGS) -shared $(OBJS) -o $(shlib)

  c.h: ../include/c.h
        rm -f c.h
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.22 1996/12/10 07:05:09 bryanh Exp $
a30 4
ifeq ($(PORTNAME), next)
VPATH:=$(VPATH):../backend/port/$(PORTNAME)
OBJS+= getcwd.o putenv.o
endif
@


1.22
log
@Fix bug: libpq clients (which include libpq-fe.h) won't compile.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.19 1996/11/26 03:20:33 bryanh Exp $
d41 5
d70 1
a70 1
	$(CC) $(LDFLAGS) -shared $(OBJS) -o libpq.so.1
d144 1
a144 1
	$(INSTALL) $(INSTL_LIB_OPTS) libpq.so.1 $(DESTDIR)$(LIBDIR)/libpq.so.1
@


1.21
log
@Whoops, redo Ultrix patch so the other ports still compile.
@
text
@d43 1
a43 1
all: libpq.a $(shlib) postgres.h c.h
a66 10
postgres.h: ../include/postgres.h
# Note: ../backend/include/postgres.h needs to be named something different
# to avoid confusion with this thing we're building now.
#
# hardwire NAMEDATALEN and OIDNAMELEN into the postgres.h for this installation
	rm -f postgres.h
	echo "#define NAMEDATALEN $(NAMEDATALEN)" >> postgres.h
	echo "#define OIDNAMELEN $(OIDNAMELEN)" >> postgres.h
	cat ../include/postgres.h >> postgres.h

d78 5
a82 1
install-headers: beforeinstall-headers postgres.h c.h \
d88 4
a111 1
	$(INSTALL) $(INSTLOPTS) postgres.h $(HEADERDIR)/postgres.h
d146 1
a146 1
	rm -f libpq.a libpq.so.1 $(OBJS) c.h postgres.h
@


1.20
log
@Fix double-colon syntax error on fe-lobj.o.
@
text
@d18 1
a18 1
INCLUDE_OPT= -I../include -I../backend -I../backend/port/$(PORTNAME)
@


1.19
log
@Make it compile on Ultrix.  Thanks Erik Bertelson.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.18 1996/11/17 19:27:38 momjian Exp $
d53 1
a53 1
fe-lobj.o:: ../backend/fmgr.h
@


1.18
log
@Copy needed include files into standard directory.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.17 1996/11/14 10:25:48 bryanh Exp $
d18 1
a18 1
INCLUDE_OPT= -I../include -I../backend
d76 1
a76 1
	
@


1.17
log
@Remove most compile-time options, add a few runtime options to make up for it.
In particular, no more compiled-in default for PGDATA or LIBDIR.  Commands
that need them need either invocation options or environment variables.
PGPORT default is hardcoded as 5432, but overrideable with options or
environment variables.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.15 1996/11/09 06:24:51 momjian Exp $
d102 6
d129 2
@


1.16
log
@End of the make file simplifications.
@
text
@d20 1
a20 1
CFLAGS+= $(INCLUDE_OPT) -DPOSTPORT='"$(POSTPORT)"'
@


1.15
log
@Makefile cleanup after reorganization
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.14 1996/11/08 21:40:11 momjian Exp $
d130 1
a130 1
install-libpq:
d133 1
a133 1
install-shlib:
@


1.14
log
@Fix typo in file name found during install.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.13 1996/11/08 06:02:25 momjian Exp $
d39 1
a39 1
shlib := obj/libpq.so.1
d43 1
a43 1
all: obj/libpq.a $(shlib) postgres.h c.h
d45 1
a45 1
obj/libpq.a: $(OBJS)
d47 1
a47 1
	$(AR) $(AROPT) obj/libpq.a $(OBJS) 
d49 1
a49 1
	$(AR) $(AROPT) obj/libpq.a `lorder $(OBJS) | tsort`
d51 1
a51 1
	$(RANLIB) obj/libpq.a
d64 2
a65 2
obj/libpq.so.1: $(OBJS)
	$(CC) $(LDFLAGS) -shared $(OBJS) -o obj/libpq.so.1
d131 1
a131 1
	$(INSTALL) $(INSTL_LIB_OPTS) obj/libpq.a $(DESTDIR)$(LIBDIR)/libpq.a
d134 1
a134 1
	$(INSTALL) $(INSTL_LIB_OPTS) obj/libpq.so.1 $(DESTDIR)$(LIBDIR)/libpq.so.1
d141 1
a141 1
	rm -f obj/libpq.a obj/libpq.so.1 $(OBJS) c.h postgres.h
@


1.13
log
@Compile and warning cleanup
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.12 1996/11/04 06:32:59 bryanh Exp $
d91 1
a91 1
                 ../include/utils/geo-decls.h libpq.fe.h
@


1.12
log
@Add ability to deal with the fmgr.h dependency.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.10 1996/11/03 07:14:29 scrappy Exp $
d36 1
d38 3
a40 3
shlib := libpq.so.1
else
shlib := 
d43 1
a43 1
all: libpq.a $(shlib) postgres.h c.h
d45 1
a45 1
libpq.a: $(OBJS)
d47 1
a47 1
	$(AR) $(AROPT) libpq.a $(OBJS) 
d49 1
a49 1
	$(AR) $(AROPT) libpq.a `lorder $(OBJS) | tsort`
d51 1
a51 1
	$(RANLIB) libpq.a
d64 2
a65 2
libpq.so.1: $(OBJS)
	$(CC) $(LDFLAGS) -shared $(OBJS) -o libpq.so.1
d131 1
a131 1
	$(INSTALL) $(INSTL_LIB_OPTS) libpq.a $(DESTDIR)$(LIBDIR)/libpq.a
d134 1
a134 1
	$(INSTALL) $(INSTL_LIB_OPTS) libpq.so.1 $(DESTDIR)$(LIBDIR)/libpq.so.1
d141 1
a141 1
	rm -f libpq.a libpq.so.1 $(OBJS) c.h postgres.h
@


1.11
log
@Removed PORTNAME_.  Use OS version only.
@
text
@d17 2
a18 1
INCLUDE_OPT= -I../include -I.
d28 1
a28 1

d52 1
a52 2
libpq.so.1: $(OBJS)
	$(CC) $(LDFLAGS) -shared $(OBJS) -o libpq.so.1
d54 5
a58 2
# If dllist.o is out of date, we will not cause it to get remade.  We
# only make it if it doesn't exist.
d62 3
@


1.10
log
@shared build fails, but the rest compiles...formatting error in the
cc -shared, I believe...
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.9 1996/11/02 09:54:44 bryanh Exp $
a73 2
	echo "#undef PORTNAME_$(PORTNAME)" >>  c.h
	echo "#define PORTNAME_$(PORTNAME)" >> c.h
@


1.9
log
@Continuation of make file simplification; deal with header file shuffle.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.7 1996/09/25 19:37:31 momjian Exp $
d17 1
a17 4
INCLUDE_OPT= \
             -I. \
             -I../include \
             -I../backend \
@


1.8
log
@Add CFLAGS+=-DPOSTPORT=... so we can take it out of the global CFLAGS.
@
text
@d14 2
a15 2
MKDIR=	../mk
include $(MKDIR)/postgres.mk
d17 4
a20 4
CFLAGS+= -I../backend/include \
	-I../include \
	-I../backend \
	-I. \
d22 1
a22 1
CFLAGS+= -DPOSTPORT='"$(POSTPORT)"'
d31 2
a32 2
LIBSRCS= fe-auth.c fe-connect.c fe-exec.c fe-misc.c fe-lobj.c \
	dllist.c pqsignal.c 
d35 1
a35 1
LIBSRCS+= getcwd.c putenv.c
d38 15
a52 1
all::   libpq.a postgres.h c.h
d54 10
a63 1
postgres.h: ../backend/include/postgres.h
d68 4
a71 4
	rm -f obj/postgres.h
	echo "#define NAMEDATALEN $(NAMEDATALEN)" >> obj/postgres.h
	echo "#define OIDNAMELEN $(OIDNAMELEN)" >> obj/postgres.h
	cat ../backend/include/postgres.h >> obj/postgres.h
d73 7
a79 7
c.h: ../backend/include/c.h
	rm -f obj/c.h
	echo "#undef PORTNAME" >  obj/c.h
	echo "#define PORTNAME $(PORTNAME)" >> obj/c.h
	echo "#undef PORTNAME_$(PORTNAME)" >>  obj/c.h
	echo "#define PORTNAME_$(PORTNAME)" >> obj/c.h
	cat ../backend/include/c.h >> obj/c.h
d82 1
d84 1
a84 19
ifndef NO_BEFOREINSTL
beforeinstall-headers:
	@@if [ ! -d $(HEADERDIR) ]; then mkdir $(HEADERDIR); fi
	@@if [ ! -d $(HEADERDIR)/port ]; then mkdir $(HEADERDIR)/port; fi
	@@if [ ! -d $(HEADERDIR)/port/$(PORTNAME) ]; \
		then mkdir $(HEADERDIR)/port/$(PORTNAME); fi
	@@if [ ! -d $(HEADERDIR)/include ]; \
		then mkdir $(HEADERDIR)/include; fi
	@@if [ ! -d $(HEADERDIR)/lib ]; \
		then mkdir $(HEADERDIR)/lib; fi
	@@if [ ! -d $(HEADERDIR)/libpq ]; \
		then mkdir $(HEADERDIR)/libpq; fi
	@@if [ ! -d $(HEADERDIR)/utils ]; \
		then mkdir $(HEADERDIR)/utils; fi
else
beforeinstall-headers: .dosomething
endif

TEMPDIR=obj
d86 4
a89 3
install-headers: beforeinstall-headers postgres.h c.h
	$(INSTALL) $(INSTLOPTS) ../backend/include/postgres.h \
          $(HEADERDIR)/postgres.h
d105 2
a106 2
	$(INSTALL) $(INSTLOPTS) obj/c.h $(HEADERDIR)/c.h
	$(INSTALL) $(INSTLOPTS) obj/postgres.h $(HEADERDIR)/postgres.h
d108 13
a120 1
install:: install-headers
d122 8
a129 1
CLEANFILES+= c.h postgres.h
d131 2
a132 2
LIB= pq
include $(MKDIR)/postgres.lib.mk
d134 2
d137 7
@


1.7
log
@Fix location of include files to match postgres.h includes.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.6 1996/09/23 18:14:08 scrappy Exp $
d21 2
@


1.6
log
@CFLAGS +- -I... got messed by one of Bryan's patches

Fix Submitted by: Bryan himself :)
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.5 1996/09/23 08:23:33 scrappy Exp $
d81 2
d88 1
a88 1
          $(HEADERDIR)/libpq/dllist.h
@


1.5
log
@Here's a patch that I discussed recently on pg95-dev that changes the
way one creates a database system.  Parts that were in "make install"
are not either in "make all" or initdb.  Nothing goes in the PGDATA
directory besides user data.  Creating multiple database systems is
easier.

In addition to applying the patch, it is necessary to move the file
libpq/pg_hba to backend/libpq/pg_hba.sample.

Submitted by: Bryan Henderson <bryanh@@giraffe.netgate.net>
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.4 1996/08/28 23:02:43 scrappy Exp $
d18 2
a19 2
	-I$../include \
	-I$../backend \
@


1.4
log
@modifications required to reflect centralized include files
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.3 1996/08/01 05:04:29 scrappy Exp $
a13 2
LIB=	pq

d17 4
a20 4
CFLAGS+= -I$(srcdir)/backend/include \
	-I$(srcdir)/include \
	-I$(srcdir)/backend \
	-I$(CURDIR) \
d27 1
a27 1
VPATH:= $(VPATH):$(srcdir)/backend/lib
d32 1
a32 1
VPATH:=$(VPATH):$(srcdir)/backend/port/$(PORTNAME)
d36 19
d60 3
a62 3
	@@-if [ ! -d $(HEADERDIR) ]; then mkdir $(HEADERDIR); fi
	@@-if [ ! -d $(HEADERDIR)/port ]; then mkdir $(HEADERDIR)/port; fi
	@@-if [ ! -d $(HEADERDIR)/port/$(PORTNAME) ]; \
d64 1
a64 1
	@@-if [ ! -d $(HEADERDIR)/include ]; \
d66 1
a66 1
	@@-if [ ! -d $(HEADERDIR)/lib ]; \
d68 1
a68 1
	@@-if [ ! -d $(HEADERDIR)/libpq ]; \
d70 1
a70 1
	@@-if [ ! -d $(HEADERDIR)/utils ]; \
d76 1
a76 5
HEADERFILES = include/postgres.h \
	      libpq/pqcomm.h \
	      libpq/libpq-fs.h \
	      lib/dllist.h \
	      utils/geo-decls.h
d78 12
d91 2
a92 1
HEADERFILES += port/hpux/fixade.h
d94 2
d97 1
d99 1
a99 1
TEMPDIR=obj
d101 2
a102 24
install-headers: beforeinstall-headers
	@@for i in ${HEADERFILES}; do \
		echo "Installing $(HEADERDIR)/$$i."; \
		$(INSTALL) $(INSTLOPTS) $(srcdir)/backend/$$i $(HEADERDIR)/$$i; \
	done
	$(INSTALL) $(INSTLOPTS) libpq-fe.h $(HEADERDIR)/libpq-fe.h
	@@mv -f $(HEADERDIR)/include/* $(HEADERDIR)
	@@rmdir $(HEADERDIR)/include
#	XXX - installing fmgr.h depends on the backend being built
	$(INSTALL) $(INSTLOPTS) $(srcdir)/backend/$(objdir)/fmgr.h $(HEADERDIR)/fmgr.h
	@@rm -f $(TEMPDIR)/c.h
	@@echo "#undef PORTNAME" >  $(TEMPDIR)/c.h
	@@echo "#define PORTNAME $(PORTNAME)" >> $(TEMPDIR)/c.h
	@@echo "#undef PORTNAME_$(PORTNAME)" >>  $(TEMPDIR)/c.h
	@@echo "#define PORTNAME_$(PORTNAME)" >> $(TEMPDIR)/c.h
	@@cat $(srcdir)/backend/include/c.h >> $(TEMPDIR)/c.h
	$(INSTALL) $(INSTLOPTS) $(TEMPDIR)/c.h $(HEADERDIR)/c.h
	@@rm -f $(TEMPDIR)/postgres.h
# hardwire NAMEDATALEN and OIDNAMELEN into the postgres.h for this installation
	@@echo "#define NAMEDATALEN $(NAMEDATALEN)" >> $(TEMPDIR)/postgres.h
	@@echo "#define OIDNAMELEN $(OIDNAMELEN)" >> $(TEMPDIR)/postgres.h
	@@cat $(srcdir)/backend/include/postgres.h >> $(TEMPDIR)/postgres.h
	$(INSTALL) $(INSTLOPTS) $(TEMPDIR)/postgres.h $(HEADERDIR)/postgres.h
	@@rm -f $(TEMPDIR)/c.h $(TEMPDIR)/postgres.h
a103 3
install:: install-headers

include $(MKDIR)/postgres.lib.mk
@


1.3
log
@Change the TEMPDIR to be obj instead of /tmp

Suggested by: Michael Babcock <michael@@kanji.com>
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.2 1996/07/29 20:52:24 scrappy Exp $
d20 1
@


1.2
log
@clean up /tmp behind itself

submitted by: bruce
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/libpq/Makefile,v 1.1.1.1 1996/07/09 06:22:16 scrappy Exp $
d69 1
a69 1
TEMPDIR=/tmp
@


1.1
log
@Initial revision
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/postgres95/src/libpq/Makefile,v 1.1.1.1 1996/07/09 05:32:38 scrappy Exp $
d94 1
@


1.1.1.1
log
@Postgres95 1.01 Distribution - Virgin Sources
@
text
@@
